diff --git a/268.a6b5563c8d1fe58c.js b/268.a6b5563c8d1fe58c.js new file mode 100644 index 0000000000..9feb779927 --- /dev/null +++ b/268.a6b5563c8d1fe58c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkngx_bootstrap_docs=self.webpackChunkngx_bootstrap_docs||[]).push([[268],{64268:(u,c,r)=>{r.r(c),r.d(c,{DatepickerSectionComponent:()=>pi,DemoDatepickerModule:()=>gm});var d=r(60177),h=r(84341),hi=r(8681);function Ye(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function A(e){return"string"==typeof e}function vt(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function he(e){return e&&e.getTime&&!isNaN(e.getTime())}function Le(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function He(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function L(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function O(e,s){return Object.prototype.hasOwnProperty.call(e,s)}function xe(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function $n(e){return void 0===e}function b(e){const s=+e;let n=0;return 0!==s&&isFinite(s)&&(n=Ye(s)),n}const at={},Xn={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function V(e,s){const n=e.toLowerCase();let a=e;n in Xn&&(a=Xn[n]),at[n]=at[`${n}s`]=at[s]=a}function zn(e){return A(e)?at[e]||at[e.toLowerCase()]:void 0}function de(e,s,n){const a=`${Math.abs(e)}`;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,s-a.length)).toString().substr(1)+a}const zt={},Ie={},Jn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function f(e,s,n,a){e&&(Ie[e]=a),s&&(Ie[s[0]]=function(){return de(a.apply(null,arguments),s[1],s[2])}),n&&(Ie[n]=function(i,o){return o.locale.ordinal(a.apply(null,arguments),e)})}function ki(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Jt(e,s,n){const a=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e),a}function yt(e,s=0,n=1,a=0,i=0,o=0,l=0){const m=new Date(e,s,n,a,i,o,l);return e<100&&e>=0&&isFinite(m.getFullYear())&&m.setFullYear(e),m}function k(e,s=!1){return s?e.getUTCHours():e.getHours()}function Ae(e,s=!1){return s?e.getUTCMinutes():e.getMinutes()}function Kt(e,s=!1){return s?e.getUTCSeconds():e.getSeconds()}function me(e,s=!1){return s?e.getUTCMilliseconds():e.getMilliseconds()}function se(e,s=!1){return s?e.getUTCDay():e.getDay()}function it(e,s=!1){return s?e.getUTCDate():e.getDate()}function v(e,s=!1){return s?e.getUTCMonth():e.getMonth()}function E(e,s=!1){return s?e.getUTCFullYear():e.getFullYear()}function Ge(e,s){return!(!e||!s)&&We(e,s)&&v(e)===v(s)}function We(e,s){return!(!e||!s)&&E(e)===E(s)}function fe(e,s){return!(!e||!s)&&We(e,s)&&Ge(e,s)&&it(e)===it(s)}const Kn=/\d/,G=/\d\d/,Qn=/\d{3}/,Qt=/\d{4}/,Mt=/[+-]?\d{6}/,w=/\d\d?/,Zn=/\d\d\d\d?/,qn=/\d\d\d\d\d\d?/,Ct=/\d{1,3}/,Zt=/\d{1,4}/,Tt=/[+-]?\d{1,6}/,wi=/\d+/,wt=/[+-]?\d+/,qt=/Z|[+-]\d\d(?::?\d\d)?/gi,Yi=/[+-]?\d+(\.\d{1,3})?/,ot=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Yt={};function p(e,s,n){Yt[e]=Le(s)?s:function(a,i){return a&&n?n:s}}function Li(e,s){return O(Yt,e)?Yt[e](!1,s):new RegExp(function xi(e){return Se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(s,n,a,i,o)=>n||a||i||o))}(e))}function Se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const en={};function Y(e,s){const n=A(e)?[e]:e;let a=s;if(He(s)&&(a=function(i,o,l){return o[s]=b(i),l}),L(n)&&Le(a)){let i;for(i=0;i68?1900:2e3)}function lt(e){return es(e)?366:365}function es(e){return e%4==0&&e%100!=0||e%400==0}function sn(e,s){if(isNaN(e)||isNaN(s))return NaN;const n=function fi(e,s){return(e%s+s)%s}(s,12);return 1===n?es(e+(s-n)/12)?29:28:31-n%7%2}const Bi={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function j(e,s){const n=Object.assign({},Bi,s),a=e.getFullYear()+(n.year||0),i=e.getMonth()+(n.month||0);let o=e.getDate()+(n.day||0);return n.month&&!n.day&&(o=Math.min(o,sn(a,i))),yt(a,i,o,e.getHours()+(n.hour||0),e.getMinutes()+(n.minute||0),e.getSeconds()+(n.seconds||0))}function Ne(e,s){return He(s)?s:e}function an(e,s,n){const a=Math.min(it(e),sn(E(e),s));return n?e.setUTCMonth(s,a):e.setMonth(s,a),e}function ts(e,s,n){return n?e.setUTCDate(s):e.setDate(s),e}function Re(e){return new Date(e.getTime())}function pe(e,s,n){const a=Re(e);switch(s){case"year":an(a,0,n);case"quarter":case"month":ts(a,1,n);case"week":case"isoWeek":case"day":case"date":!function Ii(e,s,n){n?e.setUTCHours(s):e.setHours(s)}(a,0,n);case"hours":!function Ai(e,s,n){n?e.setUTCMinutes(s):e.setMinutes(s)}(a,0,n);case"minutes":!function Gi(e,s,n){n?e.setUTCSeconds(s):e.setSeconds(s)}(a,0,n);case"seconds":!function Wi(e,s,n){n?e.setUTCMilliseconds(s):e.setMilliseconds(s)}(a,0,n)}return"week"===s&&function rr(e,s,n={}){_t(e,s-ws(e,n.locale,n.isUTC),"day")}(a,0,{isUTC:n}),"isoWeek"===s&&function cr(e,s,n={}){const a=function or(e,s=B()){return A(e)?s.weekdaysParse(e)%7||7:He(e)&&isNaN(e)?null:e}(s,n.locale);pt(e,S(e)%7?a:a-7)}(a,1),"quarter"===s&&an(a,3*Math.floor(v(a,n)/3),n),a}function Lt(e,s,n){let a=s;return"date"===a&&(a="day"),function sr(e,s,n,a){return Ts(e,gn(s,n),-1,a)}(_t(pe(e,a,n),1,"isoWeek"===a?"week":a,n),1,"milliseconds",n)}function on(e,s){const n=+pe(e,"day",s),a=+pe(e,"year",s);return Math.round((n-a)/864e5)+1}function xt(e,s,n){const a=s-n+7;return-(Jt(e,0,a).getUTCDay()-s+7)%7+a-1}function Ue(e,s,n,a){const i=xt(E(e,a),s,n),o=Math.floor((on(e,a)-i-1)/7)+1;let l,m;return o<1?(m=E(e,a)-1,l=o+St(m,s,n)):o>St(E(e,a),s,n)?(l=o-St(E(e,a),s,n),m=E(e,a)+1):(m=E(e,a),l=o),{week:l,year:m}}function St(e,s,n){const a=xt(e,s,n),i=xt(e+1,s,n);return(lt(e)-a+i)/7}const ns=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Xi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ss="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),as="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ji="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),is={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"},Zi=ot,qi=ot;class eo{constructor(s){s&&this.set(s)}set(s){let n;for(n in s){if(!s.hasOwnProperty(n))continue;const a=s[n];this[Le(a)?n:`_${n}`]=a}this._config=s}calendar(s,n,a){const i=this._calendar[s]||this._calendar.sameElse;return Le(i)?i.call(null,n,a):i}longDateFormat(s){const n=this._longDateFormat[s],a=this._longDateFormat[s.toUpperCase()];return n||!a?n:(this._longDateFormat[s]=a.replace(/MMMM|MM|DD|dddd/g,function(i){return i.slice(1)}),this._longDateFormat[s])}get invalidDate(){return this._invalidDate}set invalidDate(s){this._invalidDate=s}ordinal(s,n){return this._ordinal.replace("%d",s.toString(10))}preparse(s,n){return s}getFullYear(s,n=!1){return E(s,n)}postformat(s){return s}relativeTime(s,n,a,i){const o=this._relativeTime[a];return Le(o)?o(s,n,a,i):o.replace(/%d/i,s.toString(10))}pastFuture(s,n){const a=this._relativeTime[s>0?"future":"past"];return Le(a)?a(n):a.replace(/%s/i,n)}months(s,n,a=!1){if(!s)return L(this._months)?this._months:this._months.standalone;if(L(this._months))return this._months[v(s,a)];const i=(this._months.isFormat||ns).test(n)?"format":"standalone";return this._months[i][v(s,a)]}monthsShort(s,n,a=!1){if(!s)return L(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(L(this._monthsShort))return this._monthsShort[v(s,a)];const i=ns.test(n)?"format":"standalone";return this._monthsShort[i][v(s,a)]}monthsParse(s,n,a){let i,o,l;if(this._monthsParseExact)return this.handleMonthStrictParse(s,n,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),l=0;l<12;l++){if(i=new Date(Date.UTC(2e3,l)),a&&!this._longMonthsParse[l]){const m=this.months(i,"",!0).replace(".",""),_=this.monthsShort(i,"",!0).replace(".","");this._longMonthsParse[l]=new RegExp(`^${m}$`,"i"),this._shortMonthsParse[l]=new RegExp(`^${_}$`,"i")}if(!a&&!this._monthsParse[l]&&(o=`^${this.months(i,"",!0)}|^${this.monthsShort(i,"",!0)}`,this._monthsParse[l]=new RegExp(o.replace(".",""),"i")),a&&"MMMM"===n&&this._longMonthsParse[l].test(s)||a&&"MMM"===n&&this._shortMonthsParse[l].test(s)||!a&&this._monthsParse[l].test(s))return l}}monthsRegex(s){return this._monthsParseExact?(O(this,"_monthsRegex")||this.computeMonthsParse(),s?this._monthsStrictRegex:this._monthsRegex):(O(this,"_monthsRegex")||(this._monthsRegex=qi),this._monthsStrictRegex&&s?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(s){return this._monthsParseExact?(O(this,"_monthsRegex")||this.computeMonthsParse(),s?this._monthsShortStrictRegex:this._monthsShortRegex):(O(this,"_monthsShortRegex")||(this._monthsShortRegex=Zi),this._monthsShortStrictRegex&&s?this._monthsShortStrictRegex:this._monthsShortRegex)}week(s,n){return Ue(s,this._week.dow,this._week.doy,n).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(s,n,a){if(!s)return L(this._weekdays)?this._weekdays:this._weekdays.standalone;if(L(this._weekdays))return this._weekdays[se(s,a)];const i=this._weekdays.isFormat.test(n)?"format":"standalone";return this._weekdays[i][se(s,a)]}weekdaysMin(s,n,a){return s?this._weekdaysMin[se(s,a)]:this._weekdaysMin}weekdaysShort(s,n,a){return s?this._weekdaysShort[se(s,a)]:this._weekdaysShort}weekdaysParse(s,n,a){let i,o;if(this._weekdaysParseExact)return this.handleWeekStrictParse(s,n,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){const l=pt(new Date(Date.UTC(2e3,1)),i,null,!0);if(a&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp(`^${this.weekdays(l,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[i]=new RegExp(`^${this.weekdaysShort(l,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[i]=new RegExp(`^${this.weekdaysMin(l,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[i]||(o=`^${this.weekdays(l,"",!0)}|^${this.weekdaysShort(l,"",!0)}|^${this.weekdaysMin(l,"",!0)}`,this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),!(L(this._fullWeekdaysParse)&&L(this._shortWeekdaysParse)&&L(this._minWeekdaysParse)&&L(this._weekdaysParse)))return;if(a&&"dddd"===n&&this._fullWeekdaysParse[i].test(s))return i;if(a&&"ddd"===n&&this._shortWeekdaysParse[i].test(s))return i;if(a&&"dd"===n&&this._minWeekdaysParse[i].test(s))return i;if(!a&&this._weekdaysParse[i].test(s))return i}}weekdaysRegex(s){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||this.computeWeekdaysParse(),s?this._weekdaysStrictRegex:this._weekdaysRegex):(O(this,"_weekdaysRegex")||(this._weekdaysRegex=ot),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(s){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||this.computeWeekdaysParse(),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(O(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ot),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(s){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||this.computeWeekdaysParse(),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(O(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ot),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(s){return"p"===s.toLowerCase().charAt(0)}meridiem(s,n,a){return s>11?a?"pm":"PM":a?"am":"AM"}formatLongDate(s){this._longDateFormat=this._longDateFormat?this._longDateFormat:is;const n=this._longDateFormat[s],a=this._longDateFormat[s.toUpperCase()];return n||!a?n:(this._longDateFormat[s]=a.replace(/MMMM|MM|DD|dddd/g,i=>i.slice(1)),this._longDateFormat[s])}handleMonthStrictParse(s,n,a){const i=s.toLocaleLowerCase();let o,l,m;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)m=new Date(2e3,o),this._shortMonthsParse[o]=this.monthsShort(m,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(m,"").toLocaleLowerCase();return a?"MMM"===n?(l=this._shortMonthsParse.indexOf(i),-1!==l?l:null):(l=this._longMonthsParse.indexOf(i),-1!==l?l:null):"MMM"===n?(l=this._shortMonthsParse.indexOf(i),-1!==l?l:(l=this._longMonthsParse.indexOf(i),-1!==l?l:null)):(l=this._longMonthsParse.indexOf(i),-1!==l?l:(l=this._shortMonthsParse.indexOf(i),-1!==l?l:null))}handleWeekStrictParse(s,n,a){let i;const o=s.toLocaleLowerCase();if(!this._weekdaysParse){let l;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],l=0;l<7;++l){const m=pt(new Date(Date.UTC(2e3,1)),l,null,!0);this._minWeekdaysParse[l]=this.weekdaysMin(m).toLocaleLowerCase(),this._shortWeekdaysParse[l]=this.weekdaysShort(m).toLocaleLowerCase(),this._weekdaysParse[l]=this.weekdays(m,"").toLocaleLowerCase()}}if(L(this._weekdaysParse)&&L(this._shortWeekdaysParse)&&L(this._minWeekdaysParse))return a?"dddd"===n?(i=this._weekdaysParse.indexOf(o),-1!==i?i:null):"ddd"===n?(i=this._shortWeekdaysParse.indexOf(o),-1!==i?i:null):(i=this._minWeekdaysParse.indexOf(o),-1!==i?i:null):"dddd"===n?(i=this._weekdaysParse.indexOf(o),-1!==i||(i=this._shortWeekdaysParse.indexOf(o),-1!==i)?i:(i=this._minWeekdaysParse.indexOf(o),-1!==i?i:null)):"ddd"===n?(i=this._shortWeekdaysParse.indexOf(o),-1!==i||(i=this._weekdaysParse.indexOf(o),-1!==i)?i:(i=this._minWeekdaysParse.indexOf(o),-1!==i?i:null)):(i=this._minWeekdaysParse.indexOf(o),-1!==i||(i=this._weekdaysParse.indexOf(o),-1!==i)?i:(i=this._shortWeekdaysParse.indexOf(o),-1!==i?i:null))}computeMonthsParse(){const s=[],n=[],a=[];let i,o;for(o=0;o<12;o++)i=new Date(2e3,o),s.push(this.monthsShort(i,"")),n.push(this.months(i,"")),a.push(this.months(i,"")),a.push(this.monthsShort(i,""));for(s.sort(je),n.sort(je),a.sort(je),o=0;o<12;o++)s[o]=Se(s[o]),n[o]=Se(n[o]);for(o=0;o<24;o++)a[o]=Se(a[o]);this._monthsRegex=new RegExp(`^(${a.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${s.join("|")})`,"i")}computeWeekdaysParse(){const s=[],n=[],a=[],i=[];let o;for(o=0;o<7;o++){const l=pt(new Date(Date.UTC(2e3,1)),o,null,!0),m=this.weekdaysMin(l),_=this.weekdaysShort(l),M=this.weekdays(l);s.push(m),n.push(_),a.push(M),i.push(m),i.push(_),i.push(M)}for(s.sort(je),n.sort(je),a.sort(je),i.sort(je),o=0;o<7;o++)n[o]=Se(n[o]),a[o]=Se(a[o]),i[o]=Se(i[o]);this._weekdaysRegex=new RegExp(`^(${i.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${a.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${s.join("|")})`,"i")}}function je(e,s){return s.length-e.length}const to={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:is,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Xi,monthsShort:ss,week:{dow:0,doy:6},weekdays:zi,weekdaysMin:Ji,weekdaysShort:as,meridiemParse:/[ap]\.?m?\.?/i};function no(e,s,n){const a=Math.min(e.length,s.length),i=Math.abs(e.length-s.length);let l,o=0;for(l=0;l0;){if(n=hs(i.slice(0,o).join("-")),n)return n;if(s&&s.length>=o&&no(i,s,!0)>=o-1)break;o--}a++}return null}(L(e)?e:[e]):dt}const mt=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],vo=mt.reduce((e,s)=>(e[s]=!0,e),{});function fs(e){return e<0?Math.floor(e):Math.ceil(e)}function gs(e){return 4800*e/146097}function mn(e){return 146097*e/4800}let ge=Math.round;const ie_ss=44,ie_s=45,ie_m=45,ie_h=22,ie_d=26,ie_M=11;function Co(e,s,n,a,i){return i.relativeTime(s||1,!!n,e,a)}class Ds{constructor(s,n={}){this._data={},this._locale=B(),this._locale=n&&n._locale||B();const i=s.year||0,o=s.quarter||0,l=s.month||0,m=s.week||0,_=s.day||0,M=s.hours||0,we=s.minutes||0,re=s.seconds||0,Nn=s.milliseconds||0;return this._isValid=function yo(e){if(Object.keys(e).some(a=>a in vo&&null===e[a]||isNaN(e[a])))return!1;let n=!1;for(let a=0;a=0&&n>=0&&a>=0||s<=0&&n<=0&&a<=0||(s+=864e5*fs(mn(a)+n),n=0,a=0),i.milliseconds=s%1e3;const o=Ye(s/1e3);i.seconds=o%60;const l=Ye(o/60);i.minutes=l%60;const m=Ye(l/60);i.hours=m%24,n+=Ye(m/24);const _=Ye(gs(n));a+=_,n-=fs(mn(_));const M=Ye(a/12);return a%=12,i.day=n,i.month=a,i.year=M,e}(this)}isValid(){return this._isValid}humanize(s){if(!this.isValid())return this.localeData().invalidDate;const n=this.localeData();let a=function To(e,s,n){const a=gn(e).abs(),i=ge(a.as("s")),o=ge(a.as("m")),l=ge(a.as("h")),m=ge(a.as("d")),_=ge(a.as("M")),M=ge(a.as("y")),we=i<=ie_ss&&["s",i]||i0,n])}(this,!s,n);return s&&(a=n.pastFuture(+this,a)),n.postformat(a)}localeData(){return this._locale}locale(s){return s?(this._locale=B(s)||this._locale,this):this._locale._abbr}abs(){const s=Math.abs,n=this._data;return this._milliseconds=s(this._milliseconds),this._days=s(this._days),this._months=s(this._months),n.milliseconds=s(n.milliseconds),n.seconds=s(n.seconds),n.minutes=s(n.minutes),n.hours=s(n.hours),n.month=s(n.month),n.year=s(n.year),this}as(s){if(!this.isValid())return NaN;let n,a;const i=this._milliseconds,o=zn(s);if("month"===o||"year"===o)return n=this._days+i/864e5,a=this._months+gs(n),"month"===o?a:a/12;switch(n=this._days+Math.round(mn(this._months)),o){case"week":return n/7+i/6048e5;case"day":return n+i/864e5;case"hours":return 24*n+i/36e5;case"minutes":return 1440*n+i/6e4;case"seconds":return 86400*n+i/1e3;case"milliseconds":return Math.floor(864e5*n)+i;default:throw new Error(`Unknown unit ${o}`)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}}function un(e){if(null==e._isValid){const s=y(e),n=Array.prototype.some.call(s.parsedDateParts,function(i){return null!=i});let a=!isNaN(e._d&&e._d.getTime())&&s.overflow<0&&!s.empty&&!s.invalidMonth&&!s.invalidWeekday&&!s.weekdayMismatch&&!s.nullInput&&!s.invalidFormat&&!s.userInvalidated&&(!s.meridiem||s.meridiem&&n);if(e._strict&&(a=a&&0===s.charsLeftOver&&0===s.unusedTokens.length&&void 0===s.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function jt(e,s){return e._d=new Date(NaN),Object.assign(y(e),s||{userInvalidated:!0}),e}const Lo=/^\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)?)?$/,xo=/^\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)?)?$/,So=/Z|[+-]\d\d(?::?\d\d)?/,Ft=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],_n=[["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/]],Eo=/^\/?Date\((\-?\d+)/i,Ro={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},jo=/^(?:(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}))$/;function bs(e){if(!A(e._i))return e;const s=e._i,n=Lo.exec(s)||xo.exec(s);let a,i,o,l,m,_;if(!n)return e._isValid=!1,e;for(m=0,_=Ft.length;m<_;m++)if(Ft[m][1].exec(n[1])){i=Ft[m][0],a=!1!==Ft[m][2];break}if(null==i)return e._isValid=!1,e;if(n[3]){for(m=0,_=_n.length;m<_;m++)if(_n[m][1].exec(n[3])){o=(n[2]||" ")+_n[m][0];break}if(null==o)return e._isValid=!1,e}if(!a&&null!=o)return e._isValid=!1,e;if(n[4]){if(!So.exec(n[4]))return e._isValid=!1,e;l="Z"}return e._f=i+(o||"")+(l||""),hn(e)}function Oo(e){const s=parseInt(e,10);return s<=49?s+2e3:s}function ks(e){if(!A(e._i))return e;const s=jo.exec(function Vo(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e._i));if(!s)return function Yo(e){return e._isValid=!1,e}(e);const n=function Fo(e,s,n,a,i,o){const l=[Oo(e),ss.indexOf(s),parseInt(n,10),parseInt(a,10),parseInt(i,10)];return o&&l.push(parseInt(o,10)),l}(s[4],s[3],s[2],s[5],s[6],s[7]);return function Po(e,s,n){return!e||as.indexOf(e)===new Date(s[0],s[1],s[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}(s[1],n,e)&&(e._a=n,e._tzm=function Bo(e,s,n){if(e)return Ro[e];if(s)return 0;{const a=parseInt(n,10),i=a%100;return(a-i)/100*60+i}}(s[8],s[9],s[10]),e._d=Jt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0),e}function N(e,s,n,a,i=0){const o=B(n||"en");if(!o)throw new Error(`Locale "${n}" is not defined, please add it with "defineLocale(...)"`);const m=function Io(e,s,n,a,i=0){if(!he(e))return n.invalidDate;const o=vs(s,n);return zt[o]=zt[o]||function bi(e){const s=e.match(Jn),n=s.length,a=new Array(n);for(let i=0;is.formatLongDate(l)||l;for(i.lastIndex=0;a>=0&&i.test(n);)n=n.replace(i,o),i.lastIndex=0,a-=1;return n}function Xe(e,s,n){return e??s??n}function pn(e){const s=[];let n,a,i;if(e._d)return e;const o=function Ao(e){const s=new Date;return e._useUTC?[s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()]:[s.getFullYear(),s.getMonth(),s.getDate()]}(e);for(e._w&&null==e._a[ae]&&null==e._a[ue]&&function Go(e){let s,n,a,i,o,l,m;const _=e._w;if(null!=_.GG||null!=_.W||null!=_.E)i=1,o=4,s=Xe(_.GG,e._a[q],Ue(new Date,1,4).year),n=Xe(_.W,1),a=Xe(_.E,1),(a<1||a>7)&&(m=!0);else{i=e._locale._week.dow,o=e._locale._week.doy;const M=Ue(new Date,i,o);s=Xe(_.gg,e._a[q],M.year),n=Xe(_.w,M.week),null!=_.d?(a=_.d,(a<0||a>6)&&(m=!0)):null!=_.e?(a=_.e+i,(_.e<0||_.e>6)&&(m=!0)):a=i}n<1||n>St(s,i,o)?y(e)._overflowWeeks=!0:null!=m?y(e)._overflowWeekday=!0:(l=function $i(e,s,n,a,i){const m=1+7*(s-1)+(7+n-a)%7+xt(e,a,i);let _,M;return m<=0?(_=e-1,M=lt(_)+m):m>lt(e)?(_=e+1,M=m-lt(e)):(_=e,M=m),{year:_,dayOfYear:M}}(s,n,a,i,o),e._a[q]=l.year,e._dayOfYear=l.dayOfYear)}(e),null!=e._dayOfYear&&(i=Xe(e._a[q],o[q]),(e._dayOfYear>lt(i)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),a=new Date(Date.UTC(i,0,e._dayOfYear)),e._a[ue]=a.getUTCMonth(),e._a[ae]=a.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=s[n]=o[n];for(;n<7;n++)e._a[n]=s[n]=null==e._a[n]?2===n?1:0:e._a[n];24===e._a[R]&&0===e._a[ee]&&0===e._a[_e]&&0===e._a[Ee]&&(e._nextDay=!0,e._a[R]=0),e._d=(e._useUTC?Jt:yt).apply(null,s);const l=e._useUTC?e._d.getUTCDay():e._d.getDay();return null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[R]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==l&&(y(e).weekdayMismatch=!0),e}function ys(e){let s;const n=e._a;return n&&-2===y(e).overflow&&(s=n[ue]<0||n[ue]>11?ue:n[ae]<1||n[ae]>sn(n[q],n[ue])?ae:n[R]<0||n[R]>24||24===n[R]&&(0!==n[ee]||0!==n[_e]||0!==n[Ee])?R:n[ee]<0||n[ee]>59?ee:n[_e]<0||n[_e]>59?_e:n[Ee]<0||n[Ee]>999?Ee:-1,y(e)._overflowDayOfYear&&(sae)&&(s=ae),y(e)._overflowWeeks&&-1===s&&(s=Ei),y(e)._overflowWeekday&&-1===s&&(s=Ri),y(e).overflow=s),e}const Wo="ISO_8601",No="RFC_2822";function hn(e){if(e._f===Wo)return bs(e);if(e._f===No)return ks(e);if(e._a=[],y(e).empty=!0,L(e._f)||!e._i&&0!==e._i)return e;let s=e._i.toString(),n=0;const a=s.length,i=vs(e._f,e._locale).match(Jn)||[];let o,l,m,_;for(o=0;o0&&y(e).unusedInput.push(_),s=s.slice(s.indexOf(m)+m.length),n+=m.length),Ie[l]?(m?y(e).empty=!1:y(e).unusedTokens.push(l),Si(l,m,e)):e._strict&&!m&&y(e).unusedTokens.push(l);return y(e).charsLeftOver=a-n,s.length>0&&y(e).unusedInput.push(s),e._a[R]<=12&&!0===y(e).bigHour&&e._a[R]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[R]=function Uo(e,s,n){let a=s;if(null==n)return a;if(null!=e.meridiemHour)return e.meridiemHour(a,n);if(null==e.isPM)return a;const i=e.isPM(n);return i&&a<12&&(a+=12),!i&&12===a&&(a=0),a}(e._locale,e._a[R],e._meridiem),pn(e),ys(e)}function zo(e){const s=ys(function Jo(e){let s=e._i;const n=e._f;return e._locale=e._locale||B(e._l),null===s||void 0===n&&""===s?jt(e,{nullInput:!0}):(A(s)&&(e._i=s=e._locale.preparse(s,n)),vt(s)?(e._d=Re(s),e):(L(n)?function $o(e){let s,n,a,i,o;if(!e._f||0===e._f.length)return y(e).invalidFormat=!0,jt(e);for(o=0;oA(a)?parseInt(a,10):a),pn(e)}else if(xe(s))!function Xo(e){if(e._d)return e;const s=e._i;if(xe(s)){const n=function Di(e){const s={};let n,a;for(a in e)O(e,a)&&(n=zn(a),n&&(s[n]=e[a]));return s}(s);e._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map(a=>A(a)?parseInt(a,10):a)}return pn(e)}(e);else{if(!He(s))return jt(e);e._d=new Date(s)}}(e),un(e)||(e._d=null),e))}(e));return s._d=new Date(null!=s._d?s._d.getTime():NaN),un(Object.assign({},s,{_isValid:null}))||(s._d=new Date(NaN)),s}function ut(e,s,n,a,i){return vt(e)?e:function Qo(e,s,n,a,i){const o={};let l=e;return(xe(l)&&function gi(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;let s;for(s in e)if(e.hasOwnProperty(s))return!1;return!0}(l)||L(l)&&0===l.length)&&(l=void 0),o._useUTC=o._isUTC=i,o._l=n,o._i=l,o._f=s,o._strict=a,zo(o)}(e,s,n,a,i)._d}function Ms(e){return e instanceof Date?new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()):null}function fn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function te(e,s,n="milliseconds"){return!(!e||!s)&&("milliseconds"===n?e.valueOf()>s.valueOf():s.valueOf()=3&&e%100<=10?3:e%100>=11?4:5},ur={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},U=function(e){return function(s,n){const a=Ys(s);let i=ur[e][Ys(s)];return 2===a&&(i=i[n?0:1]),i.replace(/%d/i,s.toString())}},Ls=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],_r={abbr:"ar",months:Ls,monthsShort:Ls,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:e=>"\u0645"===e,meridiem:(e,s,n)=>e<12?"\u0635":"\u0645",calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:U("s"),ss:U("s"),m:U("m"),mm:U("m"),h:U("h"),hh:U("h"),d:U("d"),dd:U("d"),M:U("M"),MM:U("M"),y:U("y"),yy:U("y")},preparse:e=>e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(s){return mr[s]}).replace(/\u060c/g,","),postformat:e=>e.replace(/\d/g,function(s){return dr[s]}).replace(/,/g,"\u060c"),week:{dow:6,doy:12}},pr={abbr:"bg",months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(e){switch(e){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){const s=Number(e);let n=s%10,a=s%100;return 0===s?s+"-\u0435\u0432":0===a?s+"-\u0435\u043d":a>10&&a<20?s+"-\u0442\u0438":1===n?s+"-\u0432\u0438":2===n?s+"-\u0440\u0438":7===n||8===n?s+"-\u043c\u0438":s+"-\u0442\u0438"},week:{dow:1,doy:7}};let xs="gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),hr="ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),Dn=[/^gen/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^oct/i,/^nov/i,/^des/i],Ss=/^(gener|febrer|mar\xe7|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre|gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i;const fr={abbr:"ca",months:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?hr[v(e,n)]:xs[v(e,n)]:xs,monthsRegex:Ss,monthsShortRegex:Ss,monthsStrictRegex:/^(gener|febrer|mar\xe7|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i,monthsShortStrictRegex:/^(gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i,monthsParse:Dn,longMonthsParse:Dn,shortMonthsParse:Dn,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"diu._dil._dim._dix._dij._div._dis.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:e=>"[avui a "+(k(e),"les] LT"),nextDay:e=>"[dema a "+(k(e),"les] LT"),nextWeek:e=>"dddd [a "+(k(e),"les] LT"),lastDay:e=>"[ahir a "+(k(e),"les] LT"),lastWeek:e=>"[el] dddd ["+(k(e),"passades les] LT"),sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(er|on|er|rt|\xe9)/,ordinal(e){const s=Number(e);return s+(s>4?"\xe9":1===s||3===s?"r":2===s?"n":4===s?"t":"\xe9")},week:{dow:1,doy:4}},bn="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),kn="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function Je(e){return e>1&&e<5&&1!=~~(e/10)}function $(e,s,n,a){const i=e+" ";switch(n){case"s":return s||a?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return s||a?i+(Je(e)?"sekundy":"sekund"):i+"sekundami";case"m":return s?"minuta":a?"minutu":"minutou";case"mm":return s||a?i+(Je(e)?"minuty":"minut"):i+"minutami";case"h":return s?"hodina":a?"hodinu":"hodinou";case"hh":return s||a?i+(Je(e)?"hodiny":"hodin"):i+"hodinami";case"d":return s||a?"den":"dnem";case"dd":return s||a?i+(Je(e)?"dny":"dn\xed"):i+"dny";case"M":return s||a?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return s||a?i+(Je(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return s||a?"rok":"rokem";case"yy":return s||a?i+(Je(e)?"roky":"let"):i+"lety"}}const gr={abbr:"cs",months:bn,monthsShort:kn,monthsParse:function(e,s){let n,a=[];for(n=0;n<12;n++)a[n]=new RegExp("^"+e[n]+"$|^"+s[n]+"$","i");return a}(bn,kn),shortMonthsParse:function(e){let s,n=[];for(s=0;s<12;s++)n[s]=new RegExp("^"+e[s]+"$","i");return n}(kn),longMonthsParse:function(e){let s,n=[];for(s=0;s<12;s++)n[s]=new RegExp("^"+e[s]+"$","i");return n}(bn),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek(e){switch(S(e)){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek(e){switch(S(e)){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:$,ss:$,m:$,mm:$,h:$,hh:$,d:$,dd:$,M:$,MM:$,y:$,yy:$},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},Dr={abbr:"da",months:"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),weekdays:"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),weekdaysShort:"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),weekdaysMin:"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function De(e,s,n,a){const i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return s?i[n][0]:i[n][1]}const br={abbr:"de",months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:De,mm:"%d Minuten",h:De,hh:"%d Stunden",d:De,dd:De,M:De,MM:De,y:De,yy:De},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},kr={abbr:"en-gb",months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(e){const s=Number(e),n=s%10;return s+(1==~~(s%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")},week:{dow:1,doy:4}};let Es="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),vr="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),vn=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Rs=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;const yr={abbr:"es-do",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?vr[v(e,n)]:Es[v(e,n)]:Es,monthsRegex:Rs,monthsShortRegex:Rs,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:vn,longMonthsParse:vn,shortMonthsParse:vn,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:e=>"[hoy a la"+(1!==k(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1ana a la"+(1!==k(e)?"s":"")+"] LT",nextWeek:e=>"dddd [a la"+(1!==k(e)?"s":"")+"] LT",lastDay:e=>"[ayer a la"+(1!==k(e)?"s":"")+"] LT",lastWeek:e=>"[el] dddd [pasado a la"+(1!==k(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}};let js="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Mr="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),yn=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Fs=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;const Cr={abbr:"es",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?Mr[v(e,n)]:js[v(e,n)]:js,monthsRegex:Fs,monthsShortRegex:Fs,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:yn,longMonthsParse:yn,shortMonthsParse:yn,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:e=>"[hoy a la"+(1!==k(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1ana a la"+(1!==k(e)?"s":"")+"] LT",nextWeek:e=>"dddd [a la"+(1!==k(e)?"s":"")+"] LT",lastDay:e=>"[ayer a la"+(1!==k(e)?"s":"")+"] LT",lastWeek:e=>"[el] dddd [pasado a la"+(1!==k(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}};"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_");let Vs="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),wr="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");const Yr={abbr:"es-us",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?wr[v(e,n)]:Vs[v(e,n)]:Vs,monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:e=>"[hoy a la"+(1!==k(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1ana a la"+(1!==k(e)?"s":"")+"] LT",nextWeek:e=>"dddd [a la"+(1!==k(e)?"s":"")+"] LT",lastDay:e=>"[ayer a la"+(1!==k(e)?"s":"")+"] LT",lastWeek:e=>"[el] dddd [pasado a la"+(1!==k(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}},ne=function(e,s,n,a){const i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return s?i[n][2]?i[n][2]:i[n][1]:a?i[n][0]:i[n][1]},Lr={abbr:"et",months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:ne,ss:ne,m:ne,mm:ne,h:ne,hh:ne,d:ne,dd:"%d p\xe4eva",M:ne,MM:ne,y:ne,yy:ne},dayOfMonthOrdinalParse:/\d{1,2}./,ordinal:"%d.",week:{dow:1,doy:4}};var Ot="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),xr=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",Ot[7],Ot[8],Ot[9]];function X(e,s,n,a){var i="";switch(n){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":return a?"sekunnin":"sekuntia";case"m":return a?"minuutin":"minuutti";case"mm":i=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":i=a?"tunnin":"tuntia";break;case"d":return a?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":i=a?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return a?"kuukauden":"kuukausi";case"MM":i=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":i=a?"vuoden":"vuotta"}return i=function Sr(e,s){return e<10?s?xr[e]:Ot[e]:e}(e,a)+" "+i,i}const Er={abbr:"fi",months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:X,ss:X,m:X,mm:X,h:X,hh:X,d:X,dd:X,M:X,MM:X,y:X,yy:X},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},Rr={abbr:"fr",months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal(e,s){const n=Number(e);switch(s){case"D":return n+(1===n?"er":"");default:case"M":case"Q":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}},week:{dow:1,doy:4}},jr={abbr:"fr-ca",months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e|)/,ordinal(e,s){const n=Number(e);switch(s){case"D":return n+(1===n?"er":"");default:case"M":case"Q":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}},week:{dow:1,doy:4}};let Ps="xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),Fr="xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),Mn=[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xu\xf1/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i],Bs=/^(xaneiro|febreiro|marzo|abril|maio|xu\xf1o|xullo|agosto|setembro|outubro|novembro|decembro|xan\.?|feb\.?|mar\.?|abr\.?|mai\.?|xu\xf1\.?|xul\.?|ago\.?|set\.?|out\.?|nov\.?|dec\.?)/i;const Or={abbr:"gl",months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?Fr[v(e,n)]:Ps[v(e,n)]:Ps,monthsRegex:Bs,monthsShortRegex:Bs,monthsStrictRegex:/^(xaneiro|febreiro|marzo|abril|maio|xu\xf1o|xullo|agosto|setembro|outubro|novembro|decembro)/i,monthsShortStrictRegex:/^(xan\.?|feb\.?|mar\.?|abr\.?|mai\.?|xu\xf1\.?|xul\.?|ago\.?|set\.?|out\.?|nov\.?|dec\.?)/i,monthsParse:Mn,longMonthsParse:Mn,shortMonthsParse:Mn,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:e=>"[hoxe \xe1"+(1!==k(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1an \xe1"+(1!==k(e)?"s":"")+"] LT",nextWeek:e=>"dddd [\xe1"+(1!==k(e)?"s":"")+"] LT",lastDay:e=>"[onte \xe1"+(1!==k(e)?"s":"")+"] LT",lastWeek:e=>"[o] dddd [pasado \xe1"+(1!==k(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}},Vr={abbr:"he",months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:e=>2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea",d:"\u05d9\u05d5\u05dd",dd:e=>2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd",M:"\u05d7\u05d5\u05d3\u05e9",MM:e=>2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd",y:"\u05e9\u05e0\u05d4",yy:e=>2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:e=>/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e),meridiem:(e,s,n)=>e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"};let Pr={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},Br={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};const Hr={abbr:"hi",months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:e=>e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(s){return Br[s]}),postformat:e=>e.replace(/\d/g,function(s){return Pr[s]}),meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:(e,s)=>(12===e&&(e=0),"\u0930\u093e\u0924"===s?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===s?e:"\u0926\u094b\u092a\u0939\u0930"===s?e>=10?e:e+12:"\u0936\u093e\u092e"===s?e+12:void 0),meridiem:(e,s,n)=>e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924",week:{dow:0,doy:6}};let Ir="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function z(e,s,n,a){switch(n){case"s":return a||s?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return e+(a||s?" m\xe1sodperc":" m\xe1sodperce");case"m":return"egy"+(a||s?" perc":" perce");case"mm":return e+(a||s?" perc":" perce");case"h":return"egy"+(a||s?" \xf3ra":" \xf3r\xe1ja");case"hh":return e+(a||s?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(a||s?" nap":" napja");case"dd":return e+(a||s?" nap":" napja");case"M":return"egy"+(a||s?" h\xf3nap":" h\xf3napja");case"MM":return e+(a||s?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(a||s?" \xe9v":" \xe9ve");case"yy":return e+(a||s?" \xe9v":" \xe9ve")}return""}function Hs(e,s){return(s?"":"[m\xfalt] ")+"["+Ir[S(e)]+"] LT[-kor]"}const Ar={abbr:"hu",months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:e=>"u"===e.charAt(1).toLowerCase(),meridiem:(e,s,n)=>e<12?!0===n?"de":"DE":!0===n?"du":"DU",calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:e=>Hs(e,!0),lastDay:"[tegnap] LT[-kor]",lastWeek:e=>Hs(e,!1),sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:z,ss:z,m:z,mm:z,h:z,hh:z,d:z,dd:z,M:z,MM:z,y:z,yy:z},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},Gr={abbr:"hr",months:"Sije\u010danj_Velja\u010da_O\u017eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),monthsShort:"Sij_Velj_O\u017eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),weekdays:"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010cetvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned_Pon_Uto_Sri_\u010cet_Pet_Sub".split("_"),weekdaysMin:"Ne_Po_Ut_Sr_\u010ce_Pe_Su".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Danas u] LT",nextDay:"[Sutra u] LT",nextWeek:"dddd [u] LT",lastDay:"[Ju\u010der u] LT",lastWeek:"[Zadnji] dddd [u] LT",sameElse:"L"},invalidDate:"Neispravan datum",relativeTime:{future:"za %s",past:"%s prije",s:"nekoliko sekundi",ss:"%d sekundi",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godina"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:e=>Number(e)+".",week:{dow:1,doy:4}},Wr={abbr:"id",months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:(e,s)=>(12===e&&(e=0),"pagi"===s?e:"siang"===s?e>=11?e:e+12:"sore"===s||"malam"===s?e+12:void 0),meridiem:(e,s,n)=>e<11?"pagi":e<15?"siang":e<19?"sore":"malam",calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}},Nr={abbr:"it",months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:e=>0===S(e)?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT",sameElse:"L"},relativeTime:{future:e=>(/^[0-9].+$/.test(e.toString(10))?"tra":"in")+" "+e,past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}},Ur={abbr:"ja",months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5 HH:mm dddd"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:e=>"\u5348\u5f8c"===e,meridiem:(e,s,n)=>e<12?"\u5348\u524d":"\u5348\u5f8c",calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:"[\u6765\u9031]dddd LT",lastDay:"[\u6628\u65e5] LT",lastWeek:"[\u524d\u9031]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal(e,s){switch(s){case"d":case"D":case"DDD":return e+"\u65e5";default:return e.toString(10)}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}},$r={abbr:"ka",months:{format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_"),standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future(e){var s=e.toString();return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(s)?s.replace(/\u10d8$/,"\u10e8\u10d8"):s+"\u10e8\u10d8"},past(e){var s=e.toString();return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(s)?s.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(s)?s.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal(e,s){const n=Number(e);return 0===n?n.toString():1===n?n+"-\u10da\u10d8":n<20||n<=100&&n%20==0||n%100==0?"\u10db\u10d4-"+n:n+"-\u10d4"},week:{dow:1,doy:4}},Cn={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"},Xr={abbr:"kk",months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:e=>e+(Cn[e]||Cn[e%10]||Cn[e>=100?100:null]),week:{dow:1,doy:7}},zr={abbr:"ko",months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,s){switch(s){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e.toString(10)}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,s,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}},Jr={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function Ke(e,s,n,a){return s?be(n)[0]:a?be(n)[1]:be(n)[2]}function Is(e){return e%10==0||e>10&&e<20}function be(e){return Jr[e].split("_")}function Qe(e,s,n,a){let i=e+" ";return 1===e?i+Ke(0,s,n[0],a):s?i+(Is(e)?be(n)[1]:be(n)[0]):a?i+be(n)[1]:i+(Is(e)?be(n)[1]:be(n)[2])}const Qr={abbr:"lt",months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function Kr(e,s,n,a){return s?"kelios sekund\u0117s":a?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:Qe,m:Ke,mm:Qe,h:Ke,hh:Qe,d:Ke,dd:Qe,M:Ke,MM:Qe,y:Ke,yy:Qe},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:e=>e+"-oji",week:{dow:1,doy:4}},Zr={abbr:"lv",months:"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012blis_Maijs_J\u016bnijs_J\u016blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mai_J\u016bn_J\u016bl_Aug_Sep_Okt_Nov_Dec".split("_"),weekdays:"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),weekdaysShort:"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),weekdaysMin:"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:"da\u017e\u0101m sekund\u0113m",ss:"%d sekund\u0113m",m:"min\u016btes",mm:"%d min\u016bt\u0113m",h:"stundas",hh:"%d stund\u0101m",d:"dienas",dd:"%d dien\u0101m",M:"m\u0113ne\u0161a",MM:"%d m\u0113ne\u0161iem",y:"gada",yy:"%d gadiem"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:e=>e+".",week:{dow:1,doy:4}};function J(e,s,n,a){switch(n){case"s":return s?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(s?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(s?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(s?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(s?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(s?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(s?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e.toString(10)}}const qr={abbr:"mn",months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,s,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:J,ss:J,m:J,mm:J,h:J,hh:J,d:J,dd:J,M:J,MM:J,y:J,yy:J},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,s){switch(s){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e.toString(10)}}},el={abbr:"nb",months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};let As="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),tl="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Tn=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Gs=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;const nl={abbr:"nl-be",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?tl[v(e,n)]:As[v(e,n)]:As,monthsRegex:Gs,monthsShortRegex:Gs,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Tn,longMonthsParse:Tn,shortMonthsParse:Tn,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(e){const s=Number(e);return s+(1===s||8===s||s>=20?"ste":"de")},week:{dow:1,doy:4}};let Ws="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),sl="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),wn=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Ns=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;const al={abbr:"nl",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?sl[v(e,n)]:Ws[v(e,n)]:Ws,monthsRegex:Ns,monthsShortRegex:Ns,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:wn,longMonthsParse:wn,shortMonthsParse:wn,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(e){const s=Number(e);return s+(1===s||8===s||s>=20?"ste":"de")},week:{dow:1,doy:4}};let Yn="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),Us="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function ht(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function Ve(e,s,n){let a=e+" ";switch(n){case"ss":return a+(ht(e)?"sekundy":"sekund");case"m":return s?"minuta":"minut\u0119";case"mm":return a+(ht(e)?"minuty":"minut");case"h":return s?"godzina":"godzin\u0119";case"hh":return a+(ht(e)?"godziny":"godzin");case"MM":return a+(ht(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return a+(ht(e)?"lata":"lat")}}const il={abbr:"pl",months:(e,s,n)=>e?""===s?"("+Us[v(e,n)]+"|"+Yn[v(e,n)]+")":/D MMMM/.test(s)?Us[v(e,n)]:Yn[v(e,n)]:Yn,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek(e){switch(S(e)){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 5:return"[W pi\u0105tek o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek(e){switch(S(e)){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 4:return"[W zesz\u0142\u0105 czwartek o] LT";case 5:return"[W zesz\u0142\u0105 pi\u0105tek o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:Ve,m:Ve,mm:Ve,h:Ve,hh:Ve,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:Ve,y:"rok",yy:Ve},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},ol={abbr:"pt-br",months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:e=>0===S(e)||6===S(e)?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT",sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xe1s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"};function Ze(e,s,n){let i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}const rl={abbr:"ro",months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:Ze,m:"un minut",mm:Ze,h:"o or\u0103",hh:Ze,d:"o zi",dd:Ze,M:"o lun\u0103",MM:Ze,y:"un an",yy:Ze},week:{dow:1,doy:7}};function Pe(e,s,n){return"m"===n?s?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function ll(e,s){let n=e.split("_");return s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2]}({ss:s?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:s?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n],+e)}let Ln=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];const cl={abbr:"ru",months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:Ln,longMonthsParse:Ln,shortMonthsParse:Ln,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek(e,s){if($e(s)===$e(e))return 2===S(e)?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(S(e)){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd [\u0432] LT"}},lastWeek(e,s){if($e(s)===$e(e))return 2===S(e)?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(S(e)){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:Pe,m:Pe,mm:Pe,h:"\u0447\u0430\u0441",hh:Pe,d:"\u0434\u0435\u043d\u044c",dd:Pe,M:"\u043c\u0435\u0441\u044f\u0446",MM:Pe,y:"\u0433\u043e\u0434",yy:Pe},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:e=>/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e),meridiem:(e,s,n)=>e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430",dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal(e,s){const n=Number(e);switch(s){case"M":case"d":case"DDD":return n+"-\u0439";case"D":return n+"-\u0433\u043e";case"w":case"W":return n+"-\u044f";default:return n.toString(10)}},week:{dow:1,doy:4}};function qe(e){return e>1&&e<5&&1!=~~(e/10)}function K(e,s,n,a){const i=e+" ";switch(n){case"s":return s||a?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return s||a?i+(qe(e)?"sekundy":"sek\xfand"):i+"sekundami";case"m":return s?"min\xfata":a?"min\xfatu":"min\xfatou";case"mm":return s||a?i+(qe(e)?"min\xfaty":"min\xfat"):i+"min\xfatami";case"h":return s?"hodina":a?"hodinu":"hodinou";case"hh":return s||a?i+(qe(e)?"hodiny":"hod\xedn"):i+"hodinami";case"d":return s||a?"de\u0148":"d\u0148om";case"dd":return s||a?i+(qe(e)?"dni":"dn\xed"):i+"d\u0148ami";case"M":return s||a?"mesiac":"mesiacom";case"MM":return s||a?i+(qe(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return s||a?"rok":"rokom";case"yy":return s||a?i+(qe(e)?"roky":"rokov"):i+"rokmi"}}const ul={abbr:"sk",months:"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek(e){switch(S(e)){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek(e){switch(S(e)){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"o %s",past:"pred %s",s:K,ss:K,m:K,mm:K,h:K,hh:K,d:K,dd:K,M:K,MM:K,y:K,yy:K},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function Q(e,s,n,a){var i=e+" ";switch(n){case"s":return s||a?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===e?s?"sekundo":"sekundi":2===e?s||a?"sekundi":"sekundah":e<5?s||a?"sekunde":"sekundah":"sekund");case"m":return s?"ena minuta":"eno minuto";case"mm":return i+(1===e?s?"minuta":"minuto":2===e?s||a?"minuti":"minutama":e<5?s||a?"minute":"minutami":s||a?"minut":"minutami");case"h":return s?"ena ura":"eno uro";case"hh":return i+(1===e?s?"ura":"uro":2===e?s||a?"uri":"urama":e<5?s||a?"ure":"urami":s||a?"ur":"urami");case"d":return s||a?"en dan":"enim dnem";case"dd":return i+(1===e?s||a?"dan":"dnem":2===e?s||a?"dni":"dnevoma":s||a?"dni":"dnevi");case"M":return s||a?"en mesec":"enim mesecem";case"MM":return i+(1===e?s||a?"mesec":"mesecem":2===e?s||a?"meseca":"mesecema":e<5?s||a?"mesece":"meseci":s||a?"mesecev":"meseci");case"y":return s||a?"eno leto":"enim letom";case"yy":return i+(1===e?s||a?"leto":"letom":2===e?s||a?"leti":"letoma":e<5?s||a?"leta":"leti":s||a?"let":"leti")}}const _l={abbr:"sl",months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek(e){switch(S(e)){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek(e){switch(S(e)){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:Q,ss:Q,m:Q,mm:Q,h:Q,hh:Q,d:Q,dd:Q,M:Q,MM:Q,y:Q,yy:Q},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}},pl={abbr:"sq",months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel\xeb_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"Di_He_Ma_Me_En_Pr_Sh".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"para %sve",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},hl={abbr:"sv",months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal(e){const s=Number(e);let n=s%10;return s+(1==~~(s%100/10)?"e":1===n||2===n?"a":"e")},week:{dow:1,doy:4}},fl={abbr:"th",months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:e=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e,meridiem:(e,s,n)=>e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}},xn={abbr:"th-be",months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:e=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e,meridiem:(e,s,n)=>e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"},preparse(e,s){const n=xn.longDateFormat[s]?xn.longDateFormat[s]:s;return-1!==n.indexOf("YYYY",n.length-4)?e.substr(0,e.length-4)+(parseInt(e.substr(e.length-4),10)-543):e},getFullYear:(e,s=!1)=>543+(s?e.getUTCFullYear():e.getFullYear())};let Sn={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};const gl={abbr:"tr",months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|\xfcnc\xfc|nc\u0131|uncu|\u0131nc\u0131)/,ordinal(e){const s=Number(e);if(0===s)return s+"'\u0131nc\u0131";let n=s%10;return s+(Sn[n]||Sn[s%100-n]||Sn[s>=100?100:null])},week:{dow:1,doy:7}};function Be(e,s,n){return"m"===n?s?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?s?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+function Dl(e,s){let n=e.split("_");return s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2]}({ss:s?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:s?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:s?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n],+e)}function et(e){return function(s){return e+"\u043e"+(11===k(s)?"\u0431":"")+"] LT"}}const kl={abbr:"uk",months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function bl(e,s,n){let a={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return e?a[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(s)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(s)?"genitive":"nominative"][S(e,n)]:a.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:et("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:et("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:et("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:et("[\u0423] dddd ["),lastWeek(e){switch(S(e)){case 0:case 3:case 5:case 6:return et("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [")(e);case 1:case 2:case 4:return et("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [")(e)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:Be,m:Be,mm:Be,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:Be,d:"\u0434\u0435\u043d\u044c",dd:Be,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:Be,y:"\u0440\u0456\u043a",yy:Be},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:e=>/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e),meridiem:(e,s,n)=>e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430",dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal(e,s){const n=Number(e);switch(s){case"M":case"d":case"DDD":case"w":case"W":return n+"-\u0439";case"D":return n+"-\u0433\u043e";default:return n.toString()}},week:{dow:1,doy:7}},vl={abbr:"vi",months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:e=>/^ch$/i.test(e),meridiem:(e,s,n)=>e<12?n?"sa":"SA":n?"ch":"CH",longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:e=>""+e,week:{dow:1,doy:4}},yl={abbr:"zh-cn",months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:(e,s)=>(12===e&&(e=0),"\u51cc\u6668"===s||"\u65e9\u4e0a"===s||"\u4e0a\u5348"===s?e:"\u4e0b\u5348"===s||"\u665a\u4e0a"===s?e+12:e>=11?e:e+12),meridiem(e,s,n){let a=100*e+s;return a<600?"\u51cc\u6668":a<900?"\u65e9\u4e0a":a<1130?"\u4e0a\u5348":a<1230?"\u4e2d\u5348":a<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal(e,s){const n=Number(e);switch(s){case"d":case"D":case"DDD":return n+"\u65e5";case"M":return n+"\u6708";case"w":case"W":return n+"\u5468";default:return n.toString()}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}},$s=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5};var Tl={s:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u062b\u0627\u0646\u06cc\u0647","\u06cc\u06a9 \u062b\u0627\u0646\u06cc\u0647",["\u062f\u0648 \u062b\u0627\u0646\u06cc\u0647","\u062f\u0648 \u062b\u0627\u0646\u06cc\u0647"],"%d \u062b\u0627\u0646\u06cc\u0647","%d \u062b\u0627\u0646\u06cc\u0647","%d \u062b\u0627\u0646\u06cc\u0647"],m:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647","\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",["\u062f\u0648 \u062f\u0642\u06cc\u0642\u0647","\u062f\u0648 \u062f\u0642\u06cc\u0642\u0647"],"%d \u062f\u0642\u06cc\u0642\u0647","%d \u062f\u0642\u06cc\u0642\u0647","%d \u062f\u0642\u06cc\u0642\u0647"],h:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u0633\u0627\u0639\u062a","\u06cc\u06a9 \u0633\u0627\u0639\u062a",["\u062f\u0648 \u0633\u0627\u0639\u062a","\u062f\u0648 \u0633\u0627\u0639\u062a"],"%d \u0633\u0627\u0639\u062a","%d \u0633\u0627\u0639\u062a","%d \u0633\u0627\u0639\u062a"],d:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u0631\u0648\u0632","\u06cc\u06a9 \u0631\u0648\u0632",["\u062f\u0648 \u0631\u0648\u0632","\u062f\u0648 \u0631\u0648\u0632"],"%d \u0631\u0648\u0632","%d \u0631\u0648\u0632","%d \u0631\u0648\u0632"],M:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u0645\u0627\u0647","\u06cc\u06a9 \u0645\u0627\u0647",["\u062f\u0648 \u0645\u0627\u0647","\u062f\u0648 \u0645\u0627\u0647"],"%d \u0645\u0627\u0647","%d \u0645\u0627\u0647","%d \u0645\u0627\u0647"],y:["\u06a9\u0645\u062a\u0631 \u0627\u0632 \u06cc\u06a9 \u0633\u0627\u0644","\u06cc\u06a9 \u0633\u0627\u0644",["\u062f\u0648 \u0633\u0627\u0644","\u062f\u0648 \u0633\u0627\u0644"],"%d \u0633\u0627\u0644","%d \u0633\u0627\u0644","%d \u0633\u0627\u0644"]};const Z=function(e){return function(s,n){const a=$s(s);let i=Tl[e][$s(s)];return 2===a&&(i=i[n?0:1]),i.replace(/%d/i,s.toString())}};"\u06cc\u06a9\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647 \u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c \u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),"\u06cc\u06a9\u0634\u0646\u0628\u0647_\u062f\u0648\u200c\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u200c\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),Z("s"),Z("s"),Z("m"),Z("m"),Z("h"),Z("h"),Z("d"),Z("d"),Z("M"),Z("M"),Z("y"),Z("y");var tt=function(e){return e[e.UP=0]="UP",e[e.DOWN=1]="DOWN",e}(tt||{}),t=r(54438);let I=(()=>{class e{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range",this.withTimepicker=!1,this.allowedPositions=["top","bottom"],this.keepDatepickerOpened=!1,this.keepDatesOutOfRules=!1}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var zs=r(96697),ke=r(35990),ft=r(57740),W=r(49969);const Js="220ms cubic-bezier(0, 0, 0.2, 1)",Vt=(0,W.hZ)("datepickerAnimation",[(0,W.wk)("animated-down",(0,W.iF)({height:"*",overflow:"hidden"})),(0,W.kY)("* => animated-down",[(0,W.iF)({height:0,overflow:"hidden"}),(0,W.i0)(Js)]),(0,W.wk)("animated-up",(0,W.iF)({height:"*",overflow:"hidden"})),(0,W.kY)("* => animated-up",[(0,W.iF)({height:"*",overflow:"hidden"}),(0,W.i0)(Js)]),(0,W.kY)("* => unanimated",(0,W.i0)("0s"))]);var Pt=r(18359);class Ks{constructor(){this.containerClass="",this.customRanges=[],this.chosenRange=[],this._daysCalendarSub=new Pt.yU,this.selectedTimeSub=new Pt.yU}set minDate(s){this._effects?.setMinDate(s)}set maxDate(s){this._effects?.setMaxDate(s)}set daysDisabled(s){this._effects?.setDaysDisabled(s)}set datesDisabled(s){this._effects?.setDatesDisabled(s)}set datesEnabled(s){this._effects?.setDatesEnabled(s)}set isDisabled(s){this._effects?.setDisabled(s)}set dateCustomClasses(s){this._effects?.setDateCustomClasses(s)}set dateTooltipTexts(s){this._effects?.setDateTooltipTexts(s)}set daysCalendar$(s){this._daysCalendar$=s,this._daysCalendarSub.unsubscribe(),this._daysCalendarSub.add(this._daysCalendar$.subscribe(n=>{this.multipleCalendars=!!n&&n.length>1}))}get daysCalendar$(){return this._daysCalendar$}setViewMode(s){}navigateTo(s){}dayHoverHandler(s){}weekHoverHandler(s){}monthHoverHandler(s){}yearHoverHandler(s){}timeSelectHandler(s,n){}daySelectHandler(s){}monthSelectHandler(s){}yearSelectHandler(s){}setRangeOnCalendar(s){}setToday(){}clearDate(){}_stopPropagation(s){s.stopPropagation()}}let x=(()=>{class e{static#e=this.CALCULATE="[datepicker] calculate dates matrix";static#t=this.FORMAT="[datepicker] format datepicker values";static#n=this.FLAG="[datepicker] set flags";static#s=this.SELECT="[datepicker] select date";static#a=this.NAVIGATE_OFFSET="[datepicker] shift view date";static#i=this.NAVIGATE_TO="[datepicker] change view date";static#o=this.SET_OPTIONS="[datepicker] update render options";static#r=this.HOVER="[datepicker] hover date";static#l=this.CHANGE_VIEWMODE="[datepicker] switch view mode";static#c=this.SET_MIN_DATE="[datepicker] set min date";static#d=this.SET_MAX_DATE="[datepicker] set max date";static#m=this.SET_DAYSDISABLED="[datepicker] set days disabled";static#u=this.SET_DATESDISABLED="[datepicker] set dates disabled";static#_=this.SET_DATESENABLED="[datepicker] set dates enabled";static#p=this.SET_IS_DISABLED="[datepicker] set is disabled";static#h=this.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes";static#f=this.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts";static#g=this.SET_LOCALE="[datepicker] set datepicker locale";static#D=this.SELECT_TIME="[datepicker] select time";static#b=this.SELECT_RANGE="[daterangepicker] select dates range";calculate(){return{type:e.CALCULATE}}format(){return{type:e.FORMAT}}flag(){return{type:e.FLAG}}select(n){return{type:e.SELECT,payload:n}}selectTime(n,a){return{type:e.SELECT_TIME,payload:{date:n,index:a}}}changeViewMode(n){return{type:e.CHANGE_VIEWMODE,payload:n}}navigateTo(n){return{type:e.NAVIGATE_TO,payload:n}}navigateStep(n){return{type:e.NAVIGATE_OFFSET,payload:n}}setOptions(n){return{type:e.SET_OPTIONS,payload:n}}selectRange(n){return{type:e.SELECT_RANGE,payload:n}}hoverDay(n){return{type:e.HOVER,payload:n.isHovered?n.cell.date:null}}minDate(n){return{type:e.SET_MIN_DATE,payload:n}}maxDate(n){return{type:e.SET_MAX_DATE,payload:n}}daysDisabled(n){return{type:e.SET_DAYSDISABLED,payload:n}}datesDisabled(n){return{type:e.SET_DATESDISABLED,payload:n}}datesEnabled(n){return{type:e.SET_DATESENABLED,payload:n}}isDisabled(n){return{type:e.SET_IS_DISABLED,payload:n}}setDateCustomClasses(n){return{type:e.SET_DATE_CUSTOM_CLASSES,payload:n}}setDateTooltipTexts(n){return{type:e.SET_DATE_TOOLTIP_TEXTS,payload:n}}setLocale(n){return{type:e.SET_LOCALE,payload:n}}static#k=this.\u0275fac=function(a){return new(a||e)};static#v=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var wl=r(84572),H=r(5964),Yl=r(96354),Bt=r(84412);let nt=(()=>{class e{constructor(){this._defaultLocale="en",this._locale=new Bt.t(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(n){n!==this.currentLocale&&this._locale.next(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ve=(()=>{class e{constructor(n,a){this._actions=n,this._localeService=a,this._subs=[]}init(n){return this._store=n,this}setValue(n){this._store?.dispatch(this._actions.select(n))}setRangeValue(n){this._store?.dispatch(this._actions.selectRange(n))}setMinDate(n){return this._store?.dispatch(this._actions.minDate(n)),this}setMaxDate(n){return this._store?.dispatch(this._actions.maxDate(n)),this}setDaysDisabled(n){return this._store?.dispatch(this._actions.daysDisabled(n)),this}setDatesDisabled(n){return this._store?.dispatch(this._actions.datesDisabled(n)),this}setDatesEnabled(n){return this._store?.dispatch(this._actions.datesEnabled(n)),this}setDisabled(n){return this._store?.dispatch(this._actions.isDisabled(n)),this}setDateCustomClasses(n){return this._store?.dispatch(this._actions.setDateCustomClasses(n)),this}setDateTooltipTexts(n){return this._store?.dispatch(this._actions.setDateTooltipTexts(n)),this}setOptions(n){const a=Object.assign({locale:this._localeService.currentLocale},n);return this._store?.dispatch(this._actions.setOptions(a)),this}setBindings(n){return this._store?(n.selectedTime=this._store.select(a=>a.selectedTime).pipe((0,H.p)(a=>!!a)),n.daysCalendar$=this._store.select(a=>a.flaggedMonths).pipe((0,H.p)(a=>!!a)),n.monthsCalendar=this._store.select(a=>a.flaggedMonthsCalendar).pipe((0,H.p)(a=>!!a)),n.yearsCalendar=this._store.select(a=>a.yearsCalendarFlagged).pipe((0,H.p)(a=>!!a)),n.viewMode=this._store.select(a=>a.view?.mode),n.options$=(0,wl.z)([this._store.select(a=>a.showWeekNumbers),this._store.select(a=>a.displayMonths)]).pipe((0,Yl.T)(a=>({showWeekNumbers:a[0],displayMonths:a[1]}))),this):this}setEventHandlers(n){return n.setViewMode=a=>{this._store?.dispatch(this._actions.changeViewMode(a))},n.navigateTo=a=>{this._store?.dispatch(this._actions.navigateStep(a.step))},n.dayHoverHandler=a=>{const i=a.cell;i.isOtherMonth||i.isDisabled||(this._store?.dispatch(this._actions.hoverDay(a)),i.isHovered=a.isHovered)},n.monthHoverHandler=a=>{a.cell.isHovered=a.isHovered},n.yearHoverHandler=a=>{a.cell.isHovered=a.isHovered},this}registerDatepickerSideEffects(){return this._store?(this._subs.push(this._store.select(n=>n.view).subscribe(()=>{this._store?.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(n=>n.monthsModel).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.format()))),this._subs.push(this._store.select(n=>n.formattedMonths).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.selectedDate).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.selectedRange).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.monthsCalendar).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.yearsCalendarModel).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.hoveredDate).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.dateCustomClasses).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.dateTooltipTexts).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(n=>this._store?.dispatch(this._actions.setLocale(n)))),this):this}destroy(){for(const n of this._subs)n.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)(t.KVO(x),t.KVO(nt))};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Qs=r(38575);const Sl={date:new Date,mode:"day"},Zs=Object.assign(new I,{locale:"en",view:Sl,selectedRange:[],selectedTime:[],monthViewOptions:{width:7,height:6}});function En(e,s,n){const a=s&&oe(Lt(e,"month"),s,"day"),i=n&&te(pe(e,"month"),n,"day");return a||i||!1}function gt(e,s,n){const a=s&&oe(Lt(e,"year"),s,"day"),i=n&&te(pe(e,"year"),n,"day");return a||i||!1}function Rn(e,s,n){return!!(s&&L(s)&&s.length)&&(n&&"year"===n&&!s[0].getDate()?s.some(a=>ze(e,a,"year")):s.some(a=>ze(e,a,"date")))}function jn(e,s,n){return!!(s&&L(s)&&s.length)&&!s.some(a=>ze(e,a,n||"date"))}function qs(e,s=0){const n=e&&e.yearsCalendarModel&&e.yearsCalendarModel[s];return n?.years[0]&&n.years[0][0]&&n.years[0][0].date}function ea(e,s){return!e||!s||!e.length&&!e[0].value||e.forEach(n=>(!n||!n.value||n.value instanceof Date||!(n.value instanceof Array&&n.value.length)||(n.value=ta(n.value,s)),e)),e}function Ht(e,s){return!e||!s||e instanceof Array&&!e.length||e instanceof Date?e:ta(e,s)}function ta(e,s){return e instanceof Array?e.map(a=>a&&(te(a,s,"date")&&(a=s),a)):e}function It(e){return e&&na(e)}function At(e){return e?.length&&e.map(s=>s&&na(s)),e}function na(e){const s=new Date;return e.setMilliseconds(s.getMilliseconds()),e.setSeconds(s.getSeconds()),e.setMinutes(s.getMinutes()),e.setHours(s.getHours()),e}function Fn(e,s){let n=e.initialDate;const a=new Array(e.height);for(let i=0;il),month:n}}function Fl(e,s,n){return e.map(a=>a[0]?N(a[0],s,n):"")}function Ol(e){const s=B(e),n=s.weekdaysShort(),a=s.firstDayOfWeek();return[...n.slice(a),...n.slice(0,a)]}function sa(e,s){return!s||e>=s}const Bl=4,Hl=3,Il={month:1};function aa(e,s){const n=pe(e,"year");return{months:Fn({width:Hl,height:Bl,initialDate:n,shift:Il},o=>({date:o,label:N(o,s.monthLabel,s.locale)})),monthTitle:"",yearTitle:N(e,s.yearTitle,s.locale),hideRightArrow:!1,hideLeftArrow:!1,disableRightArrow:!1,disableLeftArrow:!1}}const Vn=4,Pn=4,Gt=Vn*Pn,ia=-1*(Math.floor(Gt/2)-1),Gl={year:1};function oa(e,s,n){const a=function Wl(e,s){return s&&e.getFullYear()>=s.getFullYear()&&e.getFullYear()({date:m,label:N(m,s.yearLabel,s.locale)})),l=function Nl(e,s){return`${N(e[0][0].date,s.yearTitle,s.locale)} - ${N(e[Vn-1][Pn-1].date,s.yearTitle,s.locale)}`}(o,s);return{years:o,monthTitle:"",yearTitle:l,hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function Wt(e,s){!e||!isNaN(e.getTime())||(e.setHours(s.getHours()),e.setMinutes(s.getMinutes()),e.setSeconds(s.getSeconds()),e.setMilliseconds(s.getMilliseconds()))}function ra(e=Zs,s){switch(s.type){case x.CALCULATE:return function $l(e){if(!e.view)return e;let s;s=e.displayOneMonthRange&&la(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths||1;let n=e.view.date;if("day"===e.view.mode&&e.monthViewOptions){e.showPreviousMonth&&e.selectedRange&&0===e.selectedRange.length&&(n=j(n,{month:-1})),e.monthViewOptions.firstDayOfWeek=B(e.locale).firstDayOfWeek();let a=new Array(s);for(let i=0;ie.monthViewOptions?On(o.month,e.monthViewOptions):null).filter(o=>null!==o))}return Object.assign({},e,{monthsModel:a})}if("month"===e.view.mode){const a=new Array(s);for(let i=0;ifunction jl(e,s,n){return{month:e.month,monthTitle:N(e.month,s.monthTitle,s.locale),yearTitle:N(e.month,s.yearTitle,s.locale),weekNumbers:Fl(e.daysMatrix,s.weekNumbers,s.locale),weekdays:Ol(s.locale),weeks:e.daysMatrix.map((a,i)=>({days:a.map((o,l)=>({date:o,label:N(o,s.dayLabel,s.locale),monthIndex:n,weekIndex:i,dayIndex:l}))})),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}(i,Dt(e),o));return Object.assign({},e,{formattedMonths:a})}const s=e.displayMonths||1;let n=e.view.date;if("month"===e.view.mode){const a=new Array(s);for(let i=0;ifunction Vl(e,s){return e.weeks.forEach(n=>{n.days.forEach((a,i)=>{const o=!Ge(a.date,e.month),l=!o&&fe(a.date,s.hoveredDate),m=!o&&s.selectedRange&&fe(a.date,s.selectedRange[0]),_=!o&&s.selectedRange&&fe(a.date,s.selectedRange[1]),M=!o&&fe(a.date,s.selectedDate)||m||_,we=!o&&s.selectedRange&&function Pl(e,s,n){return!!(e&&s&&s[0])&&(s[1]?e>s[0]&&e<=s[1]:!!n&&e>s[0]&&e<=n)}(a.date,s.selectedRange,s.hoveredDate),re=s.isDisabled||oe(a.date,s.minDate,"day")||te(a.date,s.maxDate,"day")||function Zo(e,s){return!(typeof s>"u"||!s||!s.length)&&s.some(n=>n===e.getDay())}(a.date,s.daysDisabled)||Rn(a.date,s.datesDisabled)||jn(a.date,s.datesEnabled),Dm=!o&&fe(a.date,new Date),bm=s.dateCustomClasses&&s.dateCustomClasses.map(ce=>fe(a.date,ce.date)?ce.classes:[]).reduce((ce,Un)=>ce.concat(Un),[]).join(" ")||"",km=s.dateTooltipTexts&&s.dateTooltipTexts.map(ce=>fe(a.date,ce.date)?ce.tooltipText:"").reduce((ce,Un)=>(ce.push(Un),ce),[]).join(" ")||"",le=Object.assign({},a,{isOtherMonth:o,isHovered:l,isSelected:M,isSelectionStart:m,isSelectionEnd:_,isInRange:we,isDisabled:re,isToday:Dm,customClasses:bm,tooltipText:km});(a.isOtherMonth!==le.isOtherMonth||a.isHovered!==le.isHovered||a.isSelected!==le.isSelected||a.isSelectionStart!==le.isSelectionStart||a.isSelectionEnd!==le.isSelectionEnd||a.isDisabled!==le.isDisabled||a.isInRange!==le.isInRange||a.customClasses!==le.customClasses||a.tooltipText!==le.tooltipText)&&(n.days[i]=le)})}),e.hideLeftArrow=s.isDisabled||!!s.monthIndex&&s.monthIndex>0&&s.monthIndex!==s.displayMonths,e.hideRightArrow=s.isDisabled||(!!s.monthIndex||0===s.monthIndex)&&!!s.displayMonths&&s.monthIndexfunction Al(e,s){return e.months.forEach((n,a)=>{n.forEach((i,o)=>{let l;const m=Ge(i.date,s.hoveredMonth),_=s.isDisabled||Rn(i.date,s.datesDisabled)||jn(i.date,s.datesEnabled,"month")||En(i.date,s.minDate,s.maxDate);!s.selectedDate&&s.selectedRange?(l=Ge(i.date,s.selectedRange[0]),l||(l=Ge(i.date,s.selectedRange[1]))):l=Ge(i.date,s.selectedDate);const M=Object.assign(i,{isHovered:m,isDisabled:_,isSelected:l});(i.isHovered!==M.isHovered||i.isDisabled!==M.isDisabled||i.isSelected!==M.isSelected)&&(e.months[a][o]=M)})}),e.hideLeftArrow=!!s.monthIndex&&s.monthIndex>0&&s.monthIndex!==s.displayMonths,e.hideRightArrow=(!!s.monthIndex||0===s.monthIndex)&&(!!s.displayMonths||0===s.displayMonths)&&s.monthIndexfunction Ul(e,s){e.years.forEach((i,o)=>{i.forEach((l,m)=>{let _;const M=We(l.date,s.hoveredYear),we=s.isDisabled||Rn(l.date,s.datesDisabled,"year")||jn(l.date,s.datesEnabled,"year")||gt(l.date,s.minDate,s.maxDate);!s.selectedDate&&s.selectedRange?(_=We(l.date,s.selectedRange[0]),_||(_=We(l.date,s.selectedRange[1]))):_=We(l.date,s.selectedDate);const re=Object.assign(l,{isHovered:M,isDisabled:we,isSelected:_});(l.isHovered!==re.isHovered||l.isDisabled!==re.isDisabled||l.isSelected!==re.isSelected)&&(e.years[o][m]=re)})}),e.hideLeftArrow=!!s.yearIndex&&s.yearIndex>0&&s.yearIndex!==s.displayMonths,e.hideRightArrow=!!s.yearIndex&&!!s.displayMonths&&s.yearIndexl)),n.value instanceof Date&&(n.selectedDate=n.value,n.selectedTime=[n.value])),Object.assign({},e,n)}case x.SELECT_RANGE:{if(!e.view)return e;const n={selectedRange:s.payload,view:e.view};n.selectedRange?.forEach((l,m)=>{if(Array.isArray(e.selectedTime)){const _=e.selectedTime[m];_&&Wt(l,_)}});const a=e.view.mode,o=Bn(s.payload&&s.payload[0]||e.view.date,e.minDate,e.maxDate);return n.view={mode:a,date:o},Object.assign({},e,n)}case x.SET_MIN_DATE:return Object.assign({},e,{minDate:s.payload});case x.SET_MAX_DATE:return Object.assign({},e,{maxDate:s.payload});case x.SET_IS_DISABLED:return Object.assign({},e,{isDisabled:s.payload});case x.SET_DATE_CUSTOM_CLASSES:return Object.assign({},e,{dateCustomClasses:s.payload});case x.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},e,{dateTooltipTexts:s.payload});default:return e}}function Dt(e){return{locale:e.locale,monthTitle:e.monthTitle,yearTitle:e.yearTitle,dayLabel:e.dayLabel,monthLabel:e.monthLabel,yearLabel:e.yearLabel,weekNumbers:e.weekNumbers}}function Bn(e,s,n){const a=Array.isArray(e)?e[0]:e;return s&&te(s,a,"day")?s:n&&oe(n,a,"day")?n:a}function la(e,s,n){return!(!n||!ze(n,e,"day"))||s&&n&&s.getMonth()===n.getMonth()}let ye=(()=>{class e extends Qs.F{constructor(){const n=new Bt.t({type:"[datepicker] dispatcher init"});super(n,ra,new Qs.n(Zs,n,ra))}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ql(e,s){if(1&e){const n=t.RV6();t.j41(0,"button",2),t.bIt("click",function(){const i=t.eBV(n).$implicit,o=t.XpG();return t.Njj(o.selectFromRanges(i))}),t.EFF(1),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG();t.AVh("selected",n.value===a.selectedRange),t.R7$(),t.SpI(" ",n.label," ")}}let Nt=(()=>{class e{constructor(){this.onSelect=new t.bkB}selectFromRanges(n){this.onSelect.emit(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},standalone:!0,features:[t.aNF],decls:2,vars:1,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(a,i){1&a&&(t.j41(0,"div",0),t.DNE(1,Ql,2,3,"button",1),t.k0s()),2&a&&(t.R7$(),t.Y8G("ngForOf",i.ranges))},dependencies:[d.pM],encapsulation:2,changeDetection:0})}return e})();function Zl(e,s){if(1&e){const n=t.RV6();t.qex(0),t.EFF(1," \u200b "),t.j41(2,"button",2),t.bIt("click",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.view("month"))}),t.j41(3,"span"),t.EFF(4),t.k0s()(),t.bVm()}if(2&e){const n=t.XpG();t.R7$(2),t.Y8G("disabled",n.isDisabled),t.R7$(2),t.JRh(n.calendar.monthTitle)}}let Hn=(()=>{class e{constructor(){this.isDisabled=!1,this.onNavigate=new t.bkB,this.onViewMode=new t.bkB}navTo(n){this.onNavigate.emit(n?tt.DOWN:tt.UP)}view(n){this.isDisabled||this.onViewMode.emit(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},standalone:!0,features:[t.aNF],decls:12,vars:9,consts:[["type","button",1,"previous",3,"click","disabled"],[4,"ngIf"],["type","button",1,"current",3,"click","disabled"],["type","button",1,"next",3,"click","disabled"]],template:function(a,i){1&a&&(t.j41(0,"button",0),t.bIt("click",function(){return i.navTo(!0)}),t.j41(1,"span"),t.EFF(2,"\u2039"),t.k0s()(),t.DNE(3,Zl,5,2,"ng-container",1),t.EFF(4," \u200b "),t.j41(5,"button",2),t.bIt("click",function(){return i.view("year")}),t.j41(6,"span"),t.EFF(7),t.k0s()(),t.EFF(8," \u200b "),t.j41(9,"button",3),t.bIt("click",function(){return i.navTo(!1)}),t.j41(10,"span"),t.EFF(11,"\u203a"),t.k0s()()),2&a&&(t.xc7("visibility",i.calendar.hideLeftArrow?"hidden":"visible"),t.Y8G("disabled",i.calendar.disableLeftArrow),t.R7$(3),t.Y8G("ngIf",i.calendar&&i.calendar.monthTitle),t.R7$(2),t.Y8G("disabled",i.isDisabled),t.R7$(2),t.JRh(i.calendar.yearTitle),t.R7$(2),t.xc7("visibility",i.calendar.hideRightArrow?"hidden":"visible"),t.Y8G("disabled",i.calendar.disableRightArrow))},dependencies:[d.bT],encapsulation:2,changeDetection:0})}return e})(),ql=(()=>{class e{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-timepicker"]],standalone:!0,features:[t.aNF],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-controls"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"button",2),t.EFF(3,"-"),t.k0s(),t.nrm(4,"input",3),t.j41(5,"button",4),t.EFF(6,"+"),t.k0s()(),t.j41(7,"div",1)(8,"button",2),t.EFF(9,"-"),t.k0s(),t.nrm(10,"input",3),t.j41(11,"button",4),t.EFF(12,"+"),t.k0s()(),t.j41(13,"button",5),t.EFF(14),t.nrm(15,"img",6),t.k0s()()),2&a&&(t.R7$(4),t.Y8G("value",i.hours),t.R7$(6),t.Y8G("value",i.minutes),t.R7$(4),t.SpI("",i.ampm," "))},encapsulation:2})}return e})(),ec=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-current-date"]],inputs:{title:"title"},standalone:!0,features:[t.aNF],decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"span"),t.EFF(2),t.k0s()()),2&a&&(t.R7$(2),t.JRh(i.title))},encapsulation:2})}return e})();const tc=[[["bs-datepicker-navigation-view"]],"*"],nc=["bs-datepicker-navigation-view","*"];function sc(e,s){1&e&&t.nrm(0,"bs-current-date",4)}function ac(e,s){1&e&&t.nrm(0,"bs-timepicker")}let In=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-calendar-layout"]],standalone:!0,features:[t.aNF],ngContentSelectors:nc,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(a,i){1&a&&(t.NAR(tc),t.DNE(0,sc,1,0,"bs-current-date",0),t.j41(1,"div",1),t.SdG(2),t.k0s(),t.j41(3,"div",2),t.SdG(4,1),t.k0s(),t.DNE(5,ac,1,0,"bs-timepicker",3)),2&a&&(t.Y8G("ngIf",!1),t.R7$(5),t.Y8G("ngIf",!1))},dependencies:[d.bT,ec,ql],encapsulation:2})}return e})();function ic(e,s){if(1&e){const n=t.RV6();t.j41(0,"td",4),t.bIt("click",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.viewYear(i))})("mouseenter",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.hoverYear(i,!0))})("mouseleave",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.hoverYear(i,!1))}),t.j41(1,"span"),t.EFF(2),t.k0s()()}if(2&e){const n=s.$implicit;t.AVh("disabled",n.isDisabled)("is-highlighted",n.isHovered),t.R7$(),t.AVh("selected",n.isSelected),t.R7$(),t.JRh(n.label)}}function oc(e,s){if(1&e&&(t.j41(0,"tr"),t.DNE(1,ic,3,7,"td",3),t.k0s()),2&e){const n=s.$implicit;t.R7$(),t.Y8G("ngForOf",n)}}let Ut=(()=>{class e{constructor(){this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB}navigateTo(n){this.onNavigate.emit({step:{year:(tt.DOWN===n?-1:1)*Gt}})}viewYear(n){this.onSelect.emit(n)}hoverYear(n,a){this.onHover.emit({cell:n,isHovered:a})}changeViewMode(n){this.onViewMode.emit(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},standalone:!0,features:[t.aNF],decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(a,i){1&a&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(l){return i.navigateTo(l)})("onViewMode",function(l){return i.changeViewMode(l)}),t.k0s(),t.j41(2,"table",1)(3,"tbody"),t.DNE(4,oc,2,1,"tr",2),t.k0s()()()),2&a&&(t.R7$(),t.Y8G("calendar",i.calendar),t.R7$(3),t.Y8G("ngForOf",null==i.calendar?null:i.calendar.years))},dependencies:[In,Hn,d.pM],encapsulation:2})}return e})();function rc(e,s){if(1&e){const n=t.RV6();t.j41(0,"td",4),t.bIt("click",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.viewMonth(i))})("mouseenter",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.hoverMonth(i,!0))})("mouseleave",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.hoverMonth(i,!1))}),t.j41(1,"span"),t.EFF(2),t.k0s()()}if(2&e){const n=s.$implicit;t.AVh("disabled",n.isDisabled)("is-highlighted",n.isHovered),t.R7$(),t.AVh("selected",n.isSelected),t.R7$(),t.JRh(n.label)}}function lc(e,s){if(1&e&&(t.j41(0,"tr"),t.DNE(1,rc,3,7,"td",3),t.k0s()),2&e){const n=s.$implicit;t.R7$(),t.Y8G("ngForOf",n)}}let $t=(()=>{class e{constructor(){this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB}navigateTo(n){this.onNavigate.emit({step:{year:tt.DOWN===n?-1:1}})}viewMonth(n){this.onSelect.emit(n)}hoverMonth(n,a){this.onHover.emit({cell:n,isHovered:a})}changeViewMode(n){this.onViewMode.emit(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},standalone:!0,features:[t.aNF],decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(a,i){1&a&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(l){return i.navigateTo(l)})("onViewMode",function(l){return i.changeViewMode(l)}),t.k0s(),t.j41(2,"table",1)(3,"tbody"),t.DNE(4,lc,2,1,"tr",2),t.k0s()()()),2&a&&(t.R7$(),t.Y8G("calendar",i.calendar),t.R7$(3),t.Y8G("ngForOf",null==i.calendar?null:i.calendar.months))},dependencies:[In,Hn,d.pM],encapsulation:2})}return e})();var ca=r(60944);const cc=["bsDatepickerDayDecorator",""];let dc=(()=>{class e{constructor(n,a,i){this._config=n,this._elRef=a,this._renderer=i,this.day={date:new Date,label:""}}ngOnInit(){this.day?.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day?.customClasses&&this.day?.customClasses.split(" ").filter(n=>n).forEach(n=>{this._renderer.addClass(this._elRef.nativeElement,n)})}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(I),t.rXU(t.aKT),t.rXU(t.sFG))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(a,i){2&a&&t.AVh("disabled",i.day.isDisabled)("is-highlighted",i.day.isHovered)("is-other-month",i.day.isOtherMonth)("is-active-other-month",i.day.isOtherMonthHovered)("in-range",i.day.isInRange)("select-start",i.day.isSelectionStart)("select-end",i.day.isSelectionEnd)("selected",i.day.isSelected)},inputs:{day:"day"},standalone:!0,features:[t.aNF],attrs:cc,decls:1,vars:1,template:function(a,i){1&a&&t.EFF(0),2&a&&t.JRh(i.day&&i.day.label||"")},encapsulation:2,changeDetection:0})}return e})();var mc=r(69186);function uc(e,s){1&e&&t.nrm(0,"th")}function _c(e,s){if(1&e&&(t.j41(0,"th",5),t.EFF(1),t.k0s()),2&e){const n=s.index,a=t.XpG();t.R7$(),t.SpI("",a.calendar.weekdays[n]," ")}}function pc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",11),t.bIt("click",function(){t.eBV(n);const i=t.XpG(2).$implicit,o=t.XpG();return t.Njj(o.selectWeek(i))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG(2).index,a=t.XpG();t.R7$(),t.JRh(a.calendar.weekNumbers[n])}}function hc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",12),t.bIt("click",function(){t.eBV(n);const i=t.XpG(2).$implicit,o=t.XpG();return t.Njj(o.selectWeek(i))})("mouseenter",function(){t.eBV(n);const i=t.XpG(2).$implicit,o=t.XpG();return t.Njj(o.weekHoverHandler(i,!0))})("mouseleave",function(){t.eBV(n);const i=t.XpG(2).$implicit,o=t.XpG();return t.Njj(o.weekHoverHandler(i,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG(2).index,a=t.XpG();t.R7$(),t.JRh(a.calendar.weekNumbers[n])}}function fc(e,s){if(1&e&&(t.j41(0,"td",8),t.DNE(1,pc,2,1,"span",9)(2,hc,2,1,"span",10),t.k0s()),2&e){const n=t.XpG(2);t.AVh("active-week",n.isWeekHovered),t.R7$(),t.Y8G("ngIf",n.isiOS),t.R7$(),t.Y8G("ngIf",!n.isiOS)}}function gc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",17),t.bIt("click",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.selectDay(i))})("mouseenter",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.hoverDay(i,!0))})("mouseleave",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.hoverDay(i,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.FS9("tooltip",n.tooltipText),t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 3")}}function Dc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",18),t.bIt("click",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.selectDay(i))})("mouseenter",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.hoverDay(i,!0))})("mouseleave",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.hoverDay(i,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 2")}}function bc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",19),t.bIt("click",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.selectDay(i))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 1")}}function kc(e,s){if(1&e&&(t.j41(0,"td",13),t.DNE(1,gc,2,3,"span",14)(2,Dc,2,2,"span",15)(3,bc,2,2,"span",16),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",!n.isiOS&&n.isShowTooltip),t.R7$(),t.Y8G("ngIf",!n.isiOS&&!n.isShowTooltip),t.R7$(),t.Y8G("ngIf",n.isiOS)}}function vc(e,s){if(1&e&&(t.j41(0,"tr"),t.DNE(1,fc,3,4,"td",6)(2,kc,4,3,"td",7),t.k0s()),2&e){const n=s.$implicit,a=t.XpG();t.R7$(),t.Y8G("ngIf",a.options&&a.options.showWeekNumbers),t.R7$(),t.Y8G("ngForOf",n.days)}}let bt=(()=>{class e{constructor(n){this._config=n,this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB,this.onHoverWeek=new t.bkB,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(n){this.onNavigate.emit({step:{month:tt.DOWN===n?-1:1}})}changeViewMode(n){this.onViewMode.emit(n)}selectDay(n){this.onSelect.emit(n)}selectWeek(n){if(!this._config.selectWeek&&!this._config.selectWeekDateRange||0===n.days.length)return;if(this._config.selectWeek&&n.days[0]&&!n.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(n.days[0]);const a=n.days.find(i=>(this._config.selectFromOtherMonth||!i.isOtherMonth)&&!i.isDisabled);if(this.onSelect.emit(a),this._config.selectWeekDateRange){const o=n.days.slice(0).reverse().find(l=>(this._config.selectFromOtherMonth||!l.isOtherMonth)&&!l.isDisabled);this.onSelect.emit(o)}}weekHoverHandler(n,a){(this._config.selectWeek||this._config.selectWeekDateRange)&&n.days.find(o=>(this._config.selectFromOtherMonth||!o.isOtherMonth)&&!o.isDisabled)&&(n.isHovered=a,this.isWeekHovered=a,this.onHoverWeek.emit(n))}hoverDay(n,a){this._config.selectFromOtherMonth&&n.isOtherMonth&&(n.isOtherMonthHovered=a),this._config.dateTooltipTexts&&(n.tooltipText="",this._config.dateTooltipTexts.forEach(i=>{fe(i.date,n.date)&&(n.tooltipText=i.tooltipText)})),this.onHover.emit({cell:n,isHovered:a})}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(I))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},standalone:!0,features:[t.aNF],decls:9,vars:5,consts:[[3,"onNavigate","onViewMode","calendar","isDisabled"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click",4,"ngIf"],[3,"click","mouseenter","mouseleave",4,"ngIf"],[3,"click"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click",4,"ngIf"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day","tooltip"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day"],["bsDatepickerDayDecorator","",3,"click","day"]],template:function(a,i){1&a&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(l){return i.navigateTo(l)})("onViewMode",function(l){return i.changeViewMode(l)}),t.k0s(),t.j41(2,"table",1)(3,"thead")(4,"tr"),t.DNE(5,uc,1,0,"th",2)(6,_c,2,1,"th",3),t.k0s()(),t.j41(7,"tbody"),t.DNE(8,vc,3,2,"tr",4),t.k0s()()()),2&a&&(t.R7$(),t.Y8G("calendar",i.calendar)("isDisabled",!!i.isDisabled),t.R7$(4),t.Y8G("ngIf",i.options&&i.options.showWeekNumbers),t.R7$(),t.Y8G("ngForOf",i.calendar.weekdays),t.R7$(2),t.Y8G("ngForOf",i.calendar.weeks))},dependencies:[In,Hn,d.bT,d.pM,dc,ca.Ss,mc.d],encapsulation:2})}return e})();var Xt=r(34156);const yc=["startTP"];function Mc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.dayHoverHandler(i))})("onHoverWeek",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.weekHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.daySelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)("isDisabled",a.isDatePickerDisabled)("options",t.bMT(1,5,a.options$))}}function Cc(e,s){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function Tc(e,s){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,Cc,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function wc(e,s){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,Mc,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,Tc,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function Yc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function Lc(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,Yc,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function xc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function Sc(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,xc,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function Ec(e,s){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function Rc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function jc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function Fc(e,s){if(1&e&&(t.j41(0,"div",19),t.DNE(1,Rc,3,7,"div",22)(2,jc,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function Oc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(i){t.eBV(n);const o=t.XpG(2);return t.Njj(o.setRangeOnCalendar(i))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function Vc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,wc,5,4,"ng-container",6)(5,Lc,3,3,"div",7)(6,Sc,3,3,"div",7),t.k0s(),t.DNE(7,Ec,5,0,"div",8)(8,Fc,3,2,"div",8),t.k0s(),t.DNE(9,Oc,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let An=(()=>{class e extends Ks{set value(n){this._effects?.setValue(n)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(n,a,i,o,l,m,_){super(),this._config=a,this._store=i,this._element=o,this._actions=l,this._positionService=_,this.valueChange=new t.bkB,this.animationState="void",this.isRangePicker=!1,this._subs=[],this._effects=m,n.setStyle(o.nativeElement,"display","block"),n.setStyle(o.nativeElement,"position","absolute")}ngOnInit(){let n;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,zs.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(a=>a.selectedDate).subscribe(a=>{n=a,this.valueChange.emit(a)})),this._subs.push(this._store.select(a=>a.selectedTime).subscribe(a=>{!a||!a[0]||!(a[0]instanceof Date)||a[0]===n||this.valueChange.emit(a[0])})),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(n=>{Array.isArray(n)&&n.length>=1&&this.startTimepicker?.writeValue(n[0])})),this.startTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,0)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(n,a){this._store.dispatch(this._actions.selectTime(n,a))}daySelectHandler(n){!n||(this.isOtherMonthsActive?n.isDisabled:n.isOtherMonth||n.isDisabled)||this._store.dispatch(this._actions.select(n.date))}monthSelectHandler(n){!n||n.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:v(n.date),year:E(n.date)},viewMode:"day"}))}yearSelectHandler(n){!n||n.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:E(n.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){for(const n of this._subs)n.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(t.sFG),t.rXU(I),t.rXU(ye),t.rXU(t.aKT),t.rXU(x),t.rXU(ve),t.rXU(ke.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-datepicker-container"]],viewQuery:function(a,i){if(1&a&&t.GBs(yc,5),2&a){let o;t.mGM(o=t.lsd())&&(i.startTimepicker=o.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(a,i){1&a&&t.bIt("click",function(l){return i._stopPropagation(l)}),2&a&&t.BMQ("disabled",i.isDatepickerDisabled)("readonly",i.isDatepickerReadonly)},standalone:!0,features:[t.Jv_([ye,ve,x,ke.DF]),t.Vt3,t.aNF],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(a,i){1&a&&(t.DNE(0,Vc,10,11,"div",2),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,i.viewMode))},dependencies:[d.bT,d.YU,d.ux,d.e1,d.pM,bt,ft.gS,Xt.n,$t,Ut,Nt,d.Jj],encapsulation:2,data:{animation:[Vt]}})}return e})();var Me=r(36941),kt=r(21413),da=r(56977);let st,g=(()=>{class e{get readonlyValue(){return this.isDisabled?"":null}constructor(n,a,i,o,l){this._config=n,this._elementRef=a,this._renderer=i,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new kt.B,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],this._dateInputFormat$=new kt.B,Object.assign(this,this._config),this._datepicker=l.createLoader(a,o,i),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new Bt.t(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(n){this.isOpen$.next(n)}set bsValue(n){this._bsValue&&n&&this._bsValue.getTime()===n.getTime()||(!this._bsValue&&n&&!this._config.withTimepicker&&Wt(n,new Date),n&&this.bsConfig?.initCurrentTime&&(n=It(n)),this.initPreviousValue(),this._bsValue=n,this.bsValueChange.emit(n))}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig(),this.initPreviousValue()}initPreviousValue(){st=this._bsValue}ngOnChanges(n){n.bsConfig&&(n.bsConfig.currentValue?.initCurrentTime&&n.bsConfig.currentValue?.initCurrentTime!==n.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=It(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._dateInputFormat$.next(this.bsConfig&&this.bsConfig.dateInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),n.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(n=>{this.initPreviousValue(),this.bsValue=n,!this.keepDatepickerModalOpened()&&this.hide()}))}keepDatepickerModalOpened(){return!!(st&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return st instanceof Date&&this._bsValue?.getDate()===st?.getDate()&&this._bsValue?.getMonth()===st?.getMonth()&&this._bsValue?.getFullYear()===st?.getFullYear()}ngAfterViewInit(){this.isOpen$.pipe((0,H.p)(n=>n!==this.isOpen),(0,da.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:I,useValue:this._config}).attach(An).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}hide(){this.isOpen&&this._datepicker.hide();for(const n of this._subs)n.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._config.keepDatesOutOfRules?this._bsValue:Ht(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(I),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(Me.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["","bsDatepicker",""]],hostVars:1,hostBindings:function(a,i){2&a&&t.BMQ("readonly",i.readonlyValue)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDatepicker"],standalone:!0,features:[t.Jv_([Me.Li]),t.OA$]})}return e})(),Pc=(()=>{class e extends I{static#e=this.\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(e)))(i||e)}})();static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.dayHoverHandler(i))})("onHoverWeek",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.weekHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.daySelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)("isDisabled",a.isDatePickerDisabled)("options",t.bMT(1,5,a.options$))}}function Hc(e,s){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function Ic(e,s){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,Hc,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function Ac(e,s){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,Bc,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,Ic,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function Gc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function Wc(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,Gc,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function Nc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function Uc(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,Nc,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function $c(e,s){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function Xc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function zc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function Jc(e,s){if(1&e&&(t.j41(0,"div",19),t.DNE(1,Xc,3,7,"div",22)(2,zc,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function Kc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(i){t.eBV(n);const o=t.XpG(2);return t.Njj(o.setRangeOnCalendar(i))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function Qc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,Ac,5,4,"ng-container",6)(5,Wc,3,3,"div",7)(6,Uc,3,3,"div",7),t.k0s(),t.DNE(7,$c,5,0,"div",8)(8,Jc,3,2,"div",8),t.k0s(),t.DNE(9,Kc,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let ma=(()=>{class e extends An{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(n,a,i,o,l,m,_){super(n,a,i,o,l,m,_),n.setStyle(o.nativeElement,"display","inline-block"),n.setStyle(o.nativeElement,"position","static")}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(t.sFG),t.rXU(I),t.rXU(ye),t.rXU(t.aKT),t.rXU(x),t.rXU(ve),t.rXU(ke.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-datepicker-inline-container"]],hostVars:2,hostBindings:function(a,i){1&a&&t.bIt("click",function(l){return i._stopPropagation(l)}),2&a&&t.BMQ("disabled",i.disabledValue)("readonly",i.readonlyValue)},standalone:!0,features:[t.Jv_([ye,ve,ke.DF]),t.Vt3,t.aNF],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(a,i){1&a&&(t.DNE(0,Qc,10,11,"div",2),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,i.viewMode))},dependencies:[d.bT,d.YU,d.ux,d.e1,d.pM,bt,ft.gS,Xt.n,$t,Ut,Nt,d.Jj],encapsulation:2,data:{animation:[Vt]}})}return e})(),Zc=(()=>{class e{constructor(n,a,i,o,l){this._config=n,this._elementRef=a,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],Object.assign(this,this._config),this._datepicker=l.createLoader(a,o,i)}set bsValue(n){this._bsValue!==n&&(!this._bsValue&&n&&!this._config.withTimepicker&&Wt(n,new Date),n&&this.bsConfig?.initCurrentTime&&(n=It(n)),this._bsValue=n,this.bsValueChange.emit(n))}ngOnInit(){this.setConfig(),this.initSubscribes()}initSubscribes(){this.unsubscribeSubscriptions(),this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(n=>{this.bsValue=n}))}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnChanges(n){n.bsConfig&&n.bsConfig.currentValue?.initCurrentTime&&n.bsConfig.currentValue?.initCurrentTime!==n.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this._bsValue=It(this._bsValue),this.bsValueChange.emit(this._bsValue)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled,this._datepickerRef.instance.value=this._bsValue),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),n.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts),this.setConfig())}setConfig(){this._datepicker&&this._datepicker.hide(),this._config=Object.assign({},this._config,this.bsConfig,{value:Ht(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,initCurrentTime:this.bsConfig?.initCurrentTime}),this._datepickerRef=this._datepicker.provide({provide:I,useValue:this._config}).attach(ma).to(this._elementRef).show(),this.initSubscribes()}ngOnDestroy(){this._datepicker.dispose(),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(Pc),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(Me.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["bs-datepicker-inline"]],inputs:{bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",datesEnabled:"datesEnabled",datesDisabled:"datesDisabled",bsValue:"bsValue"},outputs:{bsValueChange:"bsValueChange"},exportAs:["bsDatepickerInline"],standalone:!0,features:[t.Jv_([Me.Li]),t.OA$]})}return e})(),qc=(()=>{class e extends I{constructor(){super(...arguments),this.displayMonths=2,this.isAnimated=!1}static#e=this.\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(e)))(i||e)}})();static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ed=["startTP"],td=["endTP"];function nd(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.dayHoverHandler(i))})("onHoverWeek",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.weekHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.daySelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)("isDisabled",a.isDatePickerDisabled)("options",t.bMT(1,5,a.options$))}}function sd(e,s){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function ad(e,s){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,sd,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function id(e,s){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,nd,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,ad,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function od(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function rd(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,od,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function ld(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function cd(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,ld,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function dd(e,s){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function md(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function ud(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function _d(e,s){if(1&e&&(t.j41(0,"div",19),t.DNE(1,md,3,7,"div",22)(2,ud,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function pd(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(i){t.eBV(n);const o=t.XpG(2);return t.Njj(o.setRangeOnCalendar(i))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function hd(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,id,5,4,"ng-container",6)(5,rd,3,3,"div",7)(6,cd,3,3,"div",7),t.k0s(),t.DNE(7,dd,5,0,"div",8)(8,_d,3,2,"div",8),t.k0s(),t.DNE(9,pd,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let Gn=(()=>{class e extends Ks{set value(n){this._effects?.setRangeValue(n)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(n,a,i,o,l,m,_){super(),this._config=a,this._store=i,this._element=o,this._actions=l,this._positionService=_,this.valueChange=new t.bkB,this.animationState="void",this._rangeStack=[],this.chosenRange=[],this._subs=[],this.isRangePicker=!0,this._effects=m,this.customRanges=this._config.ranges||[],this.customRangeBtnLbl=this._config.customRangeButtonLabel,n.setStyle(o.nativeElement,"display","block"),n.setStyle(o.nativeElement,"position","absolute")}ngOnInit(){let n;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,zs.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(a=>a.selectedRange).subscribe(a=>{n=a,this.valueChange.emit(a),this.chosenRange=a||[]})),this._subs.push(this._store.select(a=>a.selectedTime).subscribe(a=>{!a||!a[0]||!a[1]||!(a[0]instanceof Date)||!(a[1]instanceof Date)||n&&a[0]===n[0]&&a[1]===n[1]||(this.valueChange.emit(a),this.chosenRange=a||[])}))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(n=>{Array.isArray(n)&&n.length>=2&&(this.startTimepicker?.writeValue(n[0]),this.endTimepicker?.writeValue(n[1]))})),this.startTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,0)}),this.endTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,1)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(n,a){this._store.dispatch(this._actions.selectTime(n,a))}daySelectHandler(n){!n||(this.isOtherMonthsActive?n.isDisabled:n.isOtherMonth||n.isDisabled)||this.rangesProcessing(n)}monthSelectHandler(n){if(n&&!n.isDisabled){if(n.isSelected=!0,"month"!==this._config.minMode){if(n.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{month:v(n.date),year:E(n.date)},viewMode:"day"}))}this.rangesProcessing(n)}}yearSelectHandler(n){if(n&&!n.isDisabled){if(n.isSelected=!0,"year"!==this._config.minMode){if(n.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{year:E(n.date)},viewMode:"month"}))}this.rangesProcessing(n)}}rangesProcessing(n){1===this._rangeStack.length&&(this._rangeStack=n.date>=this._rangeStack[0]?[this._rangeStack[0],n.date]:[n.date]),this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(n.date),0===this._rangeStack.length&&(this._rangeStack=[n.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(n.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])}ngOnDestroy(){for(const n of this._subs)n.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}setRangeOnCalendar(n){n&&(this._rangeStack=n.value instanceof Date?[n.value]:n.value),this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(n){let a=new Date(n);if(this._config.maxDate){const i=this._config.maxDate.getTime(),o=n.getTime()+864e5*(this._config.maxDateRange||0);a=o>i?new Date(this._config.maxDate):new Date(o)}else a.setDate(n.getDate()+(this._config.maxDateRange||0));this._effects?.setMaxDate(a)}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(t.sFG),t.rXU(I),t.rXU(ye),t.rXU(t.aKT),t.rXU(x),t.rXU(ve),t.rXU(ke.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-daterangepicker-container"]],viewQuery:function(a,i){if(1&a&&(t.GBs(ed,5),t.GBs(td,5)),2&a){let o;t.mGM(o=t.lsd())&&(i.startTimepicker=o.first),t.mGM(o=t.lsd())&&(i.endTimepicker=o.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(a,i){1&a&&t.bIt("click",function(l){return i._stopPropagation(l)}),2&a&&t.BMQ("disabled",i.isDatepickerDisabled)("readonly",i.isDatepickerReadonly)},standalone:!0,features:[t.Jv_([ye,ve,x,ke.DF]),t.Vt3,t.aNF],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(a,i){1&a&&(t.DNE(0,hd,10,11,"div",2),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,i.viewMode))},dependencies:[d.bT,d.YU,d.ux,d.e1,d.pM,bt,ft.gS,Xt.n,$t,Ut,Nt,d.Jj],encapsulation:2,data:{animation:[Vt]}})}return e})();function fd(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.dayHoverHandler(i))})("onHoverWeek",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.weekHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.daySelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)("isDisabled",a.isDatePickerDisabled)("options",t.bMT(1,5,a.options$))}}function gd(e,s){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function Dd(e,s){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,gd,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function bd(e,s){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,fd,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,Dd,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function kd(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function vd(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,kd,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function yd(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function Md(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,yd,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function Cd(e,s){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function Td(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function wd(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function Yd(e,s){if(1&e&&(t.j41(0,"div",19),t.DNE(1,Td,3,7,"div",22)(2,wd,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function Ld(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(i){t.eBV(n);const o=t.XpG(2);return t.Njj(o.setRangeOnCalendar(i))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function xd(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,bd,5,4,"ng-container",6)(5,vd,3,3,"div",7)(6,Md,3,3,"div",7),t.k0s(),t.DNE(7,Cd,5,0,"div",8)(8,Yd,3,2,"div",8),t.k0s(),t.DNE(9,Ld,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let ua=(()=>{class e extends Gn{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(n,a,i,o,l,m,_){super(n,a,i,o,l,m,_),n.setStyle(o.nativeElement,"display","inline-block"),n.setStyle(o.nativeElement,"position","static")}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(t.sFG),t.rXU(I),t.rXU(ye),t.rXU(t.aKT),t.rXU(x),t.rXU(ve),t.rXU(ke.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-daterangepicker-inline-container"]],hostVars:2,hostBindings:function(a,i){1&a&&t.bIt("click",function(l){return i._stopPropagation(l)}),2&a&&t.BMQ("disabled",i.disabledValue)("readonly",i.readonlyValue)},standalone:!0,features:[t.Jv_([ye,ve,x,ke.DF]),t.Vt3,t.aNF],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(a,i){1&a&&(t.DNE(0,xd,10,11,"div",2),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,i.viewMode))},dependencies:[d.bT,d.YU,d.ux,d.e1,d.pM,bt,ft.gS,Xt.n,$t,Ut,Nt,d.Jj],encapsulation:2,data:{animation:[Vt]}})}return e})(),Sd=(()=>{class e{set bsValue(n){this._bsValue!==n&&(n&&this.bsConfig?.initCurrentTime&&(n=At(n)),this._bsValue=n,this.bsValueChange.emit(n))}constructor(n,a,i,o,l){this._config=n,this._elementRef=a,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],Object.assign(this,this._config),this._datepicker=l.createLoader(a,o,i)}ngOnInit(){this.setConfig(),this.initSubscribes()}ngOnChanges(n){n.bsConfig&&n.bsConfig.currentValue.initCurrentTime&&n.bsConfig.currentValue.initCurrentTime!==n.bsConfig.previousValue.initCurrentTime&&this._bsValue&&(this._bsValue=At(this._bsValue),this.bsValueChange.emit(this._bsValue)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled,this._datepickerRef.instance.value=this._bsValue),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),this.setConfig())}setConfig(){this._datepicker&&this._datepicker.hide(),this._config=Object.assign({},this._config,this.bsConfig,{value:Ht(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:ea(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:this.bsConfig?.initCurrentTime}),this._datepickerRef=this._datepicker.provide({provide:I,useValue:this._config}).attach(ua).to(this._elementRef).show(),this.initSubscribes()}initSubscribes(){this.unsubscribeSubscriptions(),this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe((0,H.p)(n=>n&&n[0]&&!!n[1])).subscribe(n=>{this.bsValue=n}))}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(qc),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(Me.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["bs-daterangepicker-inline"]],inputs:{bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{bsValueChange:"bsValueChange"},exportAs:["bsDaterangepickerInline"],standalone:!0,features:[t.Jv_([Me.Li]),t.OA$]})}return e})();var _a=r(23294);const Ed={provide:h.kq,useExisting:(0,t.Rfq)(()=>D),multi:!0},Rd={provide:h.cz,useExisting:(0,t.Rfq)(()=>D),multi:!0};let Ce,D=(()=>{class e{constructor(n,a,i,o,l){this._picker=n,this._localeService=a,this._renderer=i,this._elRef=o,this.changeDetection=l,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new Pt.yU}onChange(n){this.writeValue(n.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}ngOnInit(){const n=a=>{this._setInputValue(a),this._value!==a&&(this._value=a,this._onChange(a),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&n(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(n)),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.dateInputFormat$.pipe((0,_a.F)()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}_setInputValue(n){const a=n?N(n,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",a)}validate(n){const a=n.value;if(null==a||""===a)return null;if(vt(a)){if(!he(a))return{bsDate:{invalid:a}};if(this._picker&&this._picker.minDate&&oe(a,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&te(a,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),{bsDate:{maxDate:this._picker.maxDate}}}return null}registerOnValidatorChange(n){this._validatorChange=n}writeValue(n){if(n){const a=this._localeService.currentLocale;if(!B(a))throw new Error(`Locale "${a}" is not defined, please add it with "defineLocale(...)"`);if(this._value=ut(n,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc){const o=Ms(this._value);this._value=null===o?void 0:o}}else this._value=void 0;this._picker.bsValue=this._value,this._onChange(this._value)}setDisabledState(n){this._picker.isDisabled=n,n?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(g,1),t.rXU(nt),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(t.gRc))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["input","bsDatepicker",""]],hostBindings:function(a,i){1&a&&t.bIt("change",function(l){return i.onChange(l)})("blur",function(){return i.onBlur()})("keyup.esc",function(){return i.hide()})("keydown.enter",function(){return i.hide()})},standalone:!0,features:[t.Jv_([nt,Ed,Rd])]})}return e})(),jd=(()=>{class e extends I{constructor(){super(...arguments),this.displayMonths=2}static#e=this.\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(e)))(i||e)}})();static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),T=(()=>{class e{get isOpen(){return this._datepicker.isShown}set isOpen(n){this.isOpen$.next(n)}set bsValue(n){this._bsValue!==n&&(n&&this.bsConfig?.initCurrentTime&&(n=At(n)),this.initPreviousValue(),this._bsValue=n,this.bsValueChange.emit(n))}get isDatepickerReadonly(){return this.isDisabled?"":null}get rangeInputFormat$(){return this._rangeInputFormat$}constructor(n,a,i,o,l){this._config=n,this._elementRef=a,this._renderer=i,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new kt.B,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],this._rangeInputFormat$=new kt.B,this._datepicker=l.createLoader(a,o,i),Object.assign(this,n),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new Bt.t(this.isOpen)}ngOnInit(){this.isDestroy$=new kt.B,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.initPreviousValue(),this.setConfig()}ngOnChanges(n){n.bsConfig&&(n.bsConfig.currentValue?.initCurrentTime&&n.bsConfig.currentValue?.initCurrentTime!==n.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=At(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._rangeInputFormat$.next(n.bsConfig.currentValue&&n.bsConfig.currentValue.rangeInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),n.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe((0,H.p)(n=>n!==this.isOpen),(0,da.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:I,useValue:this._config}).attach(Gn).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe((0,H.p)(n=>n&&n[0]&&!!n[1])).subscribe(n=>{this.initPreviousValue(),this.bsValue=n,!this.keepDatepickerModalOpened()&&this.hide()}))}initPreviousValue(){Ce=this._bsValue}keepDatepickerModalOpened(){return!!(Ce&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return this._bsValue?.[0]?.getDate()===Ce?.[0]?.getDate()&&this._bsValue?.[0]?.getMonth()===Ce?.[0]?.getMonth()&&this._bsValue?.[0]?.getFullYear()===Ce?.[0]?.getFullYear()&&this._bsValue?.[1]?.getDate()===Ce?.[1]?.getDate()&&this._bsValue?.[1]?.getMonth()===Ce?.[1]?.getMonth()&&this._bsValue?.[1]?.getFullYear()===Ce?.[1]?.getFullYear()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this.bsConfig?.keepDatesOutOfRules?this._bsValue:Ht(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:ea(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}hide(){this.isOpen&&this._datepicker.hide();for(const n of this._subs)n.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(jd),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(Me.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["","bsDaterangepicker",""]],hostVars:1,hostBindings:function(a,i){2&a&&t.BMQ("readonly",i.isDatepickerReadonly)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDaterangepicker"],standalone:!0,features:[t.Jv_([Me.Li]),t.OA$]})}return e})();const Fd={provide:h.kq,useExisting:(0,t.Rfq)(()=>C),multi:!0},Od={provide:h.cz,useExisting:(0,t.Rfq)(()=>C),multi:!0};let C=(()=>{class e{constructor(n,a,i,o,l){this._picker=n,this._localeService=a,this._renderer=i,this._elRef=o,this.changeDetection=l,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new Pt.yU}ngOnInit(){this._picker._bsValue&&(a=>{this._setInputValue(a),this._value!==a&&(this._value=a,this._onChange(a),this._onTouched()),this.changeDetection.markForCheck()})(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(a=>{this._setInputValue(a),this._value!==a&&(this._value=a,this._onChange(a),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.rangeInputFormat$.pipe((0,_a.F)()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(n){(13===n.keyCode||"Enter"===n.code)&&this.hide()}_setInputValue(n){let a="";if(n){const i=n[0]?N(n[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",o=n[1]?N(n[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";a=i&&o?i+this._picker._config.rangeSeparator+o:""}this._renderer.setProperty(this._elRef.nativeElement,"value",a)}onChange(n){this.writeValue(n.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(n){let a=n.value;const i=[];if(null==a||!L(a))return null;a=a.slice().sort((m,_)=>m.getTime()-_.getTime());const o=he(a[0]),l=he(a[1]);return o?l?(this._picker&&this._picker.minDate&&oe(a[0],this._picker.minDate,"date")&&(a[0]=this._picker.minDate,i.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&te(a[1],this._picker.maxDate,"date")&&(a[1]=this._picker.maxDate,i.push({bsDate:{maxDate:this._picker.maxDate}})),i.length>0?(this.writeValue(a),i):null):{bsDate:{invalid:a[1]}}:{bsDate:{invalid:a[0]}}}registerOnValidatorChange(n){this._validatorChange=n}writeValue(n){if(n){const a=this._localeService.currentLocale;if(!B(a))throw new Error(`Locale "${a}" is not defined, please add it with "defineLocale(...)"`);let o=[];if("string"==typeof n){const l=this._picker._config.rangeSeparator.trim();o=n.replace(/[^-]/g,"").length>1?n.split(this._picker._config.rangeSeparator):n.split(l.length>0?l:this._picker._config.rangeSeparator).map(m=>m.trim())}Array.isArray(n)&&(o=n),this._value=o.map(l=>this._picker._config.useUtc?Ms(ut(l,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):ut(l,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(l=>isNaN(l.valueOf())?void 0:l)}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(n){this._picker.isDisabled=n,n?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(T,1),t.rXU(nt),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(t.gRc))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(a,i){1&a&&t.bIt("change",function(l){return i.onChange(l)})("keyup.esc",function(){return i.hide()})("keydown",function(l){return i.onKeydownEvent(l)})("blur",function(){return i.onBlur()})},standalone:!0,features:[t.Jv_([nt,Fd,Od])]})}return e})(),Vd=(()=>{class e{static forRoot(){return{ngModule:e,providers:[]}}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[d.MD,ca.Ss,ft.gS,bt,An,ma,Gn,ua]})}return e})();var Pd=r(59169),Te=r(37472);let pa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-basic"]],decls:5,vars:0,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()())},dependencies:[g,D,T,C],encapsulation:2})}return e})(),ha=(()=>{class e{constructor(){this.isOpen=!1}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-trigger-by-isopen"]],decls:6,vars:1,consts:[[1,"row"],[1,"col-xs-8","col-8","col-md-5","col-lg-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"isOpen"],[1,"col-xs-4","col-4","col-md-4","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",3)(4,"button",4),t.bIt("click",function(){return i.isOpen=!i.isOpen}),t.EFF(5,"Toggle"),t.k0s()()()),2&a&&(t.R7$(2),t.Y8G("isOpen",i.isOpen))},dependencies:[g,D],encapsulation:2})}return e})();function Bd(e,s){if(1&e&&(t.j41(0,"option",11),t.EFF(1),t.k0s()),2&e){const n=s.$implicit;t.Y8G("value",n),t.R7$(),t.JRh(n)}}function Hd(e,s){if(1&e&&(t.j41(0,"option",11),t.EFF(1),t.k0s()),2&e){const n=s.$implicit;t.Y8G("value",n),t.R7$(),t.JRh(n)}}let fa=(()=>{class e{constructor(n){this.localeService=n,this.locale="en",this.locales=function bo(){return Object.keys(F)}()}applyLocale(n){this.localeService.use(this.locale),n.hide(),n.show()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(nt))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-change-locale"]],decls:21,vars:6,consts:[["dp","bsDatepicker"],["dpr","bsDaterangepicker"],[1,"row"],[1,"col-xs-12","col-12","col-sm-3","col-md-3","col-lg-2","form-group","mb-3"],[1,"custom-select","form-control","from-select",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"col-xs-12","col-12","col-sm-5","col-md-6","col-lg-4","form-group","mb-3"],["placeholder","Datepicker","type","text","bsDatepicker","",1,"form-control"],[1,"col-xs-12","col-12","col-sm-4","col-md-12","col-lg-4","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"],["placeholder","Daterangepicker","type","text","bsDaterangepicker","",1,"form-control"],[3,"value"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",2)(1,"div",3)(2,"select",4),t.mxI("ngModelChange",function(m){return t.eBV(o),t.DH7(i.locale,m)||(i.locale=m),t.Njj(m)}),t.bIt("ngModelChange",function(){t.eBV(o);const m=t.sdS(6);return t.Njj(i.applyLocale(m))}),t.DNE(3,Bd,2,2,"option",5),t.k0s()(),t.j41(4,"div",6),t.nrm(5,"input",7,0),t.k0s(),t.j41(7,"div",8)(8,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(6);return t.Njj(m.show())}),t.EFF(9,"Date Picker"),t.k0s()()(),t.nrm(10,"br"),t.j41(11,"div",2)(12,"div",3)(13,"select",4),t.mxI("ngModelChange",function(m){return t.eBV(o),t.DH7(i.locale,m)||(i.locale=m),t.Njj(m)}),t.bIt("ngModelChange",function(){t.eBV(o);const m=t.sdS(17);return t.Njj(i.applyLocale(m))}),t.DNE(14,Hd,2,2,"option",5),t.k0s()(),t.j41(15,"div",6),t.nrm(16,"input",10,1),t.k0s(),t.j41(18,"div",8)(19,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(17);return t.Njj(m.show())}),t.EFF(20,"Date Range Picker"),t.k0s()()()}if(2&a){const o=t.sdS(6),l=t.sdS(17);t.R7$(2),t.R50("ngModel",i.locale),t.R7$(),t.Y8G("ngForOf",i.locales),t.R7$(5),t.BMQ("aria-expanded",o.isOpen),t.R7$(5),t.R50("ngModel",i.locale),t.R7$(),t.Y8G("ngForOf",i.locales),t.R7$(5),t.BMQ("aria-expanded",l.isOpen)}},dependencies:[g,D,T,C,d.Sq,h.xH,h.y7,h.wz,h.BC,h.vS],encapsulation:2})}return e})(),ga=(()=>{class e{constructor(){this.colorTheme="theme-green"}applyTheme(n){this.bsConfig=Object.assign({},{containerClass:this.colorTheme}),setTimeout(()=>{n.show()})}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-color-theming"]],decls:24,vars:3,consts:[["dp","bsDatepicker"],[1,"row"],[1,"col-xs-12","col-12","col-md-4","col-lg-4","form-group","mb-3"],[1,"custom-select","form-control","from-select",3,"ngModelChange","ngModel"],["value","theme-default"],["value","theme-green"],["value","theme-blue"],["value","theme-dark-blue"],["value","theme-red"],["value","theme-orange"],[1,"col-xs-12","col-12","col-md-5","col-lg-5","form-group","mb-3"],[1,"form-group","mb-3"],[1,"input-group"],["type","text","bsDatepicker","",1,"form-control",3,"bsConfig"],[1,"input-group-btn"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"select",3),t.mxI("ngModelChange",function(m){return t.eBV(o),t.DH7(i.colorTheme,m)||(i.colorTheme=m),t.Njj(m)}),t.bIt("ngModelChange",function(){t.eBV(o);const m=t.sdS(19);return t.Njj(i.applyTheme(m))}),t.j41(3,"option",4),t.EFF(4,"default"),t.k0s(),t.j41(5,"option",5),t.EFF(6,"green"),t.k0s(),t.j41(7,"option",6),t.EFF(8,"blue"),t.k0s(),t.j41(9,"option",7),t.EFF(10,"dark-blue"),t.k0s(),t.j41(11,"option",8),t.EFF(12,"red"),t.k0s(),t.j41(13,"option",9),t.EFF(14,"orange"),t.k0s()()(),t.j41(15,"div",10)(16,"div",11)(17,"div",12),t.nrm(18,"input",13,0),t.j41(20,"div",14)(21,"button",15),t.bIt("click",function(){t.eBV(o);const m=t.sdS(19);return t.Njj(m.show())}),t.EFF(22," Open "),t.k0s()()()()()(),t.nrm(23,"br")}if(2&a){const o=t.sdS(19);t.R7$(2),t.R50("ngModel",i.colorTheme),t.R7$(16),t.Y8G("bsConfig",i.bsConfig),t.R7$(3),t.BMQ("aria-expanded",o.isOpen)}},dependencies:[g,D,h.xH,h.y7,h.wz,h.BC,h.vS],encapsulation:2})}return e})();const Id=["dp"];let Da=(()=>{class e{constructor(){this.minDate=new Date(2018,5,13)}setOptions(){this.bsConfig=Object.assign({},{minDate:this.minDate}),this.datepicker?.setConfig(),setTimeout(()=>{this.datepicker?.toggle()})}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-config-method"]],viewQuery:function(a,i){if(1&a&&t.GBs(Id,5),2&a){let o;t.mGM(o=t.lsd())&&(i.datepicker=o.first)}},decls:7,vars:1,consts:[["dp","bsDatepicker"],[1,"row"],[1,"col-xs-12","col-12","col-sm-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],[1,"col-xs-12","col-12","col-sm-8","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",1)(1,"div",2),t.nrm(2,"input",3,0),t.k0s(),t.j41(4,"div",4)(5,"button",5),t.bIt("click",function(){return t.eBV(o),t.Njj(i.setOptions())}),t.EFF(6,"Set min date"),t.k0s()()()}2&a&&(t.R7$(2),t.Y8G("bsConfig",i.bsConfig))},dependencies:[g,D],encapsulation:2})}return e})();const Ad=()=>({dateInputFormat:"DD-MM-YYYY",containerClass:"theme-red"});let ba=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-config-object"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,Ad)))},dependencies:[g,D],encapsulation:2})}return e})();const Gd=()=>({dateInputFormat:"YYYY-MM-DD"}),Wd=()=>({dateInputFormat:"MM/DD/YYYY"}),Nd=()=>({dateInputFormat:"MMMM Do YYYY, h:mm:ss a"}),Ud=()=>({rangeInputFormat:"MMMM Do YYYY, h:mm:ss a",dateInputFormat:"MMMM Do YYYY, h:mm:ss a",showWeekNumbers:!1});let ka=(()=>{class e{constructor(){this.currentDate=new Date,this.form=new h.J3({dateYMD:new h.hs(new Date),dateFull:new h.hs(new Date),dateMDY:new h.hs(new Date),dateRange:new h.hs([new Date,new Date(this.currentDate.setDate(this.currentDate.getDate()+7))])})}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-date-picker-custom-format"]],decls:31,vars:13,consts:[["datepickerYMD","bsDatepicker"],["datepickerMDY","bsDatepicker"],["datepickerFull","bsDatepicker"],["daterangepicker","bsDaterangepicker"],[3,"formGroup"],[1,"row"],[1,"col-xs-12","col-md-5","col-lg-4","form-group","mb-3"],["bsDatepicker","","formControlName","dateYMD",1,"form-control",3,"bsConfig"],[1,"col-xs-12","col-12","col-md-3","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"],["bsDatepicker","","formControlName","dateMDY",1,"form-control",3,"bsConfig"],["bsDatepicker","","formControlName","dateFull",1,"form-control",3,"bsConfig"],["type","text","formControlName","dateRange","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"form",4)(1,"div",5)(2,"div",6),t.nrm(3,"input",7,0),t.k0s(),t.j41(5,"div",8)(6,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(4);return t.Njj(m.toggle())}),t.EFF(7,"Date Picker"),t.k0s()()(),t.nrm(8,"br"),t.j41(9,"div",5)(10,"div",6),t.nrm(11,"input",10,1),t.k0s(),t.j41(13,"div",8)(14,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(12);return t.Njj(m.toggle())}),t.EFF(15,"Date Picker"),t.k0s()()(),t.nrm(16,"br"),t.j41(17,"div",5)(18,"div",6),t.nrm(19,"input",11,2),t.k0s(),t.j41(21,"div",8)(22,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(20);return t.Njj(m.toggle())}),t.EFF(23,"Date Picker"),t.k0s()()(),t.j41(24,"div",5)(25,"div",6),t.nrm(26,"input",12,3),t.k0s(),t.j41(28,"div",8)(29,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(27);return t.Njj(m.toggle())}),t.EFF(30,"Date Range Picker"),t.k0s()()()()}if(2&a){const o=t.sdS(4),l=t.sdS(12),m=t.sdS(20),_=t.sdS(27);t.Y8G("formGroup",i.form),t.R7$(3),t.Y8G("bsConfig",t.lJ4(9,Gd)),t.R7$(3),t.BMQ("aria-expanded",o.isOpen),t.R7$(5),t.Y8G("bsConfig",t.lJ4(10,Wd)),t.R7$(3),t.BMQ("aria-expanded",l.isOpen),t.R7$(5),t.Y8G("bsConfig",t.lJ4(11,Nd)),t.R7$(3),t.BMQ("aria-expanded",m.isOpen),t.R7$(4),t.Y8G("bsConfig",t.lJ4(12,Ud)),t.R7$(3),t.BMQ("aria-expanded",_.isOpen)}},dependencies:[g,D,T,C,h.qT,h.me,h.BC,h.cb,h.j4,h.JD],encapsulation:2})}return e})(),va=(()=>{class e{constructor(){this.bsValue=new Date,this.maxDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+7),this.bsRangeValue=[this.bsValue,this.maxDate]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-date-initial-state"]],decls:22,vars:4,consts:[["dp","bsDatepicker"],["drp","bsDaterangepicker"],[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","bsDatepicker","",1,"form-control",3,"bsValue"],[1,"col-xs-12","col-12","col-md-3","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"],["bsDaterangepicker","",1,"form-control",3,"ngModelChange","ngModel"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"p")(1,"code"),t.EFF(2,"bsValue"),t.k0s(),t.EFF(3," property sets initial state in this example"),t.k0s(),t.j41(4,"div",2)(5,"div",3),t.nrm(6,"input",4,0),t.k0s(),t.j41(8,"div",5)(9,"button",6),t.bIt("click",function(){t.eBV(o);const m=t.sdS(7);return t.Njj(m.toggle())}),t.EFF(10,"Date Picker"),t.k0s()()(),t.j41(11,"p")(12,"code"),t.EFF(13,"ngModel"),t.k0s(),t.EFF(14," property sets two-way data binding in this example"),t.k0s(),t.j41(15,"div",2)(16,"div",3)(17,"input",7,1),t.mxI("ngModelChange",function(m){return t.eBV(o),t.DH7(i.bsRangeValue,m)||(i.bsRangeValue=m),t.Njj(m)}),t.k0s()(),t.j41(19,"div",5)(20,"button",6),t.bIt("click",function(){t.eBV(o);const m=t.sdS(18);return t.Njj(m.toggle())}),t.EFF(21,"Date Range Picker"),t.k0s()()()}if(2&a){const o=t.sdS(7),l=t.sdS(18);t.R7$(6),t.Y8G("bsValue",i.bsValue),t.R7$(3),t.BMQ("aria-expanded",o.isOpen),t.R7$(8),t.R50("ngModel",i.bsRangeValue),t.R7$(3),t.BMQ("aria-expanded",l.isOpen)}},dependencies:[g,D,T,C,h.me,h.BC,h.vS],encapsulation:2})}return e})(),ya=(()=>{class e{constructor(){this.disabledDates=[new Date("2020-02-05"),new Date("2020-02-09")]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-datesdisabled"]],decls:5,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"datesDisabled"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"datesDisabled"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("datesDisabled",i.disabledDates),t.R7$(2),t.Y8G("datesDisabled",i.disabledDates))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),Ma=(()=>{class e{constructor(){this.enabledDates=[new Date("2020-02-06"),new Date("2020-02-08"),new Date("2020-02-11")]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-datesenabled"]],decls:5,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"datesEnabled"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"datesEnabled"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("datesEnabled",i.enabledDates),t.R7$(2),t.Y8G("datesEnabled",i.enabledDates))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const Ca=()=>[6,0];let Ta=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-daysdisabled"]],decls:18,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-5","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"daysDisabled"],["placeholder","Datepicker","bsDatepicker","",1,"form-control"],["placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"daysDisabled"],["placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"Saturday and Sunday are not selectable"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"Saturday and Sunday are selectable"),t.k0s(),t.nrm(8,"input",3),t.k0s()(),t.j41(9,"div",0)(10,"div",1)(11,"p"),t.EFF(12,"Saturday and Sunday are not selectable"),t.k0s(),t.nrm(13,"input",4),t.k0s(),t.j41(14,"div",1)(15,"p"),t.EFF(16,"Saturday and Sunday are selectable"),t.k0s(),t.nrm(17,"input",5),t.k0s()()),2&a&&(t.R7$(4),t.Y8G("daysDisabled",t.lJ4(2,Ca)),t.R7$(9),t.Y8G("daysDisabled",t.lJ4(3,Ca)))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),wa=(()=>{class e{constructor(){this.isDisabled=!1}toggleDisabling(){this.isDisabled=!this.isDisabled}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-disabled"]],decls:10,vars:2,consts:[["dp","bsDatepicker"],["dpr","bsDaterangepicker"],[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"isDisabled"],["placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"isDisabled"],[1,"col-xs-12","col-12","col-sm-4","col-md-12","col-lg-4","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",2)(1,"div",3),t.nrm(2,"input",4,0),t.k0s(),t.j41(4,"div",3),t.nrm(5,"input",5,1),t.k0s(),t.j41(7,"div",6)(8,"button",7),t.bIt("click",function(){return t.eBV(o),t.Njj(i.toggleDisabling())}),t.EFF(9,"Toggle disabling"),t.k0s()()()}2&a&&(t.R7$(2),t.Y8G("isDisabled",i.isDisabled),t.R7$(3),t.Y8G("isDisabled",i.isDisabled))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),Ya=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-forms"]],decls:11,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"ngModelChange","ngModel"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"ngModelChange","ngModel"],[1,"col-xs-12","col-md-12"],[1,"code-preview"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"input",2),t.mxI("ngModelChange",function(l){return t.DH7(i.datepickerModel,l)||(i.datepickerModel=l),l}),t.k0s()(),t.j41(3,"div",1)(4,"input",3),t.mxI("ngModelChange",function(l){return t.DH7(i.daterangepickerModel,l)||(i.daterangepickerModel=l),l}),t.k0s()()(),t.j41(5,"div",0)(6,"div",4)(7,"pre",5),t.EFF(8),t.nrm(9,"br"),t.EFF(10),t.k0s()()()),2&a&&(t.R7$(2),t.R50("ngModel",i.datepickerModel),t.R7$(2),t.R50("ngModel",i.daterangepickerModel),t.R7$(4),t.JRh(i.datepickerModel),t.R7$(2),t.JRh(i.daterangepickerModel))},dependencies:[g,D,T,C,h.me,h.BC,h.vS],encapsulation:2})}return e})(),La=(()=>{class e{onScrollEvent(){this.datepicker?.hide()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-date-picker-hide-on-scroll"]],viewQuery:function(a,i){if(1&a&&t.GBs(g,5),2&a){let o;t.mGM(o=t.lsd())&&(i.datepicker=o.first)}},hostBindings:function(a,i){1&a&&t.bIt("scroll",function(){return i.onScrollEvent()},!1,t.tSv)},decls:8,vars:1,consts:[["dp","bsDatepicker"],[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control"],[1,"col-xs-12","col-12","col-md-3","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",1)(1,"div",2),t.nrm(2,"input",3,0),t.k0s(),t.j41(4,"div",4)(5,"button",5),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.toggle())}),t.EFF(6,"Date Picker"),t.k0s()()(),t.nrm(7,"br")}if(2&a){const o=t.sdS(3);t.R7$(5),t.BMQ("aria-expanded",o.isOpen)}},dependencies:[g,D],encapsulation:2})}return e})(),xa=(()=>{class e{constructor(){this.bsInlineValue=new Date,this.maxDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+7),this.bsInlineRangeValue=[this.bsInlineValue,this.maxDate]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-inline"]],decls:5,vars:2,consts:[[1,"row"],[1,"pr-3","pb-3","pe-3","w-auto"],[3,"bsValue"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"bs-datepicker-inline",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"bs-daterangepicker-inline",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsValue",i.bsInlineValue),t.R7$(2),t.Y8G("bsValue",i.bsInlineRangeValue))},dependencies:[Zc,Sd],encapsulation:2})}return e})(),Sa=(()=>{class e{constructor(){this.minDate=new Date,this.maxDate=new Date,this.minDate.setDate(this.minDate.getDate()-1),this.maxDate.setDate(this.maxDate.getDate()+7)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-min-max"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["placeholder","Datepicker","ngModel","","bsDatepicker","",1,"form-control",3,"minDate","maxDate"],["placeholder","Daterangepicker","ngModel","","bsDaterangepicker","",1,"form-control",3,"minDate","maxDate"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("minDate",i.minDate)("maxDate",i.maxDate),t.R7$(2),t.Y8G("minDate",i.minDate)("maxDate",i.maxDate))},dependencies:[g,D,T,C,h.me,h.BC,h.vS],encapsulation:2})}return e})(),Ea=(()=>{class e{constructor(){this.datePickerValue=new Date(2020,7),this.range1=new Date(2020,5),this.range2=new Date(2020,8),this.minMode="month"}ngOnInit(){this.dateRangePickerValue=[this.range1,this.range2],this.bsConfig=Object.assign({},{minMode:this.minMode})}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-min-mode"]],decls:15,vars:4,consts:[["dp","bsDatepicker"],["drp","bsDaterangepicker"],[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","bsDatepicker","",1,"form-control",3,"bsValueChange","bsConfig","bsValue"],[1,"col-xs-12","col-12","col-md-3","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"],["type","text","bsDaterangepicker","",1,"form-control",3,"bsValueChange","bsConfig","bsValue"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",2)(1,"div",3)(2,"input",4,0),t.mxI("bsValueChange",function(m){return t.eBV(o),t.DH7(i.datePickerValue,m)||(i.datePickerValue=m),t.Njj(m)}),t.k0s()(),t.j41(4,"div",5)(5,"button",6),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.toggle())}),t.EFF(6,"Date Picker"),t.k0s()()(),t.j41(7,"div",2)(8,"div",3)(9,"input",7,1),t.mxI("bsValueChange",function(m){return t.eBV(o),t.DH7(i.dateRangePickerValue,m)||(i.dateRangePickerValue=m),t.Njj(m)}),t.k0s()(),t.j41(11,"div",5)(12,"button",6),t.bIt("click",function(){t.eBV(o);const m=t.sdS(10);return t.Njj(m.toggle())}),t.EFF(13,"DateRange Picker"),t.k0s()()(),t.nrm(14,"br")}2&a&&(t.R7$(2),t.Y8G("bsConfig",i.bsConfig),t.R50("bsValue",i.datePickerValue),t.R7$(7),t.Y8G("bsConfig",i.bsConfig),t.R50("bsValue",i.dateRangePickerValue))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),Ra=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-outside-click"]],decls:9,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-5","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"outsideClick"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"Outside click closes the datepicker in this example"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"Outside click doesn't close the datepicker in this example"),t.k0s(),t.nrm(8,"input",2),t.k0s()()),2&a&&(t.R7$(4),t.Y8G("outsideClick",!0),t.R7$(4),t.Y8G("outsideClick",!1))},dependencies:[g,D],encapsulation:2})}return e})(),ja=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-placement"]],decls:17,vars:0,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-3","form-group","mb-3","d-flex","flex-column","justify-content-between"],["placeholder","Datepicker","bsDatepicker","","placement","right",1,"form-control"],["placeholder","Datepicker","bsDatepicker","","placement","top",1,"form-control"],["placeholder","Datepicker","bsDatepicker","","placement","bottom",1,"form-control"],["placeholder","Datepicker","bsDatepicker","","placement","left",1,"form-control"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"The datepicker's placement is right"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"The datepicker's placement is top"),t.k0s(),t.nrm(8,"input",3),t.k0s(),t.j41(9,"div",1)(10,"p"),t.EFF(11,"The datepicker's placement is bottom"),t.k0s(),t.nrm(12,"input",4),t.k0s(),t.j41(13,"div",1)(14,"p"),t.EFF(15,"The datepicker's placement is left"),t.k0s(),t.nrm(16,"input",5),t.k0s()())},dependencies:[g,D],encapsulation:2})}return e})();function $d(e,s){if(1&e&&(t.j41(0,"pre",7),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.JRh(t.bMT(2,1,null==n.myForm||null==n.myForm.value?null:n.myForm.value.date))}}function Xd(e,s){if(1&e&&(t.j41(0,"pre",7),t.EFF(1),t.nI1(2,"date"),t.nI1(3,"date"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Lme("from ",t.bMT(2,2,null==n.myForm||null==n.myForm.value?null:n.myForm.value.range[0])," to ",t.bMT(3,4,null==n.myForm||null==n.myForm.value?null:n.myForm.value.range[1]),"")}}function zd(e,s){if(1&e&&(t.j41(0,"form",1)(1,"div",2)(2,"div",3),t.nrm(3,"input",4),t.DNE(4,$d,3,3,"pre",5),t.k0s(),t.j41(5,"div",3),t.nrm(6,"input",6),t.DNE(7,Xd,4,6,"pre",5),t.k0s()()()),2&e){const n=t.XpG();t.Y8G("formGroup",n.myForm),t.R7$(4),t.Y8G("ngIf",null==n.myForm||null==n.myForm.value?null:n.myForm.value.date),t.R7$(3),t.Y8G("ngIf",null==n.myForm||null==n.myForm.value?null:n.myForm.value.range)}}let Fa=(()=>{class e{constructor(n){this.formBuilder=n}ngOnInit(){this.myForm=this.formBuilder.group({date:null,range:null})}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(h.ze))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-reactive-forms"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","","formControlName","date",1,"form-control","mb-3"],["class","code-preview",4,"ngIf"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","","formControlName","range",1,"form-control","mb-3"],[1,"code-preview"]],template:function(a,i){1&a&&t.DNE(0,zd,8,3,"form",0),2&a&&t.Y8G("ngIf",i.myForm)},dependencies:[g,D,T,C,d.bT,h.qT,h.me,h.BC,h.cb,h.j4,h.JD,d.vh],encapsulation:2})}return e})();const Oa=()=>({dateInputFormat:"DD-MM-YYYY",returnFocusToInput:!0});let Va=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-return-focus-to-input"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,Oa)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,Oa)))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),Pa=(()=>{class e{constructor(){const n=new Date,a=new Date;a.setDate(n.getDate()+2);const i=new Date;i.setDate(n.getDate()+4),this.dateCustomClasses=[{date:n,classes:[]},{date:a,classes:["bg-warning"]},{date:i,classes:["bg-danger","text-warning"]}]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-date-custom-classes"]],decls:5,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["placeholder","Datepicker","ngModel","","bsDatepicker","",1,"form-control",3,"dateCustomClasses"],["placeholder","Daterangepicker","ngModel","","bsDaterangepicker","",1,"form-control",3,"dateCustomClasses"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("dateCustomClasses",i.dateCustomClasses),t.R7$(2),t.Y8G("dateCustomClasses",i.dateCustomClasses))},dependencies:[g,D,T,C,h.me,h.BC,h.vS],styles:[".theme-green .bs-datepicker-body table td span.selected{background-color:#5cb85c!important}"]})}return e})();const Jd=()=>({dateInputFormat:"DD-MM-YYYY",selectFromOtherMonth:!0});let Ba=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-select-dates-from-other-months"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,Jd)))},dependencies:[g,D],encapsulation:2})}return e})();const Ha=()=>({adaptivePosition:!0});let Ia=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-adaptive-position"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,Ha)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,Ha)))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const Aa=()=>({isAnimated:!0});let Ga=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-animated"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,Aa)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,Aa)))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const Kd=()=>({customTodayClass:"custom-today-class"});let Wa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-custom-today-class"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,Kd)))},dependencies:[g,D],encapsulation:2})}return e})();const Na=()=>({selectWeek:!0}),Ua=()=>({selectWeek:!0,selectFromOtherMonth:!0}),Qd=()=>[0,1],Zd=()=>[0,1,2,3,4,5,6];let $a=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-select-week"]],decls:23,vars:12,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker with select week","bsDatepicker","",1,"form-control",3,"bsConfig"],["placeholder","selectFromOtherMonth active","bsDatepicker","",1,"form-control",3,"bsConfig"],[1,"col-xs-12","col-12","col-sm-6","col-md-5","form-group","mb-3"],["placeholder","Two first days disabled","bsDatepicker","",1,"form-control",3,"daysDisabled","bsConfig"],["placeholder","All days disabled","bsDatepicker","",1,"form-control",3,"daysDisabled","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()(),t.j41(3,"p"),t.EFF(4,"Also works with "),t.j41(5,"code"),t.EFF(6,"selectFromOtherMonth"),t.k0s(),t.EFF(7," option, which allows to select weeks which started on previous month"),t.k0s(),t.j41(8,"div",0)(9,"div",1),t.nrm(10,"input",3),t.k0s()(),t.j41(11,"p"),t.EFF(12,"If first day of the week is disabled, the next one will be selected."),t.k0s(),t.j41(13,"div",0)(14,"div",4)(15,"p"),t.EFF(16,"Two first days of the each week are disabled"),t.k0s(),t.nrm(17,"input",5),t.k0s()(),t.j41(18,"p"),t.EFF(19,"If all days in week are disabled, you can't select this week"),t.k0s(),t.j41(20,"div",0)(21,"div",4),t.nrm(22,"input",6),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(6,Na)),t.R7$(8),t.Y8G("bsConfig",t.lJ4(7,Ua)),t.R7$(7),t.Y8G("daysDisabled",t.lJ4(8,Qd))("bsConfig",t.lJ4(9,Ua)),t.R7$(5),t.Y8G("daysDisabled",t.lJ4(10,Zd))("bsConfig",t.lJ4(11,Na)))},dependencies:[g,D],encapsulation:2})}return e})(),Xa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-triggers-custom"]],decls:13,vars:0,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-lg-3","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","","triggers","mouseenter:click",1,"form-control"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","","triggers","keydown:click",1,"form-control"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","","triggers","dblclick:click",1,"form-control"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"Hover over the input to open the datepicker"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"Focus on input and press any key to open the datepicker"),t.k0s(),t.nrm(8,"input",3),t.k0s(),t.j41(9,"div",1)(10,"p"),t.EFF(11,"\u0421lick twice on input to open the datepicker"),t.k0s(),t.nrm(12,"input",4),t.k0s()())},dependencies:[g,D,T,C],encapsulation:2})}return e})(),za=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-triggers-manual"]],decls:11,vars:2,consts:[["dp","bsDatepicker"],[1,"row"],[1,"col-xs-12","col-12","col-sm-4","form-group","mb-3"],["type","text","bsDatepicker","",1,"form-control",3,"outsideClick"],[1,"col-xs-12","col-12","col-sm-8","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",1)(1,"div",2),t.nrm(2,"input",3,0),t.k0s(),t.j41(4,"div",4)(5,"button",5),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.show())}),t.EFF(6," Open "),t.k0s(),t.j41(7,"button",5),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.hide())}),t.EFF(8," Close "),t.k0s(),t.j41(9,"button",5),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.toggle())}),t.EFF(10," Toggle "),t.k0s()()()}if(2&a){const o=t.sdS(3);t.R7$(2),t.Y8G("outsideClick",!1),t.R7$(7),t.BMQ("aria-expanded",o.isOpen)}},dependencies:[g,D],encapsulation:2})}return e})();function qd(e,s){if(1&e&&(t.j41(0,"pre",5),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&e){const n=t.XpG();t.R7$(),t.SpI("Changed date is ",t.bMT(2,1,n.data),"")}}let Ja=(()=>{class e{onValueChange(n){this.data=n}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-value-change-event"]],decls:5,vars:1,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],[1,"mb-3"],["class","card card-block card-header",4,"ngIf"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsValueChange"],[1,"card","card-block","card-header"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.DNE(3,qd,3,3,"pre",3),t.k0s(),t.j41(4,"input",4),t.bIt("bsValueChange",function(l){return i.onValueChange(l)}),t.k0s()()()),2&a&&(t.R7$(3),t.Y8G("ngIf",i.data))},dependencies:[g,D,d.bT,d.vh],encapsulation:2})}return e})();function em(e,s){if(1&e&&(t.j41(0,"pre",5),t.EFF(1),t.k0s()),2&e){const n=s.$implicit;t.R7$(),t.JRh(n)}}let Ka=(()=>{class e{constructor(){this.messages=[],this.message="onShown"}handler(n){this.message===n&&(this.messages=[]),this.messages.push(`Event ${n} is fired`)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-visibility-events"]],decls:5,vars:1,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["placeholder","Datepicker","placement","right","bsDatepicker","",1,"form-control",3,"onShown","onHidden"],[1,"col-xs-12","col-12"],["class","card card-block card-header",4,"ngFor","ngForOf"],[1,"card","card-block","card-header"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"input",2),t.bIt("onShown",function(){return i.handler("onShown")})("onHidden",function(){return i.handler("onHidden")}),t.k0s()(),t.j41(3,"div",3),t.DNE(4,em,2,1,"pre",4),t.k0s()()),2&a&&(t.R7$(4),t.Y8G("ngForOf",i.messages))},dependencies:[g,D,d.Sq],encapsulation:2})}return e})();const tm=e=>({ranges:e});let Qa=(()=>{class e{constructor(){this.ranges=[{value:[new Date((new Date).setDate((new Date).getDate()-7)),new Date],label:"Last 7 Days"},{value:[new Date,new Date((new Date).setDate((new Date).getDate()+7))],label:"Next 7 Days"}]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-quick-select-ranges"]],decls:3,vars:3,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.eq3(1,tm,i.ranges)))},dependencies:[T,C],encapsulation:2})}return e})();const nm=()=>({showPreviousMonth:!0});let Za=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-daterangepicker-show-previous-month"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,nm)))},dependencies:[T,C],encapsulation:2})}return e})();const Wn=()=>({selectWeekDateRange:!0}),sm=()=>({selectWeekDateRange:!0,selectFromOtherMonth:!0}),am=()=>[0,1],im=()=>[0,1,2,3,4,5,6];let qa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-select-week-range"]],decls:23,vars:12,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-5","form-group","mb-3"],["placeholder","Daterangepicker with select week","bsDaterangepicker","",1,"form-control",3,"bsConfig"],["placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"],["placeholder","Two days disabled","bsDaterangepicker","",1,"form-control",3,"daysDisabled","bsConfig"],["placeholder","All days disabled","bsDaterangepicker","",1,"form-control",3,"daysDisabled","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()(),t.j41(3,"p"),t.EFF(4,"Also works with "),t.j41(5,"code"),t.EFF(6,"selectFromOtherMonth"),t.k0s(),t.EFF(7," option, which allows to select weeks which started on previous month"),t.k0s(),t.j41(8,"div",0)(9,"div",1),t.nrm(10,"input",3),t.k0s()(),t.j41(11,"p"),t.EFF(12,"If first day of the week is disabled, the next one will be selected."),t.k0s(),t.j41(13,"div",0)(14,"div",1)(15,"p"),t.EFF(16,"Two first days of the each week are disabled"),t.k0s(),t.nrm(17,"input",4),t.k0s()(),t.j41(18,"p"),t.EFF(19,"If all days in week are disabled, you can't select this week"),t.k0s(),t.j41(20,"div",0)(21,"div",1),t.nrm(22,"input",5),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(6,Wn)),t.R7$(8),t.Y8G("bsConfig",t.lJ4(7,sm)),t.R7$(7),t.Y8G("daysDisabled",t.lJ4(8,am))("bsConfig",t.lJ4(9,Wn)),t.R7$(5),t.Y8G("daysDisabled",t.lJ4(10,im))("bsConfig",t.lJ4(11,Wn)))},dependencies:[T,C],encapsulation:2})}return e})();const om=e=>({dateTooltipTexts:e});let ei=(()=>{class e{constructor(){this.selectedDates=[{date:new Date("2020-08-08"),tooltipText:"8th of August"},{date:new Date("2020-08-09"),tooltipText:"9th of August"},{date:new Date("2020-08-07"),tooltipText:"7th of August"}]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-tooltip-to-selected-dates"]],decls:3,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"dateTooltipTexts","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("dateTooltipTexts",i.selectedDates)("bsConfig",t.eq3(2,om,i.selectedDates)))},dependencies:[g,D],encapsulation:2})}return e})();const rm=()=>({maxDateRange:25});let ti=(()=>{class e{constructor(){this.maxDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+30)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-max-date-range"]],decls:3,vars:3,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"maxDate","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("maxDate",i.maxDate)("bsConfig",t.lJ4(2,rm)))},dependencies:[T,C],encapsulation:2})}return e})();const ni=()=>({dateInputFormat:"DD-MM-YYYY",displayOneMonthRange:!0});let si=(()=>{class e{constructor(){this.today=new Date,this.minDate=new Date(this.today.getFullYear(),this.today.getMonth(),2),this.maxDate=new Date(this.today.getFullYear(),this.today.getMonth(),25)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-daterangepicker-display-one-month"]],decls:16,vars:7,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-6","form-group","mb-3"],["placeholder","Daterangepicker","ngModel","","bsDaterangepicker","",1,"form-control",3,"maxDate","bsConfig"],["placeholder","Daterangepicker","ngModel","","bsDaterangepicker","",1,"form-control",3,"minDate","maxDate","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p")(3,"code"),t.EFF(4,"maxDate"),t.k0s(),t.EFF(5," is today"),t.k0s(),t.nrm(6,"input",2),t.k0s(),t.j41(7,"div",1)(8,"p")(9,"code"),t.EFF(10,"minDate"),t.k0s(),t.EFF(11," month is equal to "),t.j41(12,"code"),t.EFF(13,"maxDate"),t.k0s(),t.EFF(14," month"),t.k0s(),t.nrm(15,"input",3),t.k0s()()),2&a&&(t.R7$(6),t.Y8G("maxDate",i.today)("bsConfig",t.lJ4(5,ni)),t.R7$(9),t.Y8G("minDate",i.minDate)("maxDate",i.maxDate)("bsConfig",t.lJ4(6,ni)))},dependencies:[T,C,h.me,h.BC,h.vS],encapsulation:2})}return e})();const lm=()=>({containerClass:"theme-dark-blue",showTodayButton:!0,todayPosition:"center"});let ai=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-today-button"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,lm)))},dependencies:[g,D],encapsulation:2})}return e})();const cm=()=>({containerClass:"theme-orange",showClearButton:!0,clearPosition:"right"});let ii=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-clear-button"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,cm)))},dependencies:[g,D],encapsulation:2})}return e})();const dm=()=>({startView:"month"}),mm=()=>({startView:"year"});let oi=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-start-view"]],decls:13,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["bsDatepicker","","placeholder","Datepicker",1,"form-control"],["bsDatepicker","","placeholder","Datepicker",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"The datepicker's start view is day (default)"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"The datepicker's start view is month"),t.k0s(),t.nrm(8,"input",3),t.k0s(),t.j41(9,"div",1)(10,"p"),t.EFF(11,"The datepicker's start view is year"),t.k0s(),t.nrm(12,"input",3),t.k0s()()),2&a&&(t.R7$(8),t.Y8G("bsConfig",t.lJ4(2,dm)),t.R7$(4),t.Y8G("bsConfig",t.lJ4(3,mm)))},dependencies:[g,D],encapsulation:2})}return e})();const um=()=>({preventChangeToNextMonth:!0});let ri=(()=>{class e{constructor(){this.maxDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+7)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-prevent-change-to-next-month"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,um)))},dependencies:[T,C],encapsulation:2})}return e})();const li=()=>({withTimepicker:!0,rangeInputFormat:"MMMM Do YYYY, h:mm:ss a",dateInputFormat:"MMMM Do YYYY, h:mm:ss a"});let ci=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-with-timepicker"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,li)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,li)))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const di=()=>({withTimepicker:!0,keepDatepickerOpened:!0,rangeInputFormat:"MMMM Do YYYY, h:mm:ss a",dateInputFormat:"MMMM Do YYYY, h:mm:ss a"});let mi=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["datepicker-close-behavior"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,di)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,di)))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const ui=()=>({keepDatesOutOfRules:!0});let _i=(()=>{class e{constructor(){this.minDate=new Date,this.maxDate=new Date,this.bsInvalidDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+7),this.bsInvalidDate.setDate(this.maxDate.getDate()+2),this.bsRangeValue=[this.minDate,this.bsInvalidDate]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["keep-dates-out-of-rules"]],decls:5,vars:10,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig","maxDate","minDate","bsValue"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig","maxDate","minDate","bsValue"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(8,ui))("maxDate",i.maxDate)("minDate",i.minDate)("bsValue",i.bsInvalidDate),t.R7$(2),t.Y8G("bsConfig",t.lJ4(9,ui))("maxDate",i.maxDate)("minDate",i.minDate)("bsValue",i.bsRangeValue))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const _m=[{name:"Overview",anchor:"overview",tabName:"overview",outlet:Te.xK,content:[{title:"Basic",anchor:"basic",component:r(91134),html:r(25570),description:'\n

Note: If you installed ngx-bootstrap not via ng add command, you will need to perform a several actions

\n

Notable change is additional css for it "/datepicker/bs-datepicker.css"

\n

There are two ways of adding css:

\n
    \n
  • Load it from CDN. Add <link rel="stylesheet"\n href="https://unpkg.com/ngx-bootstrap/datepicker/bs-datepicker.css"> to your\n index.html
  • \n
  • Load it from dist/ngx-bootstrap/datepicker/bs-datepicker.css via package bundler\n like Angular CLI, if you\'re using one.\n
  • \n
\n ',outlet:pa},{title:"Inline",anchor:"inline-datepicker",component:r(7759),html:r(94135),description:"

with initial state set by bsInlineValue property

",outlet:xa},{title:"With animation",anchor:"animated",component:r(89938),html:r(42022),description:"You can enable animation via isAnimated config option",outlet:Ga},{title:"Adaptive position",anchor:"adaptive-position",component:r(12126),html:r(8290),description:"

You can enable adaptive position via adaptivePosition option in bsConfig

",outlet:Ia},{title:"Initial state",anchor:"date-initial-state",component:r(9158),html:r(15130),outlet:va},{title:"Custom date format",anchor:"format",component:r(79002),html:r(1374),description:'\n

You can easily change the date format by specifying the dateInputFormat\n in [bsConfig]\n

\n

To set your own date format you can use variety of formats provided by\n moment.js

\n

The following examples show how to use several date formats inside a form:\n

    \n
  • YYYY-MM-DD
  • \n
  • MM/DD/YYYY
  • \n
  • MMMM Do YYYY,h:mm:ss a
  • \n
\n

\n ',outlet:ka},{title:"Hide on scroll",anchor:"hide-on-scroll",component:r(89900),html:r(65596),description:"\n

Hide the datepicker on page scroll.

\n ",outlet:La},{title:"Themes",anchor:"themes",component:r(2790),html:r(44346),description:"\n

Datepicker comes with some default color schemes.\n You can change it by manipulating containerClass property in bsConfig object

\n

There are 6 color schemes: theme-default, theme-green, theme-blue,\n theme-dark-blue, theme-red, theme-orange

\n ",outlet:ga},{title:"Locales",anchor:"locales",component:r(11838),html:r(6178),description:"\n

Datepicker can use different locales.
It's possible to change a locale by calling\n use\n method of BsLocaleService, list of available locales is in dropdown below.

\n

To use a different locale, you have to import it from ngx-bootstrap/chronos first, then\n define it in your @NgModule using function defineLocale

\n

Example:

\n import { defineLocale } from 'ngx-bootstrap/chronos';
\n import { deLocale } from 'ngx-bootstrap/locale';
\n defineLocale('de', deLocale);\n
\n
\n ",outlet:fa},{title:"Min-max",anchor:"min-max",component:r(78851),html:r(58651),description:"\n

You can set min and max date of datepicker/daterangepicker using minDate and\n maxDate properties

\n

In the following example minDate is set to yesterday and maxDate\n to the current day in the next week

",outlet:Sa},{title:"Days disabled",anchor:"days-disabled",component:r(5720),html:r(76744),description:"\n

You can set which days of the week should be disabled with daysDisabled\n

In the following example daysDisabled is set with an array which disabled Saturday and Sunday.\n Sunday is considered the first day of the week and thus has the value 0

",outlet:Ta},{title:"Dates disabled",anchor:"dates-disabled",component:r(30206),html:r(18082),description:"\n

You can set which dates should be disabled with datesDisabled

\n

In the following example datesDisabled is set with an array to disable 2020-02-05 and 2020-02-09.

\n

NOTE: DO NOT USE this functionality with datesEnabled at the same time

",outlet:ya},{title:"Dates enabled",anchor:"dates-enabled",component:r(57914),html:r(51742),description:"\n

You can set which dates should be enable with datesEnabled

\n

In the following example datesEnabled is set with an array to enable 2020-02-06, 2020-02-08 and 2020-02-11. All other dates are disabled

\n

NOTE: DO NOT USE this functionality with datesDisabled at the same time

",outlet:Ma},{title:"Display one month",anchor:"display-one-month",component:r(67232),html:r(3136),description:"

You can configure, how many months you want to show for daterangepicker via displayMonths in BsDaterangepickerConfig.

\n

With displayOneMonthRange you can show only one month for two cases

",outlet:si},{title:"Min-mode",anchor:"min-mode",component:r(25509),html:r(8457),description:"\n

You can set min view mode of datepicker using minMode property

\n

In the following example minMode is set to 'month'

",outlet:Ea},{title:"Disabled",anchor:"disabled-datepicker",component:r(53961),html:r(56701),description:"

If you want to disable datepicker's or daterangepicker's content set isDisabled property to true

",outlet:wa},{title:"Custom today class",anchor:"today-class",component:r(61657),html:r(22765),description:"

If you want to add custom class to current day datepicker's content set value to customTodayClass option in bsConfig

",outlet:Wa},{title:"Forms",anchor:"forms",component:r(49875),html:r(13675),description:"

Datepicker and daterangepicker can be used in forms. Keep in mind that\n value of ngModel is Date object for datepicker and array of 2\n Date objects for daterangepicker

",outlet:Ya},{title:"Reactive forms",anchor:"reactive-forms",component:r(34659),html:r(539),outlet:Fa},{title:"Return focus to input",anchor:"return-focus-to-input",component:r(72795),html:r(85027),description:"

Allows to return focus to input of datepicker or daterangepicker after the date or daterange selection

",outlet:Va},{title:"Manual triggering",anchor:"triggers-manual",component:r(41750),html:r(94058),description:"

You can manage datepicker's state by using its show(), hide()\n and toggle() methods

",outlet:za},{title:"Placement",anchor:"placement",component:r(93986),html:r(79222),description:"

Add placement property if you want to change placement

",outlet:ja},{title:"Config method",anchor:"config-method",component:r(89794),html:r(38774),description:"

You can manage datepicker's options by using its setConfig() method

",outlet:Da},{title:"Visibility Events",anchor:"visibility-events",component:r(80214),html:r(83722),description:"

You can subscribe to datepicker's visibility events

",outlet:Ka},{title:"Value change event",anchor:"value-change-event",component:r(29518),html:r(1266),description:"

You can subscribe to datepicker's value change event (bsValueChange).

",outlet:Ja},{title:"Config properties",anchor:"config-object",component:r(86990),html:r(66290),description:"

You can configure the datepicker via its bsConfig option

",outlet:ba},{title:"Select dates from other month",anchor:"select-dates-from-other-month",component:r(16344),html:r(70632),description:"

You can enable dates from other months via selectFromOtherMonth option in bsConfig

",outlet:Ba},{title:"Select week",anchor:"select-week",component:r(19938),html:r(96598),description:"

You can enable ability to select a week number (first day of the week will be selected) via selectWeek option in bsConfig

",outlet:$a},{title:"Select week range",anchor:"select-week-range",component:r(29698),html:r(6646),description:"

You can enable ability to select a week number (range with first weekday - last weekday will be selected) via selectWeekRange option in bsConfig

",outlet:qa},{title:"Outside click",anchor:"outside-click",component:r(98814),html:r(56322),description:"

Datepicker closes after outside click by default. To change\n this behavior, use outsideClick property.

",outlet:Ra},{title:"Trigger by isOpen property",anchor:"trigger-by-isopen-property",component:r(5986),html:r(17654),description:"

Datepicker can be shown or hidden by changing isOpen property

",outlet:ha},{title:"Custom triggers",anchor:"triggers-custom",component:r(60394),html:r(54894),description:"

Use different triggers ( for example keydown, mouseenter and\n dblclick ) to interact with datepicker

",outlet:Xa},{title:"Date custom classes",anchor:"date-custom-classes",component:r(35086),html:r(13042),style:r(75677),description:"

Style dates with custom classes

",outlet:Pa},{title:"Tooltip for selected dates",anchor:"tooltip-for-selected-dates",component:r(95562),html:r(13806),description:"",outlet:ei},{title:"Quick select ranges",anchor:"quick-select-ranges",component:r(27522),html:r(88022),description:"

Quick select ranges can be added to Daterangepicker using ranges

",outlet:Qa},{title:"Prevent change to next month",anchor:"prevent-change-to-next-month",component:r(1357),html:r(76481),description:"

Pick some date from second month and it wont change to the next month

",outlet:ri},{title:"Previous month in Daterangepicker",anchor:"daterangepicker-previous-month",component:r(36744),html:r(18776),description:"

Pick previous & current month instead of current & next month.When daterange selected and related to current month,\n daterangepicker will works by default, with current & next month

",outlet:Za},{title:"Show Today Button",anchor:"datepicker-show-today-button",component:r(90472),html:r(66200),description:"

Display an optional 'Today' button that will automatically select today's date.

",outlet:ai},{title:"Show Clear Button",anchor:"datepicker-show-clear-button",component:r(28616),html:r(67224),description:"

Display an optional 'Clear' button that will automatically clear date.

",outlet:ii},{title:"Start view",anchor:"start-view",component:r(60600),html:r(53576),description:"

Add startView property if you want to change start view

",outlet:oi},{title:"Max Date Range in Daterangepicker",anchor:"daterangepicker-max-date-range",component:r(39506),html:r(11526),description:"

Max date range after first date selection can be added to Daterangepicker using maxDateRange.

\n

If you also use maxDate property, you can't select second date, which exceeds value of maxDate.

",outlet:ti},{title:"With timepicker",anchor:"with-timepicker",component:r(72614),html:r(26906),description:"You can enable timepicker via withTimepicker config option",outlet:ci},{title:"Close behavior with timepicker changes",anchor:"close-behavior",component:r(84301),html:r(43873),description:"If you use datepicker with timepicker together, you are able to set keepDatepickerOpened config option and keep datepicker opened until date isn't changed",outlet:mi},{title:"Don't overwrite dates out of rule",anchor:"keep-dates-out-of-rules",component:r(91531),html:r(7891),description:"

If you use datepicker with rules (minDate, maxDate) you can set config property keepDatesOutOfRules to true to avoid overwriting invalid dates. Default value is false.

",outlet:_i}]},{name:"Installation",anchor:"api-reference",tabName:"api",usage:r(51487),importInfo:'ng add ngx-bootstrap --component datepicker',outlet:Te.Mg,content:[{title:"BsDatepickerDirective",anchor:"bs-datepicker-component",outlet:Te.r2},{title:"BsDaterangepickerDirective",anchor:"bs-daterangepicker",outlet:Te.r2},{title:"BsDatepickerInlineDirective",anchor:"bs-datepicker-inline",outlet:Te.r2},{title:"BsDatepickerConfig",anchor:"bs-datepicker-config",outlet:Te.TJ}]},{name:"Examples",anchor:"examples",tabName:"examples",outlet:Te.xK,content:[{title:"Basic",anchor:"basic-ex",outlet:pa},{title:"Inline",anchor:"inline-datepicker-ex",outlet:xa},{title:"With animation",anchor:"animated-ex",outlet:Ga},{title:"Adaptive position",anchor:"adaptive-position-ex",outlet:Ia},{title:"Initial state",anchor:"date-initial-state-ex",outlet:va},{title:"Custom date format",anchor:"format-ex",outlet:ka},{title:"Hide on scroll",anchor:"hide-on-scroll-ex",outlet:La},{title:"Themes",anchor:"themes-ex",outlet:ga},{title:"Locales",anchor:"locales-ex",outlet:fa},{title:"Min-max",anchor:"min-max-ex",outlet:Sa},{title:"Days disabled",anchor:"days-disabled-ex",outlet:Ta},{title:"Dates disabled",anchor:"dates-disabled-ex",outlet:ya},{title:"Dates enabled",anchor:"dates-enabled-ex",outlet:Ma},{title:"Display one month",anchor:"display-one-month-ex",outlet:si},{title:"Min-mode",anchor:"min-mode-ex",outlet:Ea},{title:"Disabled",anchor:"disabled-datepicker-ex",outlet:wa},{title:"Custom today class",anchor:"today-class-ex",outlet:Wa},{title:"Forms",anchor:"forms-ex",outlet:Ya},{title:"Reactive forms",anchor:"reactive-forms-ex",outlet:Fa},{title:"Return focus to input",anchor:"return-focus-to-input-ex",outlet:Va},{title:"Manual triggering",anchor:"triggers-manual-ex",outlet:za},{title:"Placement",anchor:"placement-ex",outlet:ja},{title:"Config method",anchor:"config-method-ex",outlet:Da},{title:"Visibility Events",anchor:"visibility-events-ex",outlet:Ka},{title:"Value change event",anchor:"value-change-event-ex",outlet:Ja},{title:"Config properties",anchor:"config-object-ex",outlet:ba},{title:"Select dates from other month",anchor:"select-dates-from-other-month-ex",outlet:Ba},{title:"Select week",anchor:"select-week-ex",outlet:$a},{title:"Select week range",anchor:"select-week-range-ex",outlet:qa},{title:"Outside click",anchor:"outside-click-ex",outlet:Ra},{title:"Trigger by isOpen property",anchor:"trigger-by-isopen-property-ex",outlet:ha},{title:"Custom triggers",anchor:"triggers-custom-ex",outlet:Xa},{title:"Date custom classes",anchor:"date-custom-classes-ex",outlet:Pa},{title:"Tooltip for selected dates",anchor:"tooltip-for-selected-dates-ex",outlet:ei},{title:"Quick select ranges",anchor:"quick-select-ranges-ex",outlet:Qa},{title:"Prevent change to next month",anchor:"prevent-change-to-next-month-ex",outlet:ri},{title:"Previous month in Daterangepicker",anchor:"daterangepicker-previous-month-ex",outlet:Za},{title:"Show Today Button",anchor:"datepicker-show-today-button-ex",outlet:ai},{title:"Show Clear Button",anchor:"datepicker-show-clear-button-ex",outlet:ii},{title:"Start view",anchor:"start-view-ex",outlet:oi},{title:"Max Date Range in Daterangepicker",anchor:"daterangepicker-max-date-range-ex",outlet:ti},{title:"With timepicker",anchor:"with-timepicker-ex",outlet:ci},{title:"datepicker close behavior with timepicker",anchor:"close-behavior",outlet:mi},{title:"Don't overwrite dates out of rule",anchor:"keep-dates-out-of-rules",outlet:_i}]}];var pm=r(86223),hm=r(52439);let pi=(()=>{class e{constructor(){this.name="Datepicker",this.src="https://github.com/valor-software/ngx-bootstrap/tree/development/src/datepicker",this.componentContent=_m}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["datepicker-section"]],decls:6,vars:4,consts:[[3,"name","src","componentContent"],[3,"content"]],template:function(a,i){1&a&&(t.j41(0,"demo-section",0)(1,"p"),t.EFF(2,"Datepicker is a highly configurable component that adds datepicker functionality to your pages. You can customize the date format and language, restrict the selectable date ranges."),t.k0s(),t.j41(3,"p"),t.EFF(4,"The easiest way to add the datepicker component to your app (will be added to the root module)"),t.k0s(),t.nrm(5,"docs-section",1),t.k0s()),2&a&&(t.Y8G("name",i.name)("src",i.src)("componentContent",i.componentContent),t.R7$(5),t.Y8G("content",i.componentContent))},dependencies:[pm.q,hm.C],encapsulation:2,changeDetection:0})}return e})();const fm=[{path:"",component:pi}];[_r,pr,fr,gr,Dr,br,kr,yr,Cr,Yr,Lr,Rr,Vr,Hr,Gr,Er,Or,Ar,Wr,Nr,Ur,$r,Xr,zr,Qr,Zr,qr,el,nl,al,il,ol,cl,rl,ul,_l,pl,hl,fl,xn,gl,kl,vl,yl,jr].forEach(e=>{e.abbr&&dn(e.abbr,e)});let gm=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[Vd,Pd.j,d.MD,h.YN,h.X1,Te.ky,hi.iI.forChild(fm)]})}return e})()},8290:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},12126:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-adaptive-position',\n templateUrl: './adaptive-position.html'\n})\nexport class DemoDatePickerAdaptivePositionComponent {}\n"},42022:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},89938:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-animated',\n templateUrl: './animated.html'\n})\nexport class DemoDatePickerAnimatedComponent {}\n"},25570:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},91134:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-basic',\n templateUrl: './basic.html'\n})\nexport class DemoDatepickerBasicComponent {}\n"},6178:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n \n \n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n \n \n
\n
\n \n
\n
\n \n
\n
\n'},11838:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { BsDatepickerDirective, BsDaterangepickerDirective, BsLocaleService } from 'ngx-bootstrap/datepicker';\nimport { listLocales } from 'ngx-bootstrap/chronos';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-change-locale',\n templateUrl: './change-locale.html'\n})\nexport class DemoDatepickerChangeLocaleComponent {\n locale = 'en';\n locales = listLocales();\n\n constructor(private localeService: BsLocaleService) {}\n\n applyLocale(pop: BsDatepickerDirective | BsDaterangepickerDirective) {\n this.localeService.use(this.locale);\n pop.hide();\n pop.show();\n }\n}\n"},67224:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},28616:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-clear-button',\n templateUrl: './clear-button.html'\n})\nexport class DemoDatepickerClearButtonComponent {}\n"},43873:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},84301:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'datepicker-close-behavior',\n templateUrl: './datepicker-close-behavior.html'\n})\nexport class DatepickerCloseBehaviorComponent {\n}\n"},44346:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n \n \n \n \n \n \n \n
\n\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n\n\n'},2790:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { BsDatepickerConfig, BsDatepickerDirective } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-color-theming',\n templateUrl: './color-theming.html'\n})\nexport class DemoDatepickerColorThemingComponent {\n colorTheme = 'theme-green';\n\n bsConfig?: Partial;\n\n applyTheme(pop: BsDatepickerDirective) {\n // create new object on each property change\n // so Angular can catch object reference change\n this.bsConfig = Object.assign({}, { containerClass: this.colorTheme });\n setTimeout(() => {\n pop.show();\n });\n }\n}\n"},38774:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},89794:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component, ViewChild } from '@angular/core';\nimport { BsDaterangepickerDirective, BsDatepickerConfig } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-config-method',\n templateUrl: './config-method.html'\n})\nexport class DemoDatepickerConfigMethodComponent {\n @ViewChild('dp', { static: false }) datepicker?: BsDaterangepickerDirective;\n\n bsConfig?: Partial;\n minDate = new Date(2018, 5, 13);\n\n setOptions(): void {\n this.bsConfig = Object.assign({}, { minDate: this.minDate });\n this.datepicker?.setConfig();\n\n setTimeout(() => {\n this.datepicker?.toggle();\n });\n }\n}\n"},66290:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},86990:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-config-object',\n templateUrl: './config-object.html'\n})\nexport class DemoDatePickerConfigObjectComponent {}\n"},1374:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n
\n'},79002:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { UntypedFormControl, UntypedFormGroup } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-date-picker-custom-format',\n templateUrl: './custom-format.html'\n})\nexport class DemoDatePickerCustomFormatComponent {\n currentDate = new Date();\n\n form = new UntypedFormGroup({\n dateYMD: new UntypedFormControl(new Date()),\n dateFull: new UntypedFormControl(new Date()),\n dateMDY: new UntypedFormControl(new Date()),\n dateRange: new UntypedFormControl([\n new Date(),\n new Date(this.currentDate.setDate(this.currentDate.getDate() + 7))\n ])\n });\n}\n"},22765:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},61657:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-custom-today-class',\n templateUrl: './custom-today-class.component.html'\n})\nexport class DemoDatepickerCustomTodayClassComponent { }\n"},13042:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},75677:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="::ng-deep .theme-green {\n .bs-datepicker-body {\n table {\n td {\n span.selected {\n background-color: #5cb85c !important;\n }\n }\n }\n }\n}\n"},35086:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { DatepickerDateCustomClasses } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-date-custom-classes',\n templateUrl: './date-custom-classes.html',\n styleUrls: ['./date-custom-classes.scss']\n})\nexport class DemoDatepickerDateCustomClassesComponent {\n dateCustomClasses: DatepickerDateCustomClasses[];\n\n constructor() {\n const now = new Date();\n const twoDaysAhead = new Date();\n twoDaysAhead.setDate(now.getDate() + 2);\n const fourDaysAhead = new Date();\n fourDaysAhead.setDate(now.getDate() + 4);\n\n this.dateCustomClasses = [\n { date: now, classes: [] },\n { date: twoDaysAhead, classes: ['bg-warning'] },\n { date: fourDaysAhead, classes: ['bg-danger', 'text-warning'] }\n ];\n }\n}\n"},15130:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='

bsValue property sets initial state in this example

\n
\n
\n \n
\n
\n \n
\n
\n\n

ngModel property sets two-way data binding in this example

\n
\n
\n \n
\n
\n \n
\n
\n'},9158:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-date-initial-state',\n templateUrl: './date-initial-state.html'\n})\nexport class DemoDatepickerDateInitialStateComponent {\n bsValue = new Date();\n bsRangeValue: Date[];\n maxDate = new Date();\n constructor() {\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n this.bsRangeValue = [this.bsValue, this.maxDate];\n }\n}\n"},3136:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

maxDate is today

\n \n
\n
\n

minDate month is equal to maxDate month

\n \n
\n
\n'},67232:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-daterangepicker-display-one-month',\n templateUrl: './display-one-month.html'\n})\n// eslint-disable-next-line @angular-eslint/component-class-suffix\nexport class DemoDateRangePickerDisplayOneMonth {\n today: Date;\n maxDate: Date;\n minDate: Date;\n\n constructor() {\n this.today = new Date();\n this.minDate = new Date(this.today.getFullYear(), this.today.getMonth(), 2);\n this.maxDate = new Date(this.today.getFullYear(), this.today.getMonth(), 25);\n }\n}\n"},18776:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},36744:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-daterangepicker-show-previous-month',\n templateUrl: './show-previous-month.html'\n})\n// eslint-disable-next-line @angular-eslint/component-class-suffix\nexport class DemoDateRangePickerShowPreviousMonth {}\n"},18082:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},30206:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-datesdisabled',\n templateUrl: './disable-dates.html'\n})\nexport class DemoDatepickerDatesDisabledComponent {\n disabledDates = [\n new Date('2020-02-05'),\n new Date('2020-02-09')\n ];\n}\n"},76744:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

Saturday and Sunday are not selectable

\n \n
\n
\n

Saturday and Sunday are selectable

\n \n
\n
\n\n\n
\n
\n

Saturday and Sunday are not selectable

\n \n
\n
\n

Saturday and Sunday are selectable

\n \n
\n
\n'},5720:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-daysdisabled',\n templateUrl: './disable-days.html'\n})\nexport class DemoDatepickerDaysDisabledComponent {}\n"},56701:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n'},53961:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-disabled',\n templateUrl: './disabled.component.html'\n})\nexport class DemoDatepickerDisabledComponent {\n isDisabled = false;\n\n toggleDisabling(): void {\n this.isDisabled = !this.isDisabled;\n }\n}\n"},51742:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},57914:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-datesenabled',\n templateUrl: './enable-dates.html'\n})\nexport class DemoDatepickerDatesEnabledComponent {\n enabledDates = [\n new Date('2020-02-06'),\n new Date('2020-02-08'),\n new Date('2020-02-11'),\n ];\n}\n"},13675:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n
\n
\n
{{datepickerModel}}
{{daterangepickerModel}}
\n
\n
\n\n\n'},49875:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-forms',\n templateUrl: './forms.component.html'\n})\nexport class DemoDatepickerFormsComponent {\n datepickerModel?: Date;\n daterangepickerModel?: Date[];\n}\n"},65596:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n
\n'},89900:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component, HostListener, ViewChild } from '@angular/core';\nimport { BsDatepickerDirective } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-date-picker-hide-on-scroll',\n templateUrl: './hide-on-scroll.html'\n})\nexport class DemoDatepickerHideOnScrollComponent {\n @ViewChild(BsDatepickerDirective, { static: false }) datepicker?: BsDatepickerDirective;\n\n @HostListener('window:scroll')\n onScrollEvent() {\n this.datepicker?.hide();\n }\n}\n"},94135:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n\n'},7759:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-inline',\n templateUrl: './inline-datepicker.component.html'\n})\nexport class DemoDatepickerInlineComponent {\n bsInlineValue = new Date();\n bsInlineRangeValue: Date[];\n maxDate = new Date();\n\n constructor() {\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n this.bsInlineRangeValue = [this.bsInlineValue, this.maxDate];\n }\n}\n"},7891:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},91531:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'keep-dates-out-of-rules',\n templateUrl: './keep-dates-out-of-rules.component.html'\n})\nexport class KeepDatesOutOfRulesComponent {\n minDate = new Date();\n bsRangeValue: Date[];\n maxDate = new Date();\n bsInvalidDate: Date = new Date();\n\n constructor() {\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n this.bsInvalidDate.setDate(this.maxDate.getDate() + 2);\n this.bsRangeValue = [this.minDate, this.bsInvalidDate];\n }\n}\n"},11526:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},39506:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import {Component} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-max-date-range',\n templateUrl: './max-date-range.html'\n})\nexport class DemoDateRangePickerMaxDateRangeComponent {\n maxDate: Date;\n\n constructor() {\n this.maxDate = new Date();\n this.maxDate.setDate(this.maxDate.getDate() + 30);\n}\n}\n"},58651:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n\n\n'},78851:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-min-max',\n templateUrl: './min-max.component.html'\n})\nexport class DemoDatepickerMinMaxComponent {\n minDate: Date;\n maxDate: Date;\n\n constructor() {\n this.minDate = new Date();\n this.maxDate = new Date();\n this.minDate.setDate(this.minDate.getDate() - 1);\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n }\n}\n"},8457:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n
\n'},25509:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component, OnInit } from '@angular/core';\n\nimport { BsDatepickerConfig, BsDatepickerViewMode } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-min-mode',\n templateUrl: './min-mode.component.html'\n})\nexport class DemoDatepickerMinModeComponent implements OnInit {\n datePickerValue: Date = new Date(2020, 7);\n dateRangePickerValue?: (Date | undefined)[];\n range1: Date = new Date(2020, 5);\n range2: Date = new Date(2020, 8);\n minMode: BsDatepickerViewMode = 'month';\n\n bsConfig?: Partial;\n\n ngOnInit(): void {\n this.dateRangePickerValue = [this.range1, this.range2];\n this.bsConfig = Object.assign({}, {\n minMode : this.minMode\n });\n }\n}\n"},56322:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

Outside click closes the datepicker in this example

\n \n
\n
\n

Outside click doesn\'t close the datepicker in this example

\n \n
\n
\n'},98814:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-outside-click',\n templateUrl: './outside-click.html'\n})\nexport class DemoDatepickerOutsideClickComponent {}\n"},79222:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

The datepicker\'s placement is right

\n \n
\n
\n

The datepicker\'s placement is top

\n \n
\n
\n

The datepicker\'s placement is bottom

\n \n
\n
\n

The datepicker\'s placement is left

\n \n
\n
\n'},93986:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-placement',\n templateUrl: './placement.html'\n})\nexport class DemoDatepickerPlacementComponent {}\n"},76481:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},1357:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-prevent-change-to-next-month',\n templateUrl: './prevent-change-to-next-month.component.html'\n})\nexport class DemoDatepickerPreventChangeToNextMonthComponent {\n maxDate = new Date();\n\n constructor() {\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n }\n}\n"},88022:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},27522:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\ninterface IRange {\n value: Date[];\n label: string;\n}\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-quick-select-ranges',\n templateUrl: './quick-select-ranges.html'\n})\nexport class DemoDatePickerQuickSelectRangesComponent {\n ranges: IRange[] = [{\n value: [new Date(new Date().setDate(new Date().getDate() - 7)), new Date()],\n label: 'Last 7 Days'\n }, {\n value: [new Date(), new Date(new Date().setDate(new Date().getDate() + 7))],\n label: 'Next 7 Days'\n }];\n\n}\n"},539:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n
\n \n
{{myForm?.value?.date | date}}
\n
\n
\n \n
from {{myForm?.value?.range[0] | date}} to {{myForm?.value?.range[1] | date}}
\n
\n
\n
\n\n\n'},34659:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component, OnInit } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-reactive-forms',\n templateUrl: './reactive-forms.component.html'\n})\nexport class DemoDatepickerReactiveFormsComponent implements OnInit {\n myForm?: UntypedFormGroup;\n constructor(private formBuilder: UntypedFormBuilder) {}\n\n ngOnInit() {\n this.myForm = this.formBuilder.group({\n date: null,\n range: null\n });\n }\n}\n"},85027:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},72795:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-return-focus-to-input',\n templateUrl: './return-focus-to-input.component.html'\n})\nexport class DemoDatePickerReturnFocusToInputComponent {}\n"},70632:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},16344:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-select-dates-from-other-months',\n templateUrl: './select-dates-from-other-months.html'\n})\nexport class DemoDatePickerSelectDatesFromOtherMonthsComponent {}\n"},6646:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n\n

Also works with selectFromOtherMonth option, which allows to select weeks which started on previous\n month

\n\n
\n
\n \n
\n
\n\n\n

If first day of the week is disabled, the next one will be selected.

\n\n
\n
\n

Two first days of the each week are disabled

\n \n
\n
\n\n\n

If all days in week are disabled, you can\'t select this week

\n\n
\n
\n \n
\n
\n'},29698:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-select-week-range',\n templateUrl: './select-week-range.html'\n})\nexport class DemoDatePickerSelectWeekRangeComponent {}\n"},96598:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n\n

Also works with selectFromOtherMonth option, which allows to select weeks which started on previous\n month

\n\n
\n
\n \n
\n
\n\n\n

If first day of the week is disabled, the next one will be selected.

\n\n
\n
\n

Two first days of the each week are disabled

\n \n
\n\n
\n\n\n

If all days in week are disabled, you can\'t select this week

\n\n
\n
\n \n
\n\n
\n'},19938:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-select-week',\n templateUrl: './select-week.html'\n})\nexport class DemoDatePickerSelectWeekComponent {}\n"},53576:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

The datepicker\'s start view is day (default)

\n \n
\n
\n

The datepicker\'s start view is month

\n \n
\n
\n

The datepicker\'s start view is year

\n \n
\n
\n'},60600:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-start-view',\n templateUrl: './start-view.html'\n})\nexport class DemoDatepickerStartViewComponent {}\n"},66200:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},90472:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-today-button',\n templateUrl: './today-button.html'\n})\nexport class DemoDatepickerTodayButtonComponent {}\n"},13806:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},95562:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { DatepickerDateTooltipText } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-tooltip-to-selected-dates',\n templateUrl: './tooltip-to-selected-dates.html'\n})\n// eslint-disable-next-line @angular-eslint/component-class-suffix\nexport class DemoDatePickerTooltipToSelectedDates {\n selectedDates : DatepickerDateTooltipText[] = [{ date: new Date('2020-08-08'), tooltipText: '8th of August'},\n { date: new Date('2020-08-09'), tooltipText: '9th of August'},\n { date: new Date('2020-08-07'), tooltipText: '7th of August'}\n ];\n}\n"},17654:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},5986:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-trigger-by-isopen',\n templateUrl: './trigger-by-isopen-property.html'\n})\nexport class DemoDatepickerByIsOpenPropComponent {\n isOpen = false;\n}\n\n"},54894:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

Hover over the input to open the datepicker

\n \n
\n
\n

Focus on input and press any key to open the datepicker

\n \n
\n
\n

\u0421lick twice on input to open the datepicker

\n \n
\n
\n'},60394:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-triggers-custom',\n templateUrl: './triggers-custom.html'\n})\nexport class DemoDatepickerTriggersCustomComponent {}\n"},94058:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n\n \n\n \n
\n
\n'},41750:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-triggers-manual',\n templateUrl: './triggers-manual.html'\n})\nexport class DemoDatepickerTriggersManualComponent {}\n"},1266:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n
\n
Changed date is {{data | date}}
\n
\n \n
\n
\n'},29518:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-value-change-event',\n templateUrl: './value-change-event.html'\n})\nexport class DemoDatepickerValueChangeEventComponent {\n data?: Date;\n\n onValueChange(value: Date): void {\n this.data = value;\n }\n}\n"},83722:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n\n
\n
\n
{{message}}
\n
\n
\n\n\n'},80214:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-visibility-events',\n templateUrl: './visibility-events.html'\n})\n\nexport class DemoDatePickerVisibilityEventsComponent {\n messages: string[] = [];\n message = 'onShown';\n handler(value: string): void {\n if(this.message === value) {\n this.messages = [];\n }\n this.messages.push(`Event ${value} is fired`);\n }\n}\n"},26906:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},72614:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-with-timepicker',\n templateUrl: './with-timepicker.html'\n})\n\nexport class DemoDatepickerWithTimepickerComponent {\n}\n"},51487:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="### Standalone component usage\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\n\nimport { BsDatepickerModule } from 'ngx-bootstrap/datepicker';\n\n@Components({\n imports: [\n BrowserAnimationsModule,\n BsDatepickerModule,\n ...\n ]\n})\nexport class AppComponents(){}\n\n\n### Module usage\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\n\nimport { BsDatepickerModule } from 'ngx-bootstrap/datepicker';\n\n@NgModule({\n imports: [\n BrowserAnimationsModule,\n BsDatepickerModule,\n ...\n ]\n})\nexport class AppModule(){}\n"}}]); \ No newline at end of file diff --git a/457.61fe570369320afa.js b/457.61fe570369320afa.js deleted file mode 100644 index 76978706f6..0000000000 --- a/457.61fe570369320afa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkngx_bootstrap_docs=self.webpackChunkngx_bootstrap_docs||[]).push([[457],{15457:(u,c,r)=>{r.r(c),r.d(c,{DatepickerSectionComponent:()=>mi,DemoDatepickerModule:()=>mm});var d=r(60177),h=r(84341),ui=r(8681);function we(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function A(e){return"string"==typeof e}function kt(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function pe(e){return e&&e.getTime&&!isNaN(e.getTime())}function Ye(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Be(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function L(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function O(e,s){return Object.prototype.hasOwnProperty.call(e,s)}function Le(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function Un(e){return void 0===e}function b(e){const s=+e;let n=0;return 0!==s&&isFinite(s)&&(n=we(s)),n}const st={},$n={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function V(e,s){const n=e.toLowerCase();let a=e;n in $n&&(a=$n[n]),st[n]=st[`${n}s`]=st[s]=a}function Xn(e){return A(e)?st[e]||st[e.toLowerCase()]:void 0}function ce(e,s,n){const a=`${Math.abs(e)}`;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,s-a.length)).toString().substr(1)+a}const Xt={},He={},zn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function f(e,s,n,a){e&&(He[e]=a),s&&(He[s[0]]=function(){return ce(a.apply(null,arguments),s[1],s[2])}),n&&(He[n]=function(i,o){return o.locale.ordinal(a.apply(null,arguments),e)})}function gi(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function zt(e,s,n){const a=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e),a}function vt(e,s=0,n=1,a=0,i=0,o=0,l=0){const m=new Date(e,s,n,a,i,o,l);return e<100&&e>=0&&isFinite(m.getFullYear())&&m.setFullYear(e),m}function k(e,s=!1){return s?e.getUTCHours():e.getHours()}function Ie(e,s=!1){return s?e.getUTCMinutes():e.getMinutes()}function Jt(e,s=!1){return s?e.getUTCSeconds():e.getSeconds()}function de(e,s=!1){return s?e.getUTCMilliseconds():e.getMilliseconds()}function ne(e,s=!1){return s?e.getUTCDay():e.getDay()}function at(e,s=!1){return s?e.getUTCDate():e.getDate()}function v(e,s=!1){return s?e.getUTCMonth():e.getMonth()}function R(e,s=!1){return s?e.getUTCFullYear():e.getFullYear()}function Ae(e,s){return!(!e||!s)&&Ge(e,s)&&v(e)===v(s)}function Ge(e,s){return!(!e||!s)&&R(e)===R(s)}function he(e,s){return!(!e||!s)&&Ge(e,s)&&Ae(e,s)&&at(e)===at(s)}const Jn=/\d/,G=/\d\d/,Kn=/\d{3}/,Kt=/\d{4}/,yt=/[+-]?\d{6}/,w=/\d\d?/,Qn=/\d\d\d\d?/,Zn=/\d\d\d\d\d\d?/,Mt=/\d{1,3}/,Qt=/\d{1,4}/,Ct=/[+-]?\d{1,6}/,Mi=/\d+/,Tt=/[+-]?\d+/,Zt=/Z|[+-]\d\d(?::?\d\d)?/gi,Ci=/[+-]?\d+(\.\d{1,3})?/,it=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,wt={};function p(e,s,n){wt[e]=Ye(s)?s:function(a,i){return a&&n?n:s}}function Ti(e,s){return O(wt,e)?wt[e](!1,s):new RegExp(function wi(e){return xe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(s,n,a,i,o)=>n||a||i||o))}(e))}function xe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const qt={};function Y(e,s){const n=A(e)?[e]:e;let a=s;if(Be(s)&&(a=function(i,o,l){return o[s]=b(i),l}),L(n)&&Ye(a)){let i;for(i=0;i68?1900:2e3)}function rt(e){return qn(e)?366:365}function qn(e){return e%4==0&&e%100!=0||e%400==0}function nn(e,s){if(isNaN(e)||isNaN(s))return NaN;const n=function _i(e,s){return(e%s+s)%s}(s,12);return 1===n?qn(e+(s-n)/12)?29:28:31-n%7%2}const Oi={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function j(e,s){const n=Object.assign({},Oi,s),a=e.getFullYear()+(n.year||0),i=e.getMonth()+(n.month||0);let o=e.getDate()+(n.day||0);return n.month&&!n.day&&(o=Math.min(o,nn(a,i))),vt(a,i,o,e.getHours()+(n.hour||0),e.getMinutes()+(n.minute||0),e.getSeconds()+(n.seconds||0))}function We(e,s){return Be(s)?s:e}function sn(e,s,n){const a=Math.min(at(e),nn(R(e),s));return n?e.setUTCMonth(s,a):e.setMonth(s,a),e}function es(e,s,n){return n?e.setUTCDate(s):e.setDate(s),e}function Re(e){return new Date(e.getTime())}function _e(e,s,n){const a=Re(e);switch(s){case"year":sn(a,0,n);case"quarter":case"month":es(a,1,n);case"week":case"isoWeek":case"day":case"date":!function Pi(e,s,n){n?e.setUTCHours(s):e.setHours(s)}(a,0,n);case"hours":!function Bi(e,s,n){n?e.setUTCMinutes(s):e.setMinutes(s)}(a,0,n);case"minutes":!function Hi(e,s,n){n?e.setUTCSeconds(s):e.setSeconds(s)}(a,0,n);case"seconds":!function Ii(e,s,n){n?e.setUTCMilliseconds(s):e.setMilliseconds(s)}(a,0,n)}return"week"===s&&function ar(e,s,n={}){ut(e,s-Ts(e,n.locale,n.isUTC),"day")}(a,0,{isUTC:n}),"isoWeek"===s&&function or(e,s,n={}){const a=function sr(e,s=B()){return A(e)?s.weekdaysParse(e)%7||7:Be(e)&&isNaN(e)?null:e}(s,n.locale);_t(e,S(e)%7?a:a-7)}(a,1),"quarter"===s&&sn(a,3*Math.floor(v(a,n)/3),n),a}function Yt(e,s,n){let a=s;return"date"===a&&(a="day"),function er(e,s,n,a){return Cs(e,fn(s,n),-1,a)}(ut(_e(e,a,n),1,"isoWeek"===a?"week":a,n),1,"milliseconds",n)}function an(e,s){const n=+_e(e,"day",s),a=+_e(e,"year",s);return Math.round((n-a)/864e5)+1}function Lt(e,s,n){const a=s-n+7;return-(zt(e,0,a).getUTCDay()-s+7)%7+a-1}function Ne(e,s,n,a){const i=Lt(R(e,a),s,n),o=Math.floor((an(e,a)-i-1)/7)+1;let l,m;return o<1?(m=R(e,a)-1,l=o+xt(m,s,n)):o>xt(R(e,a),s,n)?(l=o-xt(R(e,a),s,n),m=R(e,a)+1):(m=R(e,a),l=o),{week:l,year:m}}function xt(e,s,n){const a=Lt(e,s,n),i=Lt(e+1,s,n);return(rt(e)-a+i)/7}const ts=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ni="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ns="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ui="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ss="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$i="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),as={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"},Ji=it,Ki=it;class Qi{constructor(s){s&&this.set(s)}set(s){let n;for(n in s){if(!s.hasOwnProperty(n))continue;const a=s[n];this[Ye(a)?n:`_${n}`]=a}this._config=s}calendar(s,n,a){const i=this._calendar[s]||this._calendar.sameElse;return Ye(i)?i.call(null,n,a):i}longDateFormat(s){const n=this._longDateFormat[s],a=this._longDateFormat[s.toUpperCase()];return n||!a?n:(this._longDateFormat[s]=a.replace(/MMMM|MM|DD|dddd/g,function(i){return i.slice(1)}),this._longDateFormat[s])}get invalidDate(){return this._invalidDate}set invalidDate(s){this._invalidDate=s}ordinal(s,n){return this._ordinal.replace("%d",s.toString(10))}preparse(s,n){return s}getFullYear(s,n=!1){return R(s,n)}postformat(s){return s}relativeTime(s,n,a,i){const o=this._relativeTime[a];return Ye(o)?o(s,n,a,i):o.replace(/%d/i,s.toString(10))}pastFuture(s,n){const a=this._relativeTime[s>0?"future":"past"];return Ye(a)?a(n):a.replace(/%s/i,n)}months(s,n,a=!1){if(!s)return L(this._months)?this._months:this._months.standalone;if(L(this._months))return this._months[v(s,a)];const i=(this._months.isFormat||ts).test(n)?"format":"standalone";return this._months[i][v(s,a)]}monthsShort(s,n,a=!1){if(!s)return L(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(L(this._monthsShort))return this._monthsShort[v(s,a)];const i=ts.test(n)?"format":"standalone";return this._monthsShort[i][v(s,a)]}monthsParse(s,n,a){let i,o,l;if(this._monthsParseExact)return this.handleMonthStrictParse(s,n,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),l=0;l<12;l++){if(i=new Date(Date.UTC(2e3,l)),a&&!this._longMonthsParse[l]){const m=this.months(i,"",!0).replace(".",""),_=this.monthsShort(i,"",!0).replace(".","");this._longMonthsParse[l]=new RegExp(`^${m}$`,"i"),this._shortMonthsParse[l]=new RegExp(`^${_}$`,"i")}if(!a&&!this._monthsParse[l]&&(o=`^${this.months(i,"",!0)}|^${this.monthsShort(i,"",!0)}`,this._monthsParse[l]=new RegExp(o.replace(".",""),"i")),a&&"MMMM"===n&&this._longMonthsParse[l].test(s)||a&&"MMM"===n&&this._shortMonthsParse[l].test(s)||!a&&this._monthsParse[l].test(s))return l}}monthsRegex(s){return this._monthsParseExact?(O(this,"_monthsRegex")||this.computeMonthsParse(),s?this._monthsStrictRegex:this._monthsRegex):(O(this,"_monthsRegex")||(this._monthsRegex=Ki),this._monthsStrictRegex&&s?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(s){return this._monthsParseExact?(O(this,"_monthsRegex")||this.computeMonthsParse(),s?this._monthsShortStrictRegex:this._monthsShortRegex):(O(this,"_monthsShortRegex")||(this._monthsShortRegex=Ji),this._monthsShortStrictRegex&&s?this._monthsShortStrictRegex:this._monthsShortRegex)}week(s,n){return Ne(s,this._week.dow,this._week.doy,n).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(s,n,a){if(!s)return L(this._weekdays)?this._weekdays:this._weekdays.standalone;if(L(this._weekdays))return this._weekdays[ne(s,a)];const i=this._weekdays.isFormat.test(n)?"format":"standalone";return this._weekdays[i][ne(s,a)]}weekdaysMin(s,n,a){return s?this._weekdaysMin[ne(s,a)]:this._weekdaysMin}weekdaysShort(s,n,a){return s?this._weekdaysShort[ne(s,a)]:this._weekdaysShort}weekdaysParse(s,n,a){let i,o;if(this._weekdaysParseExact)return this.handleWeekStrictParse(s,n,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){const l=_t(new Date(Date.UTC(2e3,1)),i,null,!0);if(a&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp(`^${this.weekdays(l,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[i]=new RegExp(`^${this.weekdaysShort(l,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[i]=new RegExp(`^${this.weekdaysMin(l,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[i]||(o=`^${this.weekdays(l,"",!0)}|^${this.weekdaysShort(l,"",!0)}|^${this.weekdaysMin(l,"",!0)}`,this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),!(L(this._fullWeekdaysParse)&&L(this._shortWeekdaysParse)&&L(this._minWeekdaysParse)&&L(this._weekdaysParse)))return;if(a&&"dddd"===n&&this._fullWeekdaysParse[i].test(s))return i;if(a&&"ddd"===n&&this._shortWeekdaysParse[i].test(s))return i;if(a&&"dd"===n&&this._minWeekdaysParse[i].test(s))return i;if(!a&&this._weekdaysParse[i].test(s))return i}}weekdaysRegex(s){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||this.computeWeekdaysParse(),s?this._weekdaysStrictRegex:this._weekdaysRegex):(O(this,"_weekdaysRegex")||(this._weekdaysRegex=it),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(s){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||this.computeWeekdaysParse(),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(O(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=it),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(s){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||this.computeWeekdaysParse(),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(O(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=it),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(s){return"p"===s.toLowerCase().charAt(0)}meridiem(s,n,a){return s>11?a?"pm":"PM":a?"am":"AM"}formatLongDate(s){this._longDateFormat=this._longDateFormat?this._longDateFormat:as;const n=this._longDateFormat[s],a=this._longDateFormat[s.toUpperCase()];return n||!a?n:(this._longDateFormat[s]=a.replace(/MMMM|MM|DD|dddd/g,i=>i.slice(1)),this._longDateFormat[s])}handleMonthStrictParse(s,n,a){const i=s.toLocaleLowerCase();let o,l,m;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)m=new Date(2e3,o),this._shortMonthsParse[o]=this.monthsShort(m,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(m,"").toLocaleLowerCase();return a?"MMM"===n?(l=this._shortMonthsParse.indexOf(i),-1!==l?l:null):(l=this._longMonthsParse.indexOf(i),-1!==l?l:null):"MMM"===n?(l=this._shortMonthsParse.indexOf(i),-1!==l?l:(l=this._longMonthsParse.indexOf(i),-1!==l?l:null)):(l=this._longMonthsParse.indexOf(i),-1!==l?l:(l=this._shortMonthsParse.indexOf(i),-1!==l?l:null))}handleWeekStrictParse(s,n,a){let i;const o=s.toLocaleLowerCase();if(!this._weekdaysParse){let l;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],l=0;l<7;++l){const m=_t(new Date(Date.UTC(2e3,1)),l,null,!0);this._minWeekdaysParse[l]=this.weekdaysMin(m).toLocaleLowerCase(),this._shortWeekdaysParse[l]=this.weekdaysShort(m).toLocaleLowerCase(),this._weekdaysParse[l]=this.weekdays(m,"").toLocaleLowerCase()}}if(L(this._weekdaysParse)&&L(this._shortWeekdaysParse)&&L(this._minWeekdaysParse))return a?"dddd"===n?(i=this._weekdaysParse.indexOf(o),-1!==i?i:null):"ddd"===n?(i=this._shortWeekdaysParse.indexOf(o),-1!==i?i:null):(i=this._minWeekdaysParse.indexOf(o),-1!==i?i:null):"dddd"===n?(i=this._weekdaysParse.indexOf(o),-1!==i||(i=this._shortWeekdaysParse.indexOf(o),-1!==i)?i:(i=this._minWeekdaysParse.indexOf(o),-1!==i?i:null)):"ddd"===n?(i=this._shortWeekdaysParse.indexOf(o),-1!==i||(i=this._weekdaysParse.indexOf(o),-1!==i)?i:(i=this._minWeekdaysParse.indexOf(o),-1!==i?i:null)):(i=this._minWeekdaysParse.indexOf(o),-1!==i||(i=this._weekdaysParse.indexOf(o),-1!==i)?i:(i=this._shortWeekdaysParse.indexOf(o),-1!==i?i:null))}computeMonthsParse(){const s=[],n=[],a=[];let i,o;for(o=0;o<12;o++)i=new Date(2e3,o),s.push(this.monthsShort(i,"")),n.push(this.months(i,"")),a.push(this.months(i,"")),a.push(this.monthsShort(i,""));for(s.sort(Ee),n.sort(Ee),a.sort(Ee),o=0;o<12;o++)s[o]=xe(s[o]),n[o]=xe(n[o]);for(o=0;o<24;o++)a[o]=xe(a[o]);this._monthsRegex=new RegExp(`^(${a.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${s.join("|")})`,"i")}computeWeekdaysParse(){const s=[],n=[],a=[],i=[];let o;for(o=0;o<7;o++){const l=_t(new Date(Date.UTC(2e3,1)),o,null,!0),m=this.weekdaysMin(l),_=this.weekdaysShort(l),M=this.weekdays(l);s.push(m),n.push(_),a.push(M),i.push(m),i.push(_),i.push(M)}for(s.sort(Ee),n.sort(Ee),a.sort(Ee),i.sort(Ee),o=0;o<7;o++)n[o]=xe(n[o]),a[o]=xe(a[o]),i[o]=xe(i[o]);this._weekdaysRegex=new RegExp(`^(${i.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${a.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${s.join("|")})`,"i")}}function Ee(e,s){return s.length-e.length}const Zi={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:as,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ni,monthsShort:ns,week:{dow:0,doy:6},weekdays:Ui,weekdaysMin:$i,weekdaysShort:ss,meridiemParse:/[ap]\.?m?\.?/i};function qi(e,s,n){const a=Math.min(e.length,s.length),i=Math.abs(e.length-s.length);let l,o=0;for(l=0;l0;){if(n=ps(i.slice(0,o).join("-")),n)return n;if(s&&s.length>=o&&qi(i,s,!0)>=o-1)break;o--}a++}return null}(L(e)?e:[e]):ct}const dt=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],Do=dt.reduce((e,s)=>(e[s]=!0,e),{});function hs(e){return e<0?Math.floor(e):Math.ceil(e)}function fs(e){return 4800*e/146097}function dn(e){return 146097*e/4800}let fe=Math.round;const ae_ss=44,ae_s=45,ae_m=45,ae_h=22,ae_d=26,ae_M=11;function vo(e,s,n,a,i){return i.relativeTime(s||1,!!n,e,a)}class gs{constructor(s,n={}){this._data={},this._locale=B(),this._locale=n&&n._locale||B();const i=s.year||0,o=s.quarter||0,l=s.month||0,m=s.week||0,_=s.day||0,M=s.hours||0,Te=s.minutes||0,oe=s.seconds||0,Wn=s.milliseconds||0;return this._isValid=function bo(e){if(Object.keys(e).some(a=>a in Do&&null===e[a]||isNaN(e[a])))return!1;let n=!1;for(let a=0;a=0&&n>=0&&a>=0||s<=0&&n<=0&&a<=0||(s+=864e5*hs(dn(a)+n),n=0,a=0),i.milliseconds=s%1e3;const o=we(s/1e3);i.seconds=o%60;const l=we(o/60);i.minutes=l%60;const m=we(l/60);i.hours=m%24,n+=we(m/24);const _=we(fs(n));a+=_,n-=hs(dn(_));const M=we(a/12);return a%=12,i.day=n,i.month=a,i.year=M,e}(this)}isValid(){return this._isValid}humanize(s){if(!this.isValid())return this.localeData().invalidDate;const n=this.localeData();let a=function yo(e,s,n){const a=fn(e).abs(),i=fe(a.as("s")),o=fe(a.as("m")),l=fe(a.as("h")),m=fe(a.as("d")),_=fe(a.as("M")),M=fe(a.as("y")),Te=i<=ae_ss&&["s",i]||i0,n])}(this,!s,n);return s&&(a=n.pastFuture(+this,a)),n.postformat(a)}localeData(){return this._locale}locale(s){return s?(this._locale=B(s)||this._locale,this):this._locale._abbr}abs(){const s=Math.abs,n=this._data;return this._milliseconds=s(this._milliseconds),this._days=s(this._days),this._months=s(this._months),n.milliseconds=s(n.milliseconds),n.seconds=s(n.seconds),n.minutes=s(n.minutes),n.hours=s(n.hours),n.month=s(n.month),n.year=s(n.year),this}as(s){if(!this.isValid())return NaN;let n,a;const i=this._milliseconds,o=Xn(s);if("month"===o||"year"===o)return n=this._days+i/864e5,a=this._months+fs(n),"month"===o?a:a/12;switch(n=this._days+Math.round(dn(this._months)),o){case"week":return n/7+i/6048e5;case"day":return n+i/864e5;case"hours":return 24*n+i/36e5;case"minutes":return 1440*n+i/6e4;case"seconds":return 86400*n+i/1e3;case"milliseconds":return Math.floor(864e5*n)+i;default:throw new Error(`Unknown unit ${o}`)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}}function mn(e){if(null==e._isValid){const s=y(e),n=Array.prototype.some.call(s.parsedDateParts,function(i){return null!=i});let a=!isNaN(e._d&&e._d.getTime())&&s.overflow<0&&!s.empty&&!s.invalidMonth&&!s.invalidWeekday&&!s.weekdayMismatch&&!s.nullInput&&!s.invalidFormat&&!s.userInvalidated&&(!s.meridiem||s.meridiem&&n);if(e._strict&&(a=a&&0===s.charsLeftOver&&0===s.unusedTokens.length&&void 0===s.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function Et(e,s){return e._d=new Date(NaN),Object.assign(y(e),s||{userInvalidated:!0}),e}const To=/^\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)?)?$/,wo=/^\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)?)?$/,Yo=/Z|[+-]\d\d(?::?\d\d)?/,jt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],un=[["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/]],Lo=/^\/?Date\((\-?\d+)/i,xo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},So=/^(?:(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}))$/;function Ds(e){if(!A(e._i))return e;const s=e._i,n=To.exec(s)||wo.exec(s);let a,i,o,l,m,_;if(!n)return e._isValid=!1,e;for(m=0,_=jt.length;m<_;m++)if(jt[m][1].exec(n[1])){i=jt[m][0],a=!1!==jt[m][2];break}if(null==i)return e._isValid=!1,e;if(n[3]){for(m=0,_=un.length;m<_;m++)if(un[m][1].exec(n[3])){o=(n[2]||" ")+un[m][0];break}if(null==o)return e._isValid=!1,e}if(!a&&null!=o)return e._isValid=!1,e;if(n[4]){if(!Yo.exec(n[4]))return e._isValid=!1,e;l="Z"}return e._f=i+(o||"")+(l||""),pn(e)}function Eo(e){const s=parseInt(e,10);return s<=49?s+2e3:s}function bs(e){if(!A(e._i))return e;const s=So.exec(function jo(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e._i));if(!s)return function Co(e){return e._isValid=!1,e}(e);const n=function Ro(e,s,n,a,i,o){const l=[Eo(e),ns.indexOf(s),parseInt(n,10),parseInt(a,10),parseInt(i,10)];return o&&l.push(parseInt(o,10)),l}(s[4],s[3],s[2],s[5],s[6],s[7]);return function Fo(e,s,n){return!e||ss.indexOf(e)===new Date(s[0],s[1],s[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}(s[1],n,e)&&(e._a=n,e._tzm=function Oo(e,s,n){if(e)return xo[e];if(s)return 0;{const a=parseInt(n,10),i=a%100;return(a-i)/100*60+i}}(s[8],s[9],s[10]),e._d=zt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0),e}function N(e,s,n,a,i=0){const o=B(n||"en");if(!o)throw new Error(`Locale "${n}" is not defined, please add it with "defineLocale(...)"`);const m=function Po(e,s,n,a,i=0){if(!pe(e))return n.invalidDate;const o=ks(s,n);return Xt[o]=Xt[o]||function fi(e){const s=e.match(zn),n=s.length,a=new Array(n);for(let i=0;is.formatLongDate(l)||l;for(i.lastIndex=0;a>=0&&i.test(n);)n=n.replace(i,o),i.lastIndex=0,a-=1;return n}function $e(e,s,n){return e??s??n}function _n(e){const s=[];let n,a,i;if(e._d)return e;const o=function Bo(e){const s=new Date;return e._useUTC?[s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()]:[s.getFullYear(),s.getMonth(),s.getDate()]}(e);for(e._w&&null==e._a[se]&&null==e._a[me]&&function Ho(e){let s,n,a,i,o,l,m;const _=e._w;if(null!=_.GG||null!=_.W||null!=_.E)i=1,o=4,s=$e(_.GG,e._a[Z],Ne(new Date,1,4).year),n=$e(_.W,1),a=$e(_.E,1),(a<1||a>7)&&(m=!0);else{i=e._locale._week.dow,o=e._locale._week.doy;const M=Ne(new Date,i,o);s=$e(_.gg,e._a[Z],M.year),n=$e(_.w,M.week),null!=_.d?(a=_.d,(a<0||a>6)&&(m=!0)):null!=_.e?(a=_.e+i,(_.e<0||_.e>6)&&(m=!0)):a=i}n<1||n>xt(s,i,o)?y(e)._overflowWeeks=!0:null!=m?y(e)._overflowWeekday=!0:(l=function Wi(e,s,n,a,i){const m=1+7*(s-1)+(7+n-a)%7+Lt(e,a,i);let _,M;return m<=0?(_=e-1,M=rt(_)+m):m>rt(e)?(_=e+1,M=m-rt(e)):(_=e,M=m),{year:_,dayOfYear:M}}(s,n,a,i,o),e._a[Z]=l.year,e._dayOfYear=l.dayOfYear)}(e),null!=e._dayOfYear&&(i=$e(e._a[Z],o[Z]),(e._dayOfYear>rt(i)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),a=new Date(Date.UTC(i,0,e._dayOfYear)),e._a[me]=a.getUTCMonth(),e._a[se]=a.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=s[n]=o[n];for(;n<7;n++)e._a[n]=s[n]=null==e._a[n]?2===n?1:0:e._a[n];24===e._a[E]&&0===e._a[q]&&0===e._a[ue]&&0===e._a[Se]&&(e._nextDay=!0,e._a[E]=0),e._d=(e._useUTC?zt:vt).apply(null,s);const l=e._useUTC?e._d.getUTCDay():e._d.getDay();return null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[E]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==l&&(y(e).weekdayMismatch=!0),e}function vs(e){let s;const n=e._a;return n&&-2===y(e).overflow&&(s=n[me]<0||n[me]>11?me:n[se]<1||n[se]>nn(n[Z],n[me])?se:n[E]<0||n[E]>24||24===n[E]&&(0!==n[q]||0!==n[ue]||0!==n[Se])?E:n[q]<0||n[q]>59?q:n[ue]<0||n[ue]>59?ue:n[Se]<0||n[Se]>999?Se:-1,y(e)._overflowDayOfYear&&(sse)&&(s=se),y(e)._overflowWeeks&&-1===s&&(s=Li),y(e)._overflowWeekday&&-1===s&&(s=xi),y(e).overflow=s),e}const Io="ISO_8601",Ao="RFC_2822";function pn(e){if(e._f===Io)return Ds(e);if(e._f===Ao)return bs(e);if(e._a=[],y(e).empty=!0,L(e._f)||!e._i&&0!==e._i)return e;let s=e._i.toString(),n=0;const a=s.length,i=ks(e._f,e._locale).match(zn)||[];let o,l,m,_;for(o=0;o0&&y(e).unusedInput.push(_),s=s.slice(s.indexOf(m)+m.length),n+=m.length),He[l]?(m?y(e).empty=!1:y(e).unusedTokens.push(l),Yi(l,m,e)):e._strict&&!m&&y(e).unusedTokens.push(l);return y(e).charsLeftOver=a-n,s.length>0&&y(e).unusedInput.push(s),e._a[E]<=12&&!0===y(e).bigHour&&e._a[E]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[E]=function Go(e,s,n){let a=s;if(null==n)return a;if(null!=e.meridiemHour)return e.meridiemHour(a,n);if(null==e.isPM)return a;const i=e.isPM(n);return i&&a<12&&(a+=12),!i&&12===a&&(a=0),a}(e._locale,e._a[E],e._meridiem),_n(e),vs(e)}function Uo(e){const s=vs(function $o(e){let s=e._i;const n=e._f;return e._locale=e._locale||B(e._l),null===s||void 0===n&&""===s?Et(e,{nullInput:!0}):(A(s)&&(e._i=s=e._locale.preparse(s,n)),kt(s)?(e._d=Re(s),e):(L(n)?function Wo(e){let s,n,a,i,o;if(!e._f||0===e._f.length)return y(e).invalidFormat=!0,Et(e);for(o=0;oA(a)?parseInt(a,10):a),_n(e)}else if(Le(s))!function No(e){if(e._d)return e;const s=e._i;if(Le(s)){const n=function hi(e){const s={};let n,a;for(a in e)O(e,a)&&(n=Xn(a),n&&(s[n]=e[a]));return s}(s);e._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map(a=>A(a)?parseInt(a,10):a)}return _n(e)}(e);else{if(!Be(s))return Et(e);e._d=new Date(s)}}(e),mn(e)||(e._d=null),e))}(e));return s._d=new Date(null!=s._d?s._d.getTime():NaN),mn(Object.assign({},s,{_isValid:null}))||(s._d=new Date(NaN)),s}function mt(e,s,n,a,i){return kt(e)?e:function zo(e,s,n,a,i){const o={};let l=e;return(Le(l)&&function pi(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;let s;for(s in e)if(e.hasOwnProperty(s))return!1;return!0}(l)||L(l)&&0===l.length)&&(l=void 0),o._useUTC=o._isUTC=i,o._l=n,o._i=l,o._f=s,o._strict=a,Uo(o)}(e,s,n,a,i)._d}function ys(e){return e instanceof Date?new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()):null}function hn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ee(e,s,n="milliseconds"){return!(!e||!s)&&("milliseconds"===n?e.valueOf()>s.valueOf():s.valueOf()<_e(e,n).valueOf())}function ie(e,s,n="milliseconds"){return!(!e||!s)&&("milliseconds"===n?e.valueOf()=3&&e%100<=10?3:e%100>=11?4:5},cr={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},U=function(e){return function(s,n){const a=ws(s);let i=cr[e][ws(s)];return 2===a&&(i=i[n?0:1]),i.replace(/%d/i,s.toString())}},Ys=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],dr={abbr:"ar",months:Ys,monthsShort:Ys,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:e=>"\u0645"===e,meridiem:(e,s,n)=>e<12?"\u0635":"\u0645",calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:U("s"),ss:U("s"),m:U("m"),mm:U("m"),h:U("h"),hh:U("h"),d:U("d"),dd:U("d"),M:U("M"),MM:U("M"),y:U("y"),yy:U("y")},preparse:e=>e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(s){return lr[s]}).replace(/\u060c/g,","),postformat:e=>e.replace(/\d/g,function(s){return rr[s]}).replace(/,/g,"\u060c"),week:{dow:6,doy:12}},mr={abbr:"bg",months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(e){switch(e){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){const s=Number(e);let n=s%10,a=s%100;return 0===s?s+"-\u0435\u0432":0===a?s+"-\u0435\u043d":a>10&&a<20?s+"-\u0442\u0438":1===n?s+"-\u0432\u0438":2===n?s+"-\u0440\u0438":7===n||8===n?s+"-\u043c\u0438":s+"-\u0442\u0438"},week:{dow:1,doy:7}};let Ls="gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),ur="ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),gn=[/^gen/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^oct/i,/^nov/i,/^des/i],xs=/^(gener|febrer|mar\xe7|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre|gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i;const _r={abbr:"ca",months:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?ur[v(e,n)]:Ls[v(e,n)]:Ls,monthsRegex:xs,monthsShortRegex:xs,monthsStrictRegex:/^(gener|febrer|mar\xe7|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i,monthsShortStrictRegex:/^(gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i,monthsParse:gn,longMonthsParse:gn,shortMonthsParse:gn,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"diu._dil._dim._dix._dij._div._dis.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:e=>"[avui a "+(k(e),"les] LT"),nextDay:e=>"[dema a "+(k(e),"les] LT"),nextWeek:e=>"dddd [a "+(k(e),"les] LT"),lastDay:e=>"[ahir a "+(k(e),"les] LT"),lastWeek:e=>"[el] dddd ["+(k(e),"passades les] LT"),sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(er|on|er|rt|\xe9)/,ordinal(e){const s=Number(e);return s+(s>4?"\xe9":1===s||3===s?"r":2===s?"n":4===s?"t":"\xe9")},week:{dow:1,doy:4}},Dn="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),bn="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function ze(e){return e>1&&e<5&&1!=~~(e/10)}function $(e,s,n,a){const i=e+" ";switch(n){case"s":return s||a?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return s||a?i+(ze(e)?"sekundy":"sekund"):i+"sekundami";case"m":return s?"minuta":a?"minutu":"minutou";case"mm":return s||a?i+(ze(e)?"minuty":"minut"):i+"minutami";case"h":return s?"hodina":a?"hodinu":"hodinou";case"hh":return s||a?i+(ze(e)?"hodiny":"hodin"):i+"hodinami";case"d":return s||a?"den":"dnem";case"dd":return s||a?i+(ze(e)?"dny":"dn\xed"):i+"dny";case"M":return s||a?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return s||a?i+(ze(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return s||a?"rok":"rokem";case"yy":return s||a?i+(ze(e)?"roky":"let"):i+"lety"}}const pr={abbr:"cs",months:Dn,monthsShort:bn,monthsParse:function(e,s){let n,a=[];for(n=0;n<12;n++)a[n]=new RegExp("^"+e[n]+"$|^"+s[n]+"$","i");return a}(Dn,bn),shortMonthsParse:function(e){let s,n=[];for(s=0;s<12;s++)n[s]=new RegExp("^"+e[s]+"$","i");return n}(bn),longMonthsParse:function(e){let s,n=[];for(s=0;s<12;s++)n[s]=new RegExp("^"+e[s]+"$","i");return n}(Dn),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek(e){switch(S(e)){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek(e){switch(S(e)){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:$,ss:$,m:$,mm:$,h:$,hh:$,d:$,dd:$,M:$,MM:$,y:$,yy:$},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},hr={abbr:"da",months:"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),weekdays:"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),weekdaysShort:"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),weekdaysMin:"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function ge(e,s,n,a){const i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return s?i[n][0]:i[n][1]}const fr={abbr:"de",months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:ge,mm:"%d Minuten",h:ge,hh:"%d Stunden",d:ge,dd:ge,M:ge,MM:ge,y:ge,yy:ge},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},gr={abbr:"en-gb",months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(e){const s=Number(e),n=s%10;return s+(1==~~(s%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")},week:{dow:1,doy:4}};let Ss="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Dr="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),kn=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Rs=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;const br={abbr:"es-do",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?Dr[v(e,n)]:Ss[v(e,n)]:Ss,monthsRegex:Rs,monthsShortRegex:Rs,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:kn,longMonthsParse:kn,shortMonthsParse:kn,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:e=>"[hoy a la"+(1!==k(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1ana a la"+(1!==k(e)?"s":"")+"] LT",nextWeek:e=>"dddd [a la"+(1!==k(e)?"s":"")+"] LT",lastDay:e=>"[ayer a la"+(1!==k(e)?"s":"")+"] LT",lastWeek:e=>"[el] dddd [pasado a la"+(1!==k(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}};let Es="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),kr="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),vn=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],js=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;const vr={abbr:"es",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?kr[v(e,n)]:Es[v(e,n)]:Es,monthsRegex:js,monthsShortRegex:js,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:vn,longMonthsParse:vn,shortMonthsParse:vn,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:e=>"[hoy a la"+(1!==k(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1ana a la"+(1!==k(e)?"s":"")+"] LT",nextWeek:e=>"dddd [a la"+(1!==k(e)?"s":"")+"] LT",lastDay:e=>"[ayer a la"+(1!==k(e)?"s":"")+"] LT",lastWeek:e=>"[el] dddd [pasado a la"+(1!==k(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}};"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_");let Os="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Mr="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");const Cr={abbr:"es-us",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?Mr[v(e,n)]:Os[v(e,n)]:Os,monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:e=>"[hoy a la"+(1!==k(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1ana a la"+(1!==k(e)?"s":"")+"] LT",nextWeek:e=>"dddd [a la"+(1!==k(e)?"s":"")+"] LT",lastDay:e=>"[ayer a la"+(1!==k(e)?"s":"")+"] LT",lastWeek:e=>"[el] dddd [pasado a la"+(1!==k(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}},te=function(e,s,n,a){const i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return s?i[n][2]?i[n][2]:i[n][1]:a?i[n][0]:i[n][1]},Tr={abbr:"et",months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:te,ss:te,m:te,mm:te,h:te,hh:te,d:te,dd:"%d p\xe4eva",M:te,MM:te,y:te,yy:te},dayOfMonthOrdinalParse:/\d{1,2}./,ordinal:"%d.",week:{dow:1,doy:4}};var Ft="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),wr=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",Ft[7],Ft[8],Ft[9]];function X(e,s,n,a){var i="";switch(n){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":return a?"sekunnin":"sekuntia";case"m":return a?"minuutin":"minuutti";case"mm":i=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":i=a?"tunnin":"tuntia";break;case"d":return a?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":i=a?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return a?"kuukauden":"kuukausi";case"MM":i=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":i=a?"vuoden":"vuotta"}return i=function Yr(e,s){return e<10?s?wr[e]:Ft[e]:e}(e,a)+" "+i,i}const Lr={abbr:"fi",months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:X,ss:X,m:X,mm:X,h:X,hh:X,d:X,dd:X,M:X,MM:X,y:X,yy:X},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},xr={abbr:"fr",months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal(e,s){const n=Number(e);switch(s){case"D":return n+(1===n?"er":"");default:case"M":case"Q":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}},week:{dow:1,doy:4}},Sr={abbr:"fr-ca",months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e|)/,ordinal(e,s){const n=Number(e);switch(s){case"D":return n+(1===n?"er":"");default:case"M":case"Q":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}},week:{dow:1,doy:4}};let Vs="xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),Rr="xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),yn=[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xu\xf1/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i],Ps=/^(xaneiro|febreiro|marzo|abril|maio|xu\xf1o|xullo|agosto|setembro|outubro|novembro|decembro|xan\.?|feb\.?|mar\.?|abr\.?|mai\.?|xu\xf1\.?|xul\.?|ago\.?|set\.?|out\.?|nov\.?|dec\.?)/i;const Er={abbr:"gl",months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?Rr[v(e,n)]:Vs[v(e,n)]:Vs,monthsRegex:Ps,monthsShortRegex:Ps,monthsStrictRegex:/^(xaneiro|febreiro|marzo|abril|maio|xu\xf1o|xullo|agosto|setembro|outubro|novembro|decembro)/i,monthsShortStrictRegex:/^(xan\.?|feb\.?|mar\.?|abr\.?|mai\.?|xu\xf1\.?|xul\.?|ago\.?|set\.?|out\.?|nov\.?|dec\.?)/i,monthsParse:yn,longMonthsParse:yn,shortMonthsParse:yn,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:e=>"[hoxe \xe1"+(1!==k(e)?"s":"")+"] LT",nextDay:e=>"[ma\xf1an \xe1"+(1!==k(e)?"s":"")+"] LT",nextWeek:e=>"dddd [\xe1"+(1!==k(e)?"s":"")+"] LT",lastDay:e=>"[onte \xe1"+(1!==k(e)?"s":"")+"] LT",lastWeek:e=>"[o] dddd [pasado \xe1"+(1!==k(e)?"s":"")+"] LT",sameElse:"L"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}},jr={abbr:"he",months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:e=>2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea",d:"\u05d9\u05d5\u05dd",dd:e=>2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd",M:"\u05d7\u05d5\u05d3\u05e9",MM:e=>2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd",y:"\u05e9\u05e0\u05d4",yy:e=>2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:e=>/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e),meridiem:(e,s,n)=>e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"};let Fr={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},Or={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};const Vr={abbr:"hi",months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:e=>e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(s){return Or[s]}),postformat:e=>e.replace(/\d/g,function(s){return Fr[s]}),meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:(e,s)=>(12===e&&(e=0),"\u0930\u093e\u0924"===s?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===s?e:"\u0926\u094b\u092a\u0939\u0930"===s?e>=10?e:e+12:"\u0936\u093e\u092e"===s?e+12:void 0),meridiem:(e,s,n)=>e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924",week:{dow:0,doy:6}};let Pr="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function z(e,s,n,a){switch(n){case"s":return a||s?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return e+(a||s?" m\xe1sodperc":" m\xe1sodperce");case"m":return"egy"+(a||s?" perc":" perce");case"mm":return e+(a||s?" perc":" perce");case"h":return"egy"+(a||s?" \xf3ra":" \xf3r\xe1ja");case"hh":return e+(a||s?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(a||s?" nap":" napja");case"dd":return e+(a||s?" nap":" napja");case"M":return"egy"+(a||s?" h\xf3nap":" h\xf3napja");case"MM":return e+(a||s?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(a||s?" \xe9v":" \xe9ve");case"yy":return e+(a||s?" \xe9v":" \xe9ve")}return""}function Bs(e,s){return(s?"":"[m\xfalt] ")+"["+Pr[S(e)]+"] LT[-kor]"}const Br={abbr:"hu",months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:e=>"u"===e.charAt(1).toLowerCase(),meridiem:(e,s,n)=>e<12?!0===n?"de":"DE":!0===n?"du":"DU",calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:e=>Bs(e,!0),lastDay:"[tegnap] LT[-kor]",lastWeek:e=>Bs(e,!1),sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:z,ss:z,m:z,mm:z,h:z,hh:z,d:z,dd:z,M:z,MM:z,y:z,yy:z},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},Hr={abbr:"hr",months:"Sije\u010danj_Velja\u010da_O\u017eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),monthsShort:"Sij_Velj_O\u017eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),weekdays:"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010cetvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned_Pon_Uto_Sri_\u010cet_Pet_Sub".split("_"),weekdaysMin:"Ne_Po_Ut_Sr_\u010ce_Pe_Su".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Danas u] LT",nextDay:"[Sutra u] LT",nextWeek:"dddd [u] LT",lastDay:"[Ju\u010der u] LT",lastWeek:"[Zadnji] dddd [u] LT",sameElse:"L"},invalidDate:"Neispravan datum",relativeTime:{future:"za %s",past:"%s prije",s:"nekoliko sekundi",ss:"%d sekundi",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godina"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:e=>Number(e)+".",week:{dow:1,doy:4}},Ir={abbr:"id",months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:(e,s)=>(12===e&&(e=0),"pagi"===s?e:"siang"===s?e>=11?e:e+12:"sore"===s||"malam"===s?e+12:void 0),meridiem:(e,s,n)=>e<11?"pagi":e<15?"siang":e<19?"sore":"malam",calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}},Ar={abbr:"it",months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:e=>0===S(e)?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT",sameElse:"L"},relativeTime:{future:e=>(/^[0-9].+$/.test(e.toString(10))?"tra":"in")+" "+e,past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}},Gr={abbr:"ja",months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5 HH:mm dddd"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:e=>"\u5348\u5f8c"===e,meridiem:(e,s,n)=>e<12?"\u5348\u524d":"\u5348\u5f8c",calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:"[\u6765\u9031]dddd LT",lastDay:"[\u6628\u65e5] LT",lastWeek:"[\u524d\u9031]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal(e,s){switch(s){case"d":case"D":case"DDD":return e+"\u65e5";default:return e.toString(10)}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}},Wr={abbr:"ka",months:{format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_"),standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future(e){var s=e.toString();return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(s)?s.replace(/\u10d8$/,"\u10e8\u10d8"):s+"\u10e8\u10d8"},past(e){var s=e.toString();return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(s)?s.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(s)?s.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal(e,s){const n=Number(e);return 0===n?n.toString():1===n?n+"-\u10da\u10d8":n<20||n<=100&&n%20==0||n%100==0?"\u10db\u10d4-"+n:n+"-\u10d4"},week:{dow:1,doy:4}},Mn={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"},Nr={abbr:"kk",months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:e=>e+(Mn[e]||Mn[e%10]||Mn[e>=100?100:null]),week:{dow:1,doy:7}},Ur={abbr:"ko",months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,s){switch(s){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e.toString(10)}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,s,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}},$r={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function Je(e,s,n,a){return s?De(n)[0]:a?De(n)[1]:De(n)[2]}function Hs(e){return e%10==0||e>10&&e<20}function De(e){return $r[e].split("_")}function Ke(e,s,n,a){let i=e+" ";return 1===e?i+Je(0,s,n[0],a):s?i+(Hs(e)?De(n)[1]:De(n)[0]):a?i+De(n)[1]:i+(Hs(e)?De(n)[1]:De(n)[2])}const zr={abbr:"lt",months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function Xr(e,s,n,a){return s?"kelios sekund\u0117s":a?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:Ke,m:Je,mm:Ke,h:Je,hh:Ke,d:Je,dd:Ke,M:Je,MM:Ke,y:Je,yy:Ke},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:e=>e+"-oji",week:{dow:1,doy:4}},Jr={abbr:"lv",months:"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012blis_Maijs_J\u016bnijs_J\u016blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mai_J\u016bn_J\u016bl_Aug_Sep_Okt_Nov_Dec".split("_"),weekdays:"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),weekdaysShort:"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),weekdaysMin:"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:"da\u017e\u0101m sekund\u0113m",ss:"%d sekund\u0113m",m:"min\u016btes",mm:"%d min\u016bt\u0113m",h:"stundas",hh:"%d stund\u0101m",d:"dienas",dd:"%d dien\u0101m",M:"m\u0113ne\u0161a",MM:"%d m\u0113ne\u0161iem",y:"gada",yy:"%d gadiem"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:e=>e+".",week:{dow:1,doy:4}};function J(e,s,n,a){switch(n){case"s":return s?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(s?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(s?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(s?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(s?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(s?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(s?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e.toString(10)}}const Kr={abbr:"mn",months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,s,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:J,ss:J,m:J,mm:J,h:J,hh:J,d:J,dd:J,M:J,MM:J,y:J,yy:J},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,s){switch(s){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e.toString(10)}}},Qr={abbr:"nb",months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};let Is="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Zr="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Cn=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],As=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;const qr={abbr:"nl-be",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?Zr[v(e,n)]:Is[v(e,n)]:Is,monthsRegex:As,monthsShortRegex:As,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Cn,longMonthsParse:Cn,shortMonthsParse:Cn,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(e){const s=Number(e);return s+(1===s||8===s||s>=20?"ste":"de")},week:{dow:1,doy:4}};let Gs="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),el="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Tn=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Ws=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;const tl={abbr:"nl",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:(e,s,n)=>e?/-MMM-/.test(s)?el[v(e,n)]:Gs[v(e,n)]:Gs,monthsRegex:Ws,monthsShortRegex:Ws,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Tn,longMonthsParse:Tn,shortMonthsParse:Tn,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(e){const s=Number(e);return s+(1===s||8===s||s>=20?"ste":"de")},week:{dow:1,doy:4}};let wn="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),Ns="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function pt(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function Oe(e,s,n){let a=e+" ";switch(n){case"ss":return a+(pt(e)?"sekundy":"sekund");case"m":return s?"minuta":"minut\u0119";case"mm":return a+(pt(e)?"minuty":"minut");case"h":return s?"godzina":"godzin\u0119";case"hh":return a+(pt(e)?"godziny":"godzin");case"MM":return a+(pt(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return a+(pt(e)?"lata":"lat")}}const nl={abbr:"pl",months:(e,s,n)=>e?""===s?"("+Ns[v(e,n)]+"|"+wn[v(e,n)]+")":/D MMMM/.test(s)?Ns[v(e,n)]:wn[v(e,n)]:wn,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek(e){switch(S(e)){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 5:return"[W pi\u0105tek o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek(e){switch(S(e)){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 4:return"[W zesz\u0142\u0105 czwartek o] LT";case 5:return"[W zesz\u0142\u0105 pi\u0105tek o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:Oe,m:Oe,mm:Oe,h:Oe,hh:Oe,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:Oe,y:"rok",yy:Oe},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},sl={abbr:"pt-br",months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:e=>0===S(e)||6===S(e)?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT",sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xe1s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"};function Qe(e,s,n){let i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}const al={abbr:"ro",months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:Qe,m:"un minut",mm:Qe,h:"o or\u0103",hh:Qe,d:"o zi",dd:Qe,M:"o lun\u0103",MM:Qe,y:"un an",yy:Qe},week:{dow:1,doy:7}};function Ve(e,s,n){return"m"===n?s?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function il(e,s){let n=e.split("_");return s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2]}({ss:s?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:s?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n],+e)}let Yn=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];const ol={abbr:"ru",months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:Yn,longMonthsParse:Yn,shortMonthsParse:Yn,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek(e,s){if(Ue(s)===Ue(e))return 2===S(e)?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(S(e)){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd [\u0432] LT"}},lastWeek(e,s){if(Ue(s)===Ue(e))return 2===S(e)?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(S(e)){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:Ve,m:Ve,mm:Ve,h:"\u0447\u0430\u0441",hh:Ve,d:"\u0434\u0435\u043d\u044c",dd:Ve,M:"\u043c\u0435\u0441\u044f\u0446",MM:Ve,y:"\u0433\u043e\u0434",yy:Ve},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:e=>/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e),meridiem:(e,s,n)=>e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430",dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal(e,s){const n=Number(e);switch(s){case"M":case"d":case"DDD":return n+"-\u0439";case"D":return n+"-\u0433\u043e";case"w":case"W":return n+"-\u044f";default:return n.toString(10)}},week:{dow:1,doy:4}};function Ze(e){return e>1&&e<5&&1!=~~(e/10)}function K(e,s,n,a){const i=e+" ";switch(n){case"s":return s||a?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return s||a?i+(Ze(e)?"sekundy":"sek\xfand"):i+"sekundami";case"m":return s?"min\xfata":a?"min\xfatu":"min\xfatou";case"mm":return s||a?i+(Ze(e)?"min\xfaty":"min\xfat"):i+"min\xfatami";case"h":return s?"hodina":a?"hodinu":"hodinou";case"hh":return s||a?i+(Ze(e)?"hodiny":"hod\xedn"):i+"hodinami";case"d":return s||a?"de\u0148":"d\u0148om";case"dd":return s||a?i+(Ze(e)?"dni":"dn\xed"):i+"d\u0148ami";case"M":return s||a?"mesiac":"mesiacom";case"MM":return s||a?i+(Ze(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return s||a?"rok":"rokom";case"yy":return s||a?i+(Ze(e)?"roky":"rokov"):i+"rokmi"}}const cl={abbr:"sk",months:"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek(e){switch(S(e)){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek(e){switch(S(e)){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"o %s",past:"pred %s",s:K,ss:K,m:K,mm:K,h:K,hh:K,d:K,dd:K,M:K,MM:K,y:K,yy:K},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function Q(e,s,n,a){var i=e+" ";switch(n){case"s":return s||a?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===e?s?"sekundo":"sekundi":2===e?s||a?"sekundi":"sekundah":e<5?s||a?"sekunde":"sekundah":"sekund");case"m":return s?"ena minuta":"eno minuto";case"mm":return i+(1===e?s?"minuta":"minuto":2===e?s||a?"minuti":"minutama":e<5?s||a?"minute":"minutami":s||a?"minut":"minutami");case"h":return s?"ena ura":"eno uro";case"hh":return i+(1===e?s?"ura":"uro":2===e?s||a?"uri":"urama":e<5?s||a?"ure":"urami":s||a?"ur":"urami");case"d":return s||a?"en dan":"enim dnem";case"dd":return i+(1===e?s||a?"dan":"dnem":2===e?s||a?"dni":"dnevoma":s||a?"dni":"dnevi");case"M":return s||a?"en mesec":"enim mesecem";case"MM":return i+(1===e?s||a?"mesec":"mesecem":2===e?s||a?"meseca":"mesecema":e<5?s||a?"mesece":"meseci":s||a?"mesecev":"meseci");case"y":return s||a?"eno leto":"enim letom";case"yy":return i+(1===e?s||a?"leto":"letom":2===e?s||a?"leti":"letoma":e<5?s||a?"leta":"leti":s||a?"let":"leti")}}const dl={abbr:"sl",months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek(e){switch(S(e)){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek(e){switch(S(e)){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:Q,ss:Q,m:Q,mm:Q,h:Q,hh:Q,d:Q,dd:Q,M:Q,MM:Q,y:Q,yy:Q},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}},ml={abbr:"sq",months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel\xeb_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"Di_He_Ma_Me_En_Pr_Sh".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"para %sve",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}},ul={abbr:"sv",months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal(e){const s=Number(e);let n=s%10;return s+(1==~~(s%100/10)?"e":1===n||2===n?"a":"e")},week:{dow:1,doy:4}},_l={abbr:"th",months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:e=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e,meridiem:(e,s,n)=>e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}},Ln={abbr:"th-be",months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:e=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e,meridiem:(e,s,n)=>e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"},preparse(e,s){const n=Ln.longDateFormat[s]?Ln.longDateFormat[s]:s;return-1!==n.indexOf("YYYY",n.length-4)?e.substr(0,e.length-4)+(parseInt(e.substr(e.length-4),10)-543):e},getFullYear:(e,s=!1)=>543+(s?e.getUTCFullYear():e.getFullYear())};let xn={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};const pl={abbr:"tr",months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|\xfcnc\xfc|nc\u0131|uncu|\u0131nc\u0131)/,ordinal(e){const s=Number(e);if(0===s)return s+"'\u0131nc\u0131";let n=s%10;return s+(xn[n]||xn[s%100-n]||xn[s>=100?100:null])},week:{dow:1,doy:7}};function Pe(e,s,n){return"m"===n?s?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?s?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+function hl(e,s){let n=e.split("_");return s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2]}({ss:s?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:s?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:s?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n],+e)}function qe(e){return function(s){return e+"\u043e"+(11===k(s)?"\u0431":"")+"] LT"}}const gl={abbr:"uk",months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function fl(e,s,n){let a={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return e?a[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(s)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(s)?"genitive":"nominative"][S(e,n)]:a.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:qe("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:qe("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:qe("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:qe("[\u0423] dddd ["),lastWeek(e){switch(S(e)){case 0:case 3:case 5:case 6:return qe("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [")(e);case 1:case 2:case 4:return qe("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [")(e)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:Pe,m:Pe,mm:Pe,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:Pe,d:"\u0434\u0435\u043d\u044c",dd:Pe,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:Pe,y:"\u0440\u0456\u043a",yy:Pe},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:e=>/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e),meridiem:(e,s,n)=>e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430",dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal(e,s){const n=Number(e);switch(s){case"M":case"d":case"DDD":case"w":case"W":return n+"-\u0439";case"D":return n+"-\u0433\u043e";default:return n.toString()}},week:{dow:1,doy:7}},Dl={abbr:"vi",months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:e=>/^ch$/i.test(e),meridiem:(e,s,n)=>e<12?n?"sa":"SA":n?"ch":"CH",longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:e=>""+e,week:{dow:1,doy:4}},bl={abbr:"zh-cn",months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:(e,s)=>(12===e&&(e=0),"\u51cc\u6668"===s||"\u65e9\u4e0a"===s||"\u4e0a\u5348"===s?e:"\u4e0b\u5348"===s||"\u665a\u4e0a"===s?e+12:e>=11?e:e+12),meridiem(e,s,n){let a=100*e+s;return a<600?"\u51cc\u6668":a<900?"\u65e9\u4e0a":a<1130?"\u4e0a\u5348":a<1230?"\u4e2d\u5348":a<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal(e,s){const n=Number(e);switch(s){case"d":case"D":case"DDD":return n+"\u65e5";case"M":return n+"\u6708";case"w":case"W":return n+"\u5468";default:return n.toString()}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}};var et=function(e){return e[e.UP=0]="UP",e[e.DOWN=1]="DOWN",e}(et||{}),t=r(54438);let I=(()=>{class e{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range",this.withTimepicker=!1,this.allowedPositions=["top","bottom"],this.keepDatepickerOpened=!1,this.keepDatesOutOfRules=!1}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Us=r(96697),be=r(35990),ht=r(57740),W=r(49969);const $s="220ms cubic-bezier(0, 0, 0.2, 1)",Ot=(0,W.hZ)("datepickerAnimation",[(0,W.wk)("animated-down",(0,W.iF)({height:"*",overflow:"hidden"})),(0,W.kY)("* => animated-down",[(0,W.iF)({height:0,overflow:"hidden"}),(0,W.i0)($s)]),(0,W.wk)("animated-up",(0,W.iF)({height:"*",overflow:"hidden"})),(0,W.kY)("* => animated-up",[(0,W.iF)({height:"*",overflow:"hidden"}),(0,W.i0)($s)]),(0,W.kY)("* => unanimated",(0,W.i0)("0s"))]);var Vt=r(18359);class Xs{constructor(){this.containerClass="",this.customRanges=[],this.chosenRange=[],this._daysCalendarSub=new Vt.yU,this.selectedTimeSub=new Vt.yU}set minDate(s){this._effects?.setMinDate(s)}set maxDate(s){this._effects?.setMaxDate(s)}set daysDisabled(s){this._effects?.setDaysDisabled(s)}set datesDisabled(s){this._effects?.setDatesDisabled(s)}set datesEnabled(s){this._effects?.setDatesEnabled(s)}set isDisabled(s){this._effects?.setDisabled(s)}set dateCustomClasses(s){this._effects?.setDateCustomClasses(s)}set dateTooltipTexts(s){this._effects?.setDateTooltipTexts(s)}set daysCalendar$(s){this._daysCalendar$=s,this._daysCalendarSub.unsubscribe(),this._daysCalendarSub.add(this._daysCalendar$.subscribe(n=>{this.multipleCalendars=!!n&&n.length>1}))}get daysCalendar$(){return this._daysCalendar$}setViewMode(s){}navigateTo(s){}dayHoverHandler(s){}weekHoverHandler(s){}monthHoverHandler(s){}yearHoverHandler(s){}timeSelectHandler(s,n){}daySelectHandler(s){}monthSelectHandler(s){}yearSelectHandler(s){}setRangeOnCalendar(s){}setToday(){}clearDate(){}_stopPropagation(s){s.stopPropagation()}}let x=(()=>{class e{static#e=this.CALCULATE="[datepicker] calculate dates matrix";static#t=this.FORMAT="[datepicker] format datepicker values";static#n=this.FLAG="[datepicker] set flags";static#s=this.SELECT="[datepicker] select date";static#a=this.NAVIGATE_OFFSET="[datepicker] shift view date";static#i=this.NAVIGATE_TO="[datepicker] change view date";static#o=this.SET_OPTIONS="[datepicker] update render options";static#r=this.HOVER="[datepicker] hover date";static#l=this.CHANGE_VIEWMODE="[datepicker] switch view mode";static#c=this.SET_MIN_DATE="[datepicker] set min date";static#d=this.SET_MAX_DATE="[datepicker] set max date";static#m=this.SET_DAYSDISABLED="[datepicker] set days disabled";static#u=this.SET_DATESDISABLED="[datepicker] set dates disabled";static#_=this.SET_DATESENABLED="[datepicker] set dates enabled";static#p=this.SET_IS_DISABLED="[datepicker] set is disabled";static#h=this.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes";static#f=this.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts";static#g=this.SET_LOCALE="[datepicker] set datepicker locale";static#D=this.SELECT_TIME="[datepicker] select time";static#b=this.SELECT_RANGE="[daterangepicker] select dates range";calculate(){return{type:e.CALCULATE}}format(){return{type:e.FORMAT}}flag(){return{type:e.FLAG}}select(n){return{type:e.SELECT,payload:n}}selectTime(n,a){return{type:e.SELECT_TIME,payload:{date:n,index:a}}}changeViewMode(n){return{type:e.CHANGE_VIEWMODE,payload:n}}navigateTo(n){return{type:e.NAVIGATE_TO,payload:n}}navigateStep(n){return{type:e.NAVIGATE_OFFSET,payload:n}}setOptions(n){return{type:e.SET_OPTIONS,payload:n}}selectRange(n){return{type:e.SELECT_RANGE,payload:n}}hoverDay(n){return{type:e.HOVER,payload:n.isHovered?n.cell.date:null}}minDate(n){return{type:e.SET_MIN_DATE,payload:n}}maxDate(n){return{type:e.SET_MAX_DATE,payload:n}}daysDisabled(n){return{type:e.SET_DAYSDISABLED,payload:n}}datesDisabled(n){return{type:e.SET_DATESDISABLED,payload:n}}datesEnabled(n){return{type:e.SET_DATESENABLED,payload:n}}isDisabled(n){return{type:e.SET_IS_DISABLED,payload:n}}setDateCustomClasses(n){return{type:e.SET_DATE_CUSTOM_CLASSES,payload:n}}setDateTooltipTexts(n){return{type:e.SET_DATE_TOOLTIP_TEXTS,payload:n}}setLocale(n){return{type:e.SET_LOCALE,payload:n}}static#k=this.\u0275fac=function(a){return new(a||e)};static#v=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var kl=r(84572),H=r(5964),vl=r(96354),Pt=r(84412);let tt=(()=>{class e{constructor(){this._defaultLocale="en",this._locale=new Pt.t(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(n){n!==this.currentLocale&&this._locale.next(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ke=(()=>{class e{constructor(n,a){this._actions=n,this._localeService=a,this._subs=[]}init(n){return this._store=n,this}setValue(n){this._store?.dispatch(this._actions.select(n))}setRangeValue(n){this._store?.dispatch(this._actions.selectRange(n))}setMinDate(n){return this._store?.dispatch(this._actions.minDate(n)),this}setMaxDate(n){return this._store?.dispatch(this._actions.maxDate(n)),this}setDaysDisabled(n){return this._store?.dispatch(this._actions.daysDisabled(n)),this}setDatesDisabled(n){return this._store?.dispatch(this._actions.datesDisabled(n)),this}setDatesEnabled(n){return this._store?.dispatch(this._actions.datesEnabled(n)),this}setDisabled(n){return this._store?.dispatch(this._actions.isDisabled(n)),this}setDateCustomClasses(n){return this._store?.dispatch(this._actions.setDateCustomClasses(n)),this}setDateTooltipTexts(n){return this._store?.dispatch(this._actions.setDateTooltipTexts(n)),this}setOptions(n){const a=Object.assign({locale:this._localeService.currentLocale},n);return this._store?.dispatch(this._actions.setOptions(a)),this}setBindings(n){return this._store?(n.selectedTime=this._store.select(a=>a.selectedTime).pipe((0,H.p)(a=>!!a)),n.daysCalendar$=this._store.select(a=>a.flaggedMonths).pipe((0,H.p)(a=>!!a)),n.monthsCalendar=this._store.select(a=>a.flaggedMonthsCalendar).pipe((0,H.p)(a=>!!a)),n.yearsCalendar=this._store.select(a=>a.yearsCalendarFlagged).pipe((0,H.p)(a=>!!a)),n.viewMode=this._store.select(a=>a.view?.mode),n.options$=(0,kl.z)([this._store.select(a=>a.showWeekNumbers),this._store.select(a=>a.displayMonths)]).pipe((0,vl.T)(a=>({showWeekNumbers:a[0],displayMonths:a[1]}))),this):this}setEventHandlers(n){return n.setViewMode=a=>{this._store?.dispatch(this._actions.changeViewMode(a))},n.navigateTo=a=>{this._store?.dispatch(this._actions.navigateStep(a.step))},n.dayHoverHandler=a=>{const i=a.cell;i.isOtherMonth||i.isDisabled||(this._store?.dispatch(this._actions.hoverDay(a)),i.isHovered=a.isHovered)},n.monthHoverHandler=a=>{a.cell.isHovered=a.isHovered},n.yearHoverHandler=a=>{a.cell.isHovered=a.isHovered},this}registerDatepickerSideEffects(){return this._store?(this._subs.push(this._store.select(n=>n.view).subscribe(()=>{this._store?.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(n=>n.monthsModel).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.format()))),this._subs.push(this._store.select(n=>n.formattedMonths).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.selectedDate).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.selectedRange).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.monthsCalendar).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.yearsCalendarModel).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.hoveredDate).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.dateCustomClasses).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(n=>n.dateTooltipTexts).pipe((0,H.p)(n=>!!n)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(n=>this._store?.dispatch(this._actions.setLocale(n)))),this):this}destroy(){for(const n of this._subs)n.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)(t.KVO(x),t.KVO(tt))};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var zs=r(38575);const Cl={date:new Date,mode:"day"},Js=Object.assign(new I,{locale:"en",view:Cl,selectedRange:[],selectedTime:[],monthViewOptions:{width:7,height:6}});function Sn(e,s,n){const a=s&&ie(Yt(e,"month"),s,"day"),i=n&&ee(_e(e,"month"),n,"day");return a||i||!1}function ft(e,s,n){const a=s&&ie(Yt(e,"year"),s,"day"),i=n&&ee(_e(e,"year"),n,"day");return a||i||!1}function Rn(e,s,n){return!!(s&&L(s)&&s.length)&&(n&&"year"===n&&!s[0].getDate()?s.some(a=>Xe(e,a,"year")):s.some(a=>Xe(e,a,"date")))}function En(e,s,n){return!!(s&&L(s)&&s.length)&&!s.some(a=>Xe(e,a,n||"date"))}function Ks(e,s=0){const n=e&&e.yearsCalendarModel&&e.yearsCalendarModel[s];return n?.years[0]&&n.years[0][0]&&n.years[0][0].date}function Qs(e,s){return!e||!s||!e.length&&!e[0].value||e.forEach(n=>(!n||!n.value||n.value instanceof Date||!(n.value instanceof Array&&n.value.length)||(n.value=Zs(n.value,s)),e)),e}function Bt(e,s){return!e||!s||e instanceof Array&&!e.length||e instanceof Date?e:Zs(e,s)}function Zs(e,s){return e instanceof Array?e.map(a=>a&&(ee(a,s,"date")&&(a=s),a)):e}function Ht(e){return e&&qs(e)}function It(e){return e?.length&&e.map(s=>s&&qs(s)),e}function qs(e){const s=new Date;return e.setMilliseconds(s.getMilliseconds()),e.setSeconds(s.getSeconds()),e.setMinutes(s.getMinutes()),e.setHours(s.getHours()),e}function jn(e,s){let n=e.initialDate;const a=new Array(e.height);for(let i=0;il),month:n}}function Ll(e,s,n){return e.map(a=>a[0]?N(a[0],s,n):"")}function xl(e){const s=B(e),n=s.weekdaysShort(),a=s.firstDayOfWeek();return[...n.slice(a),...n.slice(0,a)]}function ea(e,s){return!s||e>=s}const El=4,jl=3,Fl={month:1};function ta(e,s){const n=_e(e,"year");return{months:jn({width:jl,height:El,initialDate:n,shift:Fl},o=>({date:o,label:N(o,s.monthLabel,s.locale)})),monthTitle:"",yearTitle:N(e,s.yearTitle,s.locale),hideRightArrow:!1,hideLeftArrow:!1,disableRightArrow:!1,disableLeftArrow:!1}}const On=4,Vn=4,At=On*Vn,na=-1*(Math.floor(At/2)-1),Vl={year:1};function sa(e,s,n){const a=function Pl(e,s){return s&&e.getFullYear()>=s.getFullYear()&&e.getFullYear()({date:m,label:N(m,s.yearLabel,s.locale)})),l=function Bl(e,s){return`${N(e[0][0].date,s.yearTitle,s.locale)} - ${N(e[On-1][Vn-1].date,s.yearTitle,s.locale)}`}(o,s);return{years:o,monthTitle:"",yearTitle:l,hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function Gt(e,s){!e||!isNaN(e.getTime())||(e.setHours(s.getHours()),e.setMinutes(s.getMinutes()),e.setSeconds(s.getSeconds()),e.setMilliseconds(s.getMilliseconds()))}function aa(e=Js,s){switch(s.type){case x.CALCULATE:return function Il(e){if(!e.view)return e;let s;s=e.displayOneMonthRange&&ia(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths||1;let n=e.view.date;if("day"===e.view.mode&&e.monthViewOptions){e.showPreviousMonth&&e.selectedRange&&0===e.selectedRange.length&&(n=j(n,{month:-1})),e.monthViewOptions.firstDayOfWeek=B(e.locale).firstDayOfWeek();let a=new Array(s);for(let i=0;ie.monthViewOptions?Fn(o.month,e.monthViewOptions):null).filter(o=>null!==o))}return Object.assign({},e,{monthsModel:a})}if("month"===e.view.mode){const a=new Array(s);for(let i=0;ifunction Yl(e,s,n){return{month:e.month,monthTitle:N(e.month,s.monthTitle,s.locale),yearTitle:N(e.month,s.yearTitle,s.locale),weekNumbers:Ll(e.daysMatrix,s.weekNumbers,s.locale),weekdays:xl(s.locale),weeks:e.daysMatrix.map((a,i)=>({days:a.map((o,l)=>({date:o,label:N(o,s.dayLabel,s.locale),monthIndex:n,weekIndex:i,dayIndex:l}))})),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}(i,gt(e),o));return Object.assign({},e,{formattedMonths:a})}const s=e.displayMonths||1;let n=e.view.date;if("month"===e.view.mode){const a=new Array(s);for(let i=0;ifunction Sl(e,s){return e.weeks.forEach(n=>{n.days.forEach((a,i)=>{const o=!Ae(a.date,e.month),l=!o&&he(a.date,s.hoveredDate),m=!o&&s.selectedRange&&he(a.date,s.selectedRange[0]),_=!o&&s.selectedRange&&he(a.date,s.selectedRange[1]),M=!o&&he(a.date,s.selectedDate)||m||_,Te=!o&&s.selectedRange&&function Rl(e,s,n){return!!(e&&s&&s[0])&&(s[1]?e>s[0]&&e<=s[1]:!!n&&e>s[0]&&e<=n)}(a.date,s.selectedRange,s.hoveredDate),oe=s.isDisabled||ie(a.date,s.minDate,"day")||ee(a.date,s.maxDate,"day")||function Jo(e,s){return!(typeof s>"u"||!s||!s.length)&&s.some(n=>n===e.getDay())}(a.date,s.daysDisabled)||Rn(a.date,s.datesDisabled)||En(a.date,s.datesEnabled),um=!o&&he(a.date,new Date),_m=s.dateCustomClasses&&s.dateCustomClasses.map(le=>he(a.date,le.date)?le.classes:[]).reduce((le,Nn)=>le.concat(Nn),[]).join(" ")||"",pm=s.dateTooltipTexts&&s.dateTooltipTexts.map(le=>he(a.date,le.date)?le.tooltipText:"").reduce((le,Nn)=>(le.push(Nn),le),[]).join(" ")||"",re=Object.assign({},a,{isOtherMonth:o,isHovered:l,isSelected:M,isSelectionStart:m,isSelectionEnd:_,isInRange:Te,isDisabled:oe,isToday:um,customClasses:_m,tooltipText:pm});(a.isOtherMonth!==re.isOtherMonth||a.isHovered!==re.isHovered||a.isSelected!==re.isSelected||a.isSelectionStart!==re.isSelectionStart||a.isSelectionEnd!==re.isSelectionEnd||a.isDisabled!==re.isDisabled||a.isInRange!==re.isInRange||a.customClasses!==re.customClasses||a.tooltipText!==re.tooltipText)&&(n.days[i]=re)})}),e.hideLeftArrow=s.isDisabled||!!s.monthIndex&&s.monthIndex>0&&s.monthIndex!==s.displayMonths,e.hideRightArrow=s.isDisabled||(!!s.monthIndex||0===s.monthIndex)&&!!s.displayMonths&&s.monthIndexfunction Ol(e,s){return e.months.forEach((n,a)=>{n.forEach((i,o)=>{let l;const m=Ae(i.date,s.hoveredMonth),_=s.isDisabled||Rn(i.date,s.datesDisabled)||En(i.date,s.datesEnabled,"month")||Sn(i.date,s.minDate,s.maxDate);!s.selectedDate&&s.selectedRange?(l=Ae(i.date,s.selectedRange[0]),l||(l=Ae(i.date,s.selectedRange[1]))):l=Ae(i.date,s.selectedDate);const M=Object.assign(i,{isHovered:m,isDisabled:_,isSelected:l});(i.isHovered!==M.isHovered||i.isDisabled!==M.isDisabled||i.isSelected!==M.isSelected)&&(e.months[a][o]=M)})}),e.hideLeftArrow=!!s.monthIndex&&s.monthIndex>0&&s.monthIndex!==s.displayMonths,e.hideRightArrow=(!!s.monthIndex||0===s.monthIndex)&&(!!s.displayMonths||0===s.displayMonths)&&s.monthIndexfunction Hl(e,s){e.years.forEach((i,o)=>{i.forEach((l,m)=>{let _;const M=Ge(l.date,s.hoveredYear),Te=s.isDisabled||Rn(l.date,s.datesDisabled,"year")||En(l.date,s.datesEnabled,"year")||ft(l.date,s.minDate,s.maxDate);!s.selectedDate&&s.selectedRange?(_=Ge(l.date,s.selectedRange[0]),_||(_=Ge(l.date,s.selectedRange[1]))):_=Ge(l.date,s.selectedDate);const oe=Object.assign(l,{isHovered:M,isDisabled:Te,isSelected:_});(l.isHovered!==oe.isHovered||l.isDisabled!==oe.isDisabled||l.isSelected!==oe.isSelected)&&(e.years[o][m]=oe)})}),e.hideLeftArrow=!!s.yearIndex&&s.yearIndex>0&&s.yearIndex!==s.displayMonths,e.hideRightArrow=!!s.yearIndex&&!!s.displayMonths&&s.yearIndexl)),n.value instanceof Date&&(n.selectedDate=n.value,n.selectedTime=[n.value])),Object.assign({},e,n)}case x.SELECT_RANGE:{if(!e.view)return e;const n={selectedRange:s.payload,view:e.view};n.selectedRange?.forEach((l,m)=>{if(Array.isArray(e.selectedTime)){const _=e.selectedTime[m];_&&Gt(l,_)}});const a=e.view.mode,o=Pn(s.payload&&s.payload[0]||e.view.date,e.minDate,e.maxDate);return n.view={mode:a,date:o},Object.assign({},e,n)}case x.SET_MIN_DATE:return Object.assign({},e,{minDate:s.payload});case x.SET_MAX_DATE:return Object.assign({},e,{maxDate:s.payload});case x.SET_IS_DISABLED:return Object.assign({},e,{isDisabled:s.payload});case x.SET_DATE_CUSTOM_CLASSES:return Object.assign({},e,{dateCustomClasses:s.payload});case x.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},e,{dateTooltipTexts:s.payload});default:return e}}function gt(e){return{locale:e.locale,monthTitle:e.monthTitle,yearTitle:e.yearTitle,dayLabel:e.dayLabel,monthLabel:e.monthLabel,yearLabel:e.yearLabel,weekNumbers:e.weekNumbers}}function Pn(e,s,n){const a=Array.isArray(e)?e[0]:e;return s&&ee(s,a,"day")?s:n&&ie(n,a,"day")?n:a}function ia(e,s,n){return!(!n||!Xe(n,e,"day"))||s&&n&&s.getMonth()===n.getMonth()}let ve=(()=>{class e extends zs.F{constructor(){const n=new Pt.t({type:"[datepicker] dispatcher init"});super(n,aa,new zs.n(Js,n,aa))}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ul(e,s){if(1&e){const n=t.RV6();t.j41(0,"button",2),t.bIt("click",function(){const i=t.eBV(n).$implicit,o=t.XpG();return t.Njj(o.selectFromRanges(i))}),t.EFF(1),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG();t.AVh("selected",n.value===a.selectedRange),t.R7$(),t.SpI(" ",n.label," ")}}let Wt=(()=>{class e{constructor(){this.onSelect=new t.bkB}selectFromRanges(n){this.onSelect.emit(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},standalone:!0,features:[t.aNF],decls:2,vars:1,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(a,i){1&a&&(t.j41(0,"div",0),t.DNE(1,Ul,2,3,"button",1),t.k0s()),2&a&&(t.R7$(),t.Y8G("ngForOf",i.ranges))},dependencies:[d.pM],encapsulation:2,changeDetection:0})}return e})();function $l(e,s){if(1&e){const n=t.RV6();t.qex(0),t.EFF(1," \u200b "),t.j41(2,"button",2),t.bIt("click",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.view("month"))}),t.j41(3,"span"),t.EFF(4),t.k0s()(),t.bVm()}if(2&e){const n=t.XpG();t.R7$(2),t.Y8G("disabled",n.isDisabled),t.R7$(2),t.JRh(n.calendar.monthTitle)}}let Bn=(()=>{class e{constructor(){this.isDisabled=!1,this.onNavigate=new t.bkB,this.onViewMode=new t.bkB}navTo(n){this.onNavigate.emit(n?et.DOWN:et.UP)}view(n){this.isDisabled||this.onViewMode.emit(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},standalone:!0,features:[t.aNF],decls:12,vars:9,consts:[["type","button",1,"previous",3,"click","disabled"],[4,"ngIf"],["type","button",1,"current",3,"click","disabled"],["type","button",1,"next",3,"click","disabled"]],template:function(a,i){1&a&&(t.j41(0,"button",0),t.bIt("click",function(){return i.navTo(!0)}),t.j41(1,"span"),t.EFF(2,"\u2039"),t.k0s()(),t.DNE(3,$l,5,2,"ng-container",1),t.EFF(4," \u200b "),t.j41(5,"button",2),t.bIt("click",function(){return i.view("year")}),t.j41(6,"span"),t.EFF(7),t.k0s()(),t.EFF(8," \u200b "),t.j41(9,"button",3),t.bIt("click",function(){return i.navTo(!1)}),t.j41(10,"span"),t.EFF(11,"\u203a"),t.k0s()()),2&a&&(t.xc7("visibility",i.calendar.hideLeftArrow?"hidden":"visible"),t.Y8G("disabled",i.calendar.disableLeftArrow),t.R7$(3),t.Y8G("ngIf",i.calendar&&i.calendar.monthTitle),t.R7$(2),t.Y8G("disabled",i.isDisabled),t.R7$(2),t.JRh(i.calendar.yearTitle),t.R7$(2),t.xc7("visibility",i.calendar.hideRightArrow?"hidden":"visible"),t.Y8G("disabled",i.calendar.disableRightArrow))},dependencies:[d.bT],encapsulation:2,changeDetection:0})}return e})(),Xl=(()=>{class e{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-timepicker"]],standalone:!0,features:[t.aNF],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-controls"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"button",2),t.EFF(3,"-"),t.k0s(),t.nrm(4,"input",3),t.j41(5,"button",4),t.EFF(6,"+"),t.k0s()(),t.j41(7,"div",1)(8,"button",2),t.EFF(9,"-"),t.k0s(),t.nrm(10,"input",3),t.j41(11,"button",4),t.EFF(12,"+"),t.k0s()(),t.j41(13,"button",5),t.EFF(14),t.nrm(15,"img",6),t.k0s()()),2&a&&(t.R7$(4),t.Y8G("value",i.hours),t.R7$(6),t.Y8G("value",i.minutes),t.R7$(4),t.SpI("",i.ampm," "))},encapsulation:2})}return e})(),zl=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-current-date"]],inputs:{title:"title"},standalone:!0,features:[t.aNF],decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"span"),t.EFF(2),t.k0s()()),2&a&&(t.R7$(2),t.JRh(i.title))},encapsulation:2})}return e})();const Jl=[[["bs-datepicker-navigation-view"]],"*"],Kl=["bs-datepicker-navigation-view","*"];function Ql(e,s){1&e&&t.nrm(0,"bs-current-date",4)}function Zl(e,s){1&e&&t.nrm(0,"bs-timepicker")}let Hn=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-calendar-layout"]],standalone:!0,features:[t.aNF],ngContentSelectors:Kl,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(a,i){1&a&&(t.NAR(Jl),t.DNE(0,Ql,1,0,"bs-current-date",0),t.j41(1,"div",1),t.SdG(2),t.k0s(),t.j41(3,"div",2),t.SdG(4,1),t.k0s(),t.DNE(5,Zl,1,0,"bs-timepicker",3)),2&a&&(t.Y8G("ngIf",!1),t.R7$(5),t.Y8G("ngIf",!1))},dependencies:[d.bT,zl,Xl],encapsulation:2})}return e})();function ql(e,s){if(1&e){const n=t.RV6();t.j41(0,"td",4),t.bIt("click",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.viewYear(i))})("mouseenter",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.hoverYear(i,!0))})("mouseleave",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.hoverYear(i,!1))}),t.j41(1,"span"),t.EFF(2),t.k0s()()}if(2&e){const n=s.$implicit;t.AVh("disabled",n.isDisabled)("is-highlighted",n.isHovered),t.R7$(),t.AVh("selected",n.isSelected),t.R7$(),t.JRh(n.label)}}function ec(e,s){if(1&e&&(t.j41(0,"tr"),t.DNE(1,ql,3,7,"td",3),t.k0s()),2&e){const n=s.$implicit;t.R7$(),t.Y8G("ngForOf",n)}}let Nt=(()=>{class e{constructor(){this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB}navigateTo(n){this.onNavigate.emit({step:{year:(et.DOWN===n?-1:1)*At}})}viewYear(n){this.onSelect.emit(n)}hoverYear(n,a){this.onHover.emit({cell:n,isHovered:a})}changeViewMode(n){this.onViewMode.emit(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},standalone:!0,features:[t.aNF],decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(a,i){1&a&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(l){return i.navigateTo(l)})("onViewMode",function(l){return i.changeViewMode(l)}),t.k0s(),t.j41(2,"table",1)(3,"tbody"),t.DNE(4,ec,2,1,"tr",2),t.k0s()()()),2&a&&(t.R7$(),t.Y8G("calendar",i.calendar),t.R7$(3),t.Y8G("ngForOf",null==i.calendar?null:i.calendar.years))},dependencies:[Hn,Bn,d.pM],encapsulation:2})}return e})();function tc(e,s){if(1&e){const n=t.RV6();t.j41(0,"td",4),t.bIt("click",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.viewMonth(i))})("mouseenter",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.hoverMonth(i,!0))})("mouseleave",function(){const i=t.eBV(n).$implicit,o=t.XpG(2);return t.Njj(o.hoverMonth(i,!1))}),t.j41(1,"span"),t.EFF(2),t.k0s()()}if(2&e){const n=s.$implicit;t.AVh("disabled",n.isDisabled)("is-highlighted",n.isHovered),t.R7$(),t.AVh("selected",n.isSelected),t.R7$(),t.JRh(n.label)}}function nc(e,s){if(1&e&&(t.j41(0,"tr"),t.DNE(1,tc,3,7,"td",3),t.k0s()),2&e){const n=s.$implicit;t.R7$(),t.Y8G("ngForOf",n)}}let Ut=(()=>{class e{constructor(){this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB}navigateTo(n){this.onNavigate.emit({step:{year:et.DOWN===n?-1:1}})}viewMonth(n){this.onSelect.emit(n)}hoverMonth(n,a){this.onHover.emit({cell:n,isHovered:a})}changeViewMode(n){this.onViewMode.emit(n)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},standalone:!0,features:[t.aNF],decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(a,i){1&a&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(l){return i.navigateTo(l)})("onViewMode",function(l){return i.changeViewMode(l)}),t.k0s(),t.j41(2,"table",1)(3,"tbody"),t.DNE(4,nc,2,1,"tr",2),t.k0s()()()),2&a&&(t.R7$(),t.Y8G("calendar",i.calendar),t.R7$(3),t.Y8G("ngForOf",null==i.calendar?null:i.calendar.months))},dependencies:[Hn,Bn,d.pM],encapsulation:2})}return e})();var oa=r(60944);const sc=["bsDatepickerDayDecorator",""];let ac=(()=>{class e{constructor(n,a,i){this._config=n,this._elRef=a,this._renderer=i,this.day={date:new Date,label:""}}ngOnInit(){this.day?.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day?.customClasses&&this.day?.customClasses.split(" ").filter(n=>n).forEach(n=>{this._renderer.addClass(this._elRef.nativeElement,n)})}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(I),t.rXU(t.aKT),t.rXU(t.sFG))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(a,i){2&a&&t.AVh("disabled",i.day.isDisabled)("is-highlighted",i.day.isHovered)("is-other-month",i.day.isOtherMonth)("is-active-other-month",i.day.isOtherMonthHovered)("in-range",i.day.isInRange)("select-start",i.day.isSelectionStart)("select-end",i.day.isSelectionEnd)("selected",i.day.isSelected)},inputs:{day:"day"},standalone:!0,features:[t.aNF],attrs:sc,decls:1,vars:1,template:function(a,i){1&a&&t.EFF(0),2&a&&t.JRh(i.day&&i.day.label||"")},encapsulation:2,changeDetection:0})}return e})();var ic=r(69186);function oc(e,s){1&e&&t.nrm(0,"th")}function rc(e,s){if(1&e&&(t.j41(0,"th",5),t.EFF(1),t.k0s()),2&e){const n=s.index,a=t.XpG();t.R7$(),t.SpI("",a.calendar.weekdays[n]," ")}}function lc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",11),t.bIt("click",function(){t.eBV(n);const i=t.XpG(2).$implicit,o=t.XpG();return t.Njj(o.selectWeek(i))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG(2).index,a=t.XpG();t.R7$(),t.JRh(a.calendar.weekNumbers[n])}}function cc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",12),t.bIt("click",function(){t.eBV(n);const i=t.XpG(2).$implicit,o=t.XpG();return t.Njj(o.selectWeek(i))})("mouseenter",function(){t.eBV(n);const i=t.XpG(2).$implicit,o=t.XpG();return t.Njj(o.weekHoverHandler(i,!0))})("mouseleave",function(){t.eBV(n);const i=t.XpG(2).$implicit,o=t.XpG();return t.Njj(o.weekHoverHandler(i,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG(2).index,a=t.XpG();t.R7$(),t.JRh(a.calendar.weekNumbers[n])}}function dc(e,s){if(1&e&&(t.j41(0,"td",8),t.DNE(1,lc,2,1,"span",9)(2,cc,2,1,"span",10),t.k0s()),2&e){const n=t.XpG(2);t.AVh("active-week",n.isWeekHovered),t.R7$(),t.Y8G("ngIf",n.isiOS),t.R7$(),t.Y8G("ngIf",!n.isiOS)}}function mc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",17),t.bIt("click",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.selectDay(i))})("mouseenter",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.hoverDay(i,!0))})("mouseleave",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.hoverDay(i,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.FS9("tooltip",n.tooltipText),t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 3")}}function uc(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",18),t.bIt("click",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.selectDay(i))})("mouseenter",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.hoverDay(i,!0))})("mouseleave",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.hoverDay(i,!1))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 2")}}function _c(e,s){if(1&e){const n=t.RV6();t.j41(0,"span",19),t.bIt("click",function(){t.eBV(n);const i=t.XpG().$implicit,o=t.XpG(2);return t.Njj(o.selectDay(i))}),t.EFF(1),t.k0s()}if(2&e){const n=t.XpG().$implicit;t.Y8G("day",n),t.R7$(),t.SpI("",n.label," 1")}}function pc(e,s){if(1&e&&(t.j41(0,"td",13),t.DNE(1,mc,2,3,"span",14)(2,uc,2,2,"span",15)(3,_c,2,2,"span",16),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",!n.isiOS&&n.isShowTooltip),t.R7$(),t.Y8G("ngIf",!n.isiOS&&!n.isShowTooltip),t.R7$(),t.Y8G("ngIf",n.isiOS)}}function hc(e,s){if(1&e&&(t.j41(0,"tr"),t.DNE(1,dc,3,4,"td",6)(2,pc,4,3,"td",7),t.k0s()),2&e){const n=s.$implicit,a=t.XpG();t.R7$(),t.Y8G("ngIf",a.options&&a.options.showWeekNumbers),t.R7$(),t.Y8G("ngForOf",n.days)}}let Dt=(()=>{class e{constructor(n){this._config=n,this.onNavigate=new t.bkB,this.onViewMode=new t.bkB,this.onSelect=new t.bkB,this.onHover=new t.bkB,this.onHoverWeek=new t.bkB,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(n){this.onNavigate.emit({step:{month:et.DOWN===n?-1:1}})}changeViewMode(n){this.onViewMode.emit(n)}selectDay(n){this.onSelect.emit(n)}selectWeek(n){if(!this._config.selectWeek&&!this._config.selectWeekDateRange||0===n.days.length)return;if(this._config.selectWeek&&n.days[0]&&!n.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(n.days[0]);const a=n.days.find(i=>(this._config.selectFromOtherMonth||!i.isOtherMonth)&&!i.isDisabled);if(this.onSelect.emit(a),this._config.selectWeekDateRange){const o=n.days.slice(0).reverse().find(l=>(this._config.selectFromOtherMonth||!l.isOtherMonth)&&!l.isDisabled);this.onSelect.emit(o)}}weekHoverHandler(n,a){(this._config.selectWeek||this._config.selectWeekDateRange)&&n.days.find(o=>(this._config.selectFromOtherMonth||!o.isOtherMonth)&&!o.isDisabled)&&(n.isHovered=a,this.isWeekHovered=a,this.onHoverWeek.emit(n))}hoverDay(n,a){this._config.selectFromOtherMonth&&n.isOtherMonth&&(n.isOtherMonthHovered=a),this._config.dateTooltipTexts&&(n.tooltipText="",this._config.dateTooltipTexts.forEach(i=>{he(i.date,n.date)&&(n.tooltipText=i.tooltipText)})),this.onHover.emit({cell:n,isHovered:a})}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(I))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},standalone:!0,features:[t.aNF],decls:9,vars:5,consts:[[3,"onNavigate","onViewMode","calendar","isDisabled"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click",4,"ngIf"],[3,"click","mouseenter","mouseleave",4,"ngIf"],[3,"click"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click",4,"ngIf"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day","tooltip"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day"],["bsDatepickerDayDecorator","",3,"click","day"]],template:function(a,i){1&a&&(t.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),t.bIt("onNavigate",function(l){return i.navigateTo(l)})("onViewMode",function(l){return i.changeViewMode(l)}),t.k0s(),t.j41(2,"table",1)(3,"thead")(4,"tr"),t.DNE(5,oc,1,0,"th",2)(6,rc,2,1,"th",3),t.k0s()(),t.j41(7,"tbody"),t.DNE(8,hc,3,2,"tr",4),t.k0s()()()),2&a&&(t.R7$(),t.Y8G("calendar",i.calendar)("isDisabled",!!i.isDisabled),t.R7$(4),t.Y8G("ngIf",i.options&&i.options.showWeekNumbers),t.R7$(),t.Y8G("ngForOf",i.calendar.weekdays),t.R7$(2),t.Y8G("ngForOf",i.calendar.weeks))},dependencies:[Hn,Bn,d.bT,d.pM,ac,oa.Ss,ic.d],encapsulation:2})}return e})();var $t=r(34156);const fc=["startTP"];function gc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.dayHoverHandler(i))})("onHoverWeek",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.weekHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.daySelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)("isDisabled",a.isDatePickerDisabled)("options",t.bMT(1,5,a.options$))}}function Dc(e,s){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function bc(e,s){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,Dc,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function kc(e,s){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,gc,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,bc,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function vc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function yc(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,vc,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function Mc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function Cc(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,Mc,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function Tc(e,s){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function wc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function Yc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function Lc(e,s){if(1&e&&(t.j41(0,"div",19),t.DNE(1,wc,3,7,"div",22)(2,Yc,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function xc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(i){t.eBV(n);const o=t.XpG(2);return t.Njj(o.setRangeOnCalendar(i))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function Sc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,kc,5,4,"ng-container",6)(5,yc,3,3,"div",7)(6,Cc,3,3,"div",7),t.k0s(),t.DNE(7,Tc,5,0,"div",8)(8,Lc,3,2,"div",8),t.k0s(),t.DNE(9,xc,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let In=(()=>{class e extends Xs{set value(n){this._effects?.setValue(n)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(n,a,i,o,l,m,_){super(),this._config=a,this._store=i,this._element=o,this._actions=l,this._positionService=_,this.valueChange=new t.bkB,this.animationState="void",this.isRangePicker=!1,this._subs=[],this._effects=m,n.setStyle(o.nativeElement,"display","block"),n.setStyle(o.nativeElement,"position","absolute")}ngOnInit(){let n;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,Us.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(a=>a.selectedDate).subscribe(a=>{n=a,this.valueChange.emit(a)})),this._subs.push(this._store.select(a=>a.selectedTime).subscribe(a=>{!a||!a[0]||!(a[0]instanceof Date)||a[0]===n||this.valueChange.emit(a[0])})),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(n=>{Array.isArray(n)&&n.length>=1&&this.startTimepicker?.writeValue(n[0])})),this.startTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,0)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(n,a){this._store.dispatch(this._actions.selectTime(n,a))}daySelectHandler(n){!n||(this.isOtherMonthsActive?n.isDisabled:n.isOtherMonth||n.isDisabled)||this._store.dispatch(this._actions.select(n.date))}monthSelectHandler(n){!n||n.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:v(n.date),year:R(n.date)},viewMode:"day"}))}yearSelectHandler(n){!n||n.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:R(n.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){for(const n of this._subs)n.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(t.sFG),t.rXU(I),t.rXU(ve),t.rXU(t.aKT),t.rXU(x),t.rXU(ke),t.rXU(be.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-datepicker-container"]],viewQuery:function(a,i){if(1&a&&t.GBs(fc,5),2&a){let o;t.mGM(o=t.lsd())&&(i.startTimepicker=o.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(a,i){1&a&&t.bIt("click",function(l){return i._stopPropagation(l)}),2&a&&t.BMQ("disabled",i.isDatepickerDisabled)("readonly",i.isDatepickerReadonly)},standalone:!0,features:[t.Jv_([ve,ke,x,be.DF]),t.Vt3,t.aNF],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(a,i){1&a&&(t.DNE(0,Sc,10,11,"div",2),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,i.viewMode))},dependencies:[d.bT,d.YU,d.ux,d.e1,d.pM,Dt,ht.gS,$t.n,Ut,Nt,Wt,d.Jj],encapsulation:2,data:{animation:[Ot]}})}return e})();var ye=r(36941),bt=r(21413),ra=r(56977);let nt,g=(()=>{class e{get readonlyValue(){return this.isDisabled?"":null}constructor(n,a,i,o,l){this._config=n,this._elementRef=a,this._renderer=i,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new bt.B,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],this._dateInputFormat$=new bt.B,Object.assign(this,this._config),this._datepicker=l.createLoader(a,o,i),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new Pt.t(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(n){this.isOpen$.next(n)}set bsValue(n){this._bsValue&&n&&this._bsValue.getTime()===n.getTime()||(!this._bsValue&&n&&!this._config.withTimepicker&&Gt(n,new Date),n&&this.bsConfig?.initCurrentTime&&(n=Ht(n)),this.initPreviousValue(),this._bsValue=n,this.bsValueChange.emit(n))}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig(),this.initPreviousValue()}initPreviousValue(){nt=this._bsValue}ngOnChanges(n){n.bsConfig&&(n.bsConfig.currentValue?.initCurrentTime&&n.bsConfig.currentValue?.initCurrentTime!==n.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=Ht(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._dateInputFormat$.next(this.bsConfig&&this.bsConfig.dateInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),n.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(n=>{this.initPreviousValue(),this.bsValue=n,!this.keepDatepickerModalOpened()&&this.hide()}))}keepDatepickerModalOpened(){return!!(nt&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return nt instanceof Date&&this._bsValue?.getDate()===nt?.getDate()&&this._bsValue?.getMonth()===nt?.getMonth()&&this._bsValue?.getFullYear()===nt?.getFullYear()}ngAfterViewInit(){this.isOpen$.pipe((0,H.p)(n=>n!==this.isOpen),(0,ra.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:I,useValue:this._config}).attach(In).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}hide(){this.isOpen&&this._datepicker.hide();for(const n of this._subs)n.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._config.keepDatesOutOfRules?this._bsValue:Bt(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(I),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(ye.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["","bsDatepicker",""]],hostVars:1,hostBindings:function(a,i){2&a&&t.BMQ("readonly",i.readonlyValue)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDatepicker"],standalone:!0,features:[t.Jv_([ye.Li]),t.OA$]})}return e})(),Rc=(()=>{class e extends I{static#e=this.\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(e)))(i||e)}})();static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ec(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.dayHoverHandler(i))})("onHoverWeek",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.weekHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.daySelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)("isDisabled",a.isDatePickerDisabled)("options",t.bMT(1,5,a.options$))}}function jc(e,s){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function Fc(e,s){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,jc,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function Oc(e,s){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,Ec,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,Fc,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function Vc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function Pc(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,Vc,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function Bc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function Hc(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,Bc,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function Ic(e,s){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function Ac(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function Gc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function Wc(e,s){if(1&e&&(t.j41(0,"div",19),t.DNE(1,Ac,3,7,"div",22)(2,Gc,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function Nc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(i){t.eBV(n);const o=t.XpG(2);return t.Njj(o.setRangeOnCalendar(i))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function Uc(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,Oc,5,4,"ng-container",6)(5,Pc,3,3,"div",7)(6,Hc,3,3,"div",7),t.k0s(),t.DNE(7,Ic,5,0,"div",8)(8,Wc,3,2,"div",8),t.k0s(),t.DNE(9,Nc,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let la=(()=>{class e extends In{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(n,a,i,o,l,m,_){super(n,a,i,o,l,m,_),n.setStyle(o.nativeElement,"display","inline-block"),n.setStyle(o.nativeElement,"position","static")}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(t.sFG),t.rXU(I),t.rXU(ve),t.rXU(t.aKT),t.rXU(x),t.rXU(ke),t.rXU(be.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-datepicker-inline-container"]],hostVars:2,hostBindings:function(a,i){1&a&&t.bIt("click",function(l){return i._stopPropagation(l)}),2&a&&t.BMQ("disabled",i.disabledValue)("readonly",i.readonlyValue)},standalone:!0,features:[t.Jv_([ve,ke,be.DF]),t.Vt3,t.aNF],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(a,i){1&a&&(t.DNE(0,Uc,10,11,"div",2),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,i.viewMode))},dependencies:[d.bT,d.YU,d.ux,d.e1,d.pM,Dt,ht.gS,$t.n,Ut,Nt,Wt,d.Jj],encapsulation:2,data:{animation:[Ot]}})}return e})(),$c=(()=>{class e{constructor(n,a,i,o,l){this._config=n,this._elementRef=a,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],Object.assign(this,this._config),this._datepicker=l.createLoader(a,o,i)}set bsValue(n){this._bsValue!==n&&(!this._bsValue&&n&&!this._config.withTimepicker&&Gt(n,new Date),n&&this.bsConfig?.initCurrentTime&&(n=Ht(n)),this._bsValue=n,this.bsValueChange.emit(n))}ngOnInit(){this.setConfig(),this.initSubscribes()}initSubscribes(){this.unsubscribeSubscriptions(),this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(n=>{this.bsValue=n}))}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnChanges(n){n.bsConfig&&n.bsConfig.currentValue?.initCurrentTime&&n.bsConfig.currentValue?.initCurrentTime!==n.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this._bsValue=Ht(this._bsValue),this.bsValueChange.emit(this._bsValue)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled,this._datepickerRef.instance.value=this._bsValue),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),n.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts),this.setConfig())}setConfig(){this._datepicker&&this._datepicker.hide(),this._config=Object.assign({},this._config,this.bsConfig,{value:Bt(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,initCurrentTime:this.bsConfig?.initCurrentTime}),this._datepickerRef=this._datepicker.provide({provide:I,useValue:this._config}).attach(la).to(this._elementRef).show(),this.initSubscribes()}ngOnDestroy(){this._datepicker.dispose(),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(Rc),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(ye.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["bs-datepicker-inline"]],inputs:{bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",datesEnabled:"datesEnabled",datesDisabled:"datesDisabled",bsValue:"bsValue"},outputs:{bsValueChange:"bsValueChange"},exportAs:["bsDatepickerInline"],standalone:!0,features:[t.Jv_([ye.Li]),t.OA$]})}return e})(),Xc=(()=>{class e extends I{constructor(){super(...arguments),this.displayMonths=2,this.isAnimated=!1}static#e=this.\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(e)))(i||e)}})();static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const zc=["startTP"],Jc=["endTP"];function Kc(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.dayHoverHandler(i))})("onHoverWeek",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.weekHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.daySelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)("isDisabled",a.isDatePickerDisabled)("options",t.bMT(1,5,a.options$))}}function Qc(e,s){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function Zc(e,s){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,Qc,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function qc(e,s){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,Kc,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,Zc,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function ed(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function td(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,ed,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function nd(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function sd(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,nd,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function ad(e,s){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function id(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function od(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function rd(e,s){if(1&e&&(t.j41(0,"div",19),t.DNE(1,id,3,7,"div",22)(2,od,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function ld(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(i){t.eBV(n);const o=t.XpG(2);return t.Njj(o.setRangeOnCalendar(i))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function cd(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,qc,5,4,"ng-container",6)(5,td,3,3,"div",7)(6,sd,3,3,"div",7),t.k0s(),t.DNE(7,ad,5,0,"div",8)(8,rd,3,2,"div",8),t.k0s(),t.DNE(9,ld,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let An=(()=>{class e extends Xs{set value(n){this._effects?.setRangeValue(n)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(n,a,i,o,l,m,_){super(),this._config=a,this._store=i,this._element=o,this._actions=l,this._positionService=_,this.valueChange=new t.bkB,this.animationState="void",this._rangeStack=[],this.chosenRange=[],this._subs=[],this.isRangePicker=!0,this._effects=m,this.customRanges=this._config.ranges||[],this.customRangeBtnLbl=this._config.customRangeButtonLabel,n.setStyle(o.nativeElement,"display","block"),n.setStyle(o.nativeElement,"position","absolute")}ngOnInit(){let n;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,Us.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(a=>a.selectedRange).subscribe(a=>{n=a,this.valueChange.emit(a),this.chosenRange=a||[]})),this._subs.push(this._store.select(a=>a.selectedTime).subscribe(a=>{!a||!a[0]||!a[1]||!(a[0]instanceof Date)||!(a[1]instanceof Date)||n&&a[0]===n[0]&&a[1]===n[1]||(this.valueChange.emit(a),this.chosenRange=a||[])}))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(n=>{Array.isArray(n)&&n.length>=2&&(this.startTimepicker?.writeValue(n[0]),this.endTimepicker?.writeValue(n[1]))})),this.startTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,0)}),this.endTimepicker?.registerOnChange(n=>{this.timeSelectHandler(n,1)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(n,a){this._store.dispatch(this._actions.selectTime(n,a))}daySelectHandler(n){!n||(this.isOtherMonthsActive?n.isDisabled:n.isOtherMonth||n.isDisabled)||this.rangesProcessing(n)}monthSelectHandler(n){if(n&&!n.isDisabled){if(n.isSelected=!0,"month"!==this._config.minMode){if(n.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{month:v(n.date),year:R(n.date)},viewMode:"day"}))}this.rangesProcessing(n)}}yearSelectHandler(n){if(n&&!n.isDisabled){if(n.isSelected=!0,"year"!==this._config.minMode){if(n.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{year:R(n.date)},viewMode:"month"}))}this.rangesProcessing(n)}}rangesProcessing(n){1===this._rangeStack.length&&(this._rangeStack=n.date>=this._rangeStack[0]?[this._rangeStack[0],n.date]:[n.date]),this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(n.date),0===this._rangeStack.length&&(this._rangeStack=[n.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(n.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])}ngOnDestroy(){for(const n of this._subs)n.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}setRangeOnCalendar(n){n&&(this._rangeStack=n.value instanceof Date?[n.value]:n.value),this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(n){let a=new Date(n);if(this._config.maxDate){const i=this._config.maxDate.getTime(),o=n.getTime()+864e5*(this._config.maxDateRange||0);a=o>i?new Date(this._config.maxDate):new Date(o)}else a.setDate(n.getDate()+(this._config.maxDateRange||0));this._effects?.setMaxDate(a)}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(t.sFG),t.rXU(I),t.rXU(ve),t.rXU(t.aKT),t.rXU(x),t.rXU(ke),t.rXU(be.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-daterangepicker-container"]],viewQuery:function(a,i){if(1&a&&(t.GBs(zc,5),t.GBs(Jc,5)),2&a){let o;t.mGM(o=t.lsd())&&(i.startTimepicker=o.first),t.mGM(o=t.lsd())&&(i.endTimepicker=o.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(a,i){1&a&&t.bIt("click",function(l){return i._stopPropagation(l)}),2&a&&t.BMQ("disabled",i.isDatepickerDisabled)("readonly",i.isDatepickerReadonly)},standalone:!0,features:[t.Jv_([ve,ke,x,be.DF]),t.Vt3,t.aNF],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(a,i){1&a&&(t.DNE(0,cd,10,11,"div",2),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,i.viewMode))},dependencies:[d.bT,d.YU,d.ux,d.e1,d.pM,Dt,ht.gS,$t.n,Ut,Nt,Wt,d.Jj],encapsulation:2,data:{animation:[Ot]}})}return e})();function dd(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-days-calendar-view",13),t.nI1(1,"async"),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.dayHoverHandler(i))})("onHoverWeek",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.weekHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.daySelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)("isDisabled",a.isDatePickerDisabled)("options",t.bMT(1,5,a.options$))}}function md(e,s){if(1&e&&t.nrm(0,"timepicker",15,1),2&e){const n=t.XpG(4);t.Y8G("disabled",n.isDatePickerDisabled)}}function ud(e,s){if(1&e&&(t.j41(0,"div",14),t.nrm(1,"timepicker",15,0),t.DNE(3,md,2,1,"timepicker",16),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.Y8G("disabled",n.isDatePickerDisabled),t.R7$(2),t.Y8G("ngIf",n.isRangePicker)}}function _d(e,s){if(1&e&&(t.qex(0),t.j41(1,"div",10),t.DNE(2,dd,2,7,"bs-days-calendar-view",11),t.nI1(3,"async"),t.k0s(),t.DNE(4,ud,4,2,"div",12),t.bVm()),2&e){const n=t.XpG(2);t.R7$(2),t.Y8G("ngForOf",t.bMT(3,2,n.daysCalendar$)),t.R7$(2),t.Y8G("ngIf",n.withTimepicker)}}function pd(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-month-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.monthSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function hd(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,pd,1,3,"bs-month-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.monthsCalendar))}}function fd(e,s){if(1&e){const n=t.RV6();t.j41(0,"bs-years-calendar-view",18),t.bIt("onNavigate",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.navigateTo(i))})("onViewMode",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.setViewMode(i))})("onHover",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearHoverHandler(i))})("onSelect",function(i){t.eBV(n);const o=t.XpG(3);return t.Njj(o.yearSelectHandler(i))}),t.k0s()}if(2&e){const n=s.$implicit,a=t.XpG(3);t.AVh("bs-datepicker-multiple",a.multipleCalendars),t.Y8G("calendar",n)}}function gd(e,s){if(1&e&&(t.j41(0,"div",10),t.DNE(1,fd,1,3,"bs-years-calendar-view",17),t.nI1(2,"async"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,n.yearsCalendar))}}function Dd(e,s){1&e&&(t.j41(0,"div",19)(1,"button",20),t.EFF(2,"Apply"),t.k0s(),t.j41(3,"button",21),t.EFF(4,"Cancel"),t.k0s()())}function bd(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",24)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.setToday())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("today-left","left"===n.todayPos)("today-right","right"===n.todayPos)("today-center","center"===n.todayPos),t.R7$(2),t.JRh(n.todayBtnLbl)}}function kd(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",26)(1,"button",25),t.bIt("click",function(){t.eBV(n);const i=t.XpG(3);return t.Njj(i.clearDate())}),t.EFF(2),t.k0s()()}if(2&e){const n=t.XpG(3);t.AVh("clear-left","left"===n.clearPos)("clear-right","right"===n.clearPos)("clear-center","center"===n.clearPos),t.R7$(2),t.JRh(n.clearBtnLbl)}}function vd(e,s){if(1&e&&(t.j41(0,"div",19),t.DNE(1,bd,3,7,"div",22)(2,kd,3,7,"div",23),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.showTodayBtn),t.R7$(),t.Y8G("ngIf",n.showClearBtn)}}function yd(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",27)(1,"bs-custom-date-view",28),t.bIt("onSelect",function(i){t.eBV(n);const o=t.XpG(2);return t.Njj(o.setRangeOnCalendar(i))}),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(),t.Y8G("selectedRange",n.chosenRange)("ranges",n.customRanges)("customRangeLabel",n.customRangeBtnLbl)}}function Md(e,s){if(1&e){const n=t.RV6();t.j41(0,"div",3)(1,"div",4),t.bIt("@datepickerAnimation.done",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.positionServiceEnable())}),t.j41(2,"div",5),t.nI1(3,"async"),t.DNE(4,_d,5,4,"ng-container",6)(5,hd,3,3,"div",7)(6,gd,3,3,"div",7),t.k0s(),t.DNE(7,Dd,5,0,"div",8)(8,vd,3,2,"div",8),t.k0s(),t.DNE(9,yd,2,3,"div",9),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("ngClass",n.containerClass),t.R7$(),t.Y8G("@datepickerAnimation",n.animationState),t.R7$(),t.Y8G("ngSwitch",t.bMT(3,9,n.viewMode)),t.R7$(2),t.Y8G("ngSwitchCase","day"),t.R7$(),t.Y8G("ngSwitchCase","month"),t.R7$(),t.Y8G("ngSwitchCase","year"),t.R7$(),t.Y8G("ngIf",!1),t.R7$(),t.Y8G("ngIf",n.showTodayBtn||n.showClearBtn),t.R7$(),t.Y8G("ngIf",n.customRanges&&n.customRanges.length>0)}}let ca=(()=>{class e extends An{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(n,a,i,o,l,m,_){super(n,a,i,o,l,m,_),n.setStyle(o.nativeElement,"display","inline-block"),n.setStyle(o.nativeElement,"position","static")}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(t.sFG),t.rXU(I),t.rXU(ve),t.rXU(t.aKT),t.rXU(x),t.rXU(ke),t.rXU(be.DF))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["bs-daterangepicker-inline-container"]],hostVars:2,hostBindings:function(a,i){1&a&&t.bIt("click",function(l){return i._stopPropagation(l)}),2&a&&t.BMQ("disabled",i.disabledValue)("readonly",i.readonlyValue)},standalone:!0,features:[t.Jv_([ve,ke,x,be.DF]),t.Vt3,t.aNF],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(a,i){1&a&&(t.DNE(0,Md,10,11,"div",2),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,i.viewMode))},dependencies:[d.bT,d.YU,d.ux,d.e1,d.pM,Dt,ht.gS,$t.n,Ut,Nt,Wt,d.Jj],encapsulation:2,data:{animation:[Ot]}})}return e})(),Cd=(()=>{class e{set bsValue(n){this._bsValue!==n&&(n&&this.bsConfig?.initCurrentTime&&(n=It(n)),this._bsValue=n,this.bsValueChange.emit(n))}constructor(n,a,i,o,l){this._config=n,this._elementRef=a,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],Object.assign(this,this._config),this._datepicker=l.createLoader(a,o,i)}ngOnInit(){this.setConfig(),this.initSubscribes()}ngOnChanges(n){n.bsConfig&&n.bsConfig.currentValue.initCurrentTime&&n.bsConfig.currentValue.initCurrentTime!==n.bsConfig.previousValue.initCurrentTime&&this._bsValue&&(this._bsValue=It(this._bsValue),this.bsValueChange.emit(this._bsValue)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled,this._datepickerRef.instance.value=this._bsValue),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),this.setConfig())}setConfig(){this._datepicker&&this._datepicker.hide(),this._config=Object.assign({},this._config,this.bsConfig,{value:Bt(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:Qs(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:this.bsConfig?.initCurrentTime}),this._datepickerRef=this._datepicker.provide({provide:I,useValue:this._config}).attach(ca).to(this._elementRef).show(),this.initSubscribes()}initSubscribes(){this.unsubscribeSubscriptions(),this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe((0,H.p)(n=>n&&n[0]&&!!n[1])).subscribe(n=>{this.bsValue=n}))}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(Xc),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(ye.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["bs-daterangepicker-inline"]],inputs:{bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{bsValueChange:"bsValueChange"},exportAs:["bsDaterangepickerInline"],standalone:!0,features:[t.Jv_([ye.Li]),t.OA$]})}return e})();var da=r(23294);const Td={provide:h.kq,useExisting:(0,t.Rfq)(()=>D),multi:!0},wd={provide:h.cz,useExisting:(0,t.Rfq)(()=>D),multi:!0};let Me,D=(()=>{class e{constructor(n,a,i,o,l){this._picker=n,this._localeService=a,this._renderer=i,this._elRef=o,this.changeDetection=l,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new Vt.yU}onChange(n){this.writeValue(n.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}ngOnInit(){const n=a=>{this._setInputValue(a),this._value!==a&&(this._value=a,this._onChange(a),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&n(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(n)),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.dateInputFormat$.pipe((0,da.F)()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}_setInputValue(n){const a=n?N(n,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",a)}validate(n){const a=n.value;if(null==a||""===a)return null;if(kt(a)){if(!pe(a))return{bsDate:{invalid:a}};if(this._picker&&this._picker.minDate&&ie(a,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&ee(a,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),{bsDate:{maxDate:this._picker.maxDate}}}return null}registerOnValidatorChange(n){this._validatorChange=n}writeValue(n){if(n){const a=this._localeService.currentLocale;if(!B(a))throw new Error(`Locale "${a}" is not defined, please add it with "defineLocale(...)"`);if(this._value=mt(n,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc){const o=ys(this._value);this._value=null===o?void 0:o}}else this._value=void 0;this._picker.bsValue=this._value,this._onChange(this._value)}setDisabledState(n){this._picker.isDisabled=n,n?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(g,1),t.rXU(tt),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(t.gRc))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["input","bsDatepicker",""]],hostBindings:function(a,i){1&a&&t.bIt("change",function(l){return i.onChange(l)})("blur",function(){return i.onBlur()})("keyup.esc",function(){return i.hide()})("keydown.enter",function(){return i.hide()})},standalone:!0,features:[t.Jv_([tt,Td,wd])]})}return e})(),Yd=(()=>{class e extends I{constructor(){super(...arguments),this.displayMonths=2}static#e=this.\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(e)))(i||e)}})();static#t=this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),T=(()=>{class e{get isOpen(){return this._datepicker.isShown}set isOpen(n){this.isOpen$.next(n)}set bsValue(n){this._bsValue!==n&&(n&&this.bsConfig?.initCurrentTime&&(n=It(n)),this.initPreviousValue(),this._bsValue=n,this.bsValueChange.emit(n))}get isDatepickerReadonly(){return this.isDisabled?"":null}get rangeInputFormat$(){return this._rangeInputFormat$}constructor(n,a,i,o,l){this._config=n,this._elementRef=a,this._renderer=i,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new bt.B,this.isDisabled=!1,this.bsValueChange=new t.bkB,this._subs=[],this._rangeInputFormat$=new bt.B,this._datepicker=l.createLoader(a,o,i),Object.assign(this,n),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new Pt.t(this.isOpen)}ngOnInit(){this.isDestroy$=new bt.B,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.initPreviousValue(),this.setConfig()}ngOnChanges(n){n.bsConfig&&(n.bsConfig.currentValue?.initCurrentTime&&n.bsConfig.currentValue?.initCurrentTime!==n.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=It(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._rangeInputFormat$.next(n.bsConfig.currentValue&&n.bsConfig.currentValue.rangeInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(n.minDate&&(this._datepickerRef.instance.minDate=this.minDate),n.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),n.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),n.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),n.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),n.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),n.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe((0,H.p)(n=>n!==this.isOpen),(0,ra.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:I,useValue:this._config}).attach(An).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(n=>{this._datepickerRef&&(this._datepickerRef.instance.value=n)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe((0,H.p)(n=>n&&n[0]&&!!n[1])).subscribe(n=>{this.initPreviousValue(),this.bsValue=n,!this.keepDatepickerModalOpened()&&this.hide()}))}initPreviousValue(){Me=this._bsValue}keepDatepickerModalOpened(){return!!(Me&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return this._bsValue?.[0]?.getDate()===Me?.[0]?.getDate()&&this._bsValue?.[0]?.getMonth()===Me?.[0]?.getMonth()&&this._bsValue?.[0]?.getFullYear()===Me?.[0]?.getFullYear()&&this._bsValue?.[1]?.getDate()===Me?.[1]?.getDate()&&this._bsValue?.[1]?.getMonth()===Me?.[1]?.getMonth()&&this._bsValue?.[1]?.getFullYear()===Me?.[1]?.getFullYear()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this.bsConfig?.keepDatesOutOfRules?this._bsValue:Bt(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:Qs(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}hide(){this.isOpen&&this._datepicker.hide();for(const n of this._subs)n.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(Yd),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.c1b),t.rXU(ye.Li))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["","bsDaterangepicker",""]],hostVars:1,hostBindings:function(a,i){2&a&&t.BMQ("readonly",i.isDatepickerReadonly)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDaterangepicker"],standalone:!0,features:[t.Jv_([ye.Li]),t.OA$]})}return e})();const Ld={provide:h.kq,useExisting:(0,t.Rfq)(()=>C),multi:!0},xd={provide:h.cz,useExisting:(0,t.Rfq)(()=>C),multi:!0};let C=(()=>{class e{constructor(n,a,i,o,l){this._picker=n,this._localeService=a,this._renderer=i,this._elRef=o,this.changeDetection=l,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new Vt.yU}ngOnInit(){this._picker._bsValue&&(a=>{this._setInputValue(a),this._value!==a&&(this._value=a,this._onChange(a),this._onTouched()),this.changeDetection.markForCheck()})(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(a=>{this._setInputValue(a),this._value!==a&&(this._value=a,this._onChange(a),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.rangeInputFormat$.pipe((0,da.F)()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(n){(13===n.keyCode||"Enter"===n.code)&&this.hide()}_setInputValue(n){let a="";if(n){const i=n[0]?N(n[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",o=n[1]?N(n[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";a=i&&o?i+this._picker._config.rangeSeparator+o:""}this._renderer.setProperty(this._elRef.nativeElement,"value",a)}onChange(n){this.writeValue(n.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(n){let a=n.value;const i=[];if(null==a||!L(a))return null;a=a.slice().sort((m,_)=>m.getTime()-_.getTime());const o=pe(a[0]),l=pe(a[1]);return o?l?(this._picker&&this._picker.minDate&&ie(a[0],this._picker.minDate,"date")&&(a[0]=this._picker.minDate,i.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&ee(a[1],this._picker.maxDate,"date")&&(a[1]=this._picker.maxDate,i.push({bsDate:{maxDate:this._picker.maxDate}})),i.length>0?(this.writeValue(a),i):null):{bsDate:{invalid:a[1]}}:{bsDate:{invalid:a[0]}}}registerOnValidatorChange(n){this._validatorChange=n}writeValue(n){if(n){const a=this._localeService.currentLocale;if(!B(a))throw new Error(`Locale "${a}" is not defined, please add it with "defineLocale(...)"`);let o=[];if("string"==typeof n){const l=this._picker._config.rangeSeparator.trim();o=n.replace(/[^-]/g,"").length>1?n.split(this._picker._config.rangeSeparator):n.split(l.length>0?l:this._picker._config.rangeSeparator).map(m=>m.trim())}Array.isArray(n)&&(o=n),this._value=o.map(l=>this._picker._config.useUtc?ys(mt(l,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):mt(l,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(l=>isNaN(l.valueOf())?void 0:l)}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(n){this._picker.isDisabled=n,n?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(T,1),t.rXU(tt),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(t.gRc))};static#t=this.\u0275dir=t.FsC({type:e,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(a,i){1&a&&t.bIt("change",function(l){return i.onChange(l)})("keyup.esc",function(){return i.hide()})("keydown",function(l){return i.onKeydownEvent(l)})("blur",function(){return i.onBlur()})},standalone:!0,features:[t.Jv_([tt,Ld,xd])]})}return e})(),Sd=(()=>{class e{static forRoot(){return{ngModule:e,providers:[]}}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[d.MD,oa.Ss,ht.gS,Dt,In,la,An,ca]})}return e})();var Rd=r(59169),Ce=r(37472);let ma=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-basic"]],decls:5,vars:0,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()())},dependencies:[g,D,T,C],encapsulation:2})}return e})(),ua=(()=>{class e{constructor(){this.isOpen=!1}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-trigger-by-isopen"]],decls:6,vars:1,consts:[[1,"row"],[1,"col-xs-8","col-8","col-md-5","col-lg-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"isOpen"],[1,"col-xs-4","col-4","col-md-4","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",3)(4,"button",4),t.bIt("click",function(){return i.isOpen=!i.isOpen}),t.EFF(5,"Toggle"),t.k0s()()()),2&a&&(t.R7$(2),t.Y8G("isOpen",i.isOpen))},dependencies:[g,D],encapsulation:2})}return e})();function Ed(e,s){if(1&e&&(t.j41(0,"option",11),t.EFF(1),t.k0s()),2&e){const n=s.$implicit;t.Y8G("value",n),t.R7$(),t.JRh(n)}}function jd(e,s){if(1&e&&(t.j41(0,"option",11),t.EFF(1),t.k0s()),2&e){const n=s.$implicit;t.Y8G("value",n),t.R7$(),t.JRh(n)}}let _a=(()=>{class e{constructor(n){this.localeService=n,this.locale="en",this.locales=function fo(){return Object.keys(F)}()}applyLocale(n){this.localeService.use(this.locale),n.hide(),n.show()}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(tt))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-change-locale"]],decls:21,vars:6,consts:[["dp","bsDatepicker"],["dpr","bsDaterangepicker"],[1,"row"],[1,"col-xs-12","col-12","col-sm-3","col-md-3","col-lg-2","form-group","mb-3"],[1,"custom-select","form-control","from-select",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"col-xs-12","col-12","col-sm-5","col-md-6","col-lg-4","form-group","mb-3"],["placeholder","Datepicker","type","text","bsDatepicker","",1,"form-control"],[1,"col-xs-12","col-12","col-sm-4","col-md-12","col-lg-4","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"],["placeholder","Daterangepicker","type","text","bsDaterangepicker","",1,"form-control"],[3,"value"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",2)(1,"div",3)(2,"select",4),t.mxI("ngModelChange",function(m){return t.eBV(o),t.DH7(i.locale,m)||(i.locale=m),t.Njj(m)}),t.bIt("ngModelChange",function(){t.eBV(o);const m=t.sdS(6);return t.Njj(i.applyLocale(m))}),t.DNE(3,Ed,2,2,"option",5),t.k0s()(),t.j41(4,"div",6),t.nrm(5,"input",7,0),t.k0s(),t.j41(7,"div",8)(8,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(6);return t.Njj(m.show())}),t.EFF(9,"Date Picker"),t.k0s()()(),t.nrm(10,"br"),t.j41(11,"div",2)(12,"div",3)(13,"select",4),t.mxI("ngModelChange",function(m){return t.eBV(o),t.DH7(i.locale,m)||(i.locale=m),t.Njj(m)}),t.bIt("ngModelChange",function(){t.eBV(o);const m=t.sdS(17);return t.Njj(i.applyLocale(m))}),t.DNE(14,jd,2,2,"option",5),t.k0s()(),t.j41(15,"div",6),t.nrm(16,"input",10,1),t.k0s(),t.j41(18,"div",8)(19,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(17);return t.Njj(m.show())}),t.EFF(20,"Date Range Picker"),t.k0s()()()}if(2&a){const o=t.sdS(6),l=t.sdS(17);t.R7$(2),t.R50("ngModel",i.locale),t.R7$(),t.Y8G("ngForOf",i.locales),t.R7$(5),t.BMQ("aria-expanded",o.isOpen),t.R7$(5),t.R50("ngModel",i.locale),t.R7$(),t.Y8G("ngForOf",i.locales),t.R7$(5),t.BMQ("aria-expanded",l.isOpen)}},dependencies:[g,D,T,C,d.Sq,h.xH,h.y7,h.wz,h.BC,h.vS],encapsulation:2})}return e})(),pa=(()=>{class e{constructor(){this.colorTheme="theme-green"}applyTheme(n){this.bsConfig=Object.assign({},{containerClass:this.colorTheme}),setTimeout(()=>{n.show()})}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-color-theming"]],decls:24,vars:3,consts:[["dp","bsDatepicker"],[1,"row"],[1,"col-xs-12","col-12","col-md-4","col-lg-4","form-group","mb-3"],[1,"custom-select","form-control","from-select",3,"ngModelChange","ngModel"],["value","theme-default"],["value","theme-green"],["value","theme-blue"],["value","theme-dark-blue"],["value","theme-red"],["value","theme-orange"],[1,"col-xs-12","col-12","col-md-5","col-lg-5","form-group","mb-3"],[1,"form-group","mb-3"],[1,"input-group"],["type","text","bsDatepicker","",1,"form-control",3,"bsConfig"],[1,"input-group-btn"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"select",3),t.mxI("ngModelChange",function(m){return t.eBV(o),t.DH7(i.colorTheme,m)||(i.colorTheme=m),t.Njj(m)}),t.bIt("ngModelChange",function(){t.eBV(o);const m=t.sdS(19);return t.Njj(i.applyTheme(m))}),t.j41(3,"option",4),t.EFF(4,"default"),t.k0s(),t.j41(5,"option",5),t.EFF(6,"green"),t.k0s(),t.j41(7,"option",6),t.EFF(8,"blue"),t.k0s(),t.j41(9,"option",7),t.EFF(10,"dark-blue"),t.k0s(),t.j41(11,"option",8),t.EFF(12,"red"),t.k0s(),t.j41(13,"option",9),t.EFF(14,"orange"),t.k0s()()(),t.j41(15,"div",10)(16,"div",11)(17,"div",12),t.nrm(18,"input",13,0),t.j41(20,"div",14)(21,"button",15),t.bIt("click",function(){t.eBV(o);const m=t.sdS(19);return t.Njj(m.show())}),t.EFF(22," Open "),t.k0s()()()()()(),t.nrm(23,"br")}if(2&a){const o=t.sdS(19);t.R7$(2),t.R50("ngModel",i.colorTheme),t.R7$(16),t.Y8G("bsConfig",i.bsConfig),t.R7$(3),t.BMQ("aria-expanded",o.isOpen)}},dependencies:[g,D,h.xH,h.y7,h.wz,h.BC,h.vS],encapsulation:2})}return e})();const Fd=["dp"];let ha=(()=>{class e{constructor(){this.minDate=new Date(2018,5,13)}setOptions(){this.bsConfig=Object.assign({},{minDate:this.minDate}),this.datepicker?.setConfig(),setTimeout(()=>{this.datepicker?.toggle()})}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-config-method"]],viewQuery:function(a,i){if(1&a&&t.GBs(Fd,5),2&a){let o;t.mGM(o=t.lsd())&&(i.datepicker=o.first)}},decls:7,vars:1,consts:[["dp","bsDatepicker"],[1,"row"],[1,"col-xs-12","col-12","col-sm-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],[1,"col-xs-12","col-12","col-sm-8","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",1)(1,"div",2),t.nrm(2,"input",3,0),t.k0s(),t.j41(4,"div",4)(5,"button",5),t.bIt("click",function(){return t.eBV(o),t.Njj(i.setOptions())}),t.EFF(6,"Set min date"),t.k0s()()()}2&a&&(t.R7$(2),t.Y8G("bsConfig",i.bsConfig))},dependencies:[g,D],encapsulation:2})}return e})();const Od=()=>({dateInputFormat:"DD-MM-YYYY",containerClass:"theme-red"});let fa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-config-object"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,Od)))},dependencies:[g,D],encapsulation:2})}return e})();const Vd=()=>({dateInputFormat:"YYYY-MM-DD"}),Pd=()=>({dateInputFormat:"MM/DD/YYYY"}),Bd=()=>({dateInputFormat:"MMMM Do YYYY, h:mm:ss a"}),Hd=()=>({rangeInputFormat:"MMMM Do YYYY, h:mm:ss a",dateInputFormat:"MMMM Do YYYY, h:mm:ss a",showWeekNumbers:!1});let ga=(()=>{class e{constructor(){this.currentDate=new Date,this.form=new h.J3({dateYMD:new h.hs(new Date),dateFull:new h.hs(new Date),dateMDY:new h.hs(new Date),dateRange:new h.hs([new Date,new Date(this.currentDate.setDate(this.currentDate.getDate()+7))])})}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-date-picker-custom-format"]],decls:31,vars:13,consts:[["datepickerYMD","bsDatepicker"],["datepickerMDY","bsDatepicker"],["datepickerFull","bsDatepicker"],["daterangepicker","bsDaterangepicker"],[3,"formGroup"],[1,"row"],[1,"col-xs-12","col-md-5","col-lg-4","form-group","mb-3"],["bsDatepicker","","formControlName","dateYMD",1,"form-control",3,"bsConfig"],[1,"col-xs-12","col-12","col-md-3","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"],["bsDatepicker","","formControlName","dateMDY",1,"form-control",3,"bsConfig"],["bsDatepicker","","formControlName","dateFull",1,"form-control",3,"bsConfig"],["type","text","formControlName","dateRange","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"form",4)(1,"div",5)(2,"div",6),t.nrm(3,"input",7,0),t.k0s(),t.j41(5,"div",8)(6,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(4);return t.Njj(m.toggle())}),t.EFF(7,"Date Picker"),t.k0s()()(),t.nrm(8,"br"),t.j41(9,"div",5)(10,"div",6),t.nrm(11,"input",10,1),t.k0s(),t.j41(13,"div",8)(14,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(12);return t.Njj(m.toggle())}),t.EFF(15,"Date Picker"),t.k0s()()(),t.nrm(16,"br"),t.j41(17,"div",5)(18,"div",6),t.nrm(19,"input",11,2),t.k0s(),t.j41(21,"div",8)(22,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(20);return t.Njj(m.toggle())}),t.EFF(23,"Date Picker"),t.k0s()()(),t.j41(24,"div",5)(25,"div",6),t.nrm(26,"input",12,3),t.k0s(),t.j41(28,"div",8)(29,"button",9),t.bIt("click",function(){t.eBV(o);const m=t.sdS(27);return t.Njj(m.toggle())}),t.EFF(30,"Date Range Picker"),t.k0s()()()()}if(2&a){const o=t.sdS(4),l=t.sdS(12),m=t.sdS(20),_=t.sdS(27);t.Y8G("formGroup",i.form),t.R7$(3),t.Y8G("bsConfig",t.lJ4(9,Vd)),t.R7$(3),t.BMQ("aria-expanded",o.isOpen),t.R7$(5),t.Y8G("bsConfig",t.lJ4(10,Pd)),t.R7$(3),t.BMQ("aria-expanded",l.isOpen),t.R7$(5),t.Y8G("bsConfig",t.lJ4(11,Bd)),t.R7$(3),t.BMQ("aria-expanded",m.isOpen),t.R7$(4),t.Y8G("bsConfig",t.lJ4(12,Hd)),t.R7$(3),t.BMQ("aria-expanded",_.isOpen)}},dependencies:[g,D,T,C,h.qT,h.me,h.BC,h.cb,h.j4,h.JD],encapsulation:2})}return e})(),Da=(()=>{class e{constructor(){this.bsValue=new Date,this.maxDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+7),this.bsRangeValue=[this.bsValue,this.maxDate]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-date-initial-state"]],decls:22,vars:4,consts:[["dp","bsDatepicker"],["drp","bsDaterangepicker"],[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","bsDatepicker","",1,"form-control",3,"bsValue"],[1,"col-xs-12","col-12","col-md-3","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"],["bsDaterangepicker","",1,"form-control",3,"ngModelChange","ngModel"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"p")(1,"code"),t.EFF(2,"bsValue"),t.k0s(),t.EFF(3," property sets initial state in this example"),t.k0s(),t.j41(4,"div",2)(5,"div",3),t.nrm(6,"input",4,0),t.k0s(),t.j41(8,"div",5)(9,"button",6),t.bIt("click",function(){t.eBV(o);const m=t.sdS(7);return t.Njj(m.toggle())}),t.EFF(10,"Date Picker"),t.k0s()()(),t.j41(11,"p")(12,"code"),t.EFF(13,"ngModel"),t.k0s(),t.EFF(14," property sets two-way data binding in this example"),t.k0s(),t.j41(15,"div",2)(16,"div",3)(17,"input",7,1),t.mxI("ngModelChange",function(m){return t.eBV(o),t.DH7(i.bsRangeValue,m)||(i.bsRangeValue=m),t.Njj(m)}),t.k0s()(),t.j41(19,"div",5)(20,"button",6),t.bIt("click",function(){t.eBV(o);const m=t.sdS(18);return t.Njj(m.toggle())}),t.EFF(21,"Date Range Picker"),t.k0s()()()}if(2&a){const o=t.sdS(7),l=t.sdS(18);t.R7$(6),t.Y8G("bsValue",i.bsValue),t.R7$(3),t.BMQ("aria-expanded",o.isOpen),t.R7$(8),t.R50("ngModel",i.bsRangeValue),t.R7$(3),t.BMQ("aria-expanded",l.isOpen)}},dependencies:[g,D,T,C,h.me,h.BC,h.vS],encapsulation:2})}return e})(),ba=(()=>{class e{constructor(){this.disabledDates=[new Date("2020-02-05"),new Date("2020-02-09")]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-datesdisabled"]],decls:5,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"datesDisabled"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"datesDisabled"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("datesDisabled",i.disabledDates),t.R7$(2),t.Y8G("datesDisabled",i.disabledDates))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),ka=(()=>{class e{constructor(){this.enabledDates=[new Date("2020-02-06"),new Date("2020-02-08"),new Date("2020-02-11")]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-datesenabled"]],decls:5,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"datesEnabled"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"datesEnabled"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("datesEnabled",i.enabledDates),t.R7$(2),t.Y8G("datesEnabled",i.enabledDates))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const va=()=>[6,0];let ya=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-daysdisabled"]],decls:18,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-5","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"daysDisabled"],["placeholder","Datepicker","bsDatepicker","",1,"form-control"],["placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"daysDisabled"],["placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"Saturday and Sunday are not selectable"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"Saturday and Sunday are selectable"),t.k0s(),t.nrm(8,"input",3),t.k0s()(),t.j41(9,"div",0)(10,"div",1)(11,"p"),t.EFF(12,"Saturday and Sunday are not selectable"),t.k0s(),t.nrm(13,"input",4),t.k0s(),t.j41(14,"div",1)(15,"p"),t.EFF(16,"Saturday and Sunday are selectable"),t.k0s(),t.nrm(17,"input",5),t.k0s()()),2&a&&(t.R7$(4),t.Y8G("daysDisabled",t.lJ4(2,va)),t.R7$(9),t.Y8G("daysDisabled",t.lJ4(3,va)))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),Ma=(()=>{class e{constructor(){this.isDisabled=!1}toggleDisabling(){this.isDisabled=!this.isDisabled}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-disabled"]],decls:10,vars:2,consts:[["dp","bsDatepicker"],["dpr","bsDaterangepicker"],[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"isDisabled"],["placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"isDisabled"],[1,"col-xs-12","col-12","col-sm-4","col-md-12","col-lg-4","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",2)(1,"div",3),t.nrm(2,"input",4,0),t.k0s(),t.j41(4,"div",3),t.nrm(5,"input",5,1),t.k0s(),t.j41(7,"div",6)(8,"button",7),t.bIt("click",function(){return t.eBV(o),t.Njj(i.toggleDisabling())}),t.EFF(9,"Toggle disabling"),t.k0s()()()}2&a&&(t.R7$(2),t.Y8G("isDisabled",i.isDisabled),t.R7$(3),t.Y8G("isDisabled",i.isDisabled))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),Ca=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-forms"]],decls:11,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"ngModelChange","ngModel"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"ngModelChange","ngModel"],[1,"col-xs-12","col-md-12"],[1,"code-preview"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"input",2),t.mxI("ngModelChange",function(l){return t.DH7(i.datepickerModel,l)||(i.datepickerModel=l),l}),t.k0s()(),t.j41(3,"div",1)(4,"input",3),t.mxI("ngModelChange",function(l){return t.DH7(i.daterangepickerModel,l)||(i.daterangepickerModel=l),l}),t.k0s()()(),t.j41(5,"div",0)(6,"div",4)(7,"pre",5),t.EFF(8),t.nrm(9,"br"),t.EFF(10),t.k0s()()()),2&a&&(t.R7$(2),t.R50("ngModel",i.datepickerModel),t.R7$(2),t.R50("ngModel",i.daterangepickerModel),t.R7$(4),t.JRh(i.datepickerModel),t.R7$(2),t.JRh(i.daterangepickerModel))},dependencies:[g,D,T,C,h.me,h.BC,h.vS],encapsulation:2})}return e})(),Ta=(()=>{class e{onScrollEvent(){this.datepicker?.hide()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-date-picker-hide-on-scroll"]],viewQuery:function(a,i){if(1&a&&t.GBs(g,5),2&a){let o;t.mGM(o=t.lsd())&&(i.datepicker=o.first)}},hostBindings:function(a,i){1&a&&t.bIt("scroll",function(){return i.onScrollEvent()},!1,t.tSv)},decls:8,vars:1,consts:[["dp","bsDatepicker"],[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control"],[1,"col-xs-12","col-12","col-md-3","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",1)(1,"div",2),t.nrm(2,"input",3,0),t.k0s(),t.j41(4,"div",4)(5,"button",5),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.toggle())}),t.EFF(6,"Date Picker"),t.k0s()()(),t.nrm(7,"br")}if(2&a){const o=t.sdS(3);t.R7$(5),t.BMQ("aria-expanded",o.isOpen)}},dependencies:[g,D],encapsulation:2})}return e})(),wa=(()=>{class e{constructor(){this.bsInlineValue=new Date,this.maxDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+7),this.bsInlineRangeValue=[this.bsInlineValue,this.maxDate]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-inline"]],decls:5,vars:2,consts:[[1,"row"],[1,"pr-3","pb-3","pe-3","w-auto"],[3,"bsValue"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"bs-datepicker-inline",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"bs-daterangepicker-inline",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsValue",i.bsInlineValue),t.R7$(2),t.Y8G("bsValue",i.bsInlineRangeValue))},dependencies:[$c,Cd],encapsulation:2})}return e})(),Ya=(()=>{class e{constructor(){this.minDate=new Date,this.maxDate=new Date,this.minDate.setDate(this.minDate.getDate()-1),this.maxDate.setDate(this.maxDate.getDate()+7)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-min-max"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["placeholder","Datepicker","ngModel","","bsDatepicker","",1,"form-control",3,"minDate","maxDate"],["placeholder","Daterangepicker","ngModel","","bsDaterangepicker","",1,"form-control",3,"minDate","maxDate"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("minDate",i.minDate)("maxDate",i.maxDate),t.R7$(2),t.Y8G("minDate",i.minDate)("maxDate",i.maxDate))},dependencies:[g,D,T,C,h.me,h.BC,h.vS],encapsulation:2})}return e})(),La=(()=>{class e{constructor(){this.datePickerValue=new Date(2020,7),this.range1=new Date(2020,5),this.range2=new Date(2020,8),this.minMode="month"}ngOnInit(){this.dateRangePickerValue=[this.range1,this.range2],this.bsConfig=Object.assign({},{minMode:this.minMode})}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-min-mode"]],decls:15,vars:4,consts:[["dp","bsDatepicker"],["drp","bsDaterangepicker"],[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","bsDatepicker","",1,"form-control",3,"bsValueChange","bsConfig","bsValue"],[1,"col-xs-12","col-12","col-md-3","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"],["type","text","bsDaterangepicker","",1,"form-control",3,"bsValueChange","bsConfig","bsValue"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",2)(1,"div",3)(2,"input",4,0),t.mxI("bsValueChange",function(m){return t.eBV(o),t.DH7(i.datePickerValue,m)||(i.datePickerValue=m),t.Njj(m)}),t.k0s()(),t.j41(4,"div",5)(5,"button",6),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.toggle())}),t.EFF(6,"Date Picker"),t.k0s()()(),t.j41(7,"div",2)(8,"div",3)(9,"input",7,1),t.mxI("bsValueChange",function(m){return t.eBV(o),t.DH7(i.dateRangePickerValue,m)||(i.dateRangePickerValue=m),t.Njj(m)}),t.k0s()(),t.j41(11,"div",5)(12,"button",6),t.bIt("click",function(){t.eBV(o);const m=t.sdS(10);return t.Njj(m.toggle())}),t.EFF(13,"DateRange Picker"),t.k0s()()(),t.nrm(14,"br")}2&a&&(t.R7$(2),t.Y8G("bsConfig",i.bsConfig),t.R50("bsValue",i.datePickerValue),t.R7$(7),t.Y8G("bsConfig",i.bsConfig),t.R50("bsValue",i.dateRangePickerValue))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),xa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-outside-click"]],decls:9,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-5","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"outsideClick"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"Outside click closes the datepicker in this example"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"Outside click doesn't close the datepicker in this example"),t.k0s(),t.nrm(8,"input",2),t.k0s()()),2&a&&(t.R7$(4),t.Y8G("outsideClick",!0),t.R7$(4),t.Y8G("outsideClick",!1))},dependencies:[g,D],encapsulation:2})}return e})(),Sa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-placement"]],decls:17,vars:0,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-3","form-group","mb-3","d-flex","flex-column","justify-content-between"],["placeholder","Datepicker","bsDatepicker","","placement","right",1,"form-control"],["placeholder","Datepicker","bsDatepicker","","placement","top",1,"form-control"],["placeholder","Datepicker","bsDatepicker","","placement","bottom",1,"form-control"],["placeholder","Datepicker","bsDatepicker","","placement","left",1,"form-control"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"The datepicker's placement is right"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"The datepicker's placement is top"),t.k0s(),t.nrm(8,"input",3),t.k0s(),t.j41(9,"div",1)(10,"p"),t.EFF(11,"The datepicker's placement is bottom"),t.k0s(),t.nrm(12,"input",4),t.k0s(),t.j41(13,"div",1)(14,"p"),t.EFF(15,"The datepicker's placement is left"),t.k0s(),t.nrm(16,"input",5),t.k0s()())},dependencies:[g,D],encapsulation:2})}return e})();function Id(e,s){if(1&e&&(t.j41(0,"pre",7),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.JRh(t.bMT(2,1,null==n.myForm||null==n.myForm.value?null:n.myForm.value.date))}}function Ad(e,s){if(1&e&&(t.j41(0,"pre",7),t.EFF(1),t.nI1(2,"date"),t.nI1(3,"date"),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.Lme("from ",t.bMT(2,2,null==n.myForm||null==n.myForm.value?null:n.myForm.value.range[0])," to ",t.bMT(3,4,null==n.myForm||null==n.myForm.value?null:n.myForm.value.range[1]),"")}}function Gd(e,s){if(1&e&&(t.j41(0,"form",1)(1,"div",2)(2,"div",3),t.nrm(3,"input",4),t.DNE(4,Id,3,3,"pre",5),t.k0s(),t.j41(5,"div",3),t.nrm(6,"input",6),t.DNE(7,Ad,4,6,"pre",5),t.k0s()()()),2&e){const n=t.XpG();t.Y8G("formGroup",n.myForm),t.R7$(4),t.Y8G("ngIf",null==n.myForm||null==n.myForm.value?null:n.myForm.value.date),t.R7$(3),t.Y8G("ngIf",null==n.myForm||null==n.myForm.value?null:n.myForm.value.range)}}let Ra=(()=>{class e{constructor(n){this.formBuilder=n}ngOnInit(){this.myForm=this.formBuilder.group({date:null,range:null})}static#e=this.\u0275fac=function(a){return new(a||e)(t.rXU(h.ze))};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-reactive-forms"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","","formControlName","date",1,"form-control","mb-3"],["class","code-preview",4,"ngIf"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","","formControlName","range",1,"form-control","mb-3"],[1,"code-preview"]],template:function(a,i){1&a&&t.DNE(0,Gd,8,3,"form",0),2&a&&t.Y8G("ngIf",i.myForm)},dependencies:[g,D,T,C,d.bT,h.qT,h.me,h.BC,h.cb,h.j4,h.JD,d.vh],encapsulation:2})}return e})();const Ea=()=>({dateInputFormat:"DD-MM-YYYY",returnFocusToInput:!0});let ja=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-return-focus-to-input"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,Ea)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,Ea)))},dependencies:[g,D,T,C],encapsulation:2})}return e})(),Fa=(()=>{class e{constructor(){const n=new Date,a=new Date;a.setDate(n.getDate()+2);const i=new Date;i.setDate(n.getDate()+4),this.dateCustomClasses=[{date:n,classes:[]},{date:a,classes:["bg-warning"]},{date:i,classes:["bg-danger","text-warning"]}]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-date-custom-classes"]],decls:5,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["placeholder","Datepicker","ngModel","","bsDatepicker","",1,"form-control",3,"dateCustomClasses"],["placeholder","Daterangepicker","ngModel","","bsDaterangepicker","",1,"form-control",3,"dateCustomClasses"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("dateCustomClasses",i.dateCustomClasses),t.R7$(2),t.Y8G("dateCustomClasses",i.dateCustomClasses))},dependencies:[g,D,T,C,h.me,h.BC,h.vS],styles:[".theme-green .bs-datepicker-body table td span.selected{background-color:#5cb85c!important}"]})}return e})();const Wd=()=>({dateInputFormat:"DD-MM-YYYY",selectFromOtherMonth:!0});let Oa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-select-dates-from-other-months"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,Wd)))},dependencies:[g,D],encapsulation:2})}return e})();const Va=()=>({adaptivePosition:!0});let Pa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-adaptive-position"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,Va)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,Va)))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const Ba=()=>({isAnimated:!0});let Ha=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-animated"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,Ba)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,Ba)))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const Nd=()=>({customTodayClass:"custom-today-class"});let Ia=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-custom-today-class"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,Nd)))},dependencies:[g,D],encapsulation:2})}return e})();const Aa=()=>({selectWeek:!0}),Ga=()=>({selectWeek:!0,selectFromOtherMonth:!0}),Ud=()=>[0,1],$d=()=>[0,1,2,3,4,5,6];let Wa=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-select-week"]],decls:23,vars:12,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["placeholder","Datepicker with select week","bsDatepicker","",1,"form-control",3,"bsConfig"],["placeholder","selectFromOtherMonth active","bsDatepicker","",1,"form-control",3,"bsConfig"],[1,"col-xs-12","col-12","col-sm-6","col-md-5","form-group","mb-3"],["placeholder","Two first days disabled","bsDatepicker","",1,"form-control",3,"daysDisabled","bsConfig"],["placeholder","All days disabled","bsDatepicker","",1,"form-control",3,"daysDisabled","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()(),t.j41(3,"p"),t.EFF(4,"Also works with "),t.j41(5,"code"),t.EFF(6,"selectFromOtherMonth"),t.k0s(),t.EFF(7," option, which allows to select weeks which started on previous month"),t.k0s(),t.j41(8,"div",0)(9,"div",1),t.nrm(10,"input",3),t.k0s()(),t.j41(11,"p"),t.EFF(12,"If first day of the week is disabled, the next one will be selected."),t.k0s(),t.j41(13,"div",0)(14,"div",4)(15,"p"),t.EFF(16,"Two first days of the each week are disabled"),t.k0s(),t.nrm(17,"input",5),t.k0s()(),t.j41(18,"p"),t.EFF(19,"If all days in week are disabled, you can't select this week"),t.k0s(),t.j41(20,"div",0)(21,"div",4),t.nrm(22,"input",6),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(6,Aa)),t.R7$(8),t.Y8G("bsConfig",t.lJ4(7,Ga)),t.R7$(7),t.Y8G("daysDisabled",t.lJ4(8,Ud))("bsConfig",t.lJ4(9,Ga)),t.R7$(5),t.Y8G("daysDisabled",t.lJ4(10,$d))("bsConfig",t.lJ4(11,Aa)))},dependencies:[g,D],encapsulation:2})}return e})(),Na=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-triggers-custom"]],decls:13,vars:0,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-lg-3","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","","triggers","mouseenter:click",1,"form-control"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","","triggers","keydown:click",1,"form-control"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","","triggers","dblclick:click",1,"form-control"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"Hover over the input to open the datepicker"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"Focus on input and press any key to open the datepicker"),t.k0s(),t.nrm(8,"input",3),t.k0s(),t.j41(9,"div",1)(10,"p"),t.EFF(11,"\u0421lick twice on input to open the datepicker"),t.k0s(),t.nrm(12,"input",4),t.k0s()())},dependencies:[g,D,T,C],encapsulation:2})}return e})(),Ua=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-triggers-manual"]],decls:11,vars:2,consts:[["dp","bsDatepicker"],[1,"row"],[1,"col-xs-12","col-12","col-sm-4","form-group","mb-3"],["type","text","bsDatepicker","",1,"form-control",3,"outsideClick"],[1,"col-xs-12","col-12","col-sm-8","form-group","mb-3"],["type","button",1,"btn","btn-success",3,"click"]],template:function(a,i){if(1&a){const o=t.RV6();t.j41(0,"div",1)(1,"div",2),t.nrm(2,"input",3,0),t.k0s(),t.j41(4,"div",4)(5,"button",5),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.show())}),t.EFF(6," Open "),t.k0s(),t.j41(7,"button",5),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.hide())}),t.EFF(8," Close "),t.k0s(),t.j41(9,"button",5),t.bIt("click",function(){t.eBV(o);const m=t.sdS(3);return t.Njj(m.toggle())}),t.EFF(10," Toggle "),t.k0s()()()}if(2&a){const o=t.sdS(3);t.R7$(2),t.Y8G("outsideClick",!1),t.R7$(7),t.BMQ("aria-expanded",o.isOpen)}},dependencies:[g,D],encapsulation:2})}return e})();function Xd(e,s){if(1&e&&(t.j41(0,"pre",5),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&e){const n=t.XpG();t.R7$(),t.SpI("Changed date is ",t.bMT(2,1,n.data),"")}}let $a=(()=>{class e{onValueChange(n){this.data=n}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-value-change-event"]],decls:5,vars:1,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],[1,"mb-3"],["class","card card-block card-header",4,"ngIf"],["placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsValueChange"],[1,"card","card-block","card-header"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.DNE(3,Xd,3,3,"pre",3),t.k0s(),t.j41(4,"input",4),t.bIt("bsValueChange",function(l){return i.onValueChange(l)}),t.k0s()()()),2&a&&(t.R7$(3),t.Y8G("ngIf",i.data))},dependencies:[g,D,d.bT,d.vh],encapsulation:2})}return e})();function zd(e,s){if(1&e&&(t.j41(0,"pre",5),t.EFF(1),t.k0s()),2&e){const n=s.$implicit;t.R7$(),t.JRh(n)}}let Xa=(()=>{class e{constructor(){this.messages=[],this.message="onShown"}handler(n){this.message===n&&(this.messages=[]),this.messages.push(`Event ${n} is fired`)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-visibility-events"]],decls:5,vars:1,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["placeholder","Datepicker","placement","right","bsDatepicker","",1,"form-control",3,"onShown","onHidden"],[1,"col-xs-12","col-12"],["class","card card-block card-header",4,"ngFor","ngForOf"],[1,"card","card-block","card-header"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"input",2),t.bIt("onShown",function(){return i.handler("onShown")})("onHidden",function(){return i.handler("onHidden")}),t.k0s()(),t.j41(3,"div",3),t.DNE(4,zd,2,1,"pre",4),t.k0s()()),2&a&&(t.R7$(4),t.Y8G("ngForOf",i.messages))},dependencies:[g,D,d.Sq],encapsulation:2})}return e})();const Jd=e=>({ranges:e});let za=(()=>{class e{constructor(){this.ranges=[{value:[new Date((new Date).setDate((new Date).getDate()-7)),new Date],label:"Last 7 Days"},{value:[new Date,new Date((new Date).setDate((new Date).getDate()+7))],label:"Next 7 Days"}]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-quick-select-ranges"]],decls:3,vars:3,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.eq3(1,Jd,i.ranges)))},dependencies:[T,C],encapsulation:2})}return e})();const Kd=()=>({showPreviousMonth:!0});let Ja=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-daterangepicker-show-previous-month"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,Kd)))},dependencies:[T,C],encapsulation:2})}return e})();const Gn=()=>({selectWeekDateRange:!0}),Qd=()=>({selectWeekDateRange:!0,selectFromOtherMonth:!0}),Zd=()=>[0,1],qd=()=>[0,1,2,3,4,5,6];let Ka=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-select-week-range"]],decls:23,vars:12,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-5","form-group","mb-3"],["placeholder","Daterangepicker with select week","bsDaterangepicker","",1,"form-control",3,"bsConfig"],["placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"],["placeholder","Two days disabled","bsDaterangepicker","",1,"form-control",3,"daysDisabled","bsConfig"],["placeholder","All days disabled","bsDaterangepicker","",1,"form-control",3,"daysDisabled","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()(),t.j41(3,"p"),t.EFF(4,"Also works with "),t.j41(5,"code"),t.EFF(6,"selectFromOtherMonth"),t.k0s(),t.EFF(7," option, which allows to select weeks which started on previous month"),t.k0s(),t.j41(8,"div",0)(9,"div",1),t.nrm(10,"input",3),t.k0s()(),t.j41(11,"p"),t.EFF(12,"If first day of the week is disabled, the next one will be selected."),t.k0s(),t.j41(13,"div",0)(14,"div",1)(15,"p"),t.EFF(16,"Two first days of the each week are disabled"),t.k0s(),t.nrm(17,"input",4),t.k0s()(),t.j41(18,"p"),t.EFF(19,"If all days in week are disabled, you can't select this week"),t.k0s(),t.j41(20,"div",0)(21,"div",1),t.nrm(22,"input",5),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(6,Gn)),t.R7$(8),t.Y8G("bsConfig",t.lJ4(7,Qd)),t.R7$(7),t.Y8G("daysDisabled",t.lJ4(8,Zd))("bsConfig",t.lJ4(9,Gn)),t.R7$(5),t.Y8G("daysDisabled",t.lJ4(10,qd))("bsConfig",t.lJ4(11,Gn)))},dependencies:[T,C],encapsulation:2})}return e})();const em=e=>({dateTooltipTexts:e});let Qa=(()=>{class e{constructor(){this.selectedDates=[{date:new Date("2020-08-08"),tooltipText:"8th of August"},{date:new Date("2020-08-09"),tooltipText:"9th of August"},{date:new Date("2020-08-07"),tooltipText:"7th of August"}]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-tooltip-to-selected-dates"]],decls:3,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"dateTooltipTexts","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("dateTooltipTexts",i.selectedDates)("bsConfig",t.eq3(2,em,i.selectedDates)))},dependencies:[g,D],encapsulation:2})}return e})();const tm=()=>({maxDateRange:25});let Za=(()=>{class e{constructor(){this.maxDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+30)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-max-date-range"]],decls:3,vars:3,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"maxDate","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("maxDate",i.maxDate)("bsConfig",t.lJ4(2,tm)))},dependencies:[T,C],encapsulation:2})}return e})();const qa=()=>({dateInputFormat:"DD-MM-YYYY",displayOneMonthRange:!0});let ei=(()=>{class e{constructor(){this.today=new Date,this.minDate=new Date(this.today.getFullYear(),this.today.getMonth(),2),this.maxDate=new Date(this.today.getFullYear(),this.today.getMonth(),25)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-daterangepicker-display-one-month"]],decls:16,vars:7,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-6","form-group","mb-3"],["placeholder","Daterangepicker","ngModel","","bsDaterangepicker","",1,"form-control",3,"maxDate","bsConfig"],["placeholder","Daterangepicker","ngModel","","bsDaterangepicker","",1,"form-control",3,"minDate","maxDate","bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p")(3,"code"),t.EFF(4,"maxDate"),t.k0s(),t.EFF(5," is today"),t.k0s(),t.nrm(6,"input",2),t.k0s(),t.j41(7,"div",1)(8,"p")(9,"code"),t.EFF(10,"minDate"),t.k0s(),t.EFF(11," month is equal to "),t.j41(12,"code"),t.EFF(13,"maxDate"),t.k0s(),t.EFF(14," month"),t.k0s(),t.nrm(15,"input",3),t.k0s()()),2&a&&(t.R7$(6),t.Y8G("maxDate",i.today)("bsConfig",t.lJ4(5,qa)),t.R7$(9),t.Y8G("minDate",i.minDate)("maxDate",i.maxDate)("bsConfig",t.lJ4(6,qa)))},dependencies:[T,C,h.me,h.BC,h.vS],encapsulation:2})}return e})();const nm=()=>({containerClass:"theme-dark-blue",showTodayButton:!0,todayPosition:"center"});let ti=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-today-button"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,nm)))},dependencies:[g,D],encapsulation:2})}return e})();const sm=()=>({containerClass:"theme-orange",showClearButton:!0,clearPosition:"right"});let ni=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-clear-button"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,sm)))},dependencies:[g,D],encapsulation:2})}return e})();const am=()=>({startView:"month"}),im=()=>({startView:"year"});let si=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-start-view"]],decls:13,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-sm-6","col-md-4","form-group","mb-3"],["bsDatepicker","","placeholder","Datepicker",1,"form-control"],["bsDatepicker","","placeholder","Datepicker",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"p"),t.EFF(3,"The datepicker's start view is day (default)"),t.k0s(),t.nrm(4,"input",2),t.k0s(),t.j41(5,"div",1)(6,"p"),t.EFF(7,"The datepicker's start view is month"),t.k0s(),t.nrm(8,"input",3),t.k0s(),t.j41(9,"div",1)(10,"p"),t.EFF(11,"The datepicker's start view is year"),t.k0s(),t.nrm(12,"input",3),t.k0s()()),2&a&&(t.R7$(8),t.Y8G("bsConfig",t.lJ4(2,am)),t.R7$(4),t.Y8G("bsConfig",t.lJ4(3,im)))},dependencies:[g,D],encapsulation:2})}return e})();const om=()=>({preventChangeToNextMonth:!0});let ai=(()=>{class e{constructor(){this.maxDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+7)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-prevent-change-to-next-month"]],decls:3,vars:2,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(1,om)))},dependencies:[T,C],encapsulation:2})}return e})();const ii=()=>({withTimepicker:!0,rangeInputFormat:"MMMM Do YYYY, h:mm:ss a",dateInputFormat:"MMMM Do YYYY, h:mm:ss a"});let oi=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["demo-datepicker-with-timepicker"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,ii)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,ii)))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const ri=()=>({withTimepicker:!0,keepDatepickerOpened:!0,rangeInputFormat:"MMMM Do YYYY, h:mm:ss a",dateInputFormat:"MMMM Do YYYY, h:mm:ss a"});let li=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["datepicker-close-behavior"]],decls:5,vars:4,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(2,ri)),t.R7$(2),t.Y8G("bsConfig",t.lJ4(3,ri)))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const ci=()=>({keepDatesOutOfRules:!0});let di=(()=>{class e{constructor(){this.minDate=new Date,this.maxDate=new Date,this.bsInvalidDate=new Date,this.maxDate.setDate(this.maxDate.getDate()+7),this.bsInvalidDate.setDate(this.maxDate.getDate()+2),this.bsRangeValue=[this.minDate,this.bsInvalidDate]}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["keep-dates-out-of-rules"]],decls:5,vars:10,consts:[[1,"row"],[1,"col-xs-12","col-12","col-md-4","form-group","mb-3"],["type","text","placeholder","Datepicker","bsDatepicker","",1,"form-control",3,"bsConfig","maxDate","minDate","bsValue"],["type","text","placeholder","Daterangepicker","bsDaterangepicker","",1,"form-control",3,"bsConfig","maxDate","minDate","bsValue"]],template:function(a,i){1&a&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"input",2),t.k0s(),t.j41(3,"div",1),t.nrm(4,"input",3),t.k0s()()),2&a&&(t.R7$(2),t.Y8G("bsConfig",t.lJ4(8,ci))("maxDate",i.maxDate)("minDate",i.minDate)("bsValue",i.bsInvalidDate),t.R7$(2),t.Y8G("bsConfig",t.lJ4(9,ci))("maxDate",i.maxDate)("minDate",i.minDate)("bsValue",i.bsRangeValue))},dependencies:[g,D,T,C],encapsulation:2})}return e})();const rm=[{name:"Overview",anchor:"overview",tabName:"overview",outlet:Ce.xK,content:[{title:"Basic",anchor:"basic",component:r(91134),html:r(25570),description:'\n

Note: If you installed ngx-bootstrap not via ng add command, you will need to perform a several actions

\n

Notable change is additional css for it "/datepicker/bs-datepicker.css"

\n

There are two ways of adding css:

\n
    \n
  • Load it from CDN. Add <link rel="stylesheet"\n href="https://unpkg.com/ngx-bootstrap/datepicker/bs-datepicker.css"> to your\n index.html
  • \n
  • Load it from dist/ngx-bootstrap/datepicker/bs-datepicker.css via package bundler\n like Angular CLI, if you\'re using one.\n
  • \n
\n ',outlet:ma},{title:"Inline",anchor:"inline-datepicker",component:r(7759),html:r(94135),description:"

with initial state set by bsInlineValue property

",outlet:wa},{title:"With animation",anchor:"animated",component:r(89938),html:r(42022),description:"You can enable animation via isAnimated config option",outlet:Ha},{title:"Adaptive position",anchor:"adaptive-position",component:r(12126),html:r(8290),description:"

You can enable adaptive position via adaptivePosition option in bsConfig

",outlet:Pa},{title:"Initial state",anchor:"date-initial-state",component:r(9158),html:r(15130),outlet:Da},{title:"Custom date format",anchor:"format",component:r(79002),html:r(1374),description:'\n

You can easily change the date format by specifying the dateInputFormat\n in [bsConfig]\n

\n

To set your own date format you can use variety of formats provided by\n moment.js

\n

The following examples show how to use several date formats inside a form:\n

    \n
  • YYYY-MM-DD
  • \n
  • MM/DD/YYYY
  • \n
  • MMMM Do YYYY,h:mm:ss a
  • \n
\n

\n ',outlet:ga},{title:"Hide on scroll",anchor:"hide-on-scroll",component:r(89900),html:r(65596),description:"\n

Hide the datepicker on page scroll.

\n ",outlet:Ta},{title:"Themes",anchor:"themes",component:r(2790),html:r(44346),description:"\n

Datepicker comes with some default color schemes.\n You can change it by manipulating containerClass property in bsConfig object

\n

There are 6 color schemes: theme-default, theme-green, theme-blue,\n theme-dark-blue, theme-red, theme-orange

\n ",outlet:pa},{title:"Locales",anchor:"locales",component:r(11838),html:r(6178),description:"\n

Datepicker can use different locales.
It's possible to change a locale by calling\n use\n method of BsLocaleService, list of available locales is in dropdown below.

\n

To use a different locale, you have to import it from ngx-bootstrap/chronos first, then\n define it in your @NgModule using function defineLocale

\n

Example:

\n import { defineLocale } from 'ngx-bootstrap/chronos';
\n import { deLocale } from 'ngx-bootstrap/locale';
\n defineLocale('de', deLocale);\n
\n
\n ",outlet:_a},{title:"Min-max",anchor:"min-max",component:r(78851),html:r(58651),description:"\n

You can set min and max date of datepicker/daterangepicker using minDate and\n maxDate properties

\n

In the following example minDate is set to yesterday and maxDate\n to the current day in the next week

",outlet:Ya},{title:"Days disabled",anchor:"days-disabled",component:r(5720),html:r(76744),description:"\n

You can set which days of the week should be disabled with daysDisabled\n

In the following example daysDisabled is set with an array which disabled Saturday and Sunday.\n Sunday is considered the first day of the week and thus has the value 0

",outlet:ya},{title:"Dates disabled",anchor:"dates-disabled",component:r(30206),html:r(18082),description:"\n

You can set which dates should be disabled with datesDisabled

\n

In the following example datesDisabled is set with an array to disable 2020-02-05 and 2020-02-09.

\n

NOTE: DO NOT USE this functionality with datesEnabled at the same time

",outlet:ba},{title:"Dates enabled",anchor:"dates-enabled",component:r(57914),html:r(51742),description:"\n

You can set which dates should be enable with datesEnabled

\n

In the following example datesEnabled is set with an array to enable 2020-02-06, 2020-02-08 and 2020-02-11. All other dates are disabled

\n

NOTE: DO NOT USE this functionality with datesDisabled at the same time

",outlet:ka},{title:"Display one month",anchor:"display-one-month",component:r(67232),html:r(3136),description:"

You can configure, how many months you want to show for daterangepicker via displayMonths in BsDaterangepickerConfig.

\n

With displayOneMonthRange you can show only one month for two cases

",outlet:ei},{title:"Min-mode",anchor:"min-mode",component:r(25509),html:r(8457),description:"\n

You can set min view mode of datepicker using minMode property

\n

In the following example minMode is set to 'month'

",outlet:La},{title:"Disabled",anchor:"disabled-datepicker",component:r(53961),html:r(56701),description:"

If you want to disable datepicker's or daterangepicker's content set isDisabled property to true

",outlet:Ma},{title:"Custom today class",anchor:"today-class",component:r(61657),html:r(22765),description:"

If you want to add custom class to current day datepicker's content set value to customTodayClass option in bsConfig

",outlet:Ia},{title:"Forms",anchor:"forms",component:r(49875),html:r(13675),description:"

Datepicker and daterangepicker can be used in forms. Keep in mind that\n value of ngModel is Date object for datepicker and array of 2\n Date objects for daterangepicker

",outlet:Ca},{title:"Reactive forms",anchor:"reactive-forms",component:r(34659),html:r(539),outlet:Ra},{title:"Return focus to input",anchor:"return-focus-to-input",component:r(72795),html:r(85027),description:"

Allows to return focus to input of datepicker or daterangepicker after the date or daterange selection

",outlet:ja},{title:"Manual triggering",anchor:"triggers-manual",component:r(41750),html:r(94058),description:"

You can manage datepicker's state by using its show(), hide()\n and toggle() methods

",outlet:Ua},{title:"Placement",anchor:"placement",component:r(93986),html:r(79222),description:"

Add placement property if you want to change placement

",outlet:Sa},{title:"Config method",anchor:"config-method",component:r(89794),html:r(38774),description:"

You can manage datepicker's options by using its setConfig() method

",outlet:ha},{title:"Visibility Events",anchor:"visibility-events",component:r(80214),html:r(83722),description:"

You can subscribe to datepicker's visibility events

",outlet:Xa},{title:"Value change event",anchor:"value-change-event",component:r(29518),html:r(1266),description:"

You can subscribe to datepicker's value change event (bsValueChange).

",outlet:$a},{title:"Config properties",anchor:"config-object",component:r(86990),html:r(66290),description:"

You can configure the datepicker via its bsConfig option

",outlet:fa},{title:"Select dates from other month",anchor:"select-dates-from-other-month",component:r(16344),html:r(70632),description:"

You can enable dates from other months via selectFromOtherMonth option in bsConfig

",outlet:Oa},{title:"Select week",anchor:"select-week",component:r(19938),html:r(96598),description:"

You can enable ability to select a week number (first day of the week will be selected) via selectWeek option in bsConfig

",outlet:Wa},{title:"Select week range",anchor:"select-week-range",component:r(29698),html:r(6646),description:"

You can enable ability to select a week number (range with first weekday - last weekday will be selected) via selectWeekRange option in bsConfig

",outlet:Ka},{title:"Outside click",anchor:"outside-click",component:r(98814),html:r(56322),description:"

Datepicker closes after outside click by default. To change\n this behavior, use outsideClick property.

",outlet:xa},{title:"Trigger by isOpen property",anchor:"trigger-by-isopen-property",component:r(5986),html:r(17654),description:"

Datepicker can be shown or hidden by changing isOpen property

",outlet:ua},{title:"Custom triggers",anchor:"triggers-custom",component:r(60394),html:r(54894),description:"

Use different triggers ( for example keydown, mouseenter and\n dblclick ) to interact with datepicker

",outlet:Na},{title:"Date custom classes",anchor:"date-custom-classes",component:r(35086),html:r(13042),style:r(75677),description:"

Style dates with custom classes

",outlet:Fa},{title:"Tooltip for selected dates",anchor:"tooltip-for-selected-dates",component:r(95562),html:r(13806),description:"",outlet:Qa},{title:"Quick select ranges",anchor:"quick-select-ranges",component:r(27522),html:r(88022),description:"

Quick select ranges can be added to Daterangepicker using ranges

",outlet:za},{title:"Prevent change to next month",anchor:"prevent-change-to-next-month",component:r(1357),html:r(76481),description:"

Pick some date from second month and it wont change to the next month

",outlet:ai},{title:"Previous month in Daterangepicker",anchor:"daterangepicker-previous-month",component:r(36744),html:r(18776),description:"

Pick previous & current month instead of current & next month.When daterange selected and related to current month,\n daterangepicker will works by default, with current & next month

",outlet:Ja},{title:"Show Today Button",anchor:"datepicker-show-today-button",component:r(90472),html:r(66200),description:"

Display an optional 'Today' button that will automatically select today's date.

",outlet:ti},{title:"Show Clear Button",anchor:"datepicker-show-clear-button",component:r(28616),html:r(67224),description:"

Display an optional 'Clear' button that will automatically clear date.

",outlet:ni},{title:"Start view",anchor:"start-view",component:r(60600),html:r(53576),description:"

Add startView property if you want to change start view

",outlet:si},{title:"Max Date Range in Daterangepicker",anchor:"daterangepicker-max-date-range",component:r(39506),html:r(11526),description:"

Max date range after first date selection can be added to Daterangepicker using maxDateRange.

\n

If you also use maxDate property, you can't select second date, which exceeds value of maxDate.

",outlet:Za},{title:"With timepicker",anchor:"with-timepicker",component:r(72614),html:r(26906),description:"You can enable timepicker via withTimepicker config option",outlet:oi},{title:"Close behavior with timepicker changes",anchor:"close-behavior",component:r(84301),html:r(43873),description:"If you use datepicker with timepicker together, you are able to set keepDatepickerOpened config option and keep datepicker opened until date isn't changed",outlet:li},{title:"Don't overwrite dates out of rule",anchor:"keep-dates-out-of-rules",component:r(91531),html:r(7891),description:"

If you use datepicker with rules (minDate, maxDate) you can set config property keepDatesOutOfRules to true to avoid overwriting invalid dates. Default value is false.

",outlet:di}]},{name:"Installation",anchor:"api-reference",tabName:"api",usage:r(51487),importInfo:'ng add ngx-bootstrap --component datepicker',outlet:Ce.Mg,content:[{title:"BsDatepickerDirective",anchor:"bs-datepicker-component",outlet:Ce.r2},{title:"BsDaterangepickerDirective",anchor:"bs-daterangepicker",outlet:Ce.r2},{title:"BsDatepickerInlineDirective",anchor:"bs-datepicker-inline",outlet:Ce.r2},{title:"BsDatepickerConfig",anchor:"bs-datepicker-config",outlet:Ce.TJ}]},{name:"Examples",anchor:"examples",tabName:"examples",outlet:Ce.xK,content:[{title:"Basic",anchor:"basic-ex",outlet:ma},{title:"Inline",anchor:"inline-datepicker-ex",outlet:wa},{title:"With animation",anchor:"animated-ex",outlet:Ha},{title:"Adaptive position",anchor:"adaptive-position-ex",outlet:Pa},{title:"Initial state",anchor:"date-initial-state-ex",outlet:Da},{title:"Custom date format",anchor:"format-ex",outlet:ga},{title:"Hide on scroll",anchor:"hide-on-scroll-ex",outlet:Ta},{title:"Themes",anchor:"themes-ex",outlet:pa},{title:"Locales",anchor:"locales-ex",outlet:_a},{title:"Min-max",anchor:"min-max-ex",outlet:Ya},{title:"Days disabled",anchor:"days-disabled-ex",outlet:ya},{title:"Dates disabled",anchor:"dates-disabled-ex",outlet:ba},{title:"Dates enabled",anchor:"dates-enabled-ex",outlet:ka},{title:"Display one month",anchor:"display-one-month-ex",outlet:ei},{title:"Min-mode",anchor:"min-mode-ex",outlet:La},{title:"Disabled",anchor:"disabled-datepicker-ex",outlet:Ma},{title:"Custom today class",anchor:"today-class-ex",outlet:Ia},{title:"Forms",anchor:"forms-ex",outlet:Ca},{title:"Reactive forms",anchor:"reactive-forms-ex",outlet:Ra},{title:"Return focus to input",anchor:"return-focus-to-input-ex",outlet:ja},{title:"Manual triggering",anchor:"triggers-manual-ex",outlet:Ua},{title:"Placement",anchor:"placement-ex",outlet:Sa},{title:"Config method",anchor:"config-method-ex",outlet:ha},{title:"Visibility Events",anchor:"visibility-events-ex",outlet:Xa},{title:"Value change event",anchor:"value-change-event-ex",outlet:$a},{title:"Config properties",anchor:"config-object-ex",outlet:fa},{title:"Select dates from other month",anchor:"select-dates-from-other-month-ex",outlet:Oa},{title:"Select week",anchor:"select-week-ex",outlet:Wa},{title:"Select week range",anchor:"select-week-range-ex",outlet:Ka},{title:"Outside click",anchor:"outside-click-ex",outlet:xa},{title:"Trigger by isOpen property",anchor:"trigger-by-isopen-property-ex",outlet:ua},{title:"Custom triggers",anchor:"triggers-custom-ex",outlet:Na},{title:"Date custom classes",anchor:"date-custom-classes-ex",outlet:Fa},{title:"Tooltip for selected dates",anchor:"tooltip-for-selected-dates-ex",outlet:Qa},{title:"Quick select ranges",anchor:"quick-select-ranges-ex",outlet:za},{title:"Prevent change to next month",anchor:"prevent-change-to-next-month-ex",outlet:ai},{title:"Previous month in Daterangepicker",anchor:"daterangepicker-previous-month-ex",outlet:Ja},{title:"Show Today Button",anchor:"datepicker-show-today-button-ex",outlet:ti},{title:"Show Clear Button",anchor:"datepicker-show-clear-button-ex",outlet:ni},{title:"Start view",anchor:"start-view-ex",outlet:si},{title:"Max Date Range in Daterangepicker",anchor:"daterangepicker-max-date-range-ex",outlet:Za},{title:"With timepicker",anchor:"with-timepicker-ex",outlet:oi},{title:"datepicker close behavior with timepicker",anchor:"close-behavior",outlet:li},{title:"Don't overwrite dates out of rule",anchor:"keep-dates-out-of-rules",outlet:di}]}];var lm=r(86223),cm=r(52439);let mi=(()=>{class e{constructor(){this.name="Datepicker",this.src="https://github.com/valor-software/ngx-bootstrap/tree/development/src/datepicker",this.componentContent=rm}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275cmp=t.VBU({type:e,selectors:[["datepicker-section"]],decls:6,vars:4,consts:[[3,"name","src","componentContent"],[3,"content"]],template:function(a,i){1&a&&(t.j41(0,"demo-section",0)(1,"p"),t.EFF(2,"Datepicker is a highly configurable component that adds datepicker functionality to your pages. You can customize the date format and language, restrict the selectable date ranges."),t.k0s(),t.j41(3,"p"),t.EFF(4,"The easiest way to add the datepicker component to your app (will be added to the root module)"),t.k0s(),t.nrm(5,"docs-section",1),t.k0s()),2&a&&(t.Y8G("name",i.name)("src",i.src)("componentContent",i.componentContent),t.R7$(5),t.Y8G("content",i.componentContent))},dependencies:[lm.q,cm.C],encapsulation:2,changeDetection:0})}return e})();const dm=[{path:"",component:mi}];[dr,mr,_r,pr,hr,fr,gr,br,vr,Cr,Tr,xr,jr,Vr,Hr,Lr,Er,Br,Ir,Ar,Gr,Wr,Nr,Ur,zr,Jr,Kr,Qr,qr,tl,nl,sl,ol,al,cl,dl,ml,ul,_l,Ln,pl,gl,Dl,bl,Sr].forEach(e=>{e.abbr&&cn(e.abbr,e)});let mm=(()=>{class e{static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[Sd,Rd.j,d.MD,h.YN,h.X1,Ce.ky,ui.iI.forChild(dm)]})}return e})()},8290:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},12126:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-adaptive-position',\n templateUrl: './adaptive-position.html'\n})\nexport class DemoDatePickerAdaptivePositionComponent {}\n"},42022:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},89938:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-animated',\n templateUrl: './animated.html'\n})\nexport class DemoDatePickerAnimatedComponent {}\n"},25570:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},91134:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-basic',\n templateUrl: './basic.html'\n})\nexport class DemoDatepickerBasicComponent {}\n"},6178:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n \n \n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n \n \n
\n
\n \n
\n
\n \n
\n
\n'},11838:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { BsDatepickerDirective, BsDaterangepickerDirective, BsLocaleService } from 'ngx-bootstrap/datepicker';\nimport { listLocales } from 'ngx-bootstrap/chronos';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-change-locale',\n templateUrl: './change-locale.html'\n})\nexport class DemoDatepickerChangeLocaleComponent {\n locale = 'en';\n locales = listLocales();\n\n constructor(private localeService: BsLocaleService) {}\n\n applyLocale(pop: BsDatepickerDirective | BsDaterangepickerDirective) {\n this.localeService.use(this.locale);\n pop.hide();\n pop.show();\n }\n}\n"},67224:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},28616:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-clear-button',\n templateUrl: './clear-button.html'\n})\nexport class DemoDatepickerClearButtonComponent {}\n"},43873:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},84301:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'datepicker-close-behavior',\n templateUrl: './datepicker-close-behavior.html'\n})\nexport class DatepickerCloseBehaviorComponent {\n}\n"},44346:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n \n \n \n \n \n \n \n
\n\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n\n\n'},2790:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { BsDatepickerConfig, BsDatepickerDirective } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-color-theming',\n templateUrl: './color-theming.html'\n})\nexport class DemoDatepickerColorThemingComponent {\n colorTheme = 'theme-green';\n\n bsConfig?: Partial;\n\n applyTheme(pop: BsDatepickerDirective) {\n // create new object on each property change\n // so Angular can catch object reference change\n this.bsConfig = Object.assign({}, { containerClass: this.colorTheme });\n setTimeout(() => {\n pop.show();\n });\n }\n}\n"},38774:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},89794:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component, ViewChild } from '@angular/core';\nimport { BsDaterangepickerDirective, BsDatepickerConfig } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-config-method',\n templateUrl: './config-method.html'\n})\nexport class DemoDatepickerConfigMethodComponent {\n @ViewChild('dp', { static: false }) datepicker?: BsDaterangepickerDirective;\n\n bsConfig?: Partial;\n minDate = new Date(2018, 5, 13);\n\n setOptions(): void {\n this.bsConfig = Object.assign({}, { minDate: this.minDate });\n this.datepicker?.setConfig();\n\n setTimeout(() => {\n this.datepicker?.toggle();\n });\n }\n}\n"},66290:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},86990:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-config-object',\n templateUrl: './config-object.html'\n})\nexport class DemoDatePickerConfigObjectComponent {}\n"},1374:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n
\n'},79002:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { UntypedFormControl, UntypedFormGroup } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-date-picker-custom-format',\n templateUrl: './custom-format.html'\n})\nexport class DemoDatePickerCustomFormatComponent {\n currentDate = new Date();\n\n form = new UntypedFormGroup({\n dateYMD: new UntypedFormControl(new Date()),\n dateFull: new UntypedFormControl(new Date()),\n dateMDY: new UntypedFormControl(new Date()),\n dateRange: new UntypedFormControl([\n new Date(),\n new Date(this.currentDate.setDate(this.currentDate.getDate() + 7))\n ])\n });\n}\n"},22765:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},61657:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-custom-today-class',\n templateUrl: './custom-today-class.component.html'\n})\nexport class DemoDatepickerCustomTodayClassComponent { }\n"},13042:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},75677:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="::ng-deep .theme-green {\n .bs-datepicker-body {\n table {\n td {\n span.selected {\n background-color: #5cb85c !important;\n }\n }\n }\n }\n}\n"},35086:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { DatepickerDateCustomClasses } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-date-custom-classes',\n templateUrl: './date-custom-classes.html',\n styleUrls: ['./date-custom-classes.scss']\n})\nexport class DemoDatepickerDateCustomClassesComponent {\n dateCustomClasses: DatepickerDateCustomClasses[];\n\n constructor() {\n const now = new Date();\n const twoDaysAhead = new Date();\n twoDaysAhead.setDate(now.getDate() + 2);\n const fourDaysAhead = new Date();\n fourDaysAhead.setDate(now.getDate() + 4);\n\n this.dateCustomClasses = [\n { date: now, classes: [] },\n { date: twoDaysAhead, classes: ['bg-warning'] },\n { date: fourDaysAhead, classes: ['bg-danger', 'text-warning'] }\n ];\n }\n}\n"},15130:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='

bsValue property sets initial state in this example

\n
\n
\n \n
\n
\n \n
\n
\n\n

ngModel property sets two-way data binding in this example

\n
\n
\n \n
\n
\n \n
\n
\n'},9158:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-date-initial-state',\n templateUrl: './date-initial-state.html'\n})\nexport class DemoDatepickerDateInitialStateComponent {\n bsValue = new Date();\n bsRangeValue: Date[];\n maxDate = new Date();\n constructor() {\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n this.bsRangeValue = [this.bsValue, this.maxDate];\n }\n}\n"},3136:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

maxDate is today

\n \n
\n
\n

minDate month is equal to maxDate month

\n \n
\n
\n'},67232:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-daterangepicker-display-one-month',\n templateUrl: './display-one-month.html'\n})\n// eslint-disable-next-line @angular-eslint/component-class-suffix\nexport class DemoDateRangePickerDisplayOneMonth {\n today: Date;\n maxDate: Date;\n minDate: Date;\n\n constructor() {\n this.today = new Date();\n this.minDate = new Date(this.today.getFullYear(), this.today.getMonth(), 2);\n this.maxDate = new Date(this.today.getFullYear(), this.today.getMonth(), 25);\n }\n}\n"},18776:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},36744:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-daterangepicker-show-previous-month',\n templateUrl: './show-previous-month.html'\n})\n// eslint-disable-next-line @angular-eslint/component-class-suffix\nexport class DemoDateRangePickerShowPreviousMonth {}\n"},18082:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},30206:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-datesdisabled',\n templateUrl: './disable-dates.html'\n})\nexport class DemoDatepickerDatesDisabledComponent {\n disabledDates = [\n new Date('2020-02-05'),\n new Date('2020-02-09')\n ];\n}\n"},76744:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

Saturday and Sunday are not selectable

\n \n
\n
\n

Saturday and Sunday are selectable

\n \n
\n
\n\n\n
\n
\n

Saturday and Sunday are not selectable

\n \n
\n
\n

Saturday and Sunday are selectable

\n \n
\n
\n'},5720:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-daysdisabled',\n templateUrl: './disable-days.html'\n})\nexport class DemoDatepickerDaysDisabledComponent {}\n"},56701:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n'},53961:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-disabled',\n templateUrl: './disabled.component.html'\n})\nexport class DemoDatepickerDisabledComponent {\n isDisabled = false;\n\n toggleDisabling(): void {\n this.isDisabled = !this.isDisabled;\n }\n}\n"},51742:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},57914:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-datesenabled',\n templateUrl: './enable-dates.html'\n})\nexport class DemoDatepickerDatesEnabledComponent {\n enabledDates = [\n new Date('2020-02-06'),\n new Date('2020-02-08'),\n new Date('2020-02-11'),\n ];\n}\n"},13675:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n
\n
\n
{{datepickerModel}}
{{daterangepickerModel}}
\n
\n
\n\n\n'},49875:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-forms',\n templateUrl: './forms.component.html'\n})\nexport class DemoDatepickerFormsComponent {\n datepickerModel?: Date;\n daterangepickerModel?: Date[];\n}\n"},65596:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n
\n'},89900:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component, HostListener, ViewChild } from '@angular/core';\nimport { BsDatepickerDirective } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-date-picker-hide-on-scroll',\n templateUrl: './hide-on-scroll.html'\n})\nexport class DemoDatepickerHideOnScrollComponent {\n @ViewChild(BsDatepickerDirective, { static: false }) datepicker?: BsDatepickerDirective;\n\n @HostListener('window:scroll')\n onScrollEvent() {\n this.datepicker?.hide();\n }\n}\n"},94135:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n\n'},7759:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-inline',\n templateUrl: './inline-datepicker.component.html'\n})\nexport class DemoDatepickerInlineComponent {\n bsInlineValue = new Date();\n bsInlineRangeValue: Date[];\n maxDate = new Date();\n\n constructor() {\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n this.bsInlineRangeValue = [this.bsInlineValue, this.maxDate];\n }\n}\n"},7891:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},91531:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'keep-dates-out-of-rules',\n templateUrl: './keep-dates-out-of-rules.component.html'\n})\nexport class KeepDatesOutOfRulesComponent {\n minDate = new Date();\n bsRangeValue: Date[];\n maxDate = new Date();\n bsInvalidDate: Date = new Date();\n\n constructor() {\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n this.bsInvalidDate.setDate(this.maxDate.getDate() + 2);\n this.bsRangeValue = [this.minDate, this.bsInvalidDate];\n }\n}\n"},11526:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},39506:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import {Component} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-max-date-range',\n templateUrl: './max-date-range.html'\n})\nexport class DemoDateRangePickerMaxDateRangeComponent {\n maxDate: Date;\n\n constructor() {\n this.maxDate = new Date();\n this.maxDate.setDate(this.maxDate.getDate() + 30);\n}\n}\n"},58651:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n\n\n'},78851:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-min-max',\n templateUrl: './min-max.component.html'\n})\nexport class DemoDatepickerMinMaxComponent {\n minDate: Date;\n maxDate: Date;\n\n constructor() {\n this.minDate = new Date();\n this.maxDate = new Date();\n this.minDate.setDate(this.minDate.getDate() - 1);\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n }\n}\n"},8457:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n \n
\n
\n
\n'},25509:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component, OnInit } from '@angular/core';\n\nimport { BsDatepickerConfig, BsDatepickerViewMode } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-min-mode',\n templateUrl: './min-mode.component.html'\n})\nexport class DemoDatepickerMinModeComponent implements OnInit {\n datePickerValue: Date = new Date(2020, 7);\n dateRangePickerValue?: (Date | undefined)[];\n range1: Date = new Date(2020, 5);\n range2: Date = new Date(2020, 8);\n minMode: BsDatepickerViewMode = 'month';\n\n bsConfig?: Partial;\n\n ngOnInit(): void {\n this.dateRangePickerValue = [this.range1, this.range2];\n this.bsConfig = Object.assign({}, {\n minMode : this.minMode\n });\n }\n}\n"},56322:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

Outside click closes the datepicker in this example

\n \n
\n
\n

Outside click doesn\'t close the datepicker in this example

\n \n
\n
\n'},98814:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-outside-click',\n templateUrl: './outside-click.html'\n})\nexport class DemoDatepickerOutsideClickComponent {}\n"},79222:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

The datepicker\'s placement is right

\n \n
\n
\n

The datepicker\'s placement is top

\n \n
\n
\n

The datepicker\'s placement is bottom

\n \n
\n
\n

The datepicker\'s placement is left

\n \n
\n
\n'},93986:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-placement',\n templateUrl: './placement.html'\n})\nexport class DemoDatepickerPlacementComponent {}\n"},76481:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},1357:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-prevent-change-to-next-month',\n templateUrl: './prevent-change-to-next-month.component.html'\n})\nexport class DemoDatepickerPreventChangeToNextMonthComponent {\n maxDate = new Date();\n\n constructor() {\n this.maxDate.setDate(this.maxDate.getDate() + 7);\n }\n}\n"},88022:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},27522:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\ninterface IRange {\n value: Date[];\n label: string;\n}\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-quick-select-ranges',\n templateUrl: './quick-select-ranges.html'\n})\nexport class DemoDatePickerQuickSelectRangesComponent {\n ranges: IRange[] = [{\n value: [new Date(new Date().setDate(new Date().getDate() - 7)), new Date()],\n label: 'Last 7 Days'\n }, {\n value: [new Date(), new Date(new Date().setDate(new Date().getDate() + 7))],\n label: 'Next 7 Days'\n }];\n\n}\n"},539:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n
\n \n
{{myForm?.value?.date | date}}
\n
\n
\n \n
from {{myForm?.value?.range[0] | date}} to {{myForm?.value?.range[1] | date}}
\n
\n
\n
\n\n\n'},34659:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component, OnInit } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-reactive-forms',\n templateUrl: './reactive-forms.component.html'\n})\nexport class DemoDatepickerReactiveFormsComponent implements OnInit {\n myForm?: UntypedFormGroup;\n constructor(private formBuilder: UntypedFormBuilder) {}\n\n ngOnInit() {\n this.myForm = this.formBuilder.group({\n date: null,\n range: null\n });\n }\n}\n"},85027:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},72795:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-return-focus-to-input',\n templateUrl: './return-focus-to-input.component.html'\n})\nexport class DemoDatePickerReturnFocusToInputComponent {}\n"},70632:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},16344:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-select-dates-from-other-months',\n templateUrl: './select-dates-from-other-months.html'\n})\nexport class DemoDatePickerSelectDatesFromOtherMonthsComponent {}\n"},6646:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n\n

Also works with selectFromOtherMonth option, which allows to select weeks which started on previous\n month

\n\n
\n
\n \n
\n
\n\n\n

If first day of the week is disabled, the next one will be selected.

\n\n
\n
\n

Two first days of the each week are disabled

\n \n
\n
\n\n\n

If all days in week are disabled, you can\'t select this week

\n\n
\n
\n \n
\n
\n'},29698:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-select-week-range',\n templateUrl: './select-week-range.html'\n})\nexport class DemoDatePickerSelectWeekRangeComponent {}\n"},96598:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n\n

Also works with selectFromOtherMonth option, which allows to select weeks which started on previous\n month

\n\n
\n
\n \n
\n
\n\n\n

If first day of the week is disabled, the next one will be selected.

\n\n
\n
\n

Two first days of the each week are disabled

\n \n
\n\n
\n\n\n

If all days in week are disabled, you can\'t select this week

\n\n
\n
\n \n
\n\n
\n'},19938:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-select-week',\n templateUrl: './select-week.html'\n})\nexport class DemoDatePickerSelectWeekComponent {}\n"},53576:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

The datepicker\'s start view is day (default)

\n \n
\n
\n

The datepicker\'s start view is month

\n \n
\n
\n

The datepicker\'s start view is year

\n \n
\n
\n'},60600:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-start-view',\n templateUrl: './start-view.html'\n})\nexport class DemoDatepickerStartViewComponent {}\n"},66200:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},90472:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-today-button',\n templateUrl: './today-button.html'\n})\nexport class DemoDatepickerTodayButtonComponent {}\n"},13806:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n'},95562:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\nimport { DatepickerDateTooltipText } from 'ngx-bootstrap/datepicker';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-tooltip-to-selected-dates',\n templateUrl: './tooltip-to-selected-dates.html'\n})\n// eslint-disable-next-line @angular-eslint/component-class-suffix\nexport class DemoDatePickerTooltipToSelectedDates {\n selectedDates : DatepickerDateTooltipText[] = [{ date: new Date('2020-08-08'), tooltipText: '8th of August'},\n { date: new Date('2020-08-09'), tooltipText: '9th of August'},\n { date: new Date('2020-08-07'), tooltipText: '7th of August'}\n ];\n}\n"},17654:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},5986:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-trigger-by-isopen',\n templateUrl: './trigger-by-isopen-property.html'\n})\nexport class DemoDatepickerByIsOpenPropComponent {\n isOpen = false;\n}\n\n"},54894:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n

Hover over the input to open the datepicker

\n \n
\n
\n

Focus on input and press any key to open the datepicker

\n \n
\n
\n

\u0421lick twice on input to open the datepicker

\n \n
\n
\n'},60394:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-triggers-custom',\n templateUrl: './triggers-custom.html'\n})\nexport class DemoDatepickerTriggersCustomComponent {}\n"},94058:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n\n \n\n \n
\n
\n'},41750:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-triggers-manual',\n templateUrl: './triggers-manual.html'\n})\nexport class DemoDatepickerTriggersManualComponent {}\n"},1266:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n
\n
Changed date is {{data | date}}
\n
\n \n
\n
\n'},29518:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-value-change-event',\n templateUrl: './value-change-event.html'\n})\nexport class DemoDatepickerValueChangeEventComponent {\n data?: Date;\n\n onValueChange(value: Date): void {\n this.data = value;\n }\n}\n"},83722:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n\n
\n
\n
{{message}}
\n
\n
\n\n\n'},80214:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-visibility-events',\n templateUrl: './visibility-events.html'\n})\n\nexport class DemoDatePickerVisibilityEventsComponent {\n messages: string[] = [];\n message = 'onShown';\n handler(value: string): void {\n if(this.message === value) {\n this.messages = [];\n }\n this.messages.push(`Event ${value} is fired`);\n }\n}\n"},26906:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d='
\n
\n \n
\n
\n \n
\n
\n'},72614:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'demo-datepicker-with-timepicker',\n templateUrl: './with-timepicker.html'\n})\n\nexport class DemoDatepickerWithTimepickerComponent {\n}\n"},51487:(u,c,r)=>{r.r(c),r.d(c,{default:()=>d});const d="### Standalone component usage\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\n\nimport { BsDatepickerModule } from 'ngx-bootstrap/datepicker';\n\n@Components({\n imports: [\n BrowserAnimationsModule,\n BsDatepickerModule,\n ...\n ]\n})\nexport class AppComponents(){}\n\n\n### Module usage\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\n\nimport { BsDatepickerModule } from 'ngx-bootstrap/datepicker';\n\n@NgModule({\n imports: [\n BrowserAnimationsModule,\n BsDatepickerModule,\n ...\n ]\n})\nexport class AppModule(){}\n"}}]); \ No newline at end of file diff --git a/assets/json/versions.json b/assets/json/versions.json index 5733002488..fe51488c70 100644 --- a/assets/json/versions.json +++ b/assets/json/versions.json @@ -1,72 +1 @@ -[ - { - "version": "Current", - "url": "ngx-bootstrap", - "unprefixedUrl": "" - }, - { - "version": "1.9.3", - "url": "ngx-bootstrap/old/1.9.3", - "unprefixedUrl": "old/1.9.3" - }, - { - "version": "10.3.0", - "url": "ngx-bootstrap/old/10.3.0", - "unprefixedUrl": "old/10.3.0" - }, - { - "version": "11.0.2", - "url": "ngx-bootstrap/old/11.0.2", - "unprefixedUrl": "old/11.0.2" - }, - { - "version": "12.0.0", - "url": "ngx-bootstrap/old/12.0.0", - "unprefixedUrl": "old/12.0.0" - }, - { - "version": "18.1.0", - "url": "ngx-bootstrap/old/18.1.0", - "unprefixedUrl": "old/18.1.0" - }, - { - "version": "2.0.5", - "url": "ngx-bootstrap/old/2.0.5", - "unprefixedUrl": "old/2.0.5" - }, - { - "version": "3.3.0", - "url": "ngx-bootstrap/old/3.3.0", - "unprefixedUrl": "old/3.3.0" - }, - { - "version": "4.3.0", - "url": "ngx-bootstrap/old/4.3.0", - "unprefixedUrl": "old/4.3.0" - }, - { - "version": "5.6.0", - "url": "ngx-bootstrap/old/5.6.0", - "unprefixedUrl": "old/5.6.0" - }, - { - "version": "6.2.0", - "url": "ngx-bootstrap/old/6.2.0", - "unprefixedUrl": "old/6.2.0" - }, - { - "version": "7.1.2", - "url": "ngx-bootstrap/old/7.1.2", - "unprefixedUrl": "old/7.1.2" - }, - { - "version": "8.0.0", - "url": "ngx-bootstrap/old/8.0.0", - "unprefixedUrl": "old/8.0.0" - }, - { - "version": "9.0.0", - "url": "ngx-bootstrap/old/9.0.0", - "unprefixedUrl": "old/9.0.0" - } -] +[] diff --git a/index.html b/index.html index f14c7e049b..6ff11e33df 100644 --- a/index.html +++ b/index.html @@ -52,5 +52,5 @@ - + diff --git a/main.7733e90478dd688c.js b/main.8c3b659bba4066f7.js similarity index 99% rename from main.7733e90478dd688c.js rename to main.8c3b659bba4066f7.js index 8dd4c8c830..86b4683dc7 100644 --- a/main.7733e90478dd688c.js +++ b/main.8c3b659bba4066f7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_bootstrap_docs=self.webpackChunkngx_bootstrap_docs||[]).push([[792],{34958:(We,de,D)=>{var y=D(345),h=D(54438),Z=D(21626),o=D(8681),Q=D(43744),H=D(49969);function ue(R){return new h.wOt(3e3,!1)}function dt(R){switch(R.length){case 0:return new H.sf;case 1:return R[0];default:return new H.ui(R)}}function Vt(R,d,g=new Map,_=new Map){const N=[],j=[];let ne=-1,K=null;if(d.forEach(fe=>{const ve=fe.get("offset"),Qe=ve==ne,He=Qe&&K||new Map;fe.forEach((Xt,Pt)=>{let yt=Pt,St=Xt;if("offset"!==Pt)switch(yt=R.normalizePropertyName(yt,N),St){case H.FX:St=g.get(Pt);break;case H.kp:St=_.get(Pt);break;default:St=R.normalizeStyleValue(Pt,yt,St,N)}He.set(yt,St)}),Qe||j.push(He),K=He,ne=ve}),N.length)throw function _t(R){return new h.wOt(3502,!1)}();return j}function Ut(R,d,g,_){switch(d){case"start":R.onStart(()=>_(g&&tt(g,"start",R)));break;case"done":R.onDone(()=>_(g&&tt(g,"done",R)));break;case"destroy":R.onDestroy(()=>_(g&&tt(g,"destroy",R)))}}function tt(R,d,g){const j=an(R.element,R.triggerName,R.fromState,R.toState,d||R.phaseName,g.totalTime??R.totalTime,!!g.disabled),ne=R._data;return null!=ne&&(j._data=ne),j}function an(R,d,g,_,N="",j=0,ne){return{element:R,triggerName:d,fromState:g,toState:_,phaseName:N,totalTime:j,disabled:!!ne}}function tn(R,d,g){let _=R.get(d);return _||R.set(d,_=g),_}function En(R){const d=R.indexOf(":");return[R.substring(1,d),R.slice(d+1)]}const en=typeof document>"u"?null:document.documentElement;function Ve(R){const d=R.parentNode||R.host||null;return d===en?null:d}let kn=null,Kn=!1;function bn(R,d){for(;d;){if(d===R)return!0;d=Ve(d)}return!1}function Ft(R,d,g){if(g)return Array.from(R.querySelectorAll(d));const _=R.querySelector(d);return _?[_]:[]}let sr=(()=>{class R{validateStyleProperty(g){return function Vr(R){kn||(kn=function pr(){return typeof document<"u"?document.body:null}()||{},Kn=!!kn.style&&"WebkitAppearance"in kn.style);let d=!0;return kn.style&&!function ln(R){return"ebkit"==R.substring(1,6)}(R)&&(d=R in kn.style,!d&&Kn&&(d="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in kn.style)),d}(g)}containsElement(g,_){return bn(g,_)}getParentElement(g){return Ve(g)}query(g,_,N){return Ft(g,_,N)}computeStyle(g,_,N){return N||""}animate(g,_,N,j,ne,K=[],fe){return new H.sf(N,j)}static#e=this.\u0275fac=function(_){return new(_||R)};static#t=this.\u0275prov=h.jDH({token:R,factory:R.\u0275fac})}return R})();class er{static#e=this.NOOP=new sr}class Mn{}const Rn=1e3,Sn="ng-enter",at="ng-leave",Fn="ng-trigger",Yt=".ng-trigger",Qn="ng-animating",tr=".ng-animating";function nr(R){if("number"==typeof R)return R;const d=R.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:Yn(parseFloat(d[1]),d[2])}function Yn(R,d){return"s"===d?R*Rn:R}function ct(R,d,g){return R.hasOwnProperty("duration")?R:function ye(R,d,g){let N,j=0,ne="";if("string"==typeof R){const K=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===K)return d.push(ue()),{duration:0,delay:0,easing:""};N=Yn(parseFloat(K[1]),K[2]);const fe=K[3];null!=fe&&(j=Yn(parseFloat(fe),K[4]));const ve=K[5];ve&&(ne=ve)}else N=R;if(!g){let K=!1,fe=d.length;N<0&&(d.push(function ie(){return new h.wOt(3100,!1)}()),K=!0),j<0&&(d.push(function le(){return new h.wOt(3101,!1)}()),K=!0),K&&d.splice(fe,0,ue())}return{duration:N,delay:j,easing:ne}}(R,d,g)}function O(R,d,g){d.forEach((_,N)=>{const j=Nt(N);g&&!g.has(N)&&g.set(N,R.style[j]),R.style[j]=_})}function z(R,d){d.forEach((g,_)=>{const N=Nt(_);R.style[N]=""})}function me(R){return Array.isArray(R)?1==R.length?R[0]:(0,H.K2)(R):R}const xe=new RegExp("{{\\s*(.+?)\\s*}}","g");function ze(R){let d=[];if("string"==typeof R){let g;for(;g=xe.exec(R);)d.push(g[1]);xe.lastIndex=0}return d}function nt(R,d,g){const _=`${R}`,N=_.replace(xe,(j,ne)=>{let K=d[ne];return null==K&&(g.push(function B(R){return new h.wOt(3003,!1)}()),K=""),K.toString()});return N==_?R:N}const ut=/-+([a-z0-9])/g;function Nt(R){return R.replace(ut,(...d)=>d[1].toUpperCase())}function Ze(R,d,g){switch(d.type){case H.If.Trigger:return R.visitTrigger(d,g);case H.If.State:return R.visitState(d,g);case H.If.Transition:return R.visitTransition(d,g);case H.If.Sequence:return R.visitSequence(d,g);case H.If.Group:return R.visitGroup(d,g);case H.If.Animate:return R.visitAnimate(d,g);case H.If.Keyframes:return R.visitKeyframes(d,g);case H.If.Style:return R.visitStyle(d,g);case H.If.Reference:return R.visitReference(d,g);case H.If.AnimateChild:return R.visitAnimateChild(d,g);case H.If.AnimateRef:return R.visitAnimateRef(d,g);case H.If.Query:return R.visitQuery(d,g);case H.If.Stagger:return R.visitStagger(d,g);default:throw function ce(R){return new h.wOt(3004,!1)}()}}function mr(R,d){return window.getComputedStyle(R)[d]}const qr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Zn extends Mn{normalizePropertyName(d,g){return Nt(d)}normalizeStyleValue(d,g,_,N){let j="";const ne=_.toString().trim();if(qr.has(g)&&0!==_&&"0"!==_)if("number"==typeof _)j="px";else{const K=_.match(/^[+-]?[\d\.]+([a-z]*)$/);K&&0==K[1].length&&N.push(function V(R,d){return new h.wOt(3005,!1)}())}return ne+j}}const kr="*";const yr=new Set(["true","1"]),to=new Set(["false","0"]);function no(R,d){const g=yr.has(R)||to.has(R),_=yr.has(d)||to.has(d);return(N,j)=>{let ne=R==kr||R==N,K=d==kr||d==j;return!ne&&g&&"boolean"==typeof N&&(ne=N?yr.has(R):to.has(R)),!K&&_&&"boolean"==typeof j&&(K=j?yr.has(d):to.has(d)),ne&&K}}const At=new RegExp("s*:selfs*,?","g");function $r(R,d,g,_){return new L(R).build(d,g,_)}class L{constructor(d){this._driver=d}build(d,g,_){const N=new De(g);return this._resetContextStyleTimingState(N),Ze(this,me(d),N)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,g){let _=g.queryCount=0,N=g.depCount=0;const j=[],ne=[];return"@"==d.name.charAt(0)&&g.errors.push(function ge(){return new h.wOt(3006,!1)}()),d.definitions.forEach(K=>{if(this._resetContextStyleTimingState(g),K.type==H.If.State){const fe=K,ve=fe.name;ve.toString().split(/\s*,\s*/).forEach(Qe=>{fe.name=Qe,j.push(this.visitState(fe,g))}),fe.name=ve}else if(K.type==H.If.Transition){const fe=this.visitTransition(K,g);_+=fe.queryCount,N+=fe.depCount,ne.push(fe)}else g.errors.push(function _e(){return new h.wOt(3007,!1)}())}),{type:H.If.Trigger,name:d.name,states:j,transitions:ne,queryCount:_,depCount:N,options:null}}visitState(d,g){const _=this.visitStyle(d.styles,g),N=d.options&&d.options.params||null;if(_.containsDynamicStyles){const j=new Set,ne=N||{};_.styles.forEach(K=>{K instanceof Map&&K.forEach(fe=>{ze(fe).forEach(ve=>{ne.hasOwnProperty(ve)||j.add(ve)})})}),j.size&&g.errors.push(function Oe(R,d){return new h.wOt(3008,!1)}(0,j.values()))}return{type:H.If.State,name:d.name,style:_,options:N?{params:N}:null}}visitTransition(d,g){g.queryCount=0,g.depCount=0;const _=Ze(this,me(d.animation),g),N=function lr(R,d){const g=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach(_=>function eo(R,d,g){if(":"==R[0]){const fe=function Ur(R,d){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(g,_)=>parseFloat(_)>parseFloat(g);case":decrement":return(g,_)=>parseFloat(_) *"}}(R,g);if("function"==typeof fe)return void d.push(fe);R=fe}const _=R.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return g.push(function st(R){return new h.wOt(3015,!1)}()),d;const N=_[1],j=_[2],ne=_[3];d.push(no(N,ne)),"<"==j[0]&&(N!=kr||ne!=kr)&&d.push(no(ne,N))}(_,g,d)):g.push(R),g}(d.expr,g.errors);return{type:H.If.Transition,matchers:N,animation:_,queryCount:g.queryCount,depCount:g.depCount,options:M(d.options)}}visitSequence(d,g){return{type:H.If.Sequence,steps:d.steps.map(_=>Ze(this,_,g)),options:M(d.options)}}visitGroup(d,g){const _=g.currentTime;let N=0;const j=d.steps.map(ne=>{g.currentTime=_;const K=Ze(this,ne,g);return N=Math.max(N,g.currentTime),K});return g.currentTime=N,{type:H.If.Group,steps:j,options:M(d.options)}}visitAnimate(d,g){const _=function Ge(R,d){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return q(ct(R,d).duration,0,"");const g=R;if(g.split(/\s+/).some(j=>"{"==j.charAt(0)&&"{"==j.charAt(1))){const j=q(0,0,"");return j.dynamic=!0,j.strValue=g,j}const N=ct(g,d);return q(N.duration,N.delay,N.easing)}(d.timings,g.errors);g.currentAnimateTimings=_;let N,j=d.styles?d.styles:(0,H.iF)({});if(j.type==H.If.Keyframes)N=this.visitKeyframes(j,g);else{let ne=d.styles,K=!1;if(!ne){K=!0;const ve={};_.easing&&(ve.easing=_.easing),ne=(0,H.iF)(ve)}g.currentTime+=_.duration+_.delay;const fe=this.visitStyle(ne,g);fe.isEmptyStep=K,N=fe}return g.currentAnimateTimings=null,{type:H.If.Animate,timings:_,style:N,options:null}}visitStyle(d,g){const _=this._makeStyleAst(d,g);return this._validateStyleAst(_,g),_}_makeStyleAst(d,g){const _=[],N=Array.isArray(d.styles)?d.styles:[d.styles];for(let K of N)"string"==typeof K?K===H.kp?_.push(K):g.errors.push(new h.wOt(3002,!1)):_.push(new Map(Object.entries(K)));let j=!1,ne=null;return _.forEach(K=>{if(K instanceof Map&&(K.has("easing")&&(ne=K.get("easing"),K.delete("easing")),!j))for(let fe of K.values())if(fe.toString().indexOf("{{")>=0){j=!0;break}}),{type:H.If.Style,styles:_,easing:ne,offset:d.offset,containsDynamicStyles:j,options:null}}_validateStyleAst(d,g){const _=g.currentAnimateTimings;let N=g.currentTime,j=g.currentTime;_&&j>0&&(j-=_.duration+_.delay),d.styles.forEach(ne=>{"string"!=typeof ne&&ne.forEach((K,fe)=>{const ve=g.collectedStyles.get(g.currentQuerySelector),Qe=ve.get(fe);let He=!0;Qe&&(j!=N&&j>=Qe.startTime&&N<=Qe.endTime&&(g.errors.push(function kt(R,d,g,_,N){return new h.wOt(3010,!1)}()),He=!1),j=Qe.startTime),He&&ve.set(fe,{startTime:j,endTime:N}),g.options&&function Ae(R,d,g){const _=d.params||{},N=ze(R);N.length&&N.forEach(j=>{_.hasOwnProperty(j)||g.push(function Y(R){return new h.wOt(3001,!1)}())})}(K,g.options,g.errors)})})}visitKeyframes(d,g){const _={type:H.If.Keyframes,styles:[],options:null};if(!g.currentAnimateTimings)return g.errors.push(function Le(){return new h.wOt(3011,!1)}()),_;let j=0;const ne=[];let K=!1,fe=!1,ve=0;const Qe=d.steps.map(wn=>{const Vn=this._makeStyleAst(wn,g);let rr=null!=Vn.offset?Vn.offset:function Pe(R){if("string"==typeof R)return null;let d=null;if(Array.isArray(R))R.forEach(g=>{if(g instanceof Map&&g.has("offset")){const _=g;d=parseFloat(_.get("offset")),_.delete("offset")}});else if(R instanceof Map&&R.has("offset")){const g=R;d=parseFloat(g.get("offset")),g.delete("offset")}return d}(Vn.styles),Wn=0;return null!=rr&&(j++,Wn=Vn.offset=rr),fe=fe||Wn<0||Wn>1,K=K||Wn0&&j{const rr=Xt>0?Vn==Pt?1:Xt*Vn:ne[Vn],Wn=rr*hn;g.currentTime=yt+St.delay+Wn,St.duration=Wn,this._validateStyleAst(wn,g),wn.offset=rr,_.styles.push(wn)}),_}visitReference(d,g){return{type:H.If.Reference,animation:Ze(this,me(d.animation),g),options:M(d.options)}}visitAnimateChild(d,g){return g.depCount++,{type:H.If.AnimateChild,options:M(d.options)}}visitAnimateRef(d,g){return{type:H.If.AnimateRef,animation:this.visitReference(d.animation,g),options:M(d.options)}}visitQuery(d,g){const _=g.currentQuerySelector,N=d.options||{};g.queryCount++,g.currentQuery=d;const[j,ne]=function J(R){const d=!!R.split(/\s*,\s*/).find(g=>":self"==g);return d&&(R=R.replace(At,"")),R=R.replace(/@\*/g,Yt).replace(/@\w+/g,g=>Yt+"-"+g.slice(1)).replace(/:animating/g,tr),[R,d]}(d.selector);g.currentQuerySelector=_.length?_+" "+j:j,tn(g.collectedStyles,g.currentQuerySelector,new Map);const K=Ze(this,me(d.animation),g);return g.currentQuery=null,g.currentQuerySelector=_,{type:H.If.Query,selector:j,limit:N.limit||0,optional:!!N.optional,includeSelf:ne,animation:K,originalSelector:d.selector,options:M(d.options)}}visitStagger(d,g){g.currentQuery||g.errors.push(function $e(){return new h.wOt(3013,!1)}());const _="full"===d.timings?{duration:0,delay:0,easing:"full"}:ct(d.timings,g.errors,!0);return{type:H.If.Stagger,animation:Ze(this,me(d.animation),g),timings:_,options:null}}}class De{constructor(d){this.errors=d,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function M(R){return R?(R={...R}).params&&(R.params=function ee(R){return R?{...R}:null}(R.params)):R={},R}function q(R,d,g){return{duration:R,delay:d,easing:g}}function A(R,d,g,_,N,j,ne=null,K=!1){return{type:1,element:R,keyframes:d,preStyleProps:g,postStyleProps:_,duration:N,delay:j,totalTime:N+j,easing:ne,subTimeline:K}}class te{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,g){let _=this._map.get(d);_||this._map.set(d,_=[]),_.push(...g)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Ct=new RegExp(":enter","g"),qt=new RegExp(":leave","g");function wt(R,d,g,_,N,j=new Map,ne=new Map,K,fe,ve=[]){return(new Xe).buildKeyframes(R,d,g,_,N,j,ne,K,fe,ve)}class Xe{buildKeyframes(d,g,_,N,j,ne,K,fe,ve,Qe=[]){ve=ve||new te;const He=new Hr(d,g,ve,N,j,Qe,[]);He.options=fe;const Xt=fe.delay?nr(fe.delay):0;He.currentTimeline.delayNextStep(Xt),He.currentTimeline.setStyles([ne],null,He.errors,fe),Ze(this,_,He);const Pt=He.timelines.filter(yt=>yt.containsAnimation());if(Pt.length&&K.size){let yt;for(let St=Pt.length-1;St>=0;St--){const hn=Pt[St];if(hn.element===g){yt=hn;break}}yt&&!yt.allowOnlyTimelineStyles()&&yt.setStyles([K],null,He.errors,fe)}return Pt.length?Pt.map(yt=>yt.buildKeyframes()):[A(g,[],[],[],0,Xt,"",!1)]}visitTrigger(d,g){}visitState(d,g){}visitTransition(d,g){}visitAnimateChild(d,g){const _=g.subInstructions.get(g.element);if(_){const N=g.createSubContext(d.options),j=g.currentTimeline.currentTime,ne=this._visitSubInstructions(_,N,N.options);j!=ne&&g.transformIntoNewTimeline(ne)}g.previousNode=d}visitAnimateRef(d,g){const _=g.createSubContext(d.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],g,_),this.visitReference(d.animation,_),g.transformIntoNewTimeline(_.currentTimeline.currentTime),g.previousNode=d}_applyAnimationRefDelays(d,g,_){for(const N of d){const j=N?.delay;if(j){const ne="number"==typeof j?j:nr(nt(j,N?.params??{},g.errors));_.delayNextStep(ne)}}}_visitSubInstructions(d,g,_){let j=g.currentTimeline.currentTime;const ne=null!=_.duration?nr(_.duration):null,K=null!=_.delay?nr(_.delay):null;return 0!==ne&&d.forEach(fe=>{const ve=g.appendInstructionToTimeline(fe,ne,K);j=Math.max(j,ve.duration+ve.delay)}),j}visitReference(d,g){g.updateOptions(d.options,!0),Ze(this,d.animation,g),g.previousNode=d}visitSequence(d,g){const _=g.subContextCount;let N=g;const j=d.options;if(j&&(j.params||j.delay)&&(N=g.createSubContext(j),N.transformIntoNewTimeline(),null!=j.delay)){N.previousNode.type==H.If.Style&&(N.currentTimeline.snapshotCurrentStyles(),N.previousNode=It);const ne=nr(j.delay);N.delayNextStep(ne)}d.steps.length&&(d.steps.forEach(ne=>Ze(this,ne,N)),N.currentTimeline.applyStylesToKeyframe(),N.subContextCount>_&&N.transformIntoNewTimeline()),g.previousNode=d}visitGroup(d,g){const _=[];let N=g.currentTimeline.currentTime;const j=d.options&&d.options.delay?nr(d.options.delay):0;d.steps.forEach(ne=>{const K=g.createSubContext(d.options);j&&K.delayNextStep(j),Ze(this,ne,K),N=Math.max(N,K.currentTimeline.currentTime),_.push(K.currentTimeline)}),_.forEach(ne=>g.currentTimeline.mergeTimelineCollectedStyles(ne)),g.transformIntoNewTimeline(N),g.previousNode=d}_visitTiming(d,g){if(d.dynamic){const _=d.strValue;return ct(g.params?nt(_,g.params,g.errors):_,g.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,g){const _=g.currentAnimateTimings=this._visitTiming(d.timings,g),N=g.currentTimeline;_.delay&&(g.incrementTime(_.delay),N.snapshotCurrentStyles());const j=d.style;j.type==H.If.Keyframes?this.visitKeyframes(j,g):(g.incrementTime(_.duration),this.visitStyle(j,g),N.applyStylesToKeyframe()),g.currentAnimateTimings=null,g.previousNode=d}visitStyle(d,g){const _=g.currentTimeline,N=g.currentAnimateTimings;!N&&_.hasCurrentStyleProperties()&&_.forwardFrame();const j=N&&N.easing||d.easing;d.isEmptyStep?_.applyEmptyStep(j):_.setStyles(d.styles,j,g.errors,g.options),g.previousNode=d}visitKeyframes(d,g){const _=g.currentAnimateTimings,N=g.currentTimeline.duration,j=_.duration,K=g.createSubContext().currentTimeline;K.easing=_.easing,d.styles.forEach(fe=>{K.forwardTime((fe.offset||0)*j),K.setStyles(fe.styles,fe.easing,g.errors,g.options),K.applyStylesToKeyframe()}),g.currentTimeline.mergeTimelineCollectedStyles(K),g.transformIntoNewTimeline(N+j),g.previousNode=d}visitQuery(d,g){const _=g.currentTimeline.currentTime,N=d.options||{},j=N.delay?nr(N.delay):0;j&&(g.previousNode.type===H.If.Style||0==_&&g.currentTimeline.hasCurrentStyleProperties())&&(g.currentTimeline.snapshotCurrentStyles(),g.previousNode=It);let ne=_;const K=g.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!N.optional,g.errors);g.currentQueryTotal=K.length;let fe=null;K.forEach((ve,Qe)=>{g.currentQueryIndex=Qe;const He=g.createSubContext(d.options,ve);j&&He.delayNextStep(j),ve===g.element&&(fe=He.currentTimeline),Ze(this,d.animation,He),He.currentTimeline.applyStylesToKeyframe(),ne=Math.max(ne,He.currentTimeline.currentTime)}),g.currentQueryIndex=0,g.currentQueryTotal=0,g.transformIntoNewTimeline(ne),fe&&(g.currentTimeline.mergeTimelineCollectedStyles(fe),g.currentTimeline.snapshotCurrentStyles()),g.previousNode=d}visitStagger(d,g){const _=g.parentContext,N=g.currentTimeline,j=d.timings,ne=Math.abs(j.duration),K=ne*(g.currentQueryTotal-1);let fe=ne*g.currentQueryIndex;switch(j.duration<0?"reverse":j.easing){case"reverse":fe=K-fe;break;case"full":fe=_.currentStaggerTime}const Qe=g.currentTimeline;fe&&Qe.delayNextStep(fe);const He=Qe.currentTime;Ze(this,d.animation,g),g.previousNode=d,_.currentStaggerTime=N.currentTime-He+(N.startTime-_.currentTimeline.startTime)}}const It={};class Hr{constructor(d,g,_,N,j,ne,K,fe){this._driver=d,this.element=g,this.subInstructions=_,this._enterClassName=N,this._leaveClassName=j,this.errors=ne,this.timelines=K,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=It,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=fe||new yn(this._driver,g,0),K.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,g){if(!d)return;const _=d;let N=this.options;null!=_.duration&&(N.duration=nr(_.duration)),null!=_.delay&&(N.delay=nr(_.delay));const j=_.params;if(j){let ne=N.params;ne||(ne=this.options.params={}),Object.keys(j).forEach(K=>{(!g||!ne.hasOwnProperty(K))&&(ne[K]=nt(j[K],ne,this.errors))})}}_copyOptions(){const d={};if(this.options){const g=this.options.params;if(g){const _=d.params={};Object.keys(g).forEach(N=>{_[N]=g[N]})}}return d}createSubContext(d=null,g,_){const N=g||this.element,j=new Hr(this._driver,N,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(N,_||0));return j.previousNode=this.previousNode,j.currentAnimateTimings=this.currentAnimateTimings,j.options=this._copyOptions(),j.updateOptions(d),j.currentQueryIndex=this.currentQueryIndex,j.currentQueryTotal=this.currentQueryTotal,j.parentContext=this,this.subContextCount++,j}transformIntoNewTimeline(d){return this.previousNode=It,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,g,_){const N={duration:g??d.duration,delay:this.currentTimeline.currentTime+(_??0)+d.delay,easing:""},j=new Pn(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,N,d.stretchStartingKeyframe);return this.timelines.push(j),N}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,g,_,N,j,ne){let K=[];if(N&&K.push(this.element),d.length>0){d=(d=d.replace(Ct,"."+this._enterClassName)).replace(qt,"."+this._leaveClassName);let ve=this._driver.query(this.element,d,1!=_);0!==_&&(ve=_<0?ve.slice(ve.length+_,ve.length):ve.slice(0,_)),K.push(...ve)}return!j&&0==K.length&&ne.push(function et(R){return new h.wOt(3014,!1)}()),K}}class yn{constructor(d,g,_,N){this._driver=d,this.element=g,this.startTime=_,this._elementTimelineStylesLookup=N,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(g),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(g,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(d){const g=1===this._keyframes.size&&this._pendingStyles.size;this.duration||g?(this.forwardTime(this.currentTime+d),g&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,g){return this.applyStylesToKeyframe(),new yn(this._driver,d,g||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,g){this._localTimelineStyles.set(d,g),this._globalTimelineStyles.set(d,g),this._styleSummary.set(d,{time:this.currentTime,value:g})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[g,_]of this._globalTimelineStyles)this._backFill.set(g,_||H.kp),this._currentKeyframe.set(g,H.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,g,_,N){g&&this._previousKeyframe.set("easing",g);const j=N&&N.params||{},ne=function oo(R,d){const g=new Map;let _;return R.forEach(N=>{if("*"===N){_??=d.keys();for(let j of _)g.set(j,H.kp)}else for(let[j,ne]of N)g.set(j,ne)}),g}(d,this._globalTimelineStyles);for(let[K,fe]of ne){const ve=nt(fe,j,_);this._pendingStyles.set(K,ve),this._localTimelineStyles.has(K)||this._backFill.set(K,this._globalTimelineStyles.get(K)??H.kp),this._updateStyle(K,ve)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,g)=>{this._currentKeyframe.set(g,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,g)=>{this._currentKeyframe.has(g)||this._currentKeyframe.set(g,d)}))}snapshotCurrentStyles(){for(let[d,g]of this._localTimelineStyles)this._pendingStyles.set(d,g),this._updateStyle(d,g)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let g in this._currentKeyframe)d.push(g);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((g,_)=>{const N=this._styleSummary.get(_);(!N||g.time>N.time)&&this._updateStyle(_,g.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,g=new Set,_=1===this._keyframes.size&&0===this.duration;let N=[];this._keyframes.forEach((K,fe)=>{const ve=new Map([...this._backFill,...K]);ve.forEach((Qe,He)=>{Qe===H.FX?d.add(He):Qe===H.kp&&g.add(He)}),_||ve.set("offset",fe/this.duration),N.push(ve)});const j=[...d.values()],ne=[...g.values()];if(_){const K=N[0],fe=new Map(K);K.set("offset",0),fe.set("offset",1),N=[K,fe]}return A(this.element,N,j,ne,this.duration,this.startTime,this.easing,!1)}}class Pn extends yn{constructor(d,g,_,N,j,ne,K=!1){super(d,g,ne.delay),this.keyframes=_,this.preStyleProps=N,this.postStyleProps=j,this._stretchStartingKeyframe=K,this.timings={duration:ne.duration,delay:ne.delay,easing:ne.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:g,duration:_,easing:N}=this.timings;if(this._stretchStartingKeyframe&&g){const j=[],ne=_+g,K=g/ne,fe=new Map(d[0]);fe.set("offset",0),j.push(fe);const ve=new Map(d[0]);ve.set("offset",di(K)),j.push(ve);const Qe=d.length-1;for(let He=1;He<=Qe;He++){let Xt=new Map(d[He]);const Pt=Xt.get("offset");Xt.set("offset",di((g+Pt*_)/ne)),j.push(Xt)}_=ne,g=0,N="",d=j}return A(this.element,d,this.preStyleProps,this.postStyleProps,_,g,N,!0)}}function di(R,d=3){const g=Math.pow(10,d-1);return Math.round(R*g)/g}function go(R,d,g,_,N,j,ne,K,fe,ve,Qe,He,Xt){return{type:0,element:R,triggerName:d,isRemovalTransition:N,fromState:g,fromStyles:j,toState:_,toStyles:ne,timelines:K,queriedElements:fe,preStyleProps:ve,postStyleProps:Qe,totalTime:He,errors:Xt}}const xt={};class fi{constructor(d,g,_){this._triggerName=d,this.ast=g,this._stateStyles=_}match(d,g,_,N){return function cr(R,d,g,_,N){return R.some(j=>j(d,g,_,N))}(this.ast.matchers,d,g,_,N)}buildStyles(d,g,_){let N=this._stateStyles.get("*");return void 0!==d&&(N=this._stateStyles.get(d?.toString())||N),N?N.buildStyles(g,_):new Map}build(d,g,_,N,j,ne,K,fe,ve,Qe){const He=[],Xt=this.ast.options&&this.ast.options.params||xt,yt=this.buildStyles(_,K&&K.params||xt,He),St=fe&&fe.params||xt,hn=this.buildStyles(N,St,He),wn=new Set,Vn=new Map,rr=new Map,Wn="void"===N,Do={params:hi(St,Xt),delay:this.ast.options?.delay},_o=Qe?[]:wt(d,g,this.ast.animation,j,ne,yt,hn,Do,ve,He);let or=0;return _o.forEach(Er=>{or=Math.max(Er.duration+Er.delay,or)}),He.length?go(g,this._triggerName,_,N,Wn,yt,hn,[],[],Vn,rr,or,He):(_o.forEach(Er=>{const Sr=Er.element,jo=tn(Vn,Sr,new Set);Er.preStyleProps.forEach(Fr=>jo.add(Fr));const Wi=tn(rr,Sr,new Set);Er.postStyleProps.forEach(Fr=>Wi.add(Fr)),Sr!==g&&wn.add(Sr)}),go(g,this._triggerName,_,N,Wn,yt,hn,_o,[...wn.values()],Vn,rr,or))}}function hi(R,d){const g={...d};return Object.entries(R).forEach(([_,N])=>{null!=N&&(g[_]=N)}),g}class xi{constructor(d,g,_){this.styles=d,this.defaultParams=g,this.normalizer=_}buildStyles(d,g){const _=new Map,N=hi(d,this.defaultParams);return this.styles.styles.forEach(j=>{"string"!=typeof j&&j.forEach((ne,K)=>{ne&&(ne=nt(ne,N,g));const fe=this.normalizer.normalizePropertyName(K,g);ne=this.normalizer.normalizeStyleValue(K,fe,ne,g),_.set(K,ne)})}),_}}class pi{constructor(d,g,_){this.name=d,this.ast=g,this._normalizer=_,this.transitionFactories=[],this.states=new Map,g.states.forEach(N=>{this.states.set(N.name,new xi(N.style,N.options&&N.options.params||{},_))}),Fo(this.states,"true","1"),Fo(this.states,"false","0"),g.transitions.forEach(N=>{this.transitionFactories.push(new fi(d,N,this.states))}),this.fallbackTransition=function So(R,d,g){return new fi(R,{type:H.If.Transition,animation:{type:H.If.Sequence,steps:[],options:null},matchers:[(ne,K)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,g,_,N){return this.transitionFactories.find(ne=>ne.match(d,g,_,N))||null}matchStyles(d,g,_){return this.fallbackTransition.buildStyles(d,g,_)}}function Fo(R,d,g){R.has(d)?R.has(g)||R.set(g,R.get(d)):R.has(g)&&R.set(d,R.get(g))}const Pi=new te;class Li{constructor(d,g,_){this.bodyNode=d,this._driver=g,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(d,g){const _=[],j=$r(this._driver,g,_,[]);if(_.length)throw function Qt(R){return new h.wOt(3503,!1)}();this._animations.set(d,j)}_buildPlayer(d,g,_){const N=d.element,j=Vt(this._normalizer,d.keyframes,g,_);return this._driver.animate(N,j,d.duration,d.delay,d.easing,[],!0)}create(d,g,_={}){const N=[],j=this._animations.get(d);let ne;const K=new Map;if(j?(ne=wt(this._driver,g,j,Sn,at,new Map,new Map,_,Pi,N),ne.forEach(Qe=>{const He=tn(K,Qe.element,new Map);Qe.postStyleProps.forEach(Xt=>He.set(Xt,null))})):(N.push(function dn(){return new h.wOt(3300,!1)}()),ne=[]),N.length)throw function Ce(R){return new h.wOt(3504,!1)}();K.forEach((Qe,He)=>{Qe.forEach((Xt,Pt)=>{Qe.set(Pt,this._driver.computeStyle(He,Pt,H.kp))})});const ve=dt(ne.map(Qe=>{const He=K.get(Qe.element);return this._buildPlayer(Qe,new Map,He)}));return this._playersById.set(d,ve),ve.onDestroy(()=>this.destroy(d)),this.players.push(ve),ve}destroy(d){const g=this._getPlayer(d);g.destroy(),this._playersById.delete(d);const _=this.players.indexOf(g);_>=0&&this.players.splice(_,1)}_getPlayer(d){const g=this._playersById.get(d);if(!g)throw function U(R){return new h.wOt(3301,!1)}();return g}listen(d,g,_,N){const j=an(g,"","","");return Ut(this._getPlayer(d),_,j,N),()=>{}}command(d,g,_,N){if("register"==_)return void this.register(d,N[0]);if("create"==_)return void this.create(d,g,N[0]||{});const j=this._getPlayer(d);switch(_){case"play":j.play();break;case"pause":j.pause();break;case"reset":j.reset();break;case"restart":j.restart();break;case"finish":j.finish();break;case"init":j.init();break;case"setPosition":j.setPosition(parseFloat(N[0]));break;case"destroy":this.destroy(d)}}}const Mr="ng-animate-queued",io="ng-animate-disabled",Bn=[],Qo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ht={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gn="__ng_removed";class Ao{get params(){return this.options.params}constructor(d,g=""){this.namespaceId=g;const _=d&&d.hasOwnProperty("value");if(this.value=function Ds(R){return R??null}(_?d.value:d),_){const{value:j,...ne}=d;this.options=ne}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const g=d.params;if(g){const _=this.options.params;Object.keys(g).forEach(N=>{null==_[N]&&(_[N]=g[N])})}}}const zr="void",gi=new Ao(zr);class ji{constructor(d,g,_){this.id=d,this.hostElement=g,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,On(g,this._hostClassName)}listen(d,g,_,N){if(!this._triggers.has(g))throw function x(R,d){return new h.wOt(3302,!1)}();if(null==_||0==_.length)throw function $(R){return new h.wOt(3303,!1)}();if(!function mi(R){return"start"==R||"done"==R}(_))throw function re(R,d){return new h.wOt(3400,!1)}();const j=tn(this._elementListeners,d,[]),ne={name:g,phase:_,callback:N};j.push(ne);const K=tn(this._engine.statesByElement,d,new Map);return K.has(g)||(On(d,Fn),On(d,Fn+"-"+g),K.set(g,gi)),()=>{this._engine.afterFlush(()=>{const fe=j.indexOf(ne);fe>=0&&j.splice(fe,1),this._triggers.has(g)||K.delete(g)})}}register(d,g){return!this._triggers.has(d)&&(this._triggers.set(d,g),!0)}_getTrigger(d){const g=this._triggers.get(d);if(!g)throw function Me(R){return new h.wOt(3401,!1)}();return g}trigger(d,g,_,N=!0){const j=this._getTrigger(g),ne=new Yo(this.id,g,d);let K=this._engine.statesByElement.get(d);K||(On(d,Fn),On(d,Fn+"-"+g),this._engine.statesByElement.set(d,K=new Map));let fe=K.get(g);const ve=new Ao(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&fe&&ve.absorbOptions(fe.options),K.set(g,ve),fe||(fe=gi),ve.value!==zr&&fe.value===ve.value){if(!function _s(R,d){const g=Object.keys(R),_=Object.keys(d);if(g.length!=_.length)return!1;for(let N=0;N{z(d,hn),O(d,wn)})}return}const Xt=tn(this._engine.playersByElement,d,[]);Xt.forEach(St=>{St.namespaceId==this.id&&St.triggerName==g&&St.queued&&St.destroy()});let Pt=j.matchTransition(fe.value,ve.value,d,ve.params),yt=!1;if(!Pt){if(!N)return;Pt=j.fallbackTransition,yt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:g,transition:Pt,fromState:fe,toState:ve,player:ne,isFallbackTransition:yt}),yt||(On(d,Mr),ne.onStart(()=>{ao(d,Mr)})),ne.onDone(()=>{let St=this.players.indexOf(ne);St>=0&&this.players.splice(St,1);const hn=this._engine.playersByElement.get(d);if(hn){let wn=hn.indexOf(ne);wn>=0&&hn.splice(wn,1)}}),this.players.push(ne),Xt.push(ne),ne}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(g=>g.delete(d)),this._elementListeners.forEach((g,_)=>{this._elementListeners.set(_,g.filter(N=>N.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const g=this._engine.playersByElement.get(d);g&&(g.forEach(_=>_.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,g){const _=this._engine.driver.query(d,Yt,!0);_.forEach(N=>{if(N[Gn])return;const j=this._engine.fetchNamespacesByElement(N);j.size?j.forEach(ne=>ne.triggerLeaveAnimation(N,g,!1,!0)):this.clearElementCache(N)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(N=>this.clearElementCache(N)))}triggerLeaveAnimation(d,g,_,N){const j=this._engine.statesByElement.get(d),ne=new Map;if(j){const K=[];if(j.forEach((fe,ve)=>{if(ne.set(ve,fe.value),this._triggers.has(ve)){const Qe=this.trigger(d,ve,zr,N);Qe&&K.push(Qe)}}),K.length)return this._engine.markElementAsRemoved(this.id,d,!0,g,ne),_&&dt(K).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const g=this._elementListeners.get(d),_=this._engine.statesByElement.get(d);if(g&&_){const N=new Set;g.forEach(j=>{const ne=j.name;if(N.has(ne))return;N.add(ne);const fe=this._triggers.get(ne).fallbackTransition,ve=_.get(ne)||gi,Qe=new Ao(zr),He=new Yo(this.id,ne,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:ne,transition:fe,fromState:ve,toState:Qe,player:He,isFallbackTransition:!0})})}}removeNode(d,g){const _=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,g),this.triggerLeaveAnimation(d,g,!0))return;let N=!1;if(_.totalAnimations){const j=_.players.length?_.playersByQueriedElement.get(d):[];if(j&&j.length)N=!0;else{let ne=d;for(;ne=ne.parentNode;)if(_.statesByElement.get(ne)){N=!0;break}}}if(this.prepareLeaveAnimationListeners(d),N)_.markElementAsRemoved(this.id,d,!1,g);else{const j=d[Gn];(!j||j===Qo)&&(_.afterFlush(()=>this.clearElementCache(d)),_.destroyInnerAnimations(d),_._onRemovalComplete(d,g))}}insertNode(d,g){On(d,this._hostClassName)}drainQueuedTransitions(d){const g=[];return this._queue.forEach(_=>{const N=_.player;if(N.destroyed)return;const j=_.element,ne=this._elementListeners.get(j);ne&&ne.forEach(K=>{if(K.name==_.triggerName){const fe=an(j,_.triggerName,_.fromState.value,_.toState.value);fe._data=d,Ut(_.player,K.phase,fe,K.callback)}}),N.markedForDestroy?this._engine.afterFlush(()=>{N.destroy()}):g.push(_)}),this._queue=[],g.sort((_,N)=>{const j=_.transition.ast.depCount,ne=N.transition.ast.depCount;return 0==j||0==ne?j-ne:this._engine.driver.containsElement(_.element,N.element)?1:-1})}destroy(d){this.players.forEach(g=>g.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class Bi{_onRemovalComplete(d,g){this.onRemovalComplete(d,g)}constructor(d,g,_){this.bodyNode=d,this.driver=g,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(N,j)=>{}}get queuedPlayers(){const d=[];return this._namespaceList.forEach(g=>{g.players.forEach(_=>{_.queued&&d.push(_)})}),d}createNamespace(d,g){const _=new ji(d,g,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,g)?this._balanceNamespaceList(_,g):(this.newHostElements.set(g,_),this.collectEnterElement(g)),this._namespaceLookup[d]=_}_balanceNamespaceList(d,g){const _=this._namespaceList,N=this.namespacesByHostElement;if(_.length-1>=0){let ne=!1,K=this.driver.getParentElement(g);for(;K;){const fe=N.get(K);if(fe){const ve=_.indexOf(fe);_.splice(ve+1,0,d),ne=!0;break}K=this.driver.getParentElement(K)}ne||_.unshift(d)}else _.push(d);return N.set(g,d),d}register(d,g){let _=this._namespaceLookup[d];return _||(_=this.createNamespace(d,g)),_}registerTrigger(d,g,_){let N=this._namespaceLookup[d];N&&N.register(g,_)&&this.totalAnimations++}destroy(d,g){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const _=this._fetchNamespace(d);this.namespacesByHostElement.delete(_.hostElement);const N=this._namespaceList.indexOf(_);N>=0&&this._namespaceList.splice(N,1),_.destroy(g),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const g=new Set,_=this.statesByElement.get(d);if(_)for(let N of _.values())if(N.namespaceId){const j=this._fetchNamespace(N.namespaceId);j&&g.add(j)}return g}trigger(d,g,_,N){if(Oo(g)){const j=this._fetchNamespace(d);if(j)return j.trigger(g,_,N),!0}return!1}insertNode(d,g,_,N){if(!Oo(g))return;const j=g[Gn];if(j&&j.setForRemoval){j.setForRemoval=!1,j.setForMove=!0;const ne=this.collectedLeaveElements.indexOf(g);ne>=0&&this.collectedLeaveElements.splice(ne,1)}if(d){const ne=this._fetchNamespace(d);ne&&ne.insertNode(g,_)}N&&this.collectEnterElement(g)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,g){g?this.disabledNodes.has(d)||(this.disabledNodes.add(d),On(d,io)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),ao(d,io))}removeNode(d,g,_){if(Oo(g)){const N=d?this._fetchNamespace(d):null;N?N.removeNode(g,_):this.markElementAsRemoved(d,g,!1,_);const j=this.namespacesByHostElement.get(g);j&&j.id!==d&&j.removeNode(g,_)}else this._onRemovalComplete(g,_)}markElementAsRemoved(d,g,_,N,j){this.collectedLeaveElements.push(g),g[Gn]={namespaceId:d,setForRemoval:N,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:j}}listen(d,g,_,N,j){return Oo(g)?this._fetchNamespace(d).listen(g,_,N,j):()=>{}}_buildInstruction(d,g,_,N,j){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,_,N,d.fromState.options,d.toState.options,g,j)}destroyInnerAnimations(d){let g=this.driver.query(d,Yt,!0);g.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(g=this.driver.query(d,tr,!0),g.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(d){const g=this.playersByElement.get(d);g&&g.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(d){const g=this.playersByQueriedElement.get(d);g&&g.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return dt(this.players).onDone(()=>d());d()})}processLeaveNode(d){const g=d[Gn];if(g&&g.setForRemoval){if(d[Gn]=Qo,g.namespaceId){this.destroyInnerAnimations(d);const _=this._fetchNamespace(g.namespaceId);_&&_.clearElementCache(d)}this._onRemovalComplete(d,g.setForRemoval)}d.classList?.contains(io)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(d=-1){let g=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,N)=>this._balanceNamespaceList(_,N)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;__()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],g.length?dt(g).onDone(()=>{_.forEach(N=>N())}):_.forEach(N=>N())}}reportError(d){throw function we(R){return new h.wOt(3402,!1)}()}_flushAnimations(d,g){const _=new te,N=[],j=new Map,ne=[],K=new Map,fe=new Map,ve=new Map,Qe=new Set;this.disabledNodes.forEach(ft=>{Qe.add(ft);const Et=this.driver.query(ft,".ng-animate-queued",!0);for(let Dt=0;Dt{const Dt=Sn+St++;yt.set(Et,Dt),ft.forEach(Lt=>On(Lt,Dt))});const hn=[],wn=new Set,Vn=new Set;for(let ft=0;ftwn.add(Lt)):Vn.add(Et))}const rr=new Map,Wn=qn(Xt,Array.from(wn));Wn.forEach((ft,Et)=>{const Dt=at+St++;rr.set(Et,Dt),ft.forEach(Lt=>On(Lt,Dt))}),d.push(()=>{Pt.forEach((ft,Et)=>{const Dt=yt.get(Et);ft.forEach(Lt=>ao(Lt,Dt))}),Wn.forEach((ft,Et)=>{const Dt=rr.get(Et);ft.forEach(Lt=>ao(Lt,Dt))}),hn.forEach(ft=>{this.processLeaveNode(ft)})});const Do=[],_o=[];for(let ft=this._namespaceList.length-1;ft>=0;ft--)this._namespaceList[ft].drainQueuedTransitions(g).forEach(Dt=>{const Lt=Dt.player,Cn=Dt.element;if(Do.push(Lt),this.collectedEnterElements.length){const Un=Cn[Gn];if(Un&&Un.setForMove){if(Un.previousTriggersValues&&Un.previousTriggersValues.has(Dt.triggerName)){const wo=Un.previousTriggersValues.get(Dt.triggerName),gr=this.statesByElement.get(Dt.element);if(gr&&gr.has(Dt.triggerName)){const p=gr.get(Dt.triggerName);p.value=wo,gr.set(Dt.triggerName,p)}}return void Lt.destroy()}}const Nr=!He||!this.driver.containsElement(He,Cn),Ar=rr.get(Cn),Bo=yt.get(Cn),_n=this._buildInstruction(Dt,_,Bo,Ar,Nr);if(_n.errors&&_n.errors.length)return void _o.push(_n);if(Nr)return Lt.onStart(()=>z(Cn,_n.fromStyles)),Lt.onDestroy(()=>O(Cn,_n.toStyles)),void N.push(Lt);if(Dt.isFallbackTransition)return Lt.onStart(()=>z(Cn,_n.fromStyles)),Lt.onDestroy(()=>O(Cn,_n.toStyles)),void N.push(Lt);const ti=[];_n.timelines.forEach(Un=>{Un.stretchStartingKeyframe=!0,this.disabledNodes.has(Un.element)||ti.push(Un)}),_n.timelines=ti,_.append(Cn,_n.timelines),ne.push({instruction:_n,player:Lt,element:Cn}),_n.queriedElements.forEach(Un=>tn(K,Un,[]).push(Lt)),_n.preStyleProps.forEach((Un,wo)=>{if(Un.size){let gr=fe.get(wo);gr||fe.set(wo,gr=new Set),Un.forEach((p,F)=>gr.add(F))}}),_n.postStyleProps.forEach((Un,wo)=>{let gr=ve.get(wo);gr||ve.set(wo,gr=new Set),Un.forEach((p,F)=>gr.add(F))})});if(_o.length){const ft=[];_o.forEach(Et=>{ft.push(function mt(R,d){return new h.wOt(3505,!1)}())}),Do.forEach(Et=>Et.destroy()),this.reportError(ft)}const or=new Map,Er=new Map;ne.forEach(ft=>{const Et=ft.element;_.has(Et)&&(Er.set(Et,Et),this._beforeAnimationBuild(ft.player.namespaceId,ft.instruction,or))}),N.forEach(ft=>{const Et=ft.element;this._getPreviousPlayers(Et,!1,ft.namespaceId,ft.triggerName,null).forEach(Lt=>{tn(or,Et,[]).push(Lt),Lt.destroy()})});const Sr=hn.filter(ft=>Ui(ft,fe,ve)),jo=new Map;is(jo,this.driver,Vn,ve,H.kp).forEach(ft=>{Ui(ft,fe,ve)&&Sr.push(ft)});const Fr=new Map;Pt.forEach((ft,Et)=>{is(Fr,this.driver,new Set(ft),fe,H.FX)}),Sr.forEach(ft=>{const Et=jo.get(ft),Dt=Fr.get(ft);jo.set(ft,new Map([...Et?.entries()??[],...Dt?.entries()??[]]))});const Ki=[],Xi=[],vi={};ne.forEach(ft=>{const{element:Et,player:Dt,instruction:Lt}=ft;if(_.has(Et)){if(Qe.has(Et))return Dt.onDestroy(()=>O(Et,Lt.toStyles)),Dt.disabled=!0,Dt.overrideTotalTime(Lt.totalTime),void N.push(Dt);let Cn=vi;if(Er.size>1){let Ar=Et;const Bo=[];for(;Ar=Ar.parentNode;){const _n=Er.get(Ar);if(_n){Cn=_n;break}Bo.push(Ar)}Bo.forEach(_n=>Er.set(_n,Cn))}const Nr=this._buildAnimation(Dt.namespaceId,Lt,or,j,Fr,jo);if(Dt.setRealPlayer(Nr),Cn===vi)Ki.push(Dt);else{const Ar=this.playersByElement.get(Cn);Ar&&Ar.length&&(Dt.parentPlayer=dt(Ar)),N.push(Dt)}}else z(Et,Lt.fromStyles),Dt.onDestroy(()=>O(Et,Lt.toStyles)),Xi.push(Dt),Qe.has(Et)&&N.push(Dt)}),Xi.forEach(ft=>{const Et=j.get(ft.element);if(Et&&Et.length){const Dt=dt(Et);ft.setRealPlayer(Dt)}}),N.forEach(ft=>{ft.parentPlayer?ft.syncPlayerEvents(ft.parentPlayer):ft.destroy()});for(let ft=0;ft!Nr.destroyed);Cn.length?vo(this,Et,Cn):this.processLeaveNode(Et)}return hn.length=0,Ki.forEach(ft=>{this.players.push(ft),ft.onDone(()=>{ft.destroy();const Et=this.players.indexOf(ft);this.players.splice(Et,1)}),ft.play()}),Ki}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,g,_,N,j){let ne=[];if(g){const K=this.playersByQueriedElement.get(d);K&&(ne=K)}else{const K=this.playersByElement.get(d);if(K){const fe=!j||j==zr;K.forEach(ve=>{ve.queued||!fe&&ve.triggerName!=N||ne.push(ve)})}}return(_||N)&&(ne=ne.filter(K=>!(_&&_!=K.namespaceId||N&&N!=K.triggerName))),ne}_beforeAnimationBuild(d,g,_){const j=g.element,ne=g.isRemovalTransition?void 0:d,K=g.isRemovalTransition?void 0:g.triggerName;for(const fe of g.timelines){const ve=fe.element,Qe=ve!==j,He=tn(_,ve,[]);this._getPreviousPlayers(ve,Qe,ne,K,g.toState).forEach(Pt=>{const yt=Pt.getRealPlayer();yt.beforeDestroy&&yt.beforeDestroy(),Pt.destroy(),He.push(Pt)})}z(j,g.fromStyles)}_buildAnimation(d,g,_,N,j,ne){const K=g.triggerName,fe=g.element,ve=[],Qe=new Set,He=new Set,Xt=g.timelines.map(yt=>{const St=yt.element;Qe.add(St);const hn=St[Gn];if(hn&&hn.removedBeforeQueried)return new H.sf(yt.duration,yt.delay);const wn=St!==fe,Vn=function Vi(R){const d=[];return Zo(R,d),d}((_.get(St)||Bn).map(or=>or.getRealPlayer())).filter(or=>!!or.element&&or.element===St),rr=j.get(St),Wn=ne.get(St),Do=Vt(this._normalizer,yt.keyframes,rr,Wn),_o=this._buildPlayer(yt,Do,Vn);if(yt.subTimeline&&N&&He.add(St),wn){const or=new Yo(d,K,St);or.setRealPlayer(_o),ve.push(or)}return _o});ve.forEach(yt=>{tn(this.playersByQueriedElement,yt.element,[]).push(yt),yt.onDone(()=>function Ro(R,d,g){let _=R.get(d);if(_){if(_.length){const N=_.indexOf(g);_.splice(N,1)}0==_.length&&R.delete(d)}return _}(this.playersByQueriedElement,yt.element,yt))}),Qe.forEach(yt=>On(yt,Qn));const Pt=dt(Xt);return Pt.onDestroy(()=>{Qe.forEach(yt=>ao(yt,Qn)),O(fe,g.toStyles)}),He.forEach(yt=>{tn(N,yt,[]).push(Pt)}),Pt}_buildPlayer(d,g,_){return g.length>0?this.driver.animate(d.element,g,d.duration,d.delay,d.easing,_):new H.sf(d.duration,d.delay)}}class Yo{constructor(d,g,_){this.namespaceId=d,this.triggerName=g,this.element=_,this._player=new H.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((g,_)=>{g.forEach(N=>Ut(d,_,void 0,N))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const g=this._player;g.triggerCallback&&d.onStart(()=>g.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,g){tn(this._queuedCallbacks,d,[]).push(g)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const g=this._player;g.triggerCallback&&g.triggerCallback(d)}}function Oo(R){return R&&1===R.nodeType}function yo(R,d){const g=R.style.display;return R.style.display=d??"none",g}function is(R,d,g,_,N){const j=[];g.forEach(fe=>j.push(yo(fe)));const ne=[];_.forEach((fe,ve)=>{const Qe=new Map;fe.forEach(He=>{const Xt=d.computeStyle(ve,He,N);Qe.set(He,Xt),(!Xt||0==Xt.length)&&(ve[Gn]=ht,ne.push(ve))}),R.set(ve,Qe)});let K=0;return g.forEach(fe=>yo(fe,j[K++])),ne}function qn(R,d){const g=new Map;if(R.forEach(K=>g.set(K,[])),0==d.length)return g;const N=new Set(d),j=new Map;function ne(K){if(!K)return 1;let fe=j.get(K);if(fe)return fe;const ve=K.parentNode;return fe=g.has(ve)?ve:N.has(ve)?1:ne(ve),j.set(K,fe),fe}return d.forEach(K=>{const fe=ne(K);1!==fe&&g.get(fe).push(K)}),g}function On(R,d){R.classList?.add(d)}function ao(R,d){R.classList?.remove(d)}function vo(R,d,g){dt(g).onDone(()=>R.processLeaveNode(d))}function Zo(R,d){for(let g=0;gN.add(j)):d.set(R,_),g.delete(R),!0}class ko{constructor(d,g,_){this._driver=g,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(N,j)=>{},this._transitionEngine=new Bi(d.body,g,_),this._timelineEngine=new Li(d.body,g,_),this._transitionEngine.onRemovalComplete=(N,j)=>this.onRemovalComplete(N,j)}registerTrigger(d,g,_,N,j){const ne=d+"-"+N;let K=this._triggerCache[ne];if(!K){const fe=[],Qe=$r(this._driver,j,fe,[]);if(fe.length)throw function ot(R,d){return new h.wOt(3404,!1)}();K=function Ka(R,d,g){return new pi(R,d,g)}(N,Qe,this._normalizer),this._triggerCache[ne]=K}this._transitionEngine.registerTrigger(g,N,K)}register(d,g){this._transitionEngine.register(d,g)}destroy(d,g){this._transitionEngine.destroy(d,g)}onInsert(d,g,_,N){this._transitionEngine.insertNode(d,g,_,N)}onRemove(d,g,_){this._transitionEngine.removeNode(d,g,_)}disableAnimations(d,g){this._transitionEngine.markElementAsDisabled(d,g)}process(d,g,_,N){if("@"==_.charAt(0)){const[j,ne]=En(_);this._timelineEngine.command(j,g,ne,N)}else this._transitionEngine.trigger(d,g,_,N)}listen(d,g,_,N,j){if("@"==_.charAt(0)){const[ne,K]=En(_);return this._timelineEngine.listen(ne,g,K,j)}return this._transitionEngine.listen(d,g,_,N,j)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}class yi{static#e=this.initialStylesByElement=new WeakMap;constructor(d,g,_){this._element=d,this._startStyles=g,this._endStyles=_,this._state=0;let N=yi.initialStylesByElement.get(d);N||yi.initialStylesByElement.set(d,N=new Map),this._initialStyles=N}start(){this._state<1&&(this._startStyles&&O(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(O(this._element,this._initialStyles),this._endStyles&&(O(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(yi.initialStylesByElement.delete(this._element),this._startStyles&&(z(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),O(this._element,this._initialStyles),this._state=3)}}function xo(R){let d=null;return R.forEach((g,_)=>{(function Ys(R){return"display"===R||"position"===R})(_)&&(d=d||new Map,d.set(_,g))}),d}class ws{constructor(d,g,_,N){this.element=d,this.keyframes=g,this.options=_,this._specialStyles=N,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const g=()=>this._onFinish();this.domPlayer.addEventListener("finish",g),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",g)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const g=[];return d.forEach(_=>{g.push(Object.fromEntries(_))}),g}_triggerWebAnimation(d,g,_){return d.animate(this._convertKeyframesToObject(g),_)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,N)=>{"offset"!==N&&d.set(N,this._finished?_:mr(this.element,N))}),this.currentSnapshot=d}triggerCallback(d){const g="start"===d?this._onStartFns:this._onDoneFns;g.forEach(_=>_()),g.length=0}}class Gr{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}containsElement(d,g){return bn(d,g)}getParentElement(d){return Ve(d)}query(d,g,_){return Ft(d,g,_)}computeStyle(d,g,_){return mr(d,g)}animate(d,g,_,N,j,ne=[]){const fe={duration:_,delay:N,fill:0==N?"both":"forwards"};j&&(fe.easing=j);const ve=new Map,Qe=ne.filter(Pt=>Pt instanceof ws);(function ar(R,d){return 0===R||0===d})(_,N)&&Qe.forEach(Pt=>{Pt.currentSnapshot.forEach((yt,St)=>ve.set(St,yt))});let He=function w(R){return R.length?R[0]instanceof Map?R:R.map(d=>new Map(Object.entries(d))):[]}(g).map(Pt=>new Map(Pt));He=function Kt(R,d,g){if(g.size&&d.length){let _=d[0],N=[];if(g.forEach((j,ne)=>{_.has(ne)||N.push(ne),_.set(ne,j)}),N.length)for(let j=1;jne.set(K,mr(R,K)))}}return d}(d,He,ve);const Xt=function vr(R,d){let g=null,_=null;return Array.isArray(d)&&d.length?(g=xo(d[0]),d.length>1&&(_=xo(d[d.length-1]))):d instanceof Map&&(g=xo(d)),g||_?new yi(R,g,_):null}(d,He);return new ws(d,He,fe,Xt)}}const $i="@.disabled";class Eo{constructor(d,g,_,N){this.namespaceId=d,this.delegate=g,this.engine=_,this._onDestroy=N,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,g){return this.delegate.createElement(d,g)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,g){this.delegate.appendChild(d,g),this.engine.onInsert(this.namespaceId,g,d,!1)}insertBefore(d,g,_,N=!0){this.delegate.insertBefore(d,g,_),this.engine.onInsert(this.namespaceId,g,d,N)}removeChild(d,g,_){this.engine.onRemove(this.namespaceId,g,this.delegate)}selectRootElement(d,g){return this.delegate.selectRootElement(d,g)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,g,_,N){this.delegate.setAttribute(d,g,_,N)}removeAttribute(d,g,_){this.delegate.removeAttribute(d,g,_)}addClass(d,g){this.delegate.addClass(d,g)}removeClass(d,g){this.delegate.removeClass(d,g)}setStyle(d,g,_,N){this.delegate.setStyle(d,g,_,N)}removeStyle(d,g,_){this.delegate.removeStyle(d,g,_)}setProperty(d,g,_){"@"==g.charAt(0)&&g==$i?this.disableAnimations(d,!!_):this.delegate.setProperty(d,g,_)}setValue(d,g){this.delegate.setValue(d,g)}listen(d,g,_){return this.delegate.listen(d,g,_)}disableAnimations(d,g){this.engine.disableAnimations(d,g)}}class Hi extends Eo{constructor(d,g,_,N,j){super(g,_,N,j),this.factory=d,this.namespaceId=g}setProperty(d,g,_){"@"==g.charAt(0)?"."==g.charAt(1)&&g==$i?this.disableAnimations(d,_=void 0===_||!!_):this.engine.process(this.namespaceId,d,g.slice(1),_):this.delegate.setProperty(d,g,_)}listen(d,g,_){if("@"==g.charAt(0)){const N=function bo(R){switch(R){case"body":return document.body;case"document":return document;case"window":return window;default:return R}}(d);let j=g.slice(1),ne="";return"@"!=j.charAt(0)&&([j,ne]=function qo(R){const d=R.indexOf(".");return[R.substring(0,d),R.slice(d+1)]}(j)),this.engine.listen(this.namespaceId,N,j,ne,K=>{this.factory.scheduleListenerCallback(K._data||-1,_,K)})}return this.delegate.listen(d,g,_)}}class Cs{constructor(d,g,_){this.delegate=d,this.engine=g,this._zone=_,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,g.onRemovalComplete=(N,j)=>{const ne=j?.parentNode(N);ne&&j.removeChild(ne,N)}}createRenderer(d,g){const N=this.delegate.createRenderer(d,g);if(!d||!g?.data?.animation){const ve=this._rendererCache;let Qe=ve.get(N);return Qe||(Qe=new Eo("",N,this.engine,()=>ve.delete(N)),ve.set(N,Qe)),Qe}const j=g.id,ne=g.id+"-"+this._currentId;this._currentId++,this.engine.register(ne,d);const K=ve=>{Array.isArray(ve)?ve.forEach(K):this.engine.registerTrigger(j,ne,d,ve.name,ve)};return g.data.animation.forEach(K),new Hi(this,ne,N,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,g,_){if(d>=0&&dg(_));const N=this._animationCallbacksBuffer;0==N.length&&queueMicrotask(()=>{this._zone.run(()=>{N.forEach(j=>{const[ne,K]=j;ne(K)}),this._animationCallbacksBuffer=[]})}),N.push([g,_])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var Po=D(60177);const Jo=[{provide:Mn,useFactory:function as(){return new Zn}},{provide:ko,useClass:(()=>{class R extends ko{constructor(g,_,N){super(g,_,N)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(_){return new(_||R)(h.KVO(Po.qQ),h.KVO(er),h.KVO(Mn))};static#t=this.\u0275prov=h.jDH({token:R,factory:R.\u0275fac})}return R})()},{provide:h._9s,useFactory:function Wr(R,d,g){return new Cs(R,d,g)},deps:[y.B7,ko,h.SKi]}],zi=[{provide:er,useFactory:()=>new Gr},{provide:h.bc$,useValue:"BrowserAnimations"},...Jo],ls=[{provide:er,useClass:sr},{provide:h.bc$,useValue:"NoopAnimations"},...Jo];let Lo=(()=>{class R{static withConfig(g){return{ngModule:R,providers:g.disableAnimations?ls:zi}}static#e=this.\u0275fac=function(_){return new(_||R)};static#t=this.\u0275mod=h.$C({type:R});static#n=this.\u0275inj=h.G2t({providers:zi,imports:[y.Bb]})}return R})();const fn={AccordionPanelComponent:{fileName:"src/accordion/accordion-group.component.ts",className:"AccordionPanelComponent",description:'

Accordion heading

\n

Instead of using heading attribute on the accordion-group, you can use\nan accordion-heading attribute on any element inside of a group that\nwill be used as group's header template.

\n',methods:[],properties:[{name:"heading",type:"string",description:"

Clickable text in accordion's group header, check accordion heading below for using html in header

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"},{name:"isDisabled",defaultValue:"false",type:"boolean",description:"

if true \u2014 disables accordion group

\n"},{name:"isOpen",type:"boolean",description:"

Is accordion group open or closed. This property supports two-way binding

\n"},{name:"isOpenChange",type:"EventEmitter",description:"

Emits when the opened state changes

\n"},{name:"panelClass",defaultValue:"panel-default",type:"string",description:'

Provides an ability to use Bootstrap's contextual panel classes\n(panel-primary, panel-success, panel-info, etc...).\nList of all available classes [available here]\n(https://getbootstrap.com/docs/3.3/components/#panels-alternatives)

\n'}]},AccordionComponent:{fileName:"src/accordion/accordion.component.ts",className:"AccordionComponent",description:"

Displays collapsible content panels for presenting information in a limited amount of space.

\n",methods:[],properties:[{name:"closeOthers",defaultValue:"false",type:"boolean",description:"

if true expanding one item will close all others

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"}]},AccordionConfig:{fileName:"src/accordion/accordion.config.ts",className:"AccordionConfig",description:"

Configuration service, provides default values for the AccordionComponent.

\n",methods:[],properties:[{name:"closeOthers",defaultValue:"false",type:"boolean",description:"

Whether the other panels should be closed when a panel is opened

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"}]},ButtonCheckboxDirective:{fileName:"src/buttons/button-checkbox.directive.ts",className:"ButtonCheckboxDirective",description:"

Add checkbox functionality to any element

\n",methods:[],properties:[{name:"btnCheckboxFalse",defaultValue:"false",type:"AvailableValues",description:"

Falsy value, will be set to ngModel

\n"},{name:"btnCheckboxTrue",defaultValue:"true",type:"AvailableValues",description:"

Truthy value, will be set to ngModel

\n"}]},ButtonRadioGroupDirective:{fileName:"src/buttons/button-radio-group.directive.ts",className:"ButtonRadioGroupDirective",description:"

A group of radio buttons.\nA value of a selected button is bound to a variable specified via ngModel.

\n",methods:[],properties:[]},ButtonRadioDirective:{fileName:"src/buttons/button-radio.directive.ts",className:"ButtonRadioDirective",description:"

Create radio buttons or groups of buttons.\nA value of a selected button is bound to a variable specified via ngModel.

\n",methods:[],properties:[{name:"btnRadio",type:"unknown",description:"

Radio button value, will be set to ngModel

\n"},{name:"disabled",type:"boolean",description:"

If true \u2014 radio button is disabled

\n"},{name:"uncheckable",defaultValue:"false",type:"boolean",description:"

If true \u2014 radio button can be unchecked

\n"},{name:"value",type:"unknown",description:"

Current value of radio component or group

\n"}]},CarouselComponent:{fileName:"src/carousel/carousel.component.ts",className:"CarouselComponent",description:"

Base element to create carousel

\n",methods:[{name:"addSlide",description:"

Adds new slide. If this slide is first in collection - set it as active\nand starts auto changing

\n",args:[{name:"slide",type:"SlideComponent"}],returnType:"void"},{name:"removeSlide",description:"

Removes specified slide. If this slide is active - will roll to another\nslide

\n",args:[{name:"slide",type:"SlideComponent"}],returnType:"void"},{name:"nextSlide",description:"

Rolling to next slide

\n",args:[{name:"force",type:"boolean"}],returnType:"void"},{name:"previousSlide",description:"

Rolling to previous slide

\n",args:[{name:"force",type:"boolean"}],returnType:"void"},{name:"keydownPress",description:"

Swith slides by enter, space and arrows keys

\n",args:[{name:"event",type:"KeyboardEvent"}],returnType:"void"},{name:"onMouseLeave",description:"

Play on mouse leave

\n",args:[],returnType:"void"},{name:"onMouseUp",description:"

Play on mouse up

\n",args:[],returnType:"void"},{name:"pauseFocusIn",description:"

When slides on focus autoplay is stopped(optional)

\n",args:[],returnType:"void"},{name:"pauseFocusOut",description:"

When slides out of focus autoplay is started

\n",args:[],returnType:"void"},{name:"selectSlide",description:"

Rolling to specified slide

\n",args:[{name:"index",type:"number"}],returnType:"void"},{name:"play",description:"

Starts a auto changing of slides

\n",args:[],returnType:"void"},{name:"pause",description:"

Stops a auto changing of slides

\n",args:[],returnType:"void"},{name:"getCurrentSlideIndex",description:"

Finds and returns index of currently displayed slide

\n",args:[],returnType:"number"},{name:"isLast",description:"

Defines, whether the specified index is last in collection

\n",args:[{name:"index",type:"number"}],returnType:"boolean"},{name:"isFirst",description:"

Defines, whether the specified index is first in collection

\n",args:[{name:"index",type:"number"}],returnType:"boolean"},{name:"findNextSlideIndex",description:"

Defines next slide index, depending of direction

\n",args:[{name:"direction",type:"Direction"},{name:"force",type:"boolean"}],returnType:"number | void"},{name:"_select",description:"

Sets a slide, which specified through index, as active

\n",args:[{name:"index",type:"number"}],returnType:"void"},{name:"restartTimer",description:"

Starts loop of auto changing of slides

\n",args:[],returnType:"void"},{name:"resetTimer",description:"

Stops loop of auto changing of slides

\n",args:[],returnType:"void"}],properties:[{name:"activeSlide",type:"number",description:"

Index of currently displayed slide(started for 0)

\n"},{name:"activeSlideChange",type:"EventEmitter",description:"

Will be emitted when active slide has been changed. Part of two-way-bindable [(activeSlide)] property

\n"},{name:"interval",type:"number",description:"

Delay of item cycling in milliseconds. If false, carousel won't cycle\nautomatically.

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

Turn on/off animation. Animation doesn't work for multilist carousel

\n"},{name:"slideRangeChange",type:"EventEmitter",description:"

Will be emitted when active slides has been changed in multilist mode

\n"}]},SlideWithIndex:{fileName:"src/carousel/models/index.ts",className:"SlideWithIndex",description:"",methods:[],properties:[]},IndexedSlideList:{fileName:"src/carousel/models/index.ts",className:"IndexedSlideList",description:"",methods:[],properties:[]},DateParsingConfig:{fileName:"src/chronos/create/parsing.types.ts",className:"DateParsingConfig",description:"",methods:[],properties:[{name:"_a",type:"DateArray",description:"

DateArray [year, month, date, .....]

\n"},{name:"_changeInProgress",type:"boolean",description:"

used in set offset

\n"},{name:"_d",type:"Date",description:"

date value

\n"},{name:"_f",type:"string | string[]",description:"

date format

\n"},{name:"_i",type:"DateInput",description:"

input to parse: could be string, number[], number, Date, object

\n"},{name:"_isPm",type:"boolean",description:"

is PM

\n"},{name:"_isValid",type:"boolean",description:"

is valid

\n"},{name:"_l",type:"string",description:"

locale key, 'en' by default

\n"},{name:"_locale",type:"Locale",description:"

date locale obj

\n"},{name:"_meridiem",type:"string",description:"

date meridiem

\n"},{name:"_nextDay",type:"boolean",description:"

add one day to result at the end of parsing

\n"},{name:"_offset",type:"number",description:"

utc time offset

\n"},{name:"_pf",type:"DateParsingFlags",description:"

date parsing flags

\n"},{name:"_strict",type:"boolean",description:"

use strict parse format

\n"},{name:"_tzm",type:"number",description:"

time zone

\n"},{name:"_w",type:"WeekParsing",description:"

week

\n"}]},DateParsingFlags:{fileName:"src/chronos/create/parsing.types.ts",className:"DateParsingFlags",description:"",methods:[],properties:[]},LocaleOptionsFormat:{fileName:"src/chronos/locale/locale.class.ts",className:"LocaleOptionsFormat",description:"",methods:[],properties:[]},LocaleData:{fileName:"src/chronos/locale/locale.class.ts",className:"LocaleData",description:"",methods:[],properties:[]},CalendarSpec:{fileName:"src/chronos/moment/calendar.ts",className:"CalendarSpec",description:"",methods:[],properties:[]},MomentFn:{fileName:"src/chronos/testing/chain.ts",className:"MomentFn",description:"",methods:[],properties:[]},MomentInputObject:{fileName:"src/chronos/testing/chain.ts",className:"MomentInputObject",description:"",methods:[],properties:[]},TimeUnit:{fileName:"src/chronos/types.ts",className:"TimeUnit",description:"",methods:[],properties:[]},DateFormatterOptions:{fileName:"src/chronos/types.ts",className:"DateFormatterOptions",description:"",methods:[],properties:[]},DateObject:{fileName:"src/chronos/types.ts",className:"DateObject",description:"",methods:[],properties:[]},WeekParsing:{fileName:"src/chronos/types.ts",className:"WeekParsing",description:"",methods:[],properties:[]},ListenOptions:{fileName:"src/utils/triggers.ts",className:"ListenOptions",description:"",methods:[],properties:[]},BsDatepickerConfig:{fileName:"src/datepicker/bs-datepicker.config.ts",className:"BsDatepickerConfig",description:"

For date range picker there are BsDaterangepickerConfig which inherits all properties,\nexcept displayMonths, for range picker it default to 2

\n",methods:[],properties:[{name:"adaptivePosition",defaultValue:"false",type:"boolean",description:"

sets use adaptive position

\n"},{name:"allowedPositions",type:"string[]",description:"

Set allowed positions of container.

\n"},{name:"clearButtonLabel",defaultValue:"Clear",type:"string",description:"

Label for 'clear' button

\n"},{name:"clearPosition",defaultValue:"right",type:"string",description:"

Positioning of 'clear' button

\n"},{name:"containerClass",defaultValue:"theme-green",type:"string",description:"

CSS class which will be applied to datepicker container,\nusually used to set color theme

\n"},{name:"customRangeButtonLabel",defaultValue:"Custom Range",type:"string",description:"

Label for 'custom range' button

\n"},{name:"customTodayClass",type:"string",description:"

Add class to current day

\n"},{name:"dateCustomClasses",type:"DatepickerDateCustomClasses[]",description:"

Default date custom classes for all date/range pickers

\n"},{name:"datesDisabled",type:"Date[]",description:"

Disable specific dates

\n"},{name:"datesEnabled",type:"Date[]",description:"

Enable specific dates

\n"},{name:"dateTooltipTexts",type:"DatepickerDateTooltipText[]",description:"

Default tooltip text for all date/range pickers

\n"},{name:"daysDisabled",type:"number[]",description:"

Disable specific days, e.g. [0,6] will disable all Saturdays and Sundays

\n"},{name:"displayOneMonthRange",type:"boolean",description:"

Show one months for special cases (only for dateRangePicker)

\n
    \n
  1. maxDate is equal to today's date
  2. \n
  3. minDate's month is equal to maxDate's month
  4. \n
\n"},{name:"initCurrentTime",type:"boolean",description:"

Set current hours, minutes, seconds and milliseconds for bsValue

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"},{name:"keepDatepickerOpened",defaultValue:"false",type:"boolean",description:"

Set rule for datepicker closing. If value is true datepicker closes only if date is changed, if user changes only time datepicker doesn't close. It is available only if property withTimepicker is set true

\n"},{name:"keepDatesOutOfRules",defaultValue:"false",type:"boolean",description:"

Allows keep invalid dates in range. Can be used with minDate, maxDate

\n"},{name:"maxDate",type:"Date",description:"

Default max date for all date/range pickers

\n"},{name:"maxDateRange",type:"number",description:"

Max Date Range in days

\n"},{name:"minDate",type:"Date",description:"

Default min date for all date/range pickers

\n"},{name:"minMode",type:"BsDatepickerViewMode",description:"

Default mode for all date pickers

\n"},{name:"preventChangeToNextMonth",type:"boolean",description:"

Prevents change to next month for right calendar in two calendars view (dateRangePicker only)

\n"},{name:"rangeInputFormat",defaultValue:"L",type:"string",description:"

Date format for date range input field

\n"},{name:"ranges",type:"BsCustomDates[]",description:"

Predefined ranges

\n"},{name:"returnFocusToInput",defaultValue:"false",type:"boolean",description:"

If true, returns focus to the datepicker / daterangepicker input after date selection

\n"},{name:"selectFromOtherMonth",type:"boolean",description:"

Makes dates from other months active

\n"},{name:"selectWeek",type:"boolean",description:"

Allows select first date of the week by click on week number

\n"},{name:"selectWeekDateRange",type:"boolean",description:"

Allows select daterange as first and last day of week by click on week number (dateRangePicker only)

\n"},{name:"showClearButton",defaultValue:"false",type:"boolean",description:"

Shows clear button

\n"},{name:"showPreviousMonth",type:"boolean",description:"

Shows previous and current month, instead of current and next (dateRangePicker only)

\n"},{name:"showTodayButton",defaultValue:"false",type:"boolean",description:"

Shows 'today' button

\n"},{name:"showWeekNumbers",defaultValue:"true",type:"boolean",description:"

Allows to hide week numbers in datepicker

\n"},{name:"startView",defaultValue:"day",type:"BsDatepickerViewMode",description:"

The view that the datepicker should start in

\n"},{name:"todayButtonLabel",defaultValue:"Today",type:"string",description:"

Label for 'today' button

\n"},{name:"todayPosition",defaultValue:"center",type:"string",description:"

Positioning of 'today' button

\n"},{name:"useUtc",defaultValue:"false",type:"boolean",description:"

sets use UTC date time format

\n"},{name:"withTimepicker",defaultValue:"false",type:"boolean",description:"

Shows timepicker under datepicker

\n"}]},FlagDaysCalendarOptions:{fileName:"src/datepicker/engine/flag-days-calendar.ts",className:"FlagDaysCalendarOptions",description:"",methods:[],properties:[]},FlagMonthCalendarOptions:{fileName:"src/datepicker/engine/flag-months-calendar.ts",className:"FlagMonthCalendarOptions",description:"",methods:[],properties:[]},FlagYearsCalendarOptions:{fileName:"src/datepicker/engine/flag-years-calendar.ts",className:"FlagYearsCalendarOptions",description:"",methods:[],properties:[]},NavigationViewModel:{fileName:"src/datepicker/models/index.ts",className:"NavigationViewModel",description:"
\n",methods:[],properties:[]},CalendarCellViewModel:{fileName:"src/datepicker/models/index.ts",className:"CalendarCellViewModel",description:"",methods:[],properties:[]},DayViewModel:{fileName:"src/datepicker/models/index.ts",className:"DayViewModel",description:"
\n",methods:[],properties:[]},WeekViewModel:{fileName:"src/datepicker/models/index.ts",className:"WeekViewModel",description:"",methods:[],properties:[]},DaysCalendarViewModel:{fileName:"src/datepicker/models/index.ts",className:"DaysCalendarViewModel",description:"",methods:[],properties:[]},MonthsCalendarViewModel:{fileName:"src/datepicker/models/index.ts",className:"MonthsCalendarViewModel",description:"
\n",methods:[],properties:[]},YearsCalendarViewModel:{fileName:"src/datepicker/models/index.ts",className:"YearsCalendarViewModel",description:"
\n",methods:[],properties:[]},DaysCalendarModel:{fileName:"src/datepicker/models/index.ts",className:"DaysCalendarModel",description:"
\n",methods:[],properties:[]},MonthViewOptions:{fileName:"src/datepicker/models/index.ts",className:"MonthViewOptions",description:"
\n",methods:[],properties:[]},DatepickerFormatOptions:{fileName:"src/datepicker/models/index.ts",className:"DatepickerFormatOptions",description:"
\n",methods:[],properties:[]},DatepickerRenderOptions:{fileName:"src/datepicker/models/index.ts",className:"DatepickerRenderOptions",description:"",methods:[],properties:[]},DatepickerDateCustomClasses:{fileName:"src/datepicker/models/index.ts",className:"DatepickerDateCustomClasses",description:"",methods:[],properties:[]},DatepickerDateTooltipText:{fileName:"src/datepicker/models/index.ts",className:"DatepickerDateTooltipText",description:"",methods:[],properties:[]},BsNavigationEvent:{fileName:"src/datepicker/models/index.ts",className:"BsNavigationEvent",description:"",methods:[],properties:[]},BsViewNavigationEvent:{fileName:"src/datepicker/models/index.ts",className:"BsViewNavigationEvent",description:"",methods:[],properties:[]},CellHoverEvent:{fileName:"src/datepicker/models/index.ts",className:"CellHoverEvent",description:"",methods:[],properties:[]},BsDatepickerViewState:{fileName:"src/datepicker/reducer/bs-datepicker.state.ts",className:"BsDatepickerViewState",description:"",methods:[],properties:[]},BsCustomDates:{fileName:"src/datepicker/themes/bs/bs-custom-dates-view.component.ts",className:"BsCustomDates",description:"",methods:[],properties:[]},MatrixOptions:{fileName:"src/datepicker/utils/matrix-utils.ts",className:"MatrixOptions",description:"",methods:[],properties:[]},BsDropdownConfig:{fileName:"src/dropdown/bs-dropdown.config.ts",className:"BsDropdownConfig",description:"

Default dropdown configuration

\n",methods:[],properties:[{name:"autoClose",defaultValue:"true",type:"boolean",description:"

default dropdown auto closing behavior

\n"},{name:"insideClick",defaultValue:"false",type:"boolean",description:"

default dropdown auto closing behavior

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"},{name:"stopOnClickPropagation",defaultValue:"false",type:"boolean",description:"

value true of stopOnClickPropagation allows event stopPropagation

\n"}]},ConfigurableFocusTrapConfig:{fileName:"src/focus-trap/configurable-focus-trap-config.ts",className:"ConfigurableFocusTrapConfig",description:"

Configuration for creating a ConfigurableFocusTrap.

\n",methods:[],properties:[{name:"defer",defaultValue:"false",type:"boolean",description:"

Whether to defer the creation of FocusTrap elements to be\ndone manually by the user. Default is to create them\nautomatically.

\n"}]},ConfigurableFocusTrapFactory:{fileName:"src/focus-trap/configurable-focus-trap-factory.ts",className:"ConfigurableFocusTrapFactory",description:"

Factory that allows easy instantiation of configurable focus traps.

\n",methods:[{name:"create",description:"

Creates a focus-trapped region around the given element.

\n",args:[{name:"element",type:"HTMLElement"},{name:"config",type:"ConfigurableFocusTrapConfig"}],returnType:"ConfigurableFocusTrap"},{name:"create",description:"

Creates a focus-trapped region around the given element.

\n",args:[{name:"element",type:"HTMLElement"},{name:"deferCaptureElements",type:"boolean"}],returnType:"ConfigurableFocusTrap"},{name:"create",description:"

Creates a focus-trapped region around the given element.

\n",args:[{name:"element",type:"HTMLElement"},{name:"config",type:"boolean | ConfigurableFocusTrapConfig"}],returnType:"ConfigurableFocusTrap"}],properties:[]},ConfigurableFocusTrap:{fileName:"src/focus-trap/configurable-focus-trap.ts",className:"ConfigurableFocusTrap",description:"

Class that allows for trapping focus within a DOM element.

\n

This class uses a strategy pattern that determines how it traps focus.\nSee FocusTrapInertStrategy.

\n",methods:[{name:"destroy",description:"

Notifies the FocusTrapManager that this FocusTrap will be destroyed.

\n",args:[],returnType:"void"}],properties:[{name:"enabled",type:"boolean",description:"

Whether the FocusTrap is enabled.

\n"}]},EventListenerFocusTrapInertStrategy:{fileName:"src/focus-trap/event-listener-inert-strategy.ts",className:"EventListenerFocusTrapInertStrategy",description:"

Lightweight FocusTrapInertStrategy that adds a document focus event\nlistener to redirect focus back inside the FocusTrap.

\n",methods:[{name:"preventFocus",description:"

Adds a document event listener that keeps focus inside the FocusTrap.

\n",args:[{name:"focusTrap",type:"ConfigurableFocusTrap"}],returnType:"void"},{name:"allowFocus",description:"

Removes the event listener added in preventFocus.

\n",args:[{name:"focusTrap",type:"ConfigurableFocusTrap"}],returnType:"void"},{name:"_trapFocus",description:"

Refocuses the first element in the FocusTrap if the focus event target was outside\nthe FocusTrap.

\n

This is an event listener callback. The event listener is added in runOutsideAngular,\nso all this code runs outside Angular as well.

\n",args:[{name:"focusTrap",type:"ConfigurableFocusTrap"},{name:"event",type:"FocusEvent"}],returnType:"void"}],properties:[{name:"_listener",type:"(e: FocusEvent) => void",description:"

Focus event handler.

\n"}]},FocusTrapInertStrategy:{fileName:"src/focus-trap/focus-trap-inert-strategy.ts",className:"FocusTrapInertStrategy",description:"

A strategy that dictates how FocusTrap should prevent elements\noutside of the FocusTrap from being focused.

\n",methods:[{name:"preventFocus",description:"

Makes all elements outside focusTrap unfocusable.

\n",args:[{name:"focusTrap",type:"FocusTrap"}],returnType:"void"},{name:"allowFocus",description:"

Reverts elements made unfocusable by preventFocus to their previous state.

\n",args:[{name:"focusTrap",type:"FocusTrap"}],returnType:"void"}],properties:[]},ManagedFocusTrap:{fileName:"src/focus-trap/focus-trap-manager.ts",className:"ManagedFocusTrap",description:"

A FocusTrap managed by FocusTrapManager.\nImplemented by ConfigurableFocusTrap to avoid circular dependency.

\n",methods:[],properties:[]},FocusTrapManager:{fileName:"src/focus-trap/focus-trap-manager.ts",className:"FocusTrapManager",description:"

Injectable that ensures only the most recently enabled FocusTrap is active.

\n",methods:[{name:"register",description:"

Disables the FocusTrap at the top of the stack, and then pushes\nthe new FocusTrap onto the stack.

\n",args:[{name:"focusTrap",type:"ManagedFocusTrap"}],returnType:"void"},{name:"deregister",description:"

Removes the FocusTrap from the stack, and activates the\nFocusTrap that is the new top of the stack.

\n",args:[{name:"focusTrap",type:"ManagedFocusTrap"}],returnType:"void"}],properties:[]},FocusTrap:{fileName:"src/focus-trap/focus-trap.ts",className:"FocusTrap",description:"

Class that allows for trapping focus within a DOM element.

\n

This class currently uses a relatively simple approach to focus trapping.\nIt assumes that the tab order is the same as DOM order, which is not necessarily true.\nThings like tabIndex > 0, flex order, and shadow roots can cause the two to misalign.

\n",methods:[{name:"destroy",description:"

Destroys the focus trap by cleaning up the anchors.

\n",args:[],returnType:"void"},{name:"attachAnchors",description:"

Inserts the anchors into the DOM. This is usually done automatically\nin the constructor, but can be deferred for cases like directives with *ngIf.

\n",args:[],returnType:"boolean"},{name:"focusInitialElementWhenReady",description:"

Waits for the zone to stabilize, then either focuses the first element that the\nuser specified, or the first tabbable element.

\n",args:[],returnType:"Promise"},{name:"focusFirstTabbableElementWhenReady",description:"

Waits for the zone to stabilize, then focuses\nthe first tabbable element within the focus trap region.

\n",args:[],returnType:"Promise"},{name:"focusLastTabbableElementWhenReady",description:"

Waits for the zone to stabilize, then focuses\nthe last tabbable element within the focus trap region.

\n",args:[],returnType:"Promise"},{name:"_getRegionBoundary",description:"

Get the specified boundary element of the trapped region.

\n",args:[{name:"bound",type:'"start" | "end"'}],returnType:"HTMLElement"},{name:"focusInitialElement",description:"

Focuses the element that should be focused when the focus trap is initialized.

\n",args:[],returnType:"boolean"},{name:"focusFirstTabbableElement",description:"

Focuses the first tabbable element within the focus trap region.

\n",args:[],returnType:"boolean"},{name:"focusLastTabbableElement",description:"

Focuses the last tabbable element within the focus trap region.

\n",args:[],returnType:"boolean"},{name:"hasAttached",description:"

Checks whether the focus trap has successfully been attached.

\n",args:[],returnType:"boolean"},{name:"_getFirstTabbableElement",description:"

Get the first tabbable element from a DOM subtree (inclusive).

\n",args:[{name:"root",type:"HTMLElement"}],returnType:"HTMLElement"},{name:"_getLastTabbableElement",description:"

Get the last tabbable element from a DOM subtree (inclusive).

\n",args:[{name:"root",type:"HTMLElement"}],returnType:"HTMLElement"},{name:"_createAnchor",description:"

Creates an anchor element.

\n",args:[],returnType:"HTMLElement"},{name:"_toggleAnchorTabIndex",description:"

Toggles the tabindex of an anchor, based on the enabled state of the focus trap.

\n",args:[{name:"isEnabled",type:"boolean"},{name:"anchor",type:"HTMLElement"}],returnType:"void"},{name:"toggleAnchors",description:"

Toggles thetabindex of both anchors to either trap Tab focus or allow it to escape.

\n",args:[{name:"enabled",type:"boolean"}],returnType:"void"},{name:"_executeOnStable",description:"

Executes a function when the zone is stable.

\n",args:[{name:"fn",type:"() => any"}],returnType:"void"}],properties:[{name:"enabled",type:"boolean",description:"

Whether the focus trap is active.

\n"}]},FocusTrapFactory:{fileName:"src/focus-trap/focus-trap.ts",className:"FocusTrapFactory",description:"

Factory that allows easy instantiation of focus traps.

\n",methods:[{name:"create",description:"

Creates a focus-trapped region around the given element.

\n",args:[{name:"element",type:"HTMLElement"},{name:"deferCaptureElements",type:"boolean"}],returnType:"FocusTrap"}],properties:[]},FocusTrapDirective:{fileName:"src/focus-trap/focus-trap.ts",className:"FocusTrapDirective",description:"

Directive for trapping focus within a region.

\n",methods:[],properties:[{name:"_previouslyFocusedElement",type:"HTMLElement",description:"

Previously focused element to restore focus to upon destroy when using autoCapture.

\n"},{name:"autoCapture",type:"boolean",description:"

Whether the directive should automatically move focus into the trapped region upon\ninitialization and return focus to the previous activeElement upon destruction.

\n"},{name:"enabled",type:"boolean",description:"

Whether the focus trap is active.

\n"},{name:"focusTrap",type:"FocusTrap",description:"

Underlying FocusTrap instance.

\n"}]},IsFocusableConfig:{fileName:"src/focus-trap/interactivity-checker.ts",className:"IsFocusableConfig",description:"

Configuration for the isFocusable method.

\n",methods:[],properties:[{name:"ignoreVisibility",defaultValue:"false",type:"boolean",description:"

Whether to count an element as focusable even if it is not currently visible.

\n"}]},InteractivityChecker:{fileName:"src/focus-trap/interactivity-checker.ts",className:"InteractivityChecker",description:"

Utility for checking the interactivity of an element, such as whether is is focusable or\ntabbable.

\n",methods:[{name:"isDisabled",description:"

Gets whether an element is disabled.

\n",args:[{name:"element",type:"HTMLElement"}],returnType:"boolean"},{name:"isVisible",description:"

Gets whether an element is visible for the purposes of interactivity.

\n

This will capture states like display: none and visibility: hidden, but not things like\nbeing clipped by an overflow: hidden parent or being outside the viewport.

\n",args:[{name:"element",type:"HTMLElement"}],returnType:"boolean"},{name:"isTabbable",description:"

Gets whether an element can be reached via Tab key.\nAssumes that the element has already been checked with isFocusable.

\n",args:[{name:"element",type:"HTMLElement"}],returnType:"boolean"},{name:"isFocusable",description:"

Gets whether an element can be focused by the user.

\n",args:[{name:"element",type:"HTMLElement"},{name:"config",type:"IsFocusableConfig"}],returnType:"boolean"}],properties:[]},Platform:{fileName:"src/focus-trap/platform.ts",className:"Platform",description:"

Service to detect the current platform by comparing the userAgent strings and\nchecking browser-specific global properties.

\n",methods:[],properties:[{name:"ANDROID",type:"boolean",description:"

Whether the current platform is Android.

\n"},{name:"BLINK",type:"boolean",description:"

Whether the current rendering engine is Blink.

\n"},{name:"EDGE",type:"boolean",description:"

Whether the current browser is Microsoft Edge.

\n"},{name:"FIREFOX",type:"boolean",description:"

Whether the current browser is Firefox.

\n"},{name:"IOS",type:"boolean",description:"

Whether the current platform is Apple iOS.

\n"},{name:"isBrowser",type:"boolean",description:"

Whether the Angular application is being rendered in the browser.

\n"},{name:"SAFARI",type:"boolean",description:"

Whether the current browser is Safari.

\n"},{name:"TRIDENT",type:"boolean",description:"

Whether the current rendering engine is Microsoft Trident.

\n"},{name:"WEBKIT",type:"boolean",description:"

Whether the current rendering engine is WebKit.

\n"}]},Action:{fileName:"src/mini-ngrx/public_api.ts",className:"Action",description:"",methods:[],properties:[]},ModalBackdropComponent:{fileName:"src/modal/modal-backdrop.component.ts",className:"ModalBackdropComponent",description:"

This component will be added as background layout for modals if enabled

\n",methods:[],properties:[]},ModalDirective:{fileName:"src/modal/modal.directive.ts",className:"ModalDirective",description:"

Mark any code with directive to show it's content in modal

\n",methods:[{name:"toggle",description:"

Allows to manually toggle modal visibility

\n",args:[],returnType:"void"},{name:"show",description:"

Allows to manually open modal

\n",args:[],returnType:"void"},{name:"hide",description:"

Check if we can close the modal

\n",args:[{name:"event",type:"Event"}],returnType:"void"},{name:"_hide",description:"

Manually close modal

\n",args:[],returnType:"void"},{name:"showElement",description:"

Show dialog

\n",args:[],returnType:"void"},{name:"focusOtherModal",description:"

Events tricks

\n",args:[],returnType:"void"}],properties:[{name:"closeInterceptor",type:"CloseInterceptorFn",description:"

allows to provide a callback to intercept the closure of the modal

\n"},{name:"config",type:"ModalOptions>",description:"

allows to set modal configuration via element property

\n"},{name:"dismissReason",type:"string",description:"

This field contains last dismiss reason.\nPossible values: backdrop-click, esc and id: number\n(if modal was closed by direct call of .hide()).

\n"},{name:"onHidden",type:"EventEmitter",description:"

This event is fired when the modal has finished being\nhidden from the user (will wait for CSS transitions to complete).

\n"},{name:"onHide",type:"EventEmitter",description:"

This event is fired immediately when\nthe hide instance method has been called.

\n"},{name:"onShow",type:"EventEmitter",description:"

This event fires immediately when the show instance method is called.

\n"},{name:"onShown",type:"EventEmitter",description:"

This event is fired when the modal has been made visible to the user\n(will wait for CSS transitions to complete)

\n"}]},ClassName:{fileName:"src/modal/models/index.ts",className:"ClassName",description:"",methods:[],properties:[]},Selector:{fileName:"src/modal/models/index.ts",className:"Selector",description:"",methods:[],properties:[]},TransitionDurations:{fileName:"src/modal/models/index.ts",className:"TransitionDurations",description:"",methods:[],properties:[]},DismissReasons:{fileName:"src/modal/models/index.ts",className:"DismissReasons",description:"",methods:[],properties:[]},ConfigModel:{fileName:"src/pagination/models/index.ts",className:"ConfigModel",description:"",methods:[],properties:[]},PagesModel:{fileName:"src/pagination/models/index.ts",className:"PagesModel",description:"

Contain information about the page

\n",methods:[],properties:[{name:"active",type:"boolean",description:"

If true, then this is the current page

\n"},{name:"number",type:"number",description:"

Page number

\n"},{name:"text",type:"string",description:"

Text, which is displayed in the link

\n"}]},PagerModel:{fileName:"src/pagination/models/index.ts",className:"PagerModel",description:"",methods:[],properties:[]},PaginationLinkContext:{fileName:"src/pagination/models/index.ts",className:"PaginationLinkContext",description:"

A context for the

\n
    \n
  • customPageTemplate
  • \n
  • customNextTemplate
  • \n
  • customPreviousTemplate
  • \n
  • customFirstTemplate
  • \n
  • customLastTemplate\ninputs for link templates in case you want to override one
  • \n
\n",methods:[],properties:[{name:"currentPage",type:"number",description:"

The currently selected page number

\n"},{name:"disabled",type:"boolean",description:"

If true, the current link is disabled

\n"}]},PaginationNumberLinkContext:{fileName:"src/pagination/models/index.ts",className:"PaginationNumberLinkContext",description:"

A context for the pageTemplate inputs for link template

\n",methods:[],properties:[{name:"$implicit",type:"PagesModel",description:"

Contain the page information

\n"}]},PageChangedEvent:{fileName:"src/pagination/pagination.component.ts",className:"PageChangedEvent",description:"",methods:[],properties:[]},PaginationConfig:{fileName:"src/pagination/pagination.config.ts",className:"PaginationConfig",description:"

Provides default values for Pagination and pager components

\n",methods:[],properties:[]},PopoverConfig:{fileName:"src/popover/popover.config.ts",className:"PopoverConfig",description:"

Configuration service for the Popover directive.\nYou can inject this service, typically in your root component, and customize\nthe values of its properties in order to provide default values for all the\npopovers used in the application.

\n",methods:[],properties:[{name:"adaptivePosition",defaultValue:"true",type:"boolean",description:"

sets disable adaptive position

\n"},{name:"container",type:"string",description:"

A selector specifying the element the popover should be appended to.

\n"},{name:"delay",defaultValue:"0",type:"number",description:"

delay before showing the tooltip

\n"},{name:"placement",defaultValue:"top",type:"string",description:"

Placement of a popover. Accepts: "top", "bottom", "left", "right", "auto"

\n"},{name:"triggers",defaultValue:"click",type:"string",description:"

Specifies events that should trigger. Supports a space separated list of\nevent names.

\n"}]},PopoverDirective:{fileName:"src/popover/popover.directive.ts",className:"PopoverDirective",description:"

A lightweight, extensible directive for fancy popover creation.

\n",methods:[{name:"setAriaDescribedBy",description:"

Set attribute aria-describedBy for element directive and\nset id for the popover

\n",args:[],returnType:"void"},{name:"show",description:"

Opens an element\u2019s popover. This is considered a \u201cmanual\u201d triggering of\nthe popover.

\n",args:[],returnType:"void"},{name:"hide",description:"

Closes an element\u2019s popover. This is considered a \u201cmanual\u201d triggering of\nthe popover.

\n",args:[],returnType:"void"},{name:"toggle",description:"

Toggles an element\u2019s popover. This is considered a \u201cmanual\u201d triggering of\nthe popover.

\n",args:[],returnType:"void"}],properties:[{name:"adaptivePosition",defaultValue:"true",type:"boolean",description:"

sets disable adaptive position

\n"},{name:"container",type:"string",description:"

A selector specifying the element the popover should be appended to.

\n"},{name:"containerClass",type:"string",description:"

Css class for popover container

\n"},{name:"delay",defaultValue:"0",type:"number",description:"

Delay before showing the tooltip

\n"},{name:"isOpen",type:"boolean",description:"

Returns whether or not the popover is currently being shown

\n"},{name:"onHidden",type:"EventEmitter",description:"

Emits an event when the popover is hidden

\n"},{name:"onShown",type:"EventEmitter",description:"

Emits an event when the popover is shown

\n"},{name:"outsideClick",defaultValue:"false",type:"boolean",description:"

Close popover on outside click

\n"},{name:"placement",defaultValue:"top",type:"AvailableBSPositions",description:"

Placement of a popover. Accepts: "top", "bottom", "left", "right"

\n"},{name:"popover",type:"string | TemplateRef",description:"

Content to be displayed as popover.

\n"},{name:"popoverContext",type:"any",description:"

Context to be used if popover is a template.

\n"},{name:"popoverId",type:"number",description:"

unique id popover - use for aria-describedby

\n"},{name:"popoverTitle",type:"string",description:"

Title of a popover.

\n"},{name:"triggers",defaultValue:"click",type:"string",description:"

Specifies events that should trigger. Supports a space separated list of\nevent names.

\n"}]},Offsets:{fileName:"src/positioning/models/index.ts",className:"Offsets",description:"",methods:[],properties:[]},Data:{fileName:"src/positioning/models/index.ts",className:"Data",description:"",methods:[],properties:[]},Options:{fileName:"src/positioning/models/index.ts",className:"Options",description:"",methods:[],properties:[]},PositioningOptions:{fileName:"src/positioning/positioning.service.ts",className:"PositioningOptions",description:"",methods:[],properties:[{name:"appendToBody",type:"boolean",description:"

If true component will be attached to body

\n"},{name:"attachment",type:"string",description:"

A string of the form 'vert-attachment horiz-attachment' or 'placement'

\n
    \n
  • placement can be "top", "bottom", "left", "right"\nnot yet supported:
  • \n
  • vert-attachment can be any of 'top', 'middle', 'bottom'
  • \n
  • horiz-attachment can be any of 'left', 'center', 'right'
  • \n
\n"},{name:"element",type:"string | HTMLElement | ElementRef",description:"

The DOM element, ElementRef, or a selector string of an element which will be moved

\n"},{name:"offset",type:"string",description:"

A string of the form 'vert-offset horiz-offset'

\n
    \n
  • vert-offset and horiz-offset can be of the form "20px" or "55%"
  • \n
\n"},{name:"target",type:"string | HTMLElement | ElementRef",description:"

The DOM element, ElementRef, or a selector string of an element which the element will be attached to

\n"},{name:"targetAttachment",type:"string",description:"

A string similar to attachment. The one difference is that, if it's not provided,\ntargetAttachment will assume the mirror image of attachment.

\n"},{name:"targetOffset",type:"string",description:"

A string similar to offset, but referring to the offset of the target

\n"}]},BarValue:{fileName:"src/progressbar/progressbar-type.interface.ts",className:"BarValue",description:"",methods:[],properties:[]},RatingResults:{fileName:"src/rating/models/index.ts",className:"RatingResults",description:"",methods:[],properties:[]},RatingConfig:{fileName:"src/rating/rating.config.ts",className:"RatingConfig",description:"

Default values provider for rating

\n",methods:[],properties:[{name:"ariaLabel",defaultValue:"rating",type:"string",description:"

aria label for rating

\n"}]},Schema:{fileName:"src/schematics/src/ng-add/schema.ts",className:"Schema",description:"",methods:[],properties:[]},availablePaths:{fileName:"src/schematics/src/utils/addStyles.ts",className:"availablePaths",description:"",methods:[],properties:[]},DraggableItem:{fileName:"src/sortable/draggable-item.ts",className:"DraggableItem",description:"",methods:[],properties:[]},SortableItem:{fileName:"src/sortable/sortable.component.ts",className:"SortableItem",description:"",methods:[],properties:[]},TabHeadingDirective:{fileName:"src/tabs/tab-heading.directive.ts",className:"TabHeadingDirective",description:"

Should be used to mark element as a template for tab heading

\n",methods:[],properties:[]},ControlValueAccessorModel:{fileName:"src/timepicker/models/index.ts",className:"ControlValueAccessorModel",description:"",methods:[],properties:[]},TimepickerState:{fileName:"src/timepicker/reducer/timepicker.reducer.ts",className:"TimepickerState",description:"",methods:[],properties:[]},TimepickerConfig:{fileName:"src/timepicker/timepicker.config.ts",className:"TimepickerConfig",description:"

Provides default configuration values for timepicker

\n",methods:[],properties:[{name:"allowEmptyTime",defaultValue:"false",type:"boolean",description:"

if true emptyTime is not marked as invalid

\n"},{name:"ariaLabelHours",defaultValue:"hours",type:"string",description:"

hours aria label

\n"},{name:"ariaLabelMinutes",defaultValue:"minutes",type:"string",description:"

minutes aria label

\n"},{name:"ariaLabelSeconds",defaultValue:"seconds",type:"string",description:"

seconds aria label

\n"},{name:"arrowkeys",defaultValue:"true",type:"boolean",description:"

if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard

\n"},{name:"disabled",defaultValue:"false",type:"boolean",description:"

if true hours and minutes fields will be disabled

\n"},{name:"hoursPlaceholder",defaultValue:"HH",type:"string",description:"

placeholder for hours field in timepicker

\n"},{name:"hourStep",defaultValue:"1",type:"number",description:"

hours change step

\n"},{name:"max",type:"Date",description:"

maximum time user can select

\n"},{name:"meridians",type:"string[]",description:"

meridian labels based on locale

\n"},{name:"min",type:"Date",description:"

minimum time user can select

\n"},{name:"minutesPlaceholder",defaultValue:"MM",type:"string",description:"

placeholder for minutes field in timepicker

\n"},{name:"minuteStep",defaultValue:"5",type:"number",description:"

minutes change step

\n"},{name:"mousewheel",defaultValue:"true",type:"boolean",description:"

if true scroll inside hours and minutes inputs will change time

\n"},{name:"readonlyInput",defaultValue:"false",type:"boolean",description:"

if true hours and minutes fields will be readonly

\n"},{name:"secondsPlaceholder",defaultValue:"SS",type:"string",description:"

placeholder for seconds field in timepicker

\n"},{name:"secondsStep",defaultValue:"10",type:"number",description:"

seconds changes step

\n"},{name:"showMeridian",defaultValue:"true",type:"boolean",description:"

if true works in 12H mode and displays AM/PM. If false works in 24H mode and hides AM/PM

\n"},{name:"showMinutes",defaultValue:"true",type:"boolean",description:"

show minutes in timepicker

\n"},{name:"showSeconds",defaultValue:"false",type:"boolean",description:"

show seconds in timepicker

\n"},{name:"showSpinners",defaultValue:"true",type:"boolean",description:"

if true spinner arrows above and below the inputs will be shown

\n"}]},Time:{fileName:"src/timepicker/timepicker.models.ts",className:"Time",description:"",methods:[],properties:[]},TimepickerControls:{fileName:"src/timepicker/timepicker.models.ts",className:"TimepickerControls",description:"",methods:[],properties:[]},TimepickerComponentState:{fileName:"src/timepicker/timepicker.models.ts",className:"TimepickerComponentState",description:"",methods:[],properties:[]},TimeChangeEvent:{fileName:"src/timepicker/timepicker.models.ts",className:"TimeChangeEvent",description:"",methods:[],properties:[]},TooltipConfig:{fileName:"src/tooltip/tooltip.config.ts",className:"TooltipConfig",description:"

Default values provider for tooltip

\n",methods:[],properties:[{name:"adaptivePosition",defaultValue:"true",type:"boolean",description:"

sets disable adaptive position

\n"},{name:"container",type:"string",description:"

a selector specifying the element the tooltip should be appended to.

\n"},{name:"delay",defaultValue:"0",type:"number",description:"

delay before showing the tooltip

\n"},{name:"placement",defaultValue:"top",type:"string",description:"

tooltip placement, supported positions: 'top', 'bottom', 'left', 'right'

\n"},{name:"triggers",defaultValue:"hover focus",type:"string",description:"

array of event names which triggers tooltip opening

\n"}]},TypeaheadOptionListContext:{fileName:"src/typeahead/models/index.ts",className:"TypeaheadOptionListContext",description:"

A context for the optionsListTemplate\ninput template in case you want to override default one

\n",methods:[],properties:[{name:"$implicit",type:"TypeaheadTemplateMethods",description:"

Typeahead template methods

\n"},{name:"itemTemplate",type:"TemplateRef",description:"

Item template

\n"},{name:"matches",type:"TypeaheadMatch[]",description:"

All matches

\n"},{name:"query",type:"string | string[]",description:"

Search query

\n"}]},TypeaheadOptionItemContext:{fileName:"src/typeahead/models/index.ts",className:"TypeaheadOptionItemContext",description:"

A context for the typeaheadItemTemplate\ninput template in case you want to override default one

\n",methods:[],properties:[{name:"index",type:"number",description:"

Item index

\n"},{name:"item",type:"unknown",description:"

Item

\n"},{name:"match",type:"TypeaheadMatch",description:"

Typeahead match

\n"},{name:"query",type:"string | string[]",description:"

Search query

\n"}]},TypeaheadTemplateMethods:{fileName:"src/typeahead/models/index.ts",className:"TypeaheadTemplateMethods",description:"

Methods for optionsListTemplate context

\n",methods:[{name:"selectMatch",description:"

Function to select an option by click event

\n",args:[{name:"value",type:"TypeaheadMatch"},{name:"e",type:"Event"}],returnType:"void"},{name:"selectActive",description:"

Function to select an option by mouseenter event

\n",args:[{name:"value",type:"TypeaheadMatch"}],returnType:"void"},{name:"isActive",description:"

Function to check if an option is active

\n",args:[{name:"value",type:"TypeaheadMatch"}],returnType:"boolean"}],properties:[]},TypeaheadOrder:{fileName:"src/typeahead/typeahead-order.class.ts",className:"TypeaheadOrder",description:"",methods:[],properties:[{name:"direction",type:'"asc" | "desc"',description:"

ordering direction, could be 'asc' or 'desc'

\n"},{name:"field",type:"string",description:"

field for sorting

\n"}]},TypeaheadConfig:{fileName:"src/typeahead/typeahead.config.ts",className:"TypeaheadConfig",description:"

Default values provider for typeahead

\n",methods:[],properties:[{name:"adaptivePosition",defaultValue:"false",type:"boolean",description:"

sets use adaptive position

\n"},{name:"cancelRequestOnFocusLost",defaultValue:"false",type:"boolean",description:"

if true, typeahead will cancel async request on blur

\n"},{name:"hideResultsOnBlur",defaultValue:"true",type:"boolean",description:"

used to hide results on blur

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"},{name:"isFirstItemActive",defaultValue:"true",type:"boolean",description:"

used to active/inactive the first item in typeahead container

\n"},{name:"minLength",defaultValue:"1",type:"number",description:"

used to choose set minimal no of characters that needs to\nbe entered before typeahead kicks-in

\n"},{name:"selectFirstItem",defaultValue:"true",type:"boolean",description:"

used to choose the first item in typeahead container

\n"},{name:"selectItemOnBlur",defaultValue:"false",type:"boolean",description:"

used to choose item on blur event

\n"}]},ListNode:{fileName:"src/utils/linked-list.class.ts",className:"ListNode",description:"",methods:[],properties:[]},IObjectKeys:{fileName:"src/utils/theme-provider.ts",className:"IObjectKeys",description:"",methods:[],properties:[]},IBsVersion:{fileName:"src/utils/theme-provider.ts",className:"IBsVersion",description:"",methods:[],properties:[]}};var Kr=D(37472),Zs=D(5964),Ts=D(372),Gi=D(2293);function ei(R,d){1&R&&h.nrm(0,"sidebar",1)}let qs=(()=>{class R{constructor(g,_,N,j,ne){this.route=g,this.router=_,this.urlSerializer=N,this.analytics=j,this.document=ne,this.showSidebar=!1}ngAfterContentInit(){this.analytics.trackPageViews();const g=j=>j.routerState.snapshot.url.slice(0,j.routerState.snapshot.url.indexOf("#"));let _=g(this.router);const N=()=>{const j=g(this.router);this.showSidebar=!!g(this.router),typeof PR<"u"&&_!==j&&(_=j,PR.prettyPrint());const ne=this.route.snapshot.fragment;if(ne){const K=this.document.getElementById(ne),fe=this.document.getElementById("header");K&&fe&&setTimeout(()=>{const ve=this.document.getElementById("sidebar"),Qe=innerWidth<=991?K.offsetTop-fe.offsetHeight-6-(ve?.offsetHeight||0):K.offsetTop-fe.offsetHeight-6;window.scrollTo({top:Qe,behavior:"smooth"})},100)}else window.scrollTo({top:0,behavior:"smooth"})};this.router.events.pipe((0,Zs.p)(j=>j instanceof o.wF)).subscribe(()=>setTimeout(()=>N(),50))}static#e=this.\u0275fac=function(_){return new(_||R)(h.rXU(o.nX),h.rXU(o.Ix),h.rXU(o.Sd),h.rXU(Kr.j0),h.rXU(Po.qQ))};static#t=this.\u0275cmp=h.VBU({type:R,selectors:[["bs-demo"]],decls:3,vars:1,consts:[["id","sidebar","class","sidebar",4,"ngIf"],["id","sidebar",1,"sidebar"]],template:function(_,N){1&_&&(h.nrm(0,"top-menu"),h.DNE(1,ei,1,0,"sidebar",0),h.nrm(2,"router-outlet")),2&_&&(h.R7$(),h.Y8G("ngIf",N.showSidebar))},dependencies:[Po.bT,Ts.k,o.n3,Gi.C],encapsulation:2})}return R})();const Is=[{path:"",data:["Landing page"],component:Kr.b4},{path:"documentation",data:["Documentation",{sideBarParentTitle:"documentation"}],component:Kr.i6},{path:"discover",data:["Discover",{sideBarParentTitle:"documentation"}],component:Kr.xW},{path:"schematics",data:["Schematics",{sideBarParentTitle:"documentation"}],component:Kr.ku},{path:"components",children:[{path:"",data:["Components"],component:Kr.Tv},{path:"accordion",data:["Accordion",{moduleName:"AccordionModule",moduleFolder:"accordion",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(673)]).then(D.bind(D,92673)).then(R=>R.DemoAccordionModule)},{path:"alerts",data:["Alerts",{moduleName:"AlertModule",moduleFolder:"alert",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>D.e(117).then(D.bind(D,95117)).then(R=>R.DemoAlertsModule)},{path:"buttons",data:["Buttons",{moduleName:"ButtonsModule",moduleFolder:"buttons",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(412)]).then(D.bind(D,14412)).then(R=>R.DemoButtonsModule)},{path:"carousel",data:["Carousel",{moduleName:"CarouselModule",moduleFolder:"carousel",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(43)]).then(D.bind(D,7043)).then(R=>R.DemoCarouselModule)},{path:"collapse",data:["Collapse",{moduleName:"CollapseModule",moduleFolder:"collapse",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(648)]).then(D.bind(D,78648)).then(R=>R.DemoCollapseModule)},{path:"datepicker",data:["Datepicker",{moduleName:"BsDatepickerModule",moduleFolder:"datepicker",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(740),D.e(76),D.e(457)]).then(D.bind(D,15457)).then(R=>R.DemoDatepickerModule)},{path:"dropdowns",data:["Dropdowns",{moduleName:"BsDropdownModule",moduleFolder:"dropdown",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(745)]).then(D.bind(D,79745)).then(R=>R.DemoDropdownModule)},{path:"modals",data:["Modals",{moduleName:"ModalModule",moduleFolder:"modal",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(923)]).then(D.bind(D,11304)).then(R=>R.DemoModalModule)},{path:"pagination",data:["Pagination",{moduleName:"PaginationModule",moduleFolder:"pagination",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(126)]).then(D.bind(D,32126)).then(R=>R.DemoPaginationModule)},{path:"popover",data:["Popover",{moduleName:"PopoverModule",moduleFolder:"popover",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(304)]).then(D.bind(D,97304)).then(R=>R.DemoPopoverModule)},{path:"progressbar",data:["Progressbar",{moduleName:"ProgressbarModule",moduleFolder:"progressbar",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(750)]).then(D.bind(D,20750)).then(R=>R.DemoProgressbarModule)},{path:"rating",data:["Rating",{moduleName:"RatingModule",moduleFolder:"rating",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(90)]).then(D.bind(D,41090)).then(R=>R.DemoRatingModule)},{path:"sortable",data:["Sortable",{moduleName:"SortableModule",moduleFolder:"sortable",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(444)]).then(D.bind(D,12444)).then(R=>R.DemoSortableModule)},{path:"tabs",data:["Tabs",{moduleName:"TabsModule",moduleFolder:"tabs",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(718)]).then(D.bind(D,27718)).then(R=>R.DemoTabsModule)},{path:"timepicker",data:["Timepicker",{moduleName:"TimepickerModule",moduleFolder:"timepicker",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(740),D.e(515)]).then(D.bind(D,32515)).then(R=>R.DemoTimepickerModule)},{path:"tooltip",data:["Tooltip",{moduleName:"TooltipModule",moduleFolder:"tooltip",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(842)]).then(D.bind(D,34842)).then(R=>R.DemoTooltipModule)},{path:"typeahead",data:["Typeahead",{moduleName:"TypeaheadModule",moduleFolder:"typeahead",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(546)]).then(D.bind(D,43546)).then(R=>R.DemoTypeaheadModule)}]},{path:"**",redirectTo:"/"}];let Ms=(()=>{class R{static#e=this.\u0275fac=function(_){return new(_||R)};static#t=this.\u0275mod=h.$C({type:R,bootstrap:[qs]});static#n=this.\u0275inj=h.G2t({providers:[{provide:Kr.Oi,useValue:fn},{provide:Kr.to,useValue:Is},{provide:Kr.EC,useValue:Kr.aV},(0,Z.$R)((0,Z.Sx)())],imports:[Lo,Kr.ky,o.iI.forRoot(Is,{useHash:true}),Q.zE]})}return R})();(0,h.SmG)(),y.sG().bootstrapModule(Ms).catch(R=>console.error(R))},37472:(We,de,D)=>{D.d(de,{j0:()=>ie,Mg:()=>ho,Tv:()=>Pe,Fe:()=>Sn.F,to:()=>po.t,xW:()=>yr,ky:()=>Ge,i6:()=>eo,xK:()=>mn,b4:()=>kr,Oi:()=>Q,zw:()=>st,r2:()=>Le,TJ:()=>U,EC:()=>At.E,ku:()=>to,aV:()=>$r.a});var y=D(60177),h=D(43744),Z=D(59169),o=D(54438);class Q{}function H(M){const q=M.args.map(A=>`${A.name}: ${A.type}`).join(", ");return`${M.name}(${q})`}var oe=D(8681),ue=D(5964);let ie=(()=>{class M{constructor(A,te){this.location=A,this.router=te,this.enabled=typeof window<"u"&&window.location.href.indexOf("bootstrap")>=0}trackPageViews(){this.enabled&&this.router.events.pipe((0,ue.p)(A=>A instanceof oe.wF)).subscribe(()=>{typeof ga<"u"&&ga("send",{hitType:"pageview",page:this.location.path()})})}trackEvent(A,te){this.enabled&&te&&typeof ga<"u"&&ga("send",{hitType:"event",eventCategory:te,eventAction:A})}static#e=this.\u0275fac=function(te){return new(te||M)(o.KVO(y.aZ),o.KVO(oe.Ix))};static#t=this.\u0275prov=o.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),le=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275prov=o.jDH({token:M,factory:M.\u0275fac,providedIn:"platform"})}return M})();var Y=D(345);function B(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",5),o.EFF(2,"Exported as"),o.k0s(),o.j41(3,"td",6)(4,"code"),o.EFF(5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.JRh(null==A.apiDocs?null:A.apiDocs.exportAs)}}function ce(M,q){if(1&M&&(o.j41(0,"span"),o.EFF(1),o.k0s()),2&M){const A=o.XpG(4);o.R7$(),o.SpI("\u2014 initialized from ",A.configServiceName," service")}}function V(M,q){if(1&M&&(o.j41(0,"div")(1,"span")(2,"i"),o.EFF(3,"Default value: "),o.k0s(),o.j41(4,"code"),o.EFF(5),o.k0s()(),o.DNE(6,ce,2,1,"span",7),o.k0s()),2&M){const A=o.XpG().$implicit,te=o.XpG(2);o.R7$(5),o.JRh(te.defaultInputValue(A)||"-"),o.R7$(),o.Y8G("ngIf",te.hasConfigProperty(A))}}function ge(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",5)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",6)(5,"div")(6,"i"),o.EFF(7,"Type: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.DNE(10,V,7,2,"ng-template",8),o.nrm(11,"div",2),o.k0s()()),2&M){const A=q.$implicit,te=o.XpG(2);o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(A.type),o.R7$(),o.Y8G("ngIf",te.defaultInputValue(A)||te.hasConfigProperty(A)),o.R7$(),o.Y8G("innerHTML",A.descriptionSafeHtml,o.npT)}}function _e(M,q){if(1&M&&(o.j41(0,"section")(1,"h3"),o.EFF(2,"Inputs"),o.k0s(),o.j41(3,"div",3)(4,"table",4)(5,"tbody"),o.DNE(6,ge,12,4,"tr",9),o.k0s()()()()),2&M){const A=o.XpG();o.R7$(6),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.inputs)}}function Oe(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",5)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",6),o.nrm(5,"div",2),o.k0s()()),2&M){const A=q.$implicit;o.R7$(3),o.JRh(A.name),o.R7$(2),o.Y8G("innerHTML",A.descriptionSafeHtml,o.npT)}}function rt(M,q){if(1&M&&(o.j41(0,"section")(1,"h3",10),o.EFF(2,"Outputs"),o.k0s(),o.j41(3,"div",3)(4,"table",4)(5,"tbody"),o.DNE(6,Oe,6,2,"tr",9),o.k0s()()()()),2&M){const A=o.XpG();o.R7$(6),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.outputs)}}function gt(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",5)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",6)(5,"div")(6,"i"),o.EFF(7,"Signature: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.j41(10,"div")(11,"i"),o.EFF(12,"Return type: "),o.k0s(),o.j41(13,"code"),o.EFF(14),o.k0s()(),o.nrm(15,"div",2),o.k0s()()),2&M){const A=q.$implicit,te=o.XpG(2);o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(te.methodSignature(A)),o.R7$(5),o.JRh(A.returnType),o.R7$(),o.Y8G("innerHTML",A.descriptionSafeHtml,o.npT)}}function kt(M,q){if(1&M&&(o.j41(0,"section")(1,"h3",11),o.EFF(2,"Methods"),o.k0s(),o.j41(3,"div",3)(4,"table",4)(5,"tbody"),o.DNE(6,gt,16,4,"tr",9),o.k0s()()()()),2&M){const A=o.XpG();o.R7$(6),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.methods)}}let Le=(()=>{class M{constructor(A,te,se,Ke){if(this.sanitizer=Ke,this.analytics=A,this.docs=te,this.headerAnchor=se.anchor,se?.title){this.apiDocs=this.docs[se.title],this.configServiceName=`${se.title}Config`;const Ct=this.docs[this.configServiceName];this.configProperties={},Ct&&this.apiDocs?.inputs.forEach(vt=>{this.configProperties&&this.configProperties[vt.name]&&(this.configProperties[vt.name]=this.findInputConfigProperty(Ct,vt))}),this.checkSecurApiDocs()}}defaultInputValue(A){const te=this.configProperties?.[A.name];return te?te.defaultValue:A.defaultValue}hasConfigProperty(A){return!!this.configProperties?.[A.name]}methodSignature(A){return H(A)}trackSourceClick(){this.analytics.trackEvent("Source File View",this.apiDocs?.className)}findInputConfigProperty(A,te){return A.properties.filter(se=>se.name===te.name)[0]}checkSecurApiDocs(){this.apiDocs&&(this.apiDocs?.description&&(this.apiDocs.descriptionSafeHtML=this.sanitizer.bypassSecurityTrustHtml(this.apiDocs.description)),this.apiDocs?.inputs?.length&&this.apiDocs.inputs.map(A=>{A.description&&(A.descriptionSafeHtml=this.sanitizer.bypassSecurityTrustHtml(A.description))}),this.apiDocs?.outputs?.length&&this.apiDocs.outputs.map(A=>{A.description&&(A.descriptionSafeHtml=this.sanitizer.bypassSecurityTrustHtml(A.description))}),this.apiDocs?.methods?.length&&this.apiDocs.methods.map(A=>{A.description&&(A.descriptionSafeHtml=this.sanitizer.bypassSecurityTrustHtml(A.description))}))}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(ie),o.rXU(Q),o.rXU(le),o.rXU(Y.up))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["ng-api-doc"]],decls:18,vars:10,consts:[[1,"api-doc-component",3,"click"],["target","_blank","rel","noopener",3,"href"],[3,"innerHTML"],[1,"table-responsive"],[1,"table","table-bordered"],[1,"col-xs-3"],[1,"col-xs-9"],[4,"ngIf"],[3,"ngIf"],[4,"ngFor","ngForOf"],["id","outputs"],["id","methods"]],template:function(te,se){1&te&&(o.j41(0,"div",0),o.bIt("click",function(){return se.trackSourceClick()}),o.j41(1,"h3")(2,"a",1),o.EFF(3),o.k0s()(),o.nrm(4,"p",2),o.j41(5,"div",3)(6,"table",4)(7,"tbody")(8,"tr")(9,"td",5),o.EFF(10,"Selector"),o.k0s(),o.j41(11,"td",6)(12,"code"),o.EFF(13),o.k0s()()(),o.DNE(14,B,6,1,"tr",7),o.k0s()()(),o.DNE(15,_e,7,1,"ng-template",8)(16,rt,7,1,"ng-template",8)(17,kt,7,1,"ng-template",8),o.k0s()),2&te&&(o.R7$(),o.BMQ("id",se.headerAnchor),o.R7$(),o.Mz_("href","https://github.com/valor-software/ngx-bootstrap/tree/development/",null==se.apiDocs?null:se.apiDocs.fileName,"",o.B4B),o.R7$(),o.JRh(null==se.apiDocs?null:se.apiDocs.className),o.R7$(),o.Y8G("innerHTML",null==se.apiDocs?null:se.apiDocs.descriptionSafeHtML,o.npT),o.R7$(9),o.JRh(null==se.apiDocs?null:se.apiDocs.selector),o.R7$(),o.Y8G("ngIf",null==se.apiDocs?null:se.apiDocs.exportAs),o.R7$(),o.Y8G("ngIf",null==se.apiDocs||null==se.apiDocs.inputs?null:se.apiDocs.inputs.length),o.R7$(),o.Y8G("ngIf",null==se.apiDocs||null==se.apiDocs.outputs?null:se.apiDocs.outputs.length),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs||null==se.apiDocs.methods?null:se.apiDocs.methods.length)&&(null==se.apiDocs?null:se.apiDocs.exportAs)))},dependencies:[y.Sq,y.bT],encapsulation:2,changeDetection:0})}return M})();function ke(M,q){if(1&M&&(o.j41(0,"div")(1,"i"),o.EFF(2,"Default value: "),o.k0s(),o.j41(3,"code"),o.EFF(4),o.k0s()()),2&M){const A=o.XpG().$implicit;o.R7$(4),o.JRh(A.defaultValue||"-")}}function Je(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",6)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",7)(5,"div")(6,"i"),o.EFF(7,"Type: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.DNE(10,ke,5,1,"ng-template",3),o.j41(11,"div"),o.nrm(12,"span",2),o.k0s()()()),2&M){const A=q.$implicit;o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(A.type),o.R7$(),o.Y8G("ngIf",A.defaultValue),o.R7$(2),o.Y8G("innerHTML",A.description,o.npT)}}function je(M,q){if(1&M&&(o.j41(0,"section")(1,"h3"),o.EFF(2,"Properties"),o.k0s(),o.j41(3,"table",4)(4,"tbody"),o.DNE(5,Je,13,4,"tr",5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.properties)}}function $e(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",6)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",7)(5,"div")(6,"i"),o.EFF(7,"Signature: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.j41(10,"div")(11,"i"),o.EFF(12,"Return type: "),o.k0s(),o.j41(13,"code"),o.EFF(14),o.k0s()(),o.j41(15,"div"),o.nrm(16,"span",2),o.k0s()()()),2&M){const A=q.$implicit,te=o.XpG(2);o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(te.methodSignature(A)),o.R7$(5),o.JRh(A.returnType),o.R7$(2),o.Y8G("innerHTML",A.description,o.npT)}}function et(M,q){if(1&M&&(o.j41(0,"section")(1,"h3",8),o.EFF(2,"Methods"),o.k0s(),o.j41(3,"table",4)(4,"tbody"),o.DNE(5,$e,17,4,"tr",5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.methods)}}let st=(()=>{class M{constructor(A,te,se){this.docs=te,this.analytics=A,this.headerAnchor=se.anchor,se?.title&&(this.apiDocs=this.docs[se.title])}methodSignature(A){return H(A)}trackSourceClick(){this.analytics.trackEvent("Source File View",this.apiDocs?.className)}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(ie),o.rXU(Q),o.rXU(le))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["ng-api-doc-class"]],decls:7,vars:7,consts:[[1,"api-doc-component",3,"click"],["target","_blank","rel","noopener",3,"href"],[3,"innerHTML"],[3,"ngIf"],[1,"table","table-bordered"],[4,"ngFor","ngForOf"],[1,"col-xs-3"],[1,"col-xs-9"],["id","methods"]],template:function(te,se){1&te&&(o.j41(0,"div",0),o.bIt("click",function(){return se.trackSourceClick()}),o.j41(1,"h3")(2,"a",1),o.EFF(3),o.k0s()(),o.nrm(4,"p",2),o.DNE(5,je,6,1,"ng-template",3)(6,et,6,1,"ng-template",3),o.k0s()),2&te&&(o.R7$(),o.BMQ("id",se.headerAnchor),o.R7$(),o.Mz_("href","https://github.com/valor-software/ngx-bootstrap/tree/development/",null==se.apiDocs?null:se.apiDocs.fileName,"",o.B4B),o.R7$(),o.JRh(null==se.apiDocs?null:se.apiDocs.className),o.R7$(),o.Y8G("innerHTML",null==se.apiDocs?null:se.apiDocs.description,o.npT),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs?null:se.apiDocs.properties)&&(null==se.apiDocs||null==se.apiDocs.properties?null:se.apiDocs.properties.length)),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs?null:se.apiDocs.methods)&&(null==se.apiDocs||null==se.apiDocs.methods?null:se.apiDocs.methods.length)))},dependencies:[y.Sq,y.bT],encapsulation:2,changeDetection:0})}return M})();function zt(M,q){if(1&M&&(o.j41(0,"div")(1,"i"),o.EFF(2,"Default value: "),o.k0s(),o.j41(3,"code"),o.EFF(4),o.k0s()()),2&M){const A=o.XpG().$implicit;o.R7$(4),o.JRh(A.defaultValue||"-")}}function Ne(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",6)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",7)(5,"div")(6,"i"),o.EFF(7,"Type: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.DNE(10,zt,5,1,"ng-template",3),o.nrm(11,"div",2),o.k0s()()),2&M){const A=q.$implicit;o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(A.type),o.R7$(),o.Y8G("ngIf",A.defaultValue),o.R7$(),o.Y8G("innerHTML",A.description,o.npT)}}function Te(M,q){if(1&M&&(o.j41(0,"section")(1,"h3"),o.EFF(2,"Properties"),o.k0s(),o.j41(3,"table",4)(4,"tbody"),o.DNE(5,Ne,12,4,"tr",5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.properties)}}function ot(M,q){1&M&&(o.qex(0),o.EFF(1,", "),o.bVm())}function _t(M,q){if(1&M&&(o.qex(0),o.EFF(1),o.DNE(2,ot,2,0,"ng-container",9),o.bVm()),2&M){const A=q.$implicit,te=q.last,se=o.XpG().$implicit;o.R7$(),o.Lme("",A.name,": ",A.type,""),o.R7$(),o.Y8G("ngIf",!te&&se.args.length>1)}}function Qt(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",6)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",7)(5,"div")(6,"code"),o.EFF(7),o.k0s(),o.j41(8,"span",8),o.DNE(9,_t,3,3,"ng-container",5),o.j41(10,"code"),o.EFF(11,")"),o.k0s(),o.EFF(12),o.k0s()(),o.nrm(13,"div",2),o.k0s()()),2&M){const A=q.$implicit;o.R7$(3),o.JRh(A.name),o.R7$(4),o.SpI("",A.name,"("),o.R7$(2),o.Y8G("ngForOf",A.args),o.R7$(3),o.SpI(" => ",A.returnType," "),o.R7$(),o.Y8G("innerHTML",A.description,o.npT)}}function dn(M,q){if(1&M&&(o.j41(0,"section")(1,"h3"),o.EFF(2,"Methods"),o.k0s(),o.j41(3,"table",4)(4,"tbody"),o.DNE(5,Qt,14,5,"tr",5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.methods)}}let U=(()=>{class M{constructor(A,te,se){this.isShowMethods=!1,this.analytics=A,this.docs=te,this.headerAnchor=se.anchor,se?.title&&(this.apiDocs=this.docs[se.title]),this.isShowMethods=se.showMethods||this.isShowMethods,this.directiveName=se.title?.slice(0,-6)}trackSourceClick(){this.analytics.trackEvent("Source File View",this.apiDocs?.className)}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(ie),o.rXU(Q),o.rXU(le))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["ng-api-doc-config"]],decls:7,vars:7,consts:[[1,"api-doc-component",3,"click"],["target","_blank","rel","noopener",3,"href"],[3,"innerHTML"],[3,"ngIf"],[1,"table","table-bordered"],[4,"ngFor","ngForOf"],[1,"col-xs-3"],[1,"col-xs-9"],[1,"api-doc-methods"],[4,"ngIf"]],template:function(te,se){1&te&&(o.j41(0,"div",0),o.bIt("click",function(){return se.trackSourceClick()}),o.j41(1,"h3")(2,"a",1),o.EFF(3),o.k0s()(),o.nrm(4,"p",2),o.DNE(5,Te,6,1,"ng-template",3)(6,dn,6,1,"ng-template",3),o.k0s()),2&te&&(o.R7$(),o.BMQ("id",se.headerAnchor),o.R7$(),o.Mz_("href","https://github.com/valor-software/ngx-bootstrap/tree/development/",null==se.apiDocs?null:se.apiDocs.fileName,"",o.B4B),o.R7$(),o.JRh(null==se.apiDocs?null:se.apiDocs.className),o.R7$(),o.Y8G("innerHTML",null==se.apiDocs?null:se.apiDocs.description,o.npT),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs?null:se.apiDocs.properties)&&(null==se.apiDocs||null==se.apiDocs.properties?null:se.apiDocs.properties.length)),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs?null:se.apiDocs.methods)&&(null==se.apiDocs||null==se.apiDocs.methods?null:se.apiDocs.methods.length)&&se.isShowMethods))},dependencies:[y.Sq,y.bT],encapsulation:2,changeDetection:0})}return M})(),x=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275mod=o.$C({type:M});static#n=this.\u0275inj=o.G2t({imports:[y.MD,Z.j]})}return M})();var $=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],re={clickToLoad:function(M){return we("ctl",M)},devToolsHeight:function(M){return it("devToolsHeight",M)},forceEmbedLayout:function(M){return we("embed",M)},hideDevTools:function(M){return we("hideDevTools",M)},hideExplorer:function(M){return we("hideExplorer",M)},hideNavigation:function(M){return we("hideNavigation",M)},showSidebar:function(M){return"boolean"==typeof(A=M)?"showSidebar="+(A?"1":"0"):"";var A},openFile:function(M){return(A=M,(Array.isArray(A)?A:[A]).filter(function(te){return"string"==typeof te&&""!==te.trim()}).map(function(te){return"file="+encodeURIComponent(te.trim())})).join("&");var A},terminalHeight:function(M){return it("terminalHeight",M)},theme:function(M){return mt("theme",["light","dark"],M)},view:function(M){return mt("view",["preview","editor"],M)}};function we(M,q){return!0===q?M+"=1":""}function it(M,q){return"number"==typeof q&&q>=0&&q<=100?M+"="+Math.round(q):""}function mt(M,q,A){return"string"==typeof A&&q.includes(A)?M+"="+A:""}function dt(M,q){return""+function Ut(M){return void 0===M&&(M={}),"string"==typeof M.origin?M.origin:"https://stackblitz.com"}(q)+M+function Me(M){void 0===M&&(M={});var q=Object.entries(M).map(function(A){var te=A[0],se=A[1];return null!=se&&re.hasOwnProperty(te)?re[te](se):""}).filter(Boolean);return q.length?"?"+q.join("&"):""}(q)}function Kn(M,q){var A=document.createElement("input");return A.type="hidden",A.name=M,A.value=q,A}var pr_openProject=function(M,q){var te,se;te=q,(se=function Vr(M){if(!$.includes(M.template)){var q=$.map(function(se){return"'"+se+"'"}).join(", ");console.warn("Unsupported project.template: must be one of "+q)}var A="node"===M.template,te=document.createElement("form");return te.method="POST",te.setAttribute("style","display:none!important;"),te.appendChild(Kn("project[title]",M.title)),te.appendChild(Kn("project[description]",M.description)),te.appendChild(Kn("project[template]",M.template)),M.dependencies&&(A?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):te.appendChild(Kn("project[dependencies]",JSON.stringify(M.dependencies)))),M.settings&&te.appendChild(Kn("project[settings]",JSON.stringify(M.settings))),Object.keys(M.files).forEach(function(se){"string"==typeof M.files[se]&&te.appendChild(Kn("project[files]["+se+"]",M.files[se]))}),te}(M)).action=dt("/run",te),se.target=function tn(M){return M&&!1===M.newWindow?"_self":"_blank"}(te),document.body.appendChild(se),se.submit(),document.body.removeChild(se)};function Bt(M,q){return`import { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { ${q.moduleName} } from 'ngx-bootstrap/${q.moduleFolder}';\n${"DemoModalWithPopupsComponent"===M?"import { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { PopoverModule } from 'ngx-bootstrap/popover';":""}\n${"DemoDatepickerChangeLocaleComponent"===M?"import { defineLocale } from 'ngx-bootstrap/chronos';\nimport { deLocale, frLocale, plLocale } from 'ngx-bootstrap/locale';\n defineLocale('de', deLocale);\n defineLocale('fr', frLocale);\n defineLocale('pl', plLocale);":""}\n\nimport { ${"DemoModalServiceFromComponent"===M?`${M}, ModalContentComponent`:M} } from './ngx-bootstrap-demo.component'\n@NgModule({\n declarations: [${"DemoModalServiceFromComponent"===M?`${M}, ModalContentComponent`:M}],\n imports: [\n ${q.moduleName}.forRoot(),\n ${"DemoModalWithPopupsComponent"===M?"TooltipModule,\n PopoverModule,":""}\n BrowserAnimationsModule,\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n BrowserModule\n ],\n entryComponents: [${"DemoModalServiceFromComponent"===M?"ModalContentComponent":""}],\n bootstrap: [${M}]\n})\nexport class AppModule {\n}\n`}function sr(M,q,A){return`\n\n
\nThis demo shows functionality of ${q.moduleFolder} from ngx-bootstrap.
\nYou can find the full demo here https://valor-software.com/ngx-bootstrap/#${q.moduleRoute}\n
\n
<${M}>Loading ngx-bootstrap...
`}var Gt=D(39555),bt=D(89079),Sn=D(27e3),at=D(4875),Fn=D(80903);const Yt=["*"];function Qn(M,q){if(1&M&&(o.j41(0,"tab",8)(1,"pre",9),o.EFF(2),o.k0s()()),2&M){const A=o.XpG(2);o.Y8G("customClass","code-tab"),o.R7$(2),o.JRh(A.html)}}function tr(M,q){if(1&M&&(o.j41(0,"tab",10)(1,"pre",11),o.EFF(2),o.k0s()()),2&M){const A=o.XpG(2);o.Y8G("customClass","code-tab"),o.R7$(2),o.JRh(A.ts)}}function nr(M,q){if(1&M&&(o.j41(0,"tab",12)(1,"pre",11),o.EFF(2),o.k0s()()),2&M){const A=o.XpG(2);o.Y8G("customClass","code-tab"),o.R7$(2),o.JRh(A.spec)}}function Yn(M,q){if(1&M&&(o.j41(0,"tab",13)(1,"pre",14),o.EFF(2),o.k0s()()),2&M){const A=o.XpG(2);o.Y8G("customClass","code-tab"),o.R7$(2),o.JRh(A.style)}}function ct(M,q){if(1&M&&(o.j41(0,"tabset"),o.DNE(1,Qn,3,2,"tab",4)(2,tr,3,2,"tab",5)(3,nr,3,2,"tab",6)(4,Yn,3,2,"tab",7),o.k0s()),2&M){const A=o.XpG();o.R7$(),o.Y8G("ngIf",A.html),o.R7$(),o.Y8G("ngIf",A.ts),o.R7$(),o.Y8G("ngIf",A.spec),o.R7$(),o.Y8G("ngIf",A.style)}}let ye=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["ng-sample-box"]],inputs:{ts:"ts",html:"html",spec:"spec",style:"style"},ngContentSelectors:Yt,decls:5,vars:1,consts:[[1,"section","bd-example"],[1,"section"],[1,"item"],[4,"ngIf"],["heading","template",3,"customClass",4,"ngIf"],["heading","component",3,"customClass",4,"ngIf"],["heading","tests",3,"customClass",4,"ngIf"],["heading","style",3,"customClass",4,"ngIf"],["heading","template",3,"customClass"],[1,"prettyprint","linenums","lang-html"],["heading","component",3,"customClass"],[1,"prettyprint","linenums","lang-js"],["heading","tests",3,"customClass"],["heading","style",3,"customClass"],[1,"prettyprint","linenums","lang-css"]],template:function(te,se){1&te&&(o.NAR(),o.j41(0,"div",0),o.SdG(1),o.k0s(),o.j41(2,"div",1)(3,"div",2),o.DNE(4,ct,5,4,"tabset",3),o.k0s()()),2&te&&(o.R7$(4),o.Y8G("ngIf",se.html||se.ts||se.spec||se.style))},dependencies:[y.bT,at.V,Fn.f],encapsulation:2})}return M})();const w=()=>({tab:"overview"});function S(M,q){if(1&M&&o.nrm(0,"p",3),2&M){const A=o.XpG(2);o.Y8G("innerHTML",A.section.description,o.npT)}}function O(M,q){if(1&M){const A=o.RV6();o.j41(0,"a",14),o.bIt("click",function(){o.eBV(A);const se=o.XpG(3).$implicit,Ke=o.XpG(2);return o.Njj(Ke.openStackBlitzDemo(null==se||null==se.component?null:se.component.default,null==se||null==se.html?null:se.html.default))}),o.nrm(1,"img",15),o.k0s()}}function z(M,q){if(1&M&&(o.j41(0,"a",16),o.EFF(1,"#"),o.k0s()),2&M){const A=o.XpG(3).$implicit;o.Y8G("fragment",A.anchor)}}function me(M,q){if(1&M&&(o.j41(0,"a",17),o.nrm(1,"img",18),o.k0s()),2&M){const A=o.XpG(3).$implicit,te=o.XpG(2);o.Y8G("queryParams",o.lJ4(2,w))("fragment",te.initFragment(A.anchor))}}function Ae(M,q){if(1&M&&(o.j41(0,"p",10),o.DNE(1,O,2,0,"a",11)(2,z,2,1,"a",12)(3,me,2,3,"a",13),o.k0s()),2&M){const A=o.XpG(2).$implicit,te=o.XpG(2);o.R7$(),o.Y8G("ngIf","Accessibility"!==A.title&&"examples"!==te.tabName),o.R7$(),o.Y8G("ngIf","examples"!==te.tabName),o.R7$(),o.Y8G("ngIf","Accessibility"!==A.title&&"examples"===te.tabName)}}function xe(M,q){if(1&M&&(o.j41(0,"h3",8),o.EFF(1),o.DNE(2,Ae,4,3,"p",9),o.k0s()),2&M){const A=o.XpG().$implicit,te=o.XpG(2);o.BMQ("id",A.anchor),o.R7$(),o.SpI(" ",A.title," "),o.R7$(),o.Y8G("ngIf",(null==A?null:A.component)||"examples"===te.tabName)}}function ze(M,q){if(1&M&&o.nrm(0,"p",3),2&M){const A=o.XpG().$implicit;o.Y8G("innerHTML",A.description,o.npT)}}function nt(M,q){1&M&&o.eu8(0)}function ut(M,q){if(1&M&&(o.j41(0,"div",4),o.DNE(1,xe,3,3,"h3",5)(2,ze,1,1,"p",1),o.j41(3,"ng-sample-box",6),o.DNE(4,nt,1,0,"ng-container",7),o.k0s()()),2&M){const A=q.$implicit;o.R7$(),o.Y8G("ngIf",A.title),o.R7$(),o.Y8G("ngIf",A.description),o.R7$(),o.Aen(A.style),o.Y8G("ts",null==A||null==A.component?null:A.component.default)("html",null==A||null==A.html?null:A.html.default),o.R7$(),o.Y8G("ngComponentOutlet",A.outlet)}}function Nt(M,q){if(1&M&&(o.qex(0),o.DNE(1,S,1,1,"p",1)(2,ut,5,7,"div",2),o.bVm()),2&M){const A=o.XpG();o.R7$(),o.Y8G("ngIf",A.section.description),o.R7$(),o.Y8G("ngForOf",A.examples)}}let mn=(()=>{class M{constructor(A,te,se){this.section=A,this.route=te,this.examples=A.content,this.moduleData=this.route.snapshot.data&&this.route.snapshot.data[1],this.moduleData.moduleRoute=se.routerState.snapshot.url,this.tabName=se.parseUrl(se.url).queryParams?.tab,se.events.pipe((0,bt.pQ)()).subscribe(Ke=>{Ke instanceof oe.wF&&(this.tabName=se.parseUrl(se.url).queryParams?.tab)})}preventEmptyHrefNav(A){let te=A.target,se="#"===te.getAttribute("href");if(se)A.preventDefault();else if("A"!==te.tagName)for(;te.parentElement&&te!==document.body;){if(se)return void A.preventDefault();te=te.parentElement,se="#"===te.getAttribute("href")}}openStackBlitzDemo(A,te){if(!A||!te)return;const se=function er(M){const q=M.match(/export class \w+/);return q&&q.length&&q[0].split(" ").pop()||null}(A),Ke=function Mn(M){const q=M.match(/selector: '.+'/);return q&&q.length?q[0].substring(q[0].indexOf("'")+1,q[0].lastIndexOf("'")):null}(A),Ct=function Xn(M){const q=M.match(/templateUrl: '.+'/);return q&&q.length?q[0].substring(q[0].indexOf("/")+1,q[0].lastIndexOf("'")):null}(A);if(Ke&&se){const vt={template:"angular-cli",title:"ngx-bootstrap stackblitz demo ",description:"stackblitz demo",files:{"index.html":sr(Ke,this.moduleData,Gt.Aq.stackOverflowConfig()),"styles.css":`body {padding: 30px; position: relative}\n ${"/sortable"===this.moduleData.moduleRoute?".sortable-item {\n padding: 6px 12px;\n margin-bottom: 4px;\n font-size: 14px;\n line-height: 1.4em;\n text-align: center;\n cursor: grab;\n border: 1px solid transparent;\n border-radius: 4px;\n border-color: #adadad;\n }\n\n .sortable-item-active {\n background-color: #e6e6e6;\n box-shadow: inset 0 3px 5px rgba(0,0,0,.125);\n }\n\n .sortable-wrapper {\n min-height: 150px;\n }":""}\n ${"/accordion"===this.moduleData.moduleRoute?".card.customClass,\n.card.customClass .card-header,\n.panel.customClass {\n background-color: #5bc0de;\n color: #fff;\n}\n.panel.customClass .panel-body {\n background-color: #337aa7;\n}":""}`,".angular-cli.json":'{"apps": [{"styles": ["styles.css"]}]}',"main.ts":"import './polyfills';\nimport { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule).then(ref => {\n // Ensure Angular destroys itself on hot reloads.\n if (window['ngRef']) {\n window['ngRef'].destroy();\n }\n window['ngRef'] = ref;\n\n // Otherwise, log the boot error\n}).catch(err => console.error(err));","polyfills.ts":"/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\n * file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n// import 'core-js/es/symbol';\n// import 'core-js/es/object';\n// import 'core-js/es/function';\n// import 'core-js/es/parse-int';\n// import 'core-js/es/parse-float';\n// import 'core-js/es/number';\n// import 'core-js/es/math';\n// import 'core-js/es/string';\n// import 'core-js/es/date';\n// import 'core-js/es/array';\n// import 'core-js/es/regexp';\n// import 'core-js/es/map';\n// import 'core-js/es/set';\nimport 'web-animations-js';\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\n\n/** IE10 and IE11 requires the following to support `@angular/animation`. */\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n\n/** Evergreen browsers require these. **/\nimport 'core-js/es/reflect';\nimport 'core-js/es/reflect';\n\n\n/** ALL Firefox browsers require the following to support `@angular/animation`. **/\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n\n\n/***************************************************************************************************\n * Zone JS is required by Angular itself.\n */\nimport 'zone.j'; // Included with Angular CLI.\n\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n\n/**\n * Date, currency, decimal and percent pipes.\n * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10\n */\n// import 'intl'; // Run `npm install --save intl`.","app/app.module.ts":Bt(se,this.moduleData),"app/ngx-bootstrap-demo.component.ts":this.getTs(A)},dependencies:{"@angular/animations":"latest","web-animations-js":"latest","ngx-bootstrap":"next"}};"DemoDatepickerDateCustomClassesComponent"===se&&(vt.files["app/date-custom-classes.scss"]="::ng-deep .theme-green {\n .bs-datepicker-body {\n table {\n td {\n span.selected {\n background-color: #5cb85c !important;\n }\n }\n }\n }\n}"),vt.files[`app/${Ct}`]=this.getHtml(te),pr_openProject(vt)}}initFragment(A){const te=A.split("-");return te.slice(0,te.length-1).join("-")}getHtml(A){return"/carousel"===this.moduleData.moduleRoute?A.replace(/src="/g,'src="https://valor-software.com/ngx-bootstrap/'):A}getTs(A){return"/carousel"===this.moduleData.moduleRoute?A.replace(/assets/g,"https://valor-software.com/ngx-bootstrap/assets"):A}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(Sn.F),o.rXU(oe.nX),o.rXU(oe.Ix))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["examples"]],hostBindings:function(te,se){1&te&&o.bIt("click",function(Ct){return se.preventEmptyHrefNav(Ct)},!1,o.EBC)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"innerHTML",4,"ngIf"],["class","example-section",4,"ngFor","ngForOf"],[3,"innerHTML"],[1,"example-section"],["class","d-flex justify-content-between",4,"ngIf"],[3,"ts","html"],[4,"ngComponentOutlet"],[1,"d-flex","justify-content-between"],["class","m-0",4,"ngIf"],[1,"m-0"],["title","Open this demo in StackBlitz","href","#","class","stackblitz-link",3,"click",4,"ngIf"],["class","anchor-link d-inline-block","routerLink",".",3,"fragment",4,"ngIf"],["routerLink",".",3,"queryParams","fragment",4,"ngIf"],["title","Open this demo in StackBlitz","href","#",1,"stackblitz-link",3,"click"],["src","assets/images/stackblitz.png","alt","","width","20"],["routerLink",".",1,"anchor-link","d-inline-block",3,"fragment"],["routerLink",".",3,"queryParams","fragment"],["src","assets/images/icons/icon-code.svg","alt","","width","20"]],template:function(te,se){1&te&&o.DNE(0,Nt,3,2,"ng-container",0),2&te&&o.Y8G("ngIf",se.section)},dependencies:[y.OI,y.Sq,y.bT,ye,oe.Wk],encapsulation:2})}return M})(),ar=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275mod=o.$C({type:M});static#n=this.\u0275inj=o.G2t({imports:[y.MD,x,oe.iI,Z.j,oe.iI]})}return M})();function Kt(M,q){if(1&M&&o.nrm(0,"pre",5),2&M){const A=o.XpG(2);o.Y8G("innerHTML",A.section.importInfo,o.npT)}}function Ze(M,q){if(1&M&&o.nrm(0,"pre",6),2&M){const A=o.XpG(2);o.Y8G("innerHTML",A.section.usage.default,o.npT)}}function mr(M,q){1&M&&o.eu8(0)}function qr(M,q){if(1&M&&(o.qex(0),o.DNE(1,mr,1,0,"ng-container",7),o.bVm()),2&M){const A=q.$implicit,te=o.XpG(2);o.R7$(),o.Y8G("ngComponentOutlet",A.outlet)("ngComponentOutletInjector",te.sectionInjections(A))}}function Zn(M,q){if(1&M&&(o.qex(0),o.j41(1,"h2",1),o.EFF(2),o.k0s(),o.DNE(3,Kt,1,1,"pre",2)(4,Ze,1,1,"pre",3)(5,qr,2,2,"ng-container",4),o.bVm()),2&M){const A=o.XpG();o.R7$(),o.Y8G("id",A.section.anchor),o.R7$(),o.JRh(A.section.name),o.R7$(),o.Y8G("ngIf",A.section.importInfo),o.R7$(),o.Y8G("ngIf",A.section.usage),o.R7$(),o.Y8G("ngForOf",A.apiSectionsContent)}}let ho=(()=>{class M{constructor(A,te){this.section=A,this.injector=te,this._injectors=new Map,this.apiSectionsContent=A.content}sectionInjections(A){if(this._injectors.has(A))return this._injectors.get(A);const te=o.zZn.create([{provide:le,useValue:A}],this.injector);return this._injectors.set(A,te),te}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(Sn.F),o.rXU(o.zZn))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["api-sections"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"id"],["class","prettyprint lang-bash prettyprinted",3,"innerHTML",4,"ngIf"],["class","prettyprint lang-typescript",3,"innerHTML",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"prettyprint","lang-bash","prettyprinted",3,"innerHTML"],[1,"prettyprint","lang-typescript",3,"innerHTML"],[4,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(te,se){1&te&&o.DNE(0,Zn,6,5,"ng-container",0),2&te&&o.Y8G("ngIf",se.section)},dependencies:[y.OI,y.Sq,y.bT],encapsulation:2,changeDetection:0})}return M})(),ci=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275mod=o.$C({type:M});static#n=this.\u0275inj=o.G2t({imports:[y.MD,x]})}return M})();D(372),D(65646);var Jr=D(21626),Or=D(18357);let kr=(()=>{class M{constructor(A,te){this.http=A,this.router=te}ngAfterViewInit(){typeof window<"u"&&this.http.get("assets/json/current-version.json").subscribe(({version:A})=>{this.currentVersion=A})}scrollToSection(){this.router.navigate([".","documentation"],{fragment:"getting-started"})}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(Jr.Qq),o.rXU(oe.Ix))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["landing"]],decls:91,vars:0,consts:[[1,"main"],[1,"landing","landing-logo","m-auto"],[1,"container"],[1,"row","flex-column","container-width","text-center"],["data-cypress","sloganBs"],[1,"logo","position-relative","d-block","d-lg-none","mt-3"],["routerLink","/components",1,"d-flex","justify-content-center"],["src","assets/images/logos/ngx-bootstrap-logo.svg","alt","ngx-bootstrap logo"],[1,"button-box","d-flex","justify-content-between"],["routerLink","/documentation",1,"btn","btn-primary","text-white"],["routerLink","/components",1,"btn","btn-outline-primary"],[1,"logo","position-relative","d-none","d-lg-block"],["data-cypress","advantagesBs",1,"landing","landing-advantages","w-100"],[1,"container","container-width","m-auto"],[1,"text-center","text-white"],[1,"row"],[1,"col-12","col-xl-6","d-flex"],[1,"img-holder"],["src","assets/images/icons/advantages-01.svg","alt",""],[1,"txt-holder"],[1,"col-12","col-xl-6","d-flex","flex-wrap"],["src","assets/images/icons/advantages-02.svg","alt",""],["src","assets/images/icons/advantages-03.svg","alt",""],["src","assets/images/icons/advantages-04.svg","alt",""],[1,"landing","landing-additional-inf","w-100"],[1,"container-width-lg","m-auto","d-flex","justify-content-between","mw-100"],[1,"bubble-box"],[1,"bubble","position-relative"],["src","assets/images/logos/valor-logo.svg","alt","valor software logo"],[1,"text-holder"],["href","https://valor-software.com","target","_blank"],["href","https://valor-software.com/services","target","_blank"],["href","https://github.com/valor-software","target","_blank",1,"btn","btn-primary"],[1,"landing","landing-supporting","w-100"],[1,"button-box","d-flex","justify-content-between","w-100"],["target","_blank","href","https://opencollective.com/ngx-bootstrap",1,"btn","btn-primary","text-white"],["target","_blank","href","https://github.com/valor-software/ngx-bootstrap/blob/development/CONTRIBUTING.md",1,"btn","btn-outline-primary"],[1,"img-holder","d-flex","align-items-center","d-none","d-lg-block"],["src","assets/images/macbook_page.png","alt","macbook picture with ngx-bootstrap",1,"mw-100"],[1,"landing-footer"]],template:function(te,se){1&te&&(o.j41(0,"div",0)(1,"section",1)(2,"div",2)(3,"div",3)(4,"h1",4),o.EFF(5,"Develop better. Faster."),o.k0s(),o.j41(6,"div",5)(7,"a",6),o.nrm(8,"img",7),o.k0s()(),o.j41(9,"div",8)(10,"a",9),o.EFF(11,"Get started"),o.k0s(),o.j41(12,"a",10),o.EFF(13,"Documentation"),o.k0s()()(),o.j41(14,"div",11)(15,"a",6),o.nrm(16,"img",7),o.k0s()()()(),o.j41(17,"section",12)(18,"div",13)(19,"h2",14),o.EFF(20,"Benefits of working with us"),o.k0s(),o.j41(21,"div",15)(22,"div",16)(23,"div",17),o.nrm(24,"img",18),o.k0s(),o.j41(25,"div",19)(26,"h4"),o.EFF(27,"Flexible"),o.k0s(),o.j41(28,"p"),o.EFF(29," We put much effort into making ngx-bootstrap modular so you can implement your templates, styles, whatnot. All components are designed with extensibility and adaptivity in mind. You can expect them to work on Mobile and Desktop with the same level of performance. "),o.k0s()()(),o.j41(30,"div",20)(31,"div",17),o.nrm(32,"img",21),o.k0s(),o.j41(33,"div",19)(34,"h4"),o.EFF(35,"Extensible-friendly code"),o.k0s(),o.j41(36,"p"),o.EFF(37," We have incorporated a set of style guides and guidelines to enhance both code maintainability and readability. Also, we always support the latest Angular versions and provide full unit-test coverage. "),o.k0s()()()(),o.j41(38,"div",15)(39,"div",20)(40,"div",17),o.nrm(41,"img",22),o.k0s(),o.j41(42,"div",19)(43,"h4"),o.EFF(44,"Great documentation"),o.k0s(),o.j41(45,"p"),o.EFF(46," Being developers ourselves, we understand the importance of documentation. Well-written and continually updated docs significantly ease up the life of developers and improve overall software quality. We are doing our best to provide you with the most complete and easy-to-understand documentation out there. "),o.k0s()()(),o.j41(47,"div",20)(48,"div",17),o.nrm(49,"img",23),o.k0s(),o.j41(50,"div",19)(51,"h4"),o.EFF(52,"Tons of demos"),o.k0s(),o.j41(53,"p"),o.EFF(54," While working with visually rich libraries, you need to know what you are getting without going through the installation hassle. That is why we have developed a great set of demos for most of the component\u2019s methods. More will follow! "),o.k0s()()()()()(),o.j41(55,"section",24)(56,"div",25)(57,"div",26)(58,"div",27),o.nrm(59,"img",28),o.k0s()(),o.j41(60,"div",29)(61,"h2"),o.EFF(62,"Looking for More?"),o.k0s(),o.j41(63,"p"),o.EFF(64," We can help! If you are looking for a custom theme, new components, or help in migrating your existing designs to ngx-bootstrap, we\u2019ve got you covered. Learn more about "),o.j41(65,"a",30),o.EFF(66,"Valor Software"),o.k0s(),o.EFF(67,", the team behind ngx-bootstrap, and see how we can collaborate on our official "),o.j41(68,"a",31),o.EFF(69,"Valor Software site"),o.k0s(),o.EFF(70,". "),o.k0s(),o.j41(71,"a",32),o.EFF(72,"Get our help"),o.k0s()()()(),o.j41(73,"section",33)(74,"div",25)(75,"div",29)(76,"h2"),o.EFF(77,"Supporting"),o.nrm(78,"br"),o.EFF(79,"ngx-bootstrap"),o.k0s(),o.j41(80,"p"),o.EFF(81,"ngx-bootstrap is an Open Source (MIT Licensed) independent project with ongoing development made possible thanks to the support of our awesome backers. If you\u2019re also willing to show support or simply give back to the Open Source community, please consider becoming a partner. Valor Software employees and contractors are not eligible to use these funds."),o.k0s(),o.j41(82,"div",34)(83,"a",35),o.EFF(84,"Become a sponsor"),o.k0s(),o.j41(85,"a",36),o.EFF(86,"Become a contributor"),o.k0s()()(),o.j41(87,"div",37),o.nrm(88,"img",38),o.k0s()()()(),o.j41(89,"div",39),o.nrm(90,"app-footer"),o.k0s())},dependencies:[oe.Wk,Or.C],encapsulation:2})}return M})();var lr=D(86223);let eo=(()=>{class M{constructor(){this.name="Native Angular widgets for Bootstrap 5 and Bootstrap 4",this.src="https://github.com/valor-software/ngx-bootstrap"}static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["documentation"]],decls:660,vars:16,consts:[["id","content",1,"content-box","d-block","pl-0","ps-0","pe-0","pr-0"],[1,"common-header"],[1,"title-box"],["href","https://getbootstrap.com/docs/5.2","target","_blank"],["href","https://getbootstrap.com/docs/4.0","target","_blank"],[1,"statistic-box"],["href","https://npmjs.org/ngx-bootstrap","target","_blank"],["src","https://img.shields.io/npm/v/ngx-bootstrap/latest.svg","alt","npm latest version"],["src","https://img.shields.io/npm/v/ngx-bootstrap/next.svg","alt","npm next version"],["src","https://img.shields.io/npm/dm/ngx-bootstrap.svg","alt","npm downloads"],["href","https://opencollective.com/ngx-bootstrap","target","_blank"],["src","https://opencollective.com/ngx-bootstrap/tiers/backer/badge.svg?label=backer&color=brightgreen"],[1,"d-flex","links-box"],["href","https://github.com/valor-software/ngx-bootstrap","target","_blank",1,"d-block"],[1,"arrow-link"],["href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY","target","_blank",1,"d-block"],[1,"section"],["routerLink","."],["href","https://github.com/valor-software/ngx-bootstrap/blob/development/CHANGELOG.md","target","_blank"],["href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY","target","_blank"],["routerLink",".","fragment","getting-started"],["routerLink",".","fragment","usage--demo"],["routerLink",".","fragment","supporting-ngx-bootstrap"],["routerLink",".","fragment","installation"],["routerLink",".","fragment","compatibility"],["routerLink",".","fragment","troubleshooting"],["routerLink",".","fragment","contribution"],["routerLink",".","fragment","credits"],["routerLink",".","fragment","license"],["id","getting-started"],["routerLink",".","fragment","getting-started",1,"anchor-link"],["id","usage--demo"],["routerLink",".","fragment","usage--demo",1,"anchor-link"],["routerLink","/components"],["id","supporting-ngx-bootstrap"],["routerLink",".","fragment","supporting-ngx-bootstrap",1,"anchor-link"],["id","installation"],["routerLink",".","fragment","installation",1,"anchor-link"],[1,"prettyprint","lang-js","prettyprinted"],[1,"kwd"],[1,"pln"],[1,"pun"],[1,"str"],[1,"prettyprint","lang-bash","prettyprinted"],[1,"lit"],[1,"typ"],[1,"atn"],[1,"atv"],[1,"prettyprint","prettyprinted"],[1,"com"],[1,"tag"],["id","compatibility"],["routerLink",".","fragment","compatibility",1,"anchor-link"],["href","https://angular.io","target","_blank"],["href","https://getbootstrap.com","target","_blank"],[1,"compatibility","mb-4"],["id","troubleshooting"],["routerLink",".","fragment","troubleshooting",1,"anchor-link"],["href","https://stackoverflow.com/questions/tagged/ngx-bootstrap","target","_blank"],["href","https://github.com/valor-software/ngx-bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue","target","_blank"],["href","https://github.com/valor-software/ngx-bootstrap/issues/new","target","_blank"],["id","contribution"],["routerLink",".","fragment","contribution",1,"anchor-link"],["href","https://github.com/valor-software/ngx-bootstrap/blob/development/CONTRIBUTING.md","target","_blank"],["id","credits"],["routerLink",".","fragment","credits",1,"anchor-link"],["href","https://saucelabs.com/","target","_blank",1,"pr-1","pe-1"],["href","https://saucelabs.com/","target","_blank"],["src","https://avatars2.githubusercontent.com/u/88837?s=200&v=4","alt","Saucelabs","width","31","height","31"],["id","license"],["routerLink",".","fragment","license",1,"anchor-link"],["href","https://github.com/valor-software/ngx-bootstrap/blob/development/LICENSE","target","_blank"]],template:function(te,se){1&te&&(o.j41(0,"demo-section")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h1"),o.EFF(5,"Welcome to ngx-bootstrap!"),o.k0s(),o.j41(6,"p"),o.EFF(7," The best way to quickly integrate "),o.j41(8,"a",3),o.EFF(9,"Bootstrap 5 "),o.k0s(),o.EFF(10," or "),o.j41(11,"a",4),o.EFF(12,"Bootstrap 4 "),o.k0s(),o.EFF(13," Components with Angular "),o.k0s(),o.j41(14,"div",5)(15,"a",6),o.nrm(16,"img",7),o.k0s(),o.j41(17,"a",6),o.nrm(18,"img",8),o.k0s(),o.nrm(19,"br"),o.j41(20,"a",6),o.nrm(21,"img",9),o.k0s(),o.j41(22,"a",10),o.nrm(23,"img",11),o.k0s()()(),o.j41(24,"div",12)(25,"a",13),o.nrm(26,"i",14),o.EFF(27,"Github link"),o.k0s(),o.j41(28,"a",15),o.nrm(29,"i",14),o.EFF(30,"Slack channel "),o.k0s()()(),o.j41(31,"div",16)(32,"h2"),o.EFF(33,"Links"),o.k0s(),o.j41(34,"ul")(35,"li")(36,"a",17),o.EFF(37,"Documentation"),o.k0s()(),o.j41(38,"li")(39,"a",18),o.EFF(40,"Release Notes"),o.k0s()(),o.j41(41,"li")(42,"a",19),o.EFF(43,"Slack Community"),o.k0s()()(),o.j41(44,"h2"),o.EFF(45,"Table of contents"),o.k0s(),o.j41(46,"ol")(47,"li")(48,"a",20),o.EFF(49,"Getting Started"),o.k0s()(),o.j41(50,"li")(51,"a",21),o.EFF(52,"Usage & Demo"),o.k0s()(),o.j41(53,"li")(54,"a",22),o.EFF(55,"Supporting NGX-Bootstrap"),o.k0s()(),o.j41(56,"li")(57,"a",23),o.EFF(58,"Installation"),o.k0s()(),o.j41(59,"li")(60,"a",24),o.EFF(61,"Compatibility"),o.k0s()(),o.j41(62,"li")(63,"a",25),o.EFF(64,"Troubleshooting"),o.k0s()(),o.j41(65,"li")(66,"a",26),o.EFF(67,"Contributing"),o.k0s()(),o.j41(68,"li")(69,"a",27),o.EFF(70,"Credits"),o.k0s()(),o.j41(71,"li")(72,"a",28),o.EFF(73,"License"),o.k0s()()(),o.j41(74,"h2",29),o.EFF(75," Getting Started "),o.j41(76,"a",30),o.EFF(77,"#"),o.k0s()(),o.j41(78,"p"),o.EFF(79," ngx-bootstrap provides Bootstrap components powered by Angular, so you don't need to include original JS components. "),o.k0s(),o.j41(80,"p"),o.EFF(81,"Check our Getting started guide if it's your first project with Angular Bootstrap."),o.k0s(),o.j41(82,"h2",31),o.EFF(83," Usage & Demo "),o.j41(84,"a",32),o.EFF(85,"#"),o.k0s()(),o.j41(86,"p"),o.EFF(87," Bootstrap components for Angular applications, dozens of demos and API documentation could be found here: "),o.j41(88,"a",33),o.EFF(89,"https://valor-software.com/ngx-bootstrap"),o.k0s(),o.EFF(90,". "),o.k0s(),o.j41(91,"h2",34),o.EFF(92," Supporting NGX-Bootstrap "),o.j41(93,"a",35),o.EFF(94,"#"),o.k0s()(),o.j41(95,"p"),o.EFF(96," ngx-bootstrap is an Open Source (MIT Licensed) project, it's an independent project with ongoing development made possible thanks to the support of our awesome backers. If you also would like to show support or simply give back to Open Source community, please consider becoming a backer sponsor of "),o.j41(97,"a",10),o.EFF(98,"ngx-bootstrap on OpenCollective"),o.k0s(),o.EFF(99,". "),o.k0s(),o.j41(100,"p"),o.EFF(101," All donated funds are managed transparently on OpenCollective and will be used solely for compensating work and expenses for contributors. Valor Software employees and contractors are not eligible to use these funds. "),o.k0s(),o.j41(102,"p"),o.EFF(103," What's there for you? Proper recognition and exposure of your name/logo/website on our page. Our main sponsors will be presented under this section! Be the first! "),o.k0s(),o.j41(104,"h2",36),o.EFF(105," Installation "),o.j41(106,"a",37),o.EFF(107,"#"),o.k0s()(),o.j41(108,"h4"),o.EFF(109,"Angular CLI way"),o.k0s(),o.j41(110,"p"),o.EFF(111,"Make sure that your app uses modular approach and you have app.module.ts set as your starting point before you proceed"),o.k0s(),o.j41(112,"pre",38)(113,"span",39),o.EFF(114,"import"),o.k0s(),o.j41(115,"span",40),o.EFF(116," "),o.k0s(),o.j41(117,"span",41),o.EFF(118),o.k0s(),o.j41(119,"span",39),o.EFF(120," platformBrowser "),o.k0s(),o.j41(121,"span",41),o.EFF(122),o.k0s(),o.j41(123,"span",40),o.EFF(124," from "),o.k0s(),o.j41(125,"span",42),o.EFF(126,"'@angular/platform-browser'"),o.k0s(),o.j41(127,"span",41),o.EFF(128,";"),o.k0s(),o.EFF(129,"\n"),o.j41(130,"span",39),o.EFF(131,"import"),o.k0s(),o.j41(132,"span",40),o.EFF(133," "),o.k0s(),o.j41(134,"span",41),o.EFF(135),o.k0s(),o.j41(136,"span",39),o.EFF(137," AppModule "),o.k0s(),o.j41(138,"span",41),o.EFF(139),o.k0s(),o.j41(140,"span",40),o.EFF(141," from "),o.k0s(),o.j41(142,"span",42),o.EFF(143,"'./app.module'"),o.k0s(),o.j41(144,"span",41),o.EFF(145,";"),o.k0s(),o.EFF(146,"\n"),o.j41(147,"span",40),o.EFF(148,"\xa0"),o.k0s(),o.EFF(149,"\n"),o.j41(150,"span",41),o.EFF(151,"platformBrowser().bootstrapModule(AppModule).catch((err) => console.error(err));"),o.k0s(),o.EFF(152,"\n "),o.k0s(),o.j41(153,"p"),o.EFF(154,"Use the Angular CLI ng add command for updating your Angular project."),o.k0s(),o.j41(155,"pre",43)(156,"span",40),o.EFF(157,"ng add ngx-bootstrap"),o.k0s()(),o.j41(158,"h4"),o.EFF(159,"Manual way"),o.k0s(),o.j41(160,"p"),o.EFF(161,"Install "),o.j41(162,"code"),o.EFF(163,"ngx-bootstrap"),o.k0s(),o.EFF(164," from "),o.j41(165,"code"),o.EFF(166,"npm"),o.k0s()(),o.j41(167,"pre",43)(168,"span",40),o.EFF(169,"npm install ngx"),o.k0s(),o.j41(170,"span",41),o.EFF(171,"-"),o.k0s(),o.j41(172,"span",40),o.EFF(173,"bootstrap "),o.k0s(),o.j41(174,"span",41),o.EFF(175,"--"),o.k0s(),o.j41(176,"span",40),o.EFF(177,"save"),o.k0s()(),o.j41(178,"p"),o.EFF(179,"Add wanted package to NgModule imports:"),o.k0s(),o.j41(180,"pre",38),o.EFF(181," "),o.j41(182,"span",39),o.EFF(183,"import"),o.k0s(),o.j41(184,"span",40),o.EFF(185," "),o.k0s(),o.j41(186,"span",41),o.EFF(187),o.k0s(),o.j41(188,"span",39),o.EFF(189," TooltipModule "),o.k0s(),o.j41(190,"span",41),o.EFF(191),o.k0s(),o.j41(192,"span",40),o.EFF(193," from "),o.k0s(),o.j41(194,"span",42),o.EFF(195,"'ngx-bootstrap/tooltip'"),o.k0s(),o.j41(196,"span",41),o.EFF(197,";"),o.k0s(),o.EFF(198,"\n "),o.j41(199,"span",40),o.EFF(200,"\xa0"),o.k0s(),o.EFF(201,"\n "),o.j41(202,"span",44),o.EFF(203,"@NgModule"),o.k0s(),o.j41(204,"span",41),o.EFF(205),o.k0s(),o.EFF(206,"\n "),o.j41(207,"span",40),o.EFF(208," \u2026"),o.k0s(),o.EFF(209,"\n "),o.j41(210,"span",40),o.EFF(211," imports:"),o.k0s(),o.j41(212,"span",40),o.EFF(213," "),o.k0s(),o.j41(214,"span",40),o.EFF(215,"["),o.k0s(),o.j41(216,"span",40),o.EFF(217," "),o.k0s(),o.j41(218,"span",45),o.EFF(219,"TooltipModule"),o.j41(220,"span",40),o.EFF(221,".forRoot(), \u2026"),o.k0s()(),o.j41(222,"span",40),o.EFF(223," "),o.k0s(),o.j41(224,"span",41),o.EFF(225,"]"),o.k0s(),o.EFF(226,"\n "),o.j41(227,"span",40),o.EFF(228," \u2026"),o.k0s(),o.EFF(229,"\n "),o.j41(230,"span",41),o.EFF(231),o.k0s()(),o.j41(232,"p"),o.EFF(233,"Add component to your page:"),o.k0s(),o.j41(234,"pre",38),o.EFF(235," "),o.j41(236,"span",39),o.EFF(237,""),o.k0s(),o.EFF(263,"\n "),o.j41(264,"span",40),o.EFF(265," Simple demo"),o.k0s(),o.EFF(266,"\n "),o.j41(267,"span",39),o.EFF(268,""),o.k0s()(),o.j41(269,"p"),o.EFF(270,"You will need to add bootstrap css:"),o.k0s(),o.j41(271,"ul")(272,"li")(273,"code"),o.EFF(274,"Bootstrap 5"),o.k0s()()(),o.j41(275,"pre",48)(276,"span",49),o.EFF(277,"\x3c!--- index.html --\x3e"),o.k0s(),o.nrm(278,"span",40),o.EFF(279,"\n"),o.j41(280,"span",50),o.EFF(281,""),o.k0s()(),o.j41(314,"ul")(315,"li")(316,"code"),o.EFF(317,"Bootstrap 4"),o.k0s()()(),o.j41(318,"pre",48)(319,"span",49),o.EFF(320,"\x3c!--- index.html --\x3e"),o.k0s(),o.nrm(321,"span",40),o.EFF(322,"\n"),o.j41(323,"span",50),o.EFF(324,""),o.k0s()(),o.j41(357,"h3"),o.EFF(358,"Setting up the bootstrap version manually"),o.k0s(),o.j41(359,"p"),o.EFF(360," As you may know "),o.j41(361,"code"),o.EFF(362,"ngx-bootstrap"),o.k0s(),o.EFF(363," support several "),o.j41(364,"code"),o.EFF(365,"bootstrap.css"),o.k0s(),o.EFF(366," versions at the same time and has automatic tool to guess current used version of library, but if this guess fails you can specify version of "),o.j41(367,"code"),o.EFF(368,"bootstrap.css"),o.k0s(),o.EFF(369," manually. "),o.k0s(),o.j41(370,"p"),o.EFF(371," Sometimes, your project might contain some library that could interfere with the bootstrap framework, or you might have a customized version of bootstrap. The consequence is that the process of determining bootstrap version might be failed, which can break the UI. In that case, we can still set the bootstrap version manually in the bootstrapping component (i.e. "),o.j41(372,"code"),o.EFF(373,"AppComponent"),o.k0s(),o.EFF(374,"): "),o.k0s(),o.j41(375,"pre",38),o.EFF(376," "),o.j41(377,"span",39),o.EFF(378,"import"),o.k0s(),o.j41(379,"span",40),o.EFF(380," "),o.k0s(),o.j41(381,"span",41),o.EFF(382),o.k0s(),o.j41(383,"span",40),o.EFF(384," setTheme "),o.k0s(),o.j41(385,"span",41),o.EFF(386),o.k0s(),o.j41(387,"span",40),o.EFF(388," from "),o.k0s(),o.j41(389,"span",42),o.EFF(390,"'ngx-bootstrap/utils'"),o.k0s(),o.j41(391,"span",41),o.EFF(392,";"),o.k0s(),o.EFF(393,"\n "),o.j41(394,"span",40),o.EFF(395,"\xa0"),o.k0s(),o.EFF(396,"\n "),o.j41(397,"span",44),o.EFF(398,"@Component"),o.k0s(),o.j41(399,"span",41),o.EFF(400),o.k0s(),o.j41(401,"span",40),o.EFF(402,"\u2026"),o.k0s(),o.j41(403,"span",41),o.EFF(404),o.k0s(),o.EFF(405,"\n "),o.j41(406,"span",39),o.EFF(407,"export"),o.k0s(),o.j41(408,"span",40),o.EFF(409," "),o.k0s(),o.j41(410,"span",39),o.EFF(411,"class"),o.k0s(),o.j41(412,"span",40),o.EFF(413," "),o.k0s(),o.j41(414,"span",45),o.EFF(415,"AppComponent"),o.k0s(),o.j41(416,"span",40),o.EFF(417," "),o.k0s(),o.j41(418,"span",41),o.EFF(419),o.k0s(),o.EFF(420,"\n "),o.j41(421,"span",40),o.EFF(422," constructor"),o.k0s(),o.j41(423,"span",41),o.EFF(424,"()"),o.k0s(),o.j41(425,"span",40),o.EFF(426," "),o.k0s(),o.j41(427,"span",41),o.EFF(428),o.k0s(),o.EFF(429,"\n "),o.j41(430,"span",40),o.EFF(431," setTheme"),o.k0s(),o.j41(432,"span",41),o.EFF(433,"("),o.k0s(),o.j41(434,"span",42),o.EFF(435,"'bs5'"),o.k0s(),o.j41(436,"span",41),o.EFF(437,");"),o.k0s(),o.j41(438,"span",40),o.EFF(439," "),o.k0s(),o.j41(440,"span",49),o.EFF(441,"// or 'bs4'"),o.k0s(),o.EFF(442,"\n "),o.j41(443,"span",40),o.EFF(444," "),o.j41(445,"span",40),o.EFF(446,"\u2026"),o.k0s()(),o.EFF(447,"\n "),o.j41(448,"span",40),o.EFF(449," "),o.k0s(),o.j41(450,"span",41),o.EFF(451),o.k0s(),o.EFF(452,"\n "),o.j41(453,"span",41),o.EFF(454),o.k0s()(),o.j41(455,"h3"),o.EFF(456,"How to build lib for development"),o.k0s(),o.j41(457,"p"),o.EFF(458,"First time:"),o.k0s(),o.j41(459,"pre",43),o.EFF(460," "),o.j41(461,"span",40),o.EFF(462,"git clone"),o.k0s(),o.j41(463,"span",40),o.EFF(464," https://github.com/valor-software/ngx-bootstrap.git"),o.k0s(),o.EFF(465,"\n "),o.j41(466,"span",46),o.EFF(467,"cd"),o.k0s(),o.j41(468,"span",40),o.EFF(469," ngx-bootstrap"),o.k0s(),o.EFF(470,"\n "),o.j41(471,"span",40),o.EFF(472,"npm ci"),o.k0s(),o.EFF(473,"\n "),o.j41(474,"span",40),o.EFF(475,"npm run build"),o.k0s(),o.EFF(476,"\n "),o.j41(477,"span",40),o.EFF(478,"npm start"),o.k0s()(),o.j41(479,"h2",51),o.EFF(480," Compatibility "),o.j41(481,"a",52),o.EFF(482,"#"),o.k0s()(),o.j41(483,"p"),o.EFF(484," The only two dependencies are "),o.j41(485,"a",53),o.EFF(486,"Angular"),o.k0s(),o.EFF(487," and "),o.j41(488,"a",54),o.EFF(489,"Bootstrap"),o.k0s(),o.EFF(490," CSS. "),o.k0s(),o.j41(491,"p"),o.EFF(492,"Here is the versions compatibility list:"),o.k0s(),o.j41(493,"table",55)(494,"thead")(495,"tr")(496,"th"),o.EFF(497,"ngx-bootstrap"),o.k0s(),o.j41(498,"th"),o.EFF(499,"Angular"),o.k0s(),o.j41(500,"th"),o.EFF(501,"Bootstrap CSS"),o.k0s()()(),o.j41(502,"tbody")(503,"tr")(504,"th"),o.EFF(505,"18.x.x"),o.k0s(),o.j41(506,"th"),o.EFF(507,"18.x.x"),o.k0s(),o.j41(508,"th"),o.EFF(509,"5.x.x or 4.x.x"),o.k0s()(),o.j41(510,"tr")(511,"th"),o.EFF(512,"12.x.x"),o.k0s(),o.j41(513,"th"),o.EFF(514,"17.x.x"),o.k0s(),o.j41(515,"th"),o.EFF(516,"5.x.x or 4.x.x"),o.k0s()(),o.j41(517,"tr")(518,"th"),o.EFF(519,"11.x.x"),o.k0s(),o.j41(520,"th"),o.EFF(521,"16.x.x"),o.k0s(),o.j41(522,"th"),o.EFF(523,"5.x.x or 4.x.x"),o.k0s()(),o.j41(524,"tr")(525,"th"),o.EFF(526,"10.x.x"),o.k0s(),o.j41(527,"th"),o.EFF(528,"15.x.x"),o.k0s(),o.j41(529,"th"),o.EFF(530,"5.x.x or 4.x.x"),o.k0s()(),o.j41(531,"tr")(532,"th"),o.EFF(533,"9.0.0"),o.k0s(),o.j41(534,"th"),o.EFF(535,"14.x.x"),o.k0s(),o.j41(536,"th"),o.EFF(537,"5.x.x or 4.x.x or 3.x.x"),o.k0s()(),o.j41(538,"tr")(539,"th"),o.EFF(540,"8.0.0"),o.k0s(),o.j41(541,"th"),o.EFF(542,"12.x.x - 13.x.x"),o.k0s(),o.j41(543,"th"),o.EFF(544,"5.x.x or 4.x.x or 3.x.x"),o.k0s()(),o.j41(545,"tr")(546,"th"),o.EFF(547,"7.1.0"),o.k0s(),o.j41(548,"th"),o.EFF(549,"11.x.x - 12.x.x"),o.k0s(),o.j41(550,"th"),o.EFF(551,"5.x.x or 4.x.x or 3.x.x"),o.k0s()(),o.j41(552,"tr")(553,"th"),o.EFF(554,"7.0.0"),o.k0s(),o.j41(555,"th"),o.EFF(556,"11.x.x - 12.x.x"),o.k0s(),o.j41(557,"th"),o.EFF(558,"3.x.x or 4.x.x"),o.k0s()(),o.j41(559,"tr")(560,"th"),o.EFF(561,"6.0.0"),o.k0s(),o.j41(562,"th"),o.EFF(563,"9.x.x - 10.x.x"),o.k0s(),o.j41(564,"th"),o.EFF(565,"3.x.x or 4.x.x"),o.k0s()(),o.j41(566,"tr")(567,"th"),o.EFF(568,"5.6.x"),o.k0s(),o.j41(569,"th"),o.EFF(570,"7.x.x - 9.1.0"),o.k0s(),o.j41(571,"th"),o.EFF(572,"3.x.x or 4.x.x"),o.k0s()(),o.j41(573,"tr")(574,"th"),o.EFF(575,"5.0.0 - 5.6.0"),o.k0s(),o.j41(576,"th"),o.EFF(577,"7.x.x - 8.x.x"),o.k0s(),o.j41(578,"th"),o.EFF(579,"3.x.x or 4.x.x"),o.k0s()(),o.j41(580,"tr")(581,"th"),o.EFF(582,"4.x.x"),o.k0s(),o.j41(583,"th"),o.EFF(584,"6.x.x - 7.x.x"),o.k0s(),o.j41(585,"th"),o.EFF(586,"3.x.x or 4.x.x"),o.k0s()(),o.j41(587,"tr")(588,"th"),o.EFF(589,"3.x.x"),o.k0s(),o.j41(590,"th"),o.EFF(591,"6.x.x - 7.x.x"),o.k0s(),o.j41(592,"th"),o.EFF(593,"3.x.x or 4.x.x"),o.k0s()(),o.j41(594,"tr")(595,"th"),o.EFF(596,"2.x.x"),o.k0s(),o.j41(597,"th"),o.EFF(598,"2.x.x - 4.x.x"),o.k0s(),o.j41(599,"th"),o.EFF(600,"3.x.x or 4.x.x"),o.k0s()(),o.j41(601,"tr")(602,"th"),o.EFF(603,"1.x.x"),o.k0s(),o.j41(604,"th"),o.EFF(605,"2.x.x"),o.k0s(),o.j41(606,"th"),o.EFF(607,"3.x.x or 4.x.x"),o.k0s()()()(),o.j41(608,"h2",56),o.EFF(609," Troubleshooting "),o.j41(610,"a",57),o.EFF(611,"#"),o.k0s()(),o.j41(612,"p"),o.EFF(613,"So if you are in trouble, here's where you can look for help."),o.k0s(),o.j41(614,"p"),o.EFF(615," The best place to ask questions is on "),o.j41(616,"a",58),o.EFF(617,"StackOverflow (under the ngx-bootstrap tag)"),o.k0s(),o.EFF(618," You can also join "),o.j41(619,"a",19),o.EFF(620,"our Slack channel"),o.k0s(),o.EFF(621," and link your stackoverflow question there. But try to avoid asking generic help questions directly on Slack since they can easily get lost in the chat. You can also "),o.j41(622,"a",59),o.EFF(623,"search among the existing GitHub issues"),o.k0s(),o.EFF(624,". "),o.k0s(),o.j41(625,"p"),o.EFF(626," If, "),o.j41(627,"b"),o.EFF(628,"and only if"),o.k0s(),o.EFF(629,", none of the above helped, please open a "),o.j41(630,"a",60),o.EFF(631,"new issue"),o.k0s()(),o.j41(632,"h2",61),o.EFF(633," Contribution "),o.j41(634,"a",62),o.EFF(635,"#"),o.k0s()(),o.j41(636,"p"),o.EFF(637," Are very welcome! And remember, contribution is not only PRs and code, but any help with docs or helping other developers to solve issues are very appreciated! Thanks in advance! "),o.k0s(),o.j41(638,"p"),o.EFF(639," Please read our "),o.j41(640,"a",63),o.EFF(641,"contribution guidelines"),o.k0s(),o.EFF(642,". "),o.k0s(),o.j41(643,"h3",64),o.EFF(644," Credits "),o.j41(645,"a",65),o.EFF(646,"#"),o.k0s()(),o.j41(647,"p"),o.EFF(648," Crossbrowser testing sponsored by "),o.j41(649,"a",66),o.EFF(650,"Saucelabs"),o.k0s(),o.j41(651,"a",67),o.nrm(652,"img",68),o.k0s()(),o.j41(653,"h3",69),o.EFF(654," License "),o.j41(655,"a",70),o.EFF(656,"#"),o.k0s()(),o.j41(657,"p")(658,"a",71),o.EFF(659,"MIT"),o.k0s()()()()()),2&te&&(o.R7$(118),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(13),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(48),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(14),o.SpI("(","{",""),o.R7$(26),o.SpI("","}",")"),o.R7$(151),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(14),o.SpI("(","{",""),o.R7$(4),o.SpI("","}",")"),o.R7$(15),o.JRh("{"),o.R7$(9),o.JRh("{"),o.R7$(23),o.JRh("}"),o.R7$(3),o.JRh("}"))},dependencies:[oe.Wk,lr.q],encapsulation:2})}return M})();function Ur(M,q){if(1&M&&(o.j41(0,"div",35)(1,"a",36)(2,"div",37),o.nrm(3,"img",38),o.k0s(),o.j41(4,"div",39),o.EFF(5),o.k0s()()()),2&M){const A=q.$implicit;o.R7$(),o.FS9("href",A.link,o.B4B),o.R7$(),o.AVh("overflow-hidden",A.scale),o.R7$(),o.AVh("img-scale",A.scale),o.FS9("src",A.logo,o.B4B),o.Mz_("alt","",A.name," logo"),o.R7$(2),o.JRh(A.description)}}let yr=(()=>{class M{constructor(){this.name="Native Angular widgets for Bootstrap 5 and Bootstrap 4 - Discover more",this.src="https://github.com/valor-software/ngx-bootstrap",this.companies=[{logo:"https://www.lumeer.io/wp-content/themes/lumeer/assets/img/logo-big.svg",name:"Lumeer",description:"Easy visual tool for project and team management, that covers all your needs",link:"https://www.lumeer.io/"},{logo:"https://user-images.githubusercontent.com/663563/70622944-3eb68600-1c1d-11ea-82d3-7ccbd75befe8.png",name:"Sustainablebuildings",description:"SaaS product that give users insight in their power, gas consumption and other data",link:"https://sustainablebuildings.nl"},{logo:"https://dxc.scene7.com/is/image/dxc/DellTech_1050x1050?qlt=90&wid=1800&ts=1637166138311&$square_desktop$&dpr=off",name:"Dell EMC US",description:"Data Storage, Cloud, Converged and Data Protection",link:"https://www.dellemc.com/en-us/index.htm",scale:!0},{logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Soci%C3%A9t%C3%A9_G%C3%A9n%C3%A9rale.svg/279px-Soci%C3%A9t%C3%A9_G%C3%A9n%C3%A9rale.svg.png",name:"Societe Generale Group",description:"The Bank serving 31 million clients worldwide",link:"https://www.societegenerale.com/en/home"},{logo:"http://www.azerothcore.org/images/logo.png",name:"AzerothCore",description:"AzerothCore, a no-profit organisation composed by volunteers who have a passion for open source",link:"http://www.azerothcore.org/"},{logo:"https://static.developerhub.io/landing/images/logo-92a931e8f4120d8a7246ea0247865ab5.svg",name:"DeveloperHub",description:"DeveloperHub.io - Hosted Documentation Portals for Product And API Docs",link:"https://developerhub.io"},{logo:"https://www.inmopc.com/img/products/acuerdos-trovimap.jpg",name:"Trovimap",description:"Trovimap - Houses / Apartments / Locals for sale or rent",link:"https://trovimap.com/"},{logo:"https://www.atmetis.nl/wp-content/uploads/2017/08/cropped-logo-atmetis-tagline-rgb1500px-1.png",name:"AtMetis",description:"Internal web-application for AtMetis - assessment company from Netherlands",link:"https://www.atmetis.nl/"},{logo:"https://www.pramati.com/wp-content/themes/twentynineteen-child/images/logo.svg",name:"Pramati Technologies Private Limited",description:"Pramati - Independent, innovative technology companies focused on\nprofitable, well-defined markets",link:"https://www.pramati.com/"},{logo:"https://res.cloudinary.com/crunchbase-production/image/upload/c_lpad,h_170,w_170,f_auto,b_white,q_auto:eco/v1484678055/ectxiezxgzm3srv2jkvh.png",name:"Employes",description:"Employes is a dutch based payroll-provider that offers a unique modern way to pay employees.\n",link:"https://app.employes.nl/"},{logo:"https://easi.net/sites/default/files/styles/gallery_image/public/2019-05/EASI-color.png",name:"EASI",description:"EASI is a cloud, security & software provider offering management applications, professional cloud & security solutions and IT infrastructure services.",link:"https://easi.net/en"}]}static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["discover"]],decls:111,vars:1,consts:[[1,"common-header"],[1,"title-box"],["href","https://getbootstrap.com/docs/5.1","target","_blank"],["href","https://getbootstrap.com/docs/4.0"],[1,"statistic-box"],["href","https://npmjs.org/ngx-bootstrap","target","_blank"],["src","https://img.shields.io/npm/v/ngx-bootstrap/latest.svg","alt","npm latest version"],["src","https://img.shields.io/npm/v/ngx-bootstrap/next.svg","alt","npm next version"],["src","https://img.shields.io/npm/dm/ngx-bootstrap.svg","alt","npm downloads"],["href","https://opencollective.com/ngx-bootstrap","target","_blank"],["src","https://opencollective.com/ngx-bootstrap/tiers/backer/badge.svg?label=backer&color=brightgreen"],[1,"d-flex","links-box"],["href","https://github.com/valor-software/ngx-bootstrap","target","_blank",1,"d-block"],[1,"arrow-link"],["href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY","target","_blank",1,"d-block"],["routerLink",".","fragment","users"],["routerLink",".","fragment","releases"],["routerLink",".","fragment","changelog"],["routerLink",".","fragment","community"],["id","users"],[1,"pln"],["href","https://github.com/valor-software/ngx-bootstrap/issues/5168","target","_blank"],["href","https://github.com/valor-software/ngx-bootstrap/network/dependents","target","_blank"],[1,"container"],[1,"row"],["class","col-xl-6 col-md-12 col-sm-12 col-xs-12 company-card",4,"ngFor","ngForOf"],["id","releases"],["target","_blank","href","#/documentation#compatibility"],["target","_blank","href","https://github.com/valor-software/ngx-bootstrap/milestones"],["id","changelog"],["target","_blank","href","https://github.com/valor-software/ngx-bootstrap/blob/development/CHANGELOG.md"],["id","community"],["target","_blank","href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY"],["target","_blank","href","https://stackoverflow.com/questions/tagged/ngx-bootstrap"],["href","https://twitter.com/valorkin","target","_blank"],[1,"col-xl-6","col-md-12","col-sm-12","col-xs-12","company-card"],["target","_blank",1,"company-info-wrapper","overflow-hidden",3,"href"],[1,"logo-name"],[3,"src","alt"],[1,"company-description"]],template:function(te,se){1&te&&(o.j41(0,"demo-section")(1,"div",0)(2,"div",1)(3,"h1"),o.EFF(4,"Welcome to ngx-bootstrap!"),o.k0s(),o.j41(5,"p"),o.EFF(6," The best way to quickly integrate "),o.j41(7,"a",2),o.EFF(8,"Bootstrap 5 "),o.k0s(),o.EFF(9," or "),o.j41(10,"a",3),o.EFF(11,"Bootstrap 4 "),o.k0s(),o.EFF(12," Components with Angular "),o.k0s(),o.j41(13,"div",4)(14,"a",5),o.nrm(15,"img",6),o.k0s(),o.j41(16,"a",5),o.nrm(17,"img",7),o.k0s(),o.nrm(18,"br"),o.j41(19,"a",5),o.nrm(20,"img",8),o.k0s(),o.j41(21,"a",9),o.nrm(22,"img",10),o.k0s()()(),o.j41(23,"div",11)(24,"a",12),o.nrm(25,"i",13),o.EFF(26,"Github link"),o.k0s(),o.j41(27,"a",14),o.nrm(28,"i",13),o.EFF(29,"Slack channel "),o.k0s()()(),o.j41(30,"h2"),o.EFF(31,"Table of contents"),o.k0s(),o.j41(32,"ol")(33,"li")(34,"a",15),o.EFF(35,"Who is using ngx-bootstrap"),o.k0s()(),o.j41(36,"li")(37,"a",16),o.EFF(38,"Versioning and Releases"),o.k0s()(),o.j41(39,"li")(40,"a",17),o.EFF(41,"Changelog"),o.k0s()(),o.j41(42,"li")(43,"a",18),o.EFF(44,"Community"),o.k0s()()(),o.j41(45,"h2",19),o.EFF(46,"Who is using "),o.j41(47,"span",20),o.EFF(48,"ngx-bootstrap"),o.k0s()(),o.j41(49,"p"),o.EFF(50," Some time ago, we've started to investigate "),o.j41(51,"a",21),o.EFF(52,"companies, which using library ngx-bootstrap"),o.k0s(),o.EFF(53," in their projects. "),o.k0s(),o.j41(54,"p"),o.EFF(55," We know, that for now, we have more than "),o.j41(56,"a",22),o.EFF(57,"60000 dependents"),o.k0s(),o.EFF(58,", but let's see who are they: "),o.k0s(),o.j41(59,"div",23)(60,"div",24),o.DNE(61,Ur,6,9,"div",25),o.k0s()(),o.nrm(62,"br"),o.j41(63,"div"),o.EFF(64," If your company also using ngx-bootstrap and you want to be in this list: just add an appropriate comment to "),o.j41(65,"a",21),o.EFF(66,"this investigation issue: 5168."),o.k0s()(),o.j41(67,"h2",26),o.EFF(68,"Versioning and Releases"),o.k0s(),o.j41(69,"div"),o.EFF(70," We make all possible to make ngx-bootstrap wide-compatible. Compatibility table you can find in the "),o.j41(71,"a",27),o.EFF(72,"documentation"),o.k0s(),o.EFF(73,". "),o.k0s(),o.j41(74,"div"),o.EFF(75," All our issues , enhancements, feature requests, which would be taken into work first you can find in the nearest "),o.j41(76,"a",28),o.EFF(77,"Milestone"),o.k0s(),o.EFF(78,". "),o.k0s(),o.j41(79,"h2",29),o.EFF(80,"Changelog"),o.k0s(),o.j41(81,"p"),o.EFF(82," All notable changes are described in the "),o.j41(83,"a",30),o.EFF(84,"CHANGELOG.md"),o.k0s(),o.EFF(85," file. "),o.k0s(),o.j41(86,"h2",31),o.EFF(87,"Community"),o.k0s(),o.j41(88,"p"),o.EFF(89," Chat with us on "),o.j41(90,"a",32),o.EFF(91,"Slack"),o.k0s(),o.EFF(92,". "),o.k0s(),o.j41(93,"p"),o.EFF(94," For help using NGX-bootstrap, ask on "),o.j41(95,"a",33),o.EFF(96,"StackOverflow"),o.k0s(),o.EFF(97," using the tag "),o.j41(98,"b"),o.EFF(99,"ngx-bootstrap"),o.k0s(),o.EFF(100,". "),o.k0s(),o.j41(101,"p"),o.EFF(102," Follow our core team member "),o.j41(103,"a",34),o.EFF(104,"@valorkin"),o.k0s(),o.EFF(105," on Twitter. "),o.k0s(),o.j41(106,"p"),o.EFF(107," If you also would like to show support or simply give back to Open Source community, please consider becoming a backer sponsor of ngx-bootstrap on "),o.j41(108,"a",9),o.EFF(109,"OpenCollective"),o.k0s(),o.EFF(110,". "),o.k0s()()),2&te&&(o.R7$(61),o.Y8G("ngForOf",se.companies))},dependencies:[y.Sq,oe.Wk,lr.q],styles:[".company-card[_ngcontent-%COMP%]{height:150px;padding:8px 0}.company-card[_ngcontent-%COMP%] .logo-name[_ngcontent-%COMP%]{padding:16px}.company-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:125px}.company-card[_ngcontent-%COMP%] img.img-scale[_ngcontent-%COMP%]{transform:scale(1.5)}.company-card[_ngcontent-%COMP%] .company-info-wrapper[_ngcontent-%COMP%]{height:100%;border:1px solid lightgray;border-radius:4px;margin:8px;display:flex;flex-direction:row;align-items:center;padding-right:8px;text-transform:none;color:inherit}"]})}return M})(),to=(()=>{class M{constructor(){this.name="Schematics of ngx-bootstrap",this.src="https://github.com/valor-software/ngx-bootstrap"}static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["schematics"]],decls:265,vars:8,consts:[["id","content",1,"content-box","d-block","pl-0","ps-0","pe-0","pr-0"],[1,"common-header"],[1,"title-box"],["href","https://getbootstrap.com/docs/5.2","target","_blank"],["href","https://getbootstrap.com/docs/4.0"],[1,"statistic-box"],["href","https://npmjs.org/ngx-bootstrap","target","_blank"],["src","https://img.shields.io/npm/v/ngx-bootstrap/latest.svg","alt","npm latest version"],["src","https://img.shields.io/npm/v/ngx-bootstrap/next.svg","alt","npm next version"],["src","https://img.shields.io/npm/dm/ngx-bootstrap.svg","alt","npm downloads"],["href","https://opencollective.com/ngx-bootstrap","target","_blank"],["src","https://opencollective.com/ngx-bootstrap/tiers/backer/badge.svg?label=backer&color=brightgreen"],[1,"d-flex","links-box"],["href","https://github.com/valor-software/ngx-bootstrap","target","_blank",1,"d-block"],[1,"arrow-link"],["href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY","target","_blank",1,"d-block"],[1,"section"],["id","getting-started"],[1,"prettyprint","lang-bash","prettyprinted"],[1,"pln"],["routerLink","/documentation","fragment","installation"],["id","installation"],["id","style_updates"],[1,"prettyprint","lang-js","prettyprinted"],[1,"kwd"],[1,"pun"],[1,"lit"],["routerLink","./","fragment","installation"],["routerLink","./","fragment","style_updates"]],template:function(te,se){1&te&&(o.j41(0,"demo-section")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h1"),o.EFF(5,"Welcome to ngx-bootstrap!"),o.k0s(),o.j41(6,"p"),o.EFF(7," The best way to quickly integrate "),o.j41(8,"a",3),o.EFF(9,"Bootstrap 5 "),o.k0s(),o.EFF(10," or "),o.j41(11,"a",4),o.EFF(12,"Bootstrap 4 "),o.k0s(),o.EFF(13," Components with Angular "),o.k0s(),o.j41(14,"div",5)(15,"a",6),o.nrm(16,"img",7),o.k0s(),o.j41(17,"a",6),o.nrm(18,"img",8),o.k0s(),o.nrm(19,"br"),o.j41(20,"a",6),o.nrm(21,"img",9),o.k0s(),o.j41(22,"a",10),o.nrm(23,"img",11),o.k0s()()(),o.j41(24,"div",12)(25,"a",13),o.nrm(26,"i",14),o.EFF(27,"Github link"),o.k0s(),o.j41(28,"a",15),o.nrm(29,"i",14),o.EFF(30,"Slack channel "),o.k0s()()(),o.j41(31,"section",16)(32,"h2",17),o.EFF(33,"Schematics"),o.k0s()(),o.j41(34,"section",16)(35,"p"),o.EFF(36," The ngx-bootstrap library contains Angular Cli Schematics to allow easier installation. You can add ngx-bootstrap with one simple command. "),o.k0s(),o.j41(37,"pre",18)(38,"span",19),o.EFF(39,"ng add ngx-bootstrap"),o.k0s()(),o.j41(40,"p"),o.EFF(41," Alternative installation methods can be found "),o.j41(42,"a",20),o.EFF(43,"there"),o.k0s()(),o.j41(44,"p"),o.EFF(45,"When you install ngx-bootstrap with Angular Cli Schematics you will get such updates:"),o.k0s(),o.j41(46,"ul",21)(47,"li")(48,"p")(49,"code"),o.EFF(50,"package.json"),o.k0s()(),o.j41(51,"p"),o.EFF(52," List of dependencies will be updated with 2 new packages "),o.j41(53,"code"),o.EFF(54,'"bootstrap": "^5.2.3"'),o.k0s(),o.EFF(55,", "),o.j41(56,"code"),o.EFF(57,'"ngx-bootstrap": "10.x.x"'),o.k0s(),o.EFF(58,". After packages will be installed and node_modules folder will be updated also. "),o.k0s()(),o.j41(59,"li",22)(60,"p"),o.EFF(61," Depending on which style extension is used in the project, schematics will add necessary imports or styles links. It, as expected, allows the use SCSS or CSS extensions. "),o.k0s(),o.j41(62,"p"),o.EFF(63,"In case CSS extension - "),o.j41(64,"code"),o.EFF(65,"angular.json"),o.k0s(),o.EFF(66," file will be updated."),o.k0s(),o.j41(67,"pre",23)(68,"span",24),o.EFF(69,'"styles"'),o.k0s(),o.j41(70,"span",25),o.EFF(71,": ["),o.k0s(),o.EFF(72,'\n "'),o.j41(73,"span",26),o.EFF(74,"./node_modules/bootstrap/dist/css/bootstrap.min.css"),o.k0s(),o.EFF(75,'",\n "'),o.j41(76,"span",26),o.EFF(77,"./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css"),o.k0s(),o.EFF(78,'",\n '),o.j41(79,"span",19),o.EFF(80," \u2026"),o.k0s(),o.EFF(81,"\n"),o.j41(82,"span",25),o.EFF(83,"]"),o.k0s(),o.EFF(84,"\n "),o.k0s(),o.j41(85,"p"),o.EFF(86," In case SCSS extension - for updating will be used main style file (standard ex. "),o.j41(87,"code"),o.EFF(88,"styles.scss"),o.k0s(),o.EFF(89,"). "),o.k0s(),o.j41(90,"pre",23),o.EFF(91,"/* Importing Bootstrap SCSS file. */\n"),o.j41(92,"span",24),o.EFF(93,"@import"),o.k0s(),o.EFF(94,'"'),o.j41(95,"span",26),o.EFF(96,"~bootstrap/scss/bootstrap"),o.k0s(),o.EFF(97,'";\n/* Importing Datepicker SCSS file. */\n'),o.j41(98,"span",24),o.EFF(99,"@import"),o.k0s(),o.EFF(100,'"'),o.j41(101,"span",26),o.EFF(102,"node_modules/ngx-bootstrap/datepicker/bs-datepicker"),o.k0s(),o.EFF(103,'";\n '),o.k0s(),o.j41(104,"p"),o.EFF(105," If the project will not have any style file or project will not have style files with available extensions - project will be updated with default CSS extension (first case). "),o.k0s()(),o.j41(106,"li")(107,"p"),o.EFF(108," The project's main module (standard ex. "),o.j41(109,"code"),o.EFF(110,"app.module.ts"),o.k0s(),o.EFF(111,") will be updated with import of "),o.j41(112,"code"),o.EFF(113,"BrowserAnimationsModule"),o.k0s(),o.EFF(114,", if it has not been previously imported. "),o.k0s(),o.j41(115,"pre",23),o.EFF(116,"// added import of BrowserAnimationsModule to app.module.ts by ngx-bootstrap schematics\n"),o.j41(117,"span",24),o.EFF(118,"import "),o.k0s(),o.j41(119,"span",25),o.EFF(120),o.k0s(),o.j41(121,"span",26),o.EFF(122," BrowserAnimationsModule "),o.k0s(),o.j41(123,"span",25),o.EFF(124),o.k0s(),o.j41(125,"span",24),o.EFF(126," from "),o.k0s(),o.j41(127,"span"),o.EFF(128,"'@angular/platform-browser/animations';"),o.k0s(),o.EFF(129,"\n\n@NgModule("),o.j41(130,"span",25),o.EFF(131),o.k0s(),o.EFF(132,"\n declarations: [\n AppComponent\n ],\n "),o.j41(133,"span",24),o.EFF(134,"imports"),o.k0s(),o.EFF(135,": [\n "),o.j41(136,"span",19),o.EFF(137," \u2026"),o.k0s(),o.EFF(138,"\n "),o.j41(139,"span",26),o.EFF(140,"BrowserAnimationsModule"),o.k0s(),o.EFF(141,",\n ],\n providers: [],\n bootstrap: [AppComponent]\n "),o.j41(142,"span",25),o.EFF(143),o.k0s(),o.EFF(144,")\n "),o.k0s()()()(),o.j41(145,"section",16)(146,"p"),o.EFF(147," ngx-bootstrap's "),o.j41(148,"code"),o.EFF(149,"ng add"),o.k0s(),o.EFF(150," schematic allows the easy installation. Additionally specific modules can be installed directly to a module with the following flag. "),o.k0s(),o.j41(151,"pre",18)(152,"span",19),o.EFF(153,"ng add ngx-bootstrap --component accordion"),o.k0s()(),o.j41(154,"p"),o.EFF(155,"Property "),o.j41(156,"code"),o.EFF(157,"component"),o.k0s(),o.EFF(158," accepts name of component which should be added into project."),o.k0s(),o.j41(159,"ul")(160,"li")(161,"p"),o.EFF(162," If ngx-bootstrap has been installed previously, in this case will be updated only project's main file (standard ex. "),o.j41(163,"code"),o.EFF(164,"app.module.ts"),o.k0s(),o.EFF(165,") "),o.k0s(),o.j41(166,"pre",23),o.EFF(167,"// added import of AccordionModule to app.module.ts by ngx-bootstrap schematics\n"),o.j41(168,"span",24),o.EFF(169,"import "),o.k0s(),o.j41(170,"span",25),o.EFF(171),o.k0s(),o.j41(172,"span",26),o.EFF(173," AccordionModule "),o.k0s(),o.j41(174,"span",25),o.EFF(175),o.k0s(),o.j41(176,"span",24),o.EFF(177," from "),o.k0s(),o.j41(178,"span"),o.EFF(179,"'ngx-bootstrap/accordion';"),o.k0s(),o.EFF(180,"\n\n@NgModule("),o.j41(181,"span",25),o.EFF(182),o.k0s(),o.EFF(183,"\n declarations: [\n AppComponent\n ],\n "),o.j41(184,"span",24),o.EFF(185,"imports"),o.k0s(),o.EFF(186,": [\n "),o.j41(187,"span",19),o.EFF(188," \u2026"),o.k0s(),o.EFF(189,"\n "),o.j41(190,"span",26),o.EFF(191,"AccordionModule"),o.k0s(),o.EFF(192,",\n ],\n bootstrap: [AppComponent]\n "),o.j41(193,"span",25),o.EFF(194),o.k0s(),o.EFF(195,")\n "),o.k0s()(),o.j41(196,"li"),o.EFF(197," If library hasn't been installed before updates will include changes from "),o.j41(198,"a",27),o.EFF(199,"Installation"),o.k0s(),o.EFF(200," also. "),o.j41(201,"p"),o.EFF(202,"All available values for property "),o.j41(203,"code"),o.EFF(204,"component"),o.k0s(),o.EFF(205," are:"),o.k0s(),o.j41(206,"ul")(207,"li"),o.EFF(208,"accordion"),o.k0s(),o.j41(209,"li"),o.EFF(210,"alerts"),o.k0s(),o.j41(211,"li"),o.EFF(212,"buttons"),o.k0s(),o.j41(213,"li"),o.EFF(214,"carousel"),o.k0s(),o.j41(215,"li"),o.EFF(216,"collapse"),o.k0s(),o.j41(217,"li"),o.EFF(218,"datepicker"),o.k0s(),o.j41(219,"li"),o.EFF(220,"dropdowns"),o.k0s(),o.j41(221,"li"),o.EFF(222,"modals"),o.k0s(),o.j41(223,"li"),o.EFF(224,"pagination"),o.k0s(),o.j41(225,"li"),o.EFF(226,"popover"),o.k0s(),o.j41(227,"li"),o.EFF(228,"progressbar"),o.k0s(),o.j41(229,"li"),o.EFF(230,"rating"),o.k0s(),o.j41(231,"li"),o.EFF(232,"sortable"),o.k0s(),o.j41(233,"li"),o.EFF(234,"tabs"),o.k0s(),o.j41(235,"li"),o.EFF(236,"timepicker"),o.k0s(),o.j41(237,"li"),o.EFF(238,"tooltip"),o.k0s(),o.j41(239,"li"),o.EFF(240,"typeahead"),o.k0s()()()(),o.j41(241,"p")(242,"strong"),o.EFF(243,"Note:"),o.k0s(),o.EFF(244," Styles for datepicker will be added only if you add all library or use property "),o.j41(245,"code"),o.EFF(246,"component"),o.k0s(),o.EFF(247," with datepicker "),o.k0s(),o.j41(248,"p"),o.EFF(249,"More information for each of the components you can find in "),o.j41(250,"strong"),o.EFF(251,"Components"),o.k0s(),o.EFF(252,"."),o.k0s(),o.j41(253,"p"),o.EFF(254," One more property which can be used with ngx-bootstrap schematics is "),o.j41(255,"code"),o.EFF(256,"stylesExtension"),o.k0s(),o.EFF(257,". This property accepts preferred style extension and update project regarding "),o.j41(258,"a",28),o.EFF(259,"these use cases"),o.k0s()(),o.j41(260,"p"),o.EFF(261,"For more information ngx-bootstrap's schematics you can always use the help command"),o.k0s(),o.j41(262,"pre",18)(263,"span",19),o.EFF(264,"ng add ngx-bootstrap --help"),o.k0s()()()()()),2&te&&(o.R7$(120),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(7),o.JRh("{"),o.R7$(12),o.JRh("}"),o.R7$(28),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(7),o.JRh("{"),o.R7$(12),o.JRh("}"))},dependencies:[oe.Wk,lr.q],encapsulation:2})}return M})();D(2293);var po=D(63972),At=D(62551),$r=D(87516);function ro(M,q){if(1&M&&(o.j41(0,"p"),o.EFF(1),o.k0s()),2&M){const A=o.XpG().$implicit;o.R7$(),o.SpI(" ",A.data[0]," ")}}function L(M,q){if(1&M&&(o.j41(0,"div",4),o.DNE(1,ro,2,1,"p",5),o.k0s()),2&M){const A=q.$implicit;o.Y8G("routerLink","/components/"+A.path),o.R7$(),o.Y8G("ngIf",A.data)}}function J(M,q){if(1&M&&o.nrm(0,"img",11),2&M){const A=o.XpG().$implicit;o.Y8G("src","assets/images/components-page/"+A.data[0].toLowerCase()+".png",o.B4B)}}function ee(M,q){if(1&M&&(o.j41(0,"p"),o.EFF(1),o.k0s()),2&M){const A=o.XpG().$implicit;o.R7$(),o.JRh(A.data[0])}}function De(M,q){if(1&M&&(o.j41(0,"div",6)(1,"div",7)(2,"div",8),o.DNE(3,J,1,1,"img",9),o.k0s(),o.j41(4,"div",10),o.DNE(5,ee,2,1,"p",5),o.k0s()()()),2&M){const A=q.$implicit;o.R7$(),o.Y8G("routerLink","/components/"+A.path),o.R7$(2),o.Y8G("ngIf",A.data),o.R7$(2),o.Y8G("ngIf",A.data)}}let Pe=(()=>{class M{constructor(A){this.componentsArray=A.find(te=>"components"===te.path)?.children?.filter(te=>te.path)}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(po.t))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["components"]],decls:7,vars:2,consts:[[1,"pills-box"],["class","pills-item",3,"routerLink",4,"ngFor","ngForOf"],[1,"components-box"],["class","components-item col-xxl-3 col-xl-3 col-lg-4 col-sm-6 col-12",4,"ngFor","ngForOf"],[1,"pills-item",3,"routerLink"],[4,"ngIf"],[1,"components-item","col-xxl-3","col-xl-3","col-lg-4","col-sm-6","col-12"],[1,"components-item-container",3,"routerLink"],[1,"components-img-box","w-100"],["class","w-100","alt","",3,"src",4,"ngIf"],[1,"components-text-box","d-flex","align-items-center","w-100"],["alt","",1,"w-100",3,"src"]],template:function(te,se){1&te&&(o.j41(0,"demo-section")(1,"h1"),o.EFF(2," All Components "),o.k0s(),o.j41(3,"div",0),o.DNE(4,L,2,2,"div",1),o.k0s(),o.j41(5,"div",2),o.DNE(6,De,6,3,"div",3),o.k0s()()),2&te&&(o.R7$(4),o.Y8G("ngForOf",se.componentsArray),o.R7$(2),o.Y8G("ngForOf",se.componentsArray))},dependencies:[y.Sq,y.bT,oe.Wk,lr.q],encapsulation:2})}return M})(),Ge=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275mod=o.$C({type:M});static#n=this.\u0275inj=o.G2t({imports:[y.MD,x,ar,ci,Z.j,h.zE,oe.iI,ar,ci]})}return M})()},18357:(We,de,D)=>{D.d(de,{C:()=>Z});var y=D(54438),h=D(8681);let Z=(()=>{class o{static#e=this.\u0275fac=function(oe){return new(oe||o)};static#t=this.\u0275cmp=y.VBU({type:o,selectors:[["app-footer"]],decls:24,vars:0,consts:[[1,"container-width","m-auto","d-flex","justify-content-between","align-items-center"],[1,"footer-logo"],["routerLink","['']"],["alt","ngx-bootstrap","src","assets/images/logos/ngx-bootstrap-logo-red.svg"],[1,"footer-text","text-center"],["href","https://github.com/valor-software/ngx-bootstrap/blob/development/LICENSE","target","_blank","rel","noopener",1,"text-white",2,"font-weight","500"],["href","https://creativecommons.org/licenses/by/3.0/","target","_blank","rel","noopener",1,"text-white",2,"font-weight","500"],[1,"footer-social","col-xl-2","d-flex","justify-content-between"],["href","https://www.instagram.com/valor.software/","target","_blank",1,"img-holder"],["src","assets/images/icons/icon-inst.svg","alt","instagram icon"],["href","https://dribbble.com/valor-labs","target","_blank",1,"img-holder"],["src","assets/images/icons/icon-dribble.svg","alt","dribble icon"],["href","https://twitter.com/ValorSoft","target","_blank",1,"img-holder"],["src","assets/images/icons/icon-twiter.svg","alt","twiter icon"],["href","https://www.facebook.com/valorsoftware","target","_blank",1,"img-holder"],["src","assets/images/icons/icon-facebook.svg","alt","facebook icon"]],template:function(oe,ue){1&oe&&(y.j41(0,"footer")(1,"div",0)(2,"div",1)(3,"a",2),y.nrm(4,"img",3),y.k0s()(),y.j41(5,"div",4)(6,"p"),y.EFF(7,"\xa9 Designed and built by the ng-team at Valor Software with the help of our contributors."),y.k0s(),y.j41(8,"p"),y.EFF(9,"Code licensed under "),y.j41(10,"a",5),y.EFF(11,"MIT license conditions"),y.k0s(),y.EFF(12,", "),y.j41(13,"a",6),y.EFF(14," docs CC BY 3.0"),y.k0s()()(),y.j41(15,"div",7)(16,"a",8),y.nrm(17,"img",9),y.k0s(),y.j41(18,"a",10),y.nrm(19,"img",11),y.k0s(),y.j41(20,"a",12),y.nrm(21,"img",13),y.k0s(),y.j41(22,"a",14),y.nrm(23,"img",15),y.k0s()()()())},dependencies:[h.Wk],encapsulation:2})}return o})()},65646:(We,de,D)=>{D.d(de,{i:()=>Y});var y=D(54438),h=D(63972),Z=D(60177),o=D(8681);let Q=(()=>{class B{transform(V,ge){if(!ge)return V;const Oe=[];return V.forEach(function(rt){!rt.children?.length&&-1!==rt.data?.[0]?.toLowerCase().indexOf(ge.toLowerCase())&&Oe.push(rt),rt.children?.length&&rt.children.forEach(gt=>{-1!==gt.data?.[0]?.toLowerCase().indexOf(ge.toLowerCase())&&Oe.push(gt)})}),Oe}static#e=this.\u0275fac=function(ge){return new(ge||B)};static#t=this.\u0275pipe=y.EJ8({name:"SearchFilter",type:B,pure:!0})}return B})();const H=()=>["active"],oe=()=>({exact:!0});function ue(B,ce){if(1&B){const V=y.RV6();y.j41(0,"li",7),y.bIt("click",function(){y.eBV(V);const _e=y.XpG(3);return y.Njj(_e.search.text="")}),y.j41(1,"a",8),y.EFF(2),y.k0s()()}if(2&B){const V=y.XpG().$implicit,ge=y.XpG(2);y.Y8G("routerLinkActive",y.lJ4(4,H))("routerLinkActiveOptions",y.lJ4(5,oe)),y.R7$(),y.Y8G("routerLink",ge.getRouteLink(V.path)),y.R7$(),y.JRh(V.data[0])}}function ie(B,ce){if(1&B&&(y.qex(0),y.DNE(1,ue,3,6,"li",6),y.bVm()),2&B){const V=ce.$implicit;y.R7$(),y.Y8G("ngIf",V.path)}}function le(B,ce){if(1&B&&(y.j41(0,"ul",4),y.DNE(1,ie,2,1,"ng-container",5),y.nI1(2,"slice"),y.nI1(3,"SearchFilter"),y.k0s()),2&B){const V=y.XpG();y.R7$(),y.Y8G("ngForOf",y.i5U(3,4,y.i5U(2,1,V.routes,4),V.search.text))}}let Y=(()=>{class B{constructor(){this.showInput=!0,this.isShown=!1,this.routes=(0,y.WQX)(h.t).filter(V=>"**"!==V.path),this.search={text:""}}preventReloading(V){(13===V.keyCode||"Enter"===V.key)&&V.preventDefault()}getRouteLink(V){return this.routes.find(_e=>_e.path===V)?`/${V}`:`/components/${V}`}static#e=this.\u0275fac=function(ge){return new(ge||B)};static#t=this.\u0275cmp=y.VBU({type:B,selectors:[["search-input"]],inputs:{showInput:"showInput"},decls:5,vars:4,consts:[["searchInput",""],[1,"input-container"],["type","text","aria-label","Search in docs","name","search","placeholder","Search...",3,"keyup","keypress","value"],["class","sidebar-list menu","data-cypress","search-result",4,"ngIf"],["data-cypress","search-result",1,"sidebar-list","menu"],[4,"ngFor","ngForOf"],["class","w-100",3,"routerLinkActive","routerLinkActiveOptions","click",4,"ngIf"],[1,"w-100",3,"click","routerLinkActive","routerLinkActiveOptions"],[1,"text-white","d-block","w-100",3,"routerLink"]],template:function(ge,_e){if(1&ge){const Oe=y.RV6();y.j41(0,"form")(1,"div",1)(2,"input",2,0),y.bIt("keyup",function(){y.eBV(Oe);const gt=y.sdS(3);return y.Njj(_e.search.text=gt.value)})("keypress",function(gt){return y.eBV(Oe),y.Njj(_e.preventReloading(gt))}),y.k0s()()(),y.DNE(4,le,4,7,"ul",3)}2&ge&&(y.R7$(),y.AVh("hideInput",!_e.showInput),y.R7$(),y.Y8G("value",_e.search.text),y.R7$(2),y.Y8G("ngIf",_e.search.text&&_e.routes.length))},dependencies:[Z.Sq,Z.bT,o.Wk,o.wQ,Z.P9,Q],encapsulation:2})}return B})()},372:(We,de,D)=>{D.d(de,{k:()=>dn});var y=D(8681),h=D(54438),Z=D(39555),o=D(63972),Q=D(62551),H=D(87516);function ue(Ce,U,x){if(Ce&&x[Ce]){const $=x[Ce],re={title:U.data?.[0],path:U.data?.[1]?.parentRoute?`/${U.data?.[1]?.parentRoute}/${U.path}`:U.path,isOpened:!1,fragments:"components"===Ce?[{title:"Overview",path:"overview",isOpened:!1},{title:"API",path:"api",isOpened:!1},{title:"Examples",path:"examples",isOpened:!1}]:[]},Me=H.a[Ce];Me&&!Me.nestedRoutes.filter(we=>we.title===re.title).length&&$.nestedRoutes.push(re)}}var le=D(89079);let Y=(()=>{class Ce{constructor(){this.onThemeUpdate=new h.bkB}static#e=this.storageKey="bs-theme-storage-current";storeTheme(x){try{window.localStorage[Ce.storageKey]=x}catch{return null}this.onThemeUpdate.emit(x)}getStoredTheme(){try{return window.localStorage[Ce.storageKey]||null}catch{return null}}clearStorage(){try{return void window.localStorage.removeItem(Ce.storageKey)}catch{return null}}static#t=this.\u0275fac=function($){return new($||Ce)};static#n=this.\u0275prov=h.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"platform"})}return Ce})(),B=(()=>{class Ce{setStyle(x,$){const re=function ce(Ce){return V(Ce)||function ge(Ce){const U=document.createElement("link");if(U.setAttribute("rel","stylesheet"),U.classList.add(_e(Ce)),document.head)return document.head.appendChild(U),U}(Ce)}(x);re&&re.setAttribute("href",$)}removeStyle(x){const $=V(x);!$||!document.head||document.head.removeChild($)}static#e=this.\u0275fac=function($){return new($||Ce)};static#t=this.\u0275prov=h.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"platform"})}return Ce})();function V(Ce){return document.head?document.head.querySelector(`link[rel="stylesheet"].${_e(Ce)}`):null}function _e(Ce){return`style-manager-${Ce}`}var Oe=D(60177),rt=D(65646);const gt=()=>["active"],kt=()=>({exact:!0}),Le=Ce=>[Ce],ke=Ce=>({tab:Ce});function Je(Ce,U){if(1&Ce&&(h.j41(0,"span",10),h.EFF(1),h.k0s()),2&Ce){let x;const $=h.XpG().$implicit,re=h.XpG(3);h.AVh("hideText",!re.menuIsOpened)("m-0",!re.menuIsOpened),h.R7$(),h.SpI(" ",null==(x=re.getRouteStructureKey($))?null:x.title," ")}}function je(Ce,U){if(1&Ce&&(h.j41(0,"a",21),h.EFF(1),h.k0s()),2&Ce){let x;const $=h.XpG().$implicit,re=h.XpG(3);h.AVh("hideText",!re.menuIsOpened)("m-0",!re.menuIsOpened),h.R7$(),h.SpI(" ",null==(x=re.getRouteStructureKey($))?null:x.title," ")}}function $e(Ce,U){if(1&Ce){const x=h.RV6();h.j41(0,"li",17),h.bIt("click",function(re){const Me=h.eBV(x).$implicit,we=h.XpG(3);return we.toggleSideBar(!0),h.Njj(we.toggleMenuItem(re,Me))}),h.j41(1,"div",18),h.nrm(2,"img",19),h.DNE(3,Je,2,5,"span",20)(4,je,2,5,"ng-template",null,0,h.C5r),h.k0s()()}if(2&Ce){let x,$,re,Me;const we=U.$implicit,it=h.sdS(5),mt=h.XpG(3);h.AVh("active",null==(x=mt.getRouteStructureKey(we))?null:x.isOpened)("icon",(null==($=mt.getRouteStructureKey(we))||null==$.nestedRoutes?null:$.nestedRoutes.length)&&mt.menuIsOpened),h.R7$(2),h.Y8G("src",null==(re=mt.getRouteStructureKey(we))?null:re.icon,h.B4B),h.R7$(),h.Y8G("ngIf",!(null!=(Me=mt.getRouteStructureKey(we))&&Me.path))("ngIfElse",it)}}function et(Ce,U){if(1&Ce){const x=h.RV6();h.j41(0,"div",30)(1,"a",31),h.bIt("click",function(){h.eBV(x);const re=h.XpG(6);return h.Njj(re.closeAdaptiveMenu())}),h.EFF(2),h.k0s()()}if(2&Ce){const x=U.$implicit,$=h.XpG(2).$implicit;h.AVh("active",x.isOpened),h.R7$(),h.Y8G("routerLink",h.eq3(5,Le,$.path))("queryParams",h.eq3(7,ke,x.path)),h.R7$(),h.JRh(x.title)}}function st(Ce,U){if(1&Ce&&(h.j41(0,"div",28),h.DNE(1,et,3,9,"div",29),h.k0s()),2&Ce){const x=h.XpG().$implicit;h.AVh("show",x.isOpened),h.R7$(),h.Y8G("ngForOf",x.fragments)}}function zt(Ce,U){if(1&Ce){const x=h.RV6();h.j41(0,"li",24)(1,"div",25)(2,"p",26),h.bIt("click",function(){const re=h.eBV(x).$implicit,Me=h.XpG(4);return h.Njj(Me.openSemiItemMenu(re,Me.routesStructure[Me.sideBarItemIsOpened].nestedRoutes))}),h.EFF(3),h.k0s(),h.DNE(4,st,2,3,"div",27),h.k0s()()}if(2&Ce){const x=U.$implicit;h.Y8G("routerLinkActive",h.lJ4(6,gt))("routerLinkActiveOptions",h.lJ4(7,kt)),h.R7$(),h.AVh("show",x.isOpened),h.R7$(2),h.JRh(x.title),h.R7$(),h.Y8G("ngIf",x.fragments.length)}}function Ne(Ce,U){if(1&Ce&&(h.j41(0,"ul",22),h.DNE(1,zt,5,8,"li",23),h.k0s()),2&Ce){const x=h.XpG(3);h.R7$(),h.Y8G("ngForOf",x.routesStructure[x.sideBarItemIsOpened].nestedRoutes)}}function Te(Ce,U){if(1&Ce){const x=h.RV6();h.j41(0,"div",8)(1,"div",9)(2,"span",10),h.EFF(3,"Bootstrap: "),h.k0s(),h.j41(4,"div",11)(5,"button",12),h.bIt("click",function(){h.eBV(x);const re=h.XpG(2);return h.Njj(re.installTheme("bs4"))}),h.EFF(6,"4"),h.k0s(),h.j41(7,"button",12),h.bIt("click",function(){h.eBV(x);const re=h.XpG(2);return h.Njj(re.installTheme("bs5"))}),h.EFF(8,"5"),h.k0s()()(),h.j41(9,"div",13)(10,"ul",14),h.DNE(11,$e,6,7,"li",15),h.k0s(),h.DNE(12,Ne,2,1,"ul",16),h.k0s()()}if(2&Ce){const x=h.XpG(2);h.AVh("menuIsOpened",x.menuIsOpened),h.R7$(2),h.AVh("hideText",!x.menuIsOpened),h.R7$(3),h.AVh("selected",x._bsVersions.isBs4),h.R7$(2),h.AVh("selected",x._bsVersions.isBs5),h.R7$(4),h.Y8G("ngForOf",x.objectKeys(x.routesStructure)),h.R7$(),h.Y8G("ngIf",x.menuIsOpened&&x.sideBarItemIsOpened)}}function ot(Ce,U){if(1&Ce){const x=h.RV6();h.qex(0),h.j41(1,"div",2)(2,"button",3),h.bIt("click",function(){h.eBV(x);const re=h.XpG();return h.Njj(re.toggleSideBar())}),h.nrm(3,"img",4),h.k0s(),h.nrm(4,"search-input",5),h.k0s(),h.DNE(5,Te,13,10,"div",6),h.j41(6,"div",7),h.bIt("click",function(){h.eBV(x);const re=h.XpG();return h.Njj(re.toggleSideBar())}),h.k0s(),h.bVm()}if(2&Ce){const x=h.XpG();h.R7$(4),h.Y8G("showInput",!1),h.R7$(),h.Y8G("ngIf",x.routesStructure&&(null==x.routesStructure.documentation||null==x.routesStructure.documentation.nestedRoutes?null:x.routesStructure.documentation.nestedRoutes.length)),h.R7$(),h.AVh("menu-opened",x.menuIsOpened)}}let dn=(()=>{class Ce{get bsCssFile(){return"bs5"===this.currentTheme?"assets/css/bootstrap-5.2.3/css/bootstrap.min.css":"assets/css/bootstrap-4.5.3/css/bootstrap.min.css"}get _bsVersions(){return(0,Z.Bu)()}constructor(x,$,re,Me,we,it){this.activatedRoute=x,this.router=$,this.themeStorage=re,this.styleManager=Me,this.isShown=!1,this.objectKeys=Object.keys,this.menuIsOpened=!0,this.search={text:""},innerWidth<=991&&(this.menuIsOpened=!1),this.bodyElement=(0,h.WQX)(h.sFG).selectRootElement("body",!0),this.routesStructure=function oe(Ce,U){return Ce.forEach(x=>{if(x.children?.length&&x.children.forEach($=>{const re=$.data?.[1]?.sideBarParentTitle;ue(re,$,U)}),!x.children?.length){const $=x.data?.[1]?.sideBarParentTitle;ue($,x,U)}}),U}(we,it),this.initBodyClass(),this.firstMenuIniting(we),this.router.events.pipe((0,le.pQ)()).subscribe(dt=>{dt instanceof y.wF&&this.firstMenuIniting(we)});const Jt=this.activatedRoute.snapshot.queryParams._bsVersion||this.themeStorage.getStoredTheme();Jt&&this.installTheme(Jt)}get sideBarItemIsOpened(){for(const x in this.routesStructure)if(this.routesStructure[x].isOpened)return x}firstMenuIniting(x){this.resetMenuItems(),this.openMenuWithRoutePath(this.checkRoutePath(),x)}installTheme(x){(0,Z.Yl)(x),this.currentTheme=(0,Z.LQ)(),this.styleManager.setStyle("theme",this.bsCssFile),this.currentTheme&&this.themeStorage.storeTheme(this.currentTheme)}toggleSideBar(x){typeof x>"u"&&(this.menuIsOpened=!this.menuIsOpened),typeof x<"u"&&x!==this.menuIsOpened&&(this.menuIsOpened=x),this.initBodyClass()}initBodyClass(){this.menuIsOpened?this.bodyElement.classList.add("menuIsOpened"):this.bodyElement.classList.remove("menuIsOpened")}toggleMenuItem(x,$){if(x.stopPropagation(),this.routesStructure){const re=$.toLowerCase();this.resetMenuItems(),this.routesStructure[re].isOpened=!this.routesStructure[re].isOpened,this.routesStructure[re].path&&this.router.navigate([this.routesStructure[re].path])}}resetMenuItems(){for(const x in this.routesStructure)this.routesStructure[x].isOpened=!1,this.resetSemiMenu(this.routesStructure[x].nestedRoutes)}openSemiItemMenu(x,$){this.resetSemiMenu($),x.isOpened=!0,x.path&&(this.router.navigate([x.path]),this.closeAdaptiveMenu())}closeAdaptiveMenu(){innerWidth<=991&&(this.menuIsOpened=!1,this.toggleSideBar(!1))}resetSemiMenu(x){x.forEach($=>{$.isOpened=!1})}checkRoutePath(){const x=this.router.parseUrl(this.router.url).root?.children?.primary?.segments,$=new Set;return x?.map(re=>{$.add(re.path)}),[...$]}openMenuWithRoutePath(x,$){if(!this.routesStructure)return;if(x.length>1)return void this.openMenuWithRoute(`/${x[0]}/${x[1]}`,x[0]);const re=$.filter(we=>we.path===x[0]);re?.length&&(re[0].data?.[1]?.sideBarParentTitle||re[0].children?.length)&&this.openMenuWithRoute(x[0],re[0].children?.length?re[0].path:re[0].data?.[1]?.sideBarParentTitle)}openMenuWithRoute(x,$){if(!this.routesStructure)return;this.routesStructure[$].isOpened=!0;const re=this.routesStructure?.[$].nestedRoutes.find(Me=>Me.path===x);this.setMenuProperties(re)}setMenuProperties(x){if(!x)return;const $=this.router.parseUrl(this.router.url).queryParams;x.isOpened=!0,x.fragments.forEach(re=>{re.isOpened=re.path===$.tab})}getRouteStructureKey(x){return this.routesStructure?.[x]}static#e=this.\u0275fac=function($){return new($||Ce)(h.rXU(y.nX),h.rXU(y.Ix),h.rXU(Y),h.rXU(B),h.rXU(o.t),h.rXU(Q.E))};static#t=this.\u0275cmp=h.VBU({type:Ce,selectors:[["sidebar"]],hostVars:2,hostBindings:function($,re){2&$&&h.AVh("menuIsOpened",re.menuIsOpened)},decls:1,vars:1,consts:[["elseBlock",""],[4,"ngIf"],[1,"sidebar-search","icon","w-100"],["id","mobile-main-menu","type","button",1,"align-self-baseline",3,"click"],["src","assets/images/icons/menu-left.svg","alt","left menu"],[1,"w-100",3,"showInput"],["class","mobile-menu",3,"menuIsOpened",4,"ngIf"],[1,"double-arrow","position-absolute",3,"click"],[1,"mobile-menu"],[1,"bootstrap-version","transition-option"],[1,"transition-option"],[1,"flex-nowrap","d-flex"],["type","button",1,"btn",3,"click"],[1,"sidebar-content","position-relative","w-100"],[1,"sidebar-list"],["class","sidebar-item-main ",3,"active","icon","click",4,"ngFor","ngForOf"],["class","sidebar-list scroll-list",4,"ngIf"],[1,"sidebar-item-main",3,"click"],[1,"sidebar-list-box"],["alt","sidebar icon",3,"src"],["class","transition-option",3,"hideText","m-0",4,"ngIf","ngIfElse"],["href","javascript:void(0);",1,"transition-option"],[1,"sidebar-list","scroll-list"],["class","w-100",3,"routerLinkActive","routerLinkActiveOptions",4,"ngFor","ngForOf"],[1,"w-100",3,"routerLinkActive","routerLinkActiveOptions"],[1,"sidebar-list-box","d-flex","flex-column","secondary-items"],[3,"click"],["class","sidebar-list sidebar-list-fragment",3,"show",4,"ngIf"],[1,"sidebar-list","sidebar-list-fragment"],["class","sidebar-item sidebar-item-fragment",3,"active",4,"ngFor","ngForOf"],[1,"sidebar-item","sidebar-item-fragment"],[3,"click","routerLink","queryParams"]],template:function($,re){1&$&&h.DNE(0,ot,7,4,"ng-container",1),2&$&&h.Y8G("ngIf",re.routesStructure)},dependencies:[Oe.Sq,Oe.bT,y.Wk,y.wQ,rt.i],encapsulation:2})}return Ce})()},2293:(We,de,D)=>{D.d(de,{C:()=>ce});var y=D(54438),h=D(60177),Z=D(8681),o=D(89079),Q=D(21626),H=D(18674),oe=D(91921),ue=D(91706),ie=D(65646);function le(V,ge){if(1&V&&(y.j41(0,"li",21)(1,"a",22),y.EFF(2),y.k0s()()),2&V){const _e=ge.$implicit,Oe=y.XpG(3);y.R7$(),y.Y8G("href",Oe.appUrl+(Oe.needPrefix?_e.url:_e.unprefixedUrl)+(Oe.appHash?"/"+Oe.appHash:""),y.B4B),y.R7$(),y.JRh(_e.version)}}function Y(V,ge){if(1&V&&(y.j41(0,"ul",19),y.DNE(1,le,3,2,"li",20),y.k0s()),2&V){const _e=y.XpG(2);y.R7$(),y.Y8G("ngForOf",_e.previousDocs)}}function B(V,ge){if(1&V&&(y.j41(0,"div",15)(1,"div",16),y.EFF(2),y.nrm(3,"span",17),y.k0s(),y.DNE(4,Y,2,1,"ul",18),y.k0s()),2&V){const _e=y.XpG();y.R7$(2),y.SpI(" ",_e.currentVersion?"v"+_e.currentVersion:""," ")}}let ce=(()=>{class V{constructor(_e,Oe,rt){this.http=Oe,this.router=rt,this.shadowRoutes=["/documentation","/discover","/schematics","/"],this.initBoxShadow=!1,this.isLocalhost=!1,this.needPrefix=!1,this.destroyRef=(0,y.WQX)(y.abz),this.previousDocs=[],this.isBrowser=(0,h.UE)(_e)}ngAfterViewInit(){if(!this.isBrowser)return;typeof window<"u"&&(this.isLocalhost="localhost"===location.hostname,this.needPrefix="/"!==location.pathname,this.appUrl=location.protocol+"//"+location.hostname+(this.isLocalhost?":"+location.port+"/":"/"),this.http.get("assets/json/versions.json").subscribe(rt=>{this.previousDocs=rt.sort((gt,kt)=>{const Le=Number(gt.version.split(".").join(""));return Number(kt.version.split(".").join(""))-Le})}),this.http.get("assets/json/current-version.json").subscribe(rt=>{this.currentVersion=rt.version}));const _e=rt=>{const gt=rt.routerState.snapshot.url.indexOf("#");return gt?rt.routerState.snapshot.url:rt.routerState.snapshot.url.slice(0,gt)};let Oe=_e(this.router);this.router.events.pipe((0,o.pQ)(this.destroyRef)).subscribe(rt=>{const gt=_e(this.router);this.initBoxShadow=this.shadowRoutes.includes(gt),typeof window<"u"&&(this.appHash="#/"===location.hash?"":location.hash),rt instanceof Z.wF&>!==Oe&&(Oe=gt)})}static#e=this.\u0275fac=function(Oe){return new(Oe||V)(y.rXU(y.Agw),y.rXU(Q.Qq),y.rXU(Z.Ix))};static#t=this.\u0275cmp=y.VBU({type:V,selectors:[["top-menu"]],decls:18,vars:3,consts:[["id","header",1,"header","flex-nowrap"],["data-cypress","logoAtHeader",1,"logo","col-xl-2","col-lg-3"],["routerLink","['']"],["alt","ngx-bootstrap","src","assets/images/logos/ngx-bootstrap-logo-red.svg"],[1,"sidebar-search","col-xl-8","col-lg-6","display-lg-none"],[1,"w-100","icon"],[1,"social-info","col-xl-2","col-lg-3"],["class","prev-docs","dropdown","","container","body",4,"ngIf"],["data-cypress","infoButtons"],["target","_blank","rel","noopener","href","https://stackoverflow.com/questions/tagged/ngx-bootstrap"],["src","assets/images/icons/stackoverflow.svg","alt","stackoverflow"],["target","_blank","rel","noopener","href","https://github.com/valor-software/ngx-bootstrap"],["src","assets/images/icons/icon-git.svg","alt","ngx on github"],["target","_blank","rel","noopener","href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY"],["src","assets/images/icons/icon-slack.svg","alt","ngx on slack"],["dropdown","","container","body",1,"prev-docs"],["dropdownToggle","",1,"dropdown-toggle"],[1,"caret"],["class","dropdown-menu header-dropdown","role","menu","style","margin-top: 20px;",4,"dropdownMenu"],["role","menu",1,"dropdown-menu","header-dropdown",2,"margin-top","20px"],["role","menuitem",4,"ngFor","ngForOf"],["role","menuitem"],[1,"dropdown-item",3,"href"]],template:function(Oe,rt){1&Oe&&(y.j41(0,"header",0)(1,"div",1)(2,"a",2),y.nrm(3,"img",3),y.k0s()(),y.j41(4,"div",4),y.nrm(5,"search-input",5),y.k0s(),y.j41(6,"div",6),y.DNE(7,B,5,1,"div",7),y.j41(8,"ul",8)(9,"li")(10,"a",9),y.nrm(11,"img",10),y.k0s()(),y.j41(12,"li")(13,"a",11),y.nrm(14,"img",12),y.k0s()(),y.j41(15,"li")(16,"a",13),y.nrm(17,"img",14),y.k0s()()()()()),2&Oe&&(y.AVh("box-shadow",rt.initBoxShadow),y.R7$(7),y.Y8G("ngIf",rt.previousDocs.length))},dependencies:[h.Sq,h.bT,Z.Wk,H.h,oe.U,ue.K,ie.i],encapsulation:2})}return V})()},86223:(We,de,D)=>{D.d(de,{q:()=>le});var y=D(54438),h=D(60177),Z=D(18357),o=D(8681);function Q(Y,B){if(1&Y){const ce=y.RV6();y.j41(0,"li",3),y.bIt("click",function(){const ge=y.eBV(ce).index,_e=y.XpG(2);return y.Njj(_e.navigate(ge))}),y.j41(1,"span"),y.EFF(2,"/"),y.k0s(),y.EFF(3),y.k0s()}if(2&Y){const ce=B.$implicit,V=B.index,ge=y.XpG(2);y.AVh("disabled",V===ge.routeArray.length-1),y.R7$(3),y.SpI("",ce," ")}}function H(Y,B){if(1&Y){const ce=y.RV6();y.j41(0,"div",1)(1,"ul",2)(2,"li",3),y.bIt("click",function(){y.eBV(ce);const ge=y.XpG();return y.Njj(ge.navigate())}),y.EFF(3,"Home"),y.k0s(),y.DNE(4,Q,4,3,"li",4),y.k0s()()}if(2&Y){const ce=y.XpG();y.R7$(4),y.Y8G("ngForOf",ce.routeArray)}}let oe=(()=>{class Y{constructor(ce){this.router=ce,this.routeSubscription=this.router.events.subscribe(V=>{V instanceof o.wF&&(this.routeArray=[],this.router.parseUrl(V.url).root.children.primary.segments.map(_e=>{this.routeArray?.push(_e.path)}))})}navigate(ce){if(!this.routeArray||!ce&&0!==ce)return void this.router.navigate([""]);if(++ce>=this.routeArray.length)return;const V=this.routeArray.slice(0,ce);this.router.navigate([`/${V.join("/")}`])}ngOnDestroy(){this.routeSubscription.unsubscribe()}static#e=this.\u0275fac=function(V){return new(V||Y)(y.rXU(o.Ix))};static#t=this.\u0275cmp=y.VBU({type:Y,selectors:[["bread-crumbs"]],decls:1,vars:1,consts:[["class","breadCrumbs-box",4,"ngIf"],[1,"breadCrumbs-box"],[1,"p-0","m-0"],[3,"click"],[3,"disabled","click",4,"ngFor","ngForOf"]],template:function(V,ge){1&V&&y.DNE(0,H,5,1,"div",0),2&V&&y.Y8G("ngIf",ge.routeArray&&ge.routeArray.length&&ge.routeArray.length>1)},dependencies:[h.Sq,h.bT],encapsulation:2})}return Y})();const ue=["*"];function ie(Y,B){if(1&Y&&(y.j41(0,"h1"),y.EFF(1),y.j41(2,"a",10),y.nrm(3,"img",11),y.k0s()()),2&Y){const ce=y.XpG();y.R7$(),y.SpI("",ce.name," "),y.R7$(),y.Y8G("href",ce.src,y.B4B)}}let le=(()=>{class Y{static#e=this.\u0275fac=function(V){return new(V||Y)};static#t=this.\u0275cmp=y.VBU({type:Y,selectors:[["demo-section"]],inputs:{name:"name",src:"src",html:"html",ts:"ts",componentContent:"componentContent"},ngContentSelectors:ue,decls:12,vars:1,consts:[[1,"main"],[1,"main-container","transition-option"],[1,"content-box"],[1,"content","w-100"],[1,"content-header"],[4,"ngIf"],["id","content"],["id","example",1,"section"],[1,"item"],[1,"w-full","transition-option"],["target","_blank","rel","noopener",3,"href"],["src","assets/images/link-doc.png","alt","component on github"]],template:function(V,ge){1&V&&(y.NAR(),y.j41(0,"main",0)(1,"section",1),y.nrm(2,"bread-crumbs"),y.j41(3,"div",2)(4,"div",3)(5,"div",4),y.DNE(6,ie,4,2,"h1",5),y.k0s(),y.j41(7,"div",6)(8,"div",7)(9,"div",8),y.SdG(10),y.k0s()()()()()(),y.nrm(11,"app-footer",9),y.k0s()),2&V&&(y.R7$(6),y.Y8G("ngIf",ge.name||ge.src))},dependencies:[h.bT,Z.C,oe],encapsulation:2})}return Y})()},27e3:(We,de,D)=>{D.d(de,{F:()=>h});var y=D(54438);let h=(()=>{class Z{static#e=this.\u0275fac=function(H){return new(H||Z)};static#t=this.\u0275prov=y.jDH({token:Z,factory:Z.\u0275fac,providedIn:"platform"})}return Z})()},87516:(We,de,D)=>{D.d(de,{a:()=>y});const y={documentation:{nestedRoutes:[],isOpened:!1,title:"DOCUMENTATION",icon:"assets/images/icons/icon-folder.svg",path:"documentation"},components:{nestedRoutes:[],isOpened:!1,title:"COMPONENTS",icon:"assets/images/icons/icon-components.svg",path:"components"}}},63972:(We,de,D)=>{D.d(de,{t:()=>h});const h=new(D(54438).nKC)("root routes")},62551:(We,de,D)=>{D.d(de,{E:()=>h});const h=new(D(54438).nKC)("structured route data for sidebar")},36941:(We,de,D)=>{D.d(de,{Li:()=>oe});var y=D(54438),h=D(39555);class Z{constructor(ie,le,Y){this.nodes=ie,this.viewRef=le,this.componentRef=Y}}class o{constructor(ie,le,Y,B,ce,V,ge,_e,Oe){this._viewContainerRef=ie,this._renderer=le,this._elementRef=Y,this._injector=B,this._componentFactoryResolver=ce,this._ngZone=V,this._applicationRef=ge,this._posService=_e,this._document=Oe,this.onBeforeShow=new y.bkB,this.onShown=new y.bkB,this.onBeforeHide=new y.bkB,this.onHidden=new y.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(ie){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(ie),this}to(ie){return this.container=ie||this.container,this}position(ie){return ie?(this.attachment=ie.attachment||this.attachment,this._elementRef=ie.target||this._elementRef,this):this}provide(ie){return this._providers.push(ie),this}show(ie={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(ie.content,ie.context,ie.initialState);const le=y.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(le,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,ie),this.container instanceof y.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const Y=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!Y)return;Y.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(ie.id?{id:ie.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(ie){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const le=this._componentRef.location.nativeElement;return le.parentNode?.removeChild(le),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._componentRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(ie?{id:ie}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(ie){this.triggers=ie.triggers||this.triggers,this._listenOpts.outsideClick=ie.outsideClick,this._listenOpts.outsideEsc=ie.outsideEsc,ie.target=ie.target||this._elementRef?.nativeElement;const le=this._listenOpts.hide=()=>ie.hide?ie.hide():void this.hide(),Y=this._listenOpts.show=ce=>{ie.show?ie.show(ce):this.show(ce),ce()};return this._renderer&&(this._unregisterListenersFn=(0,h.GL)(this._renderer,{target:ie.target,triggers:ie.triggers,show:Y,hide:le,toggle:ce=>{this.isShown?le():Y(ce)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(ie,le){return ie&&le&&(this._inlineViewRef=ie.createEmbeddedView(le)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let ie=Function.prototype,le=Function.prototype;if(this._listenOpts.outsideClick){const Y=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(ie=(0,h.Xt)(this._renderer,{targets:[Y,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(le=(0,h.Fv)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})),this._globalListener=()=>{ie(),le()}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(ie,le,Y){if(!ie)return new Z([]);if(ie instanceof y.C4Q){if(this._viewContainerRef){const V=this._viewContainerRef.createEmbeddedView(ie,le);return V.markForCheck(),new Z([V.rootNodes],V)}const ce=ie.createEmbeddedView({});return this._applicationRef.attachView(ce),new Z([ce.rootNodes],ce)}if("function"==typeof ie){const ce=this._componentFactoryResolver.resolveComponentFactory(ie),V=y.zZn.create({providers:this._providers,parent:this._injector}),ge=ce.create(V);return Object.assign(ge.instance,Y),this._applicationRef.attachView(ge.hostView),new Z([[ge.location.nativeElement]],ge.hostView,ge)}const B=this._renderer?[this._renderer.createText(`${ie}`)]:[];return new Z([B])}}var Q=D(35990),H=D(60177);let oe=(()=>{class ue{constructor(le,Y,B,ce,V,ge){this._componentFactoryResolver=le,this._ngZone=Y,this._injector=B,this._posService=ce,this._applicationRef=V,this._document=ge}createLoader(le,Y,B){return new o(Y,B,le,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#e=this.\u0275fac=function(Y){return new(Y||ue)(y.KVO(y.OM3),y.KVO(y.SKi),y.KVO(y.zZn),y.KVO(Q.DF),y.KVO(y.o8S),y.KVO(H.qQ))};static#t=this.\u0275prov=y.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})()},65806:(We,de,D)=>{D.d(de,{l:()=>ue});var y=D(29562),h=D(58761),Z=D(60177),o=D(54438),Q=D(49969);const H=["*"],oe=ie=>({dropdown:ie});let ue=(()=>{class ie{get direction(){return this._state.direction}constructor(Y,B,ce,V,ge){this._state=Y,this.cd=B,this._renderer=ce,this._element=V,this.isOpen=!1,this._factoryDropDownAnimation=ge.build(h.a),this._subscription=Y.isOpenChange.subscribe(_e=>{this.isOpen=_e;const Oe=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),Oe&&(this._renderer.addClass(Oe,"show"),(Oe.classList.contains("dropdown-menu-right")||Oe.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(Oe,"left","auto"),this._renderer.setStyle(Oe,"right","0")),"up"===this.direction&&(this._renderer.setStyle(Oe,"top","auto"),this._renderer.setStyle(Oe,"transform","translateY(-101%)"))),Oe&&this._state.isAnimated&&this._factoryDropDownAnimation.create(Oe).play(),this.cd.markForCheck(),this.cd.detectChanges()})}_contains(Y){return this._element.nativeElement.contains(Y)}ngOnDestroy(){this._subscription.unsubscribe()}static#e=this.\u0275fac=function(B){return new(B||ie)(o.rXU(y.g),o.rXU(o.gRc),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(Q.S6))};static#t=this.\u0275cmp=o.VBU({type:ie,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],standalone:!0,features:[o.Jv_([y.g]),o.aNF],ngContentSelectors:H,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(B,ce){1&B&&(o.NAR(),o.j41(0,"div",0),o.SdG(1),o.k0s()),2&B&&(o.AVh("dropup","up"===ce.direction)("show",ce.isOpen)("open",ce.isOpen),o.Y8G("ngClass",o.eq3(7,oe,"down"===ce.direction)))},dependencies:[Z.YU],encapsulation:2,changeDetection:0})}return ie})()},18674:(We,de,D)=>{D.d(de,{h:()=>Z});var y=D(54438),h=D(29562);let Z=(()=>{class o{constructor(H,oe,ue){H.resolveDropdownMenu({templateRef:ue,viewContainer:oe})}static#e=this.\u0275fac=function(oe){return new(oe||o)(y.rXU(h.g),y.rXU(y.c1b),y.rXU(y.C4Q))};static#t=this.\u0275dir=y.FsC({type:o,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"],standalone:!0})}return o})()},91921:(We,de,D)=>{D.d(de,{U:()=>o});var y=D(91706),h=D(54438),Z=D(29562);let o=(()=>{class Q{constructor(oe,ue,ie,le,Y){this._changeDetectorRef=oe,this._dropdown=ue,this._element=ie,this._renderer=le,this._state=Y,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(B=>{this.isOpen=B,B?(this._documentClickListener=this._renderer.listen("document","click",ce=>{this._state.autoClose&&2!==ce.button&&!this._element.nativeElement.contains(ce.target)&&(!this._state.insideClick||!this._dropdown._contains(ce))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(B=>this.isDisabled=B||void 0))}onClick(oe){this._state.stopOnClickPropagation&&oe.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const oe of this._subscriptions)oe.unsubscribe()}static#e=this.\u0275fac=function(ue){return new(ue||Q)(h.rXU(h.gRc),h.rXU(y.K),h.rXU(h.aKT),h.rXU(h.sFG),h.rXU(Z.g))};static#t=this.\u0275dir=h.FsC({type:Q,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(ue,ie){1&ue&&h.bIt("click",function(Y){return ie.onClick(Y)}),2&ue&&h.BMQ("aria-haspopup",!0)("disabled",ie.isDisabled)("aria-expanded",ie.isOpen)},exportAs:["bs-dropdown-toggle"],standalone:!0})}return Q})()},27593:(We,de,D)=>{D.d(de,{T:()=>h});var y=D(54438);let h=(()=>{class Z{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}static#e=this.\u0275fac=function(H){return new(H||Z)};static#t=this.\u0275prov=y.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},91706:(We,de,D)=>{D.d(de,{K:()=>ie});var y=D(5964),h=D(36941),Z=D(27593),o=D(65806),Q=D(29562),H=D(58761),oe=D(54438),ue=D(49969);let ie=(()=>{class le{set autoClose(B){this._state.autoClose=B}get autoClose(){return this._state.autoClose}set isAnimated(B){this._state.isAnimated=B}get isAnimated(){return this._state.isAnimated}set insideClick(B){this._state.insideClick=B}get insideClick(){return this._state.insideClick}set isDisabled(B){this._isDisabled=B,this._state.isDisabledChange.emit(B),B&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(B){B?this.show():this.hide()}get _showInline(){return!this.container}constructor(B,ce,V,ge,_e,Oe,rt){this._elementRef=B,this._renderer=ce,this._viewContainerRef=V,this._cis=ge,this._state=_e,this._config=Oe,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=rt.build(H.a),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Q.g,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(B=>this.toggle(B))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,y.p)(B=>B)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(B=>{this._dropdown.attachInline(B.viewContainer,B.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(B=>{const ce=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ce?"up":"down";const V=this.placement||(ce?"top start":"bottom start");this._dropdown.attach(o.l).to(this.container).position({attachment:V}).show({content:B.templateRef,placement:V}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(B){return this.isOpen||!B?this.hide():this.show()}_contains(B){return this._elementRef.nativeElement.contains(B.target)||this._dropdown.instance&&this._dropdown.instance._contains(B.target)}navigationClick(B){const ce=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ce)return;const V=this._elementRef.nativeElement.ownerDocument.activeElement,ge=ce.querySelectorAll(".dropdown-item");switch(B.keyCode){case 38:this._state.counts>0&&ge[--this._state.counts].focus();break;case 40:this._state.counts+1{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const B=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",B?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",B?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}static#e=this.\u0275fac=function(ce){return new(ce||le)(oe.rXU(oe.aKT),oe.rXU(oe.sFG),oe.rXU(oe.c1b),oe.rXU(h.Li),oe.rXU(Q.g),oe.rXU(Z.T),oe.rXU(ue.S6))};static#t=this.\u0275dir=oe.FsC({type:le,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(ce,V){1&ce&&oe.bIt("keydown.arrowDown",function(_e){return V.navigationClick(_e)})("keydown.arrowUp",function(_e){return V.navigationClick(_e)}),2&ce&&oe.AVh("dropup",V.dropup)("open",V.isOpen)("show",V.isOpen)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],standalone:!0,features:[oe.Jv_([Q.g,h.Li,Z.T])]})}return le})()},29562:(We,de,D)=>{D.d(de,{g:()=>h});var y=D(54438);let h=(()=>{class Z{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new y.bkB,this.isDisabledChange=new y.bkB,this.toggleClick=new y.bkB,this.counts=0,this.dropdownMenu=new Promise(Q=>{this.resolveDropdownMenu=Q})}static#e=this.\u0275fac=function(H){return new(H||Z)};static#t=this.\u0275prov=y.jDH({token:Z,factory:Z.\u0275fac,providedIn:"platform"})}return Z})()},58761:(We,de,D)=>{D.d(de,{a:()=>Z});var y=D(49969);const Z=[(0,y.iF)({height:0,overflow:"hidden"}),(0,y.i0)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,y.iF)({height:"*",overflow:"hidden"}))]},43744:(We,de,D)=>{D.d(de,{Tb:()=>o.T,zE:()=>H}),D(91706),D(91921),D(65806);var o=D(27593),Q=D(54438);let H=(()=>{class oe{static forRoot(){return{ngModule:oe,providers:[]}}static#e=this.\u0275fac=function(le){return new(le||oe)};static#t=this.\u0275mod=Q.$C({type:oe});static#n=this.\u0275inj=Q.G2t({})}return oe})()},35990:(We,de,D)=>{D.d(de,{Rz:()=>h,DF:()=>ct,ow:()=>U});var y=function(w){return w.top="top",w.bottom="bottom",w.left="left",w.right="right",w.auto="auto",w.end="right",w.start="left",w["top left"]="top left",w["top right"]="top right",w["right top"]="right top",w["right bottom"]="right bottom",w["bottom right"]="bottom right",w["bottom left"]="bottom left",w["left bottom"]="left bottom",w["left top"]="left top",w["top start"]="top left",w["top end"]="top right",w["end top"]="right top",w["end bottom"]="right bottom",w["bottom end"]="bottom right",w["bottom start"]="bottom left",w["start bottom"]="start bottom",w["start top"]="left top",w}(y||{}),h=function(w){return w.top="top",w.bottom="bottom",w.left="start",w.right="end",w.auto="auto",w.end="end",w.start="start",w["top left"]="top start",w["top right"]="top end",w["right top"]="end top",w["right bottom"]="end bottom",w["bottom right"]="bottom end",w["bottom left"]="bottom start",w["left bottom"]="start bottom",w["left top"]="start top",w["top start"]="top start",w["top end"]="top end",w["end top"]="end top",w["end bottom"]="end bottom",w["bottom end"]="bottom end",w["bottom start"]="bottom start",w["start bottom"]="start bottom",w["start top"]="start top",w}(h||{});function Z(w,S){if(1!==w.nodeType)return[];const z=w.ownerDocument.defaultView?.getComputedStyle(w,null);return S?z&&z[S]:z}function o(w){if(!w)return document.documentElement;let z,O=w?.offsetParent;for(;null===O&&w.nextElementSibling&&z!==w.nextElementSibling;)z=w.nextElementSibling,O=z.offsetParent;const me=O&&O.nodeName;return me&&"BODY"!==me&&"HTML"!==me?O&&-1!==["TH","TD","TABLE"].indexOf(O.nodeName)&&"static"===Z(O,"position")?o(O):O:z?z.ownerDocument.documentElement:document.documentElement}function H(w){return null!==w.parentNode?H(w.parentNode):w}function oe(w,S){if(!(w&&w.nodeType&&S&&S.nodeType))return document.documentElement;const O=w.compareDocumentPosition(S)&Node.DOCUMENT_POSITION_FOLLOWING,z=O?w:S,me=O?S:w,Ae=document.createRange();Ae.setStart(z,0),Ae.setEnd(me,0);const xe=Ae.commonAncestorContainer;if(w!==xe&&S!==xe||z.contains(me))return function Q(w){const{nodeName:S}=w;return"BODY"!==S&&("HTML"===S||o(w.firstElementChild)===w)}(xe)?xe:o(xe);const ze=H(w);return ze.host?oe(ze.host,S):oe(w,H(S).host)}function ue(w){if(!w||!w.parentElement)return document.documentElement;let S=w.parentElement;for(;S?.parentElement&&"none"===Z(S,"transform");)S=S.parentElement;return S||document.documentElement}function ie(w,S){const O="x"===S?"Left":"Top",z="Left"===O?"Right":"Bottom";return parseFloat(w[`border${O}Width`])+parseFloat(w[`border${z}Width`])}function le(w,S,O){return Math.max(S[`offset${w}`],S[`scroll${w}`],O[`client${w}`],O[`offset${w}`],O[`scroll${w}`],0)}function Y(w){const S=w.body,O=w.documentElement;return{height:le("Height",S,O),width:le("Width",S,O)}}function B(w){return{...w,right:(w.left||0)+w.width,bottom:(w.top||0)+w.height}}function V(w){return"number"==typeof w||"[object Number]"===Object.prototype.toString.call(w)}function ge(w){const S=w.getBoundingClientRect();if(!(S&&V(S.top)&&V(S.left)&&V(S.bottom)&&V(S.right)))return S;const O={left:S.left,top:S.top,width:S.right-S.left,height:S.bottom-S.top},z="HTML"===w.nodeName?Y(w.ownerDocument):void 0,me=z?.width||w.clientWidth||V(S.right)&&V(O.left)&&S.right-O.left||0,Ae=z?.height||w.clientHeight||V(S.bottom)&&V(O.top)&&S.bottom-O.top||0;let xe=w.offsetWidth-me,ze=w.offsetHeight-Ae;if(xe||ze){const nt=Z(w);xe-=ie(nt,"x"),ze-=ie(nt,"y"),O.width-=xe,O.height-=ze}return B(O)}function _e(w,S,O=!1){const z="HTML"===S.nodeName,me=ge(w),Ae=ge(S),xe=Z(S),ze=parseFloat(xe.borderTopWidth),nt=parseFloat(xe.borderLeftWidth);O&&z&&(Ae.top=Math.max(Ae.top??0,0),Ae.left=Math.max(Ae.left??0,0));const ut=B({top:(me.top??0)-(Ae.top??0)-ze,left:(me.left??0)-(Ae.left??0)-nt,width:me.width,height:me.height});if(ut.marginTop=0,ut.marginLeft=0,z){const Nt=parseFloat(xe.marginTop),mn=parseFloat(xe.marginLeft);V(ut.top)&&(ut.top-=ze-Nt),V(ut.bottom)&&(ut.bottom-=ze-Nt),V(ut.left)&&(ut.left-=nt-mn),V(ut.right)&&(ut.right-=nt-mn),ut.marginTop=Nt,ut.marginLeft=mn}return ut}function Oe(w){return"HTML"===w.nodeName?w:w.parentNode||w.host}function rt(w){if(!w)return document.body;switch(w.nodeName){case"HTML":case"BODY":return w.ownerDocument.body;case"#document":return w.body}const{overflow:S,overflowX:O,overflowY:z}=Z(w);return/(auto|scroll|overlay)/.test(String(S)+String(z)+String(O))?w:rt(Oe(w))}function gt(w,S="top"){const O="top"===S?"scrollTop":"scrollLeft",z=w.nodeName;return"BODY"===z||"HTML"===z?(w.ownerDocument.scrollingElement||w.ownerDocument.documentElement)[O]:w[O]}function Le(w){const S=w.nodeName;return"BODY"!==S&&"HTML"!==S&&("fixed"===Z(w,"position")||Le(Oe(w)))}function ke(w,S,O=0,z,me=!1){let Ae={top:0,left:0};const xe=me?ue(w):oe(w,S);if("viewport"===z)Ae=function kt(w,S=!1){const O=w.ownerDocument.documentElement,z=_e(w,O),me=Math.max(O.clientWidth,window.innerWidth||0),Ae=Math.max(O.clientHeight,window.innerHeight||0),xe=S?0:gt(O),ze=S?0:gt(O,"left");return B({top:xe-Number(z?.top)+Number(z?.marginTop),left:ze-Number(z?.left)+Number(z?.marginLeft),width:me,height:Ae})}(xe,me);else{let ze;"scrollParent"===z?(ze=rt(Oe(S)),"BODY"===ze.nodeName&&(ze=w.ownerDocument.documentElement)):ze="window"===z?w.ownerDocument.documentElement:z;const nt=_e(ze,xe,me);if(nt&&"HTML"===ze.nodeName&&!Le(xe)){const{height:ut,width:Nt}=Y(w.ownerDocument);V(Ae.top)&&V(nt.top)&&V(nt.marginTop)&&(Ae.top+=nt.top-nt.marginTop),V(Ae.top)&&(Ae.bottom=Number(ut)+Number(nt.top)),V(Ae.left)&&V(nt.left)&&V(nt.marginLeft)&&(Ae.left+=nt.left-nt.marginLeft),V(Ae.top)&&(Ae.right=Number(Nt)+Number(nt.left))}else nt&&(Ae=nt)}return V(Ae.left)&&(Ae.left+=O),V(Ae.top)&&(Ae.top+=O),V(Ae.right)&&(Ae.right-=O),V(Ae.bottom)&&(Ae.bottom-=O),Ae}var Je=D(39555);function je({width:w,height:S}){return w*S}function $e(w,S,O,z,me=["top","bottom","right","left"],Ae="viewport",xe=0){if(-1===w.indexOf("auto"))return w;const ze=ke(O,z,xe,Ae),nt={top:{width:ze?.width??0,height:(S?.top??0)-(ze?.top??0)},right:{width:(ze?.right??0)-(S?.right??0),height:ze?.height??0},bottom:{width:ze?.width??0,height:(ze?.bottom??0)-(S?.bottom??0)},left:{width:(S.left??0)-(ze?.left??0),height:ze?.height??0}},ut=Object.keys(nt).map(Kt=>({position:Kt,...nt[Kt],area:je(nt[Kt])})).sort((Kt,Ze)=>Ze.area-Kt.area);let Nt=ut.filter(({width:Kt,height:Ze})=>Kt>=O.clientWidth&&Ze>=O.clientHeight);Nt=Nt.filter(({position:Kt})=>me.some(Ze=>Ze===Kt));const mn=Nt.length>0?Nt[0].position:ut[0].position,ar=w.split(" ")[1];return O.className=O.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,Je.Bu)().isBs5?h[mn]:mn}`),mn+(ar?`-${ar}`:"")}const zt=(w,S=0)=>w?parseFloat(w):S;function Ne(w){const O=w.ownerDocument.defaultView?.getComputedStyle(w),z=zt(O?.marginTop)+zt(O?.marginBottom),me=zt(O?.marginLeft)+zt(O?.marginRight);return{width:Number(w.offsetWidth)+me,height:Number(w.offsetHeight)+z}}function Te(w,S,O){return _e(S,O?ue(w):oe(w,S),O)}function _t(w,S,O){const z=O.split(" ")[0],me=Ne(w),Ae={width:me.width,height:me.height},xe=-1!==["right","left"].indexOf(z),ze=xe?"top":"left",nt=xe?"left":"top",ut=xe?"height":"width",Nt=xe?"width":"height";return Ae[ze]=(S[ze]??0)+S[ut]/2-me[ut]/2,Ae[nt]=z===nt?(S[nt]??0)-me[Nt]:S[function ot(w){const S={left:"right",right:"left",bottom:"top",top:"bottom"};return w.replace(/left|right|bottom|top/g,O=>S[O])}(nt)]??0,Ae}function Qt(w,S){return!!w.modifiers[S]?.enabled}const dn={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function Ce(w,S){return!!(0,Je.Bu)().isBs5&&dn[S].includes(w)}function U(w){return(0,Je.Bu)().isBs5?Ce(w,"end")?"ms-2":Ce(w,"start")?"me-2":Ce(w,"top")?"mb-2":Ce(w,"bottom")?"mt-2":"":""}function $(w,S,O){!w||!S||Object.keys(S).forEach(z=>{let me="";-1!==["width","height","top","right","bottom","left"].indexOf(z)&&function ce(w){return""!==w&&!isNaN(parseFloat(w))&&isFinite(Number(w))}(S[z])&&(me="px"),O?O.setStyle(w,z,`${String(S[z])}${me}`):w.style[z]=String(S[z])+me})}function re(w){let S=w.offsets.target;const O=w.instance.target.querySelector(".arrow");if(!O)return w;const z=-1!==["left","right"].indexOf(w.placement.split(" ")[0]),me=z?"height":"width",Ae=z?"Top":"Left",xe=Ae.toLowerCase(),ze=z?"left":"top",nt=z?"bottom":"right",ut=Ne(O)[me],Nt=w.placement.split(" ")[1];(w.offsets.host[nt]??0)-ut<(S[xe]??0)&&(S[xe]-=(S[xe]??0)-((w.offsets.host[nt]??0)-ut)),Number(w.offsets.host[xe])+Number(ut)>(S[nt]??0)&&(S[xe]+=Number(w.offsets.host[xe])+Number(ut)-Number(S[nt])),S=B(S);const mn=Z(w.instance.target),ar=parseFloat(mn[`margin${Ae}`])||0,Kt=parseFloat(mn[`border${Ae}Width`])||0;let Ze;if(Nt){const qr=parseFloat(mn.borderRadius)||0,Zn=Number(ar+Kt+qr);Ze=xe===Nt?Number(w.offsets.host[xe])+Zn:Number(w.offsets.host[xe])+Number(w.offsets.host[me]-Zn)}else Ze=Number(w.offsets.host[xe])+Number(w.offsets.host[me]/2-ut/2);let mr=Ze-(S[xe]??0)-ar-Kt;return mr=Math.max(Math.min(S[me]-(ut+5),mr),0),w.offsets.arrow={[xe]:Math.round(mr),[ze]:""},w.instance.arrow=O,w}function Me(w){if(w.offsets.target=B(w.offsets.target),!Qt(w.options,"flip"))return w.offsets.target={...w.offsets.target,..._t(w.instance.target,w.offsets.host,w.placement)},w;const S=ke(w.instance.target,w.instance.host,0,"viewport",!1);let O=w.placement.split(" ")[0],z=w.placement.split(" ")[1]||"";const ze=$e("auto",w.offsets.host,w.instance.target,w.instance.host,w.options.allowedPositions),nt=[O,ze];return nt.forEach((ut,Nt)=>{if(O!==ut||nt.length===Nt+1)return;O=w.placement.split(" ")[0];const mn="left"===O&&Math.floor(w.offsets.target.right??0)>Math.floor(w.offsets.host.left??0)||"right"===O&&Math.floor(w.offsets.target.left??0)Math.floor(w.offsets.host.top??0)||"bottom"===O&&Math.floor(w.offsets.target.top??0)Math.floor(S.right??0),Ze=Math.floor(w.offsets.target.top??0)Math.floor(S.bottom??0),qr="left"===O&&ar||"right"===O&&Kt||"top"===O&&Ze||"bottom"===O&&mr,Zn=-1!==["top","bottom"].indexOf(O),ho=Zn&&"left"===z&&ar||Zn&&"right"===z&&Kt||!Zn&&"left"===z&&Ze||!Zn&&"right"===z&&mr;(mn||qr||ho)&&((mn||qr)&&(O=nt[Nt+1]),ho&&(z=function st(w){return"right"===w?"left":"left"===w?"right":w}(z)),w.placement=O+(z?` ${z}`:""),w.offsets.target={...w.offsets.target,..._t(w.instance.target,w.offsets.host,w.placement)})}),w}function it(w){if(!Qt(w.options,"preventOverflow"))return w;const S="transform",O=w.instance.target.style,{top:z,left:me,[S]:Ae}=O;O.top="",O.left="",O[S]="";const xe=ke(w.instance.target,w.instance.host,0,w.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);O.top=z,O.left=me,O[S]=Ae;const nt={primary(ut){let Nt=w.offsets.target[ut];return(w.offsets.target[ut]??0)<(xe[ut]??0)&&(Nt=Math.max(w.offsets.target[ut]??0,xe[ut]??0)),{[ut]:Nt}},secondary(ut){const Nt="right"===ut,mn=Nt?"left":"top";let Kt=w.offsets.target[mn];return(w.offsets.target[ut]??0)>(xe[ut]??0)&&(Kt=Math.min(w.offsets.target[mn]??0,(xe[ut]??0)-w.offsets.target[Nt?"width":"height"])),{[mn]:Kt}}};return["left","right","top","bottom"].forEach(ut=>{const Nt=-1!==["left","top","start"].indexOf(ut)?nt.primary:nt.secondary;w.offsets.target={...w.offsets.target,...Nt(ut)}}),w}function mt(w){const S=w.placement,O=S.split(" ")[0],z=S.split(" ")[1];if(z){const{host:me,target:Ae}=w.offsets,xe=-1!==["bottom","top"].indexOf(O),ze=xe?"left":"top",nt=xe?"width":"height",ut={start:{[ze]:me[ze]},end:{[ze]:(me[ze]??0)+me[nt]-Ae[nt]}};w.offsets.target={...Ae,[ze]:ze===z?ut.start[ze]:ut.end[ze]}}return w}const dt=new class Jt{position(S,O){return this.offset(S,O)}offset(S,O){return Te(O,S)}positionElements(S,O,z,me,Ae){const xe=[Me,mt,it,re],nt=function we(w,S,O,z){if(!w||!S)return;const me=Te(w,S);!O.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!O.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(O="auto");const Ae=!!O.match(/auto/g);let xe=O.match(/auto\s(left|right|top|bottom|start|end)/)?O.split(" ")[1]||"auto":O;const ze=xe.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return ze&&(xe=ze[1]+(ze[2]?` ${ze[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(xe)&&(xe="auto"),xe=$e(xe,me,w,S,z?z.allowedPositions:void 0),{options:z||{modifiers:{}},instance:{target:w,host:S,arrow:void 0},offsets:{target:_t(w,me,xe),host:me,arrow:void 0},positionFixed:!1,placement:xe,placementAuto:Ae}}(O,S,y[z],Ae);if(nt)return xe.reduce((ut,Nt)=>Nt(ut),nt)}};var Ut=D(54438),tt=D(60177),an=D(21413),tn=D(26365),En=D(58750),en=D(983),Ve=D(9326),ln=D(22806),Kn=D(71985),Vr=D(31397),xn=D(47441),pr=D(98071),bn=D(6450);const Ft=["addListener","removeListener"],Bt=["addEventListener","removeEventListener"],sr=["on","off"];function er(w,S,O,z){if((0,pr.T)(O)&&(z=O,O=void 0),z)return er(w,S,O).pipe((0,bn.I)(z));const[me,Ae]=function Gt(w){return(0,pr.T)(w.addEventListener)&&(0,pr.T)(w.removeEventListener)}(w)?Bt.map(xe=>ze=>w[xe](S,ze,O)):function Xn(w){return(0,pr.T)(w.addListener)&&(0,pr.T)(w.removeListener)}(w)?Ft.map(Mn(w,S)):function Rn(w){return(0,pr.T)(w.on)&&(0,pr.T)(w.off)}(w)?sr.map(Mn(w,S)):[];if(!me&&(0,xn.X)(w))return(0,Vr.Z)(xe=>er(xe,S,O))((0,En.Tg)(w));if(!me)throw new TypeError("Invalid event target");return new Kn.c(xe=>{const ze=(...nt)=>xe.next(1Ae(ze)})}function Mn(w,S){return O=>z=>w[O](S,z)}var bt=D(7673),Sn=D(96780),at=D(18359);const Fn={schedule(w){let S=requestAnimationFrame,O=cancelAnimationFrame;const{delegate:z}=Fn;z&&(S=z.requestAnimationFrame,O=z.cancelAnimationFrame);const me=S(Ae=>{O=void 0,w(Ae)});return new at.yU(()=>O?.(me))},requestAnimationFrame(...w){const{delegate:S}=Fn;return(S?.requestAnimationFrame||requestAnimationFrame)(...w)},cancelAnimationFrame(...w){const{delegate:S}=Fn;return(S?.cancelAnimationFrame||cancelAnimationFrame)(...w)},delegate:void 0};var Qn=D(13604);const nr=new class tr extends Qn.q{flush(S){this._active=!0;const O=this._scheduled;this._scheduled=void 0;const{actions:z}=this;let me;S=S||z.shift();do{if(me=S.execute(S.state,S.delay))break}while((S=z[0])&&S.id===O&&z.shift());if(this._active=!1,me){for(;(S=z[0])&&S.id===O&&z.shift();)S.unsubscribe();throw me}}}(class Yt extends Sn.R{constructor(S,O){super(S,O),this.scheduler=S,this.work=O}requestAsyncId(S,O,z=0){return null!==z&&z>0?super.requestAsyncId(S,O,z):(S.actions.push(this),S._scheduled||(S._scheduled=Fn.requestAnimationFrame(()=>S.flush(void 0))))}recycleAsyncId(S,O,z=0){var me;if(null!=z?z>0:this.delay>0)return super.recycleAsyncId(S,O,z);const{actions:Ae}=S;null!=O&&(null===(me=Ae[Ae.length-1])||void 0===me?void 0:me.id)!==O&&(Fn.cancelAnimationFrame(O),S._scheduled=void 0)}});let ct=(()=>{class w{constructor(O,z,me){this.update$$=new an.B,this.positionElements=new Map,this.isDisabled=!1,(0,tt.UE)(me)&&O.runOutsideAngular(()=>{this.triggerEvent$=function kn(...w){const S=(0,Ve.lI)(w),O=(0,Ve.R0)(w,1/0),z=w;return z.length?1===z.length?(0,En.Tg)(z[0]):(0,tn.U)(O)((0,ln.H)(z,S)):en.w}(er(window,"scroll",{passive:!0}),er(window,"resize",{passive:!0}),(0,bt.of)(0,nr),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Ae=>{!function Vt(w,S,O,z,me,Ae){const xe=dt.positionElements(w,S,O,z,me);if(!xe)return;const ze=function et(w){return{width:w.offsets.target.width,height:w.offsets.target.height,left:Math.floor(w.offsets.target.left??0),top:Math.round(w.offsets.target.top??0),bottom:Math.round(w.offsets.target.bottom??0),right:Math.floor(w.offsets.target.right??0)}}(xe);$(S,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${ze.left}px, ${ze.top}px, 0px)`},Ae),xe.instance.arrow&&$(xe.instance.arrow,xe.offsets.arrow,Ae),function x(w,S){const O=w.instance.target;let z=O.className;const me=(0,Je.Bu)().isBs5?h[w.placement]:w.placement;w.placementAuto&&(z=z.replace(/bs-popover-auto/g,`bs-popover-${me}`),z=z.replace(/ms-2|me-2|mb-2|mt-2/g,""),z=z.replace(/bs-tooltip-auto/g,`bs-tooltip-${me}`),z=z.replace(/\sauto/g,` ${me}`),-1!==z.indexOf("popover")&&(z=z+" "+U(me)),-1!==z.indexOf("popover")&&-1===z.indexOf("popover-auto")&&(z+=" popover-auto"),-1!==z.indexOf("tooltip")&&-1===z.indexOf("tooltip-auto")&&(z+=" tooltip-auto")),z=z.replace(/left|right|top|bottom|end|start/g,`${me.split(" ")[0]}`),S?S.setAttribute(O,"class",z):O.className=z}(xe,Ae)}(ye(Ae.target),ye(Ae.element),Ae.attachment,Ae.appendToBody,this.options,z.createRenderer(null,null))})})})}position(O){this.addPositionElement(O)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(O){this.positionElements.set(ye(O.element),O)}calcPosition(){this.update$$.next(null)}deletePositionElement(O){this.positionElements.delete(ye(O))}setOptions(O){this.options=O}static#e=this.\u0275fac=function(z){return new(z||w)(Ut.KVO(Ut.SKi),Ut.KVO(Ut._9s),Ut.KVO(Ut.Agw))};static#t=this.\u0275prov=Ut.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();function ye(w){return"string"==typeof w?document.querySelector(w):w instanceof Ut.aKT?w.nativeElement:w??null}},4875:(We,de,D)=>{D.d(de,{V:()=>Z});var y=D(54438),h=D(80903);let Z=(()=>{class o{get customClass(){return this._customClass}set customClass(H){this.customClass&&this.customClass.split(" ").forEach(oe=>{this.renderer.removeClass(this.elementRef.nativeElement,oe)}),this._customClass=H?H.trim():"",this.customClass&&this.customClass.split(" ").forEach(oe=>{this.renderer.addClass(this.elementRef.nativeElement,oe)})}get active(){return this._active}set active(H){if(this._active!==H){if(this.disabled&&H||!H)return void(this._active&&!H&&(this.deselect.emit(this),this._active=H));this._active=H,this.selectTab.emit(this),this.tabset.tabs.forEach(oe=>{oe!==this&&(oe.active=!1)})}}get ariaLabelledby(){return this.id?`${this.id}-link`:""}constructor(H,oe,ue){this.elementRef=oe,this.renderer=ue,this.disabled=!1,this.removable=!1,this.selectTab=new y.bkB,this.deselect=new y.bkB,this.removed=new y.bkB,this.addClass=!0,this.role="tabpanel",this._active=!1,this._customClass="",this.tabset=H,this.tabset.addTab(this)}ngOnInit(){this.removable=!!this.removable}ngOnDestroy(){this.tabset.removeTab(this,{reselect:!1,emit:!1})}static#e=this.\u0275fac=function(oe){return new(oe||o)(y.rXU(h.f),y.rXU(y.aKT),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:o,selectors:[["tab"],["","tab",""]],hostVars:7,hostBindings:function(oe,ue){2&oe&&(y.BMQ("id",ue.id)("role",ue.role)("aria-labelledby",ue.ariaLabelledby),y.AVh("active",ue.active)("tab-pane",ue.addClass))},inputs:{heading:"heading",id:"id",disabled:"disabled",removable:"removable",customClass:"customClass",active:"active"},outputs:{selectTab:"selectTab",deselect:"deselect",removed:"removed"},exportAs:["tab"],standalone:!0})}return o})()},59169:(We,de,D)=>{D.d(de,{j:()=>Z});var y=D(60177),h=D(54438);let Z=(()=>{class o{static forRoot(){return{ngModule:o,providers:[]}}static#e=this.\u0275fac=function(oe){return new(oe||o)};static#t=this.\u0275mod=h.$C({type:o});static#n=this.\u0275inj=h.G2t({imports:[y.MD]})}return o})()},80903:(We,de,D)=>{D.d(de,{f:()=>ie});var y=D(54438);let h=(()=>{class le{set ngTransclude(B){this._ngTransclude=B,B&&this.viewRef.createEmbeddedView(B)}get ngTransclude(){return this._ngTransclude}constructor(B){this.viewRef=B}static#e=this.\u0275fac=function(ce){return new(ce||le)(y.rXU(y.c1b))};static#t=this.\u0275dir=y.FsC({type:le,selectors:[["","ngTransclude",""]],inputs:{ngTransclude:"ngTransclude"},standalone:!0})}return le})();var Z=D(60177),o=D(34864);const Q=["*"],H=le=>["nav-item",le];function oe(le,Y){if(1&le){const B=y.RV6();y.j41(0,"span",7),y.bIt("click",function(V){y.eBV(B);const ge=y.XpG().$implicit,_e=y.XpG();return V.preventDefault(),y.Njj(_e.removeTab(ge))}),y.EFF(1," \u274c"),y.k0s()}}function ue(le,Y){if(1&le){const B=y.RV6();y.j41(0,"li",3),y.bIt("keydown",function(V){const ge=y.eBV(B).index,_e=y.XpG();return y.Njj(_e.keyNavActions(V,ge))}),y.j41(1,"a",4),y.bIt("click",function(){const V=y.eBV(B).$implicit;return y.Njj(V.active=!0)}),y.j41(2,"span",5),y.EFF(3),y.k0s(),y.DNE(4,oe,2,0,"span",6),y.k0s()()}if(2&le){const B=Y.$implicit;y.AVh("active",B.active)("disabled",B.disabled),y.Y8G("ngClass",y.eq3(15,H,B.customClass||"")),y.R7$(),y.AVh("active",B.active)("disabled",B.disabled),y.BMQ("aria-controls",B.id?B.id:"")("aria-selected",!!B.active)("id",B.id?B.id+"-link":""),y.R7$(),y.Y8G("ngTransclude",B.headingRef),y.R7$(),y.JRh(B.heading),y.R7$(),y.Y8G("ngIf",B.removable)}}let ie=(()=>{class le{get vertical(){return this._vertical}set vertical(B){this._vertical=B,this.setClassMap()}get justified(){return this._justified}set justified(B){this._justified=B,this.setClassMap()}get type(){return this._type}set type(B){this._type=B,this.setClassMap()}get isKeysAllowed(){return this._isKeysAllowed}set isKeysAllowed(B){this._isKeysAllowed=B}constructor(B,ce,V){this.renderer=ce,this.elementRef=V,this.clazz=!0,this.tabs=[],this.classMap={},this.ariaLabel="Tabs",this.isDestroyed=!1,this._vertical=!1,this._justified=!1,this._type="tabs",this._isKeysAllowed=!0,Object.assign(this,B)}ngOnDestroy(){this.isDestroyed=!0}addTab(B){this.tabs.push(B),B.active=1===this.tabs.length&&!B.active}removeTab(B,ce={reselect:!0,emit:!0}){const V=this.tabs.indexOf(B);if(-1!==V&&!this.isDestroyed){if(ce.reselect&&B.active&&this.hasAvailableTabs(V)){const ge=this.getClosestTabIndex(V);this.tabs[ge].active=!0}ce.emit&&B.removed.emit(B),this.tabs.splice(V,1),B.elementRef.nativeElement.parentNode&&this.renderer.removeChild(B.elementRef.nativeElement.parentNode,B.elementRef.nativeElement)}}keyNavActions(B,ce){if(!this.isKeysAllowed)return;const V=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13===B.keyCode||"Enter"===B.key||32===B.keyCode||"Space"===B.key)return B.preventDefault(),void V[ce%V.length].click();if(39!==B.keyCode&&"RightArrow"!==B.key)if(37!==B.keyCode&&"LeftArrow"!==B.key)if(36!==B.keyCode&&"Home"!==B.key)if(35!==B.keyCode&&"End"!==B.key){if((46===B.keyCode||"Delete"===B.key)&&this.tabs[ce].removable){if(this.removeTab(this.tabs[ce]),V[ce+1])return void V[(ce+1)%V.length].focus();V[V.length-1]&&V[0].focus()}}else{B.preventDefault();let ge,_e=1,Oe=ce;do{Oe-_e<0?(Oe=V.length-1,ge=V[Oe],_e=0):ge=V[Oe-_e],_e++}while(ge.classList.contains("disabled"));ge.focus()}else{B.preventDefault();let ge,_e=0;do{ge=V[_e%V.length],_e++}while(ge.classList.contains("disabled"));ge.focus()}else{let ge,_e=1,Oe=ce;do{Oe-_e<0?(Oe=V.length-1,ge=V[Oe],_e=0):ge=V[Oe-_e],_e++}while(ge.classList.contains("disabled"));ge.focus()}else{let ge,_e=1;do{ge=V[(ce+_e)%V.length],_e++}while(ge.classList.contains("disabled"));ge.focus()}}getClosestTabIndex(B){const ce=this.tabs.length;if(!ce)return-1;for(let V=1;V<=ce;V+=1){const ge=B-V,_e=B+V;if(this.tabs[ge]&&!this.tabs[ge].disabled)return ge;if(this.tabs[_e]&&!this.tabs[_e].disabled)return _e}return-1}hasAvailableTabs(B){const ce=this.tabs.length;if(!ce)return!1;for(let V=0;V{D.d(de,{o:()=>h});var y=D(54438);let h=(()=>{class Z{constructor(){this.type="tabs",this.isKeysAllowed=!0,this.ariaLabel="Tabs"}static#e=this.\u0275fac=function(H){return new(H||Z)};static#t=this.\u0275prov=y.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},39555:(We,de,D)=>{D.d(de,{wl:()=>zt,Yr:()=>Ne,Aq:()=>Te,LQ:()=>st,Al:()=>ie,Bu:()=>et,GL:()=>Q,Zu:()=>Z,Fv:()=>oe,Xt:()=>H,Yl:()=>Je,mc:()=>dn,x:()=>ue});class y{constructor(U,x){this.open=U,this.close=x||U}isManual(){return"manual"===this.open||"manual"===this.close}}const h={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function Z(Ce,U=h){const x=(Ce||"").trim();if(0===x.length)return[];const $=x.split(/\s+/).map(Me=>Me.split(":")).map(Me=>{const we=U[Me[0]]||Me;return new y(we[0],we[1])}),re=$.filter(Me=>Me.isManual());if(re.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===re.length&&$.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return $}function Q(Ce,U){const x=Z(U.triggers),$=U.target;if(1===x.length&&x[0].isManual())return Function.prototype;const re=[],Me=[],we=()=>{Me.forEach(it=>re.push(it())),Me.length=0};return x.forEach(it=>{const mt=it.open===it.close,Jt=mt?U.toggle:U.show;if(!mt&&it.close&&U.hide){const dt=it.close,Vt=U.hide;Me.push(()=>Ce.listen($,dt,Vt))}Jt&&re.push(Ce.listen($,it.open,()=>Jt(we)))}),()=>{re.forEach(it=>it())}}function H(Ce,U){return U.outsideClick?Ce.listen("document","click",x=>{U.target&&U.target.contains(x.target)||U.targets&&U.targets.some($=>$.contains(x.target))||U.hide&&U.hide()}):Function.prototype}function oe(Ce,U){return U.outsideEsc?Ce.listen("document","keyup.esc",x=>{U.target&&U.target.contains(x.target)||U.targets&&U.targets.some($=>$.contains(x.target))||U.hide&&U.hide()}):Function.prototype}const ue=typeof window<"u"&&window||{},ie=ue.document;var kt=function(Ce){return Ce.isBs4="bs4",Ce.isBs5="bs5",Ce}(kt||{});let Le;function ke(){const Ce=ue.document.createElement("span");Ce.innerText="testing bs version",Ce.classList.add("d-none"),Ce.classList.add("pl-1"),ue.document.head.appendChild(Ce);const U=ue.getComputedStyle(Ce).paddingLeft;return U&&parseFloat(U)?(ue.document.head.removeChild(Ce),"bs4"):(ue.document.head.removeChild(Ce),"bs5")}function Je(Ce){Le=Ce}function et(){return{isBs4:(Le||(Le=ke()),"bs4"===Le),isBs5:(Le||(Le=ke()),"bs5"===Le)}}function st(){const Ce=et(),U=Object.keys(Ce).find(x=>Ce[x]);return kt[U]}class zt{constructor(){this.length=0,this.asArray=[]}get(U){if(0===this.length||U<0||U>=this.length)return;let x=this.head;for(let $=0;$this.length)throw new Error("Position is out of the list");const $={value:U,next:void 0,previous:void 0};if(0===this.length)this.head=$,this.tail=$,this.current=$;else if(0===x&&this.head)$.next=this.head,this.head.previous=$,this.head=$;else if(x===this.length&&this.tail)this.tail.next=$,$.previous=this.tail,this.tail=$;else{const re=this.getNode(x-1),Me=re?.next;re&&Me&&(re.next=$,Me.previous=$,$.previous=re,$.next=Me)}this.length++,this.createInternalArrayRepresentation()}remove(U=0){if(0===this.length||U<0||U>=this.length)throw new Error("Position is out of the list");if(0===U&&this.head)this.head=this.head.next,this.head?this.head.previous=void 0:this.tail=void 0;else if(U===this.length-1&&this.tail?.previous)this.tail=this.tail.previous,this.tail.next=void 0;else{const x=this.getNode(U);x?.next&&x.previous&&(x.next.previous=x.previous,x.previous.next=x.next)}this.length--,this.createInternalArrayRepresentation()}set(U,x){if(0===this.length||U<0||U>=this.length)throw new Error("Position is out of the list");const $=this.getNode(U);$&&($.value=x,this.createInternalArrayRepresentation())}toArray(){return this.asArray}findAll(U){let x=this.head;const $=[];if(!x)return $;for(let re=0;re{this.add(x)}),this.length}pop(){if(0===this.length)return;const U=this.tail;return this.remove(this.length-1),U?.value}unshift(...U){return U.reverse(),U.forEach(x=>{this.add(x,0)}),this.length}shift(){if(0===this.length)return;const U=this.head?.value;return this.remove(),U}forEach(U){let x=this.head;for(let $=0;$=this.length)throw new Error("Position is out of the list");let x=this.head;for(let $=0;$"u"||!("warn"in console);function dn(Ce){!(0,ot.naY)()||Qt||Ce in _t||(_t[Ce]=!0,console.warn(Ce))}},84412:(We,de,D)=>{D.d(de,{t:()=>h});var y=D(21413);class h extends y.B{constructor(o){super(),this._value=o}get value(){return this.getValue()}_subscribe(o){const Q=super._subscribe(o);return!Q.closed&&o.next(this._value),Q}getValue(){const{hasError:o,thrownError:Q,_value:H}=this;if(o)throw Q;return this._throwIfClosed(),H}next(o){super.next(this._value=o)}}},71985:(We,de,D)=>{D.d(de,{c:()=>ue});var y=D(47707),h=D(18359),Z=D(3494),o=D(71203),Q=D(41026),H=D(98071),oe=D(49786);let ue=(()=>{class B{constructor(V){V&&(this._subscribe=V)}lift(V){const ge=new B;return ge.source=this,ge.operator=V,ge}subscribe(V,ge,_e){const Oe=function Y(B){return B&&B instanceof y.vU||function le(B){return B&&(0,H.T)(B.next)&&(0,H.T)(B.error)&&(0,H.T)(B.complete)}(B)&&(0,h.Uv)(B)}(V)?V:new y.Ms(V,ge,_e);return(0,oe.Y)(()=>{const{operator:rt,source:gt}=this;Oe.add(rt?rt.call(Oe,gt):gt?this._subscribe(Oe):this._trySubscribe(Oe))}),Oe}_trySubscribe(V){try{return this._subscribe(V)}catch(ge){V.error(ge)}}forEach(V,ge){return new(ge=ie(ge))((_e,Oe)=>{const rt=new y.Ms({next:gt=>{try{V(gt)}catch(kt){Oe(kt),rt.unsubscribe()}},error:Oe,complete:_e});this.subscribe(rt)})}_subscribe(V){var ge;return null===(ge=this.source)||void 0===ge?void 0:ge.subscribe(V)}[Z.s](){return this}pipe(...V){return(0,o.m)(V)(this)}toPromise(V){return new(V=ie(V))((ge,_e)=>{let Oe;this.subscribe(rt=>Oe=rt,rt=>_e(rt),()=>ge(Oe))})}}return B.create=ce=>new B(ce),B})();function ie(B){var ce;return null!==(ce=B??Q.$.Promise)&&void 0!==ce?ce:Promise}},21413:(We,de,D)=>{D.d(de,{B:()=>oe});var y=D(71985),h=D(18359);const o=(0,D(81853).L)(ie=>function(){ie(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=D(57908),H=D(49786);let oe=(()=>{class ie extends y.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Y){const B=new ue(this,this);return B.operator=Y,B}_throwIfClosed(){if(this.closed)throw new o}next(Y){(0,H.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const B of this.currentObservers)B.next(Y)}})}error(Y){(0,H.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Y;const{observers:B}=this;for(;B.length;)B.shift().error(Y)}})}complete(){(0,H.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Y}=this;for(;Y.length;)Y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Y;return(null===(Y=this.observers)||void 0===Y?void 0:Y.length)>0}_trySubscribe(Y){return this._throwIfClosed(),super._trySubscribe(Y)}_subscribe(Y){return this._throwIfClosed(),this._checkFinalizedStatuses(Y),this._innerSubscribe(Y)}_innerSubscribe(Y){const{hasError:B,isStopped:ce,observers:V}=this;return B||ce?h.Kn:(this.currentObservers=null,V.push(Y),new h.yU(()=>{this.currentObservers=null,(0,Q.o)(V,Y)}))}_checkFinalizedStatuses(Y){const{hasError:B,thrownError:ce,isStopped:V}=this;B?Y.error(ce):V&&Y.complete()}asObservable(){const Y=new y.c;return Y.source=this,Y}}return ie.create=(le,Y)=>new ue(le,Y),ie})();class ue extends oe{constructor(le,Y){super(),this.destination=le,this.source=Y}next(le){var Y,B;null===(B=null===(Y=this.destination)||void 0===Y?void 0:Y.next)||void 0===B||B.call(Y,le)}error(le){var Y,B;null===(B=null===(Y=this.destination)||void 0===Y?void 0:Y.error)||void 0===B||B.call(Y,le)}complete(){var le,Y;null===(Y=null===(le=this.destination)||void 0===le?void 0:le.complete)||void 0===Y||Y.call(le)}_subscribe(le){var Y,B;return null!==(B=null===(Y=this.source)||void 0===Y?void 0:Y.subscribe(le))&&void 0!==B?B:h.Kn}}},47707:(We,de,D)=>{D.d(de,{Ms:()=>_e,vU:()=>B});var y=D(98071),h=D(18359),Z=D(41026),o=D(45334),Q=D(85343);const H=ie("C",void 0,void 0);function ie(Le,ke,Je){return{kind:Le,value:ke,error:Je}}var le=D(19270),Y=D(49786);class B extends h.yU{constructor(ke){super(),this.isStopped=!1,ke?(this.destination=ke,(0,h.Uv)(ke)&&ke.add(this)):this.destination=kt}static create(ke,Je,je){return new _e(ke,Je,je)}next(ke){this.isStopped?gt(function ue(Le){return ie("N",Le,void 0)}(ke),this):this._next(ke)}error(ke){this.isStopped?gt(function oe(Le){return ie("E",void 0,Le)}(ke),this):(this.isStopped=!0,this._error(ke))}complete(){this.isStopped?gt(H,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ke){this.destination.next(ke)}_error(ke){try{this.destination.error(ke)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function V(Le,ke){return ce.call(Le,ke)}class ge{constructor(ke){this.partialObserver=ke}next(ke){const{partialObserver:Je}=this;if(Je.next)try{Je.next(ke)}catch(je){Oe(je)}}error(ke){const{partialObserver:Je}=this;if(Je.error)try{Je.error(ke)}catch(je){Oe(je)}else Oe(ke)}complete(){const{partialObserver:ke}=this;if(ke.complete)try{ke.complete()}catch(Je){Oe(Je)}}}class _e extends B{constructor(ke,Je,je){let $e;if(super(),(0,y.T)(ke)||!ke)$e={next:ke??void 0,error:Je??void 0,complete:je??void 0};else{let et;this&&Z.$.useDeprecatedNextContext?(et=Object.create(ke),et.unsubscribe=()=>this.unsubscribe(),$e={next:ke.next&&V(ke.next,et),error:ke.error&&V(ke.error,et),complete:ke.complete&&V(ke.complete,et)}):$e=ke}this.destination=new ge($e)}}function Oe(Le){Z.$.useDeprecatedSynchronousErrorHandling?(0,Y.l)(Le):(0,o.m)(Le)}function gt(Le,ke){const{onStoppedNotification:Je}=Z.$;Je&&le.f.setTimeout(()=>Je(Le,ke))}const kt={closed:!0,next:Q.l,error:function rt(Le){throw Le},complete:Q.l}},18359:(We,de,D)=>{D.d(de,{Kn:()=>H,yU:()=>Q,Uv:()=>oe});var y=D(98071);const Z=(0,D(81853).L)(ie=>function(Y){ie(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((B,ce)=>`${ce+1}) ${B.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y});var o=D(57908);class Q{constructor(le){this.initialTeardown=le,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let le;if(!this.closed){this.closed=!0;const{_parentage:Y}=this;if(Y)if(this._parentage=null,Array.isArray(Y))for(const V of Y)V.remove(this);else Y.remove(this);const{initialTeardown:B}=this;if((0,y.T)(B))try{B()}catch(V){le=V instanceof Z?V.errors:[V]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const V of ce)try{ue(V)}catch(ge){le=le??[],ge instanceof Z?le=[...le,...ge.errors]:le.push(ge)}}if(le)throw new Z(le)}}add(le){var Y;if(le&&le!==this)if(this.closed)ue(le);else{if(le instanceof Q){if(le.closed||le._hasParent(this))return;le._addParent(this)}(this._finalizers=null!==(Y=this._finalizers)&&void 0!==Y?Y:[]).push(le)}}_hasParent(le){const{_parentage:Y}=this;return Y===le||Array.isArray(Y)&&Y.includes(le)}_addParent(le){const{_parentage:Y}=this;this._parentage=Array.isArray(Y)?(Y.push(le),Y):Y?[Y,le]:le}_removeParent(le){const{_parentage:Y}=this;Y===le?this._parentage=null:Array.isArray(Y)&&(0,o.o)(Y,le)}remove(le){const{_finalizers:Y}=this;Y&&(0,o.o)(Y,le),le instanceof Q&&le._removeParent(this)}}Q.EMPTY=(()=>{const ie=new Q;return ie.closed=!0,ie})();const H=Q.EMPTY;function oe(ie){return ie instanceof Q||ie&&"closed"in ie&&(0,y.T)(ie.remove)&&(0,y.T)(ie.add)&&(0,y.T)(ie.unsubscribe)}function ue(ie){(0,y.T)(ie)?ie():ie.unsubscribe()}},41026:(We,de,D)=>{D.d(de,{$:()=>y});const y={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},84572:(We,de,D)=>{D.d(de,{z:()=>le});var y=D(71985),h=D(93073),Z=D(22806),o=D(33669),Q=D(6450),H=D(9326),oe=D(58496),ue=D(54360),ie=D(45225);function le(...ce){const V=(0,H.lI)(ce),ge=(0,H.ms)(ce),{args:_e,keys:Oe}=(0,h.D)(ce);if(0===_e.length)return(0,Z.H)([],V);const rt=new y.c(function Y(ce,V,ge=o.D){return _e=>{B(V,()=>{const{length:Oe}=ce,rt=new Array(Oe);let gt=Oe,kt=Oe;for(let Le=0;Le{const ke=(0,Z.H)(ce[Le],V);let Je=!1;ke.subscribe((0,ue._)(_e,je=>{rt[Le]=je,Je||(Je=!0,kt--),kt||_e.next(ge(rt.slice()))},()=>{--gt||_e.complete()}))},_e)},_e)}}(_e,V,Oe?gt=>(0,oe.e)(Oe,gt):o.D));return ge?rt.pipe((0,Q.I)(ge)):rt}function B(ce,V,ge){ce?(0,ie.N)(ge,ce,V):V()}},28793:(We,de,D)=>{D.d(de,{x:()=>Q});var y=D(26365),Z=D(9326),o=D(22806);function Q(...H){return function h(){return(0,y.U)(1)}()((0,o.H)(H,(0,Z.lI)(H)))}},983:(We,de,D)=>{D.d(de,{w:()=>h});const h=new(D(71985).c)(Q=>Q.complete())},22806:(We,de,D)=>{D.d(de,{H:()=>Je});var y=D(58750),h=D(40941),Z=D(39974);function o(je,$e=0){return(0,Z.N)((et,st)=>{st.add(je.schedule(()=>et.subscribe(st),$e))})}var oe=D(71985),ie=D(4761),le=D(98071),Y=D(45225);function ce(je,$e){if(!je)throw new Error("Iterable cannot be null");return new oe.c(et=>{(0,Y.N)(et,$e,()=>{const st=je[Symbol.asyncIterator]();(0,Y.N)(et,$e,()=>{st.next().then(zt=>{zt.done?et.complete():et.next(zt.value)})},0,!0)})})}var V=D(55055),ge=D(59858),_e=D(47441),Oe=D(85397),rt=D(37953),gt=D(50591),kt=D(15196);function Je(je,$e){return $e?function ke(je,$e){if(null!=je){if((0,V.l)(je))return function Q(je,$e){return(0,y.Tg)(je).pipe(o($e),(0,h.Q)($e))}(je,$e);if((0,_e.X)(je))return function ue(je,$e){return new oe.c(et=>{let st=0;return $e.schedule(function(){st===je.length?et.complete():(et.next(je[st++]),et.closed||this.schedule())})})}(je,$e);if((0,ge.y)(je))return function H(je,$e){return(0,y.Tg)(je).pipe(o($e),(0,h.Q)($e))}(je,$e);if((0,rt.T)(je))return ce(je,$e);if((0,Oe.x)(je))return function B(je,$e){return new oe.c(et=>{let st;return(0,Y.N)(et,$e,()=>{st=je[ie.l](),(0,Y.N)(et,$e,()=>{let zt,Ne;try{({value:zt,done:Ne}=st.next())}catch(Te){return void et.error(Te)}Ne?et.complete():et.next(zt)},0,!0)}),()=>(0,le.T)(st?.return)&&st.return()})}(je,$e);if((0,kt.U)(je))return function Le(je,$e){return ce((0,kt.C)(je),$e)}(je,$e)}throw(0,gt.L)(je)}(je,$e):(0,y.Tg)(je)}},58750:(We,de,D)=>{D.d(de,{Tg:()=>ce});var y=D(31635),h=D(47441),Z=D(59858),o=D(71985),Q=D(55055),H=D(37953),oe=D(50591),ue=D(85397),ie=D(15196),le=D(98071),Y=D(45334),B=D(3494);function ce(Le){if(Le instanceof o.c)return Le;if(null!=Le){if((0,Q.l)(Le))return function V(Le){return new o.c(ke=>{const Je=Le[B.s]();if((0,le.T)(Je.subscribe))return Je.subscribe(ke);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Le);if((0,h.X)(Le))return function ge(Le){return new o.c(ke=>{for(let Je=0;Je{Le.then(Je=>{ke.closed||(ke.next(Je),ke.complete())},Je=>ke.error(Je)).then(null,Y.m)})}(Le);if((0,H.T)(Le))return rt(Le);if((0,ue.x)(Le))return function Oe(Le){return new o.c(ke=>{for(const Je of Le)if(ke.next(Je),ke.closed)return;ke.complete()})}(Le);if((0,ie.U)(Le))return function gt(Le){return rt((0,ie.C)(Le))}(Le)}throw(0,oe.L)(Le)}function rt(Le){return new o.c(ke=>{(function kt(Le,ke){var Je,je,$e,et;return(0,y.sH)(this,void 0,void 0,function*(){try{for(Je=(0,y.xN)(Le);!(je=yield Je.next()).done;)if(ke.next(je.value),ke.closed)return}catch(st){$e={error:st}}finally{try{je&&!je.done&&(et=Je.return)&&(yield et.call(Je))}finally{if($e)throw $e.error}}ke.complete()})})(Le,ke).catch(Je=>ke.error(Je))})}},7673:(We,de,D)=>{D.d(de,{of:()=>Z});var y=D(9326),h=D(22806);function Z(...o){const Q=(0,y.lI)(o);return(0,h.H)(o,Q)}},54360:(We,de,D)=>{D.d(de,{_:()=>h});var y=D(47707);function h(o,Q,H,oe,ue){return new Z(o,Q,H,oe,ue)}class Z extends y.vU{constructor(Q,H,oe,ue,ie,le){super(Q),this.onFinalize=ie,this.shouldUnsubscribe=le,this._next=H?function(Y){try{H(Y)}catch(B){Q.error(B)}}:super._next,this._error=ue?function(Y){try{ue(Y)}catch(B){Q.error(B)}finally{this.unsubscribe()}}:super._error,this._complete=oe?function(){try{oe()}catch(Y){Q.error(Y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var Q;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:H}=this;super.unsubscribe(),!H&&(null===(Q=this.onFinalize)||void 0===Q||Q.call(this))}}}},70274:(We,de,D)=>{D.d(de,{H:()=>Z});var y=D(31397),h=D(98071);function Z(o,Q){return(0,h.T)(Q)?(0,y.Z)(o,Q,1):(0,y.Z)(o,1)}},5964:(We,de,D)=>{D.d(de,{p:()=>Z});var y=D(39974),h=D(54360);function Z(o,Q){return(0,y.N)((H,oe)=>{let ue=0;H.subscribe((0,h._)(oe,ie=>o.call(Q,ie,ue++)&&oe.next(ie)))})}},70980:(We,de,D)=>{D.d(de,{j:()=>h});var y=D(39974);function h(Z){return(0,y.N)((o,Q)=>{try{o.subscribe(Q)}finally{Q.add(Z)}})}},96354:(We,de,D)=>{D.d(de,{T:()=>Z});var y=D(39974),h=D(54360);function Z(o,Q){return(0,y.N)((H,oe)=>{let ue=0;H.subscribe((0,h._)(oe,ie=>{oe.next(o.call(Q,ie,ue++))}))})}},73703:(We,de,D)=>{D.d(de,{u:()=>h});var y=D(96354);function h(Z){return(0,y.T)(()=>Z)}},26365:(We,de,D)=>{D.d(de,{U:()=>Z});var y=D(31397),h=D(33669);function Z(o=1/0){return(0,y.Z)(h.D,o)}},31397:(We,de,D)=>{D.d(de,{Z:()=>ue});var y=D(96354),h=D(58750),Z=D(39974),o=D(45225),Q=D(54360),oe=D(98071);function ue(ie,le,Y=1/0){return(0,oe.T)(le)?ue((B,ce)=>(0,y.T)((V,ge)=>le(B,V,ce,ge))((0,h.Tg)(ie(B,ce))),Y):("number"==typeof le&&(Y=le),(0,Z.N)((B,ce)=>function H(ie,le,Y,B,ce,V,ge,_e){const Oe=[];let rt=0,gt=0,kt=!1;const Le=()=>{kt&&!Oe.length&&!rt&&le.complete()},ke=je=>rt{V&&le.next(je),rt++;let $e=!1;(0,h.Tg)(Y(je,gt++)).subscribe((0,Q._)(le,et=>{ce?.(et),V?ke(et):le.next(et)},()=>{$e=!0},void 0,()=>{if($e)try{for(rt--;Oe.length&&rtJe(et)):Je(et)}Le()}catch(et){le.error(et)}}))};return ie.subscribe((0,Q._)(le,ke,()=>{kt=!0,Le()})),()=>{_e?.()}}(B,ce,ie,Y)))}},40941:(We,de,D)=>{D.d(de,{Q:()=>o});var y=D(45225),h=D(39974),Z=D(54360);function o(Q,H=0){return(0,h.N)((oe,ue)=>{oe.subscribe((0,Z._)(ue,ie=>(0,y.N)(ue,Q,()=>ue.next(ie),H),()=>(0,y.N)(ue,Q,()=>ue.complete(),H),ie=>(0,y.N)(ue,Q,()=>ue.error(ie),H)))})}},31943:(We,de,D)=>{D.d(de,{S:()=>Z});var y=D(39974),h=D(46649);function Z(o,Q){return(0,y.N)((0,h.S)(o,Q,arguments.length>=2,!0))}},46649:(We,de,D)=>{D.d(de,{S:()=>h});var y=D(54360);function h(Z,o,Q,H,oe){return(ue,ie)=>{let le=Q,Y=o,B=0;ue.subscribe((0,y._)(ie,ce=>{const V=B++;Y=le?Z(Y,ce,V):(le=!0,ce),H&&ie.next(Y)},oe&&(()=>{le&&ie.next(Y),ie.complete()})))}}},25558:(We,de,D)=>{D.d(de,{n:()=>o});var y=D(58750),h=D(39974),Z=D(54360);function o(Q,H){return(0,h.N)((oe,ue)=>{let ie=null,le=0,Y=!1;const B=()=>Y&&!ie&&ue.complete();oe.subscribe((0,Z._)(ue,ce=>{ie?.unsubscribe();let V=0;const ge=le++;(0,y.Tg)(Q(ce,ge)).subscribe(ie=(0,Z._)(ue,_e=>ue.next(H?H(ce,_e,ge,V++):_e),()=>{ie=null,B()}))},()=>{Y=!0,B()}))})}},96697:(We,de,D)=>{D.d(de,{s:()=>o});var y=D(983),h=D(39974),Z=D(54360);function o(Q){return Q<=0?()=>y.w:(0,h.N)((H,oe)=>{let ue=0;H.subscribe((0,Z._)(oe,ie=>{++ue<=Q&&(oe.next(ie),Q<=ue&&oe.complete())}))})}},56977:(We,de,D)=>{D.d(de,{Q:()=>Q});var y=D(39974),h=D(54360),Z=D(58750),o=D(85343);function Q(H){return(0,y.N)((oe,ue)=>{(0,Z.Tg)(H).subscribe((0,h._)(ue,()=>ue.complete(),o.l)),!ue.closed&&oe.subscribe(ue)})}},88141:(We,de,D)=>{D.d(de,{M:()=>Q});var y=D(98071),h=D(39974),Z=D(54360),o=D(33669);function Q(H,oe,ue){const ie=(0,y.T)(H)||oe||ue?{next:H,error:oe,complete:ue}:H;return ie?(0,h.N)((le,Y)=>{var B;null===(B=ie.subscribe)||void 0===B||B.call(ie);let ce=!0;le.subscribe((0,Z._)(Y,V=>{var ge;null===(ge=ie.next)||void 0===ge||ge.call(ie,V),Y.next(V)},()=>{var V;ce=!1,null===(V=ie.complete)||void 0===V||V.call(ie),Y.complete()},V=>{var ge;ce=!1,null===(ge=ie.error)||void 0===ge||ge.call(ie,V),Y.error(V)},()=>{var V,ge;ce&&(null===(V=ie.unsubscribe)||void 0===V||V.call(ie)),null===(ge=ie.finalize)||void 0===ge||ge.call(ie)}))}):o.D}},96780:(We,de,D)=>{D.d(de,{R:()=>Q});var y=D(18359);class h extends y.yU{constructor(oe,ue){super()}schedule(oe,ue=0){return this}}const Z={setInterval(H,oe,...ue){const{delegate:ie}=Z;return ie?.setInterval?ie.setInterval(H,oe,...ue):setInterval(H,oe,...ue)},clearInterval(H){const{delegate:oe}=Z;return(oe?.clearInterval||clearInterval)(H)},delegate:void 0};var o=D(57908);class Q extends h{constructor(oe,ue){super(oe,ue),this.scheduler=oe,this.work=ue,this.pending=!1}schedule(oe,ue=0){var ie;if(this.closed)return this;this.state=oe;const le=this.id,Y=this.scheduler;return null!=le&&(this.id=this.recycleAsyncId(Y,le,ue)),this.pending=!0,this.delay=ue,this.id=null!==(ie=this.id)&&void 0!==ie?ie:this.requestAsyncId(Y,this.id,ue),this}requestAsyncId(oe,ue,ie=0){return Z.setInterval(oe.flush.bind(oe,this),ie)}recycleAsyncId(oe,ue,ie=0){if(null!=ie&&this.delay===ie&&!1===this.pending)return ue;null!=ue&&Z.clearInterval(ue)}execute(oe,ue){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ie=this._execute(oe,ue);if(ie)return ie;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(oe,ue){let le,ie=!1;try{this.work(oe)}catch(Y){ie=!0,le=Y||new Error("Scheduled action threw falsy error")}if(ie)return this.unsubscribe(),le}unsubscribe(){if(!this.closed){const{id:oe,scheduler:ue}=this,{actions:ie}=ue;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.o)(ie,this),null!=oe&&(this.id=this.recycleAsyncId(ue,oe,null)),this.delay=null,super.unsubscribe()}}}},13604:(We,de,D)=>{D.d(de,{q:()=>Z});const y={now:()=>(y.delegate||Date).now(),delegate:void 0};class h{constructor(Q,H=h.now){this.schedulerActionCtor=Q,this.now=H}schedule(Q,H=0,oe){return new this.schedulerActionCtor(this,Q).schedule(oe,H)}}h.now=y.now;class Z extends h{constructor(Q,H=h.now){super(Q,H),this.actions=[],this._active=!1}flush(Q){const{actions:H}=this;if(this._active)return void H.push(Q);let oe;this._active=!0;do{if(oe=Q.execute(Q.state,Q.delay))break}while(Q=H.shift());if(this._active=!1,oe){for(;Q=H.shift();)Q.unsubscribe();throw oe}}}},19270:(We,de,D)=>{D.d(de,{f:()=>y});const y={setTimeout(h,Z,...o){const{delegate:Q}=y;return Q?.setTimeout?Q.setTimeout(h,Z,...o):setTimeout(h,Z,...o)},clearTimeout(h){const{delegate:Z}=y;return(Z?.clearTimeout||clearTimeout)(h)},delegate:void 0}},4761:(We,de,D)=>{D.d(de,{l:()=>h});const h=function y(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(We,de,D)=>{D.d(de,{s:()=>y});const y="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(We,de,D)=>{D.d(de,{R0:()=>H,lI:()=>Q,ms:()=>o});var y=D(98071),h=D(79470);function Z(oe){return oe[oe.length-1]}function o(oe){return(0,y.T)(Z(oe))?oe.pop():void 0}function Q(oe){return(0,h.m)(Z(oe))?oe.pop():void 0}function H(oe,ue){return"number"==typeof Z(oe)?oe.pop():ue}},93073:(We,de,D)=>{D.d(de,{D:()=>Q});const{isArray:y}=Array,{getPrototypeOf:h,prototype:Z,keys:o}=Object;function Q(oe){if(1===oe.length){const ue=oe[0];if(y(ue))return{args:ue,keys:null};if(function H(oe){return oe&&"object"==typeof oe&&h(oe)===Z}(ue)){const ie=o(ue);return{args:ie.map(le=>ue[le]),keys:ie}}}return{args:oe,keys:null}}},57908:(We,de,D)=>{function y(h,Z){if(h){const o=h.indexOf(Z);0<=o&&h.splice(o,1)}}D.d(de,{o:()=>y})},81853:(We,de,D)=>{function y(h){const o=h(Q=>{Error.call(Q),Q.stack=(new Error).stack});return o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o}D.d(de,{L:()=>y})},58496:(We,de,D)=>{function y(h,Z){return h.reduce((o,Q,H)=>(o[Q]=Z[H],o),{})}D.d(de,{e:()=>y})},49786:(We,de,D)=>{D.d(de,{Y:()=>Z,l:()=>o});var y=D(41026);let h=null;function Z(Q){if(y.$.useDeprecatedSynchronousErrorHandling){const H=!h;if(H&&(h={errorThrown:!1,error:null}),Q(),H){const{errorThrown:oe,error:ue}=h;if(h=null,oe)throw ue}}else Q()}function o(Q){y.$.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=Q)}},45225:(We,de,D)=>{function y(h,Z,o,Q=0,H=!1){const oe=Z.schedule(function(){o(),H?h.add(this.schedule(null,Q)):this.unsubscribe()},Q);if(h.add(oe),!H)return oe}D.d(de,{N:()=>y})},33669:(We,de,D)=>{function y(h){return h}D.d(de,{D:()=>y})},47441:(We,de,D)=>{D.d(de,{X:()=>y});const y=h=>h&&"number"==typeof h.length&&"function"!=typeof h},37953:(We,de,D)=>{D.d(de,{T:()=>h});var y=D(98071);function h(Z){return Symbol.asyncIterator&&(0,y.T)(Z?.[Symbol.asyncIterator])}},98071:(We,de,D)=>{function y(h){return"function"==typeof h}D.d(de,{T:()=>y})},55055:(We,de,D)=>{D.d(de,{l:()=>Z});var y=D(3494),h=D(98071);function Z(o){return(0,h.T)(o[y.s])}},85397:(We,de,D)=>{D.d(de,{x:()=>Z});var y=D(4761),h=D(98071);function Z(o){return(0,h.T)(o?.[y.l])}},74402:(We,de,D)=>{D.d(de,{A:()=>Z});var y=D(71985),h=D(98071);function Z(o){return!!o&&(o instanceof y.c||(0,h.T)(o.lift)&&(0,h.T)(o.subscribe))}},59858:(We,de,D)=>{D.d(de,{y:()=>h});var y=D(98071);function h(Z){return(0,y.T)(Z?.then)}},15196:(We,de,D)=>{D.d(de,{C:()=>Z,U:()=>o});var y=D(31635),h=D(98071);function Z(Q){return(0,y.AQ)(this,arguments,function*(){const oe=Q.getReader();try{for(;;){const{value:ue,done:ie}=yield(0,y.N3)(oe.read());if(ie)return yield(0,y.N3)(void 0);yield yield(0,y.N3)(ue)}}finally{oe.releaseLock()}})}function o(Q){return(0,h.T)(Q?.getReader)}},79470:(We,de,D)=>{D.d(de,{m:()=>h});var y=D(98071);function h(Z){return Z&&(0,y.T)(Z.schedule)}},39974:(We,de,D)=>{D.d(de,{N:()=>Z,S:()=>h});var y=D(98071);function h(o){return(0,y.T)(o?.lift)}function Z(o){return Q=>{if(h(Q))return Q.lift(function(H){try{return o(H,this)}catch(oe){this.error(oe)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(We,de,D)=>{D.d(de,{I:()=>o});var y=D(96354);const{isArray:h}=Array;function o(Q){return(0,y.T)(H=>function Z(Q,H){return h(H)?Q(...H):Q(H)}(Q,H))}},85343:(We,de,D)=>{function y(){}D.d(de,{l:()=>y})},71203:(We,de,D)=>{D.d(de,{F:()=>h,m:()=>Z});var y=D(33669);function h(...o){return Z(o)}function Z(o){return 0===o.length?y.D:1===o.length?o[0]:function(H){return o.reduce((oe,ue)=>ue(oe),H)}}},45334:(We,de,D)=>{D.d(de,{m:()=>Z});var y=D(41026),h=D(19270);function Z(o){h.f.setTimeout(()=>{const{onUnhandledError:Q}=y.$;if(!Q)throw o;Q(o)})}},50591:(We,de,D)=>{function y(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}D.d(de,{L:()=>y})},49969:(We,de,D)=>{D.d(de,{FX:()=>zt,If:()=>Z,K2:()=>ue,S6:()=>rt,hZ:()=>Q,i0:()=>H,iF:()=>ie,kY:()=>B,kp:()=>o,sf:()=>et,ui:()=>st,wk:()=>le});var y=D(60177),h=D(54438),Z=function(Ne){return Ne[Ne.State=0]="State",Ne[Ne.Transition=1]="Transition",Ne[Ne.Sequence=2]="Sequence",Ne[Ne.Group=3]="Group",Ne[Ne.Animate=4]="Animate",Ne[Ne.Keyframes=5]="Keyframes",Ne[Ne.Style=6]="Style",Ne[Ne.Trigger=7]="Trigger",Ne[Ne.Reference=8]="Reference",Ne[Ne.AnimateChild=9]="AnimateChild",Ne[Ne.AnimateRef=10]="AnimateRef",Ne[Ne.Query=11]="Query",Ne[Ne.Stagger=12]="Stagger",Ne}(Z||{});const o="*";function Q(Ne,Te){return{type:Z.Trigger,name:Ne,definitions:Te,options:{}}}function H(Ne,Te=null){return{type:Z.Animate,styles:Te,timings:Ne}}function ue(Ne,Te=null){return{type:Z.Sequence,steps:Ne,options:Te}}function ie(Ne){return{type:Z.Style,styles:Ne,offset:null}}function le(Ne,Te,ot){return{type:Z.State,name:Ne,styles:Te,options:ot}}function B(Ne,Te,ot=null){return{type:Z.Transition,expr:Ne,animation:Te,options:ot}}let rt=(()=>{class Ne{static#e=this.\u0275fac=function(_t){return new(_t||Ne)};static#t=this.\u0275prov=h.jDH({token:Ne,factory:()=>(0,h.WQX)(kt),providedIn:"root"})}return Ne})();class gt{}let kt=(()=>{class Ne extends rt{constructor(ot,_t){if(super(),this.animationModuleType=(0,h.WQX)(h.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=ot.createRenderer(_t.body,{id:"0",encapsulation:h.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function $e(Ne){const Te=Ne.\u0275type;return 0===Te||1===Te}(this._renderer))throw new h.wOt(3600,!1)}build(ot){const _t=this._nextAnimationId;this._nextAnimationId++;const Qt=Array.isArray(ot)?ue(ot):ot;return Je(this._renderer,null,_t,"register",[Qt]),new Le(_t,this._renderer)}static#e=this.\u0275fac=function(_t){return new(_t||Ne)(h.KVO(h._9s),h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})();class Le extends gt{constructor(Te,ot){super(),this._id=Te,this._renderer=ot}create(Te,ot){return new ke(this._id,Te,ot||{},this._renderer)}}class ke{constructor(Te,ot,_t,Qt){this.id=Te,this.element=ot,this._renderer=Qt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_t)}_listen(Te,ot){return this._renderer.listen(this.element,`@@${this.id}:${Te}`,ot)}_command(Te,...ot){Je(this._renderer,this.element,this.id,Te,ot)}onDone(Te){this._listen("done",Te)}onStart(Te){this._listen("start",Te)}onDestroy(Te){this._listen("destroy",Te)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(Te){this._command("setPosition",Te)}getPosition(){return function je(Ne){const Te=Ne.\u0275type;return 0===Te?Ne:1===Te?Ne.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function Je(Ne,Te,ot,_t,Qt){Ne.setProperty(Te,`@@${ot}:${_t}`,Qt)}class et{constructor(Te=0,ot=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Te+ot}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Te=>Te()),this._onDoneFns=[])}onStart(Te){this._originalOnStartFns.push(Te),this._onStartFns.push(Te)}onDone(Te){this._originalOnDoneFns.push(Te),this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Te=>Te()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Te=>Te()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Te){this._position=this.totalTime?Te*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Te){const ot="start"==Te?this._onStartFns:this._onDoneFns;ot.forEach(_t=>_t()),ot.length=0}}class st{constructor(Te){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Te;let ot=0,_t=0,Qt=0;const dn=this.players.length;0==dn?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ce=>{Ce.onDone(()=>{++ot==dn&&this._onFinish()}),Ce.onDestroy(()=>{++_t==dn&&this._onDestroy()}),Ce.onStart(()=>{++Qt==dn&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,U)=>Math.max(Ce,U.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Te=>Te()),this._onDoneFns=[])}init(){this.players.forEach(Te=>Te.init())}onStart(Te){this._onStartFns.push(Te)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Te=>Te()),this._onStartFns=[])}onDone(Te){this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Te=>Te.play())}pause(){this.players.forEach(Te=>Te.pause())}restart(){this.players.forEach(Te=>Te.restart())}finish(){this._onFinish(),this.players.forEach(Te=>Te.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Te=>Te.destroy()),this._onDestroyFns.forEach(Te=>Te()),this._onDestroyFns=[])}reset(){this.players.forEach(Te=>Te.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Te){const ot=Te*this.totalTime;this.players.forEach(_t=>{const Qt=_t.totalTime?Math.min(1,ot/_t.totalTime):1;_t.setPosition(Qt)})}getPosition(){const Te=this.players.reduce((ot,_t)=>null===ot||_t.totalTime>ot.totalTime?_t:ot,null);return null!=Te?Te.getPosition():0}beforeDestroy(){this.players.forEach(Te=>{Te.beforeDestroy&&Te.beforeDestroy()})}triggerCallback(Te){const ot="start"==Te?this._onStartFns:this._onDoneFns;ot.forEach(_t=>_t()),ot.length=0}}const zt="!"},60177:(We,de,D)=>{D.d(de,{AJ:()=>ji,B3:()=>It,Jj:()=>fi,MD:()=>gi,N0:()=>qn,OI:()=>ro,P9:()=>Ao,QT:()=>Z,Sm:()=>_e,Sq:()=>ee,T3:()=>Hr,TG:()=>mo,UE:()=>Yo,VF:()=>Q,Vy:()=>Ro,Xr:()=>Oo,YU:()=>$r,ZD:()=>o,_b:()=>no,aZ:()=>rt,bT:()=>Ge,e1:()=>Ke,fw:()=>Oe,hb:()=>V,hj:()=>ie,pM:()=>ee,qQ:()=>oe,ux:()=>se,vh:()=>Fo});var y=D(54438);let h=null;function Z(){return h}function o(p){h??=p}class Q{}const oe=new y.nKC("");let ue=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=y.jDH({token:p,factory:()=>(0,y.WQX)(le),providedIn:"platform"})}return p})();const ie=new y.nKC("");let le=(()=>{class p extends ue{constructor(){super(),this._doc=(0,y.WQX)(oe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Z().getBaseHref(this._doc)}onPopState(E){const I=Z().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=Z().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(E){this._location.pathname=E}pushState(E,I,X){this._history.pushState(E,I,X)}replaceState(E,I,X){this._history.replaceState(E,I,X)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=y.jDH({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function Y(p,F){if(0==p.length)return F;if(0==F.length)return p;let E=0;return p.endsWith("/")&&E++,F.startsWith("/")&&E++,2==E?p+F.substring(1):1==E?p+F:p+"/"+F}function B(p){const F=p.match(/#|\?|$/),E=F&&F.index||p.length;return p.slice(0,E-("/"===p[E-1]?1:0))+p.slice(E)}function ce(p){return p&&"?"!==p[0]?"?"+p:p}let V=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=y.jDH({token:p,factory:()=>(0,y.WQX)(_e),providedIn:"root"})}return p})();const ge=new y.nKC("");let _e=(()=>{class p extends V{constructor(E,I){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,y.WQX)(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return Y(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+ce(this._platformLocation.search),X=this._platformLocation.hash;return X&&E?`${I}${X}`:I}pushState(E,I,X,be){const Ie=this.prepareExternalUrl(X+ce(be));this._platformLocation.pushState(E,I,Ie)}replaceState(E,I,X,be){const Ie=this.prepareExternalUrl(X+ce(be));this._platformLocation.replaceState(E,I,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(y.KVO(ue),y.KVO(ge,8))};static#t=this.\u0275prov=y.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),Oe=(()=>{class p extends V{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){const I=this._platformLocation.hash??"#";return I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=Y(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,X,be){let Ie=this.prepareExternalUrl(X+ce(be));0==Ie.length&&(Ie=this._platformLocation.pathname),this._platformLocation.pushState(E,I,Ie)}replaceState(E,I,X,be){let Ie=this.prepareExternalUrl(X+ce(be));0==Ie.length&&(Ie=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(y.KVO(ue),y.KVO(ge,8))};static#t=this.\u0275prov=y.jDH({token:p,factory:p.\u0275fac})}return p})(),rt=(()=>{class p{constructor(E){this._subject=new y.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const I=this._locationStrategy.getBaseHref();this._basePath=function ke(p){if(new RegExp("^(https?:)?//").test(p)){const[,E]=p.split(/\/\/[^\/]+/);return E}return p}(B(Le(I))),this._locationStrategy.onPopState(X=>{this._subject.emit({url:this.path(!0),pop:!0,state:X.state,type:X.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+ce(I))}normalize(E){return p.stripTrailingSlash(function kt(p,F){if(!p||!F.startsWith(p))return F;const E=F.substring(p.length);return""===E||["/",";","?","#"].includes(E[0])?E:F}(this._basePath,Le(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,I="",X=null){this._locationStrategy.pushState(X,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ce(I)),X)}replaceState(E,I="",X=null){this._locationStrategy.replaceState(X,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ce(I)),X)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription??=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}),()=>{const I=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(X=>X(E,I))}subscribe(E,I,X){return this._subject.subscribe({next:E,error:I,complete:X})}static#e=this.normalizeQueryParams=ce;static#t=this.joinWithSlash=Y;static#n=this.stripTrailingSlash=B;static#r=this.\u0275fac=function(I){return new(I||p)(y.KVO(V))};static#o=this.\u0275prov=y.jDH({token:p,factory:()=>function gt(){return new rt((0,y.KVO)(V))}(),providedIn:"root"})}return p})();function Le(p){return p.replace(/\/index.html$/,"")}var et=function(p){return p[p.Format=0]="Format",p[p.Standalone=1]="Standalone",p}(et||{}),st=function(p){return p[p.Narrow=0]="Narrow",p[p.Abbreviated=1]="Abbreviated",p[p.Wide=2]="Wide",p[p.Short=3]="Short",p}(st||{}),zt=function(p){return p[p.Short=0]="Short",p[p.Medium=1]="Medium",p[p.Long=2]="Long",p[p.Full=3]="Full",p}(zt||{});const Ne={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function $(p,F){return en((0,y.H5H)(p)[y.KH2.DateFormat],F)}function re(p,F){return en((0,y.H5H)(p)[y.KH2.TimeFormat],F)}function Me(p,F){return en((0,y.H5H)(p)[y.KH2.DateTimeFormat],F)}function we(p,F){const E=(0,y.H5H)(p),I=E[y.KH2.NumberSymbols][F];if(typeof I>"u"){if(F===Ne.CurrencyDecimal)return E[y.KH2.NumberSymbols][Ne.Decimal];if(F===Ne.CurrencyGroup)return E[y.KH2.NumberSymbols][Ne.Group]}return I}function tt(p){if(!p[y.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[y.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function en(p,F){for(let E=F;E>-1;E--)if(typeof p[E]<"u")return p[E];throw new Error("Locale data API: locale data undefined")}function Ve(p){const[F,E]=p.split(":");return{hours:+F,minutes:+E}}const Vr=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,xn={},pr=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var bn=function(p){return p[p.Short=0]="Short",p[p.ShortGMT=1]="ShortGMT",p[p.Long=2]="Long",p[p.Extended=3]="Extended",p}(bn||{}),Ft=function(p){return p[p.FullYear=0]="FullYear",p[p.Month=1]="Month",p[p.Date=2]="Date",p[p.Hours=3]="Hours",p[p.Minutes=4]="Minutes",p[p.Seconds=5]="Seconds",p[p.FractionalSeconds=6]="FractionalSeconds",p[p.Day=7]="Day",p}(Ft||{}),Bt=function(p){return p[p.DayPeriods=0]="DayPeriods",p[p.Days=1]="Days",p[p.Months=2]="Months",p[p.Eras=3]="Eras",p}(Bt||{});function sr(p,F,E,I){let X=function Ae(p){if(ze(p))return p;if("number"==typeof p&&!isNaN(p))return new Date(p);if("string"==typeof p){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){const[X,be=1,Ie=1]=p.split("-").map(lt=>+lt);return er(X,be-1,Ie)}const E=parseFloat(p);if(!isNaN(p-E))return new Date(E);let I;if(I=p.match(Vr))return function xe(p){const F=new Date(0);let E=0,I=0;const X=p[8]?F.setUTCFullYear:F.setFullYear,be=p[8]?F.setUTCHours:F.setHours;p[9]&&(E=Number(p[9]+p[10]),I=Number(p[9]+p[11])),X.call(F,Number(p[1]),Number(p[2])-1,Number(p[3]));const Ie=Number(p[4]||0)-E,lt=Number(p[5]||0)-I,Tn=Number(p[6]||0),sn=Math.floor(1e3*parseFloat("0."+(p[7]||0)));return be.call(F,Ie,lt,Tn,sn),F}(I)}const F=new Date(p);if(!ze(F))throw new Error(`Unable to convert "${p}" into a date`);return F}(p);F=Mn(E,F)||F;let lt,Ie=[];for(;F;){if(lt=pr.exec(F),!lt){Ie.push(F);break}{Ie=Ie.concat(lt.slice(1));const vn=Ie.pop();if(!vn)break;F=vn}}let Tn=X.getTimezoneOffset();I&&(Tn=O(I,Tn),X=function me(p,F,E){const I=E?-1:1,X=p.getTimezoneOffset();return function z(p,F){return(p=new Date(p.getTime())).setMinutes(p.getMinutes()+F),p}(p,I*(O(F,X)-X))}(X,I,!0));let sn="";return Ie.forEach(vn=>{const Wt=function S(p){if(w[p])return w[p];let F;switch(p){case"G":case"GG":case"GGG":F=at(Bt.Eras,st.Abbreviated);break;case"GGGG":F=at(Bt.Eras,st.Wide);break;case"GGGGG":F=at(Bt.Eras,st.Narrow);break;case"y":F=bt(Ft.FullYear,1,0,!1,!0);break;case"yy":F=bt(Ft.FullYear,2,0,!0,!0);break;case"yyy":F=bt(Ft.FullYear,3,0,!1,!0);break;case"yyyy":F=bt(Ft.FullYear,4,0,!1,!0);break;case"Y":F=ye(1);break;case"YY":F=ye(2,!0);break;case"YYY":F=ye(3);break;case"YYYY":F=ye(4);break;case"M":case"L":F=bt(Ft.Month,1,1);break;case"MM":case"LL":F=bt(Ft.Month,2,1);break;case"MMM":F=at(Bt.Months,st.Abbreviated);break;case"MMMM":F=at(Bt.Months,st.Wide);break;case"MMMMM":F=at(Bt.Months,st.Narrow);break;case"LLL":F=at(Bt.Months,st.Abbreviated,et.Standalone);break;case"LLLL":F=at(Bt.Months,st.Wide,et.Standalone);break;case"LLLLL":F=at(Bt.Months,st.Narrow,et.Standalone);break;case"w":F=ct(1);break;case"ww":F=ct(2);break;case"W":F=ct(1,!0);break;case"d":F=bt(Ft.Date,1);break;case"dd":F=bt(Ft.Date,2);break;case"c":case"cc":F=bt(Ft.Day,1);break;case"ccc":F=at(Bt.Days,st.Abbreviated,et.Standalone);break;case"cccc":F=at(Bt.Days,st.Wide,et.Standalone);break;case"ccccc":F=at(Bt.Days,st.Narrow,et.Standalone);break;case"cccccc":F=at(Bt.Days,st.Short,et.Standalone);break;case"E":case"EE":case"EEE":F=at(Bt.Days,st.Abbreviated);break;case"EEEE":F=at(Bt.Days,st.Wide);break;case"EEEEE":F=at(Bt.Days,st.Narrow);break;case"EEEEEE":F=at(Bt.Days,st.Short);break;case"a":case"aa":case"aaa":F=at(Bt.DayPeriods,st.Abbreviated);break;case"aaaa":F=at(Bt.DayPeriods,st.Wide);break;case"aaaaa":F=at(Bt.DayPeriods,st.Narrow);break;case"b":case"bb":case"bbb":F=at(Bt.DayPeriods,st.Abbreviated,et.Standalone,!0);break;case"bbbb":F=at(Bt.DayPeriods,st.Wide,et.Standalone,!0);break;case"bbbbb":F=at(Bt.DayPeriods,st.Narrow,et.Standalone,!0);break;case"B":case"BB":case"BBB":F=at(Bt.DayPeriods,st.Abbreviated,et.Format,!0);break;case"BBBB":F=at(Bt.DayPeriods,st.Wide,et.Format,!0);break;case"BBBBB":F=at(Bt.DayPeriods,st.Narrow,et.Format,!0);break;case"h":F=bt(Ft.Hours,1,-12);break;case"hh":F=bt(Ft.Hours,2,-12);break;case"H":F=bt(Ft.Hours,1);break;case"HH":F=bt(Ft.Hours,2);break;case"m":F=bt(Ft.Minutes,1);break;case"mm":F=bt(Ft.Minutes,2);break;case"s":F=bt(Ft.Seconds,1);break;case"ss":F=bt(Ft.Seconds,2);break;case"S":F=bt(Ft.FractionalSeconds,1);break;case"SS":F=bt(Ft.FractionalSeconds,2);break;case"SSS":F=bt(Ft.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":F=Yt(bn.Short);break;case"ZZZZZ":F=Yt(bn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":F=Yt(bn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":F=Yt(bn.Long);break;default:return null}return w[p]=F,F}(vn);sn+=Wt?Wt(X,E,Tn):"''"===vn?"'":vn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),sn}function er(p,F,E){const I=new Date(0);return I.setFullYear(p,F,E),I.setHours(0,0,0),I}function Mn(p,F){const E=function ot(p){return(0,y.H5H)(p)[y.KH2.LocaleId]}(p);if(xn[E]??={},xn[E][F])return xn[E][F];let I="";switch(F){case"shortDate":I=$(p,zt.Short);break;case"mediumDate":I=$(p,zt.Medium);break;case"longDate":I=$(p,zt.Long);break;case"fullDate":I=$(p,zt.Full);break;case"shortTime":I=re(p,zt.Short);break;case"mediumTime":I=re(p,zt.Medium);break;case"longTime":I=re(p,zt.Long);break;case"fullTime":I=re(p,zt.Full);break;case"short":const X=Mn(p,"shortTime"),be=Mn(p,"shortDate");I=Xn(Me(p,zt.Short),[X,be]);break;case"medium":const Ie=Mn(p,"mediumTime"),lt=Mn(p,"mediumDate");I=Xn(Me(p,zt.Medium),[Ie,lt]);break;case"long":const Tn=Mn(p,"longTime"),sn=Mn(p,"longDate");I=Xn(Me(p,zt.Long),[Tn,sn]);break;case"full":const vn=Mn(p,"fullTime"),Wt=Mn(p,"fullDate");I=Xn(Me(p,zt.Full),[vn,Wt])}return I&&(xn[E][F]=I),I}function Xn(p,F){return F&&(p=p.replace(/\{([^}]+)}/g,function(E,I){return null!=F&&I in F?F[I]:E})),p}function Rn(p,F,E="-",I,X){let be="";(p<0||X&&p<=0)&&(X?p=1-p:(p=-p,be=E));let Ie=String(p);for(;Ie.length0||lt>-E)&&(lt+=E),p===Ft.Hours)0===lt&&-12===E&&(lt=12);else if(p===Ft.FractionalSeconds)return function Gt(p,F){return Rn(p,3).substring(0,F)}(lt,F);const Tn=we(Ie,Ne.MinusSign);return Rn(lt,F,Tn,I,X)}}function at(p,F,E=et.Format,I=!1){return function(X,be){return function Fn(p,F,E,I,X,be){switch(E){case Bt.Months:return function dn(p,F,E){const I=(0,y.H5H)(p),be=en([I[y.KH2.MonthsFormat],I[y.KH2.MonthsStandalone]],F);return en(be,E)}(F,X,I)[p.getMonth()];case Bt.Days:return function Qt(p,F,E){const I=(0,y.H5H)(p),be=en([I[y.KH2.DaysFormat],I[y.KH2.DaysStandalone]],F);return en(be,E)}(F,X,I)[p.getDay()];case Bt.DayPeriods:const Ie=p.getHours(),lt=p.getMinutes();if(be){const sn=function an(p){const F=(0,y.H5H)(p);return tt(F),(F[y.KH2.ExtraData][2]||[]).map(I=>"string"==typeof I?Ve(I):[Ve(I[0]),Ve(I[1])])}(F),vn=function tn(p,F,E){const I=(0,y.H5H)(p);tt(I);const be=en([I[y.KH2.ExtraData][0],I[y.KH2.ExtraData][1]],F)||[];return en(be,E)||[]}(F,X,I),Wt=sn.findIndex(Ln=>{if(Array.isArray(Ln)){const[pn,$n]=Ln,ni=Ie>=pn.hours&<>=pn.minutes,Xr=Ie<$n.hours||Ie===$n.hours&<<$n.minutes;if(pn.hours<$n.hours){if(ni&&Xr)return!0}else if(ni||Xr)return!0}else if(Ln.hours===Ie&&Ln.minutes===lt)return!0;return!1});if(-1!==Wt)return vn[Wt]}return function _t(p,F,E){const I=(0,y.H5H)(p),be=en([I[y.KH2.DayPeriodsFormat],I[y.KH2.DayPeriodsStandalone]],F);return en(be,E)}(F,X,I)[Ie<12?0:1];case Bt.Eras:return function Ce(p,F){return en((0,y.H5H)(p)[y.KH2.Eras],F)}(F,I)[p.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${E}`)}}(X,be,p,F,E,I)}}function Yt(p){return function(F,E,I){const X=-1*I,be=we(E,Ne.MinusSign),Ie=X>0?Math.floor(X/60):Math.ceil(X/60);switch(p){case bn.Short:return(X>=0?"+":"")+Rn(Ie,2,be)+Rn(Math.abs(X%60),2,be);case bn.ShortGMT:return"GMT"+(X>=0?"+":"")+Rn(Ie,1,be);case bn.Long:return"GMT"+(X>=0?"+":"")+Rn(Ie,2,be)+":"+Rn(Math.abs(X%60),2,be);case bn.Extended:return 0===I?"Z":(X>=0?"+":"")+Rn(Ie,2,be)+":"+Rn(Math.abs(X%60),2,be);default:throw new Error(`Unknown zone width "${p}"`)}}}const Qn=0,tr=4;function Yn(p){const F=p.getDay(),E=0===F?-3:tr-F;return er(p.getFullYear(),p.getMonth(),p.getDate()+E)}function ct(p,F=!1){return function(E,I){let X;if(F){const be=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,Ie=E.getDate();X=1+Math.floor((Ie+be)/7)}else{const be=Yn(E),Ie=function nr(p){const F=er(p,Qn,1).getDay();return er(p,0,1+(F<=tr?tr:tr+7)-F)}(be.getFullYear()),lt=be.getTime()-Ie.getTime();X=1+Math.round(lt/6048e5)}return Rn(X,p,we(I,Ne.MinusSign))}}function ye(p,F=!1){return function(E,I){return Rn(Yn(E).getFullYear(),p,we(I,Ne.MinusSign),F)}}const w={};function O(p,F){p=p.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(E)?F:E}function ze(p){return p instanceof Date&&!isNaN(p.valueOf())}function no(p,F){F=encodeURIComponent(F);for(const E of p.split(";")){const I=E.indexOf("="),[X,be]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(X.trim()===F)return decodeURIComponent(be)}return null}const po=/\s+/,At=[];let $r=(()=>{class p{constructor(E,I){this._ngEl=E,this._renderer=I,this.initialClasses=At,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(po):At}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(po):E}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const I of E)this._updateState(I,!0);else if(null!=E)for(const I of Object.keys(E))this._updateState(I,!!E[I]);this._applyStateDiff()}_updateState(E,I){const X=this.stateMap.get(E);void 0!==X?(X.enabled!==I&&(X.changed=!0,X.enabled=I),X.touched=!0):this.stateMap.set(E,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const I=E[0],X=E[1];X.changed?(this._toggleClass(I,X.enabled),X.changed=!1):X.touched||(X.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),X.touched=!1}}_toggleClass(E,I){(E=E.trim()).length>0&&E.split(po).forEach(X=>{I?this._renderer.addClass(this._ngEl.nativeElement,X):this._renderer.removeClass(this._ngEl.nativeElement,X)})}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.aKT),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return p})(),ro=(()=>{class p{constructor(E){this._viewContainerRef=E,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(E){return void 0!==E.ngComponentOutletNgModule||void 0!==E.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(E){return void 0!==E.ngComponentOutlet||void 0!==E.ngComponentOutletContent||void 0!==E.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(E)}ngOnChanges(E){if(this._needToReCreateComponentInstance(E)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const I=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(E)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,y.w6W)(this.ngComponentOutletNgModule,L(I)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(L(I)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:I,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const E of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(E,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(E){for(const[I,X]of this._inputsUsed)X?(E.setInput(I,this.ngComponentOutletInputs[I]),this._inputsUsed.set(I,!1)):(E.setInput(I,void 0),this._inputsUsed.delete(I))}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[y.OA$]})}return p})();function L(p){return p.get(y.Vns).injector}class J{constructor(F,E,I,X){this.$implicit=F,this.ngForOf=E,this.index=I,this.count=X}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ee=(()=>{class p{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,I,X){this._viewContainer=E,this._template=I,this._differs=X,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((X,be,Ie)=>{if(null==X.previousIndex)I.createEmbeddedView(this._template,new J(X.item,this._ngForOf,-1,-1),null===Ie?void 0:Ie);else if(null==Ie)I.remove(null===be?void 0:be);else if(null!==be){const lt=I.get(be);I.move(lt,Ie),De(lt,X)}});for(let X=0,be=I.length;X{De(I.get(X.currentIndex),X)})}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b),y.rXU(y.C4Q),y.rXU(y._q3))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function De(p,F){p.context.$implicit=F.item}let Ge=(()=>{class p{constructor(E,I){this._viewContainer=E,this._context=new M,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){q("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){q("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#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b),y.rXU(y.C4Q))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class M{constructor(){this.$implicit=null,this.ngIf=null}}function q(p,F){if(F&&!F.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,y.Tbb)(F)}'.`)}class te{constructor(F,E){this._viewContainerRef=F,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(F){F&&!this._created?this.create():!F&&this._created&&this.destroy()}}let se=(()=>{class p{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews.push(E)}_matchCase(E){const I=E===this._ngSwitch;return this._lastCasesMatched||=I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(E){if(this._defaultViews.length>0&&E!==this._defaultUsed){this._defaultUsed=E;for(const I of this._defaultViews)I.enforceState(E)}}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return p})(),Ke=(()=>{class p{constructor(E,I,X){this.ngSwitch=X,X._addCase(),this._view=new te(E,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b),y.rXU(y.C4Q),y.rXU(se,9))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return p})(),It=(()=>{class p{constructor(E,I,X){this._ngEl=E,this._differs=I,this._renderer=X,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){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[X,be]=E.split("."),Ie=-1===X.indexOf("-")?void 0:y.czy.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,X,be?`${I}${be}`:I,Ie):this._renderer.removeStyle(this._ngEl.nativeElement,X,Ie)}_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#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.aKT),y.rXU(y.MKu),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return p})(),Hr=(()=>{class p{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(this._shouldRecreateView(E)){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const X=this._createContextForwardProxy();this._viewRef=I.createEmbeddedView(this.ngTemplateOutlet,X,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(E){return!!E.ngTemplateOutlet||!!E.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(E,I,X)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,I,X),get:(E,I,X)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,I,X)}})}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[y.OA$]})}return p})();function Pn(p,F){return new y.wOt(2100,!1)}class di{createSubscription(F,E){return(0,y.O8t)(()=>F.subscribe({next:E,error:I=>{throw I}}))}dispose(F){(0,y.O8t)(()=>F.unsubscribe())}}class oo{createSubscription(F,E){return F.then(E,I=>{throw I})}dispose(F){}}const go=new oo,xt=new di;let fi=(()=>{class p{constructor(E){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){if(!this._obj){if(E)try{this.markForCheckOnValueUpdate=!1,this._subscribe(E)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,y.jNT)(E))return go;if((0,y.zjR)(E))return xt;throw Pn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.gRc,16))};static#t=this.\u0275pipe=y.EJ8({name:"async",type:p,pure:!1,standalone:!0})}return p})();const pi=new y.nKC(""),So=new y.nKC("");let Fo=(()=>{class p{constructor(E,I,X){this.locale=E,this.defaultTimezone=I,this.defaultOptions=X}transform(E,I,X,be){if(null==E||""===E||E!=E)return null;try{return sr(E,I??this.defaultOptions?.dateFormat??"mediumDate",be||this.locale,X??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ie){throw Pn()}}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.xe9,16),y.rXU(pi,24),y.rXU(So,24))};static#t=this.\u0275pipe=y.EJ8({name:"date",type:p,pure:!0,standalone:!0})}return p})(),mo=(()=>{class p{transform(E){return JSON.stringify(E,null,2)}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275pipe=y.EJ8({name:"json",type:p,pure:!1,standalone:!0})}return p})(),Ao=(()=>{class p{transform(E,I,X){if(null==E)return null;if(!this.supports(E))throw Pn();return E.slice(I,X)}supports(E){return"string"==typeof E||Array.isArray(E)}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275pipe=y.EJ8({name:"slice",type:p,pure:!1,standalone:!0})}return p})(),gi=(()=>{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=y.$C({type:p});static#n=this.\u0275inj=y.G2t({})}return p})();const ji="browser",Bi="server";function Yo(p){return p===ji}function Ro(p){return p===Bi}let Oo=(()=>{class p{static#e=this.\u0275prov=(0,y.jDH)({token:p,providedIn:"root",factory:()=>Yo((0,y.WQX)(y.Agw))?new mi((0,y.WQX)(oe),window):new is})}return p})();class mi{constructor(F,E){this.document=F,this.window=E,this.offset=()=>[0,0]}setOffset(F){this.offset=Array.isArray(F)?()=>F:F}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(F){this.window.scrollTo(F[0],F[1])}scrollToAnchor(F){const E=function yo(p,F){const E=p.getElementById(F)||p.getElementsByName(F)[0];if(E)return E;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const I=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let X=I.currentNode;for(;X;){const be=X.shadowRoot;if(be){const Ie=be.getElementById(F)||be.querySelector(`[name="${F}"]`);if(Ie)return Ie}X=I.nextNode()}}return null}(this.document,F);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(F){this.window.history.scrollRestoration=F}scrollToElement(F){const E=F.getBoundingClientRect(),I=E.left+this.window.pageXOffset,X=E.top+this.window.pageYOffset,be=this.offset();this.window.scrollTo(I-be[0],X-be[1])}}class is{setOffset(F){}getScrollPosition(){return[0,0]}scrollToPosition(F){}scrollToAnchor(F){}setHistoryScrollRestoration(F){}}class qn{}},21626:(We,de,D)=>{D.d(de,{$R:()=>me,Qq:()=>Me,Sx:()=>ze});var y=D(10467),h=D(54438),Z=D(7673),o=D(71985),Q=D(22806),H=D(70274),oe=D(5964),ue=D(96354),ie=D(70980),le=D(25558),Y=D(60177);class B{}class ce{}class V{constructor(J){this.normalizedNames=new Map,this.lazyUpdate=null,J?"string"==typeof J?this.lazyInit=()=>{this.headers=new Map,J.split("\n").forEach(ee=>{const De=ee.indexOf(":");if(De>0){const Pe=ee.slice(0,De),Ge=Pe.toLowerCase(),M=ee.slice(De+1).trim();this.maybeSetNormalizedName(Pe,Ge),this.headers.has(Ge)?this.headers.get(Ge).push(M):this.headers.set(Ge,[M])}})}:typeof Headers<"u"&&J instanceof Headers?(this.headers=new Map,J.forEach((ee,De)=>{this.setHeaderEntries(De,ee)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(J).forEach(([ee,De])=>{this.setHeaderEntries(ee,De)})}:this.headers=new Map}has(J){return this.init(),this.headers.has(J.toLowerCase())}get(J){this.init();const ee=this.headers.get(J.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(J){return this.init(),this.headers.get(J.toLowerCase())||null}append(J,ee){return this.clone({name:J,value:ee,op:"a"})}set(J,ee){return this.clone({name:J,value:ee,op:"s"})}delete(J,ee){return this.clone({name:J,value:ee,op:"d"})}maybeSetNormalizedName(J,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,J)}init(){this.lazyInit&&(this.lazyInit instanceof V?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(J=>this.applyUpdate(J)),this.lazyUpdate=null))}copyFrom(J){J.init(),Array.from(J.headers.keys()).forEach(ee=>{this.headers.set(ee,J.headers.get(ee)),this.normalizedNames.set(ee,J.normalizedNames.get(ee))})}clone(J){const ee=new V;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([J]),ee}applyUpdate(J){const ee=J.name.toLowerCase();switch(J.op){case"a":case"s":let De=J.value;if("string"==typeof De&&(De=[De]),0===De.length)return;this.maybeSetNormalizedName(J.name,ee);const Pe=("a"===J.op?this.headers.get(ee):void 0)||[];Pe.push(...De),this.headers.set(ee,Pe);break;case"d":const Ge=J.value;if(Ge){let M=this.headers.get(ee);if(!M)return;M=M.filter(q=>-1===Ge.indexOf(q)),0===M.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,M)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}setHeaderEntries(J,ee){const De=(Array.isArray(ee)?ee:[ee]).map(Ge=>Ge.toString()),Pe=J.toLowerCase();this.headers.set(Pe,De),this.maybeSetNormalizedName(J,Pe)}forEach(J){this.init(),Array.from(this.normalizedNames.keys()).forEach(ee=>J(this.normalizedNames.get(ee),this.headers.get(ee)))}}class _e{encodeKey(J){return kt(J)}encodeValue(J){return kt(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const rt=/%(\d[a-f0-9])/gi,gt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function kt(L){return encodeURIComponent(L).replace(rt,(J,ee)=>gt[ee]??J)}function Le(L){return`${L}`}class ke{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new _e,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Oe(L,J){const ee=new Map;return L.length>0&&L.replace(/^\?/,"").split("&").forEach(Pe=>{const Ge=Pe.indexOf("="),[M,q]=-1==Ge?[J.decodeKey(Pe),""]:[J.decodeKey(Pe.slice(0,Ge)),J.decodeValue(Pe.slice(Ge+1))],A=ee.get(M)||[];A.push(q),ee.set(M,A)}),ee}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach(ee=>{const De=J.fromObject[ee],Pe=Array.isArray(De)?De.map(Le):[Le(De)];this.map.set(ee,Pe)})):this.map=null}has(J){return this.init(),this.map.has(J)}get(J){this.init();const ee=this.map.get(J);return ee?ee[0]:null}getAll(J){return this.init(),this.map.get(J)||null}keys(){return this.init(),Array.from(this.map.keys())}append(J,ee){return this.clone({param:J,value:ee,op:"a"})}appendAll(J){const ee=[];return Object.keys(J).forEach(De=>{const Pe=J[De];Array.isArray(Pe)?Pe.forEach(Ge=>{ee.push({param:De,value:Ge,op:"a"})}):ee.push({param:De,value:Pe,op:"a"})}),this.clone(ee)}set(J,ee){return this.clone({param:J,value:ee,op:"s"})}delete(J,ee){return this.clone({param:J,value:ee,op:"d"})}toString(){return this.init(),this.keys().map(J=>{const ee=this.encoder.encodeKey(J);return this.map.get(J).map(De=>ee+"="+this.encoder.encodeValue(De)).join("&")}).filter(J=>""!==J).join("&")}clone(J){const ee=new ke({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(J),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(J=>this.map.set(J,this.cloneFrom.map.get(J))),this.updates.forEach(J=>{switch(J.op){case"a":case"s":const ee=("a"===J.op?this.map.get(J.param):void 0)||[];ee.push(Le(J.value)),this.map.set(J.param,ee);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let De=this.map.get(J.param)||[];const Pe=De.indexOf(Le(J.value));-1!==Pe&&De.splice(Pe,1),De.length>0?this.map.set(J.param,De):this.map.delete(J.param)}}}),this.cloneFrom=this.updates=null)}}class je{constructor(){this.map=new Map}set(J,ee){return this.map.set(J,ee),this}get(J){return this.map.has(J)||this.map.set(J,J.defaultValue()),this.map.get(J)}delete(J){return this.map.delete(J),this}has(J){return this.map.has(J)}keys(){return this.map.keys()}}function et(L){return typeof ArrayBuffer<"u"&&L instanceof ArrayBuffer}function st(L){return typeof Blob<"u"&&L instanceof Blob}function zt(L){return typeof FormData<"u"&&L instanceof FormData}class Te{constructor(J,ee,De,Pe){let Ge;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function $e(L){switch(L){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==De?De:null,Ge=Pe):Ge=De,Ge&&(this.reportProgress=!!Ge.reportProgress,this.withCredentials=!!Ge.withCredentials,Ge.responseType&&(this.responseType=Ge.responseType),Ge.headers&&(this.headers=Ge.headers),Ge.context&&(this.context=Ge.context),Ge.params&&(this.params=Ge.params),this.transferCache=Ge.transferCache),this.headers??=new V,this.context??=new je,this.params){const M=this.params.toString();if(0===M.length)this.urlWithParams=ee;else{const q=ee.indexOf("?");this.urlWithParams=ee+(-1===q?"?":qCt.set(vt,J.setHeaders[vt]),te)),J.setParams&&(se=Object.keys(J.setParams).reduce((Ct,vt)=>Ct.set(vt,J.setParams[vt]),se)),new Te(ee,De,M,{params:se,headers:te,context:Ke,reportProgress:A,responseType:Pe,withCredentials:q,transferCache:Ge})}}var ot=function(L){return L[L.Sent=0]="Sent",L[L.UploadProgress=1]="UploadProgress",L[L.ResponseHeader=2]="ResponseHeader",L[L.DownloadProgress=3]="DownloadProgress",L[L.Response=4]="Response",L[L.User=5]="User",L}(ot||{});class _t{constructor(J,ee=200,De="OK"){this.headers=J.headers||new V,this.status=void 0!==J.status?J.status:ee,this.statusText=J.statusText||De,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class Qt extends _t{constructor(J={}){super(J),this.type=ot.ResponseHeader}clone(J={}){return new Qt({headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class dn extends _t{constructor(J={}){super(J),this.type=ot.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new dn({body:void 0!==J.body?J.body:this.body,headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class Ce extends _t{constructor(J){super(J,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${J.url||"(unknown url)"}`:`Http failure response for ${J.url||"(unknown url)"}: ${J.status} ${J.statusText}`,this.error=J.error||null}}function re(L,J){return{body:J,headers:L.headers,context:L.context,observe:L.observe,params:L.params,reportProgress:L.reportProgress,responseType:L.responseType,withCredentials:L.withCredentials,transferCache:L.transferCache}}let Me=(()=>{class L{constructor(ee){this.handler=ee}request(ee,De,Pe={}){let Ge;if(ee instanceof Te)Ge=ee;else{let A,te;A=Pe.headers instanceof V?Pe.headers:new V(Pe.headers),Pe.params&&(te=Pe.params instanceof ke?Pe.params:new ke({fromObject:Pe.params})),Ge=new Te(ee,De,void 0!==Pe.body?Pe.body:null,{headers:A,context:Pe.context,params:te,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials,transferCache:Pe.transferCache})}const M=(0,Z.of)(Ge).pipe((0,H.H)(A=>this.handler.handle(A)));if(ee instanceof Te||"events"===Pe.observe)return M;const q=M.pipe((0,oe.p)(A=>A instanceof dn));switch(Pe.observe||"body"){case"body":switch(Ge.responseType){case"arraybuffer":return q.pipe((0,ue.T)(A=>{if(null!==A.body&&!(A.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return A.body}));case"blob":return q.pipe((0,ue.T)(A=>{if(null!==A.body&&!(A.body instanceof Blob))throw new Error("Response is not a Blob.");return A.body}));case"text":return q.pipe((0,ue.T)(A=>{if(null!==A.body&&"string"!=typeof A.body)throw new Error("Response is not a string.");return A.body}));default:return q.pipe((0,ue.T)(A=>A.body))}case"response":return q;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(ee,De={}){return this.request("DELETE",ee,De)}get(ee,De={}){return this.request("GET",ee,De)}head(ee,De={}){return this.request("HEAD",ee,De)}jsonp(ee,De){return this.request("JSONP",ee,{params:(new ke).append(De,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,De={}){return this.request("OPTIONS",ee,De)}patch(ee,De,Pe={}){return this.request("PATCH",ee,re(Pe,De))}post(ee,De,Pe={}){return this.request("POST",ee,re(Pe,De))}put(ee,De,Pe={}){return this.request("PUT",ee,re(Pe,De))}static#e=this.\u0275fac=function(De){return new(De||L)(h.KVO(B))};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();const we=/^\)\]\}',?\n/;function mt(L){if(L.url)return L.url;const J="X-Request-URL".toLocaleLowerCase();return L.headers.get(J)}let Jt=(()=>{class L{constructor(){this.fetchImpl=(0,h.WQX)(dt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,h.WQX)(h.SKi)}handle(ee){return new o.c(De=>{const Pe=new AbortController;return this.doRequest(ee,Pe.signal,De).then(Vt,Ge=>De.error(new Ce({error:Ge}))),()=>Pe.abort()})}doRequest(ee,De,Pe){var Ge=this;return(0,y.A)(function*(){const M=Ge.createRequestInit(ee);let q;try{const qt=Ge.fetchImpl(ee.urlWithParams,{signal:De,...M});(function Ut(L){L.then(Vt,Vt)})(qt),Pe.next({type:ot.Sent}),q=yield qt}catch(qt){return void Pe.error(new Ce({error:qt,status:qt.status??0,statusText:qt.statusText,url:ee.urlWithParams,headers:qt.headers}))}const A=new V(q.headers),te=q.statusText,se=mt(q)??ee.urlWithParams;let Ke=q.status,Ct=null;if(ee.reportProgress&&Pe.next(new Qt({headers:A,status:Ke,statusText:te,url:se})),q.body){const qt=q.headers.get("content-length"),wt=[],Xe=q.body.getReader();let Hr,yn,It=0;const Pn=typeof Zone<"u"&&Zone.current;yield Ge.ngZone.runOutsideAngular((0,y.A)(function*(){for(;;){const{done:oo,value:go}=yield Xe.read();if(oo)break;if(wt.push(go),It+=go.length,ee.reportProgress){yn="text"===ee.responseType?(yn??"")+(Hr??=new TextDecoder).decode(go,{stream:!0}):void 0;const xt=()=>Pe.next({type:ot.DownloadProgress,total:qt?+qt:void 0,loaded:It,partialText:yn});Pn?Pn.run(xt):xt()}}}));const di=Ge.concatChunks(wt,It);try{const oo=q.headers.get("Content-Type")??"";Ct=Ge.parseBody(ee,di,oo)}catch(oo){return void Pe.error(new Ce({error:oo,headers:new V(q.headers),status:q.status,statusText:q.statusText,url:mt(q)??ee.urlWithParams}))}}0===Ke&&(Ke=Ct?200:0),Ke>=200&&Ke<300?(Pe.next(new dn({body:Ct,headers:A,status:Ke,statusText:te,url:se})),Pe.complete()):Pe.error(new Ce({error:Ct,headers:A,status:Ke,statusText:te,url:se}))})()}parseBody(ee,De,Pe){switch(ee.responseType){case"json":const Ge=(new TextDecoder).decode(De).replace(we,"");return""===Ge?null:JSON.parse(Ge);case"text":return(new TextDecoder).decode(De);case"blob":return new Blob([De],{type:Pe});case"arraybuffer":return De.buffer}}createRequestInit(ee){const De={},Pe=ee.withCredentials?"include":void 0;if(ee.headers.forEach((Ge,M)=>De[Ge]=M.join(",")),De.Accept??="application/json, text/plain, */*",!De["Content-Type"]){const Ge=ee.detectContentTypeHeader();null!==Ge&&(De["Content-Type"]=Ge)}return{body:ee.serializeBody(),method:ee.method,headers:De,credentials:Pe}}concatChunks(ee,De){const Pe=new Uint8Array(De);let Ge=0;for(const M of ee)Pe.set(M,Ge),Ge+=M.length;return Pe}static#e=this.\u0275fac=function(De){return new(De||L)};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();class dt{}function Vt(){}function tt(L,J){return J(L)}function an(L,J){return(ee,De)=>J.intercept(ee,{handle:Pe=>L(Pe,De)})}const En=new h.nKC(""),en=new h.nKC(""),Ve=new h.nKC(""),ln=new h.nKC("",{providedIn:"root",factory:()=>!0});function kn(){let L=null;return(J,ee)=>{null===L&&(L=((0,h.WQX)(En,{optional:!0})??[]).reduceRight(an,tt));const De=(0,h.WQX)(h.TgB);if((0,h.WQX)(ln)){const Ge=De.add();return L(J,ee).pipe((0,ie.j)(()=>De.remove(Ge)))}return L(J,ee)}}let xn=(()=>{class L extends B{constructor(ee,De){super(),this.backend=ee,this.injector=De,this.chain=null,this.pendingTasks=(0,h.WQX)(h.TgB),this.contributeToStability=(0,h.WQX)(ln)}handle(ee){if(null===this.chain){const De=Array.from(new Set([...this.injector.get(en),...this.injector.get(Ve,[])]));this.chain=De.reduceRight((Pe,Ge)=>function tn(L,J,ee){return(De,Pe)=>(0,h.N4e)(ee,()=>J(De,Ge=>L(Ge,Pe)))}(Pe,Ge,this.injector),tt)}if(this.contributeToStability){const De=this.pendingTasks.add();return this.chain(ee,Pe=>this.backend.handle(Pe)).pipe((0,ie.j)(()=>this.pendingTasks.remove(De)))}return this.chain(ee,De=>this.backend.handle(De))}static#e=this.\u0275fac=function(De){return new(De||L)(h.KVO(ce),h.KVO(h.uvJ))};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();const Sn=/^\)\]\}',?\n/;let Fn=(()=>{class L{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new h.wOt(-2800,!1);const De=this.xhrFactory;return(De.\u0275loadImpl?(0,Q.H)(De.\u0275loadImpl()):(0,Z.of)(null)).pipe((0,le.n)(()=>new o.c(Ge=>{const M=De.build();if(M.open(ee.method,ee.urlWithParams),ee.withCredentials&&(M.withCredentials=!0),ee.headers.forEach((wt,Xe)=>M.setRequestHeader(wt,Xe.join(","))),ee.headers.has("Accept")||M.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const wt=ee.detectContentTypeHeader();null!==wt&&M.setRequestHeader("Content-Type",wt)}if(ee.responseType){const wt=ee.responseType.toLowerCase();M.responseType="json"!==wt?wt:"text"}const q=ee.serializeBody();let A=null;const te=()=>{if(null!==A)return A;const wt=M.statusText||"OK",Xe=new V(M.getAllResponseHeaders()),It=function at(L){return"responseURL"in L&&L.responseURL?L.responseURL:/^X-Request-URL:/m.test(L.getAllResponseHeaders())?L.getResponseHeader("X-Request-URL"):null}(M)||ee.url;return A=new Qt({headers:Xe,status:M.status,statusText:wt,url:It}),A},se=()=>{let{headers:wt,status:Xe,statusText:It,url:Hr}=te(),yn=null;204!==Xe&&(yn=typeof M.response>"u"?M.responseText:M.response),0===Xe&&(Xe=yn?200:0);let Pn=Xe>=200&&Xe<300;if("json"===ee.responseType&&"string"==typeof yn){const di=yn;yn=yn.replace(Sn,"");try{yn=""!==yn?JSON.parse(yn):null}catch(oo){yn=di,Pn&&(Pn=!1,yn={error:oo,text:yn})}}Pn?(Ge.next(new dn({body:yn,headers:wt,status:Xe,statusText:It,url:Hr||void 0})),Ge.complete()):Ge.error(new Ce({error:yn,headers:wt,status:Xe,statusText:It,url:Hr||void 0}))},Ke=wt=>{const{url:Xe}=te(),It=new Ce({error:wt,status:M.status||0,statusText:M.statusText||"Unknown Error",url:Xe||void 0});Ge.error(It)};let Ct=!1;const vt=wt=>{Ct||(Ge.next(te()),Ct=!0);let Xe={type:ot.DownloadProgress,loaded:wt.loaded};wt.lengthComputable&&(Xe.total=wt.total),"text"===ee.responseType&&M.responseText&&(Xe.partialText=M.responseText),Ge.next(Xe)},qt=wt=>{let Xe={type:ot.UploadProgress,loaded:wt.loaded};wt.lengthComputable&&(Xe.total=wt.total),Ge.next(Xe)};return M.addEventListener("load",se),M.addEventListener("error",Ke),M.addEventListener("timeout",Ke),M.addEventListener("abort",Ke),ee.reportProgress&&(M.addEventListener("progress",vt),null!==q&&M.upload&&M.upload.addEventListener("progress",qt)),M.send(q),Ge.next({type:ot.Sent}),()=>{M.removeEventListener("error",Ke),M.removeEventListener("abort",Ke),M.removeEventListener("load",se),M.removeEventListener("timeout",Ke),ee.reportProgress&&(M.removeEventListener("progress",vt),null!==q&&M.upload&&M.upload.removeEventListener("progress",qt)),M.readyState!==M.DONE&&M.abort()}})))}static#e=this.\u0275fac=function(De){return new(De||L)(h.KVO(Y.N0))};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();const Yt=new h.nKC(""),tr=new h.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Yn=new h.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class ct{}let ye=(()=>{class L{constructor(ee,De,Pe){this.doc=ee,this.platform=De,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Y._b)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}static#e=this.\u0275fac=function(De){return new(De||L)(h.KVO(Y.qQ),h.KVO(h.Agw),h.KVO(tr))};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();function w(L,J){const ee=L.url.toLowerCase();if(!(0,h.WQX)(Yt)||"GET"===L.method||"HEAD"===L.method||ee.startsWith("http://")||ee.startsWith("https://"))return J(L);const De=(0,h.WQX)(ct).getToken(),Pe=(0,h.WQX)(Yn);return null!=De&&!L.headers.has(Pe)&&(L=L.clone({headers:L.headers.set(Pe,De)})),J(L)}var O=function(L){return L[L.Interceptors=0]="Interceptors",L[L.LegacyInterceptors=1]="LegacyInterceptors",L[L.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",L[L.NoXsrfProtection=3]="NoXsrfProtection",L[L.JsonpSupport=4]="JsonpSupport",L[L.RequestsMadeViaParent=5]="RequestsMadeViaParent",L[L.Fetch=6]="Fetch",L}(O||{});function me(...L){const J=[Me,Fn,xn,{provide:B,useExisting:xn},{provide:ce,useFactory:()=>(0,h.WQX)(Jt,{optional:!0})??(0,h.WQX)(Fn)},{provide:en,useValue:w,multi:!0},{provide:Yt,useValue:!0},{provide:ct,useClass:ye}];for(const ee of L)J.push(...ee.\u0275providers);return(0,h.EmA)(J)}const xe=new h.nKC("");function ze(){return function z(L,J){return{\u0275kind:L,\u0275providers:J}}(O.LegacyInterceptors,[{provide:xe,useFactory:kn},{provide:en,useExisting:xe,multi:!0}])}},54438:(We,de,D)=>{D.d(de,{bc$:()=>JD,iLQ:()=>Tu,sZ2:()=>fd,hnV:()=>Lb,Hbi:()=>vF,o8S:()=>Ti,BIS:()=>e_,gRc:()=>Zb,Ql9:()=>zS,OM3:()=>Rl,Ocv:()=>ZS,abz:()=>xs,Z63:()=>xr,aKT:()=>sl,uvJ:()=>Lt,zcH:()=>Di,bkB:()=>Ai,$GK:()=>xt,nKC:()=>At,zZn:()=>Br,_q3:()=>Lh,MKu:()=>jh,xe9:()=>Su,Co$:()=>Ly,Vns:()=>Hs,SKi:()=>zn,Xx1:()=>Ro,Agw:()=>hd,PLl:()=>ng,sFG:()=>UC,_9s:()=>hf,czy:()=>xc,WPN:()=>Ls,kdw:()=>Oo,C4Q:()=>wl,NYb:()=>jS,giA:()=>xb,RxE:()=>Mb,c1b:()=>Jc,gXe:()=>bo,mal:()=>Jm,Af3:()=>E,L39:()=>qF,Ol2:()=>kf,w6W:()=>V1,oH4:()=>Kb,SmG:()=>rF,Rfq:()=>Yn,WQX:()=>ht,naY:()=>nF,QuC:()=>Qe,EmA:()=>wn,fpN:()=>yF,HJs:()=>sN,N4e:()=>p,O8t:()=>eN,H3F:()=>Sb,H8p:()=>Xi,KH2:()=>Ua,TgB:()=>zs,wOt:()=>Ve,WHO:()=>Ob,e01:()=>kb,lNU:()=>en,h9k:()=>Tg,$MX:()=>Ac,ZF7:()=>fa,Kcf:()=>b_,e5t:()=>C_,UyX:()=>__,cWb:()=>D_,osQ:()=>w_,H5H:()=>sh,Zy3:()=>ln,mq5:()=>Uv,JZv:()=>Gt,LfX:()=>kr,plB:()=>gs,jNT:()=>Ih,zjR:()=>Pb,TL$:()=>ZD,Tbb:()=>Yt,rcV:()=>ts,Vt3:()=>Af,GFd:()=>Py,OA$:()=>pe,Jv_:()=>QE,aNF:()=>YE,R7$:()=>Jg,BMQ:()=>Wf,HbH:()=>Tv,ZvI:()=>Rv,AVh:()=>Jf,wni:()=>CE,VBU:()=>R,FsC:()=>j,jDH:()=>Zt,G2t:()=>Jr,$C:()=>_,EJ8:()=>ne,rXU:()=>ma,nrm:()=>oh,eu8:()=>ih,bVm:()=>mu,qex:()=>gu,k0s:()=>pu,j41:()=>hu,RV6:()=>jv,xGo:()=>Tp,KVO:()=>Bn,kS0:()=>yc,QTQ:()=>tm,bIt:()=>ch,lsd:()=>ME,XpG:()=>hE,nI1:()=>lb,bMT:()=>cb,i5U:()=>ub,SdG:()=>gE,NAR:()=>pE,Y8G:()=>Yf,FS9:()=>dh,Mz_:()=>bu,lJ4:()=>qE,eq3:()=>JE,l_i:()=>eb,sMw:()=>tb,ziG:()=>nb,mGM:()=>IE,sdS:()=>SE,Njj:()=>ep,EBC:()=>Og,tSv:()=>Rg,eBV:()=>Jh,npT:()=>Ig,B4B:()=>Fd,n$t:()=>Sg,Aen:()=>_i,xc7:()=>qf,DNE:()=>Pf,C5r:()=>db,EFF:()=>jE,JRh:()=>fh,SpI:()=>Du,Lme:()=>hh,DH7:()=>KE,mxI:()=>gh,R50:()=>ph,GBs:()=>TE});let h=null,o=1;const Q=Symbol("SIGNAL");function H(e){const t=h;return h=e,t}function ce(e){if((!Je(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==o)){if(!e.producerMustRecompute(e)&&!gt(e))return e.dirty=!1,void(e.lastCleanEpoch=o);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=o}}function gt(e){je(e);for(let t=0;t0}function je(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let _t=null;var Ut=D(21413),tt=D(18359),an=D(84412),tn=D(96354);const en="https://g.co/ng/security#xss";class Ve extends Error{constructor(t,n){super(ln(t,n)),this.code=t}}function ln(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function bn(e){return{toString:e}.toString()}const Bt="__parameters__";function Xn(e,t,n){return bn(()=>{const r=function Mn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return l.annotation=a,l;function l(f,b,T){const P=f.hasOwnProperty(Bt)?f[Bt]:Object.defineProperty(f,Bt,{value:[]})[Bt];for(;P.length<=T;)P.push(null);return(P[T]=P[T]||[]).push(a),f}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Gt=globalThis;function at(e){for(let t in e)if(e[t]===at)return t;throw Error("Could not find renamed property on target object.")}function Fn(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Yt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Yt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Qn(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const nr=at({__forward_ref__:at});function Yn(e){return e.__forward_ref__=Yn,e.toString=function(){return Yt(this())},e}function ct(e){return ye(e)?e():e}function ye(e){return"function"==typeof e&&e.hasOwnProperty(nr)&&e.__forward_ref__===Yn}function Zt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Jr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Or(e){return lr(e,yr)||lr(e,no)}function kr(e){return null!==Or(e)}function lr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ur(e){return e&&(e.hasOwnProperty(to)||e.hasOwnProperty(po))?e[to]:null}const yr=at({\u0275prov:at}),to=at({\u0275inj:at}),no=at({ngInjectableDef:at}),po=at({ngInjectorDef:at});class At{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Zt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function A(e){return e&&!!e.\u0275providers}const te=at({\u0275cmp:at}),se=at({\u0275dir:at}),Ke=at({\u0275pipe:at}),Ct=at({\u0275mod:at}),vt=at({\u0275fac:at}),qt=at({__NG_ELEMENT_ID__:at}),wt=at({__NG_ENV_ID__:at});function Xe(e){return"string"==typeof e?e:null==e?"":String(e)}function go(e,t){throw new Ve(-201,!1)}var xt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(xt||{});let fi;function bs(){return fi}function cr(e){const t=fi;return fi=e,t}function hi(e,t,n){const r=Or(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&xt.Optional?null:void 0!==t?t:void go()}const pi={},So="__NG_DI_FLAG__",Fo="ngTempTokenPath",Li=/\n/gm,mo="__source";let io;function so(e){const t=io;return io=e,t}function No(e,t=xt.Default){if(void 0===io)throw new Ve(-203,!1);return null===io?hi(e,void 0,t):io.get(e,t&xt.Optional?null:void 0,t)}function Bn(e,t=xt.Default){return(bs()||No)(ct(e),t)}function ht(e,t=xt.Default){return Bn(e,Gn(t))}function Gn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ao(e){const t=[];for(let n=0;nArray.isArray(n)?On(n,t):t(n))}function ao(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vr(e,t,n){let r=xo(e,t);return r>=0?e[1|r]=n:(r=~r,function Ui(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function yi(e,t){const n=xo(e,t);if(n>=0)return e[1|n]}function xo(e,t){return function ws(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<t?i=s:r=s+1}return~(i<t){a=s-1;break}}}for(;s-1){let s;for(;++is?"":i[T+1].toLowerCase(),2&r&&b!==P){if(Pr(r))return!1;a=!0}}}}else{if(!a&&!Pr(r)&&!Pr(f))return!1;if(a&&Pr(f))continue;a=!1,r=f|1&r}}return Pr(r)||a}function Pr(e){return!(1&e)}function cs(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+l+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!Pr(a)&&(t+=ei(s,i),i=""),r=a,s=s||!Pr(r);n++}return""!==i&&(t+=ei(s,i)),t}function R(e){return bn(()=>{const t=Xt(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Hi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bo.Emulated,styles:e.styles||nn,_:null,schemas:e.schemas||null,tView:null,id:""};Pt(n);const r=e.dependencies;return n.directiveDefs=yt(r,!1),n.pipeDefs=yt(r,!0),n.id=function hn(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function d(e){return K(e)||fe(e)}function g(e){return null!==e}function _(e){return bn(()=>({type:e.type,bootstrap:e.bootstrap||nn,declarations:e.declarations||nn,imports:e.imports||nn,exports:e.exports||nn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function N(e,t){if(null==e)return Gr;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,a,l=qo.None;Array.isArray(i)?(l=i[0],s=i[1],a=i[2]??s):(s=i,a=i),t?(n[s]=l!==qo.None?[r,l]:r,t[s]=a):n[s]=r}return n}function j(e){return bn(()=>{const t=Xt(e);return Pt(t),t})}function ne(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function K(e){return e[te]||null}function fe(e){return e[se]||null}function ve(e){return e[Ke]||null}function Qe(e){const t=K(e)||fe(e)||ve(e);return null!==t&&t.standalone}function He(e,t){const n=e[Ct]||null;if(!n&&!0===t)throw new Error(`Type ${Yt(e)} does not have '\u0275mod' property.`);return n}function Xt(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Gr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||nn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:N(e.inputs,t),outputs:N(e.outputs),debugInfo:null}}function Pt(e){e.features?.forEach(t=>t(e))}function yt(e,t){if(!e)return null;const n=t?ve:d;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(g)}function wn(e){return{\u0275providers:e}}function Vn(...e){return{\u0275providers:rr(0,e),\u0275fromNgModule:!0}}function rr(e,...t){const n=[],r=new Set;let i;const s=a=>{n.push(a)};return On(t,a=>{const l=a;Do(l,s,[],r)&&(i||=[],i.push(l))}),void 0!==i&&Wn(i,s),n}function Wn(e,t){for(let n=0;n{t(s,r)})}}function Do(e,t,n,r){if(!(e=ct(e)))return!1;let i=null,s=Ur(e);const a=!s&&K(e);if(s||a){if(a&&!a.standalone)return!1;i=e}else{const f=e.ngModule;if(s=Ur(f),!s)return!1;i=f}const l=r.has(i);if(a){if(l)return!1;if(r.add(i),a.dependencies){const f="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const b of f)Do(b,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!l){let b;r.add(i);try{On(s.imports,T=>{Do(T,t,n,r)&&(b||=[],b.push(T))})}finally{}void 0!==b&&Wn(b,t)}if(!l){const b=yo(i)||(()=>new i);t({provide:i,useFactory:b,deps:nn},i),t({provide:$i,useValue:i,multi:!0},i),t({provide:xr,useValue:()=>Bn(i),multi:!0},i)}const f=s.providers;if(null!=f&&!l){const b=e;or(f,T=>{t(T,b)})}}}return i!==e&&void 0!==e.providers}function or(e,t){for(let n of e)A(n)&&(n=n.\u0275providers),Array.isArray(n)?or(n,t):t(n)}const Er=at({provide:String,useValue:at});function Sr(e){return null!==e&&"object"==typeof e&&Er in e}function Fr(e){return"function"==typeof e}const Xi=new At(""),vi={},ft={};let Et;function Dt(){return void 0===Et&&(Et=new Eo),Et}class Lt{}class Cn extends Lt{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gr(t,a=>this.processProvider(a)),this.records.set(ur,ti(void 0,this)),i.has("environment")&&this.records.set(Lt,ti(void 0,this));const s=this.records.get(Xi);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get($i,nn,xt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=H(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),H(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=so(this),r=cr(void 0);try{return t()}finally{so(n),cr(r)}}get(t,n=pi,r=xt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(wt))return t[wt](this);r=Gn(r);const s=so(this),a=cr(void 0);try{if(!(r&xt.SkipSelf)){let f=this.records.get(t);if(void 0===f){const b=function wo(e){return"function"==typeof e||"object"==typeof e&&e instanceof At}(t)&&Or(t);f=b&&this.injectableDefInScope(b)?ti(Nr(t),vi):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&xt.Self?Dt():this.parent).get(t,n=r&xt.Optional&&n===pi?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Fo]=l[Fo]||[]).unshift(Yt(t)),s)throw l;return function ji(e,t,n,r){const i=e[Fo];throw t[mo]&&i.unshift(t[mo]),e.message=function Bi(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Yt(t);if(Array.isArray(t))i=t.map(Yt).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let l=t[a];s.push(a+":"+("string"==typeof l?JSON.stringify(l):Yt(l)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Li,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Fo]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{cr(a),so(s)}}resolveInjectorInitializers(){const t=H(null),n=so(this),r=cr(void 0);try{const s=this.get(xr,nn,xt.Self);for(const a of s)a()}finally{so(n),cr(r),H(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Yt(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ve(205,!1)}processProvider(t){let n=Fr(t=ct(t))?t:ct(t&&t.provide);const r=function Bo(e){return Sr(e)?ti(void 0,e.useValue):ti(_n(e),vi)}(t);if(!Fr(t)&&!0===t.multi){let i=this.records.get(n);i||(i=ti(void 0,vi,!0),i.factory=()=>Ao(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=H(null);try{return n.value===vi&&(n.value=ft,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Un(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{H(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ct(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Nr(e){const t=Or(e),n=null!==t?t.factory:yo(e);if(null!==n)return n;if(e instanceof At)throw new Ve(204,!1);if(e instanceof Function)return function Ar(e){if(e.length>0)throw new Ve(204,!1);const n=function eo(e){return e&&(e[yr]||e[no])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ve(204,!1)}function _n(e,t,n){let r;if(Fr(e)){const i=ct(e);return yo(i)||Nr(i)}if(Sr(e))r=()=>ct(e.useValue);else if(function Wi(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ao(e.deps||[]));else if(function jo(e){return!(!e||!e.useExisting)}(e))r=()=>Bn(ct(e.useExisting));else{const i=ct(e&&(e.useClass||e.provide));if(!function Js(e){return!!e.deps}(e))return yo(i)||Nr(i);r=()=>new i(...Ao(e.deps))}return r}function ti(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gr(e,t){for(const n of e)Array.isArray(n)?gr(n,t):n&&A(n)?gr(n.\u0275providers,t):t(n)}function p(e,t){e instanceof Cn&&e.assertNotDestroyed();const r=so(e),i=cr(void 0);try{return t()}finally{so(r),cr(i)}}function F(){return void 0!==bs()||null!=function os(){return io}()}function E(e){if(!F())throw new Ve(-203,!1)}const cn=0,Be=1,pt=2,gn=3,Rr=4,br=5,Lr=6,Qi=7,rn=8,ir=9,ri=10,Mt=11,us=12,nc=13,Yi=14,Hn=15,ds=16,fs=17,Uo=18,Zi=19,Pu=20,Ei=21,lo=22,qi=23,Tt=25,rc=1,$o=7,Mi=9,Jn=10;var ta=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ta||{});function Dr(e){return Array.isArray(e)&&"object"==typeof e[rc]}function _r(e){return Array.isArray(e)&&!0===e[rc]}function Qa(e){return!!(4&e.flags)}function hs(e){return e.componentOffset>-1}function Ya(e){return!(1&~e.flags)}function oi(e){return!!e.template}function Fs(e){return!!(512&e[pt])}class G{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ee(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function pe(){return qe}function qe(e){return e.type.prototype.ngOnChanges&&(e.setInput=$t),Rt}function Rt(){const e=Ho(this),t=e?.current;if(t){const n=e.previous;if(n===Gr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $t(e,t,n,r,i){const s=this.declaredInputs[r],a=Ho(e)||function jr(e,t){return e[Nn]=t}(e,{previous:Gr,current:null}),l=a.current||(a.current={}),f=a.previous,b=f[s];l[s]=new G(b&&b.currentValue,n,f===Gr),Ee(e,t,i,n)}pe.ngInherit=!0;const Nn="__ngSimpleChanges__";function Ho(e){return e[Nn]||null}const Qr=function(e,t,n){};function Dn(e){for(;Array.isArray(e);)e=e[cn];return e}function qa(e,t){return Dn(t[e])}function co(e,t){return Dn(t[e.index])}function Ja(e,t){return e.data[t]}function ra(e,t){return e[t]}function Go(e,t){const n=t[e];return Dr(n)?n:n[cn]}function Uu(e){return!(128&~e[pt])}function si(e,t){return null==t?null:e[t]}function Qh(e){e[fs]=0}function B0(e){1024&e[pt]||(e[pt]|=1024,Uu(e)&&sc(e))}function el(e){return!!(9216&e[pt]||e[qi]?.dirty)}function $u(e){e[ri].changeDetectionScheduler?.notify(7),64&e[pt]&&(e[pt]|=1024),el(e)&&sc(e)}function sc(e){e[ri].changeDetectionScheduler?.notify(0);let t=As(e);for(;null!==t&&!(8192&t[pt])&&(t[pt]|=8192,Uu(t));)t=As(t)}function ac(e,t){if(!(256&~e[pt]))throw new Ve(911,!1);null===e[Ei]&&(e[Ei]=[]),e[Ei].push(t)}function As(e){const t=e[gn];return _r(t)?t[gn]:t}const jt={lFrame:cp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Zh=!1;function qh(){return jt.bindingsEnabled}function Rs(){return null!==jt.skipHydrationRootTNode}function Fe(){return jt.lFrame.lView}function on(){return jt.lFrame.tView}function Jh(e){return jt.lFrame.contextLView=e,e[rn]}function ep(e){return jt.lFrame.contextLView=null,e}function In(){let e=tp();for(;null!==e&&64===e.type;)e=e.parent;return e}function tp(){return jt.lFrame.currentTNode}function Si(e,t){const n=jt.lFrame;n.currentTNode=e,n.isParent=t}function Gu(){return jt.lFrame.isParent}function Wu(){jt.lFrame.isParent=!1}function rp(){return Zh}function op(e){Zh=e}function uo(){const e=jt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function bi(){return jt.lFrame.bindingIndex++}function es(e){const t=jt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Y0(e,t){const n=jt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ku(t)}function Ku(e){jt.lFrame.currentDirectiveIndex=e}function Qu(){return jt.lFrame.currentQueryIndex}function cc(e){jt.lFrame.currentQueryIndex=e}function q0(e){const t=e[Be];return 2===t.type?t.declTNode:1===t.type?e[br]:null}function ap(e,t,n){if(n&xt.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&xt.Host||(i=q0(s),null===i||(s=s[Yi],10&i.type))););if(null===i)return!1;t=i,e=s}const r=jt.lFrame=lp();return r.currentTNode=t,r.lView=e,!0}function Yu(e){const t=lp(),n=e[Be];jt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function lp(){const e=jt.lFrame,t=null===e?null:e.child;return null===t?cp(e):t}function cp(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function up(){const e=jt.lFrame;return jt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const dp=up;function Zu(){const e=up();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Yr(){return jt.lFrame.selectedIndex}function Os(e){jt.lFrame.selectedIndex=e}function jn(){const e=jt.lFrame;return Ja(e.tView,e.selectedIndex)}let hp=!0;function nl(){return hp}function Fi(e){hp=e}function uc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[f]<0&&(e[fs]+=65536),(l>14>16&&(3&e[pt])===t&&(e[pt]+=16384,gp(l,s)):gp(l,s)}const oa=-1;class rl{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ed(e){return e!==oa}function ol(e){return 32767&e}function il(e,t){let n=function uD(e){return e>>16}(e),r=t;for(;n>0;)r=r[Yi],n--;return r}let td=!0;function hc(e){const t=td;return td=e,t}const mp=255,yp=5;let dD=0;const Ni={};function pc(e,t){const n=vp(e,t);if(-1!==n)return n;const r=t[Be];r.firstCreatePass&&(e.injectorIndex=t.length,nd(r.data,e),nd(t,null),nd(r.blueprint,null));const i=gc(e,t),s=e.injectorIndex;if(ed(i)){const a=ol(i),l=il(i,t),f=l[Be].data;for(let b=0;b<8;b++)t[s+b]=l[a+b]|f[a+b]}return t[s+8]=i,s}function nd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function vp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function gc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Ip(i),null===r)return oa;if(n++,i=i[Yi],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return oa}function rd(e,t,n){!function fD(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(qt)&&(r=n[qt]),null==r&&(r=n[qt]=dD++);const i=r∓t.data[e+(i>>yp)]|=1<=0?t&mp:mD:t}(n);if("function"==typeof s){if(!ap(t,e,r))return r&xt.Host?Ep(i,0,r):bp(t,n,r,i);try{let a;if(a=s(r),null!=a||r&xt.Optional)return a;go()}finally{dp()}}else if("number"==typeof s){let a=null,l=vp(e,t),f=oa,b=r&xt.Host?t[Hn][br]:null;for((-1===l||r&xt.SkipSelf)&&(f=-1===l?gc(e,t):t[l+8],f!==oa&&Cp(r,!1)?(a=t[Be],l=ol(f),t=il(f,t)):l=-1);-1!==l;){const T=t[Be];if(wp(s,l,T.data)){const P=pD(l,t,n,a,r,b);if(P!==Ni)return P}f=t[l+8],f!==oa&&Cp(r,t[Be].data[l+8]===b)&&wp(s,l,t)?(a=T,l=ol(f),t=il(f,t)):l=-1}}return i}function pD(e,t,n,r,i,s){const a=t[Be],l=a.data[e+8],T=mc(l,a,n,null==r?hs(l)&&td:r!=a&&!!(3&l.type),i&xt.Host&&s===l);return null!==T?ks(t,a,T,l):Ni}function mc(e,t,n,r,i){const s=e.providerIndexes,a=t.data,l=1048575&s,f=e.directiveStart,T=s>>20,W=i?l+T:e.directiveEnd;for(let ae=r?l:l+T;ae=f&&he.type===n)return ae}if(i){const ae=a[f];if(ae&&oi(ae)&&ae.type===n)return f}return null}function ks(e,t,n,r){let i=e[n];const s=t.data;if(function sD(e){return e instanceof rl}(i)){const a=i;a.resolving&&function Pn(e,t){throw t&&t.join(" > "),new Ve(-200,e)}(function It(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Xe(e)}(s[n]));const l=hc(a.canSeeViewProviders);a.resolving=!0;const b=a.injectImpl?cr(a.injectImpl):null;ap(e,r,xt.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function oD(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=qe(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==b&&cr(b),hc(l),a.resolving=!1,dp()}}return i}function wp(e,t,n){return!!(n[t+(e>>yp)]&1<{const t=e.prototype.constructor,n=t[vt]||od(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[vt]||od(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function od(e){return ye(e)?()=>{const t=od(ct(e));return t&&t()}:yo(e)}function Ip(e){const t=e[Be],n=t.type;return 2===n?t.declTNode:1===n?e[br]:null}function yc(e){return function hD(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;iBn(ur)});static#r=this.__NG_ELEMENT_ID__=-1}new At("").__NG_ELEMENT_ID__=e=>{const t=In();if(null===t)throw new Ve(204,!1);if(2&t.type)return t.value;if(e&xt.Optional)return null;throw new Ve(204,!1)};function sd(e){return e.ngOriginalError}class Di{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&sd(t);for(;n&&sd(n);)n=sd(n);return n||null}}const kp=new At("",{providedIn:"root",factory:()=>ht(Di).handleError.bind(void 0)});let xs=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MD;static#t=this.__NG_ENV_ID__=n=>n}return e})();class ID extends xs{constructor(t){super(),this._lView=t}onDestroy(t){return ac(this._lView,t),()=>function Hu(e,t){if(null===e[Ei])return;const n=e[Ei].indexOf(t);-1!==n&&e[Ei].splice(n,1)}(this._lView,t)}}function MD(){return new ID(Fe())}function SD(){return aa(In(),Fe())}function aa(e,t){return new sl(co(e,t))}let sl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=SD}return e})();function Pp(e){return e instanceof sl?e.nativeElement:e}function ad(e){return t=>{setTimeout(e,void 0,t)}}const Ai=class FD extends Ut.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,F()&&(this.destroyRef=ht(xs,{optional:!0})??void 0)}emit(t){const n=H(null);try{super.next(t)}finally{H(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const f=t;i=f.next?.bind(f),s=f.error?.bind(f),a=f.complete?.bind(f)}this.__isAsync&&(s=ad(s),i&&(i=ad(i)),a&&(a=ad(a)));const l=super.subscribe({next:i,error:s,complete:a});return t instanceof tt.yU&&t.add(l),l}};function ND(){return this._results[Symbol.iterator]()}class ld{static#e=Symbol.iterator;get changes(){return this._changes??=new Ai}constructor(t=!1){this._emitDistinctChangesOnly=t,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;const n=ld.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=ND)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function qn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function is(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rqD}),qD="ng",ng=new At(""),hd=new At("",{providedIn:"platform",factory:()=>"unknown"}),JD=new At(""),e_=new At("",{providedIn:"root",factory:()=>ps().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let rg=()=>null;function bd(e,t,n=!1){return rg(e,t,n)}const dg=new At("",{providedIn:"root",factory:()=>!1});let Fc,Nc;function da(e){return function Cd(){if(void 0===Fc&&(Fc=null,Gt.trustedTypes))try{Fc=Gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fc}()?.createHTML(e)||e}function Td(){if(void 0===Nc&&(Nc=null,Gt.trustedTypes))try{Nc=Gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Nc}function pg(e){return Td()?.createHTML(e)||e}function mg(e){return Td()?.createScriptURL(e)||e}class Ps{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${en})`}}class p_ extends Ps{getTypeName(){return"HTML"}}class g_ extends Ps{getTypeName(){return"Style"}}class m_ extends Ps{getTypeName(){return"Script"}}class y_ extends Ps{getTypeName(){return"URL"}}class v_ extends Ps{getTypeName(){return"ResourceURL"}}function ts(e){return e instanceof Ps?e.changingThisBreaksApplicationSecurity:e}function fa(e,t){const n=function E_(e){return e instanceof Ps&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${en})`)}return n===t}function b_(e){return new p_(e)}function D_(e){return new g_(e)}function __(e){return new m_(e)}function w_(e){return new y_(e)}function C_(e){return new v_(e)}class T_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(da(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class I_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=da(t),n}}const S_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ac(e){return(e=String(e)).match(S_)?e:"unsafe:"+e}function ns(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function pl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const vg=ns("area,br,col,hr,img,wbr"),Eg=ns("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bg=ns("rp,rt"),Id=pl(vg,pl(Eg,ns("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")),pl(bg,ns("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")),pl(bg,Eg)),Md=ns("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dg=pl(Md,ns("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"),ns("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")),F_=ns("script,style,template");class N_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=O_(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=R_(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=_g(t).toLowerCase();if(!Id.hasOwnProperty(n))return this.sanitizedSomething=!0,!F_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i"),!0}endElement(t){const n=_g(t).toLowerCase();Id.hasOwnProperty(n)&&!vg.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Cg(t))}}function R_(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw wg(t);return t}function O_(e){const t=e.firstChild;if(t&&function A_(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw wg(t);return t}function _g(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function wg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const k_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,x_=/([^\#-~ |!])/g;function Cg(e){return e.replace(/&/g,"&").replace(k_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(x_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Rc;function Tg(e,t){let n=null;try{Rc=Rc||function yg(e){const t=new I_(e);return function M_(){try{return!!(new window.DOMParser).parseFromString(da(""),"text/html")}catch{return!1}}()?new T_(t):t}(e);let r=t?String(t):"";n=Rc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Rc.getInertBodyElement(r)}while(r!==s);return da((new N_).sanitizeChildren(Sd(n)||n))}finally{if(n){const r=Sd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Sd(e){return"content"in e&&function P_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ls=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ls||{});function Ig(e){const t=gl();return t?pg(t.sanitize(Ls.HTML,e)||""):fa(e,"HTML")?pg(ts(e)):Tg(ps(),Xe(e))}function Fd(e){const t=gl();return t?t.sanitize(Ls.URL,e)||"":fa(e,"URL")?ts(e):Ac(Xe(e))}function Mg(e){const t=gl();if(t)return mg(t.sanitize(Ls.RESOURCE_URL,e)||"");if(fa(e,"ResourceURL"))return mg(ts(e));throw new Ve(904,!1)}function Sg(e,t,n){return function U_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Mg:Fd}(t,n)(e)}function gl(){const e=Fe();return e&&e[ri].sanitizer}const $_=/^>|^->||--!>|)/g,z_="\u200b$1\u200b";function Rg(e){return e.ownerDocument.defaultView}function Og(e){return e.ownerDocument}function Wo(e){return e instanceof Function?e():e}var xc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(xc||{});let Od;function kd(e,t){return Od(e,t)}function pa(e,t,n,r,i){if(null!=r){let s,a=!1;_r(r)?s=r:Dr(r)&&(a=!0,r=r[cn]);const l=Dn(r);0===e&&null!==n?null==i?$g(t,n,l):js(t,n,l,i||null,!0):1===e&&null!==n?js(t,n,l,i||null,!0):2===e?function vl(e,t,n){const r=jc(e,t);r&&function sw(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,l,a):3===e&&t.destroyNode(l),null!=s&&function cw(e,t,n,r,i){const s=n[$o];s!==Dn(n)&&pa(t,e,r,s,i);for(let l=Jn;lt.replace(H_,z_))}(t))}function Pc(e,t,n){return e.createElement(t,n)}function Bg(e,t){t[ri].changeDetectionScheduler?.notify(8),Vc(e,t,t[Mt],2,null,null)}function Vg(e,t){const n=e[Mi],r=t[gn];(Dr(r)||t[Hn]!==r[gn][Hn])&&(e[pt]|=ta.HasTransplantedViews),null===n?e[Mi]=[t]:n.push(t)}function Ld(e,t){const n=e[Mi],r=n.indexOf(t);n.splice(r,1)}function ml(e,t){if(e.length<=Jn)return;const n=Jn+t,r=e[n];if(r){const i=r[ds];null!==i&&i!==e&&Ld(i,r),t>0&&(e[n-1][Rr]=r[Rr]);const s=vo(e,Jn+t);!function ew(e,t){Bg(e,t),t[cn]=null,t[br]=null}(r[Be],r);const a=s[Uo];null!==a&&a.detachView(s[Be]),r[gn]=null,r[Rr]=null,r[pt]&=-129}return r}function Lc(e,t){if(!(256&t[pt])){const n=t[Mt];n.destroyNode&&Vc(e,t,n,3,null,null),function nw(e){let t=e[us];if(!t)return jd(e[Be],e);for(;t;){let n=null;if(Dr(t))n=t[us];else{const r=t[Jn];r&&(n=r)}if(!n){for(;t&&!t[Rr]&&t!==e;)Dr(t)&&jd(t[Be],t),t=t[gn];null===t&&(t=e),Dr(t)&&jd(t[Be],t),n=t&&t[Rr]}t=n}}(t)}}function jd(e,t){if(256&t[pt])return;const n=H(null);try{t[pt]&=-129,t[pt]|=256,t[qi]&&function kt(e){if(je(e),Je(e))for(let t=0;t=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Qi]=null);const i=t[Ei];if(null!==i){t[Ei]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===bo.None||s===bo.Emulated)return null}return co(r,n)}}(e,t.parent,n)}function js(e,t,n,r,i){e.insertBefore(t,n,r,i)}function $g(e,t,n){e.appendChild(t,n)}function Hg(e,t,n,r,i){null!==r?js(e,t,n,r,i):$g(e,t,n)}function jc(e,t){return e.parentNode(t)}function zg(e,t,n){return Wg(e,t,n)}let Vd,Wg=function Gg(e,t,n){return 40&e.type?co(e,n):null};function Bc(e,t,n,r){const i=Bd(e,r,t),s=t[Mt],l=zg(r.parent||t[br],r,t);if(null!=i)if(Array.isArray(n))for(let f=0;fTt&&em(e,t,Tt,!1),Qr(a?2:0,i),n(r,i)}finally{Os(s),Qr(a?3:1,i)}}function zd(e,t,n){if(Qa(t)){const r=H(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;anull;function sm(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const a=t[s];if(void 0===a)continue;r??={};let l,f=qo.None;Array.isArray(a)?(l=a[0],f=a[1]):l=a;let b=s;if(null!==i){if(!i.hasOwnProperty(s))continue;b=i[s]}0===e?am(r,n,b,l,f):am(r,n,b,l)}return r}function am(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function To(e,t,n,r,i,s,a,l){const f=co(t,n);let T,b=t.inputs;!l&&null!=b&&(T=b[r])?(qd(e,n,T,r,i),hs(t)&&function _w(e,t){const n=Go(t,e);16&n[pt]||(n[pt]|=64)}(n,t.index)):3&t.type&&(r=function Dw(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,s.setProperty(f,r,i))}function Xd(e,t,n,r){if(qh()){const i=null===r?null:{"":-1},s=function Sw(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(n,r,s)}}(e,t,r,El(e,n,i.hostVars,Ht),i)}function Ri(e,t,n,r,i,s){const a=co(e,t);!function Yd(e,t,n,r,i,s,a){if(null==s)e.removeAttribute(t,i,n);else{const l=null==a?Xe(s):a(s,r||"",i);e.setAttribute(t,i,l,n)}}(t[Mt],a,s,e.value,n,r,i)}function kw(e,t,n,r,i,s){const a=s[t];if(null!==a)for(let l=0;l0&&(n[i-1][Rr]=t),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{sc(e.lView)},consumerOnSignalRead(){this.lView[qi]=this}},Hw=100;function zc(e,t=!0,n=0){const r=e[ri],i=r.rendererFactory;i.begin?.();try{!function zw(e,t){const n=rp();try{op(!0),tf(e,t);let r=0;for(;el(e);){if(r===Hw)throw new Ve(103,!1);r++,tf(e,1)}}finally{op(n)}}(e,n)}catch(a){throw t&&Hc(e,a),a}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function Gw(e,t,n,r){const i=t[pt];if(!(256&~i))return;t[ri].inlineEffectRunner?.flush(),Yu(t);let l=null,f=null;(function Ww(e){return 2!==e.type})(e)&&(f=function Bw(e){return e[qi]??function Vw(e){const t=ym.pop()??Object.create($w);return t.lView=e,t}(e)}(t),l=function Oe(e){return e&&(e.nextProducerIndex=0),H(e)}(f));try{Qh(t),function ip(e){return jt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&rm(e,t,n,2,r);const b=!(3&~i);if(b){const W=e.preOrderCheckHooks;null!==W&&dc(t,W,null)}else{const W=e.preOrderHooks;null!==W&&fc(t,W,0,null),qu(t,0)}if(function Kw(e){for(let t=Wp(e);null!==t;t=Kp(t)){if(!(t[pt]&ta.HasTransplantedViews))continue;const n=t[Mi];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(f,l),function Uw(e){e.lView[qi]!==e&&(e.lView=null,ym.push(e))}(f)),Zu()}}function Em(e,t){for(let n=Wp(e);null!==n;n=Kp(n))for(let r=Jn;r-1&&(ml(t,r),vo(n,r))}this._attachedToViewContainer=!1}Lc(this._lView[Be],this._lView)}onDestroy(t){ac(this._lView,t)}markForCheck(){Dl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[pt]&=-129}reattach(){$u(this._lView),this._lView[pt]|=128}detectChanges(){this._lView[pt]|=1024,zc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ve(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Fs(this._lView),n=this._lView[ds];null!==n&&!t&&Ld(n,this._lView),Bg(this._lView[Be],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ve(902,!1);this._appRef=t;const n=Fs(this._lView),r=this._lView[ds];null!==r&&!n&&Vg(r,this._lView),$u(this._lView)}}let wl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Zw}return e})();const Qw=wl,Yw=class extends Qw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=va(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _l(i)}};function Zw(){return Gc(In(),Fe())}function Gc(e,t){return 4&e.type?new Yw(t,e,aa(e,t)):null}let Um=()=>null;function Us(e,t){return Um(e,t)}class Da{}const Al=new At("",{providedIn:"root",factory:()=>!1}),$m=new At("");class jC{}class Hm{}class VC{resolveComponentFactory(t){throw function BC(e){const t=Error(`No component factory found for ${Yt(e)}.`);return t.ngComponent=e,t}(t)}}class Rl{static#e=this.NULL=new VC}class hf{}let UC=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function $C(){const e=Fe(),n=Go(In().index,e);return(Dr(n)?n:e)[Mt]}()}return e})(),HC=(()=>{class e{static#e=this.\u0275prov=Zt({token:e,providedIn:"root",factory:()=>null})}return e})();const pf={},Gm=new Set;function Ko(e){Gm.has(e)||(Gm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Wm(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),"function"==typeof Gt.requestAnimationFrame&&Gt.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Km(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Xm(...e){}class zn{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ai(!1),this.onMicrotaskEmpty=new Ai(!1),this.onStable=new Ai(!1),this.onError=new Ai(!1),typeof Zone>"u")throw new Ve(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.callbackScheduled=!1,function WC(e){const t=()=>{!function GC(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Wm(()=>{e.callbackScheduled=!1,mf(e),e.isCheckStableRunning=!0,gf(e),e.isCheckStableRunning=!1})}),mf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,l)=>{if(function KC(e){return Zm(e,"__ignore_ng_zone__")}(l))return n.invokeTask(i,s,a,l);try{return Qm(e),n.invokeTask(i,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Ym(e)}},onInvoke:(n,r,i,s,a,l,f)=>{try{return Qm(e),n.invoke(i,s,a,l,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function XC(e){return Zm(e,"__scheduler_tick__")}(l)&&t(),Ym(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,mf(e),gf(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zn.isInAngularZone())throw new Ve(909,!1)}static assertNotInAngularZone(){if(zn.isInAngularZone())throw new Ve(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,zC,Xm,Xm);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const zC={};function gf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function mf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Qm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ym(e){e._nesting--,gf(e)}class yf{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ai,this.onMicrotaskEmpty=new Ai,this.onStable=new Ai,this.onError=new Ai}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Zm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}var $s=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}($s||{});const qm={destroy(){}};function Jm(e,t){!t&&E();const n=t?.injector??ht(Br);if(!function ai(e){return"browser"===(e??ht(Br)).get(hd)}(n))return qm;Ko("NgAfterNextRender");const r=n.get(Ol),i=r.handler??=new ty,s=t?.phase??$s.MixedReadWrite,a=()=>{i.unregister(f),l()},l=n.get(xs).onDestroy(a),f=p(n,()=>new ey(s,()=>{a(),e()}));return i.register(f),{destroy:a}}class ey{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=ht(zn),this.errorHandler=ht(Di,{optional:!0}),ht(Da,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class ty{constructor(){this.executingCallbacks=!1,this.buckets={[$s.EarlyRead]:new Set,[$s.Write]:new Set,[$s.MixedReadWrite]:new Set,[$s.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ol=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Zt({token:e,providedIn:"root",factory:()=>new e})}return e})();function gs(e){return!!He(e)}function Zc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a0&&Zg(e,n,s.join(" "))}}(ae,Ir,Se,r),void 0!==n&&function s1(e,t,n){const r=e.projection=[];for(let i=0;i{class e{static#e=this.__NG_ELEMENT_ID__=l1}return e})();function l1(){return ly(In(),Fe())}const c1=Jc,sy=class extends c1{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return aa(this._hostTNode,this._hostLView)}get injector(){return new wr(this._hostTNode,this._hostLView)}get parentInjector(){const t=gc(this._hostTNode,this._hostLView);if(ed(t)){const n=il(t,this._hostLView),r=ol(t);return new wr(n[Be].data[r+8],n)}return new wr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ay(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Jn}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=Us(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},s,a);return this.insertImpl(l,i,Bs(this._hostTNode,a)),l}createComponent(t,n,r,i,s){const a=t&&!function sn(e){return"function"==typeof e}(t);let l;if(a)l=n;else{const he=n||{};l=he.index,r=he.injector,i=he.projectableNodes,s=he.environmentInjector||he.ngModuleRef}const f=a?t:new Pl(K(t)),b=r||this.parentInjector;if(!s&&null==f.ngModule){const Se=(a?b:this.parentInjector).get(Lt,null);Se&&(s=Se)}const T=K(f.componentType??{}),P=Us(this._lContainer,T?.id??null),ae=f.create(b,i,P?.firstChild??null,s);return this.insertImpl(ae.hostView,l,Bs(this._hostTNode,P)),ae}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function j0(e){return _r(e[gn])}(i)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const f=i[gn],b=new sy(f,f[br],f[gn]);b.detach(b.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return Ea(a,i,s,r),t.attachToViewContainerRef(),ao(Df(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ay(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ml(this._lContainer,n);r&&(vo(Df(this._lContainer),n),Lc(r[Be],r))}detach(t){const n=this._adjustIndex(t,-1),r=ml(this._lContainer,n);return r&&null!=vo(Df(this._lContainer),n)?new _l(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ay(e){return e[8]}function Df(e){return e[8]||(e[8]=[])}function ly(e,t){let n;const r=t[e.index];return _r(r)?n=r:(n=um(r,t,null,e),t[e.index]=n,$c(t,n)),cy(n,t,e,r),new sy(n,e,t)}let cy=function dy(e,t,n,r){if(e[$o])return;let i;i=8&n.type?Dn(r):function u1(e,t){const n=e[Mt],r=n.createComment(""),i=co(t,e);return js(n,jc(n,i),r,function aw(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[$o]=i},_f=()=>!1;class wf{constructor(t){this.queryList=t,this.matches=null}clone(){return new wf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Cf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;st.trim())}(t):t}}class Tf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(a[l/2]);else{const b=s[l+1],T=t[-f];for(let P=Jn;P=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Wr(i.hostAttrs,n=Wr(n,i.hostAttrs))}}(r)}function N1(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function tu(e){return e===Gr?{}:e===nn?[]:e}function R1(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function O1(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function k1(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Py(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class Hs{}class Ly{}function V1(e,t){return new Rf(e,t??null,[])}class Rf extends Hs{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new oy(this);const i=He(t);this._bootstrapComponents=Wo(i.bootstrap),this._r3Injector=Rp(t,n,[{provide:Hs,useValue:this},{provide:Rl,useValue:this.componentFactoryResolver},...r],Yt(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Of extends Ly{constructor(t){super(),this.moduleType=t}create(t){return new Rf(this.moduleType,t,[])}}class jy extends Hs{constructor(t){super(),this.componentFactoryResolver=new oy(this),this.instance=null;const n=new Cn([...t.providers,{provide:Hs,useValue:this},{provide:Rl,useValue:this.componentFactoryResolver}],t.parent||Dt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function kf(e,t,n=null){return new jy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let zs=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new an.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ru(e){return!!xf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function xf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Oi(e,t,n){return e[t]=n}function dr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Gs(e,t,n,r){const i=dr(e,t,n);return dr(e,t+1,r)||i}function Bl(e,t,n,r,i,s,a,l,f,b){const T=n+Tt,P=t.firstCreatePass?function K1(e,t,n,r,i,s,a,l,f){const b=t.consts,T=ya(t,e,4,a||null,l||null);Xd(t,n,T,si(b,f)),uc(t,T);const P=T.tView=Kd(2,T,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b,null);return null!==t.queries&&(t.queries.template(t,T),P.queries=t.queries.embeddedTView(T)),T}(T,t,e,r,i,s,a,l,f):t.data[T];Si(P,!1);const W=Vy(t,e,P,n);nl()&&Bc(t,e,W,P),Zr(W,e);const ae=um(W,e,W,P);return e[T]=ae,$c(e,ae),function uy(e,t,n){return _f(e,t,n)}(ae,P,e),Ya(P)&&Gd(t,e,P),null!=f&&Wd(e,P,b),P}function Pf(e,t,n,r,i,s,a,l){const f=Fe(),b=on();return Bl(f,b,e,t,n,r,i,si(b.consts,s),a,l),Pf}let Vy=function Uy(e,t,n,r){return Fi(!0),t[Mt].createComment("")};function Wf(e,t,n,r){const i=Fe();return dr(i,bi(),t)&&(on(),Ri(jn(),i,e,t,n,r)),Wf}function Aa(e,t,n,r){return dr(e,bi(),n)?t+Xe(n)+r:Ht}function Ra(e,t,n,r,i,s){const l=Gs(e,function Ji(){return jt.lFrame.bindingIndex}(),n,i);return es(2),l?t+Xe(n)+r+Xe(i)+s:Ht}function uu(e,t){return e<<17|t<<2}function vs(e){return e>>17&32767}function Kf(e){return 2|e}function Ks(e){return(131068&e)>>2}function Xf(e,t){return-131069&e|t<<2}function Qf(e){return 1|e}function vv(e,t,n,r){const i=e[n+1],s=null===t;let a=r?vs(i):Ks(i),l=!1;for(;0!==a&&(!1===l||s);){const b=e[a+1];OT(e[a],t)&&(l=!0,e[a+1]=r?Qf(b):Kf(b)),a=r?vs(b):Ks(b)}l&&(e[n+1]=r?Kf(i):Qf(i))}function OT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&xo(e,t)>=0}const Cr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ev(e){return e.substring(Cr.key,Cr.keyEnd)}function kT(e){return e.substring(Cr.value,Cr.valueEnd)}function bv(e,t){const n=Cr.textEnd;return n===t?-1:(t=Cr.keyEnd=function LT(e,t,n){for(;t32;)t++;return t}(e,Cr.key=t,n),Ba(e,t,n))}function Dv(e,t){const n=Cr.textEnd;let r=Cr.key=Ba(e,t,n);return n===r?-1:(r=Cr.keyEnd=function jT(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=wv(e,r,n),r=Cr.value=Ba(e,r,n),r=Cr.valueEnd=function BT(e,t,n){let r=-1,i=-1,s=-1,a=t,l=a;for(;a32&&(l=a),s=i,i=r,r=-33&f}return l}(e,r,n),wv(e,r,n))}function _v(e){Cr.key=0,Cr.keyEnd=0,Cr.value=0,Cr.valueEnd=0,Cr.textEnd=e.length}function Ba(e,t,n){for(;t=0;n=Dv(t,n))Sv(e,Ev(t),kT(t))}function Tv(e){Ci(WT,ki,e,!0)}function ki(e,t){for(let n=function xT(e){return _v(e),bv(e,Ba(e,0,Cr.textEnd))}(t);n>=0;n=bv(t,n))vr(e,Ev(t),!0)}function wi(e,t,n,r){const i=Fe(),s=on(),a=es(2);s.firstUpdatePass&&Mv(s,e,a,r),t!==Ht&&dr(i,a,t)&&Fv(s,s.data[Yr()],i,i[Mt],e,i[a+1]=function XT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Yt(ts(e)))),e}(t,n),r,a)}function Ci(e,t,n,r){const i=on(),s=es(2);i.firstUpdatePass&&Mv(i,null,s,r);const a=Fe();if(n!==Ht&&dr(a,s,n)){const l=i.data[Yr()];if(Av(l,r)&&!Iv(i,s)){let f=r?l.classesWithoutHost:l.stylesWithoutHost;null!==f&&(n=Qn(f,n||"")),Zf(i,l,a,n,r)}else!function KT(e,t,n,r,i,s,a,l){i===Ht&&(i=nn);let f=0,b=0,T=0=e.expandoStartIndex}function Mv(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Yr()],a=Iv(e,n);Av(s,r)&&null===t&&!a&&(t=!1),t=function UT(e,t,n,r){const i=function Xu(e){const t=jt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Hl(n=eh(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=eh(i,e,t,n,r),null===s){let f=function $T(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ks(r))return e[vs(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=eh(null,e,t,f[1],r),f=Hl(f,t.attrs,r),function HT(e,t,n,r){e[vs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else s=function zT(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(b=!0)):T=n,i)if(0!==f){const W=vs(e[l+1]);e[r+1]=uu(W,l),0!==W&&(e[W+1]=Xf(e[W+1],r)),e[l+1]=function FT(e,t){return 131071&e|t<<17}(e[l+1],r)}else e[r+1]=uu(l,0),0!==l&&(e[l+1]=Xf(e[l+1],r)),l=r;else e[r+1]=uu(f,0),0===l?l=r:e[f+1]=Xf(e[f+1],r),f=r;b&&(e[r+1]=Kf(e[r+1])),vv(e,T,r,!0),vv(e,T,r,!1),function RT(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&xo(s,t)>=0&&(n[r+1]=Qf(n[r+1]))}(t,T,e,r,s),a=uu(l,f),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}function eh(e,t,n,r,i){let s=null;const a=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l0;){const f=e[i],b=Array.isArray(f),T=b?f[1]:f,P=null===T;let W=n[i+1];W===Ht&&(W=P?nn:void 0);let ae=P?yi(W,r):T===r?W:void 0;if(b&&!du(ae)&&(ae=yi(f,r)),du(ae)&&(l=ae,a))return l;const he=e[i+1];i=a?vs(he):Ks(he)}if(null!==t){let f=s?t.residualClasses:t.residualStyles;null!=f&&(l=yi(f,r))}return l}function du(e){return void 0!==e}function Av(e,t){return!!(e.flags&(t?8:16))}function Rv(e,t,n){Ci(vr,ki,Aa(Fe(),e,t,n),!0)}function hu(e,t,n,r){const i=Fe(),s=on(),a=Tt+e,l=i[Mt],f=s.firstCreatePass?function mI(e,t,n,r,i,s){const a=t.consts,f=ya(t,e,2,r,si(a,i));return Xd(t,n,f,si(a,s)),null!==f.attrs&&Zc(f,f.attrs,!1),null!==f.mergedAttrs&&Zc(f,f.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,f),f}(a,s,i,t,n,r):s.data[a],b=Pv(s,i,f,l,t,e);i[a]=b;const T=Ya(f);return Si(f,!0),qg(l,b,f),!function wa(e){return!(32&~e.flags)}(f)&&nl()&&Bc(s,i,b,f),0===function V0(){return jt.lFrame.elementDepthCount}()&&Zr(b,i),function U0(){jt.lFrame.elementDepthCount++}(),T&&(Gd(s,i,f),zd(s,f,i)),null!==r&&Wd(i,f),hu}function pu(){let e=In();Gu()?Wu():(e=e.parent,Si(e,!1));const t=e;(function H0(e){return jt.skipHydrationRootTNode===e})(t)&&function K0(){jt.skipHydrationRootTNode=null}(),function $0(){jt.lFrame.elementDepthCount--}();const n=on();return n.firstCreatePass&&(uc(n,e),Qa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function lD(e){return!!(8&e.flags)}(t)&&Zf(n,t,Fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function cD(e){return!!(16&e.flags)}(t)&&Zf(n,t,Fe(),t.stylesWithoutHost,!1),pu}function oh(e,t,n,r){return hu(e,t,n,r),pu(),oh}let Pv=(e,t,n,r,i,s)=>(Fi(!0),Pc(r,i,function fp(){return jt.lFrame.currentNamespace}()));function gu(e,t,n){const r=Fe(),i=on(),s=e+Tt,a=i.firstCreatePass?function EI(e,t,n,r,i){const s=t.consts,a=si(s,r),l=ya(t,e,8,"ng-container",a);return null!==a&&Zc(l,a,!0),Xd(t,n,l,si(s,i)),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,r,t,n):i.data[s];Si(a,!0);const l=Lv(i,r,a,e);return r[s]=l,nl()&&Bc(i,r,l,a),Zr(l,r),Ya(a)&&(Gd(i,r,a),zd(i,a,r)),null!=n&&Wd(r,a),gu}function mu(){let e=In();const t=on();return Gu()?Wu():(e=e.parent,Si(e,!1)),t.firstCreatePass&&(uc(t,e),Qa(e)&&t.queries.elementEnd(e)),mu}function ih(e,t,n){return gu(e,t,n),mu(),ih}let Lv=(e,t,n,r)=>(Fi(!0),Pd(t[Mt],""));function jv(){return Fe()}const Xs=void 0;var wI=["en",[["a","p"],["AM","PM"],Xs],[["AM","PM"],Xs,Xs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Xs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Xs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Xs,"{1} 'at' {0}",Xs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function _I(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Va={};function sh(e){const t=function CI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=$v(t);if(n)return n;const r=t.split("-")[0];if(n=$v(r),n)return n;if("en"===r)return wI;throw new Ve(701,!1)}function Uv(e){return sh(e)[Ua.PluralCase]}function $v(e){return e in Va||(Va[e]=Gt.ng&&Gt.ng.common&&Gt.ng.common.locales&&Gt.ng.common.locales[e]),Va[e]}var Ua=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ua||{});const $a="en-US";let Hv=$a;let lE=(e,t,n)=>{};function ch(e,t,n,r){const i=Fe(),s=on(),a=In();return uh(s,i,i[Mt],a,e,t,r),ch}function uh(e,t,n,r,i,s,a){const l=Ya(r),b=e.firstCreatePass&&hm(e),T=t[rn],P=fm(t);let W=!0;if(3&r.type||a){const Se=co(r,t),Ue=a?a(Se):Se,Ye=P.length,Re=a?un=>a(Dn(un[r.index])):r.index;lE(Se,i,s);let Ot=null;if(!a&&l&&(Ot=function fM(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sf?l[f]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==Ot)(Ot.__ngLastListenerFn__||Ot).__ngNextListenerFn__=s,Ot.__ngLastListenerFn__=s,W=!1;else{s=fE(r,t,T,s);const un=n.listen(Ue,i,s);P.push(s,un),b&&b.push(i,Re,Ye,Ye+1)}}else s=fE(r,t,T,s);const ae=r.outputs;let he;if(W&&null!==ae&&(he=ae[i])){const Se=he.length;if(Se)for(let Ue=0;Ue-1?Go(e.index,t):t,5);let l=dE(t,n,r,s),f=i.__ngNextListenerFn__;for(;f;)l=dE(t,n,f,s)&&l,f=f.__ngNextListenerFn__;return l}}function hE(e=1){return function J0(e){return(jt.lFrame.contextLView=function Yh(e,t){for(;e>0;)t=t[Yi],e--;return t}(e,jt.lFrame.contextLView))[rn]}(e)}function hM(e,t){let n=null;const r=function Kr(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i(Fi(!0),function xd(e,t){return e.createText(t)}(t[Mt],r));function fh(e){return Du("",e,""),fh}function Du(e,t,n){const r=Fe(),i=Aa(r,e,t,n);return i!==Ht&&rs(r,Yr(),i),Du}function hh(e,t,n,r,i){const s=Fe(),a=Ra(s,e,t,n,r,i);return a!==Ht&&rs(s,Yr(),a),hh}function ph(e,t,n){Dy(t)&&(t=t());const r=Fe();return dr(r,bi(),t)&&To(on(),jn(),r,e,t,r[Mt],n,!1),ph}function KE(e,t){const n=Dy(e);return n&&e.set(t),n}function gh(e,t){const n=Fe(),r=on(),i=In();return uh(r,n,n[Mt],i,e,t),gh}function mh(e,t,n,r,i){if(e=ct(e),Array.isArray(e))for(let s=0;s>20;if(Fr(e)||!e.multi){const ae=new rl(b,i,ma),he=vh(f,t,i?T:T+W,P);-1===he?(rd(pc(l,a),s,f),yh(s,e,t.length),t.push(f),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(ae),a.push(ae)):(n[he]=ae,a[he]=ae)}else{const ae=vh(f,t,T+W,P),he=vh(f,t,T,T+W),Ue=he>=0&&n[he];if(i&&!Ue||!i&&!(ae>=0&&n[ae])){rd(pc(l,a),s,f);const Ye=function OM(e,t,n,r,i){const s=new rl(e,n,ma);return s.multi=[],s.index=t,s.componentProviders=0,XE(s,i,r&&!n),s}(i?RM:AM,n.length,i,r,b);!i&&Ue&&(n[he].providerFactory=Ye),yh(s,e,t.length,0),t.push(f),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(Ye),a.push(Ye)}else yh(s,e,ae>-1?ae:he,XE(n[i?he:ae],b,!i&&r));!i&&r&&Ue&&n[he].componentProviders++}}}function yh(e,t,n,r){const i=Fr(t),s=function Ki(e){return!!e.useClass}(t);if(i||s){const f=(s?ct(t.useClass):t).prototype.ngOnDestroy;if(f){const b=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const T=b.indexOf(n);-1===T?b.push(n,[r,f]):b[T+1].push(r,f)}else b.push(n,f)}}}function XE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vh(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function NM(e,t,n){const r=on();if(r.firstCreatePass){const i=oi(e);mh(n,r.data,r.blueprint,i,!0),mh(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let kM=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=rr(0,n.type),i=r.length>0?kf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Zt({token:e,providedIn:"environment",factory:()=>new e(Bn(Lt))})}return e})();function YE(e){Ko("NgStandalone"),e.getStandaloneInjector=t=>t.get(kM).getOrCreateStandaloneInjector(e)}function qE(e,t,n){const r=uo()+e,i=Fe();return i[r]===Ht?Oi(i,r,n?t.call(n):t()):function jl(e,t){return e[t]}(i,r)}function JE(e,t,n,r){return rb(Fe(),uo(),e,t,n,r)}function eb(e,t,n,r,i){return ob(Fe(),uo(),e,t,n,r,i)}function tb(e,t,n,r,i,s){return function ib(e,t,n,r,i,s,a,l){const f=t+n;return function ou(e,t,n,r,i){const s=Gs(e,t,n,r);return dr(e,t+2,i)||s}(e,f,i,s,a)?Oi(e,f+3,l?r.call(l,i,s,a):r(i,s,a)):Ql(e,f+3)}(Fe(),uo(),e,t,n,r,i,s)}function nb(e,t,n,r,i,s,a){return function sb(e,t,n,r,i,s,a,l,f){const b=t+n;return function li(e,t,n,r,i,s){const a=Gs(e,t,n,r);return Gs(e,t+2,i,s)||a}(e,b,i,s,a,l)?Oi(e,b+4,f?r.call(f,i,s,a,l):r(i,s,a,l)):Ql(e,b+4)}(Fe(),uo(),e,t,n,r,i,s,a)}function Ql(e,t){const n=e[t];return n===Ht?void 0:n}function rb(e,t,n,r,i,s){const a=t+n;return dr(e,a,i)?Oi(e,a+1,s?r.call(s,i):r(i)):Ql(e,a+1)}function ob(e,t,n,r,i,s,a){const l=t+n;return Gs(e,l,i,s)?Oi(e,l+2,a?r.call(a,i,s):r(i,s)):Ql(e,l+2)}function lb(e,t){const n=on();let r;const i=e+Tt;n.firstCreatePass?(r=function $M(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=yo(r.type)),l=cr(ma);try{const f=hc(!1),b=s();return hc(f),function vM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Fe(),i,b),b}finally{cr(l)}}function cb(e,t,n){const r=e+Tt,i=Fe(),s=ra(i,r);return Yl(i,r)?rb(i,uo(),t,s.transform,n,s):s.transform(n)}function ub(e,t,n,r){const i=e+Tt,s=Fe(),a=ra(s,i);return Yl(s,i)?ob(s,uo(),t,a.transform,n,r,a):a.transform(n,r)}function Yl(e,t){return e[Be].data[t].pure}function db(e,t){return Gc(e,t)}class Mb{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Sb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Ob=new At(""),kb=new At("");let Th,jS=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Th||(function BS(e){Th=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Bn(zn),Bn(xb),Bn(kb))};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac})}return e})(),xb=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Th?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ih(e){return!!e&&"function"==typeof e.then}function Pb(e){return!!e&&"function"==typeof e.subscribe}const Lb=new At("");let Mh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ht(Lb,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(Ih(s))n.push(s);else if(Pb(s)){const a=new Promise((l,f)=>{s.subscribe({complete:l,error:f})});n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Tu=new At("");function Vb(e,t){return Array.isArray(t)?t.reduce(Vb,e):{...e,...t}}let Ti=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ht(kp),this.afterRenderEffectManager=ht(Ol),this.zonelessEnabled=ht(Al),this.externalTestViews=new Set,this.beforeRender=new Ut.B,this.afterTick=new Ut.B,this.componentTypes=[],this.components=[],this.isStable=ht(zs).hasPendingTasks.pipe((0,tn.T)(n=>!n)),this._injector=ht(Lt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Hm;if(!this._injector.get(Mh).done)throw!i&&Qe(n),new Ve(405,!1);let a;a=i?n:this._injector.get(Rl).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function VS(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Hs),b=a.create(Br.NULL,[],r||a.selector,l),T=b.location.nativeElement,P=b.injector.get(Ob,null);return P?.registerApplication(T),b.onDestroy(()=>{this.detachView(b.hostView),Iu(this.components,b),P?.unregisterApplication(T)}),this._loadComponent(b),b}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new Ve(101,!1);const r=H(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,H(r),this.afterTick.next()}}detectChangesInAttachedViews(n){let r=null;this._injector.destroyed||(r=this._injector.get(hf,null,{optional:!0}));let i=0;const s=this.afterRenderEffectManager;for(;i<10;){const a=0===i;if(n||!a){this.beforeRender.next(a);for(let{_lView:l,notifyErrorHandler:f}of this._views)$S(l,f,a,this.zonelessEnabled)}else r?.begin?.(),r?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:l})=>el(l))&&(s.execute(),!this.allViews.some(({_lView:l})=>el(l))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Iu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Tu,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Iu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ve(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Iu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function $S(e,t,n,r){(n||el(e))&&zc(e,t,n&&!r?0:1)}class HS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let zS=(()=>{class e{compileModuleSync(n){return new Of(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Wo(He(n).declarations).reduce((a,l)=>{const f=K(l);return f&&a.push(new Pl(f)),a},[]);return new HS(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),KS=(()=>{class e{constructor(){this.zone=ht(zn),this.changeDetectionScheduler=ht(Da),this.applicationRef=ht(Ti)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sh({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new zn(Fh()),[{provide:zn,useFactory:e},{provide:xr,multi:!0,useFactory:()=>{const n=ht(KS,{optional:!0});return()=>n.initialize()}},{provide:xr,multi:!0,useFactory:()=>{const n=ht(QS);return()=>{n.initialize()}}},{provide:kp,useFactory:XS},!0===t?{provide:$m,useValue:!0}:[]]}function XS(){const e=ht(zn),t=ht(Di);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Fh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let QS=(()=>{class e{constructor(){this.subscription=new tt.yU,this.initialized=!1,this.zone=ht(zn),this.pendingTasks=ht(zs)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{zn.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{zn.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jl=(()=>{class e{constructor(){this.appRef=ht(Ti),this.taskService=ht(zs),this.ngZone=ht(zn),this.zonelessEnabled=ht(Al),this.disableScheduling=ht($m,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new tt.yU,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,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 yf||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Km:Wm;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&zn.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(r),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Km(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Su=new At("",{providedIn:"root",factory:()=>ht(Su,xt.Optional|xt.SkipSelf)||function YS(){return typeof $localize<"u"&&$localize.locale||$a}()}),ZS=new At("",{providedIn:"root",factory:()=>"USD"}),Ah=new At("");let Gb=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function QC(e="zone.js",t){return"noop"===e?new yf:"zone.js"===e?new zn(t):e}(r?.ngZone,Fh({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=r?.ignoreChangesOutsideZone,a=function U1(e,t,n){return new Rf(e,t,n)}(n.moduleType,this.injector,[...Sh({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:Da,useExisting:Jl}]),l=a.injector.get(Di,null);return i.runOutsideAngular(()=>{const f=i.onError.subscribe({next:b=>{l.handleError(b)}});a.onDestroy(()=>{Iu(this._modules,a),f.unsubscribe()})}),function Bb(e,t,n){try{const r=n();return Ih(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,i,()=>{const f=a.injector.get(Mh);return f.runInitializers(),f.donePromise.then(()=>(function zv(e){"string"==typeof e&&(Hv=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Su,$a)||$a),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const i=Vb({},r);return function WS(e,t,n){const r=new Of(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(Ti);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Ve(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ve(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ah,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(Bn(Br))};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Es=null;const Wb=new At("");function Kb(e,t,n=[]){const r=`Platform: ${t}`,i=new At(r);return(s=[])=>{let a=Rh();if(!a||a.injector.get(Wb,!1)){const l=[...n,...s,{provide:i,useValue:!0}];e?e(l):function JS(e){if(Es&&!Es.get(Wb,!1))throw new Ve(400,!1);(function jb(){!function dn(e){_t=e}(()=>{throw new Ve(600,!1)})})(),Es=e;const t=e.get(Gb);(function Qb(e){e.get(ng,null)?.forEach(n=>n())})(e)}(function Xb(e=[],t){return Br.create({name:t,providers:[{provide:Xi,useValue:"platform"},{provide:Ah,useValue:new Set([()=>Es=null])},...e]})}(l,r))}return function eF(e){const t=Rh();if(!t)throw new Ve(401,!1);return t}()}}function Rh(){return Es?.get(Gb)??null}function nF(){return!1}function rF(){}let Zb=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=oF}return e})();function oF(e){return function iF(e,t,n){if(hs(e)&&!n){const r=Go(e.index,t);return new _l(r,r)}return 47&e.type?new _l(t[Hn],t):null}(In(),Fe(),!(16&~e))}class t0{constructor(){}supports(t){return ru(t)}create(t){return new uF(t)}}const cF=(e,t)=>t;class uF{constructor(t){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=t||cF}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(i,l),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,l,a,i)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,a,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new dF(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new n0),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new n0),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class dF{constructor(t,n){this.item=t,this.trackById=n,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}}class fF{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class n0{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new fF,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function r0(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new pF(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class pF{constructor(t){this.key=t,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 s0(){return new Lh([new t0])}let Lh=(()=>{class e{static#e=this.\u0275prov=Zt({token:e,providedIn:"root",factory:s0});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||s0()),deps:[[e,new Oo,new Ro]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Ve(901,!1)}}return e})();function a0(){return new jh([new o0])}let jh=(()=>{class e{static#e=this.\u0275prov=Zt({token:e,providedIn:"root",factory:a0});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||a0()),deps:[[e,new Oo,new Ro]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Ve(901,!1)}}return e})();const yF=Kb(null,"core",[]);let vF=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(Bn(Ti))};static#t=this.\u0275mod=_({type:e});static#n=this.\u0275inj=Jr({})}return e})();function qF(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function eN(e){const t=H(null);try{return e()}finally{H(t)}}function sN(e){const t=K(e);if(!t)return null;const n=new Pl(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},89079:(We,de,D)=>{D.d(de,{pQ:()=>o});var y=D(54438),h=D(71985),Z=D(56977);function o(le){le||((0,y.Af3)(o),le=(0,y.WQX)(y.abz));const Y=new h.c(B=>le.onDestroy(B.next.bind(B)));return B=>B.pipe((0,Z.Q)(Y))}},345:(We,de,D)=>{D.d(de,{B7:()=>$e,Bb:()=>tn,hE:()=>Ve,sG:()=>Vt,up:()=>Gt});var y=D(60177),h=D(54438);class Z extends y.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends Z{static makeCurrent(){(0,y.ZD)(new o)}onAndCancel(w,S,O){return w.addEventListener(S,O),()=>{w.removeEventListener(S,O)}}dispatchEvent(w,S){w.dispatchEvent(S)}remove(w){w.parentNode&&w.parentNode.removeChild(w)}createElement(w,S){return(S=S||this.getDefaultDocument()).createElement(w)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(w){return w.nodeType===Node.ELEMENT_NODE}isShadowRoot(w){return w instanceof DocumentFragment}getGlobalEventTarget(w,S){return"window"===S?window:"document"===S?w:"body"===S?w.body:null}getBaseHref(w){const S=function H(){return Q=Q||document.querySelector("base"),Q?Q.getAttribute("href"):null}();return null==S?null:function oe(ye){return new URL(ye,document.baseURI).pathname}(S)}resetBaseElement(){Q=null}getUserAgent(){return window.navigator.userAgent}getCookie(w){return(0,y._b)(document.cookie,w)}}let Q=null,ie=(()=>{class ye{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(O){return new(O||ye)};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();const le=new h.nKC("");let Y=(()=>{class ye{constructor(S,O){this._zone=O,this._eventNameToPlugin=new Map,S.forEach(z=>{z.manager=this}),this._plugins=S.slice().reverse()}addEventListener(S,O,z){return this._findPluginFor(O).addEventListener(S,O,z)}getZone(){return this._zone}_findPluginFor(S){let O=this._eventNameToPlugin.get(S);if(O)return O;if(O=this._plugins.find(me=>me.supports(S)),!O)throw new h.wOt(5101,!1);return this._eventNameToPlugin.set(S,O),O}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(le),h.KVO(h.SKi))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();class B{constructor(w){this._doc=w}}const ce="ng-app-id";let V=(()=>{class ye{constructor(S,O,z,me={}){this.doc=S,this.appId=O,this.nonce=z,this.platformId=me,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,y.Vy)(me),this.resetHostNodes()}addStyles(S){for(const O of S)1===this.changeUsageCount(O,1)&&this.onStyleAdded(O)}removeStyles(S){for(const O of S)this.changeUsageCount(O,-1)<=0&&this.onStyleRemoved(O)}ngOnDestroy(){const S=this.styleNodesInDOM;S&&(S.forEach(O=>O.remove()),S.clear());for(const O of this.getAllStyles())this.onStyleRemoved(O);this.resetHostNodes()}addHost(S){this.hostNodes.add(S);for(const O of this.getAllStyles())this.addStyleToHost(S,O)}removeHost(S){this.hostNodes.delete(S)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(S){for(const O of this.hostNodes)this.addStyleToHost(O,S)}onStyleRemoved(S){const O=this.styleRef;O.get(S)?.elements?.forEach(z=>z.remove()),O.delete(S)}collectServerRenderedStyles(){const S=this.doc.head?.querySelectorAll(`style[${ce}="${this.appId}"]`);if(S?.length){const O=new Map;return S.forEach(z=>{null!=z.textContent&&O.set(z.textContent,z)}),O}return null}changeUsageCount(S,O){const z=this.styleRef;if(z.has(S)){const me=z.get(S);return me.usage+=O,me.usage}return z.set(S,{usage:O,elements:[]}),O}getStyleElement(S,O){const z=this.styleNodesInDOM,me=z?.get(O);if(me?.parentNode===S)return z.delete(O),me.removeAttribute(ce),me;{const Ae=this.doc.createElement("style");return this.nonce&&Ae.setAttribute("nonce",this.nonce),Ae.textContent=O,this.platformIsServer&&Ae.setAttribute(ce,this.appId),S.appendChild(Ae),Ae}}addStyleToHost(S,O){const z=this.getStyleElement(S,O),me=this.styleRef,Ae=me.get(O)?.elements;Ae?Ae.push(z):me.set(O,{elements:[z],usage:1})}resetHostNodes(){const S=this.hostNodes;S.clear(),S.add(this.doc.head)}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ),h.KVO(h.sZ2),h.KVO(h.BIS,8),h.KVO(h.Agw))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();const ge={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"},_e=/%COMP%/g,Le=new h.nKC("",{providedIn:"root",factory:()=>!0});function je(ye,w){return w.map(S=>S.replace(_e,ye))}let $e=(()=>{class ye{constructor(S,O,z,me,Ae,xe,ze,nt=null){this.eventManager=S,this.sharedStylesHost=O,this.appId=z,this.removeStylesOnCompDestroy=me,this.doc=Ae,this.platformId=xe,this.ngZone=ze,this.nonce=nt,this.rendererByCompId=new Map,this.platformIsServer=(0,y.Vy)(xe),this.defaultRenderer=new et(S,Ae,ze,this.platformIsServer)}createRenderer(S,O){if(!S||!O)return this.defaultRenderer;this.platformIsServer&&O.encapsulation===h.gXe.ShadowDom&&(O={...O,encapsulation:h.gXe.Emulated});const z=this.getOrCreateRenderer(S,O);return z instanceof _t?z.applyToHost(S):z instanceof ot&&z.applyStyles(),z}getOrCreateRenderer(S,O){const z=this.rendererByCompId;let me=z.get(O.id);if(!me){const Ae=this.doc,xe=this.ngZone,ze=this.eventManager,nt=this.sharedStylesHost,ut=this.removeStylesOnCompDestroy,Nt=this.platformIsServer;switch(O.encapsulation){case h.gXe.Emulated:me=new _t(ze,nt,O,this.appId,ut,Ae,xe,Nt);break;case h.gXe.ShadowDom:return new Te(ze,nt,S,O,Ae,xe,this.nonce,Nt);default:me=new ot(ze,nt,O,ut,Ae,xe,Nt)}z.set(O.id,me)}return me}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(Y),h.KVO(V),h.KVO(h.sZ2),h.KVO(Le),h.KVO(y.qQ),h.KVO(h.Agw),h.KVO(h.SKi),h.KVO(h.BIS))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();class et{constructor(w,S,O,z){this.eventManager=w,this.doc=S,this.ngZone=O,this.platformIsServer=z,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(w,S){return S?this.doc.createElementNS(ge[S]||S,w):this.doc.createElement(w)}createComment(w){return this.doc.createComment(w)}createText(w){return this.doc.createTextNode(w)}appendChild(w,S){(Ne(w)?w.content:w).appendChild(S)}insertBefore(w,S,O){w&&(Ne(w)?w.content:w).insertBefore(S,O)}removeChild(w,S){w&&w.removeChild(S)}selectRootElement(w,S){let O="string"==typeof w?this.doc.querySelector(w):w;if(!O)throw new h.wOt(-5104,!1);return S||(O.textContent=""),O}parentNode(w){return w.parentNode}nextSibling(w){return w.nextSibling}setAttribute(w,S,O,z){if(z){S=z+":"+S;const me=ge[z];me?w.setAttributeNS(me,S,O):w.setAttribute(S,O)}else w.setAttribute(S,O)}removeAttribute(w,S,O){if(O){const z=ge[O];z?w.removeAttributeNS(z,S):w.removeAttribute(`${O}:${S}`)}else w.removeAttribute(S)}addClass(w,S){w.classList.add(S)}removeClass(w,S){w.classList.remove(S)}setStyle(w,S,O,z){z&(h.czy.DashCase|h.czy.Important)?w.style.setProperty(S,O,z&h.czy.Important?"important":""):w.style[S]=O}removeStyle(w,S,O){O&h.czy.DashCase?w.style.removeProperty(S):w.style[S]=""}setProperty(w,S,O){null!=w&&(w[S]=O)}setValue(w,S){w.nodeValue=S}listen(w,S,O){if("string"==typeof w&&!(w=(0,y.QT)().getGlobalEventTarget(this.doc,w)))throw new Error(`Unsupported event target ${w} for event ${S}`);return this.eventManager.addEventListener(w,S,this.decoratePreventDefault(O))}decoratePreventDefault(w){return S=>{if("__ngUnwrap__"===S)return w;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>w(S)):w(S))&&S.preventDefault()}}}function Ne(ye){return"TEMPLATE"===ye.tagName&&void 0!==ye.content}class Te extends et{constructor(w,S,O,z,me,Ae,xe,ze){super(w,me,Ae,ze),this.sharedStylesHost=S,this.hostEl=O,this.shadowRoot=O.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const nt=je(z.id,z.styles);for(const ut of nt){const Nt=document.createElement("style");xe&&Nt.setAttribute("nonce",xe),Nt.textContent=ut,this.shadowRoot.appendChild(Nt)}}nodeOrShadowRoot(w){return w===this.hostEl?this.shadowRoot:w}appendChild(w,S){return super.appendChild(this.nodeOrShadowRoot(w),S)}insertBefore(w,S,O){return super.insertBefore(this.nodeOrShadowRoot(w),S,O)}removeChild(w,S){return super.removeChild(this.nodeOrShadowRoot(w),S)}parentNode(w){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(w)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ot extends et{constructor(w,S,O,z,me,Ae,xe,ze){super(w,me,Ae,xe),this.sharedStylesHost=S,this.removeStylesOnCompDestroy=z,this.styles=ze?je(ze,O.styles):O.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class _t extends ot{constructor(w,S,O,z,me,Ae,xe,ze){const nt=z+"-"+O.id;super(w,S,O,me,Ae,xe,ze,nt),this.contentAttr=function ke(ye){return"_ngcontent-%COMP%".replace(_e,ye)}(nt),this.hostAttr=function Je(ye){return"_nghost-%COMP%".replace(_e,ye)}(nt)}applyToHost(w){this.applyStyles(),this.setAttribute(w,this.hostAttr,"")}createElement(w,S){const O=super.createElement(w,S);return super.setAttribute(O,this.contentAttr,""),O}}let Qt=(()=>{class ye extends B{constructor(S){super(S)}supports(S){return!0}addEventListener(S,O,z){return S.addEventListener(O,z,!1),()=>this.removeEventListener(S,O,z)}removeEventListener(S,O,z){return S.removeEventListener(O,z)}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();const dn=["alt","control","meta","shift"],Ce={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},U={alt:ye=>ye.altKey,control:ye=>ye.ctrlKey,meta:ye=>ye.metaKey,shift:ye=>ye.shiftKey};let x=(()=>{class ye extends B{constructor(S){super(S)}supports(S){return null!=ye.parseEventName(S)}addEventListener(S,O,z){const me=ye.parseEventName(O),Ae=ye.eventCallback(me.fullKey,z,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.QT)().onAndCancel(S,me.domEventName,Ae))}static parseEventName(S){const O=S.toLowerCase().split("."),z=O.shift();if(0===O.length||"keydown"!==z&&"keyup"!==z)return null;const me=ye._normalizeKey(O.pop());let Ae="",xe=O.indexOf("code");if(xe>-1&&(O.splice(xe,1),Ae="code."),dn.forEach(nt=>{const ut=O.indexOf(nt);ut>-1&&(O.splice(ut,1),Ae+=nt+".")}),Ae+=me,0!=O.length||0===me.length)return null;const ze={};return ze.domEventName=z,ze.fullKey=Ae,ze}static matchEventFullKeyCode(S,O){let z=Ce[S.key]||S.key,me="";return O.indexOf("code.")>-1&&(z=S.code,me="code."),!(null==z||!z)&&(z=z.toLowerCase()," "===z?z="space":"."===z&&(z="dot"),dn.forEach(Ae=>{Ae!==z&&(0,U[Ae])(S)&&(me+=Ae+".")}),me+=z,me===O)}static eventCallback(S,O,z){return me=>{ye.matchEventFullKeyCode(me,S)&&z.runGuarded(()=>O(me))}}static _normalizeKey(S){return"esc"===S?"escape":S}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();const Vt=(0,h.oH4)(h.fpN,"browser",[{provide:h.Agw,useValue:y.AJ},{provide:h.PLl,useValue:function it(){o.makeCurrent()},multi:!0},{provide:y.qQ,useFactory:function Jt(){return(0,h.TL$)(document),document},deps:[]}]),Ut=new h.nKC(""),tt=[{provide:h.e01,useClass:class ue{addToWindow(w){h.JZv.getAngularTestability=(O,z=!0)=>{const me=w.findTestabilityInTree(O,z);if(null==me)throw new h.wOt(5103,!1);return me},h.JZv.getAllAngularTestabilities=()=>w.getAllTestabilities(),h.JZv.getAllAngularRootElements=()=>w.getAllRootElements(),h.JZv.frameworkStabilizers||(h.JZv.frameworkStabilizers=[]),h.JZv.frameworkStabilizers.push(O=>{const z=h.JZv.getAllAngularTestabilities();let me=z.length;const Ae=function(){me--,0==me&&O()};z.forEach(xe=>{xe.whenStable(Ae)})})}findTestabilityInTree(w,S,O){return null==S?null:w.getTestability(S)??(O?(0,y.QT)().isShadowRoot(S)?this.findTestabilityInTree(w,S.host,!0):this.findTestabilityInTree(w,S.parentElement,!0):null)}},deps:[]},{provide:h.WHO,useClass:h.NYb,deps:[h.SKi,h.giA,h.e01]},{provide:h.NYb,useClass:h.NYb,deps:[h.SKi,h.giA,h.e01]}],an=[{provide:h.H8p,useValue:"root"},{provide:h.zcH,useFactory:function mt(){return new h.zcH},deps:[]},{provide:le,useClass:Qt,multi:!0,deps:[y.qQ,h.SKi,h.Agw]},{provide:le,useClass:x,multi:!0,deps:[y.qQ]},$e,V,Y,{provide:h._9s,useExisting:$e},{provide:y.N0,useClass:ie,deps:[]},[]];let tn=(()=>{class ye{constructor(S){}static withServerTransition(S){return{ngModule:ye,providers:[{provide:h.sZ2,useValue:S.appId}]}}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(Ut,12))};static#t=this.\u0275mod=h.$C({type:ye});static#n=this.\u0275inj=h.G2t({providers:[...an,...tt],imports:[y.MD,h.Hbi]})}return ye})(),Ve=(()=>{class ye{constructor(S){this._doc=S}getTitle(){return this._doc.title}setTitle(S){this._doc.title=S||""}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),Gt=(()=>{class ye{static#e=this.\u0275fac=function(O){return new(O||ye)};static#t=this.\u0275prov=h.jDH({token:ye,factory:function(O){let z=null;return z=O?new(O||ye):h.KVO(bt),z},providedIn:"root"})}return ye})(),bt=(()=>{class ye extends Gt{constructor(S){super(),this._doc=S}sanitize(S,O){if(null==O)return null;switch(S){case h.WPN.NONE:return O;case h.WPN.HTML:return(0,h.ZF7)(O,"HTML")?(0,h.rcV)(O):(0,h.h9k)(this._doc,String(O)).toString();case h.WPN.STYLE:return(0,h.ZF7)(O,"Style")?(0,h.rcV)(O):O;case h.WPN.SCRIPT:if((0,h.ZF7)(O,"Script"))return(0,h.rcV)(O);throw new h.wOt(5200,!1);case h.WPN.URL:return(0,h.ZF7)(O,"URL")?(0,h.rcV)(O):(0,h.$MX)(String(O));case h.WPN.RESOURCE_URL:if((0,h.ZF7)(O,"ResourceURL"))return(0,h.rcV)(O);throw new h.wOt(5201,!1);default:throw new h.wOt(5202,!1)}}bypassSecurityTrustHtml(S){return(0,h.Kcf)(S)}bypassSecurityTrustStyle(S){return(0,h.cWb)(S)}bypassSecurityTrustScript(S){return(0,h.UyX)(S)}bypassSecurityTrustUrl(S){return(0,h.osQ)(S)}bypassSecurityTrustResourceUrl(S){return(0,h.e5t)(S)}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})()},8681:(We,de,D)=>{D.d(de,{nX:()=>No,wF:()=>se,Ix:()=>rn,Wk:()=>Mt,wQ:()=>us,iI:()=>ju,n3:()=>Bi,Sd:()=>Qn});var y=D(10467),h=D(54438),Z=D(74402),o=D(22806),Q=D(7673),H=D(84412),oe=D(84572);const ie=(0,D(81853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var le=D(28793),Y=D(71985),B=D(58750);function ce(c){return new Y.c(m=>{(0,B.Tg)(c()).subscribe(m)})}var V=D(71203),ge=D(98071);function _e(c,m){const u=(0,ge.T)(c)?c:()=>c,v=C=>C.error(u());return new Y.c(m?C=>m.schedule(v,0,C):v)}var Oe=D(983),rt=D(18359),gt=D(39974),kt=D(54360);function Le(){return(0,gt.N)((c,m)=>{let u=null;c._refCount++;const v=(0,kt._)(m,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(u=null);const C=c._connection,k=u;u=null,C&&(!k||C===k)&&C.unsubscribe(),m.unsubscribe()});c.subscribe(v),v.closed||(u=c.connect())})}class ke extends Y.c{constructor(m,u){super(),this.source=m,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,gt.S)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new rt.yU;const u=this.getSubject();m.add(this.source.subscribe((0,kt._)(u,void 0,()=>{this._teardown(),u.complete()},v=>{this._teardown(),u.error(v)},()=>this._teardown()))),m.closed&&(this._connection=null,m=rt.yU.EMPTY)}return m}refCount(){return Le()(this)}}var Je=D(21413),je=D(60177),$e=D(96354),et=D(25558),st=D(96697),zt=D(9326),Te=D(5964),ot=D(31397);function _t(c){return(0,gt.N)((m,u)=>{let v=!1;m.subscribe((0,kt._)(u,C=>{v=!0,u.next(C)},()=>{v||u.next(c),u.complete()}))})}function Qt(c=dn){return(0,gt.N)((m,u)=>{let v=!1;m.subscribe((0,kt._)(u,C=>{v=!0,u.next(C)},()=>v?u.complete():u.error(c())))})}function dn(){return new ie}var Ce=D(33669);function U(c,m){const u=arguments.length>=2;return v=>v.pipe(c?(0,Te.p)((C,k)=>c(C,k,v)):Ce.D,(0,st.s)(1),u?_t(m):Qt(()=>new ie))}var x=D(70274),$=D(88141);function re(c){return(0,gt.N)((m,u)=>{let k,v=null,C=!1;v=m.subscribe((0,kt._)(u,void 0,void 0,G=>{k=(0,B.Tg)(c(G,re(c)(m))),v?(v.unsubscribe(),v=null,k.subscribe(u)):C=!0})),C&&(v.unsubscribe(),v=null,k.subscribe(u))})}var Me=D(31943);function we(c){return c<=0?()=>Oe.w:(0,gt.N)((m,u)=>{let v=[];m.subscribe((0,kt._)(u,C=>{v.push(C),c{for(const C of v)u.next(C);u.complete()},void 0,()=>{v=null}))})}var mt=D(73703),Jt=D(70980),dt=D(56977),Vt=D(26365),Ut=D(345);const tt="primary",an=Symbol("RouteTitle");class tn{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const u=this.params[m];return Array.isArray(u)?u[0]:u}return null}getAll(m){if(this.has(m)){const u=this.params[m];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function En(c){return new tn(c)}function en(c,m,u){const v=u.path.split("/");if(v.length>c.length||"full"===u.pathMatch&&(m.hasChildren()||v.lengthv[k]===C)}return c===m}function Vr(c){return c.length>0?c[c.length-1]:null}function xn(c){return(0,Z.A)(c)?c:(0,h.jNT)(c)?(0,o.H)(Promise.resolve(c)):(0,Q.of)(c)}const pr={exact:function sr(c,m,u){if(!Fn(c.segments,m.segments)||!Rn(c.segments,m.segments,u)||c.numberOfChildren!==m.numberOfChildren)return!1;for(const v in m.children)if(!c.children[v]||!sr(c.children[v],m.children[v],u))return!1;return!0},subset:Mn},bn={exact:function Bt(c,m){return ln(c,m)},subset:function er(c,m){return Object.keys(m).length<=Object.keys(c).length&&Object.keys(m).every(u=>Kn(c[u],m[u]))},ignored:()=>!0};function Ft(c,m,u){return pr[u.paths](c.root,m.root,u.matrixParams)&&bn[u.queryParams](c.queryParams,m.queryParams)&&!("exact"===u.fragment&&c.fragment!==m.fragment)}function Mn(c,m,u){return Xn(c,m,m.segments,u)}function Xn(c,m,u,v){if(c.segments.length>u.length){const C=c.segments.slice(0,u.length);return!(!Fn(C,u)||m.hasChildren()||!Rn(C,u,v))}if(c.segments.length===u.length){if(!Fn(c.segments,u)||!Rn(c.segments,u,v))return!1;for(const C in m.children)if(!c.children[C]||!Mn(c.children[C],m.children[C],v))return!1;return!0}{const C=u.slice(0,c.segments.length),k=u.slice(c.segments.length);return!!(Fn(c.segments,C)&&Rn(c.segments,C,v)&&c.children[tt])&&Xn(c.children[tt],m,k,v)}}function Rn(c,m,u){return m.every((v,C)=>bn[u](c[C].parameters,v.parameters))}class Gt{constructor(m=new bt([],{}),u={},v=null){this.root=m,this.queryParams=u,this.fragment=v}get queryParamMap(){return this._queryParamMap??=En(this.queryParams),this._queryParamMap}toString(){return nr.serialize(this)}}class bt{constructor(m,u){this.segments=m,this.children=u,this.parent=null,Object.values(u).forEach(v=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yn(this)}}class Sn{constructor(m,u){this.path=m,this.parameters=u}get parameterMap(){return this._parameterMap??=En(this.parameters),this._parameterMap}toString(){return Ae(this)}}function Fn(c,m){return c.length===m.length&&c.every((u,v)=>u.path===m[v].path)}let Qn=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>new tr,providedIn:"root"})}return c})();class tr{parse(m){const u=new qr(m);return new Gt(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(m){const u=`/${ct(m.root,!0)}`,v=function ze(c){const m=Object.entries(c).map(([u,v])=>Array.isArray(v)?v.map(C=>`${w(u)}=${w(C)}`).join("&"):`${w(u)}=${w(v)}`).filter(u=>u);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${u}${v}${"string"==typeof m.fragment?`#${function S(c){return encodeURI(c)}(m.fragment)}`:""}`}}const nr=new tr;function Yn(c){return c.segments.map(m=>Ae(m)).join("/")}function ct(c,m){if(!c.hasChildren())return Yn(c);if(m){const u=c.children[tt]?ct(c.children[tt],!1):"",v=[];return Object.entries(c.children).forEach(([C,k])=>{C!==tt&&v.push(`${C}:${ct(k,!1)}`)}),v.length>0?`${u}(${v.join("//")})`:u}{const u=function Yt(c,m){let u=[];return Object.entries(c.children).forEach(([v,C])=>{v===tt&&(u=u.concat(m(C,v)))}),Object.entries(c.children).forEach(([v,C])=>{v!==tt&&(u=u.concat(m(C,v)))}),u}(c,(v,C)=>C===tt?[ct(c.children[tt],!1)]:[`${C}:${ct(v,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[tt]?`${Yn(c)}/${u[0]}`:`${Yn(c)}/(${u.join("//")})`}}function ye(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function w(c){return ye(c).replace(/%3B/gi,";")}function O(c){return ye(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function z(c){return decodeURIComponent(c)}function me(c){return z(c.replace(/\+/g,"%20"))}function Ae(c){return`${O(c.path)}${function xe(c){return Object.entries(c).map(([m,u])=>`;${O(m)}=${O(u)}`).join("")}(c.parameters)}`}const nt=/^[^\/()?;#]+/;function ut(c){const m=c.match(nt);return m?m[0]:""}const Nt=/^[^\/()?;=#]+/,ar=/^[^=?&#]+/,Ze=/^[^&#]+/;class qr{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(m.length>0||Object.keys(u).length>0)&&(v[tt]=new bt(m,u)),v}parseSegment(){const m=ut(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new h.wOt(4009,!1);return this.capture(m),new Sn(z(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const u=function mn(c){const m=c.match(Nt);return m?m[0]:""}(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const C=ut(this.remaining);C&&(v=C,this.capture(v))}m[z(u)]=z(v)}parseQueryParam(m){const u=function Kt(c){const m=c.match(ar);return m?m[0]:""}(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const G=function mr(c){const m=c.match(Ze);return m?m[0]:""}(this.remaining);G&&(v=G,this.capture(v))}const C=me(u),k=me(v);if(m.hasOwnProperty(C)){let G=m[C];Array.isArray(G)||(G=[G],m[C]=G),G.push(k)}else m[C]=k}parseParens(m){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=ut(this.remaining),C=this.remaining[v.length];if("/"!==C&&")"!==C&&";"!==C)throw new h.wOt(4010,!1);let k;v.indexOf(":")>-1?(k=v.slice(0,v.indexOf(":")),this.capture(k),this.capture(":")):m&&(k=tt);const G=this.parseChildren();u[k]=1===Object.keys(G).length?G[tt]:new bt([],G),this.consumeOptional("//")}return u}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new h.wOt(4011,!1)}}function Zn(c){return c.segments.length>0?new bt([],{[tt]:c}):c}function ho(c){const m={};for(const[v,C]of Object.entries(c.children)){const k=ho(C);if(v===tt&&0===k.segments.length&&k.hasChildren())for(const[G,Ee]of Object.entries(k.children))m[G]=Ee;else(k.segments.length>0||k.hasChildren())&&(m[v]=k)}return function ci(c){if(1===c.numberOfChildren&&c.children[tt]){const m=c.children[tt];return new bt(c.segments.concat(m.segments),m.children)}return c}(new bt(c.segments,m))}function Zt(c){return c instanceof Gt}function Jr(c){let m;const C=Zn(function u(k){const G={};for(const pe of k.children){const qe=u(pe);G[pe.outlet]=qe}const Ee=new bt(k.url,G);return k===c&&(m=Ee),Ee}(c.root));return m??C}function Or(c,m,u,v){let C=c;for(;C.parent;)C=C.parent;if(0===m.length)return eo(C,C,C,u,v);const k=function to(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new yr(!0,0,c);let m=0,u=!1;const v=c.reduce((C,k,G)=>{if("object"==typeof k&&null!=k){if(k.outlets){const Ee={};return Object.entries(k.outlets).forEach(([pe,qe])=>{Ee[pe]="string"==typeof qe?qe.split("/"):qe}),[...C,{outlets:Ee}]}if(k.segmentPath)return[...C,k.segmentPath]}return"string"!=typeof k?[...C,k]:0===G?(k.split("/").forEach((Ee,pe)=>{0==pe&&"."===Ee||(0==pe&&""===Ee?u=!0:".."===Ee?m++:""!=Ee&&C.push(Ee))}),C):[...C,k]},[]);return new yr(u,m,v)}(m);if(k.toRoot())return eo(C,C,new bt([],{}),u,v);const G=function po(c,m,u){if(c.isAbsolute)return new no(m,!0,0);if(!u)return new no(m,!1,NaN);if(null===u.parent)return new no(u,!0,0);const v=kr(c.commands[0])?0:1;return function At(c,m,u){let v=c,C=m,k=u;for(;k>C;){if(k-=C,v=v.parent,!v)throw new h.wOt(4005,!1);C=v.segments.length}return new no(v,!1,C-k)}(u,u.segments.length-1+v,c.numberOfDoubleDots)}(k,C,c),Ee=G.processChildren?L(G.segmentGroup,G.index,k.commands):ro(G.segmentGroup,G.index,k.commands);return eo(C,G.segmentGroup,Ee,u,v)}function kr(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function lr(c){return"object"==typeof c&&null!=c&&c.outlets}function eo(c,m,u,v,C){let G,k={};v&&Object.entries(v).forEach(([pe,qe])=>{k[pe]=Array.isArray(qe)?qe.map(Rt=>`${Rt}`):`${qe}`}),G=c===m?u:Ur(c,m,u);const Ee=Zn(ho(G));return new Gt(Ee,k,C)}function Ur(c,m,u){const v={};return Object.entries(c.children).forEach(([C,k])=>{v[C]=k===m?u:Ur(k,m,u)}),new bt(c.segments,v)}class yr{constructor(m,u,v){if(this.isAbsolute=m,this.numberOfDoubleDots=u,this.commands=v,m&&v.length>0&&kr(v[0]))throw new h.wOt(4003,!1);const C=v.find(lr);if(C&&C!==Vr(v))throw new h.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class no{constructor(m,u,v){this.segmentGroup=m,this.processChildren=u,this.index=v}}function ro(c,m,u){if(c??=new bt([],{}),0===c.segments.length&&c.hasChildren())return L(c,m,u);const v=function J(c,m,u){let v=0,C=m;const k={match:!1,pathIndex:0,commandIndex:0};for(;C=u.length)return k;const G=c.segments[C],Ee=u[v];if(lr(Ee))break;const pe=`${Ee}`,qe=v0&&void 0===pe)break;if(pe&&qe&&"object"==typeof qe&&void 0===qe.outlets){if(!Ge(pe,qe,G))return k;v+=2}else{if(!Ge(pe,{},G))return k;v++}C++}return{match:!0,pathIndex:C,commandIndex:v}}(c,m,u),C=u.slice(v.commandIndex);if(v.match&&v.pathIndexk!==tt)&&c.children[tt]&&1===c.numberOfChildren&&0===c.children[tt].segments.length){const k=L(c.children[tt],m,u);return new bt(c.segments,k.children)}return Object.entries(v).forEach(([k,G])=>{"string"==typeof G&&(G=[G]),null!==G&&(C[k]=ro(c.children[k],m,G))}),Object.entries(c.children).forEach(([k,G])=>{void 0===v[k]&&(C[k]=G)}),new bt(c.segments,C)}}function ee(c,m,u){const v=c.segments.slice(0,m);let C=0;for(;C{"string"==typeof v&&(v=[v]),null!==v&&(m[u]=ee(new bt([],{}),0,v))}),m}function Pe(c){const m={};return Object.entries(c).forEach(([u,v])=>m[u]=`${v}`),m}function Ge(c,m,u){return c==u.path&&ln(m,u.parameters)}const M="imperative";var q=function(c){return c[c.NavigationStart=0]="NavigationStart",c[c.NavigationEnd=1]="NavigationEnd",c[c.NavigationCancel=2]="NavigationCancel",c[c.NavigationError=3]="NavigationError",c[c.RoutesRecognized=4]="RoutesRecognized",c[c.ResolveStart=5]="ResolveStart",c[c.ResolveEnd=6]="ResolveEnd",c[c.GuardsCheckStart=7]="GuardsCheckStart",c[c.GuardsCheckEnd=8]="GuardsCheckEnd",c[c.RouteConfigLoadStart=9]="RouteConfigLoadStart",c[c.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",c[c.ChildActivationStart=11]="ChildActivationStart",c[c.ChildActivationEnd=12]="ChildActivationEnd",c[c.ActivationStart=13]="ActivationStart",c[c.ActivationEnd=14]="ActivationEnd",c[c.Scroll=15]="Scroll",c[c.NavigationSkipped=16]="NavigationSkipped",c}(q||{});class A{constructor(m,u){this.id=m,this.url=u}}class te extends A{constructor(m,u,v="imperative",C=null){super(m,u),this.type=q.NavigationStart,this.navigationTrigger=v,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class se extends A{constructor(m,u,v){super(m,u),this.urlAfterRedirects=v,this.type=q.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ke=function(c){return c[c.Redirect=0]="Redirect",c[c.SupersededByNewNavigation=1]="SupersededByNewNavigation",c[c.NoDataFromResolver=2]="NoDataFromResolver",c[c.GuardRejected=3]="GuardRejected",c}(Ke||{}),Ct=function(c){return c[c.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",c[c.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",c}(Ct||{});class vt extends A{constructor(m,u,v,C){super(m,u),this.reason=v,this.code=C,this.type=q.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class qt extends A{constructor(m,u,v,C){super(m,u),this.reason=v,this.code=C,this.type=q.NavigationSkipped}}class wt extends A{constructor(m,u,v,C){super(m,u),this.error=v,this.target=C,this.type=q.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xe extends A{constructor(m,u,v,C){super(m,u),this.urlAfterRedirects=v,this.state=C,this.type=q.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class It extends A{constructor(m,u,v,C){super(m,u),this.urlAfterRedirects=v,this.state=C,this.type=q.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hr extends A{constructor(m,u,v,C,k){super(m,u),this.urlAfterRedirects=v,this.state=C,this.shouldActivate=k,this.type=q.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yn extends A{constructor(m,u,v,C){super(m,u),this.urlAfterRedirects=v,this.state=C,this.type=q.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pn extends A{constructor(m,u,v,C){super(m,u),this.urlAfterRedirects=v,this.state=C,this.type=q.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class di{constructor(m){this.route=m,this.type=q.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oo{constructor(m){this.route=m,this.type=q.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class go{constructor(m){this.snapshot=m,this.type=q.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xt{constructor(m){this.snapshot=m,this.type=q.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(m){this.snapshot=m,this.type=q.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bs{constructor(m){this.snapshot=m,this.type=q.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cr{constructor(m,u,v){this.routerEvent=m,this.position=u,this.anchor=v,this.type=q.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class hi{}class xi{constructor(m,u){this.url=m,this.navigationBehaviorOptions=u}}class pi{constructor(m){this.injector=m,this.outlet=null,this.route=null,this.children=new So(this.injector),this.attachRef=null}}let So=(()=>{class c{constructor(u){this.parentInjector=u,this.contexts=new Map}onChildOutletCreated(u,v){const C=this.getOrCreateContext(u);C.outlet=v,this.contexts.set(u,C)}onChildOutletDestroyed(u){const v=this.getContext(u);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let v=this.getContext(u);return v||(v=new pi(this.parentInjector),this.contexts.set(u,v)),v}getContext(u){return this.contexts.get(u)||null}static#e=this.\u0275fac=function(v){return new(v||c)(h.KVO(h.uvJ))};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class Fo{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const u=this.pathFromRoot(m);return u.length>1?u[u.length-2]:null}children(m){const u=Pi(m,this._root);return u?u.children.map(v=>v.value):[]}firstChild(m){const u=Pi(m,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(m){const u=Li(m,this._root);return u.length<2?[]:u[u.length-2].children.map(C=>C.value).filter(C=>C!==m)}pathFromRoot(m){return Li(m,this._root).map(u=>u.value)}}function Pi(c,m){if(c===m.value)return m;for(const u of m.children){const v=Pi(c,u);if(v)return v}return null}function Li(c,m){if(c===m.value)return[m];for(const u of m.children){const v=Li(c,u);if(v.length)return v.unshift(m),v}return[]}class Mr{constructor(m,u){this.value=m,this.children=u}toString(){return`TreeNode(${this.value})`}}function mo(c){const m={};return c&&c.children.forEach(u=>m[u.value.outlet]=u),m}class io extends Fo{constructor(m,u){super(m),this.snapshot=u,Gn(this,m)}toString(){return this.snapshot.toString()}}function os(c){const m=function so(c){const k=new Qo([],{},{},"",{},tt,c,null,{});return new ht("",new Mr(k,[]))}(c),u=new H.t([new Sn("",{})]),v=new H.t({}),C=new H.t({}),k=new H.t({}),G=new H.t(""),Ee=new No(u,v,k,G,C,tt,c,m.root);return Ee.snapshot=m.root,new io(new Mr(Ee,[]),m)}class No{constructor(m,u,v,C,k,G,Ee,pe){this.urlSubject=m,this.paramsSubject=u,this.queryParamsSubject=v,this.fragmentSubject=C,this.dataSubject=k,this.outlet=G,this.component=Ee,this._futureSnapshot=pe,this.title=this.dataSubject?.pipe((0,$e.T)(qe=>qe[an]))??(0,Q.of)(void 0),this.url=m,this.params=u,this.queryParams=v,this.fragment=C,this.data=k}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,$e.T)(m=>En(m))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,$e.T)(m=>En(m))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Bn(c,m,u="emptyOnly"){let v;const{routeConfig:C}=c;return v=null===m||"always"!==u&&""!==C?.path&&(m.component||m.routeConfig?.loadComponent)?{params:{...c.params},data:{...c.data},resolve:{...c.data,...c._resolvedData??{}}}:{params:{...m.params,...c.params},data:{...m.data,...c.data},resolve:{...c.data,...m.data,...C?.data,...c._resolvedData}},C&&ji(C)&&(v.resolve[an]=C.title),v}class Qo{get title(){return this.data?.[an]}constructor(m,u,v,C,k,G,Ee,pe,qe){this.url=m,this.params=u,this.queryParams=v,this.fragment=C,this.data=k,this.outlet=G,this.component=Ee,this.routeConfig=pe,this._resolve=qe}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=En(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=En(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ht extends Fo{constructor(m,u){super(u),this.url=m,Gn(this,u)}toString(){return Ao(this._root)}}function Gn(c,m){m.value._routerState=c,m.children.forEach(u=>Gn(c,u))}function Ao(c){const m=c.children.length>0?` { ${c.children.map(Ao).join(", ")} } `:"";return`${c.value}${m}`}function zr(c){if(c.snapshot){const m=c.snapshot,u=c._futureSnapshot;c.snapshot=u,ln(m.queryParams,u.queryParams)||c.queryParamsSubject.next(u.queryParams),m.fragment!==u.fragment&&c.fragmentSubject.next(u.fragment),ln(m.params,u.params)||c.paramsSubject.next(u.params),function Ve(c,m){if(c.length!==m.length)return!1;for(let u=0;uln(u.parameters,m[v].parameters))}(c.url,m.url);return u&&!(!c.parent!=!m.parent)&&(!c.parent||gi(c.parent,m.parent))}function ji(c){return"string"==typeof c.title||null===c.title}let Bi=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=tt,this.activateEvents=new h.bkB,this.deactivateEvents=new h.bkB,this.attachEvents=new h.bkB,this.detachEvents=new h.bkB,this.parentContexts=(0,h.WQX)(So),this.location=(0,h.WQX)(h.c1b),this.changeDetector=(0,h.WQX)(h.gRc),this.inputBinder=(0,h.WQX)(Ro,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(u){if(u.name){const{firstChange:v,previousValue:C}=u.name;if(v)return;this.isTrackedInParentContexts(C)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(C)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(u){return this.parentContexts.getContext(u)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const u=this.parentContexts.getContext(this.name);u?.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new h.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new h.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new h.wOt(4012,!1);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,v){this.activated=u,this._activatedRoute=v,this.location.insert(u.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,v){if(this.isActivated)throw new h.wOt(4013,!1);this._activatedRoute=u;const C=this.location,G=u.snapshot.component,Ee=this.parentContexts.getOrCreateContext(this.name).children,pe=new Yo(u,Ee,C.injector);this.activated=C.createComponent(G,{index:C.length,injector:pe,environmentInjector:v}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275dir=h.FsC({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[h.OA$]})}return c})();class Yo{__ngOutletInjector(m){return new Yo(this.route,this.childContexts,m)}constructor(m,u,v){this.route=m,this.childContexts=u,this.parent=v}get(m,u){return m===No?this.route:m===So?this.childContexts:this.parent.get(m,u)}}const Ro=new h.nKC("");let Ds=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(u){this.unsubscribeFromRouteData(u),this.subscribeToRouteData(u)}unsubscribeFromRouteData(u){this.outletDataSubscriptions.get(u)?.unsubscribe(),this.outletDataSubscriptions.delete(u)}subscribeToRouteData(u){const{activatedRoute:v}=u,C=(0,oe.z)([v.queryParams,v.params,v.data]).pipe((0,et.n)(([k,G,Ee],pe)=>(Ee={...k,...G,...Ee},0===pe?(0,Q.of)(Ee):Promise.resolve(Ee)))).subscribe(k=>{if(!u.isActivated||!u.activatedComponentRef||u.activatedRoute!==v||null===v.component)return void this.unsubscribeFromRouteData(u);const G=(0,h.HJs)(v.component);if(G)for(const{templateName:Ee}of G.inputs)u.activatedComponentRef.setInput(Ee,k[Ee]);else this.unsubscribeFromRouteData(u)});this.outletDataSubscriptions.set(u,C)}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}return c})();function mi(c,m,u){if(u&&c.shouldReuseRoute(m.value,u.value.snapshot)){const v=u.value;v._futureSnapshot=m.value;const C=function yo(c,m,u){return m.children.map(v=>{for(const C of u.children)if(c.shouldReuseRoute(v.value,C.value.snapshot))return mi(c,v,C);return mi(c,v)})}(c,m,u);return new Mr(v,C)}{if(c.shouldAttach(m.value)){const k=c.retrieve(m.value);if(null!==k){const G=k.route;return G.value._futureSnapshot=m.value,G.children=m.children.map(Ee=>mi(c,Ee)),G}}const v=function is(c){return new No(new H.t(c.url),new H.t(c.params),new H.t(c.queryParams),new H.t(c.fragment),new H.t(c.data),c.outlet,c.component,c)}(m.value),C=m.children.map(k=>mi(c,k));return new Mr(v,C)}}class qn{constructor(m,u){this.redirectTo=m,this.navigationBehaviorOptions=u}}const On="ngNavigationCancelingError";function ao(c,m){const{redirectTo:u,navigationBehaviorOptions:v}=Zt(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,C=vo(!1,Ke.Redirect);return C.url=u,C.navigationBehaviorOptions=v,C}function vo(c,m){const u=new Error(`NavigationCancelingError: ${c||""}`);return u[On]=!0,u.cancellationCode=m,u}function Zo(c){return!!c&&c[On]}let _s=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275cmp=h.VBU({type:c,selectors:[["ng-component"]],standalone:!0,features:[h.aNF],decls:1,vars:0,template:function(v,C){1&v&&h.nrm(0,"router-outlet")},dependencies:[Bi],encapsulation:2})}return c})();function xr(c){const m=c.children&&c.children.map(xr),u=m?{...c,children:m}:{...c};return!u.component&&!u.loadComponent&&(m||u.loadChildren)&&u.outlet&&u.outlet!==tt&&(u.component=_s),u}function ur(c){return c.outlet||tt}function Eo(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let m=c.parent;m;m=m.parent){const u=m.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class qo{constructor(m,u,v,C,k){this.routeReuseStrategy=m,this.futureState=u,this.currState=v,this.forwardEvent=C,this.inputBindingEnabled=k}activate(m){const u=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,v,m),zr(this.futureState.root),this.activateChildRoutes(u,v,m)}deactivateChildRoutes(m,u,v){const C=mo(u);m.children.forEach(k=>{const G=k.value.outlet;this.deactivateRoutes(k,C[G],v),delete C[G]}),Object.values(C).forEach(k=>{this.deactivateRouteAndItsChildren(k,v)})}deactivateRoutes(m,u,v){const C=m.value,k=u?u.value:null;if(C===k)if(C.component){const G=v.getContext(C.outlet);G&&this.deactivateChildRoutes(m,u,G.children)}else this.deactivateChildRoutes(m,u,v);else k&&this.deactivateRouteAndItsChildren(u,v)}deactivateRouteAndItsChildren(m,u){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,u):this.deactivateRouteAndOutlet(m,u)}detachAndStoreRouteSubtree(m,u){const v=u.getContext(m.value.outlet),C=v&&m.value.component?v.children:u,k=mo(m);for(const G of Object.values(k))this.deactivateRouteAndItsChildren(G,C);if(v&&v.outlet){const G=v.outlet.detach(),Ee=v.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:G,route:m,contexts:Ee})}}deactivateRouteAndOutlet(m,u){const v=u.getContext(m.value.outlet),C=v&&m.value.component?v.children:u,k=mo(m);for(const G of Object.values(k))this.deactivateRouteAndItsChildren(G,C);v&&(v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated()),v.attachRef=null,v.route=null)}activateChildRoutes(m,u,v){const C=mo(u);m.children.forEach(k=>{this.activateRoutes(k,C[k.value.outlet],v),this.forwardEvent(new bs(k.value.snapshot))}),m.children.length&&this.forwardEvent(new xt(m.value.snapshot))}activateRoutes(m,u,v){const C=m.value,k=u?u.value:null;if(zr(C),C===k)if(C.component){const G=v.getOrCreateContext(C.outlet);this.activateChildRoutes(m,u,G.children)}else this.activateChildRoutes(m,u,v);else if(C.component){const G=v.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const Ee=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),G.children.onOutletReAttached(Ee.contexts),G.attachRef=Ee.componentRef,G.route=Ee.route.value,G.outlet&&G.outlet.attach(Ee.componentRef,Ee.route.value),zr(Ee.route.value),this.activateChildRoutes(m,null,G.children)}else{const Ee=Eo(C.snapshot);G.attachRef=null,G.route=C,G.injector=Ee??G.injector,G.outlet&&G.outlet.activateWith(C,G.injector),this.activateChildRoutes(m,null,G.children)}}else this.activateChildRoutes(m,null,v)}}class Cs{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class Po{constructor(m,u){this.component=m,this.route=u}}function ss(c,m,u){const v=c._root;return Jo(v,m?m._root:null,u,[v.value])}function Wr(c,m){const u=Symbol(),v=m.get(c,u);return v===u?"function"!=typeof c||(0,h.LfX)(c)?m.get(c):c:v}function Jo(c,m,u,v,C={canDeactivateChecks:[],canActivateChecks:[]}){const k=mo(m);return c.children.forEach(G=>{(function zi(c,m,u,v,C={canDeactivateChecks:[],canActivateChecks:[]}){const k=c.value,G=m?m.value:null,Ee=u?u.getContext(c.value.outlet):null;if(G&&k.routeConfig===G.routeConfig){const pe=function ls(c,m,u){if("function"==typeof u)return u(c,m);switch(u){case"pathParamsChange":return!Fn(c.url,m.url);case"pathParamsOrQueryParamsChange":return!Fn(c.url,m.url)||!ln(c.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gi(c,m)||!ln(c.queryParams,m.queryParams);default:return!gi(c,m)}}(G,k,k.routeConfig.runGuardsAndResolvers);pe?C.canActivateChecks.push(new Cs(v)):(k.data=G.data,k._resolvedData=G._resolvedData),Jo(c,m,k.component?Ee?Ee.children:null:u,v,C),pe&&Ee&&Ee.outlet&&Ee.outlet.isActivated&&C.canDeactivateChecks.push(new Po(Ee.outlet.component,G))}else G&&Lo(m,Ee,C),C.canActivateChecks.push(new Cs(v)),Jo(c,null,k.component?Ee?Ee.children:null:u,v,C)})(G,k[G.value.outlet],u,v.concat([G.value]),C),delete k[G.value.outlet]}),Object.entries(k).forEach(([G,Ee])=>Lo(Ee,u.getContext(G),C)),C}function Lo(c,m,u){const v=mo(c),C=c.value;Object.entries(v).forEach(([k,G])=>{Lo(G,C.component?m?m.children.getContext(k):null:m,u)}),u.canDeactivateChecks.push(new Po(C.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,C))}function Ii(c){return"function"==typeof c}function Ts(c){return c instanceof ie||"EmptyError"===c?.name}const Gi=Symbol("INITIAL_VALUE");function ei(){return(0,et.n)(c=>(0,oe.z)(c.map(m=>m.pipe((0,st.s)(1),function Ne(...c){const m=(0,zt.lI)(c);return(0,gt.N)((u,v)=>{(m?(0,le.x)(c,u,m):(0,le.x)(c,u)).subscribe(v)})}(Gi)))).pipe((0,$e.T)(m=>{for(const u of m)if(!0!==u){if(u===Gi)return Gi;if(!1===u||qs(u))return u}return!0}),(0,Te.p)(m=>m!==Gi),(0,st.s)(1)))}function qs(c){return Zt(c)||c instanceof qn}function K(c){return(0,V.F)((0,$.M)(m=>{if("boolean"!=typeof m)throw ao(0,m)}),(0,$e.T)(m=>!0===m))}class ve{constructor(m){this.segmentGroup=m||null}}class Qe extends Error{constructor(m){super(),this.urlTree=m}}function He(c){return _e(new ve(c))}class St{constructor(m,u){this.urlSerializer=m,this.urlTree=u}lineralizeSegments(m,u){let v=[],C=u.root;for(;;){if(v=v.concat(C.segments),0===C.numberOfChildren)return(0,Q.of)(v);if(C.numberOfChildren>1||!C.children[tt])return _e(new h.wOt(4e3,!1));C=C.children[tt]}}applyRedirectCommands(m,u,v,C,k){if("string"!=typeof u){const Ee=u,{queryParams:pe,fragment:qe,routeConfig:Rt,url:$t,outlet:Nn,params:Ho,data:jr,title:ii}=C,zo=(0,h.N4e)(k,()=>Ee({params:Ho,data:jr,queryParams:pe,fragment:qe,routeConfig:Rt,url:$t,outlet:Nn,title:ii}));if(zo instanceof Gt)throw new Qe(zo);u=zo}const G=this.applyRedirectCreateUrlTree(u,this.urlSerializer.parse(u),m,v);if("/"===u[0])throw new Qe(G);return G}applyRedirectCreateUrlTree(m,u,v,C){const k=this.createSegmentGroup(m,u.root,v,C);return new Gt(k,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(m,u){const v={};return Object.entries(m).forEach(([C,k])=>{if("string"==typeof k&&":"===k[0]){const Ee=k.substring(1);v[C]=u[Ee]}else v[C]=k}),v}createSegmentGroup(m,u,v,C){const k=this.createSegments(m,u.segments,v,C);let G={};return Object.entries(u.children).forEach(([Ee,pe])=>{G[Ee]=this.createSegmentGroup(m,pe,v,C)}),new bt(k,G)}createSegments(m,u,v,C){return u.map(k=>":"===k.path[0]?this.findPosParam(m,k,C):this.findOrReturn(k,v))}findPosParam(m,u,v){const C=v[u.path.substring(1)];if(!C)throw new h.wOt(4001,!1);return C}findOrReturn(m,u){let v=0;for(const C of u){if(C.path===m.path)return u.splice(v),C;v++}return m}}const hn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wn(c,m,u,v,C){const k=Vn(c,m,u);return k.matched?(v=function Ui(c,m){return c.providers&&!c._injector&&(c._injector=(0,h.Ol2)(c.providers,m,`Route: ${c.path}`)),c._injector??m}(m,v),function fe(c,m,u,v){const C=m.canMatch;if(!C||0===C.length)return(0,Q.of)(!0);const k=C.map(G=>{const Ee=Wr(G,c);return xn(function Zs(c){return c&&Ii(c.canMatch)}(Ee)?Ee.canMatch(m,u):(0,h.N4e)(c,()=>Ee(m,u)))});return(0,Q.of)(k).pipe(ei(),K())}(v,m,u).pipe((0,$e.T)(G=>!0===G?k:{...hn}))):(0,Q.of)(k)}function Vn(c,m,u){if("**"===m.path)return function rr(c){return{matched:!0,parameters:c.length>0?Vr(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}(u);if(""===m.path)return"full"===m.pathMatch&&(c.hasChildren()||u.length>0)?{...hn}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const C=(m.matcher||en)(u,c,m);if(!C)return{...hn};const k={};Object.entries(C.posParams??{}).forEach(([Ee,pe])=>{k[Ee]=pe.path});const G=C.consumed.length>0?{...k,...C.consumed[C.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:C.consumed,remainingSegments:u.slice(C.consumed.length),parameters:G,positionalParamSegments:C.posParams??{}}}function Wn(c,m,u,v){return u.length>0&&function or(c,m,u){return u.some(v=>Sr(c,m,v)&&ur(v)!==tt)}(c,u,v)?{segmentGroup:new bt(m,_o(v,new bt(u,c.children))),slicedSegments:[]}:0===u.length&&function Er(c,m,u){return u.some(v=>Sr(c,m,v))}(c,u,v)?{segmentGroup:new bt(c.segments,Do(c,u,v,c.children)),slicedSegments:u}:{segmentGroup:new bt(c.segments,c.children),slicedSegments:u}}function Do(c,m,u,v){const C={};for(const k of u)if(Sr(c,m,k)&&!v[ur(k)]){const G=new bt([],{});C[ur(k)]=G}return{...v,...C}}function _o(c,m){const u={};u[tt]=m;for(const v of c)if(""===v.path&&ur(v)!==tt){const C=new bt([],{});u[ur(v)]=C}return u}function Sr(c,m,u){return(!(c.hasChildren()||m.length>0)||"full"!==u.pathMatch)&&""===u.path}class Fr{}class vi{constructor(m,u,v,C,k,G,Ee){this.injector=m,this.configLoader=u,this.rootComponentType=v,this.config=C,this.urlTree=k,this.paramsInheritanceStrategy=G,this.urlSerializer=Ee,this.applyRedirects=new St(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(m){return new h.wOt(4002,`'${m.segmentGroup}'`)}recognize(){const m=Wn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(m).pipe((0,$e.T)(({children:u,rootSnapshot:v})=>{const C=new Mr(v,u),k=new ht("",C),G=function ui(c,m,u=null,v=null){return Or(Jr(c),m,u,v)}(v,[],this.urlTree.queryParams,this.urlTree.fragment);return G.queryParams=this.urlTree.queryParams,k.url=this.urlSerializer.serialize(G),{state:k,tree:G}}))}match(m){const u=new Qo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),tt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,m,tt,u).pipe((0,$e.T)(v=>({children:v,rootSnapshot:u})),re(v=>{if(v instanceof Qe)return this.urlTree=v.urlTree,this.match(v.urlTree.root);throw v instanceof ve?this.noMatchError(v):v}))}processSegmentGroup(m,u,v,C,k){return 0===v.segments.length&&v.hasChildren()?this.processChildren(m,u,v,k):this.processSegment(m,u,v,v.segments,C,!0,k).pipe((0,$e.T)(G=>G instanceof Mr?[G]:[]))}processChildren(m,u,v,C){const k=[];for(const G of Object.keys(v.children))"primary"===G?k.unshift(G):k.push(G);return(0,o.H)(k).pipe((0,x.H)(G=>{const Ee=v.children[G],pe=function $i(c,m){const u=c.filter(v=>ur(v)===m);return u.push(...c.filter(v=>ur(v)!==m)),u}(u,G);return this.processSegmentGroup(m,pe,Ee,G,C)}),(0,Me.S)((G,Ee)=>(G.push(...Ee),G)),_t(null),function it(c,m){const u=arguments.length>=2;return v=>v.pipe(c?(0,Te.p)((C,k)=>c(C,k,v)):Ce.D,we(1),u?_t(m):Qt(()=>new ie))}(),(0,ot.Z)(G=>{if(null===G)return He(v);const Ee=Dt(G);return function ft(c){c.sort((m,u)=>m.value.outlet===tt?-1:u.value.outlet===tt?1:m.value.outlet.localeCompare(u.value.outlet))}(Ee),(0,Q.of)(Ee)}))}processSegment(m,u,v,C,k,G,Ee){return(0,o.H)(u).pipe((0,x.H)(pe=>this.processSegmentAgainstRoute(pe._injector??m,u,pe,v,C,k,G,Ee).pipe(re(qe=>{if(qe instanceof ve)return(0,Q.of)(null);throw qe}))),U(pe=>!!pe),re(pe=>{if(Ts(pe))return function Wi(c,m,u){return 0===m.length&&!c.children[u]}(v,C,k)?(0,Q.of)(new Fr):He(v);throw pe}))}processSegmentAgainstRoute(m,u,v,C,k,G,Ee,pe){return function jo(c,m,u,v){return!!(ur(c)===v||v!==tt&&Sr(m,u,c))&&Vn(m,c,u).matched}(v,C,k,G)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(m,C,v,k,G,pe):this.allowRedirects&&Ee?this.expandSegmentAgainstRouteUsingRedirect(m,C,u,v,k,G,pe):He(C):He(C)}expandSegmentAgainstRouteUsingRedirect(m,u,v,C,k,G,Ee){const{matched:pe,parameters:qe,consumedSegments:Rt,positionalParamSegments:$t,remainingSegments:Nn}=Vn(u,C,k);if(!pe)return He(u);"string"==typeof C.redirectTo&&"/"===C.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ho=new Qo(k,qe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cn(C),ur(C),C.component??C._loadedComponent??null,C,Nr(C)),jr=Bn(Ho,Ee,this.paramsInheritanceStrategy);Ho.params=Object.freeze(jr.params),Ho.data=Object.freeze(jr.data);const ii=this.applyRedirects.applyRedirectCommands(Rt,C.redirectTo,$t,Ho,m);return this.applyRedirects.lineralizeSegments(C,ii).pipe((0,ot.Z)(zo=>this.processSegment(m,v,u,zo.concat(Nn),G,!1,Ee)))}matchSegmentAgainstRoute(m,u,v,C,k,G){const Ee=wn(u,v,C,m);return"**"===v.path&&(u.children={}),Ee.pipe((0,et.n)(pe=>pe.matched?this.getChildConfig(m=v._injector??m,v,C).pipe((0,et.n)(({routes:qe})=>{const Rt=v._loadedInjector??m,{parameters:$t,consumedSegments:Nn,remainingSegments:Ho}=pe,jr=new Qo(Nn,$t,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cn(v),ur(v),v.component??v._loadedComponent??null,v,Nr(v)),ii=Bn(jr,G,this.paramsInheritanceStrategy);jr.params=Object.freeze(ii.params),jr.data=Object.freeze(ii.data);const{segmentGroup:zo,slicedSegments:Qr}=Wn(u,Nn,Ho,qe);if(0===Qr.length&&zo.hasChildren())return this.processChildren(Rt,qe,zo,jr).pipe((0,$e.T)(Ns=>new Mr(jr,Ns)));if(0===qe.length&&0===Qr.length)return(0,Q.of)(new Mr(jr,[]));const ic=ur(v)===k;return this.processSegment(Rt,qe,zo,Qr,ic?tt:k,!0,jr).pipe((0,$e.T)(Ns=>new Mr(jr,Ns instanceof Mr?[Ns]:[])))})):He(u)))}getChildConfig(m,u,v){return u.children?(0,Q.of)({routes:u.children,injector:m}):u.loadChildren?void 0!==u._loadedRoutes?(0,Q.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):function ne(c,m,u,v){const C=m.canLoad;if(void 0===C||0===C.length)return(0,Q.of)(!0);const k=C.map(G=>{const Ee=Wr(G,c);return xn(function Pr(c){return c&&Ii(c.canLoad)}(Ee)?Ee.canLoad(m,u):(0,h.N4e)(c,()=>Ee(m,u)))});return(0,Q.of)(k).pipe(ei(),K())}(m,u,v).pipe((0,ot.Z)(C=>C?this.configLoader.loadChildren(m,u).pipe((0,$.M)(k=>{u._loadedRoutes=k.routes,u._loadedInjector=k.injector})):function yt(c){return _e(vo(!1,Ke.GuardRejected))}())):(0,Q.of)({routes:[],injector:m})}}function Et(c){const m=c.value.routeConfig;return m&&""===m.path}function Dt(c){const m=[],u=new Set;for(const v of c){if(!Et(v)){m.push(v);continue}const C=m.find(k=>v.value.routeConfig===k.value.routeConfig);void 0!==C?(C.children.push(...v.children),u.add(C)):m.push(v)}for(const v of u){const C=Dt(v.children);m.push(new Mr(v.value,C))}return m.filter(v=>!u.has(v))}function Cn(c){return c.data||{}}function Nr(c){return c.resolve||{}}function _n(c){const m=c.children.map(u=>_n(u)).flat();return[c,...m]}function wo(c){return(0,et.n)(m=>{const u=c(m);return u?(0,o.H)(u).pipe((0,$e.T)(()=>m)):(0,Q.of)(m)})}let gr=(()=>{class c{buildTitle(u){let v,C=u.root;for(;void 0!==C;)v=this.getResolvedTitleForRoute(C)??v,C=C.children.find(k=>k.outlet===tt);return v}getResolvedTitleForRoute(u){return u.data[an]}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>(0,h.WQX)(p),providedIn:"root"})}return c})(),p=(()=>{class c extends gr{constructor(u){super(),this.title=u}updateTitle(u){const v=this.buildTitle(u);void 0!==v&&this.title.setTitle(v)}static#e=this.\u0275fac=function(v){return new(v||c)(h.KVO(Ut.hE))};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const F=new h.nKC("",{providedIn:"root",factory:()=>({})}),E=new h.nKC("");let I=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,h.WQX)(h.Ql9)}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,Q.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const v=xn(u.loadComponent()).pipe((0,$e.T)(Ie),(0,$.M)(k=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=k}),(0,Jt.j)(()=>{this.componentLoaders.delete(u)})),C=new ke(v,()=>new Je.B).pipe(Le());return this.componentLoaders.set(u,C),C}loadChildren(u,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,Q.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const k=function X(c,m,u,v){return xn(c.loadChildren()).pipe((0,$e.T)(Ie),(0,ot.Z)(C=>C instanceof h.Co$||Array.isArray(C)?(0,Q.of)(C):(0,o.H)(m.compileModuleAsync(C))),(0,$e.T)(C=>{v&&v(c);let k,G,Ee=!1;return Array.isArray(C)?(G=C,!0):(k=C.create(u).injector,G=k.get(E,[],{optional:!0,self:!0}).flat()),{routes:G.map(xr),injector:k}}))}(v,this.compiler,u,this.onLoadEndListener).pipe((0,Jt.j)(()=>{this.childrenLoaders.delete(v)})),G=new ke(k,()=>new Je.B).pipe(Le());return this.childrenLoaders.set(v,G),G}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Ie(c){return function be(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let lt=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>(0,h.WQX)(Tn),providedIn:"root"})}return c})(),Tn=(()=>{class c{shouldProcessUrl(u){return!0}extract(u){return u}merge(u,v){return u}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const sn=new h.nKC(""),vn=new h.nKC("");function Wt(c,m,u){const v=c.get(vn),C=c.get(je.qQ);return c.get(h.SKi).runOutsideAngular(()=>{if(!C.startViewTransition||v.skipNextTransition)return v.skipNextTransition=!1,new Promise(qe=>setTimeout(qe));let k;const G=new Promise(qe=>{k=qe}),Ee=C.startViewTransition(()=>(k(),function Ln(c){return new Promise(m=>{(0,h.mal)(m,{injector:c})})}(c))),{onViewTransitionCreated:pe}=v;return pe&&(0,h.N4e)(c,()=>pe({transition:Ee,from:m,to:u})),G})}const pn=new h.nKC("");let $n=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Je.B,this.transitionAbortSubject=new Je.B,this.configLoader=(0,h.WQX)(I),this.environmentInjector=(0,h.WQX)(h.uvJ),this.urlSerializer=(0,h.WQX)(Qn),this.rootContexts=(0,h.WQX)(So),this.location=(0,h.WQX)(je.aZ),this.inputBindingEnabled=null!==(0,h.WQX)(Ro,{optional:!0}),this.titleStrategy=(0,h.WQX)(gr),this.options=(0,h.WQX)(F,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,h.WQX)(lt),this.createViewTransition=(0,h.WQX)(sn,{optional:!0}),this.navigationErrorHandler=(0,h.WQX)(pn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,Q.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=C=>this.events.next(new oo(C)),this.configLoader.onLoadStartListener=C=>this.events.next(new di(C))}complete(){this.transitions?.complete()}handleNavigationRequest(u){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...u,id:v})}setupNavigations(u,v,C){return this.transitions=new H.t({id:0,currentUrlTree:v,currentRawUrl:v,extractedUrl:this.urlHandlingStrategy.extract(v),urlAfterRedirects:this.urlHandlingStrategy.extract(v),rawUrl:v,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:M,restoredState:null,currentSnapshot:C.snapshot,targetSnapshot:null,currentRouterState:C,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Te.p)(k=>0!==k.id),(0,$e.T)(k=>({...k,extractedUrl:this.urlHandlingStrategy.extract(k.rawUrl)})),(0,et.n)(k=>{let G=!1,Ee=!1;return(0,Q.of)(k).pipe((0,et.n)(pe=>{if(this.navigationId>k.id)return this.cancelNavigationTransition(k,"",Ke.SupersededByNewNavigation),Oe.w;this.currentTransition=k,this.currentNavigation={id:pe.id,initialUrl:pe.rawUrl,extractedUrl:pe.extractedUrl,trigger:pe.source,extras:pe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const qe=!u.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!qe&&"reload"!==(pe.extras.onSameUrlNavigation??u.onSameUrlNavigation)){const $t="";return this.events.next(new qt(pe.id,this.urlSerializer.serialize(pe.rawUrl),$t,Ct.IgnoredSameUrlNavigation)),pe.resolve(!1),Oe.w}if(this.urlHandlingStrategy.shouldProcessUrl(pe.rawUrl))return(0,Q.of)(pe).pipe((0,et.n)($t=>{const Nn=this.transitions?.getValue();return this.events.next(new te($t.id,this.urlSerializer.serialize($t.extractedUrl),$t.source,$t.restoredState)),Nn!==this.transitions?.getValue()?Oe.w:Promise.resolve($t)}),function Ar(c,m,u,v,C,k){return(0,ot.Z)(G=>function Ki(c,m,u,v,C,k,G="emptyOnly"){return new vi(c,m,u,v,C,G,k).recognize()}(c,m,u,v,G.extractedUrl,C,k).pipe((0,$e.T)(({state:Ee,tree:pe})=>({...G,targetSnapshot:Ee,urlAfterRedirects:pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,u.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,$.M)($t=>{k.targetSnapshot=$t.targetSnapshot,k.urlAfterRedirects=$t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:$t.urlAfterRedirects};const Nn=new Xe($t.id,this.urlSerializer.serialize($t.extractedUrl),this.urlSerializer.serialize($t.urlAfterRedirects),$t.targetSnapshot);this.events.next(Nn)}));if(qe&&this.urlHandlingStrategy.shouldProcessUrl(pe.currentRawUrl)){const{id:$t,extractedUrl:Nn,source:Ho,restoredState:jr,extras:ii}=pe,zo=new te($t,this.urlSerializer.serialize(Nn),Ho,jr);this.events.next(zo);const Qr=os(this.rootComponentType).snapshot;return this.currentTransition=k={...pe,targetSnapshot:Qr,urlAfterRedirects:Nn,extras:{...ii,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Nn,(0,Q.of)(k)}{const $t="";return this.events.next(new qt(pe.id,this.urlSerializer.serialize(pe.extractedUrl),$t,Ct.IgnoredByUrlHandlingStrategy)),pe.resolve(!1),Oe.w}}),(0,$.M)(pe=>{const qe=new It(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot);this.events.next(qe)}),(0,$e.T)(pe=>(this.currentTransition=k={...pe,guards:ss(pe.targetSnapshot,pe.currentSnapshot,this.rootContexts)},k)),function Is(c,m){return(0,ot.Z)(u=>{const{targetSnapshot:v,currentSnapshot:C,guards:{canActivateChecks:k,canDeactivateChecks:G}}=u;return 0===G.length&&0===k.length?(0,Q.of)({...u,guardsResult:!0}):function Ms(c,m,u,v){return(0,o.H)(c).pipe((0,ot.Z)(C=>function j(c,m,u,v,C){const k=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,Q.of)(!0);const G=k.map(Ee=>{const pe=Eo(m)??C,qe=Wr(Ee,pe);return xn(function Kr(c){return c&&Ii(c.canDeactivate)}(qe)?qe.canDeactivate(c,m,u,v):(0,h.N4e)(pe,()=>qe(c,m,u,v))).pipe(U())});return(0,Q.of)(G).pipe(ei())}(C.component,C.route,u,m,v)),U(C=>!0!==C,!0))}(G,v,C,c).pipe((0,ot.Z)(Ee=>Ee&&function Xa(c){return"boolean"==typeof c}(Ee)?function R(c,m,u,v){return(0,o.H)(m).pipe((0,x.H)(C=>(0,le.x)(function g(c,m){return null!==c&&m&&m(new go(c)),(0,Q.of)(!0)}(C.route.parent,v),function d(c,m){return null!==c&&m&&m(new fi(c)),(0,Q.of)(!0)}(C.route,v),function N(c,m,u){const v=m[m.length-1],k=m.slice(0,m.length-1).reverse().map(G=>function as(c){const m=c.routeConfig?c.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:c,guards:m}:null}(G)).filter(G=>null!==G).map(G=>ce(()=>{const Ee=G.guards.map(pe=>{const qe=Eo(G.node)??u,Rt=Wr(pe,qe);return xn(function fn(c){return c&&Ii(c.canActivateChild)}(Rt)?Rt.canActivateChild(v,c):(0,h.N4e)(qe,()=>Rt(v,c))).pipe(U())});return(0,Q.of)(Ee).pipe(ei())}));return(0,Q.of)(k).pipe(ei())}(c,C.path,u),function _(c,m,u){const v=m.routeConfig?m.routeConfig.canActivate:null;if(!v||0===v.length)return(0,Q.of)(!0);const C=v.map(k=>ce(()=>{const G=Eo(m)??u,Ee=Wr(k,G);return xn(function cs(c){return c&&Ii(c.canActivate)}(Ee)?Ee.canActivate(m,c):(0,h.N4e)(G,()=>Ee(m,c))).pipe(U())}));return(0,Q.of)(C).pipe(ei())}(c,C.route,u))),U(C=>!0!==C,!0))}(v,k,c,m):(0,Q.of)(Ee)),(0,$e.T)(Ee=>({...u,guardsResult:Ee})))})}(this.environmentInjector,pe=>this.events.next(pe)),(0,$.M)(pe=>{if(k.guardsResult=pe.guardsResult,pe.guardsResult&&"boolean"!=typeof pe.guardsResult)throw ao(0,pe.guardsResult);const qe=new Hr(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot,!!pe.guardsResult);this.events.next(qe)}),(0,Te.p)(pe=>!!pe.guardsResult||(this.cancelNavigationTransition(pe,"",Ke.GuardRejected),!1)),wo(pe=>{if(pe.guards.canActivateChecks.length)return(0,Q.of)(pe).pipe((0,$.M)(qe=>{const Rt=new yn(qe.id,this.urlSerializer.serialize(qe.extractedUrl),this.urlSerializer.serialize(qe.urlAfterRedirects),qe.targetSnapshot);this.events.next(Rt)}),(0,et.n)(qe=>{let Rt=!1;return(0,Q.of)(qe).pipe(function Bo(c,m){return(0,ot.Z)(u=>{const{targetSnapshot:v,guards:{canActivateChecks:C}}=u;if(!C.length)return(0,Q.of)(u);const k=new Set(C.map(pe=>pe.route)),G=new Set;for(const pe of k)if(!G.has(pe))for(const qe of _n(pe))G.add(qe);let Ee=0;return(0,o.H)(G).pipe((0,x.H)(pe=>k.has(pe)?function ti(c,m,u,v){const C=c.routeConfig,k=c._resolve;return void 0!==C?.title&&!ji(C)&&(k[an]=C.title),function Js(c,m,u,v){const C=kn(c);if(0===C.length)return(0,Q.of)({});const k={};return(0,o.H)(C).pipe((0,ot.Z)(G=>function Un(c,m,u,v){const C=Eo(m)??v,k=Wr(c,C);return xn(k.resolve?k.resolve(m,u):(0,h.N4e)(C,()=>k(m,u)))}(c[G],m,u,v).pipe(U(),(0,$.M)(Ee=>{if(Ee instanceof qn)throw ao(new tr,Ee);k[G]=Ee}))),we(1),(0,mt.u)(k),re(G=>Ts(G)?Oe.w:_e(G)))}(k,c,m,v).pipe((0,$e.T)(G=>(c._resolvedData=G,c.data=Bn(c,c.parent,u).resolve,null)))}(pe,v,c,m):(pe.data=Bn(pe,pe.parent,c).resolve,(0,Q.of)(void 0))),(0,$.M)(()=>Ee++),we(1),(0,ot.Z)(pe=>Ee===G.size?(0,Q.of)(u):Oe.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,$.M)({next:()=>Rt=!0,complete:()=>{Rt||this.cancelNavigationTransition(qe,"",Ke.NoDataFromResolver)}}))}),(0,$.M)(qe=>{const Rt=new Pn(qe.id,this.urlSerializer.serialize(qe.extractedUrl),this.urlSerializer.serialize(qe.urlAfterRedirects),qe.targetSnapshot);this.events.next(Rt)}))}),wo(pe=>{const qe=Rt=>{const $t=[];Rt.routeConfig?.loadComponent&&!Rt.routeConfig._loadedComponent&&$t.push(this.configLoader.loadComponent(Rt.routeConfig).pipe((0,$.M)(Nn=>{Rt.component=Nn}),(0,$e.T)(()=>{})));for(const Nn of Rt.children)$t.push(...qe(Nn));return $t};return(0,oe.z)(qe(pe.targetSnapshot.root)).pipe(_t(null),(0,st.s)(1))}),wo(()=>this.afterPreactivation()),(0,et.n)(()=>{const{currentSnapshot:pe,targetSnapshot:qe}=k,Rt=this.createViewTransition?.(this.environmentInjector,pe.root,qe.root);return Rt?(0,o.H)(Rt).pipe((0,$e.T)(()=>k)):(0,Q.of)(k)}),(0,$e.T)(pe=>{const qe=function Oo(c,m,u){const v=mi(c,m._root,u?u._root:void 0);return new io(v,m)}(u.routeReuseStrategy,pe.targetSnapshot,pe.currentRouterState);return this.currentTransition=k={...pe,targetRouterState:qe},this.currentNavigation.targetRouterState=qe,k}),(0,$.M)(()=>{this.events.next(new hi)}),((c,m,u,v)=>(0,$e.T)(C=>(new qo(m,C.targetRouterState,C.currentRouterState,u,v).activate(c),C)))(this.rootContexts,u.routeReuseStrategy,pe=>this.events.next(pe),this.inputBindingEnabled),(0,st.s)(1),(0,$.M)({next:pe=>{G=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new se(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects))),this.titleStrategy?.updateTitle(pe.targetRouterState.snapshot),pe.resolve(!0)},complete:()=>{G=!0}}),(0,dt.Q)(this.transitionAbortSubject.pipe((0,$.M)(pe=>{throw pe}))),(0,Jt.j)(()=>{!G&&!Ee&&this.cancelNavigationTransition(k,"",Ke.SupersededByNewNavigation),this.currentTransition?.id===k.id&&(this.currentNavigation=null,this.currentTransition=null)}),re(pe=>{if(Ee=!0,Zo(pe))this.events.next(new vt(k.id,this.urlSerializer.serialize(k.extractedUrl),pe.message,pe.cancellationCode)),function Vi(c){return Zo(c)&&Zt(c.url)}(pe)?this.events.next(new xi(pe.url,pe.navigationBehaviorOptions)):k.resolve(!1);else{const qe=new wt(k.id,this.urlSerializer.serialize(k.extractedUrl),pe,k.targetSnapshot??void 0);try{const Rt=(0,h.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(qe));if(Rt instanceof qn){const{message:$t,cancellationCode:Nn}=ao(0,Rt);this.events.next(new vt(k.id,this.urlSerializer.serialize(k.extractedUrl),$t,Nn)),this.events.next(new xi(Rt.redirectTo,Rt.navigationBehaviorOptions))}else{this.events.next(qe);const $t=u.errorHandler(pe);k.resolve(!!$t)}}catch(Rt){this.options.resolveNavigationPromiseOnError?k.resolve(!1):k.reject(Rt)}}return Oe.w}))}))}cancelNavigationTransition(u,v,C){const k=new vt(u.id,this.urlSerializer.serialize(u.extractedUrl),v,C);this.events.next(k),u.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function ni(c){return c!==M}let Xr=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>(0,h.WQX)(cn),providedIn:"root"})}return c})();class Vo{shouldDetach(m){return!1}store(m,u){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,u){return m.routeConfig===u.routeConfig}}let cn=(()=>{class c extends Vo{static#e=this.\u0275fac=(()=>{let u;return function(C){return(u||(u=h.xGo(c)))(C||c)}})();static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Be=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>(0,h.WQX)(pt),providedIn:"root"})}return c})(),pt=(()=>{class c extends Be{constructor(){super(...arguments),this.location=(0,h.WQX)(je.aZ),this.urlSerializer=(0,h.WQX)(Qn),this.options=(0,h.WQX)(F,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,h.WQX)(lt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Gt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=os(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(u){return this.location.subscribe(v=>{"popstate"===v.type&&u(v.url,v.state)})}handleRouterEvent(u,v){if(u instanceof te)this.stateMemento=this.createStateMemento();else if(u instanceof qt)this.rawUrlTree=v.initialUrl;else if(u instanceof Xe){if("eager"===this.urlUpdateStrategy&&!v.extras.skipLocationChange){const C=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl);this.setBrowserUrl(C,v)}}else u instanceof hi?(this.currentUrlTree=v.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl),this.routerState=v.targetRouterState,"deferred"===this.urlUpdateStrategy&&(v.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,v))):u instanceof vt&&(u.code===Ke.GuardRejected||u.code===Ke.NoDataFromResolver)?this.restoreHistory(v):u instanceof wt?this.restoreHistory(v,!0):u instanceof se&&(this.lastSuccessfulId=u.id,this.currentPageId=this.browserPageId)}setBrowserUrl(u,v){const C=this.urlSerializer.serialize(u);if(this.location.isCurrentPathEqualTo(C)||v.extras.replaceUrl){const G={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId)};this.location.replaceState(C,"",G)}else{const k={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId+1)};this.location.go(C,"",k)}}restoreHistory(u,v=!1){if("computed"===this.canceledNavigationResolution){const k=this.currentPageId-this.browserPageId;0!==k?this.location.historyGo(k):this.currentUrlTree===u.finalUrl&&0===k&&(this.resetState(u),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(u,v){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:v}:{navigationId:u}}static#e=this.\u0275fac=(()=>{let u;return function(C){return(u||(u=h.xGo(c)))(C||c)}})();static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var gn=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(gn||{});function Rr(c,m){c.events.pipe((0,Te.p)(u=>u instanceof se||u instanceof vt||u instanceof wt||u instanceof qt),(0,$e.T)(u=>u instanceof se||u instanceof qt?gn.COMPLETE:u instanceof vt&&(u.code===Ke.Redirect||u.code===Ke.SupersededByNewNavigation)?gn.REDIRECTING:gn.FAILED),(0,Te.p)(u=>u!==gn.REDIRECTING),(0,st.s)(1)).subscribe(()=>{m()})}function br(c){throw c}const Lr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Qi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let rn=(()=>{class c{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,h.WQX)(h.H3F),this.stateManager=(0,h.WQX)(Be),this.options=(0,h.WQX)(F,{optional:!0})||{},this.pendingTasks=(0,h.WQX)(h.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,h.WQX)($n),this.urlSerializer=(0,h.WQX)(Qn),this.location=(0,h.WQX)(je.aZ),this.urlHandlingStrategy=(0,h.WQX)(lt),this._events=new Je.B,this.errorHandler=this.options.errorHandler||br,this.navigated=!1,this.routeReuseStrategy=(0,h.WQX)(Xr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,h.WQX)(E,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,h.WQX)(Ro,{optional:!0}),this.eventsSubscription=new rt.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:u=>{this.console.warn(u)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const u=this.navigationTransitions.events.subscribe(v=>{try{const C=this.navigationTransitions.currentTransition,k=this.navigationTransitions.currentNavigation;if(null!==C&&null!==k)if(this.stateManager.handleRouterEvent(v,k),v instanceof vt&&v.code!==Ke.Redirect&&v.code!==Ke.SupersededByNewNavigation)this.navigated=!0;else if(v instanceof se)this.navigated=!0;else if(v instanceof xi){const G=v.navigationBehaviorOptions,Ee=this.urlHandlingStrategy.merge(v.url,C.currentRawUrl),pe={info:C.extras.info,skipLocationChange:C.extras.skipLocationChange,replaceUrl:C.extras.replaceUrl||"eager"===this.urlUpdateStrategy||ni(C.source),...G};this.scheduleNavigation(Ee,M,null,pe,{resolve:C.resolve,reject:C.reject,promise:C.promise})}(function ri(c){return!(c instanceof hi||c instanceof xi)})(v)&&this._events.next(v)}catch(C){this.navigationTransitions.transitionAbortSubject.next(C)}});this.eventsSubscription.add(u)}resetRootComponentType(u){this.routerState.root.component=u,this.navigationTransitions.rootComponentType=u}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),M,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((u,v)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(u,"popstate",v)},0)})}navigateToSyncWithBrowser(u,v,C){const k={replaceUrl:!0},G=C?.navigationId?C:null;if(C){const pe={...C};delete pe.navigationId,delete pe.\u0275routerPageId,0!==Object.keys(pe).length&&(k.state=pe)}const Ee=this.parseUrl(u);this.scheduleNavigation(Ee,v,G,k)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(u){this.config=u.map(xr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(u,v={}){const{relativeTo:C,queryParams:k,fragment:G,queryParamsHandling:Ee,preserveFragment:pe}=v,qe=pe?this.currentUrlTree.fragment:G;let $t,Rt=null;switch(Ee){case"merge":Rt={...this.currentUrlTree.queryParams,...k};break;case"preserve":Rt=this.currentUrlTree.queryParams;break;default:Rt=k||null}null!==Rt&&(Rt=this.removeEmptyProps(Rt));try{$t=Jr(C?C.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof u[0]||"/"!==u[0][0])&&(u=[]),$t=this.currentUrlTree.root}return Or($t,u,Rt,qe??null)}navigateByUrl(u,v={skipLocationChange:!1}){const C=Zt(u)?u:this.parseUrl(u),k=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(k,M,null,v)}navigate(u,v={skipLocationChange:!1}){return function ir(c){for(let m=0;m(null!=k&&(v[C]=k),v),{})}scheduleNavigation(u,v,C,k,G){if(this.disposed)return Promise.resolve(!1);let Ee,pe,qe;G?(Ee=G.resolve,pe=G.reject,qe=G.promise):qe=new Promise(($t,Nn)=>{Ee=$t,pe=Nn});const Rt=this.pendingTasks.add();return Rr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Rt))}),this.navigationTransitions.handleNavigationRequest({source:v,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:u,extras:k,resolve:Ee,reject:pe,promise:qe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),qe.catch($t=>Promise.reject($t))}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Mt=(()=>{class c{constructor(u,v,C,k,G,Ee){this.router=u,this.route=v,this.tabIndexAttribute=C,this.renderer=k,this.el=G,this.locationStrategy=Ee,this.href=null,this.commands=null,this.onChanges=new Je.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const pe=G.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pe||"area"===pe,this.isAnchorElement?this.subscription=u.events.subscribe(qe=>{qe instanceof se&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",u)}ngOnChanges(u){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(u,v,C,k,G){const Ee=this.urlTree;return!!(null===Ee||this.isAnchorElement&&(0!==u||v||C||k||G||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ee,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const u=this.urlTree;this.href=null!==u&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(u)):null;const v=null===this.href?null:(0,h.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",v)}applyAttributeValue(u,v){const C=this.renderer,k=this.el.nativeElement;null!==v?C.setAttribute(k,u,v):C.removeAttribute(k,u)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(v){return new(v||c)(h.rXU(rn),h.rXU(No),h.kS0("tabindex"),h.rXU(h.sFG),h.rXU(h.aKT),h.rXU(je.hb))};static#t=this.\u0275dir=h.FsC({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(v,C){1&v&&h.bIt("click",function(G){return C.onClick(G.button,G.ctrlKey,G.shiftKey,G.altKey,G.metaKey)}),2&v&&h.BMQ("target",C.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",h.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",h.L39],replaceUrl:[2,"replaceUrl","replaceUrl",h.L39],routerLink:"routerLink"},standalone:!0,features:[h.GFd,h.OA$]})}return c})(),us=(()=>{class c{get isActive(){return this._isActive}constructor(u,v,C,k,G){this.router=u,this.element=v,this.renderer=C,this.cdr=k,this.link=G,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new h.bkB,this.routerEventsSubscription=u.events.subscribe(Ee=>{Ee instanceof se&&this.update()})}ngAfterContentInit(){(0,Q.of)(this.links.changes,(0,Q.of)(null)).pipe((0,Vt.U)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),this.link].filter(v=>!!v).map(v=>v.onChanges);this.linkInputChangesSubscription=(0,o.H)(u).pipe((0,Vt.U)()).subscribe(v=>{this._isActive!==this.isLinkActive(this.router)(v)&&this.update()})}set routerLinkActive(u){const v=Array.isArray(u)?u:u.split(" ");this.classes=v.filter(C=>!!C)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const u=this.hasActiveLinks();this.classes.forEach(v=>{u?this.renderer.addClass(this.element.nativeElement,v):this.renderer.removeClass(this.element.nativeElement,v)}),u&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==u&&(this._isActive=u,this.cdr.markForCheck(),this.isActiveChange.emit(u))})}isLinkActive(u){const v=function nc(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>{const k=C.urlTree;return!!k&&u.isActive(k,v)}}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.links.some(u)}static#e=this.\u0275fac=function(v){return new(v||c)(h.rXU(rn),h.rXU(h.aKT),h.rXU(h.sFG),h.rXU(h.gRc),h.rXU(Mt,8))};static#t=this.\u0275dir=h.FsC({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(v,C,k){if(1&v&&h.wni(k,Mt,5),2&v){let G;h.mGM(G=h.lsd())&&(C.links=G)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[h.OA$]})}return c})();class Yi{}let fs=(()=>{class c{constructor(u,v,C,k,G){this.router=u,this.injector=C,this.preloadingStrategy=k,this.loader=G}setUpPreloading(){this.subscription=this.router.events.pipe((0,Te.p)(u=>u instanceof se),(0,x.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,v){const C=[];for(const k of v){k.providers&&!k._injector&&(k._injector=(0,h.Ol2)(k.providers,u,`Route: ${k.path}`));const G=k._injector??u,Ee=k._loadedInjector??G;(k.loadChildren&&!k._loadedRoutes&&void 0===k.canLoad||k.loadComponent&&!k._loadedComponent)&&C.push(this.preloadConfig(G,k)),(k.children||k._loadedRoutes)&&C.push(this.processRoutes(Ee,k.children??k._loadedRoutes))}return(0,o.H)(C).pipe((0,Vt.U)())}preloadConfig(u,v){return this.preloadingStrategy.preload(v,()=>{let C;C=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(u,v):(0,Q.of)(null);const k=C.pipe((0,ot.Z)(G=>null===G?(0,Q.of)(void 0):(v._loadedRoutes=G.routes,v._loadedInjector=G.injector,this.processRoutes(G.injector??u,G.routes))));if(v.loadComponent&&!v._loadedComponent){const G=this.loader.loadComponent(v);return(0,o.H)([k,G]).pipe((0,Vt.U)())}return k})}static#e=this.\u0275fac=function(v){return new(v||c)(h.KVO(rn),h.KVO(h.Ql9),h.KVO(h.uvJ),h.KVO(Yi),h.KVO(I))};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Uo=new h.nKC("");let Zi=(()=>{class c{constructor(u,v,C,k,G={}){this.urlSerializer=u,this.transitions=v,this.viewportScroller=C,this.zone=k,this.options=G,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,h.WQX)(h.uvJ),G.scrollPositionRestoration||="disabled",G.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof te?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof se?(this.lastId=u.id,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.urlAfterRedirects).fragment)):u instanceof qt&&u.code===Ct.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof cr&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,v){var C=this;this.zone.runOutsideAngular((0,y.A)(function*(){yield new Promise(k=>{setTimeout(()=>{k()}),(0,h.mal)(()=>{k()},{injector:C.environmentInjector})}),C.zone.run(()=>{C.transitions.events.next(new cr(u,"popstate"===C.lastSource?C.store[C.restoredId]:null,v))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(v){h.QTQ()};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}return c})();function lo(c,m){return{\u0275kind:c,\u0275providers:m}}function $o(){const c=(0,h.WQX)(h.zZn);return m=>{const u=c.get(h.o8S);if(m!==u.components[0])return;const v=c.get(rn),C=c.get(Ss);1===c.get(Mi)&&v.initialNavigation(),c.get(_r,null,h.$GK.Optional)?.setUpPreloading(),c.get(Uo,null,h.$GK.Optional)?.init(),v.resetRootComponentType(u.componentTypes[0]),C.closed||(C.next(),C.complete(),C.unsubscribe())}}const Ss=new h.nKC("",{factory:()=>new Je.B}),Mi=new h.nKC("",{providedIn:"root",factory:()=>1}),_r=new h.nKC("");function Qa(c){return lo(0,[{provide:_r,useExisting:fs},{provide:Yi,useExisting:c}])}function Lu(c){return lo(9,[{provide:sn,useValue:Wt},{provide:vn,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const na=new h.nKC("ROUTER_FORROOT_GUARD"),oc=[je.aZ,{provide:Qn,useClass:tr},rn,So,{provide:No,useFactory:function Ei(c){return c.routerState.root},deps:[rn]},I,[]];let ju=(()=>{class c{constructor(u){}static forRoot(u,v){return{ngModule:c,providers:[oc,[],{provide:E,multi:!0,useValue:u},{provide:na,useFactory:Wh,deps:[[rn,new h.Xx1,new h.kdw]]},{provide:F,useValue:v||{}},v?.useHash?{provide:je.hb,useClass:je.fw}:{provide:je.hb,useClass:je.Sm},{provide:Uo,useFactory:()=>{const c=(0,h.WQX)(je.Xr),m=(0,h.WQX)(h.SKi),u=(0,h.WQX)(F),v=(0,h.WQX)($n),C=(0,h.WQX)(Qn);return u.scrollOffset&&c.setOffset(u.scrollOffset),new Zi(C,v,c,m,u)}},v?.preloadingStrategy?Qa(v.preloadingStrategy).\u0275providers:[],v?.initialNavigation?Kh(v):[],v?.bindToComponentInputs?lo(8,[Ds,{provide:Ro,useExisting:Ds}]).\u0275providers:[],v?.enableViewTransitions?Lu().\u0275providers:[],[{provide:Bu,useFactory:$o},{provide:h.iLQ,multi:!0,useExisting:Bu}]]}}static forChild(u){return{ngModule:c,providers:[{provide:E,multi:!0,useValue:u}]}}static#e=this.\u0275fac=function(v){return new(v||c)(h.KVO(na,8))};static#t=this.\u0275mod=h.$C({type:c});static#n=this.\u0275inj=h.G2t({})}return c})();function Wh(c){return"guarded"}function Kh(c){return["disabled"===c.initialNavigation?lo(3,[{provide:h.hnV,multi:!0,useFactory:()=>{const m=(0,h.WQX)(rn);return()=>{m.setUpLocationChangeListener()}}},{provide:Mi,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?lo(2,[{provide:Mi,useValue:0},{provide:h.hnV,multi:!0,deps:[h.zZn],useFactory:m=>{const u=m.get(je.hj,Promise.resolve());return()=>u.then(()=>new Promise(v=>{const C=m.get(rn),k=m.get(Ss);Rr(C,()=>{v(!0)}),m.get($n).afterPreactivation=()=>(v(!0),k.closed?(0,Q.of)(void 0):k),C.initialNavigation()}))}}]).\u0275providers:[]]}const Bu=new h.nKC("")},10467:(We,de,D)=>{function y(Z,o,Q,H,oe,ue,ie){try{var le=Z[ue](ie),Y=le.value}catch(B){return void Q(B)}le.done?o(Y):Promise.resolve(Y).then(H,oe)}function h(Z){return function(){var o=this,Q=arguments;return new Promise(function(H,oe){var ue=Z.apply(o,Q);function ie(Y){y(ue,H,oe,ie,le,"next",Y)}function le(Y){y(ue,H,oe,ie,le,"throw",Y)}ie(void 0)})}}D.d(de,{A:()=>h})},31635:(We,de,D)=>{function Q(U,x,$,re){var it,Me=arguments.length,we=Me<3?x:null===re?re=Object.getOwnPropertyDescriptor(x,$):re;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)we=Reflect.decorate(U,x,$,re);else for(var mt=U.length-1;mt>=0;mt--)(it=U[mt])&&(we=(Me<3?it(we):Me>3?it(x,$,we):it(x,$))||we);return Me>3&&we&&Object.defineProperty(x,$,we),we}function Y(U,x){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(U,x)}function B(U,x,$,re){return new($||($=Promise))(function(we,it){function mt(Vt){try{dt(re.next(Vt))}catch(Ut){it(Ut)}}function Jt(Vt){try{dt(re.throw(Vt))}catch(Ut){it(Ut)}}function dt(Vt){Vt.done?we(Vt.value):function Me(we){return we instanceof $?we:new $(function(it){it(we)})}(Vt.value).then(mt,Jt)}dt((re=re.apply(U,x||[])).next())})}function Le(U){return this instanceof Le?(this.v=U,this):new Le(U)}function ke(U,x,$){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Me,re=$.apply(U,x||[]),we=[];return Me={},it("next"),it("throw"),it("return"),Me[Symbol.asyncIterator]=function(){return this},Me;function it(tt){re[tt]&&(Me[tt]=function(an){return new Promise(function(tn,En){we.push([tt,an,tn,En])>1||mt(tt,an)})})}function mt(tt,an){try{!function Jt(tt){tt.value instanceof Le?Promise.resolve(tt.value.v).then(dt,Vt):Ut(we[0][2],tt)}(re[tt](an))}catch(tn){Ut(we[0][3],tn)}}function dt(tt){mt("next",tt)}function Vt(tt){mt("throw",tt)}function Ut(tt,an){tt(an),we.shift(),we.length&&mt(we[0][0],we[0][1])}}function je(U){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $,x=U[Symbol.asyncIterator];return x?x.call(U):(U=function _e(U){var x="function"==typeof Symbol&&Symbol.iterator,$=x&&U[x],re=0;if($)return $.call(U);if(U&&"number"==typeof U.length)return{next:function(){return U&&re>=U.length&&(U=void 0),{value:U&&U[re++],done:!U}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")}(U),$={},re("next"),re("throw"),re("return"),$[Symbol.asyncIterator]=function(){return this},$);function re(we){$[we]=U[we]&&function(it){return new Promise(function(mt,Jt){!function Me(we,it,mt,Jt){Promise.resolve(Jt).then(function(dt){we({value:dt,done:mt})},it)}(mt,Jt,(it=U[we](it)).done,it.value)})}}}D.d(de,{AQ:()=>ke,Cg:()=>Q,N3:()=>Le,Sn:()=>Y,sH:()=>B,xN:()=>je}),"function"==typeof SuppressedError&&SuppressedError}},We=>{We(We.s=34958)}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_bootstrap_docs=self.webpackChunkngx_bootstrap_docs||[]).push([[792],{34958:(We,de,D)=>{var y=D(345),h=D(54438),Z=D(21626),o=D(8681),Q=D(43744),H=D(49969);function ue(R){return new h.wOt(3e3,!1)}function dt(R){switch(R.length){case 0:return new H.sf;case 1:return R[0];default:return new H.ui(R)}}function Vt(R,d,g=new Map,_=new Map){const N=[],j=[];let ne=-1,K=null;if(d.forEach(fe=>{const ve=fe.get("offset"),Qe=ve==ne,He=Qe&&K||new Map;fe.forEach((Xt,Pt)=>{let yt=Pt,St=Xt;if("offset"!==Pt)switch(yt=R.normalizePropertyName(yt,N),St){case H.FX:St=g.get(Pt);break;case H.kp:St=_.get(Pt);break;default:St=R.normalizeStyleValue(Pt,yt,St,N)}He.set(yt,St)}),Qe||j.push(He),K=He,ne=ve}),N.length)throw function _t(R){return new h.wOt(3502,!1)}();return j}function Ut(R,d,g,_){switch(d){case"start":R.onStart(()=>_(g&&tt(g,"start",R)));break;case"done":R.onDone(()=>_(g&&tt(g,"done",R)));break;case"destroy":R.onDestroy(()=>_(g&&tt(g,"destroy",R)))}}function tt(R,d,g){const j=an(R.element,R.triggerName,R.fromState,R.toState,d||R.phaseName,g.totalTime??R.totalTime,!!g.disabled),ne=R._data;return null!=ne&&(j._data=ne),j}function an(R,d,g,_,N="",j=0,ne){return{element:R,triggerName:d,fromState:g,toState:_,phaseName:N,totalTime:j,disabled:!!ne}}function tn(R,d,g){let _=R.get(d);return _||R.set(d,_=g),_}function En(R){const d=R.indexOf(":");return[R.substring(1,d),R.slice(d+1)]}const en=typeof document>"u"?null:document.documentElement;function Ve(R){const d=R.parentNode||R.host||null;return d===en?null:d}let kn=null,Kn=!1;function bn(R,d){for(;d;){if(d===R)return!0;d=Ve(d)}return!1}function Ft(R,d,g){if(g)return Array.from(R.querySelectorAll(d));const _=R.querySelector(d);return _?[_]:[]}let sr=(()=>{class R{validateStyleProperty(g){return function Vr(R){kn||(kn=function pr(){return typeof document<"u"?document.body:null}()||{},Kn=!!kn.style&&"WebkitAppearance"in kn.style);let d=!0;return kn.style&&!function ln(R){return"ebkit"==R.substring(1,6)}(R)&&(d=R in kn.style,!d&&Kn&&(d="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in kn.style)),d}(g)}containsElement(g,_){return bn(g,_)}getParentElement(g){return Ve(g)}query(g,_,N){return Ft(g,_,N)}computeStyle(g,_,N){return N||""}animate(g,_,N,j,ne,K=[],fe){return new H.sf(N,j)}static#e=this.\u0275fac=function(_){return new(_||R)};static#t=this.\u0275prov=h.jDH({token:R,factory:R.\u0275fac})}return R})();class er{static#e=this.NOOP=new sr}class Mn{}const Rn=1e3,Sn="ng-enter",at="ng-leave",Fn="ng-trigger",Yt=".ng-trigger",Qn="ng-animating",tr=".ng-animating";function nr(R){if("number"==typeof R)return R;const d=R.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:Yn(parseFloat(d[1]),d[2])}function Yn(R,d){return"s"===d?R*Rn:R}function ct(R,d,g){return R.hasOwnProperty("duration")?R:function ye(R,d,g){let N,j=0,ne="";if("string"==typeof R){const K=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===K)return d.push(ue()),{duration:0,delay:0,easing:""};N=Yn(parseFloat(K[1]),K[2]);const fe=K[3];null!=fe&&(j=Yn(parseFloat(fe),K[4]));const ve=K[5];ve&&(ne=ve)}else N=R;if(!g){let K=!1,fe=d.length;N<0&&(d.push(function ie(){return new h.wOt(3100,!1)}()),K=!0),j<0&&(d.push(function le(){return new h.wOt(3101,!1)}()),K=!0),K&&d.splice(fe,0,ue())}return{duration:N,delay:j,easing:ne}}(R,d,g)}function O(R,d,g){d.forEach((_,N)=>{const j=Nt(N);g&&!g.has(N)&&g.set(N,R.style[j]),R.style[j]=_})}function z(R,d){d.forEach((g,_)=>{const N=Nt(_);R.style[N]=""})}function me(R){return Array.isArray(R)?1==R.length?R[0]:(0,H.K2)(R):R}const xe=new RegExp("{{\\s*(.+?)\\s*}}","g");function ze(R){let d=[];if("string"==typeof R){let g;for(;g=xe.exec(R);)d.push(g[1]);xe.lastIndex=0}return d}function nt(R,d,g){const _=`${R}`,N=_.replace(xe,(j,ne)=>{let K=d[ne];return null==K&&(g.push(function B(R){return new h.wOt(3003,!1)}()),K=""),K.toString()});return N==_?R:N}const ut=/-+([a-z0-9])/g;function Nt(R){return R.replace(ut,(...d)=>d[1].toUpperCase())}function Ze(R,d,g){switch(d.type){case H.If.Trigger:return R.visitTrigger(d,g);case H.If.State:return R.visitState(d,g);case H.If.Transition:return R.visitTransition(d,g);case H.If.Sequence:return R.visitSequence(d,g);case H.If.Group:return R.visitGroup(d,g);case H.If.Animate:return R.visitAnimate(d,g);case H.If.Keyframes:return R.visitKeyframes(d,g);case H.If.Style:return R.visitStyle(d,g);case H.If.Reference:return R.visitReference(d,g);case H.If.AnimateChild:return R.visitAnimateChild(d,g);case H.If.AnimateRef:return R.visitAnimateRef(d,g);case H.If.Query:return R.visitQuery(d,g);case H.If.Stagger:return R.visitStagger(d,g);default:throw function ce(R){return new h.wOt(3004,!1)}()}}function mr(R,d){return window.getComputedStyle(R)[d]}const qr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Zn extends Mn{normalizePropertyName(d,g){return Nt(d)}normalizeStyleValue(d,g,_,N){let j="";const ne=_.toString().trim();if(qr.has(g)&&0!==_&&"0"!==_)if("number"==typeof _)j="px";else{const K=_.match(/^[+-]?[\d\.]+([a-z]*)$/);K&&0==K[1].length&&N.push(function V(R,d){return new h.wOt(3005,!1)}())}return ne+j}}const kr="*";const yr=new Set(["true","1"]),to=new Set(["false","0"]);function no(R,d){const g=yr.has(R)||to.has(R),_=yr.has(d)||to.has(d);return(N,j)=>{let ne=R==kr||R==N,K=d==kr||d==j;return!ne&&g&&"boolean"==typeof N&&(ne=N?yr.has(R):to.has(R)),!K&&_&&"boolean"==typeof j&&(K=j?yr.has(d):to.has(d)),ne&&K}}const At=new RegExp("s*:selfs*,?","g");function $r(R,d,g,_){return new L(R).build(d,g,_)}class L{constructor(d){this._driver=d}build(d,g,_){const N=new De(g);return this._resetContextStyleTimingState(N),Ze(this,me(d),N)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,g){let _=g.queryCount=0,N=g.depCount=0;const j=[],ne=[];return"@"==d.name.charAt(0)&&g.errors.push(function ge(){return new h.wOt(3006,!1)}()),d.definitions.forEach(K=>{if(this._resetContextStyleTimingState(g),K.type==H.If.State){const fe=K,ve=fe.name;ve.toString().split(/\s*,\s*/).forEach(Qe=>{fe.name=Qe,j.push(this.visitState(fe,g))}),fe.name=ve}else if(K.type==H.If.Transition){const fe=this.visitTransition(K,g);_+=fe.queryCount,N+=fe.depCount,ne.push(fe)}else g.errors.push(function _e(){return new h.wOt(3007,!1)}())}),{type:H.If.Trigger,name:d.name,states:j,transitions:ne,queryCount:_,depCount:N,options:null}}visitState(d,g){const _=this.visitStyle(d.styles,g),N=d.options&&d.options.params||null;if(_.containsDynamicStyles){const j=new Set,ne=N||{};_.styles.forEach(K=>{K instanceof Map&&K.forEach(fe=>{ze(fe).forEach(ve=>{ne.hasOwnProperty(ve)||j.add(ve)})})}),j.size&&g.errors.push(function Oe(R,d){return new h.wOt(3008,!1)}(0,j.values()))}return{type:H.If.State,name:d.name,style:_,options:N?{params:N}:null}}visitTransition(d,g){g.queryCount=0,g.depCount=0;const _=Ze(this,me(d.animation),g),N=function lr(R,d){const g=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach(_=>function eo(R,d,g){if(":"==R[0]){const fe=function Ur(R,d){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(g,_)=>parseFloat(_)>parseFloat(g);case":decrement":return(g,_)=>parseFloat(_) *"}}(R,g);if("function"==typeof fe)return void d.push(fe);R=fe}const _=R.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return g.push(function st(R){return new h.wOt(3015,!1)}()),d;const N=_[1],j=_[2],ne=_[3];d.push(no(N,ne)),"<"==j[0]&&(N!=kr||ne!=kr)&&d.push(no(ne,N))}(_,g,d)):g.push(R),g}(d.expr,g.errors);return{type:H.If.Transition,matchers:N,animation:_,queryCount:g.queryCount,depCount:g.depCount,options:M(d.options)}}visitSequence(d,g){return{type:H.If.Sequence,steps:d.steps.map(_=>Ze(this,_,g)),options:M(d.options)}}visitGroup(d,g){const _=g.currentTime;let N=0;const j=d.steps.map(ne=>{g.currentTime=_;const K=Ze(this,ne,g);return N=Math.max(N,g.currentTime),K});return g.currentTime=N,{type:H.If.Group,steps:j,options:M(d.options)}}visitAnimate(d,g){const _=function Ge(R,d){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return q(ct(R,d).duration,0,"");const g=R;if(g.split(/\s+/).some(j=>"{"==j.charAt(0)&&"{"==j.charAt(1))){const j=q(0,0,"");return j.dynamic=!0,j.strValue=g,j}const N=ct(g,d);return q(N.duration,N.delay,N.easing)}(d.timings,g.errors);g.currentAnimateTimings=_;let N,j=d.styles?d.styles:(0,H.iF)({});if(j.type==H.If.Keyframes)N=this.visitKeyframes(j,g);else{let ne=d.styles,K=!1;if(!ne){K=!0;const ve={};_.easing&&(ve.easing=_.easing),ne=(0,H.iF)(ve)}g.currentTime+=_.duration+_.delay;const fe=this.visitStyle(ne,g);fe.isEmptyStep=K,N=fe}return g.currentAnimateTimings=null,{type:H.If.Animate,timings:_,style:N,options:null}}visitStyle(d,g){const _=this._makeStyleAst(d,g);return this._validateStyleAst(_,g),_}_makeStyleAst(d,g){const _=[],N=Array.isArray(d.styles)?d.styles:[d.styles];for(let K of N)"string"==typeof K?K===H.kp?_.push(K):g.errors.push(new h.wOt(3002,!1)):_.push(new Map(Object.entries(K)));let j=!1,ne=null;return _.forEach(K=>{if(K instanceof Map&&(K.has("easing")&&(ne=K.get("easing"),K.delete("easing")),!j))for(let fe of K.values())if(fe.toString().indexOf("{{")>=0){j=!0;break}}),{type:H.If.Style,styles:_,easing:ne,offset:d.offset,containsDynamicStyles:j,options:null}}_validateStyleAst(d,g){const _=g.currentAnimateTimings;let N=g.currentTime,j=g.currentTime;_&&j>0&&(j-=_.duration+_.delay),d.styles.forEach(ne=>{"string"!=typeof ne&&ne.forEach((K,fe)=>{const ve=g.collectedStyles.get(g.currentQuerySelector),Qe=ve.get(fe);let He=!0;Qe&&(j!=N&&j>=Qe.startTime&&N<=Qe.endTime&&(g.errors.push(function kt(R,d,g,_,N){return new h.wOt(3010,!1)}()),He=!1),j=Qe.startTime),He&&ve.set(fe,{startTime:j,endTime:N}),g.options&&function Ae(R,d,g){const _=d.params||{},N=ze(R);N.length&&N.forEach(j=>{_.hasOwnProperty(j)||g.push(function Y(R){return new h.wOt(3001,!1)}())})}(K,g.options,g.errors)})})}visitKeyframes(d,g){const _={type:H.If.Keyframes,styles:[],options:null};if(!g.currentAnimateTimings)return g.errors.push(function Le(){return new h.wOt(3011,!1)}()),_;let j=0;const ne=[];let K=!1,fe=!1,ve=0;const Qe=d.steps.map(wn=>{const Vn=this._makeStyleAst(wn,g);let rr=null!=Vn.offset?Vn.offset:function Pe(R){if("string"==typeof R)return null;let d=null;if(Array.isArray(R))R.forEach(g=>{if(g instanceof Map&&g.has("offset")){const _=g;d=parseFloat(_.get("offset")),_.delete("offset")}});else if(R instanceof Map&&R.has("offset")){const g=R;d=parseFloat(g.get("offset")),g.delete("offset")}return d}(Vn.styles),Wn=0;return null!=rr&&(j++,Wn=Vn.offset=rr),fe=fe||Wn<0||Wn>1,K=K||Wn0&&j{const rr=Xt>0?Vn==Pt?1:Xt*Vn:ne[Vn],Wn=rr*hn;g.currentTime=yt+St.delay+Wn,St.duration=Wn,this._validateStyleAst(wn,g),wn.offset=rr,_.styles.push(wn)}),_}visitReference(d,g){return{type:H.If.Reference,animation:Ze(this,me(d.animation),g),options:M(d.options)}}visitAnimateChild(d,g){return g.depCount++,{type:H.If.AnimateChild,options:M(d.options)}}visitAnimateRef(d,g){return{type:H.If.AnimateRef,animation:this.visitReference(d.animation,g),options:M(d.options)}}visitQuery(d,g){const _=g.currentQuerySelector,N=d.options||{};g.queryCount++,g.currentQuery=d;const[j,ne]=function J(R){const d=!!R.split(/\s*,\s*/).find(g=>":self"==g);return d&&(R=R.replace(At,"")),R=R.replace(/@\*/g,Yt).replace(/@\w+/g,g=>Yt+"-"+g.slice(1)).replace(/:animating/g,tr),[R,d]}(d.selector);g.currentQuerySelector=_.length?_+" "+j:j,tn(g.collectedStyles,g.currentQuerySelector,new Map);const K=Ze(this,me(d.animation),g);return g.currentQuery=null,g.currentQuerySelector=_,{type:H.If.Query,selector:j,limit:N.limit||0,optional:!!N.optional,includeSelf:ne,animation:K,originalSelector:d.selector,options:M(d.options)}}visitStagger(d,g){g.currentQuery||g.errors.push(function $e(){return new h.wOt(3013,!1)}());const _="full"===d.timings?{duration:0,delay:0,easing:"full"}:ct(d.timings,g.errors,!0);return{type:H.If.Stagger,animation:Ze(this,me(d.animation),g),timings:_,options:null}}}class De{constructor(d){this.errors=d,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function M(R){return R?(R={...R}).params&&(R.params=function ee(R){return R?{...R}:null}(R.params)):R={},R}function q(R,d,g){return{duration:R,delay:d,easing:g}}function A(R,d,g,_,N,j,ne=null,K=!1){return{type:1,element:R,keyframes:d,preStyleProps:g,postStyleProps:_,duration:N,delay:j,totalTime:N+j,easing:ne,subTimeline:K}}class te{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,g){let _=this._map.get(d);_||this._map.set(d,_=[]),_.push(...g)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Ct=new RegExp(":enter","g"),qt=new RegExp(":leave","g");function wt(R,d,g,_,N,j=new Map,ne=new Map,K,fe,ve=[]){return(new Xe).buildKeyframes(R,d,g,_,N,j,ne,K,fe,ve)}class Xe{buildKeyframes(d,g,_,N,j,ne,K,fe,ve,Qe=[]){ve=ve||new te;const He=new Hr(d,g,ve,N,j,Qe,[]);He.options=fe;const Xt=fe.delay?nr(fe.delay):0;He.currentTimeline.delayNextStep(Xt),He.currentTimeline.setStyles([ne],null,He.errors,fe),Ze(this,_,He);const Pt=He.timelines.filter(yt=>yt.containsAnimation());if(Pt.length&&K.size){let yt;for(let St=Pt.length-1;St>=0;St--){const hn=Pt[St];if(hn.element===g){yt=hn;break}}yt&&!yt.allowOnlyTimelineStyles()&&yt.setStyles([K],null,He.errors,fe)}return Pt.length?Pt.map(yt=>yt.buildKeyframes()):[A(g,[],[],[],0,Xt,"",!1)]}visitTrigger(d,g){}visitState(d,g){}visitTransition(d,g){}visitAnimateChild(d,g){const _=g.subInstructions.get(g.element);if(_){const N=g.createSubContext(d.options),j=g.currentTimeline.currentTime,ne=this._visitSubInstructions(_,N,N.options);j!=ne&&g.transformIntoNewTimeline(ne)}g.previousNode=d}visitAnimateRef(d,g){const _=g.createSubContext(d.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],g,_),this.visitReference(d.animation,_),g.transformIntoNewTimeline(_.currentTimeline.currentTime),g.previousNode=d}_applyAnimationRefDelays(d,g,_){for(const N of d){const j=N?.delay;if(j){const ne="number"==typeof j?j:nr(nt(j,N?.params??{},g.errors));_.delayNextStep(ne)}}}_visitSubInstructions(d,g,_){let j=g.currentTimeline.currentTime;const ne=null!=_.duration?nr(_.duration):null,K=null!=_.delay?nr(_.delay):null;return 0!==ne&&d.forEach(fe=>{const ve=g.appendInstructionToTimeline(fe,ne,K);j=Math.max(j,ve.duration+ve.delay)}),j}visitReference(d,g){g.updateOptions(d.options,!0),Ze(this,d.animation,g),g.previousNode=d}visitSequence(d,g){const _=g.subContextCount;let N=g;const j=d.options;if(j&&(j.params||j.delay)&&(N=g.createSubContext(j),N.transformIntoNewTimeline(),null!=j.delay)){N.previousNode.type==H.If.Style&&(N.currentTimeline.snapshotCurrentStyles(),N.previousNode=It);const ne=nr(j.delay);N.delayNextStep(ne)}d.steps.length&&(d.steps.forEach(ne=>Ze(this,ne,N)),N.currentTimeline.applyStylesToKeyframe(),N.subContextCount>_&&N.transformIntoNewTimeline()),g.previousNode=d}visitGroup(d,g){const _=[];let N=g.currentTimeline.currentTime;const j=d.options&&d.options.delay?nr(d.options.delay):0;d.steps.forEach(ne=>{const K=g.createSubContext(d.options);j&&K.delayNextStep(j),Ze(this,ne,K),N=Math.max(N,K.currentTimeline.currentTime),_.push(K.currentTimeline)}),_.forEach(ne=>g.currentTimeline.mergeTimelineCollectedStyles(ne)),g.transformIntoNewTimeline(N),g.previousNode=d}_visitTiming(d,g){if(d.dynamic){const _=d.strValue;return ct(g.params?nt(_,g.params,g.errors):_,g.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,g){const _=g.currentAnimateTimings=this._visitTiming(d.timings,g),N=g.currentTimeline;_.delay&&(g.incrementTime(_.delay),N.snapshotCurrentStyles());const j=d.style;j.type==H.If.Keyframes?this.visitKeyframes(j,g):(g.incrementTime(_.duration),this.visitStyle(j,g),N.applyStylesToKeyframe()),g.currentAnimateTimings=null,g.previousNode=d}visitStyle(d,g){const _=g.currentTimeline,N=g.currentAnimateTimings;!N&&_.hasCurrentStyleProperties()&&_.forwardFrame();const j=N&&N.easing||d.easing;d.isEmptyStep?_.applyEmptyStep(j):_.setStyles(d.styles,j,g.errors,g.options),g.previousNode=d}visitKeyframes(d,g){const _=g.currentAnimateTimings,N=g.currentTimeline.duration,j=_.duration,K=g.createSubContext().currentTimeline;K.easing=_.easing,d.styles.forEach(fe=>{K.forwardTime((fe.offset||0)*j),K.setStyles(fe.styles,fe.easing,g.errors,g.options),K.applyStylesToKeyframe()}),g.currentTimeline.mergeTimelineCollectedStyles(K),g.transformIntoNewTimeline(N+j),g.previousNode=d}visitQuery(d,g){const _=g.currentTimeline.currentTime,N=d.options||{},j=N.delay?nr(N.delay):0;j&&(g.previousNode.type===H.If.Style||0==_&&g.currentTimeline.hasCurrentStyleProperties())&&(g.currentTimeline.snapshotCurrentStyles(),g.previousNode=It);let ne=_;const K=g.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!N.optional,g.errors);g.currentQueryTotal=K.length;let fe=null;K.forEach((ve,Qe)=>{g.currentQueryIndex=Qe;const He=g.createSubContext(d.options,ve);j&&He.delayNextStep(j),ve===g.element&&(fe=He.currentTimeline),Ze(this,d.animation,He),He.currentTimeline.applyStylesToKeyframe(),ne=Math.max(ne,He.currentTimeline.currentTime)}),g.currentQueryIndex=0,g.currentQueryTotal=0,g.transformIntoNewTimeline(ne),fe&&(g.currentTimeline.mergeTimelineCollectedStyles(fe),g.currentTimeline.snapshotCurrentStyles()),g.previousNode=d}visitStagger(d,g){const _=g.parentContext,N=g.currentTimeline,j=d.timings,ne=Math.abs(j.duration),K=ne*(g.currentQueryTotal-1);let fe=ne*g.currentQueryIndex;switch(j.duration<0?"reverse":j.easing){case"reverse":fe=K-fe;break;case"full":fe=_.currentStaggerTime}const Qe=g.currentTimeline;fe&&Qe.delayNextStep(fe);const He=Qe.currentTime;Ze(this,d.animation,g),g.previousNode=d,_.currentStaggerTime=N.currentTime-He+(N.startTime-_.currentTimeline.startTime)}}const It={};class Hr{constructor(d,g,_,N,j,ne,K,fe){this._driver=d,this.element=g,this.subInstructions=_,this._enterClassName=N,this._leaveClassName=j,this.errors=ne,this.timelines=K,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=It,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=fe||new yn(this._driver,g,0),K.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,g){if(!d)return;const _=d;let N=this.options;null!=_.duration&&(N.duration=nr(_.duration)),null!=_.delay&&(N.delay=nr(_.delay));const j=_.params;if(j){let ne=N.params;ne||(ne=this.options.params={}),Object.keys(j).forEach(K=>{(!g||!ne.hasOwnProperty(K))&&(ne[K]=nt(j[K],ne,this.errors))})}}_copyOptions(){const d={};if(this.options){const g=this.options.params;if(g){const _=d.params={};Object.keys(g).forEach(N=>{_[N]=g[N]})}}return d}createSubContext(d=null,g,_){const N=g||this.element,j=new Hr(this._driver,N,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(N,_||0));return j.previousNode=this.previousNode,j.currentAnimateTimings=this.currentAnimateTimings,j.options=this._copyOptions(),j.updateOptions(d),j.currentQueryIndex=this.currentQueryIndex,j.currentQueryTotal=this.currentQueryTotal,j.parentContext=this,this.subContextCount++,j}transformIntoNewTimeline(d){return this.previousNode=It,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,g,_){const N={duration:g??d.duration,delay:this.currentTimeline.currentTime+(_??0)+d.delay,easing:""},j=new Pn(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,N,d.stretchStartingKeyframe);return this.timelines.push(j),N}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,g,_,N,j,ne){let K=[];if(N&&K.push(this.element),d.length>0){d=(d=d.replace(Ct,"."+this._enterClassName)).replace(qt,"."+this._leaveClassName);let ve=this._driver.query(this.element,d,1!=_);0!==_&&(ve=_<0?ve.slice(ve.length+_,ve.length):ve.slice(0,_)),K.push(...ve)}return!j&&0==K.length&&ne.push(function et(R){return new h.wOt(3014,!1)}()),K}}class yn{constructor(d,g,_,N){this._driver=d,this.element=g,this.startTime=_,this._elementTimelineStylesLookup=N,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(g),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(g,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(d){const g=1===this._keyframes.size&&this._pendingStyles.size;this.duration||g?(this.forwardTime(this.currentTime+d),g&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,g){return this.applyStylesToKeyframe(),new yn(this._driver,d,g||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,g){this._localTimelineStyles.set(d,g),this._globalTimelineStyles.set(d,g),this._styleSummary.set(d,{time:this.currentTime,value:g})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[g,_]of this._globalTimelineStyles)this._backFill.set(g,_||H.kp),this._currentKeyframe.set(g,H.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,g,_,N){g&&this._previousKeyframe.set("easing",g);const j=N&&N.params||{},ne=function oo(R,d){const g=new Map;let _;return R.forEach(N=>{if("*"===N){_??=d.keys();for(let j of _)g.set(j,H.kp)}else for(let[j,ne]of N)g.set(j,ne)}),g}(d,this._globalTimelineStyles);for(let[K,fe]of ne){const ve=nt(fe,j,_);this._pendingStyles.set(K,ve),this._localTimelineStyles.has(K)||this._backFill.set(K,this._globalTimelineStyles.get(K)??H.kp),this._updateStyle(K,ve)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,g)=>{this._currentKeyframe.set(g,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,g)=>{this._currentKeyframe.has(g)||this._currentKeyframe.set(g,d)}))}snapshotCurrentStyles(){for(let[d,g]of this._localTimelineStyles)this._pendingStyles.set(d,g),this._updateStyle(d,g)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let g in this._currentKeyframe)d.push(g);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((g,_)=>{const N=this._styleSummary.get(_);(!N||g.time>N.time)&&this._updateStyle(_,g.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,g=new Set,_=1===this._keyframes.size&&0===this.duration;let N=[];this._keyframes.forEach((K,fe)=>{const ve=new Map([...this._backFill,...K]);ve.forEach((Qe,He)=>{Qe===H.FX?d.add(He):Qe===H.kp&&g.add(He)}),_||ve.set("offset",fe/this.duration),N.push(ve)});const j=[...d.values()],ne=[...g.values()];if(_){const K=N[0],fe=new Map(K);K.set("offset",0),fe.set("offset",1),N=[K,fe]}return A(this.element,N,j,ne,this.duration,this.startTime,this.easing,!1)}}class Pn extends yn{constructor(d,g,_,N,j,ne,K=!1){super(d,g,ne.delay),this.keyframes=_,this.preStyleProps=N,this.postStyleProps=j,this._stretchStartingKeyframe=K,this.timings={duration:ne.duration,delay:ne.delay,easing:ne.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:g,duration:_,easing:N}=this.timings;if(this._stretchStartingKeyframe&&g){const j=[],ne=_+g,K=g/ne,fe=new Map(d[0]);fe.set("offset",0),j.push(fe);const ve=new Map(d[0]);ve.set("offset",di(K)),j.push(ve);const Qe=d.length-1;for(let He=1;He<=Qe;He++){let Xt=new Map(d[He]);const Pt=Xt.get("offset");Xt.set("offset",di((g+Pt*_)/ne)),j.push(Xt)}_=ne,g=0,N="",d=j}return A(this.element,d,this.preStyleProps,this.postStyleProps,_,g,N,!0)}}function di(R,d=3){const g=Math.pow(10,d-1);return Math.round(R*g)/g}function go(R,d,g,_,N,j,ne,K,fe,ve,Qe,He,Xt){return{type:0,element:R,triggerName:d,isRemovalTransition:N,fromState:g,fromStyles:j,toState:_,toStyles:ne,timelines:K,queriedElements:fe,preStyleProps:ve,postStyleProps:Qe,totalTime:He,errors:Xt}}const xt={};class fi{constructor(d,g,_){this._triggerName=d,this.ast=g,this._stateStyles=_}match(d,g,_,N){return function cr(R,d,g,_,N){return R.some(j=>j(d,g,_,N))}(this.ast.matchers,d,g,_,N)}buildStyles(d,g,_){let N=this._stateStyles.get("*");return void 0!==d&&(N=this._stateStyles.get(d?.toString())||N),N?N.buildStyles(g,_):new Map}build(d,g,_,N,j,ne,K,fe,ve,Qe){const He=[],Xt=this.ast.options&&this.ast.options.params||xt,yt=this.buildStyles(_,K&&K.params||xt,He),St=fe&&fe.params||xt,hn=this.buildStyles(N,St,He),wn=new Set,Vn=new Map,rr=new Map,Wn="void"===N,Do={params:hi(St,Xt),delay:this.ast.options?.delay},_o=Qe?[]:wt(d,g,this.ast.animation,j,ne,yt,hn,Do,ve,He);let or=0;return _o.forEach(Er=>{or=Math.max(Er.duration+Er.delay,or)}),He.length?go(g,this._triggerName,_,N,Wn,yt,hn,[],[],Vn,rr,or,He):(_o.forEach(Er=>{const Sr=Er.element,jo=tn(Vn,Sr,new Set);Er.preStyleProps.forEach(Fr=>jo.add(Fr));const Wi=tn(rr,Sr,new Set);Er.postStyleProps.forEach(Fr=>Wi.add(Fr)),Sr!==g&&wn.add(Sr)}),go(g,this._triggerName,_,N,Wn,yt,hn,_o,[...wn.values()],Vn,rr,or))}}function hi(R,d){const g={...d};return Object.entries(R).forEach(([_,N])=>{null!=N&&(g[_]=N)}),g}class xi{constructor(d,g,_){this.styles=d,this.defaultParams=g,this.normalizer=_}buildStyles(d,g){const _=new Map,N=hi(d,this.defaultParams);return this.styles.styles.forEach(j=>{"string"!=typeof j&&j.forEach((ne,K)=>{ne&&(ne=nt(ne,N,g));const fe=this.normalizer.normalizePropertyName(K,g);ne=this.normalizer.normalizeStyleValue(K,fe,ne,g),_.set(K,ne)})}),_}}class pi{constructor(d,g,_){this.name=d,this.ast=g,this._normalizer=_,this.transitionFactories=[],this.states=new Map,g.states.forEach(N=>{this.states.set(N.name,new xi(N.style,N.options&&N.options.params||{},_))}),Fo(this.states,"true","1"),Fo(this.states,"false","0"),g.transitions.forEach(N=>{this.transitionFactories.push(new fi(d,N,this.states))}),this.fallbackTransition=function So(R,d,g){return new fi(R,{type:H.If.Transition,animation:{type:H.If.Sequence,steps:[],options:null},matchers:[(ne,K)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,g,_,N){return this.transitionFactories.find(ne=>ne.match(d,g,_,N))||null}matchStyles(d,g,_){return this.fallbackTransition.buildStyles(d,g,_)}}function Fo(R,d,g){R.has(d)?R.has(g)||R.set(g,R.get(d)):R.has(g)&&R.set(d,R.get(g))}const Pi=new te;class Li{constructor(d,g,_){this.bodyNode=d,this._driver=g,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(d,g){const _=[],j=$r(this._driver,g,_,[]);if(_.length)throw function Qt(R){return new h.wOt(3503,!1)}();this._animations.set(d,j)}_buildPlayer(d,g,_){const N=d.element,j=Vt(this._normalizer,d.keyframes,g,_);return this._driver.animate(N,j,d.duration,d.delay,d.easing,[],!0)}create(d,g,_={}){const N=[],j=this._animations.get(d);let ne;const K=new Map;if(j?(ne=wt(this._driver,g,j,Sn,at,new Map,new Map,_,Pi,N),ne.forEach(Qe=>{const He=tn(K,Qe.element,new Map);Qe.postStyleProps.forEach(Xt=>He.set(Xt,null))})):(N.push(function dn(){return new h.wOt(3300,!1)}()),ne=[]),N.length)throw function Ce(R){return new h.wOt(3504,!1)}();K.forEach((Qe,He)=>{Qe.forEach((Xt,Pt)=>{Qe.set(Pt,this._driver.computeStyle(He,Pt,H.kp))})});const ve=dt(ne.map(Qe=>{const He=K.get(Qe.element);return this._buildPlayer(Qe,new Map,He)}));return this._playersById.set(d,ve),ve.onDestroy(()=>this.destroy(d)),this.players.push(ve),ve}destroy(d){const g=this._getPlayer(d);g.destroy(),this._playersById.delete(d);const _=this.players.indexOf(g);_>=0&&this.players.splice(_,1)}_getPlayer(d){const g=this._playersById.get(d);if(!g)throw function U(R){return new h.wOt(3301,!1)}();return g}listen(d,g,_,N){const j=an(g,"","","");return Ut(this._getPlayer(d),_,j,N),()=>{}}command(d,g,_,N){if("register"==_)return void this.register(d,N[0]);if("create"==_)return void this.create(d,g,N[0]||{});const j=this._getPlayer(d);switch(_){case"play":j.play();break;case"pause":j.pause();break;case"reset":j.reset();break;case"restart":j.restart();break;case"finish":j.finish();break;case"init":j.init();break;case"setPosition":j.setPosition(parseFloat(N[0]));break;case"destroy":this.destroy(d)}}}const Mr="ng-animate-queued",io="ng-animate-disabled",Bn=[],Qo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ht={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gn="__ng_removed";class Ao{get params(){return this.options.params}constructor(d,g=""){this.namespaceId=g;const _=d&&d.hasOwnProperty("value");if(this.value=function Ds(R){return R??null}(_?d.value:d),_){const{value:j,...ne}=d;this.options=ne}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const g=d.params;if(g){const _=this.options.params;Object.keys(g).forEach(N=>{null==_[N]&&(_[N]=g[N])})}}}const zr="void",gi=new Ao(zr);class ji{constructor(d,g,_){this.id=d,this.hostElement=g,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,On(g,this._hostClassName)}listen(d,g,_,N){if(!this._triggers.has(g))throw function x(R,d){return new h.wOt(3302,!1)}();if(null==_||0==_.length)throw function $(R){return new h.wOt(3303,!1)}();if(!function mi(R){return"start"==R||"done"==R}(_))throw function re(R,d){return new h.wOt(3400,!1)}();const j=tn(this._elementListeners,d,[]),ne={name:g,phase:_,callback:N};j.push(ne);const K=tn(this._engine.statesByElement,d,new Map);return K.has(g)||(On(d,Fn),On(d,Fn+"-"+g),K.set(g,gi)),()=>{this._engine.afterFlush(()=>{const fe=j.indexOf(ne);fe>=0&&j.splice(fe,1),this._triggers.has(g)||K.delete(g)})}}register(d,g){return!this._triggers.has(d)&&(this._triggers.set(d,g),!0)}_getTrigger(d){const g=this._triggers.get(d);if(!g)throw function Me(R){return new h.wOt(3401,!1)}();return g}trigger(d,g,_,N=!0){const j=this._getTrigger(g),ne=new Yo(this.id,g,d);let K=this._engine.statesByElement.get(d);K||(On(d,Fn),On(d,Fn+"-"+g),this._engine.statesByElement.set(d,K=new Map));let fe=K.get(g);const ve=new Ao(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&fe&&ve.absorbOptions(fe.options),K.set(g,ve),fe||(fe=gi),ve.value!==zr&&fe.value===ve.value){if(!function _s(R,d){const g=Object.keys(R),_=Object.keys(d);if(g.length!=_.length)return!1;for(let N=0;N{z(d,hn),O(d,wn)})}return}const Xt=tn(this._engine.playersByElement,d,[]);Xt.forEach(St=>{St.namespaceId==this.id&&St.triggerName==g&&St.queued&&St.destroy()});let Pt=j.matchTransition(fe.value,ve.value,d,ve.params),yt=!1;if(!Pt){if(!N)return;Pt=j.fallbackTransition,yt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:g,transition:Pt,fromState:fe,toState:ve,player:ne,isFallbackTransition:yt}),yt||(On(d,Mr),ne.onStart(()=>{ao(d,Mr)})),ne.onDone(()=>{let St=this.players.indexOf(ne);St>=0&&this.players.splice(St,1);const hn=this._engine.playersByElement.get(d);if(hn){let wn=hn.indexOf(ne);wn>=0&&hn.splice(wn,1)}}),this.players.push(ne),Xt.push(ne),ne}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(g=>g.delete(d)),this._elementListeners.forEach((g,_)=>{this._elementListeners.set(_,g.filter(N=>N.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const g=this._engine.playersByElement.get(d);g&&(g.forEach(_=>_.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,g){const _=this._engine.driver.query(d,Yt,!0);_.forEach(N=>{if(N[Gn])return;const j=this._engine.fetchNamespacesByElement(N);j.size?j.forEach(ne=>ne.triggerLeaveAnimation(N,g,!1,!0)):this.clearElementCache(N)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(N=>this.clearElementCache(N)))}triggerLeaveAnimation(d,g,_,N){const j=this._engine.statesByElement.get(d),ne=new Map;if(j){const K=[];if(j.forEach((fe,ve)=>{if(ne.set(ve,fe.value),this._triggers.has(ve)){const Qe=this.trigger(d,ve,zr,N);Qe&&K.push(Qe)}}),K.length)return this._engine.markElementAsRemoved(this.id,d,!0,g,ne),_&&dt(K).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const g=this._elementListeners.get(d),_=this._engine.statesByElement.get(d);if(g&&_){const N=new Set;g.forEach(j=>{const ne=j.name;if(N.has(ne))return;N.add(ne);const fe=this._triggers.get(ne).fallbackTransition,ve=_.get(ne)||gi,Qe=new Ao(zr),He=new Yo(this.id,ne,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:ne,transition:fe,fromState:ve,toState:Qe,player:He,isFallbackTransition:!0})})}}removeNode(d,g){const _=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,g),this.triggerLeaveAnimation(d,g,!0))return;let N=!1;if(_.totalAnimations){const j=_.players.length?_.playersByQueriedElement.get(d):[];if(j&&j.length)N=!0;else{let ne=d;for(;ne=ne.parentNode;)if(_.statesByElement.get(ne)){N=!0;break}}}if(this.prepareLeaveAnimationListeners(d),N)_.markElementAsRemoved(this.id,d,!1,g);else{const j=d[Gn];(!j||j===Qo)&&(_.afterFlush(()=>this.clearElementCache(d)),_.destroyInnerAnimations(d),_._onRemovalComplete(d,g))}}insertNode(d,g){On(d,this._hostClassName)}drainQueuedTransitions(d){const g=[];return this._queue.forEach(_=>{const N=_.player;if(N.destroyed)return;const j=_.element,ne=this._elementListeners.get(j);ne&&ne.forEach(K=>{if(K.name==_.triggerName){const fe=an(j,_.triggerName,_.fromState.value,_.toState.value);fe._data=d,Ut(_.player,K.phase,fe,K.callback)}}),N.markedForDestroy?this._engine.afterFlush(()=>{N.destroy()}):g.push(_)}),this._queue=[],g.sort((_,N)=>{const j=_.transition.ast.depCount,ne=N.transition.ast.depCount;return 0==j||0==ne?j-ne:this._engine.driver.containsElement(_.element,N.element)?1:-1})}destroy(d){this.players.forEach(g=>g.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class Bi{_onRemovalComplete(d,g){this.onRemovalComplete(d,g)}constructor(d,g,_){this.bodyNode=d,this.driver=g,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(N,j)=>{}}get queuedPlayers(){const d=[];return this._namespaceList.forEach(g=>{g.players.forEach(_=>{_.queued&&d.push(_)})}),d}createNamespace(d,g){const _=new ji(d,g,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,g)?this._balanceNamespaceList(_,g):(this.newHostElements.set(g,_),this.collectEnterElement(g)),this._namespaceLookup[d]=_}_balanceNamespaceList(d,g){const _=this._namespaceList,N=this.namespacesByHostElement;if(_.length-1>=0){let ne=!1,K=this.driver.getParentElement(g);for(;K;){const fe=N.get(K);if(fe){const ve=_.indexOf(fe);_.splice(ve+1,0,d),ne=!0;break}K=this.driver.getParentElement(K)}ne||_.unshift(d)}else _.push(d);return N.set(g,d),d}register(d,g){let _=this._namespaceLookup[d];return _||(_=this.createNamespace(d,g)),_}registerTrigger(d,g,_){let N=this._namespaceLookup[d];N&&N.register(g,_)&&this.totalAnimations++}destroy(d,g){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const _=this._fetchNamespace(d);this.namespacesByHostElement.delete(_.hostElement);const N=this._namespaceList.indexOf(_);N>=0&&this._namespaceList.splice(N,1),_.destroy(g),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const g=new Set,_=this.statesByElement.get(d);if(_)for(let N of _.values())if(N.namespaceId){const j=this._fetchNamespace(N.namespaceId);j&&g.add(j)}return g}trigger(d,g,_,N){if(Oo(g)){const j=this._fetchNamespace(d);if(j)return j.trigger(g,_,N),!0}return!1}insertNode(d,g,_,N){if(!Oo(g))return;const j=g[Gn];if(j&&j.setForRemoval){j.setForRemoval=!1,j.setForMove=!0;const ne=this.collectedLeaveElements.indexOf(g);ne>=0&&this.collectedLeaveElements.splice(ne,1)}if(d){const ne=this._fetchNamespace(d);ne&&ne.insertNode(g,_)}N&&this.collectEnterElement(g)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,g){g?this.disabledNodes.has(d)||(this.disabledNodes.add(d),On(d,io)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),ao(d,io))}removeNode(d,g,_){if(Oo(g)){const N=d?this._fetchNamespace(d):null;N?N.removeNode(g,_):this.markElementAsRemoved(d,g,!1,_);const j=this.namespacesByHostElement.get(g);j&&j.id!==d&&j.removeNode(g,_)}else this._onRemovalComplete(g,_)}markElementAsRemoved(d,g,_,N,j){this.collectedLeaveElements.push(g),g[Gn]={namespaceId:d,setForRemoval:N,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:j}}listen(d,g,_,N,j){return Oo(g)?this._fetchNamespace(d).listen(g,_,N,j):()=>{}}_buildInstruction(d,g,_,N,j){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,_,N,d.fromState.options,d.toState.options,g,j)}destroyInnerAnimations(d){let g=this.driver.query(d,Yt,!0);g.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(g=this.driver.query(d,tr,!0),g.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(d){const g=this.playersByElement.get(d);g&&g.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(d){const g=this.playersByQueriedElement.get(d);g&&g.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return dt(this.players).onDone(()=>d());d()})}processLeaveNode(d){const g=d[Gn];if(g&&g.setForRemoval){if(d[Gn]=Qo,g.namespaceId){this.destroyInnerAnimations(d);const _=this._fetchNamespace(g.namespaceId);_&&_.clearElementCache(d)}this._onRemovalComplete(d,g.setForRemoval)}d.classList?.contains(io)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(d=-1){let g=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,N)=>this._balanceNamespaceList(_,N)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;__()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],g.length?dt(g).onDone(()=>{_.forEach(N=>N())}):_.forEach(N=>N())}}reportError(d){throw function we(R){return new h.wOt(3402,!1)}()}_flushAnimations(d,g){const _=new te,N=[],j=new Map,ne=[],K=new Map,fe=new Map,ve=new Map,Qe=new Set;this.disabledNodes.forEach(ft=>{Qe.add(ft);const Et=this.driver.query(ft,".ng-animate-queued",!0);for(let Dt=0;Dt{const Dt=Sn+St++;yt.set(Et,Dt),ft.forEach(Lt=>On(Lt,Dt))});const hn=[],wn=new Set,Vn=new Set;for(let ft=0;ftwn.add(Lt)):Vn.add(Et))}const rr=new Map,Wn=qn(Xt,Array.from(wn));Wn.forEach((ft,Et)=>{const Dt=at+St++;rr.set(Et,Dt),ft.forEach(Lt=>On(Lt,Dt))}),d.push(()=>{Pt.forEach((ft,Et)=>{const Dt=yt.get(Et);ft.forEach(Lt=>ao(Lt,Dt))}),Wn.forEach((ft,Et)=>{const Dt=rr.get(Et);ft.forEach(Lt=>ao(Lt,Dt))}),hn.forEach(ft=>{this.processLeaveNode(ft)})});const Do=[],_o=[];for(let ft=this._namespaceList.length-1;ft>=0;ft--)this._namespaceList[ft].drainQueuedTransitions(g).forEach(Dt=>{const Lt=Dt.player,Cn=Dt.element;if(Do.push(Lt),this.collectedEnterElements.length){const Un=Cn[Gn];if(Un&&Un.setForMove){if(Un.previousTriggersValues&&Un.previousTriggersValues.has(Dt.triggerName)){const wo=Un.previousTriggersValues.get(Dt.triggerName),gr=this.statesByElement.get(Dt.element);if(gr&&gr.has(Dt.triggerName)){const p=gr.get(Dt.triggerName);p.value=wo,gr.set(Dt.triggerName,p)}}return void Lt.destroy()}}const Nr=!He||!this.driver.containsElement(He,Cn),Ar=rr.get(Cn),Bo=yt.get(Cn),_n=this._buildInstruction(Dt,_,Bo,Ar,Nr);if(_n.errors&&_n.errors.length)return void _o.push(_n);if(Nr)return Lt.onStart(()=>z(Cn,_n.fromStyles)),Lt.onDestroy(()=>O(Cn,_n.toStyles)),void N.push(Lt);if(Dt.isFallbackTransition)return Lt.onStart(()=>z(Cn,_n.fromStyles)),Lt.onDestroy(()=>O(Cn,_n.toStyles)),void N.push(Lt);const ti=[];_n.timelines.forEach(Un=>{Un.stretchStartingKeyframe=!0,this.disabledNodes.has(Un.element)||ti.push(Un)}),_n.timelines=ti,_.append(Cn,_n.timelines),ne.push({instruction:_n,player:Lt,element:Cn}),_n.queriedElements.forEach(Un=>tn(K,Un,[]).push(Lt)),_n.preStyleProps.forEach((Un,wo)=>{if(Un.size){let gr=fe.get(wo);gr||fe.set(wo,gr=new Set),Un.forEach((p,F)=>gr.add(F))}}),_n.postStyleProps.forEach((Un,wo)=>{let gr=ve.get(wo);gr||ve.set(wo,gr=new Set),Un.forEach((p,F)=>gr.add(F))})});if(_o.length){const ft=[];_o.forEach(Et=>{ft.push(function mt(R,d){return new h.wOt(3505,!1)}())}),Do.forEach(Et=>Et.destroy()),this.reportError(ft)}const or=new Map,Er=new Map;ne.forEach(ft=>{const Et=ft.element;_.has(Et)&&(Er.set(Et,Et),this._beforeAnimationBuild(ft.player.namespaceId,ft.instruction,or))}),N.forEach(ft=>{const Et=ft.element;this._getPreviousPlayers(Et,!1,ft.namespaceId,ft.triggerName,null).forEach(Lt=>{tn(or,Et,[]).push(Lt),Lt.destroy()})});const Sr=hn.filter(ft=>Ui(ft,fe,ve)),jo=new Map;is(jo,this.driver,Vn,ve,H.kp).forEach(ft=>{Ui(ft,fe,ve)&&Sr.push(ft)});const Fr=new Map;Pt.forEach((ft,Et)=>{is(Fr,this.driver,new Set(ft),fe,H.FX)}),Sr.forEach(ft=>{const Et=jo.get(ft),Dt=Fr.get(ft);jo.set(ft,new Map([...Et?.entries()??[],...Dt?.entries()??[]]))});const Ki=[],Xi=[],vi={};ne.forEach(ft=>{const{element:Et,player:Dt,instruction:Lt}=ft;if(_.has(Et)){if(Qe.has(Et))return Dt.onDestroy(()=>O(Et,Lt.toStyles)),Dt.disabled=!0,Dt.overrideTotalTime(Lt.totalTime),void N.push(Dt);let Cn=vi;if(Er.size>1){let Ar=Et;const Bo=[];for(;Ar=Ar.parentNode;){const _n=Er.get(Ar);if(_n){Cn=_n;break}Bo.push(Ar)}Bo.forEach(_n=>Er.set(_n,Cn))}const Nr=this._buildAnimation(Dt.namespaceId,Lt,or,j,Fr,jo);if(Dt.setRealPlayer(Nr),Cn===vi)Ki.push(Dt);else{const Ar=this.playersByElement.get(Cn);Ar&&Ar.length&&(Dt.parentPlayer=dt(Ar)),N.push(Dt)}}else z(Et,Lt.fromStyles),Dt.onDestroy(()=>O(Et,Lt.toStyles)),Xi.push(Dt),Qe.has(Et)&&N.push(Dt)}),Xi.forEach(ft=>{const Et=j.get(ft.element);if(Et&&Et.length){const Dt=dt(Et);ft.setRealPlayer(Dt)}}),N.forEach(ft=>{ft.parentPlayer?ft.syncPlayerEvents(ft.parentPlayer):ft.destroy()});for(let ft=0;ft!Nr.destroyed);Cn.length?vo(this,Et,Cn):this.processLeaveNode(Et)}return hn.length=0,Ki.forEach(ft=>{this.players.push(ft),ft.onDone(()=>{ft.destroy();const Et=this.players.indexOf(ft);this.players.splice(Et,1)}),ft.play()}),Ki}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,g,_,N,j){let ne=[];if(g){const K=this.playersByQueriedElement.get(d);K&&(ne=K)}else{const K=this.playersByElement.get(d);if(K){const fe=!j||j==zr;K.forEach(ve=>{ve.queued||!fe&&ve.triggerName!=N||ne.push(ve)})}}return(_||N)&&(ne=ne.filter(K=>!(_&&_!=K.namespaceId||N&&N!=K.triggerName))),ne}_beforeAnimationBuild(d,g,_){const j=g.element,ne=g.isRemovalTransition?void 0:d,K=g.isRemovalTransition?void 0:g.triggerName;for(const fe of g.timelines){const ve=fe.element,Qe=ve!==j,He=tn(_,ve,[]);this._getPreviousPlayers(ve,Qe,ne,K,g.toState).forEach(Pt=>{const yt=Pt.getRealPlayer();yt.beforeDestroy&&yt.beforeDestroy(),Pt.destroy(),He.push(Pt)})}z(j,g.fromStyles)}_buildAnimation(d,g,_,N,j,ne){const K=g.triggerName,fe=g.element,ve=[],Qe=new Set,He=new Set,Xt=g.timelines.map(yt=>{const St=yt.element;Qe.add(St);const hn=St[Gn];if(hn&&hn.removedBeforeQueried)return new H.sf(yt.duration,yt.delay);const wn=St!==fe,Vn=function Vi(R){const d=[];return Zo(R,d),d}((_.get(St)||Bn).map(or=>or.getRealPlayer())).filter(or=>!!or.element&&or.element===St),rr=j.get(St),Wn=ne.get(St),Do=Vt(this._normalizer,yt.keyframes,rr,Wn),_o=this._buildPlayer(yt,Do,Vn);if(yt.subTimeline&&N&&He.add(St),wn){const or=new Yo(d,K,St);or.setRealPlayer(_o),ve.push(or)}return _o});ve.forEach(yt=>{tn(this.playersByQueriedElement,yt.element,[]).push(yt),yt.onDone(()=>function Ro(R,d,g){let _=R.get(d);if(_){if(_.length){const N=_.indexOf(g);_.splice(N,1)}0==_.length&&R.delete(d)}return _}(this.playersByQueriedElement,yt.element,yt))}),Qe.forEach(yt=>On(yt,Qn));const Pt=dt(Xt);return Pt.onDestroy(()=>{Qe.forEach(yt=>ao(yt,Qn)),O(fe,g.toStyles)}),He.forEach(yt=>{tn(N,yt,[]).push(Pt)}),Pt}_buildPlayer(d,g,_){return g.length>0?this.driver.animate(d.element,g,d.duration,d.delay,d.easing,_):new H.sf(d.duration,d.delay)}}class Yo{constructor(d,g,_){this.namespaceId=d,this.triggerName=g,this.element=_,this._player=new H.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((g,_)=>{g.forEach(N=>Ut(d,_,void 0,N))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const g=this._player;g.triggerCallback&&d.onStart(()=>g.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,g){tn(this._queuedCallbacks,d,[]).push(g)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const g=this._player;g.triggerCallback&&g.triggerCallback(d)}}function Oo(R){return R&&1===R.nodeType}function yo(R,d){const g=R.style.display;return R.style.display=d??"none",g}function is(R,d,g,_,N){const j=[];g.forEach(fe=>j.push(yo(fe)));const ne=[];_.forEach((fe,ve)=>{const Qe=new Map;fe.forEach(He=>{const Xt=d.computeStyle(ve,He,N);Qe.set(He,Xt),(!Xt||0==Xt.length)&&(ve[Gn]=ht,ne.push(ve))}),R.set(ve,Qe)});let K=0;return g.forEach(fe=>yo(fe,j[K++])),ne}function qn(R,d){const g=new Map;if(R.forEach(K=>g.set(K,[])),0==d.length)return g;const N=new Set(d),j=new Map;function ne(K){if(!K)return 1;let fe=j.get(K);if(fe)return fe;const ve=K.parentNode;return fe=g.has(ve)?ve:N.has(ve)?1:ne(ve),j.set(K,fe),fe}return d.forEach(K=>{const fe=ne(K);1!==fe&&g.get(fe).push(K)}),g}function On(R,d){R.classList?.add(d)}function ao(R,d){R.classList?.remove(d)}function vo(R,d,g){dt(g).onDone(()=>R.processLeaveNode(d))}function Zo(R,d){for(let g=0;gN.add(j)):d.set(R,_),g.delete(R),!0}class ko{constructor(d,g,_){this._driver=g,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(N,j)=>{},this._transitionEngine=new Bi(d.body,g,_),this._timelineEngine=new Li(d.body,g,_),this._transitionEngine.onRemovalComplete=(N,j)=>this.onRemovalComplete(N,j)}registerTrigger(d,g,_,N,j){const ne=d+"-"+N;let K=this._triggerCache[ne];if(!K){const fe=[],Qe=$r(this._driver,j,fe,[]);if(fe.length)throw function ot(R,d){return new h.wOt(3404,!1)}();K=function Ka(R,d,g){return new pi(R,d,g)}(N,Qe,this._normalizer),this._triggerCache[ne]=K}this._transitionEngine.registerTrigger(g,N,K)}register(d,g){this._transitionEngine.register(d,g)}destroy(d,g){this._transitionEngine.destroy(d,g)}onInsert(d,g,_,N){this._transitionEngine.insertNode(d,g,_,N)}onRemove(d,g,_){this._transitionEngine.removeNode(d,g,_)}disableAnimations(d,g){this._transitionEngine.markElementAsDisabled(d,g)}process(d,g,_,N){if("@"==_.charAt(0)){const[j,ne]=En(_);this._timelineEngine.command(j,g,ne,N)}else this._transitionEngine.trigger(d,g,_,N)}listen(d,g,_,N,j){if("@"==_.charAt(0)){const[ne,K]=En(_);return this._timelineEngine.listen(ne,g,K,j)}return this._transitionEngine.listen(d,g,_,N,j)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}class yi{static#e=this.initialStylesByElement=new WeakMap;constructor(d,g,_){this._element=d,this._startStyles=g,this._endStyles=_,this._state=0;let N=yi.initialStylesByElement.get(d);N||yi.initialStylesByElement.set(d,N=new Map),this._initialStyles=N}start(){this._state<1&&(this._startStyles&&O(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(O(this._element,this._initialStyles),this._endStyles&&(O(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(yi.initialStylesByElement.delete(this._element),this._startStyles&&(z(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),O(this._element,this._initialStyles),this._state=3)}}function xo(R){let d=null;return R.forEach((g,_)=>{(function Ys(R){return"display"===R||"position"===R})(_)&&(d=d||new Map,d.set(_,g))}),d}class ws{constructor(d,g,_,N){this.element=d,this.keyframes=g,this.options=_,this._specialStyles=N,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const g=()=>this._onFinish();this.domPlayer.addEventListener("finish",g),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",g)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const g=[];return d.forEach(_=>{g.push(Object.fromEntries(_))}),g}_triggerWebAnimation(d,g,_){return d.animate(this._convertKeyframesToObject(g),_)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,N)=>{"offset"!==N&&d.set(N,this._finished?_:mr(this.element,N))}),this.currentSnapshot=d}triggerCallback(d){const g="start"===d?this._onStartFns:this._onDoneFns;g.forEach(_=>_()),g.length=0}}class Gr{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}containsElement(d,g){return bn(d,g)}getParentElement(d){return Ve(d)}query(d,g,_){return Ft(d,g,_)}computeStyle(d,g,_){return mr(d,g)}animate(d,g,_,N,j,ne=[]){const fe={duration:_,delay:N,fill:0==N?"both":"forwards"};j&&(fe.easing=j);const ve=new Map,Qe=ne.filter(Pt=>Pt instanceof ws);(function ar(R,d){return 0===R||0===d})(_,N)&&Qe.forEach(Pt=>{Pt.currentSnapshot.forEach((yt,St)=>ve.set(St,yt))});let He=function w(R){return R.length?R[0]instanceof Map?R:R.map(d=>new Map(Object.entries(d))):[]}(g).map(Pt=>new Map(Pt));He=function Kt(R,d,g){if(g.size&&d.length){let _=d[0],N=[];if(g.forEach((j,ne)=>{_.has(ne)||N.push(ne),_.set(ne,j)}),N.length)for(let j=1;jne.set(K,mr(R,K)))}}return d}(d,He,ve);const Xt=function vr(R,d){let g=null,_=null;return Array.isArray(d)&&d.length?(g=xo(d[0]),d.length>1&&(_=xo(d[d.length-1]))):d instanceof Map&&(g=xo(d)),g||_?new yi(R,g,_):null}(d,He);return new ws(d,He,fe,Xt)}}const $i="@.disabled";class Eo{constructor(d,g,_,N){this.namespaceId=d,this.delegate=g,this.engine=_,this._onDestroy=N,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,g){return this.delegate.createElement(d,g)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,g){this.delegate.appendChild(d,g),this.engine.onInsert(this.namespaceId,g,d,!1)}insertBefore(d,g,_,N=!0){this.delegate.insertBefore(d,g,_),this.engine.onInsert(this.namespaceId,g,d,N)}removeChild(d,g,_){this.engine.onRemove(this.namespaceId,g,this.delegate)}selectRootElement(d,g){return this.delegate.selectRootElement(d,g)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,g,_,N){this.delegate.setAttribute(d,g,_,N)}removeAttribute(d,g,_){this.delegate.removeAttribute(d,g,_)}addClass(d,g){this.delegate.addClass(d,g)}removeClass(d,g){this.delegate.removeClass(d,g)}setStyle(d,g,_,N){this.delegate.setStyle(d,g,_,N)}removeStyle(d,g,_){this.delegate.removeStyle(d,g,_)}setProperty(d,g,_){"@"==g.charAt(0)&&g==$i?this.disableAnimations(d,!!_):this.delegate.setProperty(d,g,_)}setValue(d,g){this.delegate.setValue(d,g)}listen(d,g,_){return this.delegate.listen(d,g,_)}disableAnimations(d,g){this.engine.disableAnimations(d,g)}}class Hi extends Eo{constructor(d,g,_,N,j){super(g,_,N,j),this.factory=d,this.namespaceId=g}setProperty(d,g,_){"@"==g.charAt(0)?"."==g.charAt(1)&&g==$i?this.disableAnimations(d,_=void 0===_||!!_):this.engine.process(this.namespaceId,d,g.slice(1),_):this.delegate.setProperty(d,g,_)}listen(d,g,_){if("@"==g.charAt(0)){const N=function bo(R){switch(R){case"body":return document.body;case"document":return document;case"window":return window;default:return R}}(d);let j=g.slice(1),ne="";return"@"!=j.charAt(0)&&([j,ne]=function qo(R){const d=R.indexOf(".");return[R.substring(0,d),R.slice(d+1)]}(j)),this.engine.listen(this.namespaceId,N,j,ne,K=>{this.factory.scheduleListenerCallback(K._data||-1,_,K)})}return this.delegate.listen(d,g,_)}}class Cs{constructor(d,g,_){this.delegate=d,this.engine=g,this._zone=_,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,g.onRemovalComplete=(N,j)=>{const ne=j?.parentNode(N);ne&&j.removeChild(ne,N)}}createRenderer(d,g){const N=this.delegate.createRenderer(d,g);if(!d||!g?.data?.animation){const ve=this._rendererCache;let Qe=ve.get(N);return Qe||(Qe=new Eo("",N,this.engine,()=>ve.delete(N)),ve.set(N,Qe)),Qe}const j=g.id,ne=g.id+"-"+this._currentId;this._currentId++,this.engine.register(ne,d);const K=ve=>{Array.isArray(ve)?ve.forEach(K):this.engine.registerTrigger(j,ne,d,ve.name,ve)};return g.data.animation.forEach(K),new Hi(this,ne,N,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,g,_){if(d>=0&&dg(_));const N=this._animationCallbacksBuffer;0==N.length&&queueMicrotask(()=>{this._zone.run(()=>{N.forEach(j=>{const[ne,K]=j;ne(K)}),this._animationCallbacksBuffer=[]})}),N.push([g,_])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var Po=D(60177);const Jo=[{provide:Mn,useFactory:function as(){return new Zn}},{provide:ko,useClass:(()=>{class R extends ko{constructor(g,_,N){super(g,_,N)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(_){return new(_||R)(h.KVO(Po.qQ),h.KVO(er),h.KVO(Mn))};static#t=this.\u0275prov=h.jDH({token:R,factory:R.\u0275fac})}return R})()},{provide:h._9s,useFactory:function Wr(R,d,g){return new Cs(R,d,g)},deps:[y.B7,ko,h.SKi]}],zi=[{provide:er,useFactory:()=>new Gr},{provide:h.bc$,useValue:"BrowserAnimations"},...Jo],ls=[{provide:er,useClass:sr},{provide:h.bc$,useValue:"NoopAnimations"},...Jo];let Lo=(()=>{class R{static withConfig(g){return{ngModule:R,providers:g.disableAnimations?ls:zi}}static#e=this.\u0275fac=function(_){return new(_||R)};static#t=this.\u0275mod=h.$C({type:R});static#n=this.\u0275inj=h.G2t({providers:zi,imports:[y.Bb]})}return R})();const fn={AccordionPanelComponent:{fileName:"src/accordion/accordion-group.component.ts",className:"AccordionPanelComponent",description:'

Accordion heading

\n

Instead of using heading attribute on the accordion-group, you can use\nan accordion-heading attribute on any element inside of a group that\nwill be used as group's header template.

\n',methods:[],properties:[{name:"heading",type:"string",description:"

Clickable text in accordion's group header, check accordion heading below for using html in header

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"},{name:"isDisabled",defaultValue:"false",type:"boolean",description:"

if true \u2014 disables accordion group

\n"},{name:"isOpen",type:"boolean",description:"

Is accordion group open or closed. This property supports two-way binding

\n"},{name:"isOpenChange",type:"EventEmitter",description:"

Emits when the opened state changes

\n"},{name:"panelClass",defaultValue:"panel-default",type:"string",description:'

Provides an ability to use Bootstrap's contextual panel classes\n(panel-primary, panel-success, panel-info, etc...).\nList of all available classes [available here]\n(https://getbootstrap.com/docs/3.3/components/#panels-alternatives)

\n'}]},AccordionComponent:{fileName:"src/accordion/accordion.component.ts",className:"AccordionComponent",description:"

Displays collapsible content panels for presenting information in a limited amount of space.

\n",methods:[],properties:[{name:"closeOthers",defaultValue:"false",type:"boolean",description:"

if true expanding one item will close all others

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"}]},AccordionConfig:{fileName:"src/accordion/accordion.config.ts",className:"AccordionConfig",description:"

Configuration service, provides default values for the AccordionComponent.

\n",methods:[],properties:[{name:"closeOthers",defaultValue:"false",type:"boolean",description:"

Whether the other panels should be closed when a panel is opened

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"}]},ButtonCheckboxDirective:{fileName:"src/buttons/button-checkbox.directive.ts",className:"ButtonCheckboxDirective",description:"

Add checkbox functionality to any element

\n",methods:[],properties:[{name:"btnCheckboxFalse",defaultValue:"false",type:"AvailableValues",description:"

Falsy value, will be set to ngModel

\n"},{name:"btnCheckboxTrue",defaultValue:"true",type:"AvailableValues",description:"

Truthy value, will be set to ngModel

\n"}]},ButtonRadioGroupDirective:{fileName:"src/buttons/button-radio-group.directive.ts",className:"ButtonRadioGroupDirective",description:"

A group of radio buttons.\nA value of a selected button is bound to a variable specified via ngModel.

\n",methods:[],properties:[]},ButtonRadioDirective:{fileName:"src/buttons/button-radio.directive.ts",className:"ButtonRadioDirective",description:"

Create radio buttons or groups of buttons.\nA value of a selected button is bound to a variable specified via ngModel.

\n",methods:[],properties:[{name:"btnRadio",type:"unknown",description:"

Radio button value, will be set to ngModel

\n"},{name:"disabled",type:"boolean",description:"

If true \u2014 radio button is disabled

\n"},{name:"uncheckable",defaultValue:"false",type:"boolean",description:"

If true \u2014 radio button can be unchecked

\n"},{name:"value",type:"unknown",description:"

Current value of radio component or group

\n"}]},CarouselComponent:{fileName:"src/carousel/carousel.component.ts",className:"CarouselComponent",description:"

Base element to create carousel

\n",methods:[{name:"addSlide",description:"

Adds new slide. If this slide is first in collection - set it as active\nand starts auto changing

\n",args:[{name:"slide",type:"SlideComponent"}],returnType:"void"},{name:"removeSlide",description:"

Removes specified slide. If this slide is active - will roll to another\nslide

\n",args:[{name:"slide",type:"SlideComponent"}],returnType:"void"},{name:"nextSlide",description:"

Rolling to next slide

\n",args:[{name:"force",type:"boolean"}],returnType:"void"},{name:"previousSlide",description:"

Rolling to previous slide

\n",args:[{name:"force",type:"boolean"}],returnType:"void"},{name:"keydownPress",description:"

Swith slides by enter, space and arrows keys

\n",args:[{name:"event",type:"KeyboardEvent"}],returnType:"void"},{name:"onMouseLeave",description:"

Play on mouse leave

\n",args:[],returnType:"void"},{name:"onMouseUp",description:"

Play on mouse up

\n",args:[],returnType:"void"},{name:"pauseFocusIn",description:"

When slides on focus autoplay is stopped(optional)

\n",args:[],returnType:"void"},{name:"pauseFocusOut",description:"

When slides out of focus autoplay is started

\n",args:[],returnType:"void"},{name:"selectSlide",description:"

Rolling to specified slide

\n",args:[{name:"index",type:"number"}],returnType:"void"},{name:"play",description:"

Starts a auto changing of slides

\n",args:[],returnType:"void"},{name:"pause",description:"

Stops a auto changing of slides

\n",args:[],returnType:"void"},{name:"getCurrentSlideIndex",description:"

Finds and returns index of currently displayed slide

\n",args:[],returnType:"number"},{name:"isLast",description:"

Defines, whether the specified index is last in collection

\n",args:[{name:"index",type:"number"}],returnType:"boolean"},{name:"isFirst",description:"

Defines, whether the specified index is first in collection

\n",args:[{name:"index",type:"number"}],returnType:"boolean"},{name:"findNextSlideIndex",description:"

Defines next slide index, depending of direction

\n",args:[{name:"direction",type:"Direction"},{name:"force",type:"boolean"}],returnType:"number | void"},{name:"_select",description:"

Sets a slide, which specified through index, as active

\n",args:[{name:"index",type:"number"}],returnType:"void"},{name:"restartTimer",description:"

Starts loop of auto changing of slides

\n",args:[],returnType:"void"},{name:"resetTimer",description:"

Stops loop of auto changing of slides

\n",args:[],returnType:"void"}],properties:[{name:"activeSlide",type:"number",description:"

Index of currently displayed slide(started for 0)

\n"},{name:"activeSlideChange",type:"EventEmitter",description:"

Will be emitted when active slide has been changed. Part of two-way-bindable [(activeSlide)] property

\n"},{name:"interval",type:"number",description:"

Delay of item cycling in milliseconds. If false, carousel won't cycle\nautomatically.

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

Turn on/off animation. Animation doesn't work for multilist carousel

\n"},{name:"slideRangeChange",type:"EventEmitter",description:"

Will be emitted when active slides has been changed in multilist mode

\n"}]},SlideWithIndex:{fileName:"src/carousel/models/index.ts",className:"SlideWithIndex",description:"",methods:[],properties:[]},IndexedSlideList:{fileName:"src/carousel/models/index.ts",className:"IndexedSlideList",description:"",methods:[],properties:[]},DateParsingConfig:{fileName:"src/chronos/create/parsing.types.ts",className:"DateParsingConfig",description:"",methods:[],properties:[{name:"_a",type:"DateArray",description:"

DateArray [year, month, date, .....]

\n"},{name:"_changeInProgress",type:"boolean",description:"

used in set offset

\n"},{name:"_d",type:"Date",description:"

date value

\n"},{name:"_f",type:"string | string[]",description:"

date format

\n"},{name:"_i",type:"DateInput",description:"

input to parse: could be string, number[], number, Date, object

\n"},{name:"_isPm",type:"boolean",description:"

is PM

\n"},{name:"_isValid",type:"boolean",description:"

is valid

\n"},{name:"_l",type:"string",description:"

locale key, 'en' by default

\n"},{name:"_locale",type:"Locale",description:"

date locale obj

\n"},{name:"_meridiem",type:"string",description:"

date meridiem

\n"},{name:"_nextDay",type:"boolean",description:"

add one day to result at the end of parsing

\n"},{name:"_offset",type:"number",description:"

utc time offset

\n"},{name:"_pf",type:"DateParsingFlags",description:"

date parsing flags

\n"},{name:"_strict",type:"boolean",description:"

use strict parse format

\n"},{name:"_tzm",type:"number",description:"

time zone

\n"},{name:"_w",type:"WeekParsing",description:"

week

\n"}]},DateParsingFlags:{fileName:"src/chronos/create/parsing.types.ts",className:"DateParsingFlags",description:"",methods:[],properties:[]},LocaleOptionsFormat:{fileName:"src/chronos/locale/locale.class.ts",className:"LocaleOptionsFormat",description:"",methods:[],properties:[]},LocaleData:{fileName:"src/chronos/locale/locale.class.ts",className:"LocaleData",description:"",methods:[],properties:[]},CalendarSpec:{fileName:"src/chronos/moment/calendar.ts",className:"CalendarSpec",description:"",methods:[],properties:[]},MomentFn:{fileName:"src/chronos/testing/chain.ts",className:"MomentFn",description:"",methods:[],properties:[]},MomentInputObject:{fileName:"src/chronos/testing/chain.ts",className:"MomentInputObject",description:"",methods:[],properties:[]},TimeUnit:{fileName:"src/chronos/types.ts",className:"TimeUnit",description:"",methods:[],properties:[]},DateFormatterOptions:{fileName:"src/chronos/types.ts",className:"DateFormatterOptions",description:"",methods:[],properties:[]},DateObject:{fileName:"src/chronos/types.ts",className:"DateObject",description:"",methods:[],properties:[]},WeekParsing:{fileName:"src/chronos/types.ts",className:"WeekParsing",description:"",methods:[],properties:[]},ListenOptions:{fileName:"src/utils/triggers.ts",className:"ListenOptions",description:"",methods:[],properties:[]},BsDatepickerConfig:{fileName:"src/datepicker/bs-datepicker.config.ts",className:"BsDatepickerConfig",description:"

For date range picker there are BsDaterangepickerConfig which inherits all properties,\nexcept displayMonths, for range picker it default to 2

\n",methods:[],properties:[{name:"adaptivePosition",defaultValue:"false",type:"boolean",description:"

sets use adaptive position

\n"},{name:"allowedPositions",type:"string[]",description:"

Set allowed positions of container.

\n"},{name:"clearButtonLabel",defaultValue:"Clear",type:"string",description:"

Label for 'clear' button

\n"},{name:"clearPosition",defaultValue:"right",type:"string",description:"

Positioning of 'clear' button

\n"},{name:"containerClass",defaultValue:"theme-green",type:"string",description:"

CSS class which will be applied to datepicker container,\nusually used to set color theme

\n"},{name:"customRangeButtonLabel",defaultValue:"Custom Range",type:"string",description:"

Label for 'custom range' button

\n"},{name:"customTodayClass",type:"string",description:"

Add class to current day

\n"},{name:"dateCustomClasses",type:"DatepickerDateCustomClasses[]",description:"

Default date custom classes for all date/range pickers

\n"},{name:"datesDisabled",type:"Date[]",description:"

Disable specific dates

\n"},{name:"datesEnabled",type:"Date[]",description:"

Enable specific dates

\n"},{name:"dateTooltipTexts",type:"DatepickerDateTooltipText[]",description:"

Default tooltip text for all date/range pickers

\n"},{name:"daysDisabled",type:"number[]",description:"

Disable specific days, e.g. [0,6] will disable all Saturdays and Sundays

\n"},{name:"displayOneMonthRange",type:"boolean",description:"

Show one months for special cases (only for dateRangePicker)

\n
    \n
  1. maxDate is equal to today's date
  2. \n
  3. minDate's month is equal to maxDate's month
  4. \n
\n"},{name:"initCurrentTime",type:"boolean",description:"

Set current hours, minutes, seconds and milliseconds for bsValue

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"},{name:"keepDatepickerOpened",defaultValue:"false",type:"boolean",description:"

Set rule for datepicker closing. If value is true datepicker closes only if date is changed, if user changes only time datepicker doesn't close. It is available only if property withTimepicker is set true

\n"},{name:"keepDatesOutOfRules",defaultValue:"false",type:"boolean",description:"

Allows keep invalid dates in range. Can be used with minDate, maxDate

\n"},{name:"maxDate",type:"Date",description:"

Default max date for all date/range pickers

\n"},{name:"maxDateRange",type:"number",description:"

Max Date Range in days

\n"},{name:"minDate",type:"Date",description:"

Default min date for all date/range pickers

\n"},{name:"minMode",type:"BsDatepickerViewMode",description:"

Default mode for all date pickers

\n"},{name:"preventChangeToNextMonth",type:"boolean",description:"

Prevents change to next month for right calendar in two calendars view (dateRangePicker only)

\n"},{name:"rangeInputFormat",defaultValue:"L",type:"string",description:"

Date format for date range input field

\n"},{name:"ranges",type:"BsCustomDates[]",description:"

Predefined ranges

\n"},{name:"returnFocusToInput",defaultValue:"false",type:"boolean",description:"

If true, returns focus to the datepicker / daterangepicker input after date selection

\n"},{name:"selectFromOtherMonth",type:"boolean",description:"

Makes dates from other months active

\n"},{name:"selectWeek",type:"boolean",description:"

Allows select first date of the week by click on week number

\n"},{name:"selectWeekDateRange",type:"boolean",description:"

Allows select daterange as first and last day of week by click on week number (dateRangePicker only)

\n"},{name:"showClearButton",defaultValue:"false",type:"boolean",description:"

Shows clear button

\n"},{name:"showPreviousMonth",type:"boolean",description:"

Shows previous and current month, instead of current and next (dateRangePicker only)

\n"},{name:"showTodayButton",defaultValue:"false",type:"boolean",description:"

Shows 'today' button

\n"},{name:"showWeekNumbers",defaultValue:"true",type:"boolean",description:"

Allows to hide week numbers in datepicker

\n"},{name:"startView",defaultValue:"day",type:"BsDatepickerViewMode",description:"

The view that the datepicker should start in

\n"},{name:"todayButtonLabel",defaultValue:"Today",type:"string",description:"

Label for 'today' button

\n"},{name:"todayPosition",defaultValue:"center",type:"string",description:"

Positioning of 'today' button

\n"},{name:"useUtc",defaultValue:"false",type:"boolean",description:"

sets use UTC date time format

\n"},{name:"withTimepicker",defaultValue:"false",type:"boolean",description:"

Shows timepicker under datepicker

\n"}]},FlagDaysCalendarOptions:{fileName:"src/datepicker/engine/flag-days-calendar.ts",className:"FlagDaysCalendarOptions",description:"",methods:[],properties:[]},FlagMonthCalendarOptions:{fileName:"src/datepicker/engine/flag-months-calendar.ts",className:"FlagMonthCalendarOptions",description:"",methods:[],properties:[]},FlagYearsCalendarOptions:{fileName:"src/datepicker/engine/flag-years-calendar.ts",className:"FlagYearsCalendarOptions",description:"",methods:[],properties:[]},NavigationViewModel:{fileName:"src/datepicker/models/index.ts",className:"NavigationViewModel",description:"
\n",methods:[],properties:[]},CalendarCellViewModel:{fileName:"src/datepicker/models/index.ts",className:"CalendarCellViewModel",description:"",methods:[],properties:[]},DayViewModel:{fileName:"src/datepicker/models/index.ts",className:"DayViewModel",description:"
\n",methods:[],properties:[]},WeekViewModel:{fileName:"src/datepicker/models/index.ts",className:"WeekViewModel",description:"",methods:[],properties:[]},DaysCalendarViewModel:{fileName:"src/datepicker/models/index.ts",className:"DaysCalendarViewModel",description:"",methods:[],properties:[]},MonthsCalendarViewModel:{fileName:"src/datepicker/models/index.ts",className:"MonthsCalendarViewModel",description:"
\n",methods:[],properties:[]},YearsCalendarViewModel:{fileName:"src/datepicker/models/index.ts",className:"YearsCalendarViewModel",description:"
\n",methods:[],properties:[]},DaysCalendarModel:{fileName:"src/datepicker/models/index.ts",className:"DaysCalendarModel",description:"
\n",methods:[],properties:[]},MonthViewOptions:{fileName:"src/datepicker/models/index.ts",className:"MonthViewOptions",description:"
\n",methods:[],properties:[]},DatepickerFormatOptions:{fileName:"src/datepicker/models/index.ts",className:"DatepickerFormatOptions",description:"
\n",methods:[],properties:[]},DatepickerRenderOptions:{fileName:"src/datepicker/models/index.ts",className:"DatepickerRenderOptions",description:"",methods:[],properties:[]},DatepickerDateCustomClasses:{fileName:"src/datepicker/models/index.ts",className:"DatepickerDateCustomClasses",description:"",methods:[],properties:[]},DatepickerDateTooltipText:{fileName:"src/datepicker/models/index.ts",className:"DatepickerDateTooltipText",description:"",methods:[],properties:[]},BsNavigationEvent:{fileName:"src/datepicker/models/index.ts",className:"BsNavigationEvent",description:"",methods:[],properties:[]},BsViewNavigationEvent:{fileName:"src/datepicker/models/index.ts",className:"BsViewNavigationEvent",description:"",methods:[],properties:[]},CellHoverEvent:{fileName:"src/datepicker/models/index.ts",className:"CellHoverEvent",description:"",methods:[],properties:[]},BsDatepickerViewState:{fileName:"src/datepicker/reducer/bs-datepicker.state.ts",className:"BsDatepickerViewState",description:"",methods:[],properties:[]},BsCustomDates:{fileName:"src/datepicker/themes/bs/bs-custom-dates-view.component.ts",className:"BsCustomDates",description:"",methods:[],properties:[]},MatrixOptions:{fileName:"src/datepicker/utils/matrix-utils.ts",className:"MatrixOptions",description:"",methods:[],properties:[]},BsDropdownConfig:{fileName:"src/dropdown/bs-dropdown.config.ts",className:"BsDropdownConfig",description:"

Default dropdown configuration

\n",methods:[],properties:[{name:"autoClose",defaultValue:"true",type:"boolean",description:"

default dropdown auto closing behavior

\n"},{name:"insideClick",defaultValue:"false",type:"boolean",description:"

default dropdown auto closing behavior

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"},{name:"stopOnClickPropagation",defaultValue:"false",type:"boolean",description:"

value true of stopOnClickPropagation allows event stopPropagation

\n"}]},ConfigurableFocusTrapConfig:{fileName:"src/focus-trap/configurable-focus-trap-config.ts",className:"ConfigurableFocusTrapConfig",description:"

Configuration for creating a ConfigurableFocusTrap.

\n",methods:[],properties:[{name:"defer",defaultValue:"false",type:"boolean",description:"

Whether to defer the creation of FocusTrap elements to be\ndone manually by the user. Default is to create them\nautomatically.

\n"}]},ConfigurableFocusTrapFactory:{fileName:"src/focus-trap/configurable-focus-trap-factory.ts",className:"ConfigurableFocusTrapFactory",description:"

Factory that allows easy instantiation of configurable focus traps.

\n",methods:[{name:"create",description:"

Creates a focus-trapped region around the given element.

\n",args:[{name:"element",type:"HTMLElement"},{name:"config",type:"ConfigurableFocusTrapConfig"}],returnType:"ConfigurableFocusTrap"},{name:"create",description:"

Creates a focus-trapped region around the given element.

\n",args:[{name:"element",type:"HTMLElement"},{name:"deferCaptureElements",type:"boolean"}],returnType:"ConfigurableFocusTrap"},{name:"create",description:"

Creates a focus-trapped region around the given element.

\n",args:[{name:"element",type:"HTMLElement"},{name:"config",type:"boolean | ConfigurableFocusTrapConfig"}],returnType:"ConfigurableFocusTrap"}],properties:[]},ConfigurableFocusTrap:{fileName:"src/focus-trap/configurable-focus-trap.ts",className:"ConfigurableFocusTrap",description:"

Class that allows for trapping focus within a DOM element.

\n

This class uses a strategy pattern that determines how it traps focus.\nSee FocusTrapInertStrategy.

\n",methods:[{name:"destroy",description:"

Notifies the FocusTrapManager that this FocusTrap will be destroyed.

\n",args:[],returnType:"void"}],properties:[{name:"enabled",type:"boolean",description:"

Whether the FocusTrap is enabled.

\n"}]},EventListenerFocusTrapInertStrategy:{fileName:"src/focus-trap/event-listener-inert-strategy.ts",className:"EventListenerFocusTrapInertStrategy",description:"

Lightweight FocusTrapInertStrategy that adds a document focus event\nlistener to redirect focus back inside the FocusTrap.

\n",methods:[{name:"preventFocus",description:"

Adds a document event listener that keeps focus inside the FocusTrap.

\n",args:[{name:"focusTrap",type:"ConfigurableFocusTrap"}],returnType:"void"},{name:"allowFocus",description:"

Removes the event listener added in preventFocus.

\n",args:[{name:"focusTrap",type:"ConfigurableFocusTrap"}],returnType:"void"},{name:"_trapFocus",description:"

Refocuses the first element in the FocusTrap if the focus event target was outside\nthe FocusTrap.

\n

This is an event listener callback. The event listener is added in runOutsideAngular,\nso all this code runs outside Angular as well.

\n",args:[{name:"focusTrap",type:"ConfigurableFocusTrap"},{name:"event",type:"FocusEvent"}],returnType:"void"}],properties:[{name:"_listener",type:"(e: FocusEvent) => void",description:"

Focus event handler.

\n"}]},FocusTrapInertStrategy:{fileName:"src/focus-trap/focus-trap-inert-strategy.ts",className:"FocusTrapInertStrategy",description:"

A strategy that dictates how FocusTrap should prevent elements\noutside of the FocusTrap from being focused.

\n",methods:[{name:"preventFocus",description:"

Makes all elements outside focusTrap unfocusable.

\n",args:[{name:"focusTrap",type:"FocusTrap"}],returnType:"void"},{name:"allowFocus",description:"

Reverts elements made unfocusable by preventFocus to their previous state.

\n",args:[{name:"focusTrap",type:"FocusTrap"}],returnType:"void"}],properties:[]},ManagedFocusTrap:{fileName:"src/focus-trap/focus-trap-manager.ts",className:"ManagedFocusTrap",description:"

A FocusTrap managed by FocusTrapManager.\nImplemented by ConfigurableFocusTrap to avoid circular dependency.

\n",methods:[],properties:[]},FocusTrapManager:{fileName:"src/focus-trap/focus-trap-manager.ts",className:"FocusTrapManager",description:"

Injectable that ensures only the most recently enabled FocusTrap is active.

\n",methods:[{name:"register",description:"

Disables the FocusTrap at the top of the stack, and then pushes\nthe new FocusTrap onto the stack.

\n",args:[{name:"focusTrap",type:"ManagedFocusTrap"}],returnType:"void"},{name:"deregister",description:"

Removes the FocusTrap from the stack, and activates the\nFocusTrap that is the new top of the stack.

\n",args:[{name:"focusTrap",type:"ManagedFocusTrap"}],returnType:"void"}],properties:[]},FocusTrap:{fileName:"src/focus-trap/focus-trap.ts",className:"FocusTrap",description:"

Class that allows for trapping focus within a DOM element.

\n

This class currently uses a relatively simple approach to focus trapping.\nIt assumes that the tab order is the same as DOM order, which is not necessarily true.\nThings like tabIndex > 0, flex order, and shadow roots can cause the two to misalign.

\n",methods:[{name:"destroy",description:"

Destroys the focus trap by cleaning up the anchors.

\n",args:[],returnType:"void"},{name:"attachAnchors",description:"

Inserts the anchors into the DOM. This is usually done automatically\nin the constructor, but can be deferred for cases like directives with *ngIf.

\n",args:[],returnType:"boolean"},{name:"focusInitialElementWhenReady",description:"

Waits for the zone to stabilize, then either focuses the first element that the\nuser specified, or the first tabbable element.

\n",args:[],returnType:"Promise"},{name:"focusFirstTabbableElementWhenReady",description:"

Waits for the zone to stabilize, then focuses\nthe first tabbable element within the focus trap region.

\n",args:[],returnType:"Promise"},{name:"focusLastTabbableElementWhenReady",description:"

Waits for the zone to stabilize, then focuses\nthe last tabbable element within the focus trap region.

\n",args:[],returnType:"Promise"},{name:"_getRegionBoundary",description:"

Get the specified boundary element of the trapped region.

\n",args:[{name:"bound",type:'"start" | "end"'}],returnType:"HTMLElement"},{name:"focusInitialElement",description:"

Focuses the element that should be focused when the focus trap is initialized.

\n",args:[],returnType:"boolean"},{name:"focusFirstTabbableElement",description:"

Focuses the first tabbable element within the focus trap region.

\n",args:[],returnType:"boolean"},{name:"focusLastTabbableElement",description:"

Focuses the last tabbable element within the focus trap region.

\n",args:[],returnType:"boolean"},{name:"hasAttached",description:"

Checks whether the focus trap has successfully been attached.

\n",args:[],returnType:"boolean"},{name:"_getFirstTabbableElement",description:"

Get the first tabbable element from a DOM subtree (inclusive).

\n",args:[{name:"root",type:"HTMLElement"}],returnType:"HTMLElement"},{name:"_getLastTabbableElement",description:"

Get the last tabbable element from a DOM subtree (inclusive).

\n",args:[{name:"root",type:"HTMLElement"}],returnType:"HTMLElement"},{name:"_createAnchor",description:"

Creates an anchor element.

\n",args:[],returnType:"HTMLElement"},{name:"_toggleAnchorTabIndex",description:"

Toggles the tabindex of an anchor, based on the enabled state of the focus trap.

\n",args:[{name:"isEnabled",type:"boolean"},{name:"anchor",type:"HTMLElement"}],returnType:"void"},{name:"toggleAnchors",description:"

Toggles thetabindex of both anchors to either trap Tab focus or allow it to escape.

\n",args:[{name:"enabled",type:"boolean"}],returnType:"void"},{name:"_executeOnStable",description:"

Executes a function when the zone is stable.

\n",args:[{name:"fn",type:"() => any"}],returnType:"void"}],properties:[{name:"enabled",type:"boolean",description:"

Whether the focus trap is active.

\n"}]},FocusTrapFactory:{fileName:"src/focus-trap/focus-trap.ts",className:"FocusTrapFactory",description:"

Factory that allows easy instantiation of focus traps.

\n",methods:[{name:"create",description:"

Creates a focus-trapped region around the given element.

\n",args:[{name:"element",type:"HTMLElement"},{name:"deferCaptureElements",type:"boolean"}],returnType:"FocusTrap"}],properties:[]},FocusTrapDirective:{fileName:"src/focus-trap/focus-trap.ts",className:"FocusTrapDirective",description:"

Directive for trapping focus within a region.

\n",methods:[],properties:[{name:"_previouslyFocusedElement",type:"HTMLElement",description:"

Previously focused element to restore focus to upon destroy when using autoCapture.

\n"},{name:"autoCapture",type:"boolean",description:"

Whether the directive should automatically move focus into the trapped region upon\ninitialization and return focus to the previous activeElement upon destruction.

\n"},{name:"enabled",type:"boolean",description:"

Whether the focus trap is active.

\n"},{name:"focusTrap",type:"FocusTrap",description:"

Underlying FocusTrap instance.

\n"}]},IsFocusableConfig:{fileName:"src/focus-trap/interactivity-checker.ts",className:"IsFocusableConfig",description:"

Configuration for the isFocusable method.

\n",methods:[],properties:[{name:"ignoreVisibility",defaultValue:"false",type:"boolean",description:"

Whether to count an element as focusable even if it is not currently visible.

\n"}]},InteractivityChecker:{fileName:"src/focus-trap/interactivity-checker.ts",className:"InteractivityChecker",description:"

Utility for checking the interactivity of an element, such as whether is is focusable or\ntabbable.

\n",methods:[{name:"isDisabled",description:"

Gets whether an element is disabled.

\n",args:[{name:"element",type:"HTMLElement"}],returnType:"boolean"},{name:"isVisible",description:"

Gets whether an element is visible for the purposes of interactivity.

\n

This will capture states like display: none and visibility: hidden, but not things like\nbeing clipped by an overflow: hidden parent or being outside the viewport.

\n",args:[{name:"element",type:"HTMLElement"}],returnType:"boolean"},{name:"isTabbable",description:"

Gets whether an element can be reached via Tab key.\nAssumes that the element has already been checked with isFocusable.

\n",args:[{name:"element",type:"HTMLElement"}],returnType:"boolean"},{name:"isFocusable",description:"

Gets whether an element can be focused by the user.

\n",args:[{name:"element",type:"HTMLElement"},{name:"config",type:"IsFocusableConfig"}],returnType:"boolean"}],properties:[]},Platform:{fileName:"src/focus-trap/platform.ts",className:"Platform",description:"

Service to detect the current platform by comparing the userAgent strings and\nchecking browser-specific global properties.

\n",methods:[],properties:[{name:"ANDROID",type:"boolean",description:"

Whether the current platform is Android.

\n"},{name:"BLINK",type:"boolean",description:"

Whether the current rendering engine is Blink.

\n"},{name:"EDGE",type:"boolean",description:"

Whether the current browser is Microsoft Edge.

\n"},{name:"FIREFOX",type:"boolean",description:"

Whether the current browser is Firefox.

\n"},{name:"IOS",type:"boolean",description:"

Whether the current platform is Apple iOS.

\n"},{name:"isBrowser",type:"boolean",description:"

Whether the Angular application is being rendered in the browser.

\n"},{name:"SAFARI",type:"boolean",description:"

Whether the current browser is Safari.

\n"},{name:"TRIDENT",type:"boolean",description:"

Whether the current rendering engine is Microsoft Trident.

\n"},{name:"WEBKIT",type:"boolean",description:"

Whether the current rendering engine is WebKit.

\n"}]},Action:{fileName:"src/mini-ngrx/public_api.ts",className:"Action",description:"",methods:[],properties:[]},ModalBackdropComponent:{fileName:"src/modal/modal-backdrop.component.ts",className:"ModalBackdropComponent",description:"

This component will be added as background layout for modals if enabled

\n",methods:[],properties:[]},ModalDirective:{fileName:"src/modal/modal.directive.ts",className:"ModalDirective",description:"

Mark any code with directive to show it's content in modal

\n",methods:[{name:"toggle",description:"

Allows to manually toggle modal visibility

\n",args:[],returnType:"void"},{name:"show",description:"

Allows to manually open modal

\n",args:[],returnType:"void"},{name:"hide",description:"

Check if we can close the modal

\n",args:[{name:"event",type:"Event"}],returnType:"void"},{name:"_hide",description:"

Manually close modal

\n",args:[],returnType:"void"},{name:"showElement",description:"

Show dialog

\n",args:[],returnType:"void"},{name:"focusOtherModal",description:"

Events tricks

\n",args:[],returnType:"void"}],properties:[{name:"closeInterceptor",type:"CloseInterceptorFn",description:"

allows to provide a callback to intercept the closure of the modal

\n"},{name:"config",type:"ModalOptions>",description:"

allows to set modal configuration via element property

\n"},{name:"dismissReason",type:"string",description:"

This field contains last dismiss reason.\nPossible values: backdrop-click, esc and id: number\n(if modal was closed by direct call of .hide()).

\n"},{name:"onHidden",type:"EventEmitter",description:"

This event is fired when the modal has finished being\nhidden from the user (will wait for CSS transitions to complete).

\n"},{name:"onHide",type:"EventEmitter",description:"

This event is fired immediately when\nthe hide instance method has been called.

\n"},{name:"onShow",type:"EventEmitter",description:"

This event fires immediately when the show instance method is called.

\n"},{name:"onShown",type:"EventEmitter",description:"

This event is fired when the modal has been made visible to the user\n(will wait for CSS transitions to complete)

\n"}]},ClassName:{fileName:"src/modal/models/index.ts",className:"ClassName",description:"",methods:[],properties:[]},Selector:{fileName:"src/modal/models/index.ts",className:"Selector",description:"",methods:[],properties:[]},TransitionDurations:{fileName:"src/modal/models/index.ts",className:"TransitionDurations",description:"",methods:[],properties:[]},DismissReasons:{fileName:"src/modal/models/index.ts",className:"DismissReasons",description:"",methods:[],properties:[]},ConfigModel:{fileName:"src/pagination/models/index.ts",className:"ConfigModel",description:"",methods:[],properties:[]},PagesModel:{fileName:"src/pagination/models/index.ts",className:"PagesModel",description:"

Contain information about the page

\n",methods:[],properties:[{name:"active",type:"boolean",description:"

If true, then this is the current page

\n"},{name:"number",type:"number",description:"

Page number

\n"},{name:"text",type:"string",description:"

Text, which is displayed in the link

\n"}]},PagerModel:{fileName:"src/pagination/models/index.ts",className:"PagerModel",description:"",methods:[],properties:[]},PaginationLinkContext:{fileName:"src/pagination/models/index.ts",className:"PaginationLinkContext",description:"

A context for the

\n
    \n
  • customPageTemplate
  • \n
  • customNextTemplate
  • \n
  • customPreviousTemplate
  • \n
  • customFirstTemplate
  • \n
  • customLastTemplate\ninputs for link templates in case you want to override one
  • \n
\n",methods:[],properties:[{name:"currentPage",type:"number",description:"

The currently selected page number

\n"},{name:"disabled",type:"boolean",description:"

If true, the current link is disabled

\n"}]},PaginationNumberLinkContext:{fileName:"src/pagination/models/index.ts",className:"PaginationNumberLinkContext",description:"

A context for the pageTemplate inputs for link template

\n",methods:[],properties:[{name:"$implicit",type:"PagesModel",description:"

Contain the page information

\n"}]},PageChangedEvent:{fileName:"src/pagination/pagination.component.ts",className:"PageChangedEvent",description:"",methods:[],properties:[]},PaginationConfig:{fileName:"src/pagination/pagination.config.ts",className:"PaginationConfig",description:"

Provides default values for Pagination and pager components

\n",methods:[],properties:[]},PopoverConfig:{fileName:"src/popover/popover.config.ts",className:"PopoverConfig",description:"

Configuration service for the Popover directive.\nYou can inject this service, typically in your root component, and customize\nthe values of its properties in order to provide default values for all the\npopovers used in the application.

\n",methods:[],properties:[{name:"adaptivePosition",defaultValue:"true",type:"boolean",description:"

sets disable adaptive position

\n"},{name:"container",type:"string",description:"

A selector specifying the element the popover should be appended to.

\n"},{name:"delay",defaultValue:"0",type:"number",description:"

delay before showing the tooltip

\n"},{name:"placement",defaultValue:"top",type:"string",description:"

Placement of a popover. Accepts: "top", "bottom", "left", "right", "auto"

\n"},{name:"triggers",defaultValue:"click",type:"string",description:"

Specifies events that should trigger. Supports a space separated list of\nevent names.

\n"}]},PopoverDirective:{fileName:"src/popover/popover.directive.ts",className:"PopoverDirective",description:"

A lightweight, extensible directive for fancy popover creation.

\n",methods:[{name:"setAriaDescribedBy",description:"

Set attribute aria-describedBy for element directive and\nset id for the popover

\n",args:[],returnType:"void"},{name:"show",description:"

Opens an element\u2019s popover. This is considered a \u201cmanual\u201d triggering of\nthe popover.

\n",args:[],returnType:"void"},{name:"hide",description:"

Closes an element\u2019s popover. This is considered a \u201cmanual\u201d triggering of\nthe popover.

\n",args:[],returnType:"void"},{name:"toggle",description:"

Toggles an element\u2019s popover. This is considered a \u201cmanual\u201d triggering of\nthe popover.

\n",args:[],returnType:"void"}],properties:[{name:"adaptivePosition",defaultValue:"true",type:"boolean",description:"

sets disable adaptive position

\n"},{name:"container",type:"string",description:"

A selector specifying the element the popover should be appended to.

\n"},{name:"containerClass",type:"string",description:"

Css class for popover container

\n"},{name:"delay",defaultValue:"0",type:"number",description:"

Delay before showing the tooltip

\n"},{name:"isOpen",type:"boolean",description:"

Returns whether or not the popover is currently being shown

\n"},{name:"onHidden",type:"EventEmitter",description:"

Emits an event when the popover is hidden

\n"},{name:"onShown",type:"EventEmitter",description:"

Emits an event when the popover is shown

\n"},{name:"outsideClick",defaultValue:"false",type:"boolean",description:"

Close popover on outside click

\n"},{name:"placement",defaultValue:"top",type:"AvailableBSPositions",description:"

Placement of a popover. Accepts: "top", "bottom", "left", "right"

\n"},{name:"popover",type:"string | TemplateRef",description:"

Content to be displayed as popover.

\n"},{name:"popoverContext",type:"any",description:"

Context to be used if popover is a template.

\n"},{name:"popoverId",type:"number",description:"

unique id popover - use for aria-describedby

\n"},{name:"popoverTitle",type:"string",description:"

Title of a popover.

\n"},{name:"triggers",defaultValue:"click",type:"string",description:"

Specifies events that should trigger. Supports a space separated list of\nevent names.

\n"}]},Offsets:{fileName:"src/positioning/models/index.ts",className:"Offsets",description:"",methods:[],properties:[]},Data:{fileName:"src/positioning/models/index.ts",className:"Data",description:"",methods:[],properties:[]},Options:{fileName:"src/positioning/models/index.ts",className:"Options",description:"",methods:[],properties:[]},PositioningOptions:{fileName:"src/positioning/positioning.service.ts",className:"PositioningOptions",description:"",methods:[],properties:[{name:"appendToBody",type:"boolean",description:"

If true component will be attached to body

\n"},{name:"attachment",type:"string",description:"

A string of the form 'vert-attachment horiz-attachment' or 'placement'

\n
    \n
  • placement can be "top", "bottom", "left", "right"\nnot yet supported:
  • \n
  • vert-attachment can be any of 'top', 'middle', 'bottom'
  • \n
  • horiz-attachment can be any of 'left', 'center', 'right'
  • \n
\n"},{name:"element",type:"string | HTMLElement | ElementRef",description:"

The DOM element, ElementRef, or a selector string of an element which will be moved

\n"},{name:"offset",type:"string",description:"

A string of the form 'vert-offset horiz-offset'

\n
    \n
  • vert-offset and horiz-offset can be of the form "20px" or "55%"
  • \n
\n"},{name:"target",type:"string | HTMLElement | ElementRef",description:"

The DOM element, ElementRef, or a selector string of an element which the element will be attached to

\n"},{name:"targetAttachment",type:"string",description:"

A string similar to attachment. The one difference is that, if it's not provided,\ntargetAttachment will assume the mirror image of attachment.

\n"},{name:"targetOffset",type:"string",description:"

A string similar to offset, but referring to the offset of the target

\n"}]},BarValue:{fileName:"src/progressbar/progressbar-type.interface.ts",className:"BarValue",description:"",methods:[],properties:[]},RatingResults:{fileName:"src/rating/models/index.ts",className:"RatingResults",description:"",methods:[],properties:[]},RatingConfig:{fileName:"src/rating/rating.config.ts",className:"RatingConfig",description:"

Default values provider for rating

\n",methods:[],properties:[{name:"ariaLabel",defaultValue:"rating",type:"string",description:"

aria label for rating

\n"}]},Schema:{fileName:"src/schematics/src/ng-add/schema.ts",className:"Schema",description:"",methods:[],properties:[]},availablePaths:{fileName:"src/schematics/src/utils/addStyles.ts",className:"availablePaths",description:"",methods:[],properties:[]},DraggableItem:{fileName:"src/sortable/draggable-item.ts",className:"DraggableItem",description:"",methods:[],properties:[]},SortableItem:{fileName:"src/sortable/sortable.component.ts",className:"SortableItem",description:"",methods:[],properties:[]},TabHeadingDirective:{fileName:"src/tabs/tab-heading.directive.ts",className:"TabHeadingDirective",description:"

Should be used to mark element as a template for tab heading

\n",methods:[],properties:[]},ControlValueAccessorModel:{fileName:"src/timepicker/models/index.ts",className:"ControlValueAccessorModel",description:"",methods:[],properties:[]},TimepickerState:{fileName:"src/timepicker/reducer/timepicker.reducer.ts",className:"TimepickerState",description:"",methods:[],properties:[]},TimepickerConfig:{fileName:"src/timepicker/timepicker.config.ts",className:"TimepickerConfig",description:"

Provides default configuration values for timepicker

\n",methods:[],properties:[{name:"allowEmptyTime",defaultValue:"false",type:"boolean",description:"

if true emptyTime is not marked as invalid

\n"},{name:"ariaLabelHours",defaultValue:"hours",type:"string",description:"

hours aria label

\n"},{name:"ariaLabelMinutes",defaultValue:"minutes",type:"string",description:"

minutes aria label

\n"},{name:"ariaLabelSeconds",defaultValue:"seconds",type:"string",description:"

seconds aria label

\n"},{name:"arrowkeys",defaultValue:"true",type:"boolean",description:"

if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard

\n"},{name:"disabled",defaultValue:"false",type:"boolean",description:"

if true hours and minutes fields will be disabled

\n"},{name:"hoursPlaceholder",defaultValue:"HH",type:"string",description:"

placeholder for hours field in timepicker

\n"},{name:"hourStep",defaultValue:"1",type:"number",description:"

hours change step

\n"},{name:"max",type:"Date",description:"

maximum time user can select

\n"},{name:"meridians",type:"string[]",description:"

meridian labels based on locale

\n"},{name:"min",type:"Date",description:"

minimum time user can select

\n"},{name:"minutesPlaceholder",defaultValue:"MM",type:"string",description:"

placeholder for minutes field in timepicker

\n"},{name:"minuteStep",defaultValue:"5",type:"number",description:"

minutes change step

\n"},{name:"mousewheel",defaultValue:"true",type:"boolean",description:"

if true scroll inside hours and minutes inputs will change time

\n"},{name:"readonlyInput",defaultValue:"false",type:"boolean",description:"

if true hours and minutes fields will be readonly

\n"},{name:"secondsPlaceholder",defaultValue:"SS",type:"string",description:"

placeholder for seconds field in timepicker

\n"},{name:"secondsStep",defaultValue:"10",type:"number",description:"

seconds changes step

\n"},{name:"showMeridian",defaultValue:"true",type:"boolean",description:"

if true works in 12H mode and displays AM/PM. If false works in 24H mode and hides AM/PM

\n"},{name:"showMinutes",defaultValue:"true",type:"boolean",description:"

show minutes in timepicker

\n"},{name:"showSeconds",defaultValue:"false",type:"boolean",description:"

show seconds in timepicker

\n"},{name:"showSpinners",defaultValue:"true",type:"boolean",description:"

if true spinner arrows above and below the inputs will be shown

\n"}]},Time:{fileName:"src/timepicker/timepicker.models.ts",className:"Time",description:"",methods:[],properties:[]},TimepickerControls:{fileName:"src/timepicker/timepicker.models.ts",className:"TimepickerControls",description:"",methods:[],properties:[]},TimepickerComponentState:{fileName:"src/timepicker/timepicker.models.ts",className:"TimepickerComponentState",description:"",methods:[],properties:[]},TimeChangeEvent:{fileName:"src/timepicker/timepicker.models.ts",className:"TimeChangeEvent",description:"",methods:[],properties:[]},TooltipConfig:{fileName:"src/tooltip/tooltip.config.ts",className:"TooltipConfig",description:"

Default values provider for tooltip

\n",methods:[],properties:[{name:"adaptivePosition",defaultValue:"true",type:"boolean",description:"

sets disable adaptive position

\n"},{name:"container",type:"string",description:"

a selector specifying the element the tooltip should be appended to.

\n"},{name:"delay",defaultValue:"0",type:"number",description:"

delay before showing the tooltip

\n"},{name:"placement",defaultValue:"top",type:"string",description:"

tooltip placement, supported positions: 'top', 'bottom', 'left', 'right'

\n"},{name:"triggers",defaultValue:"hover focus",type:"string",description:"

array of event names which triggers tooltip opening

\n"}]},TypeaheadOptionListContext:{fileName:"src/typeahead/models/index.ts",className:"TypeaheadOptionListContext",description:"

A context for the optionsListTemplate\ninput template in case you want to override default one

\n",methods:[],properties:[{name:"$implicit",type:"TypeaheadTemplateMethods",description:"

Typeahead template methods

\n"},{name:"itemTemplate",type:"TemplateRef",description:"

Item template

\n"},{name:"matches",type:"TypeaheadMatch[]",description:"

All matches

\n"},{name:"query",type:"string | string[]",description:"

Search query

\n"}]},TypeaheadOptionItemContext:{fileName:"src/typeahead/models/index.ts",className:"TypeaheadOptionItemContext",description:"

A context for the typeaheadItemTemplate\ninput template in case you want to override default one

\n",methods:[],properties:[{name:"index",type:"number",description:"

Item index

\n"},{name:"item",type:"unknown",description:"

Item

\n"},{name:"match",type:"TypeaheadMatch",description:"

Typeahead match

\n"},{name:"query",type:"string | string[]",description:"

Search query

\n"}]},TypeaheadTemplateMethods:{fileName:"src/typeahead/models/index.ts",className:"TypeaheadTemplateMethods",description:"

Methods for optionsListTemplate context

\n",methods:[{name:"selectMatch",description:"

Function to select an option by click event

\n",args:[{name:"value",type:"TypeaheadMatch"},{name:"e",type:"Event"}],returnType:"void"},{name:"selectActive",description:"

Function to select an option by mouseenter event

\n",args:[{name:"value",type:"TypeaheadMatch"}],returnType:"void"},{name:"isActive",description:"

Function to check if an option is active

\n",args:[{name:"value",type:"TypeaheadMatch"}],returnType:"boolean"}],properties:[]},TypeaheadOrder:{fileName:"src/typeahead/typeahead-order.class.ts",className:"TypeaheadOrder",description:"",methods:[],properties:[{name:"direction",type:'"asc" | "desc"',description:"

ordering direction, could be 'asc' or 'desc'

\n"},{name:"field",type:"string",description:"

field for sorting

\n"}]},TypeaheadConfig:{fileName:"src/typeahead/typeahead.config.ts",className:"TypeaheadConfig",description:"

Default values provider for typeahead

\n",methods:[],properties:[{name:"adaptivePosition",defaultValue:"false",type:"boolean",description:"

sets use adaptive position

\n"},{name:"cancelRequestOnFocusLost",defaultValue:"false",type:"boolean",description:"

if true, typeahead will cancel async request on blur

\n"},{name:"hideResultsOnBlur",defaultValue:"true",type:"boolean",description:"

used to hide results on blur

\n"},{name:"isAnimated",defaultValue:"false",type:"boolean",description:"

turn on/off animation

\n"},{name:"isFirstItemActive",defaultValue:"true",type:"boolean",description:"

used to active/inactive the first item in typeahead container

\n"},{name:"minLength",defaultValue:"1",type:"number",description:"

used to choose set minimal no of characters that needs to\nbe entered before typeahead kicks-in

\n"},{name:"selectFirstItem",defaultValue:"true",type:"boolean",description:"

used to choose the first item in typeahead container

\n"},{name:"selectItemOnBlur",defaultValue:"false",type:"boolean",description:"

used to choose item on blur event

\n"}]},ListNode:{fileName:"src/utils/linked-list.class.ts",className:"ListNode",description:"",methods:[],properties:[]},IObjectKeys:{fileName:"src/utils/theme-provider.ts",className:"IObjectKeys",description:"",methods:[],properties:[]},IBsVersion:{fileName:"src/utils/theme-provider.ts",className:"IBsVersion",description:"",methods:[],properties:[]}};var Kr=D(37472),Zs=D(5964),Ts=D(372),Gi=D(2293);function ei(R,d){1&R&&h.nrm(0,"sidebar",1)}let qs=(()=>{class R{constructor(g,_,N,j,ne){this.route=g,this.router=_,this.urlSerializer=N,this.analytics=j,this.document=ne,this.showSidebar=!1}ngAfterContentInit(){this.analytics.trackPageViews();const g=j=>j.routerState.snapshot.url.slice(0,j.routerState.snapshot.url.indexOf("#"));let _=g(this.router);const N=()=>{const j=g(this.router);this.showSidebar=!!g(this.router),typeof PR<"u"&&_!==j&&(_=j,PR.prettyPrint());const ne=this.route.snapshot.fragment;if(ne){const K=this.document.getElementById(ne),fe=this.document.getElementById("header");K&&fe&&setTimeout(()=>{const ve=this.document.getElementById("sidebar"),Qe=innerWidth<=991?K.offsetTop-fe.offsetHeight-6-(ve?.offsetHeight||0):K.offsetTop-fe.offsetHeight-6;window.scrollTo({top:Qe,behavior:"smooth"})},100)}else window.scrollTo({top:0,behavior:"smooth"})};this.router.events.pipe((0,Zs.p)(j=>j instanceof o.wF)).subscribe(()=>setTimeout(()=>N(),50))}static#e=this.\u0275fac=function(_){return new(_||R)(h.rXU(o.nX),h.rXU(o.Ix),h.rXU(o.Sd),h.rXU(Kr.j0),h.rXU(Po.qQ))};static#t=this.\u0275cmp=h.VBU({type:R,selectors:[["bs-demo"]],decls:3,vars:1,consts:[["id","sidebar","class","sidebar",4,"ngIf"],["id","sidebar",1,"sidebar"]],template:function(_,N){1&_&&(h.nrm(0,"top-menu"),h.DNE(1,ei,1,0,"sidebar",0),h.nrm(2,"router-outlet")),2&_&&(h.R7$(),h.Y8G("ngIf",N.showSidebar))},dependencies:[Po.bT,Ts.k,o.n3,Gi.C],encapsulation:2})}return R})();const Is=[{path:"",data:["Landing page"],component:Kr.b4},{path:"documentation",data:["Documentation",{sideBarParentTitle:"documentation"}],component:Kr.i6},{path:"discover",data:["Discover",{sideBarParentTitle:"documentation"}],component:Kr.xW},{path:"schematics",data:["Schematics",{sideBarParentTitle:"documentation"}],component:Kr.ku},{path:"components",children:[{path:"",data:["Components"],component:Kr.Tv},{path:"accordion",data:["Accordion",{moduleName:"AccordionModule",moduleFolder:"accordion",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(673)]).then(D.bind(D,92673)).then(R=>R.DemoAccordionModule)},{path:"alerts",data:["Alerts",{moduleName:"AlertModule",moduleFolder:"alert",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>D.e(117).then(D.bind(D,95117)).then(R=>R.DemoAlertsModule)},{path:"buttons",data:["Buttons",{moduleName:"ButtonsModule",moduleFolder:"buttons",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(412)]).then(D.bind(D,14412)).then(R=>R.DemoButtonsModule)},{path:"carousel",data:["Carousel",{moduleName:"CarouselModule",moduleFolder:"carousel",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(43)]).then(D.bind(D,7043)).then(R=>R.DemoCarouselModule)},{path:"collapse",data:["Collapse",{moduleName:"CollapseModule",moduleFolder:"collapse",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(648)]).then(D.bind(D,78648)).then(R=>R.DemoCollapseModule)},{path:"datepicker",data:["Datepicker",{moduleName:"BsDatepickerModule",moduleFolder:"datepicker",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(740),D.e(76),D.e(268)]).then(D.bind(D,64268)).then(R=>R.DemoDatepickerModule)},{path:"dropdowns",data:["Dropdowns",{moduleName:"BsDropdownModule",moduleFolder:"dropdown",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(745)]).then(D.bind(D,79745)).then(R=>R.DemoDropdownModule)},{path:"modals",data:["Modals",{moduleName:"ModalModule",moduleFolder:"modal",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(923)]).then(D.bind(D,11304)).then(R=>R.DemoModalModule)},{path:"pagination",data:["Pagination",{moduleName:"PaginationModule",moduleFolder:"pagination",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(126)]).then(D.bind(D,32126)).then(R=>R.DemoPaginationModule)},{path:"popover",data:["Popover",{moduleName:"PopoverModule",moduleFolder:"popover",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(304)]).then(D.bind(D,97304)).then(R=>R.DemoPopoverModule)},{path:"progressbar",data:["Progressbar",{moduleName:"ProgressbarModule",moduleFolder:"progressbar",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(750)]).then(D.bind(D,20750)).then(R=>R.DemoProgressbarModule)},{path:"rating",data:["Rating",{moduleName:"RatingModule",moduleFolder:"rating",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(90)]).then(D.bind(D,41090)).then(R=>R.DemoRatingModule)},{path:"sortable",data:["Sortable",{moduleName:"SortableModule",moduleFolder:"sortable",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(444)]).then(D.bind(D,12444)).then(R=>R.DemoSortableModule)},{path:"tabs",data:["Tabs",{moduleName:"TabsModule",moduleFolder:"tabs",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(718)]).then(D.bind(D,27718)).then(R=>R.DemoTabsModule)},{path:"timepicker",data:["Timepicker",{moduleName:"TimepickerModule",moduleFolder:"timepicker",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(740),D.e(515)]).then(D.bind(D,32515)).then(R=>R.DemoTimepickerModule)},{path:"tooltip",data:["Tooltip",{moduleName:"TooltipModule",moduleFolder:"tooltip",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(842)]).then(D.bind(D,34842)).then(R=>R.DemoTooltipModule)},{path:"typeahead",data:["Typeahead",{moduleName:"TypeaheadModule",moduleFolder:"typeahead",sideBarParentTitle:"components",parentRoute:"components"}],loadChildren:()=>Promise.all([D.e(519),D.e(76),D.e(546)]).then(D.bind(D,43546)).then(R=>R.DemoTypeaheadModule)}]},{path:"**",redirectTo:"/"}];let Ms=(()=>{class R{static#e=this.\u0275fac=function(_){return new(_||R)};static#t=this.\u0275mod=h.$C({type:R,bootstrap:[qs]});static#n=this.\u0275inj=h.G2t({providers:[{provide:Kr.Oi,useValue:fn},{provide:Kr.to,useValue:Is},{provide:Kr.EC,useValue:Kr.aV},(0,Z.$R)((0,Z.Sx)())],imports:[Lo,Kr.ky,o.iI.forRoot(Is,{useHash:true}),Q.zE]})}return R})();(0,h.SmG)(),y.sG().bootstrapModule(Ms).catch(R=>console.error(R))},37472:(We,de,D)=>{D.d(de,{j0:()=>ie,Mg:()=>ho,Tv:()=>Pe,Fe:()=>Sn.F,to:()=>po.t,xW:()=>yr,ky:()=>Ge,i6:()=>eo,xK:()=>mn,b4:()=>kr,Oi:()=>Q,zw:()=>st,r2:()=>Le,TJ:()=>U,EC:()=>At.E,ku:()=>to,aV:()=>$r.a});var y=D(60177),h=D(43744),Z=D(59169),o=D(54438);class Q{}function H(M){const q=M.args.map(A=>`${A.name}: ${A.type}`).join(", ");return`${M.name}(${q})`}var oe=D(8681),ue=D(5964);let ie=(()=>{class M{constructor(A,te){this.location=A,this.router=te,this.enabled=typeof window<"u"&&window.location.href.indexOf("bootstrap")>=0}trackPageViews(){this.enabled&&this.router.events.pipe((0,ue.p)(A=>A instanceof oe.wF)).subscribe(()=>{typeof ga<"u"&&ga("send",{hitType:"pageview",page:this.location.path()})})}trackEvent(A,te){this.enabled&&te&&typeof ga<"u"&&ga("send",{hitType:"event",eventCategory:te,eventAction:A})}static#e=this.\u0275fac=function(te){return new(te||M)(o.KVO(y.aZ),o.KVO(oe.Ix))};static#t=this.\u0275prov=o.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),le=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275prov=o.jDH({token:M,factory:M.\u0275fac,providedIn:"platform"})}return M})();var Y=D(345);function B(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",5),o.EFF(2,"Exported as"),o.k0s(),o.j41(3,"td",6)(4,"code"),o.EFF(5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.JRh(null==A.apiDocs?null:A.apiDocs.exportAs)}}function ce(M,q){if(1&M&&(o.j41(0,"span"),o.EFF(1),o.k0s()),2&M){const A=o.XpG(4);o.R7$(),o.SpI("\u2014 initialized from ",A.configServiceName," service")}}function V(M,q){if(1&M&&(o.j41(0,"div")(1,"span")(2,"i"),o.EFF(3,"Default value: "),o.k0s(),o.j41(4,"code"),o.EFF(5),o.k0s()(),o.DNE(6,ce,2,1,"span",7),o.k0s()),2&M){const A=o.XpG().$implicit,te=o.XpG(2);o.R7$(5),o.JRh(te.defaultInputValue(A)||"-"),o.R7$(),o.Y8G("ngIf",te.hasConfigProperty(A))}}function ge(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",5)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",6)(5,"div")(6,"i"),o.EFF(7,"Type: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.DNE(10,V,7,2,"ng-template",8),o.nrm(11,"div",2),o.k0s()()),2&M){const A=q.$implicit,te=o.XpG(2);o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(A.type),o.R7$(),o.Y8G("ngIf",te.defaultInputValue(A)||te.hasConfigProperty(A)),o.R7$(),o.Y8G("innerHTML",A.descriptionSafeHtml,o.npT)}}function _e(M,q){if(1&M&&(o.j41(0,"section")(1,"h3"),o.EFF(2,"Inputs"),o.k0s(),o.j41(3,"div",3)(4,"table",4)(5,"tbody"),o.DNE(6,ge,12,4,"tr",9),o.k0s()()()()),2&M){const A=o.XpG();o.R7$(6),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.inputs)}}function Oe(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",5)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",6),o.nrm(5,"div",2),o.k0s()()),2&M){const A=q.$implicit;o.R7$(3),o.JRh(A.name),o.R7$(2),o.Y8G("innerHTML",A.descriptionSafeHtml,o.npT)}}function rt(M,q){if(1&M&&(o.j41(0,"section")(1,"h3",10),o.EFF(2,"Outputs"),o.k0s(),o.j41(3,"div",3)(4,"table",4)(5,"tbody"),o.DNE(6,Oe,6,2,"tr",9),o.k0s()()()()),2&M){const A=o.XpG();o.R7$(6),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.outputs)}}function gt(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",5)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",6)(5,"div")(6,"i"),o.EFF(7,"Signature: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.j41(10,"div")(11,"i"),o.EFF(12,"Return type: "),o.k0s(),o.j41(13,"code"),o.EFF(14),o.k0s()(),o.nrm(15,"div",2),o.k0s()()),2&M){const A=q.$implicit,te=o.XpG(2);o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(te.methodSignature(A)),o.R7$(5),o.JRh(A.returnType),o.R7$(),o.Y8G("innerHTML",A.descriptionSafeHtml,o.npT)}}function kt(M,q){if(1&M&&(o.j41(0,"section")(1,"h3",11),o.EFF(2,"Methods"),o.k0s(),o.j41(3,"div",3)(4,"table",4)(5,"tbody"),o.DNE(6,gt,16,4,"tr",9),o.k0s()()()()),2&M){const A=o.XpG();o.R7$(6),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.methods)}}let Le=(()=>{class M{constructor(A,te,se,Ke){if(this.sanitizer=Ke,this.analytics=A,this.docs=te,this.headerAnchor=se.anchor,se?.title){this.apiDocs=this.docs[se.title],this.configServiceName=`${se.title}Config`;const Ct=this.docs[this.configServiceName];this.configProperties={},Ct&&this.apiDocs?.inputs.forEach(vt=>{this.configProperties&&this.configProperties[vt.name]&&(this.configProperties[vt.name]=this.findInputConfigProperty(Ct,vt))}),this.checkSecurApiDocs()}}defaultInputValue(A){const te=this.configProperties?.[A.name];return te?te.defaultValue:A.defaultValue}hasConfigProperty(A){return!!this.configProperties?.[A.name]}methodSignature(A){return H(A)}trackSourceClick(){this.analytics.trackEvent("Source File View",this.apiDocs?.className)}findInputConfigProperty(A,te){return A.properties.filter(se=>se.name===te.name)[0]}checkSecurApiDocs(){this.apiDocs&&(this.apiDocs?.description&&(this.apiDocs.descriptionSafeHtML=this.sanitizer.bypassSecurityTrustHtml(this.apiDocs.description)),this.apiDocs?.inputs?.length&&this.apiDocs.inputs.map(A=>{A.description&&(A.descriptionSafeHtml=this.sanitizer.bypassSecurityTrustHtml(A.description))}),this.apiDocs?.outputs?.length&&this.apiDocs.outputs.map(A=>{A.description&&(A.descriptionSafeHtml=this.sanitizer.bypassSecurityTrustHtml(A.description))}),this.apiDocs?.methods?.length&&this.apiDocs.methods.map(A=>{A.description&&(A.descriptionSafeHtml=this.sanitizer.bypassSecurityTrustHtml(A.description))}))}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(ie),o.rXU(Q),o.rXU(le),o.rXU(Y.up))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["ng-api-doc"]],decls:18,vars:10,consts:[[1,"api-doc-component",3,"click"],["target","_blank","rel","noopener",3,"href"],[3,"innerHTML"],[1,"table-responsive"],[1,"table","table-bordered"],[1,"col-xs-3"],[1,"col-xs-9"],[4,"ngIf"],[3,"ngIf"],[4,"ngFor","ngForOf"],["id","outputs"],["id","methods"]],template:function(te,se){1&te&&(o.j41(0,"div",0),o.bIt("click",function(){return se.trackSourceClick()}),o.j41(1,"h3")(2,"a",1),o.EFF(3),o.k0s()(),o.nrm(4,"p",2),o.j41(5,"div",3)(6,"table",4)(7,"tbody")(8,"tr")(9,"td",5),o.EFF(10,"Selector"),o.k0s(),o.j41(11,"td",6)(12,"code"),o.EFF(13),o.k0s()()(),o.DNE(14,B,6,1,"tr",7),o.k0s()()(),o.DNE(15,_e,7,1,"ng-template",8)(16,rt,7,1,"ng-template",8)(17,kt,7,1,"ng-template",8),o.k0s()),2&te&&(o.R7$(),o.BMQ("id",se.headerAnchor),o.R7$(),o.Mz_("href","https://github.com/valor-software/ngx-bootstrap/tree/development/",null==se.apiDocs?null:se.apiDocs.fileName,"",o.B4B),o.R7$(),o.JRh(null==se.apiDocs?null:se.apiDocs.className),o.R7$(),o.Y8G("innerHTML",null==se.apiDocs?null:se.apiDocs.descriptionSafeHtML,o.npT),o.R7$(9),o.JRh(null==se.apiDocs?null:se.apiDocs.selector),o.R7$(),o.Y8G("ngIf",null==se.apiDocs?null:se.apiDocs.exportAs),o.R7$(),o.Y8G("ngIf",null==se.apiDocs||null==se.apiDocs.inputs?null:se.apiDocs.inputs.length),o.R7$(),o.Y8G("ngIf",null==se.apiDocs||null==se.apiDocs.outputs?null:se.apiDocs.outputs.length),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs||null==se.apiDocs.methods?null:se.apiDocs.methods.length)&&(null==se.apiDocs?null:se.apiDocs.exportAs)))},dependencies:[y.Sq,y.bT],encapsulation:2,changeDetection:0})}return M})();function ke(M,q){if(1&M&&(o.j41(0,"div")(1,"i"),o.EFF(2,"Default value: "),o.k0s(),o.j41(3,"code"),o.EFF(4),o.k0s()()),2&M){const A=o.XpG().$implicit;o.R7$(4),o.JRh(A.defaultValue||"-")}}function Je(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",6)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",7)(5,"div")(6,"i"),o.EFF(7,"Type: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.DNE(10,ke,5,1,"ng-template",3),o.j41(11,"div"),o.nrm(12,"span",2),o.k0s()()()),2&M){const A=q.$implicit;o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(A.type),o.R7$(),o.Y8G("ngIf",A.defaultValue),o.R7$(2),o.Y8G("innerHTML",A.description,o.npT)}}function je(M,q){if(1&M&&(o.j41(0,"section")(1,"h3"),o.EFF(2,"Properties"),o.k0s(),o.j41(3,"table",4)(4,"tbody"),o.DNE(5,Je,13,4,"tr",5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.properties)}}function $e(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",6)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",7)(5,"div")(6,"i"),o.EFF(7,"Signature: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.j41(10,"div")(11,"i"),o.EFF(12,"Return type: "),o.k0s(),o.j41(13,"code"),o.EFF(14),o.k0s()(),o.j41(15,"div"),o.nrm(16,"span",2),o.k0s()()()),2&M){const A=q.$implicit,te=o.XpG(2);o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(te.methodSignature(A)),o.R7$(5),o.JRh(A.returnType),o.R7$(2),o.Y8G("innerHTML",A.description,o.npT)}}function et(M,q){if(1&M&&(o.j41(0,"section")(1,"h3",8),o.EFF(2,"Methods"),o.k0s(),o.j41(3,"table",4)(4,"tbody"),o.DNE(5,$e,17,4,"tr",5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.methods)}}let st=(()=>{class M{constructor(A,te,se){this.docs=te,this.analytics=A,this.headerAnchor=se.anchor,se?.title&&(this.apiDocs=this.docs[se.title])}methodSignature(A){return H(A)}trackSourceClick(){this.analytics.trackEvent("Source File View",this.apiDocs?.className)}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(ie),o.rXU(Q),o.rXU(le))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["ng-api-doc-class"]],decls:7,vars:7,consts:[[1,"api-doc-component",3,"click"],["target","_blank","rel","noopener",3,"href"],[3,"innerHTML"],[3,"ngIf"],[1,"table","table-bordered"],[4,"ngFor","ngForOf"],[1,"col-xs-3"],[1,"col-xs-9"],["id","methods"]],template:function(te,se){1&te&&(o.j41(0,"div",0),o.bIt("click",function(){return se.trackSourceClick()}),o.j41(1,"h3")(2,"a",1),o.EFF(3),o.k0s()(),o.nrm(4,"p",2),o.DNE(5,je,6,1,"ng-template",3)(6,et,6,1,"ng-template",3),o.k0s()),2&te&&(o.R7$(),o.BMQ("id",se.headerAnchor),o.R7$(),o.Mz_("href","https://github.com/valor-software/ngx-bootstrap/tree/development/",null==se.apiDocs?null:se.apiDocs.fileName,"",o.B4B),o.R7$(),o.JRh(null==se.apiDocs?null:se.apiDocs.className),o.R7$(),o.Y8G("innerHTML",null==se.apiDocs?null:se.apiDocs.description,o.npT),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs?null:se.apiDocs.properties)&&(null==se.apiDocs||null==se.apiDocs.properties?null:se.apiDocs.properties.length)),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs?null:se.apiDocs.methods)&&(null==se.apiDocs||null==se.apiDocs.methods?null:se.apiDocs.methods.length)))},dependencies:[y.Sq,y.bT],encapsulation:2,changeDetection:0})}return M})();function zt(M,q){if(1&M&&(o.j41(0,"div")(1,"i"),o.EFF(2,"Default value: "),o.k0s(),o.j41(3,"code"),o.EFF(4),o.k0s()()),2&M){const A=o.XpG().$implicit;o.R7$(4),o.JRh(A.defaultValue||"-")}}function Ne(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",6)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",7)(5,"div")(6,"i"),o.EFF(7,"Type: "),o.k0s(),o.j41(8,"code"),o.EFF(9),o.k0s()(),o.DNE(10,zt,5,1,"ng-template",3),o.nrm(11,"div",2),o.k0s()()),2&M){const A=q.$implicit;o.R7$(3),o.JRh(A.name),o.R7$(6),o.JRh(A.type),o.R7$(),o.Y8G("ngIf",A.defaultValue),o.R7$(),o.Y8G("innerHTML",A.description,o.npT)}}function Te(M,q){if(1&M&&(o.j41(0,"section")(1,"h3"),o.EFF(2,"Properties"),o.k0s(),o.j41(3,"table",4)(4,"tbody"),o.DNE(5,Ne,12,4,"tr",5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.properties)}}function ot(M,q){1&M&&(o.qex(0),o.EFF(1,", "),o.bVm())}function _t(M,q){if(1&M&&(o.qex(0),o.EFF(1),o.DNE(2,ot,2,0,"ng-container",9),o.bVm()),2&M){const A=q.$implicit,te=q.last,se=o.XpG().$implicit;o.R7$(),o.Lme("",A.name,": ",A.type,""),o.R7$(),o.Y8G("ngIf",!te&&se.args.length>1)}}function Qt(M,q){if(1&M&&(o.j41(0,"tr")(1,"td",6)(2,"code"),o.EFF(3),o.k0s()(),o.j41(4,"td",7)(5,"div")(6,"code"),o.EFF(7),o.k0s(),o.j41(8,"span",8),o.DNE(9,_t,3,3,"ng-container",5),o.j41(10,"code"),o.EFF(11,")"),o.k0s(),o.EFF(12),o.k0s()(),o.nrm(13,"div",2),o.k0s()()),2&M){const A=q.$implicit;o.R7$(3),o.JRh(A.name),o.R7$(4),o.SpI("",A.name,"("),o.R7$(2),o.Y8G("ngForOf",A.args),o.R7$(3),o.SpI(" => ",A.returnType," "),o.R7$(),o.Y8G("innerHTML",A.description,o.npT)}}function dn(M,q){if(1&M&&(o.j41(0,"section")(1,"h3"),o.EFF(2,"Methods"),o.k0s(),o.j41(3,"table",4)(4,"tbody"),o.DNE(5,Qt,14,5,"tr",5),o.k0s()()()),2&M){const A=o.XpG();o.R7$(5),o.Y8G("ngForOf",null==A.apiDocs?null:A.apiDocs.methods)}}let U=(()=>{class M{constructor(A,te,se){this.isShowMethods=!1,this.analytics=A,this.docs=te,this.headerAnchor=se.anchor,se?.title&&(this.apiDocs=this.docs[se.title]),this.isShowMethods=se.showMethods||this.isShowMethods,this.directiveName=se.title?.slice(0,-6)}trackSourceClick(){this.analytics.trackEvent("Source File View",this.apiDocs?.className)}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(ie),o.rXU(Q),o.rXU(le))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["ng-api-doc-config"]],decls:7,vars:7,consts:[[1,"api-doc-component",3,"click"],["target","_blank","rel","noopener",3,"href"],[3,"innerHTML"],[3,"ngIf"],[1,"table","table-bordered"],[4,"ngFor","ngForOf"],[1,"col-xs-3"],[1,"col-xs-9"],[1,"api-doc-methods"],[4,"ngIf"]],template:function(te,se){1&te&&(o.j41(0,"div",0),o.bIt("click",function(){return se.trackSourceClick()}),o.j41(1,"h3")(2,"a",1),o.EFF(3),o.k0s()(),o.nrm(4,"p",2),o.DNE(5,Te,6,1,"ng-template",3)(6,dn,6,1,"ng-template",3),o.k0s()),2&te&&(o.R7$(),o.BMQ("id",se.headerAnchor),o.R7$(),o.Mz_("href","https://github.com/valor-software/ngx-bootstrap/tree/development/",null==se.apiDocs?null:se.apiDocs.fileName,"",o.B4B),o.R7$(),o.JRh(null==se.apiDocs?null:se.apiDocs.className),o.R7$(),o.Y8G("innerHTML",null==se.apiDocs?null:se.apiDocs.description,o.npT),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs?null:se.apiDocs.properties)&&(null==se.apiDocs||null==se.apiDocs.properties?null:se.apiDocs.properties.length)),o.R7$(),o.Y8G("ngIf",(null==se.apiDocs?null:se.apiDocs.methods)&&(null==se.apiDocs||null==se.apiDocs.methods?null:se.apiDocs.methods.length)&&se.isShowMethods))},dependencies:[y.Sq,y.bT],encapsulation:2,changeDetection:0})}return M})(),x=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275mod=o.$C({type:M});static#n=this.\u0275inj=o.G2t({imports:[y.MD,Z.j]})}return M})();var $=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],re={clickToLoad:function(M){return we("ctl",M)},devToolsHeight:function(M){return it("devToolsHeight",M)},forceEmbedLayout:function(M){return we("embed",M)},hideDevTools:function(M){return we("hideDevTools",M)},hideExplorer:function(M){return we("hideExplorer",M)},hideNavigation:function(M){return we("hideNavigation",M)},showSidebar:function(M){return"boolean"==typeof(A=M)?"showSidebar="+(A?"1":"0"):"";var A},openFile:function(M){return(A=M,(Array.isArray(A)?A:[A]).filter(function(te){return"string"==typeof te&&""!==te.trim()}).map(function(te){return"file="+encodeURIComponent(te.trim())})).join("&");var A},terminalHeight:function(M){return it("terminalHeight",M)},theme:function(M){return mt("theme",["light","dark"],M)},view:function(M){return mt("view",["preview","editor"],M)}};function we(M,q){return!0===q?M+"=1":""}function it(M,q){return"number"==typeof q&&q>=0&&q<=100?M+"="+Math.round(q):""}function mt(M,q,A){return"string"==typeof A&&q.includes(A)?M+"="+A:""}function dt(M,q){return""+function Ut(M){return void 0===M&&(M={}),"string"==typeof M.origin?M.origin:"https://stackblitz.com"}(q)+M+function Me(M){void 0===M&&(M={});var q=Object.entries(M).map(function(A){var te=A[0],se=A[1];return null!=se&&re.hasOwnProperty(te)?re[te](se):""}).filter(Boolean);return q.length?"?"+q.join("&"):""}(q)}function Kn(M,q){var A=document.createElement("input");return A.type="hidden",A.name=M,A.value=q,A}var pr_openProject=function(M,q){var te,se;te=q,(se=function Vr(M){if(!$.includes(M.template)){var q=$.map(function(se){return"'"+se+"'"}).join(", ");console.warn("Unsupported project.template: must be one of "+q)}var A="node"===M.template,te=document.createElement("form");return te.method="POST",te.setAttribute("style","display:none!important;"),te.appendChild(Kn("project[title]",M.title)),te.appendChild(Kn("project[description]",M.description)),te.appendChild(Kn("project[template]",M.template)),M.dependencies&&(A?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):te.appendChild(Kn("project[dependencies]",JSON.stringify(M.dependencies)))),M.settings&&te.appendChild(Kn("project[settings]",JSON.stringify(M.settings))),Object.keys(M.files).forEach(function(se){"string"==typeof M.files[se]&&te.appendChild(Kn("project[files]["+se+"]",M.files[se]))}),te}(M)).action=dt("/run",te),se.target=function tn(M){return M&&!1===M.newWindow?"_self":"_blank"}(te),document.body.appendChild(se),se.submit(),document.body.removeChild(se)};function Bt(M,q){return`import { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { ${q.moduleName} } from 'ngx-bootstrap/${q.moduleFolder}';\n${"DemoModalWithPopupsComponent"===M?"import { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { PopoverModule } from 'ngx-bootstrap/popover';":""}\n${"DemoDatepickerChangeLocaleComponent"===M?"import { defineLocale } from 'ngx-bootstrap/chronos';\nimport { deLocale, frLocale, plLocale } from 'ngx-bootstrap/locale';\n defineLocale('de', deLocale);\n defineLocale('fr', frLocale);\n defineLocale('pl', plLocale);":""}\n\nimport { ${"DemoModalServiceFromComponent"===M?`${M}, ModalContentComponent`:M} } from './ngx-bootstrap-demo.component'\n@NgModule({\n declarations: [${"DemoModalServiceFromComponent"===M?`${M}, ModalContentComponent`:M}],\n imports: [\n ${q.moduleName}.forRoot(),\n ${"DemoModalWithPopupsComponent"===M?"TooltipModule,\n PopoverModule,":""}\n BrowserAnimationsModule,\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n BrowserModule\n ],\n entryComponents: [${"DemoModalServiceFromComponent"===M?"ModalContentComponent":""}],\n bootstrap: [${M}]\n})\nexport class AppModule {\n}\n`}function sr(M,q,A){return`\n\n
\nThis demo shows functionality of ${q.moduleFolder} from ngx-bootstrap.
\nYou can find the full demo here https://valor-software.com/ngx-bootstrap/#${q.moduleRoute}\n
\n
<${M}>Loading ngx-bootstrap...
`}var Gt=D(39555),bt=D(89079),Sn=D(27e3),at=D(4875),Fn=D(80903);const Yt=["*"];function Qn(M,q){if(1&M&&(o.j41(0,"tab",8)(1,"pre",9),o.EFF(2),o.k0s()()),2&M){const A=o.XpG(2);o.Y8G("customClass","code-tab"),o.R7$(2),o.JRh(A.html)}}function tr(M,q){if(1&M&&(o.j41(0,"tab",10)(1,"pre",11),o.EFF(2),o.k0s()()),2&M){const A=o.XpG(2);o.Y8G("customClass","code-tab"),o.R7$(2),o.JRh(A.ts)}}function nr(M,q){if(1&M&&(o.j41(0,"tab",12)(1,"pre",11),o.EFF(2),o.k0s()()),2&M){const A=o.XpG(2);o.Y8G("customClass","code-tab"),o.R7$(2),o.JRh(A.spec)}}function Yn(M,q){if(1&M&&(o.j41(0,"tab",13)(1,"pre",14),o.EFF(2),o.k0s()()),2&M){const A=o.XpG(2);o.Y8G("customClass","code-tab"),o.R7$(2),o.JRh(A.style)}}function ct(M,q){if(1&M&&(o.j41(0,"tabset"),o.DNE(1,Qn,3,2,"tab",4)(2,tr,3,2,"tab",5)(3,nr,3,2,"tab",6)(4,Yn,3,2,"tab",7),o.k0s()),2&M){const A=o.XpG();o.R7$(),o.Y8G("ngIf",A.html),o.R7$(),o.Y8G("ngIf",A.ts),o.R7$(),o.Y8G("ngIf",A.spec),o.R7$(),o.Y8G("ngIf",A.style)}}let ye=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["ng-sample-box"]],inputs:{ts:"ts",html:"html",spec:"spec",style:"style"},ngContentSelectors:Yt,decls:5,vars:1,consts:[[1,"section","bd-example"],[1,"section"],[1,"item"],[4,"ngIf"],["heading","template",3,"customClass",4,"ngIf"],["heading","component",3,"customClass",4,"ngIf"],["heading","tests",3,"customClass",4,"ngIf"],["heading","style",3,"customClass",4,"ngIf"],["heading","template",3,"customClass"],[1,"prettyprint","linenums","lang-html"],["heading","component",3,"customClass"],[1,"prettyprint","linenums","lang-js"],["heading","tests",3,"customClass"],["heading","style",3,"customClass"],[1,"prettyprint","linenums","lang-css"]],template:function(te,se){1&te&&(o.NAR(),o.j41(0,"div",0),o.SdG(1),o.k0s(),o.j41(2,"div",1)(3,"div",2),o.DNE(4,ct,5,4,"tabset",3),o.k0s()()),2&te&&(o.R7$(4),o.Y8G("ngIf",se.html||se.ts||se.spec||se.style))},dependencies:[y.bT,at.V,Fn.f],encapsulation:2})}return M})();const w=()=>({tab:"overview"});function S(M,q){if(1&M&&o.nrm(0,"p",3),2&M){const A=o.XpG(2);o.Y8G("innerHTML",A.section.description,o.npT)}}function O(M,q){if(1&M){const A=o.RV6();o.j41(0,"a",14),o.bIt("click",function(){o.eBV(A);const se=o.XpG(3).$implicit,Ke=o.XpG(2);return o.Njj(Ke.openStackBlitzDemo(null==se||null==se.component?null:se.component.default,null==se||null==se.html?null:se.html.default))}),o.nrm(1,"img",15),o.k0s()}}function z(M,q){if(1&M&&(o.j41(0,"a",16),o.EFF(1,"#"),o.k0s()),2&M){const A=o.XpG(3).$implicit;o.Y8G("fragment",A.anchor)}}function me(M,q){if(1&M&&(o.j41(0,"a",17),o.nrm(1,"img",18),o.k0s()),2&M){const A=o.XpG(3).$implicit,te=o.XpG(2);o.Y8G("queryParams",o.lJ4(2,w))("fragment",te.initFragment(A.anchor))}}function Ae(M,q){if(1&M&&(o.j41(0,"p",10),o.DNE(1,O,2,0,"a",11)(2,z,2,1,"a",12)(3,me,2,3,"a",13),o.k0s()),2&M){const A=o.XpG(2).$implicit,te=o.XpG(2);o.R7$(),o.Y8G("ngIf","Accessibility"!==A.title&&"examples"!==te.tabName),o.R7$(),o.Y8G("ngIf","examples"!==te.tabName),o.R7$(),o.Y8G("ngIf","Accessibility"!==A.title&&"examples"===te.tabName)}}function xe(M,q){if(1&M&&(o.j41(0,"h3",8),o.EFF(1),o.DNE(2,Ae,4,3,"p",9),o.k0s()),2&M){const A=o.XpG().$implicit,te=o.XpG(2);o.BMQ("id",A.anchor),o.R7$(),o.SpI(" ",A.title," "),o.R7$(),o.Y8G("ngIf",(null==A?null:A.component)||"examples"===te.tabName)}}function ze(M,q){if(1&M&&o.nrm(0,"p",3),2&M){const A=o.XpG().$implicit;o.Y8G("innerHTML",A.description,o.npT)}}function nt(M,q){1&M&&o.eu8(0)}function ut(M,q){if(1&M&&(o.j41(0,"div",4),o.DNE(1,xe,3,3,"h3",5)(2,ze,1,1,"p",1),o.j41(3,"ng-sample-box",6),o.DNE(4,nt,1,0,"ng-container",7),o.k0s()()),2&M){const A=q.$implicit;o.R7$(),o.Y8G("ngIf",A.title),o.R7$(),o.Y8G("ngIf",A.description),o.R7$(),o.Aen(A.style),o.Y8G("ts",null==A||null==A.component?null:A.component.default)("html",null==A||null==A.html?null:A.html.default),o.R7$(),o.Y8G("ngComponentOutlet",A.outlet)}}function Nt(M,q){if(1&M&&(o.qex(0),o.DNE(1,S,1,1,"p",1)(2,ut,5,7,"div",2),o.bVm()),2&M){const A=o.XpG();o.R7$(),o.Y8G("ngIf",A.section.description),o.R7$(),o.Y8G("ngForOf",A.examples)}}let mn=(()=>{class M{constructor(A,te,se){this.section=A,this.route=te,this.examples=A.content,this.moduleData=this.route.snapshot.data&&this.route.snapshot.data[1],this.moduleData.moduleRoute=se.routerState.snapshot.url,this.tabName=se.parseUrl(se.url).queryParams?.tab,se.events.pipe((0,bt.pQ)()).subscribe(Ke=>{Ke instanceof oe.wF&&(this.tabName=se.parseUrl(se.url).queryParams?.tab)})}preventEmptyHrefNav(A){let te=A.target,se="#"===te.getAttribute("href");if(se)A.preventDefault();else if("A"!==te.tagName)for(;te.parentElement&&te!==document.body;){if(se)return void A.preventDefault();te=te.parentElement,se="#"===te.getAttribute("href")}}openStackBlitzDemo(A,te){if(!A||!te)return;const se=function er(M){const q=M.match(/export class \w+/);return q&&q.length&&q[0].split(" ").pop()||null}(A),Ke=function Mn(M){const q=M.match(/selector: '.+'/);return q&&q.length?q[0].substring(q[0].indexOf("'")+1,q[0].lastIndexOf("'")):null}(A),Ct=function Xn(M){const q=M.match(/templateUrl: '.+'/);return q&&q.length?q[0].substring(q[0].indexOf("/")+1,q[0].lastIndexOf("'")):null}(A);if(Ke&&se){const vt={template:"angular-cli",title:"ngx-bootstrap stackblitz demo ",description:"stackblitz demo",files:{"index.html":sr(Ke,this.moduleData,Gt.Aq.stackOverflowConfig()),"styles.css":`body {padding: 30px; position: relative}\n ${"/sortable"===this.moduleData.moduleRoute?".sortable-item {\n padding: 6px 12px;\n margin-bottom: 4px;\n font-size: 14px;\n line-height: 1.4em;\n text-align: center;\n cursor: grab;\n border: 1px solid transparent;\n border-radius: 4px;\n border-color: #adadad;\n }\n\n .sortable-item-active {\n background-color: #e6e6e6;\n box-shadow: inset 0 3px 5px rgba(0,0,0,.125);\n }\n\n .sortable-wrapper {\n min-height: 150px;\n }":""}\n ${"/accordion"===this.moduleData.moduleRoute?".card.customClass,\n.card.customClass .card-header,\n.panel.customClass {\n background-color: #5bc0de;\n color: #fff;\n}\n.panel.customClass .panel-body {\n background-color: #337aa7;\n}":""}`,".angular-cli.json":'{"apps": [{"styles": ["styles.css"]}]}',"main.ts":"import './polyfills';\nimport { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule).then(ref => {\n // Ensure Angular destroys itself on hot reloads.\n if (window['ngRef']) {\n window['ngRef'].destroy();\n }\n window['ngRef'] = ref;\n\n // Otherwise, log the boot error\n}).catch(err => console.error(err));","polyfills.ts":"/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\n * file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n// import 'core-js/es/symbol';\n// import 'core-js/es/object';\n// import 'core-js/es/function';\n// import 'core-js/es/parse-int';\n// import 'core-js/es/parse-float';\n// import 'core-js/es/number';\n// import 'core-js/es/math';\n// import 'core-js/es/string';\n// import 'core-js/es/date';\n// import 'core-js/es/array';\n// import 'core-js/es/regexp';\n// import 'core-js/es/map';\n// import 'core-js/es/set';\nimport 'web-animations-js';\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\n\n/** IE10 and IE11 requires the following to support `@angular/animation`. */\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n\n/** Evergreen browsers require these. **/\nimport 'core-js/es/reflect';\nimport 'core-js/es/reflect';\n\n\n/** ALL Firefox browsers require the following to support `@angular/animation`. **/\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n\n\n/***************************************************************************************************\n * Zone JS is required by Angular itself.\n */\nimport 'zone.j'; // Included with Angular CLI.\n\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n\n/**\n * Date, currency, decimal and percent pipes.\n * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10\n */\n// import 'intl'; // Run `npm install --save intl`.","app/app.module.ts":Bt(se,this.moduleData),"app/ngx-bootstrap-demo.component.ts":this.getTs(A)},dependencies:{"@angular/animations":"latest","web-animations-js":"latest","ngx-bootstrap":"next"}};"DemoDatepickerDateCustomClassesComponent"===se&&(vt.files["app/date-custom-classes.scss"]="::ng-deep .theme-green {\n .bs-datepicker-body {\n table {\n td {\n span.selected {\n background-color: #5cb85c !important;\n }\n }\n }\n }\n}"),vt.files[`app/${Ct}`]=this.getHtml(te),pr_openProject(vt)}}initFragment(A){const te=A.split("-");return te.slice(0,te.length-1).join("-")}getHtml(A){return"/carousel"===this.moduleData.moduleRoute?A.replace(/src="/g,'src="https://valor-software.com/ngx-bootstrap/'):A}getTs(A){return"/carousel"===this.moduleData.moduleRoute?A.replace(/assets/g,"https://valor-software.com/ngx-bootstrap/assets"):A}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(Sn.F),o.rXU(oe.nX),o.rXU(oe.Ix))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["examples"]],hostBindings:function(te,se){1&te&&o.bIt("click",function(Ct){return se.preventEmptyHrefNav(Ct)},!1,o.EBC)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"innerHTML",4,"ngIf"],["class","example-section",4,"ngFor","ngForOf"],[3,"innerHTML"],[1,"example-section"],["class","d-flex justify-content-between",4,"ngIf"],[3,"ts","html"],[4,"ngComponentOutlet"],[1,"d-flex","justify-content-between"],["class","m-0",4,"ngIf"],[1,"m-0"],["title","Open this demo in StackBlitz","href","#","class","stackblitz-link",3,"click",4,"ngIf"],["class","anchor-link d-inline-block","routerLink",".",3,"fragment",4,"ngIf"],["routerLink",".",3,"queryParams","fragment",4,"ngIf"],["title","Open this demo in StackBlitz","href","#",1,"stackblitz-link",3,"click"],["src","assets/images/stackblitz.png","alt","","width","20"],["routerLink",".",1,"anchor-link","d-inline-block",3,"fragment"],["routerLink",".",3,"queryParams","fragment"],["src","assets/images/icons/icon-code.svg","alt","","width","20"]],template:function(te,se){1&te&&o.DNE(0,Nt,3,2,"ng-container",0),2&te&&o.Y8G("ngIf",se.section)},dependencies:[y.OI,y.Sq,y.bT,ye,oe.Wk],encapsulation:2})}return M})(),ar=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275mod=o.$C({type:M});static#n=this.\u0275inj=o.G2t({imports:[y.MD,x,oe.iI,Z.j,oe.iI]})}return M})();function Kt(M,q){if(1&M&&o.nrm(0,"pre",5),2&M){const A=o.XpG(2);o.Y8G("innerHTML",A.section.importInfo,o.npT)}}function Ze(M,q){if(1&M&&o.nrm(0,"pre",6),2&M){const A=o.XpG(2);o.Y8G("innerHTML",A.section.usage.default,o.npT)}}function mr(M,q){1&M&&o.eu8(0)}function qr(M,q){if(1&M&&(o.qex(0),o.DNE(1,mr,1,0,"ng-container",7),o.bVm()),2&M){const A=q.$implicit,te=o.XpG(2);o.R7$(),o.Y8G("ngComponentOutlet",A.outlet)("ngComponentOutletInjector",te.sectionInjections(A))}}function Zn(M,q){if(1&M&&(o.qex(0),o.j41(1,"h2",1),o.EFF(2),o.k0s(),o.DNE(3,Kt,1,1,"pre",2)(4,Ze,1,1,"pre",3)(5,qr,2,2,"ng-container",4),o.bVm()),2&M){const A=o.XpG();o.R7$(),o.Y8G("id",A.section.anchor),o.R7$(),o.JRh(A.section.name),o.R7$(),o.Y8G("ngIf",A.section.importInfo),o.R7$(),o.Y8G("ngIf",A.section.usage),o.R7$(),o.Y8G("ngForOf",A.apiSectionsContent)}}let ho=(()=>{class M{constructor(A,te){this.section=A,this.injector=te,this._injectors=new Map,this.apiSectionsContent=A.content}sectionInjections(A){if(this._injectors.has(A))return this._injectors.get(A);const te=o.zZn.create([{provide:le,useValue:A}],this.injector);return this._injectors.set(A,te),te}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(Sn.F),o.rXU(o.zZn))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["api-sections"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"id"],["class","prettyprint lang-bash prettyprinted",3,"innerHTML",4,"ngIf"],["class","prettyprint lang-typescript",3,"innerHTML",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"prettyprint","lang-bash","prettyprinted",3,"innerHTML"],[1,"prettyprint","lang-typescript",3,"innerHTML"],[4,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(te,se){1&te&&o.DNE(0,Zn,6,5,"ng-container",0),2&te&&o.Y8G("ngIf",se.section)},dependencies:[y.OI,y.Sq,y.bT],encapsulation:2,changeDetection:0})}return M})(),ci=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275mod=o.$C({type:M});static#n=this.\u0275inj=o.G2t({imports:[y.MD,x]})}return M})();D(372),D(65646);var Jr=D(21626),Or=D(18357);let kr=(()=>{class M{constructor(A,te){this.http=A,this.router=te}ngAfterViewInit(){typeof window<"u"&&this.http.get("assets/json/current-version.json").subscribe(({version:A})=>{this.currentVersion=A})}scrollToSection(){this.router.navigate([".","documentation"],{fragment:"getting-started"})}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(Jr.Qq),o.rXU(oe.Ix))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["landing"]],decls:91,vars:0,consts:[[1,"main"],[1,"landing","landing-logo","m-auto"],[1,"container"],[1,"row","flex-column","container-width","text-center"],["data-cypress","sloganBs"],[1,"logo","position-relative","d-block","d-lg-none","mt-3"],["routerLink","/components",1,"d-flex","justify-content-center"],["src","assets/images/logos/ngx-bootstrap-logo.svg","alt","ngx-bootstrap logo"],[1,"button-box","d-flex","justify-content-between"],["routerLink","/documentation",1,"btn","btn-primary","text-white"],["routerLink","/components",1,"btn","btn-outline-primary"],[1,"logo","position-relative","d-none","d-lg-block"],["data-cypress","advantagesBs",1,"landing","landing-advantages","w-100"],[1,"container","container-width","m-auto"],[1,"text-center","text-white"],[1,"row"],[1,"col-12","col-xl-6","d-flex"],[1,"img-holder"],["src","assets/images/icons/advantages-01.svg","alt",""],[1,"txt-holder"],[1,"col-12","col-xl-6","d-flex","flex-wrap"],["src","assets/images/icons/advantages-02.svg","alt",""],["src","assets/images/icons/advantages-03.svg","alt",""],["src","assets/images/icons/advantages-04.svg","alt",""],[1,"landing","landing-additional-inf","w-100"],[1,"container-width-lg","m-auto","d-flex","justify-content-between","mw-100"],[1,"bubble-box"],[1,"bubble","position-relative"],["src","assets/images/logos/valor-logo.svg","alt","valor software logo"],[1,"text-holder"],["href","https://valor-software.com","target","_blank"],["href","https://valor-software.com/services","target","_blank"],["href","https://github.com/valor-software","target","_blank",1,"btn","btn-primary"],[1,"landing","landing-supporting","w-100"],[1,"button-box","d-flex","justify-content-between","w-100"],["target","_blank","href","https://opencollective.com/ngx-bootstrap",1,"btn","btn-primary","text-white"],["target","_blank","href","https://github.com/valor-software/ngx-bootstrap/blob/development/CONTRIBUTING.md",1,"btn","btn-outline-primary"],[1,"img-holder","d-flex","align-items-center","d-none","d-lg-block"],["src","assets/images/macbook_page.png","alt","macbook picture with ngx-bootstrap",1,"mw-100"],[1,"landing-footer"]],template:function(te,se){1&te&&(o.j41(0,"div",0)(1,"section",1)(2,"div",2)(3,"div",3)(4,"h1",4),o.EFF(5,"Develop better. Faster."),o.k0s(),o.j41(6,"div",5)(7,"a",6),o.nrm(8,"img",7),o.k0s()(),o.j41(9,"div",8)(10,"a",9),o.EFF(11,"Get started"),o.k0s(),o.j41(12,"a",10),o.EFF(13,"Documentation"),o.k0s()()(),o.j41(14,"div",11)(15,"a",6),o.nrm(16,"img",7),o.k0s()()()(),o.j41(17,"section",12)(18,"div",13)(19,"h2",14),o.EFF(20,"Benefits of working with us"),o.k0s(),o.j41(21,"div",15)(22,"div",16)(23,"div",17),o.nrm(24,"img",18),o.k0s(),o.j41(25,"div",19)(26,"h4"),o.EFF(27,"Flexible"),o.k0s(),o.j41(28,"p"),o.EFF(29," We put much effort into making ngx-bootstrap modular so you can implement your templates, styles, whatnot. All components are designed with extensibility and adaptivity in mind. You can expect them to work on Mobile and Desktop with the same level of performance. "),o.k0s()()(),o.j41(30,"div",20)(31,"div",17),o.nrm(32,"img",21),o.k0s(),o.j41(33,"div",19)(34,"h4"),o.EFF(35,"Extensible-friendly code"),o.k0s(),o.j41(36,"p"),o.EFF(37," We have incorporated a set of style guides and guidelines to enhance both code maintainability and readability. Also, we always support the latest Angular versions and provide full unit-test coverage. "),o.k0s()()()(),o.j41(38,"div",15)(39,"div",20)(40,"div",17),o.nrm(41,"img",22),o.k0s(),o.j41(42,"div",19)(43,"h4"),o.EFF(44,"Great documentation"),o.k0s(),o.j41(45,"p"),o.EFF(46," Being developers ourselves, we understand the importance of documentation. Well-written and continually updated docs significantly ease up the life of developers and improve overall software quality. We are doing our best to provide you with the most complete and easy-to-understand documentation out there. "),o.k0s()()(),o.j41(47,"div",20)(48,"div",17),o.nrm(49,"img",23),o.k0s(),o.j41(50,"div",19)(51,"h4"),o.EFF(52,"Tons of demos"),o.k0s(),o.j41(53,"p"),o.EFF(54," While working with visually rich libraries, you need to know what you are getting without going through the installation hassle. That is why we have developed a great set of demos for most of the component\u2019s methods. More will follow! "),o.k0s()()()()()(),o.j41(55,"section",24)(56,"div",25)(57,"div",26)(58,"div",27),o.nrm(59,"img",28),o.k0s()(),o.j41(60,"div",29)(61,"h2"),o.EFF(62,"Looking for More?"),o.k0s(),o.j41(63,"p"),o.EFF(64," We can help! If you are looking for a custom theme, new components, or help in migrating your existing designs to ngx-bootstrap, we\u2019ve got you covered. Learn more about "),o.j41(65,"a",30),o.EFF(66,"Valor Software"),o.k0s(),o.EFF(67,", the team behind ngx-bootstrap, and see how we can collaborate on our official "),o.j41(68,"a",31),o.EFF(69,"Valor Software site"),o.k0s(),o.EFF(70,". "),o.k0s(),o.j41(71,"a",32),o.EFF(72,"Get our help"),o.k0s()()()(),o.j41(73,"section",33)(74,"div",25)(75,"div",29)(76,"h2"),o.EFF(77,"Supporting"),o.nrm(78,"br"),o.EFF(79,"ngx-bootstrap"),o.k0s(),o.j41(80,"p"),o.EFF(81,"ngx-bootstrap is an Open Source (MIT Licensed) independent project with ongoing development made possible thanks to the support of our awesome backers. If you\u2019re also willing to show support or simply give back to the Open Source community, please consider becoming a partner. Valor Software employees and contractors are not eligible to use these funds."),o.k0s(),o.j41(82,"div",34)(83,"a",35),o.EFF(84,"Become a sponsor"),o.k0s(),o.j41(85,"a",36),o.EFF(86,"Become a contributor"),o.k0s()()(),o.j41(87,"div",37),o.nrm(88,"img",38),o.k0s()()()(),o.j41(89,"div",39),o.nrm(90,"app-footer"),o.k0s())},dependencies:[oe.Wk,Or.C],encapsulation:2})}return M})();var lr=D(86223);let eo=(()=>{class M{constructor(){this.name="Native Angular widgets for Bootstrap 5 and Bootstrap 4",this.src="https://github.com/valor-software/ngx-bootstrap"}static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["documentation"]],decls:660,vars:16,consts:[["id","content",1,"content-box","d-block","pl-0","ps-0","pe-0","pr-0"],[1,"common-header"],[1,"title-box"],["href","https://getbootstrap.com/docs/5.2","target","_blank"],["href","https://getbootstrap.com/docs/4.0","target","_blank"],[1,"statistic-box"],["href","https://npmjs.org/ngx-bootstrap","target","_blank"],["src","https://img.shields.io/npm/v/ngx-bootstrap/latest.svg","alt","npm latest version"],["src","https://img.shields.io/npm/v/ngx-bootstrap/next.svg","alt","npm next version"],["src","https://img.shields.io/npm/dm/ngx-bootstrap.svg","alt","npm downloads"],["href","https://opencollective.com/ngx-bootstrap","target","_blank"],["src","https://opencollective.com/ngx-bootstrap/tiers/backer/badge.svg?label=backer&color=brightgreen"],[1,"d-flex","links-box"],["href","https://github.com/valor-software/ngx-bootstrap","target","_blank",1,"d-block"],[1,"arrow-link"],["href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY","target","_blank",1,"d-block"],[1,"section"],["routerLink","."],["href","https://github.com/valor-software/ngx-bootstrap/blob/development/CHANGELOG.md","target","_blank"],["href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY","target","_blank"],["routerLink",".","fragment","getting-started"],["routerLink",".","fragment","usage--demo"],["routerLink",".","fragment","supporting-ngx-bootstrap"],["routerLink",".","fragment","installation"],["routerLink",".","fragment","compatibility"],["routerLink",".","fragment","troubleshooting"],["routerLink",".","fragment","contribution"],["routerLink",".","fragment","credits"],["routerLink",".","fragment","license"],["id","getting-started"],["routerLink",".","fragment","getting-started",1,"anchor-link"],["id","usage--demo"],["routerLink",".","fragment","usage--demo",1,"anchor-link"],["routerLink","/components"],["id","supporting-ngx-bootstrap"],["routerLink",".","fragment","supporting-ngx-bootstrap",1,"anchor-link"],["id","installation"],["routerLink",".","fragment","installation",1,"anchor-link"],[1,"prettyprint","lang-js","prettyprinted"],[1,"kwd"],[1,"pln"],[1,"pun"],[1,"str"],[1,"prettyprint","lang-bash","prettyprinted"],[1,"lit"],[1,"typ"],[1,"atn"],[1,"atv"],[1,"prettyprint","prettyprinted"],[1,"com"],[1,"tag"],["id","compatibility"],["routerLink",".","fragment","compatibility",1,"anchor-link"],["href","https://angular.io","target","_blank"],["href","https://getbootstrap.com","target","_blank"],[1,"compatibility","mb-4"],["id","troubleshooting"],["routerLink",".","fragment","troubleshooting",1,"anchor-link"],["href","https://stackoverflow.com/questions/tagged/ngx-bootstrap","target","_blank"],["href","https://github.com/valor-software/ngx-bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue","target","_blank"],["href","https://github.com/valor-software/ngx-bootstrap/issues/new","target","_blank"],["id","contribution"],["routerLink",".","fragment","contribution",1,"anchor-link"],["href","https://github.com/valor-software/ngx-bootstrap/blob/development/CONTRIBUTING.md","target","_blank"],["id","credits"],["routerLink",".","fragment","credits",1,"anchor-link"],["href","https://saucelabs.com/","target","_blank",1,"pr-1","pe-1"],["href","https://saucelabs.com/","target","_blank"],["src","https://avatars2.githubusercontent.com/u/88837?s=200&v=4","alt","Saucelabs","width","31","height","31"],["id","license"],["routerLink",".","fragment","license",1,"anchor-link"],["href","https://github.com/valor-software/ngx-bootstrap/blob/development/LICENSE","target","_blank"]],template:function(te,se){1&te&&(o.j41(0,"demo-section")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h1"),o.EFF(5,"Welcome to ngx-bootstrap!"),o.k0s(),o.j41(6,"p"),o.EFF(7," The best way to quickly integrate "),o.j41(8,"a",3),o.EFF(9,"Bootstrap 5 "),o.k0s(),o.EFF(10," or "),o.j41(11,"a",4),o.EFF(12,"Bootstrap 4 "),o.k0s(),o.EFF(13," Components with Angular "),o.k0s(),o.j41(14,"div",5)(15,"a",6),o.nrm(16,"img",7),o.k0s(),o.j41(17,"a",6),o.nrm(18,"img",8),o.k0s(),o.nrm(19,"br"),o.j41(20,"a",6),o.nrm(21,"img",9),o.k0s(),o.j41(22,"a",10),o.nrm(23,"img",11),o.k0s()()(),o.j41(24,"div",12)(25,"a",13),o.nrm(26,"i",14),o.EFF(27,"Github link"),o.k0s(),o.j41(28,"a",15),o.nrm(29,"i",14),o.EFF(30,"Slack channel "),o.k0s()()(),o.j41(31,"div",16)(32,"h2"),o.EFF(33,"Links"),o.k0s(),o.j41(34,"ul")(35,"li")(36,"a",17),o.EFF(37,"Documentation"),o.k0s()(),o.j41(38,"li")(39,"a",18),o.EFF(40,"Release Notes"),o.k0s()(),o.j41(41,"li")(42,"a",19),o.EFF(43,"Slack Community"),o.k0s()()(),o.j41(44,"h2"),o.EFF(45,"Table of contents"),o.k0s(),o.j41(46,"ol")(47,"li")(48,"a",20),o.EFF(49,"Getting Started"),o.k0s()(),o.j41(50,"li")(51,"a",21),o.EFF(52,"Usage & Demo"),o.k0s()(),o.j41(53,"li")(54,"a",22),o.EFF(55,"Supporting NGX-Bootstrap"),o.k0s()(),o.j41(56,"li")(57,"a",23),o.EFF(58,"Installation"),o.k0s()(),o.j41(59,"li")(60,"a",24),o.EFF(61,"Compatibility"),o.k0s()(),o.j41(62,"li")(63,"a",25),o.EFF(64,"Troubleshooting"),o.k0s()(),o.j41(65,"li")(66,"a",26),o.EFF(67,"Contributing"),o.k0s()(),o.j41(68,"li")(69,"a",27),o.EFF(70,"Credits"),o.k0s()(),o.j41(71,"li")(72,"a",28),o.EFF(73,"License"),o.k0s()()(),o.j41(74,"h2",29),o.EFF(75," Getting Started "),o.j41(76,"a",30),o.EFF(77,"#"),o.k0s()(),o.j41(78,"p"),o.EFF(79," ngx-bootstrap provides Bootstrap components powered by Angular, so you don't need to include original JS components. "),o.k0s(),o.j41(80,"p"),o.EFF(81,"Check our Getting started guide if it's your first project with Angular Bootstrap."),o.k0s(),o.j41(82,"h2",31),o.EFF(83," Usage & Demo "),o.j41(84,"a",32),o.EFF(85,"#"),o.k0s()(),o.j41(86,"p"),o.EFF(87," Bootstrap components for Angular applications, dozens of demos and API documentation could be found here: "),o.j41(88,"a",33),o.EFF(89,"https://valor-software.com/ngx-bootstrap"),o.k0s(),o.EFF(90,". "),o.k0s(),o.j41(91,"h2",34),o.EFF(92," Supporting NGX-Bootstrap "),o.j41(93,"a",35),o.EFF(94,"#"),o.k0s()(),o.j41(95,"p"),o.EFF(96," ngx-bootstrap is an Open Source (MIT Licensed) project, it's an independent project with ongoing development made possible thanks to the support of our awesome backers. If you also would like to show support or simply give back to Open Source community, please consider becoming a backer sponsor of "),o.j41(97,"a",10),o.EFF(98,"ngx-bootstrap on OpenCollective"),o.k0s(),o.EFF(99,". "),o.k0s(),o.j41(100,"p"),o.EFF(101," All donated funds are managed transparently on OpenCollective and will be used solely for compensating work and expenses for contributors. Valor Software employees and contractors are not eligible to use these funds. "),o.k0s(),o.j41(102,"p"),o.EFF(103," What's there for you? Proper recognition and exposure of your name/logo/website on our page. Our main sponsors will be presented under this section! Be the first! "),o.k0s(),o.j41(104,"h2",36),o.EFF(105," Installation "),o.j41(106,"a",37),o.EFF(107,"#"),o.k0s()(),o.j41(108,"h4"),o.EFF(109,"Angular CLI way"),o.k0s(),o.j41(110,"p"),o.EFF(111,"Make sure that your app uses modular approach and you have app.module.ts set as your starting point before you proceed"),o.k0s(),o.j41(112,"pre",38)(113,"span",39),o.EFF(114,"import"),o.k0s(),o.j41(115,"span",40),o.EFF(116," "),o.k0s(),o.j41(117,"span",41),o.EFF(118),o.k0s(),o.j41(119,"span",39),o.EFF(120," platformBrowser "),o.k0s(),o.j41(121,"span",41),o.EFF(122),o.k0s(),o.j41(123,"span",40),o.EFF(124," from "),o.k0s(),o.j41(125,"span",42),o.EFF(126,"'@angular/platform-browser'"),o.k0s(),o.j41(127,"span",41),o.EFF(128,";"),o.k0s(),o.EFF(129,"\n"),o.j41(130,"span",39),o.EFF(131,"import"),o.k0s(),o.j41(132,"span",40),o.EFF(133," "),o.k0s(),o.j41(134,"span",41),o.EFF(135),o.k0s(),o.j41(136,"span",39),o.EFF(137," AppModule "),o.k0s(),o.j41(138,"span",41),o.EFF(139),o.k0s(),o.j41(140,"span",40),o.EFF(141," from "),o.k0s(),o.j41(142,"span",42),o.EFF(143,"'./app.module'"),o.k0s(),o.j41(144,"span",41),o.EFF(145,";"),o.k0s(),o.EFF(146,"\n"),o.j41(147,"span",40),o.EFF(148,"\xa0"),o.k0s(),o.EFF(149,"\n"),o.j41(150,"span",41),o.EFF(151,"platformBrowser().bootstrapModule(AppModule).catch((err) => console.error(err));"),o.k0s(),o.EFF(152,"\n "),o.k0s(),o.j41(153,"p"),o.EFF(154,"Use the Angular CLI ng add command for updating your Angular project."),o.k0s(),o.j41(155,"pre",43)(156,"span",40),o.EFF(157,"ng add ngx-bootstrap"),o.k0s()(),o.j41(158,"h4"),o.EFF(159,"Manual way"),o.k0s(),o.j41(160,"p"),o.EFF(161,"Install "),o.j41(162,"code"),o.EFF(163,"ngx-bootstrap"),o.k0s(),o.EFF(164," from "),o.j41(165,"code"),o.EFF(166,"npm"),o.k0s()(),o.j41(167,"pre",43)(168,"span",40),o.EFF(169,"npm install ngx"),o.k0s(),o.j41(170,"span",41),o.EFF(171,"-"),o.k0s(),o.j41(172,"span",40),o.EFF(173,"bootstrap "),o.k0s(),o.j41(174,"span",41),o.EFF(175,"--"),o.k0s(),o.j41(176,"span",40),o.EFF(177,"save"),o.k0s()(),o.j41(178,"p"),o.EFF(179,"Add wanted package to NgModule imports:"),o.k0s(),o.j41(180,"pre",38),o.EFF(181," "),o.j41(182,"span",39),o.EFF(183,"import"),o.k0s(),o.j41(184,"span",40),o.EFF(185," "),o.k0s(),o.j41(186,"span",41),o.EFF(187),o.k0s(),o.j41(188,"span",39),o.EFF(189," TooltipModule "),o.k0s(),o.j41(190,"span",41),o.EFF(191),o.k0s(),o.j41(192,"span",40),o.EFF(193," from "),o.k0s(),o.j41(194,"span",42),o.EFF(195,"'ngx-bootstrap/tooltip'"),o.k0s(),o.j41(196,"span",41),o.EFF(197,";"),o.k0s(),o.EFF(198,"\n "),o.j41(199,"span",40),o.EFF(200,"\xa0"),o.k0s(),o.EFF(201,"\n "),o.j41(202,"span",44),o.EFF(203,"@NgModule"),o.k0s(),o.j41(204,"span",41),o.EFF(205),o.k0s(),o.EFF(206,"\n "),o.j41(207,"span",40),o.EFF(208," \u2026"),o.k0s(),o.EFF(209,"\n "),o.j41(210,"span",40),o.EFF(211," imports:"),o.k0s(),o.j41(212,"span",40),o.EFF(213," "),o.k0s(),o.j41(214,"span",40),o.EFF(215,"["),o.k0s(),o.j41(216,"span",40),o.EFF(217," "),o.k0s(),o.j41(218,"span",45),o.EFF(219,"TooltipModule"),o.j41(220,"span",40),o.EFF(221,".forRoot(), \u2026"),o.k0s()(),o.j41(222,"span",40),o.EFF(223," "),o.k0s(),o.j41(224,"span",41),o.EFF(225,"]"),o.k0s(),o.EFF(226,"\n "),o.j41(227,"span",40),o.EFF(228," \u2026"),o.k0s(),o.EFF(229,"\n "),o.j41(230,"span",41),o.EFF(231),o.k0s()(),o.j41(232,"p"),o.EFF(233,"Add component to your page:"),o.k0s(),o.j41(234,"pre",38),o.EFF(235," "),o.j41(236,"span",39),o.EFF(237,""),o.k0s(),o.EFF(263,"\n "),o.j41(264,"span",40),o.EFF(265," Simple demo"),o.k0s(),o.EFF(266,"\n "),o.j41(267,"span",39),o.EFF(268,""),o.k0s()(),o.j41(269,"p"),o.EFF(270,"You will need to add bootstrap css:"),o.k0s(),o.j41(271,"ul")(272,"li")(273,"code"),o.EFF(274,"Bootstrap 5"),o.k0s()()(),o.j41(275,"pre",48)(276,"span",49),o.EFF(277,"\x3c!--- index.html --\x3e"),o.k0s(),o.nrm(278,"span",40),o.EFF(279,"\n"),o.j41(280,"span",50),o.EFF(281,""),o.k0s()(),o.j41(314,"ul")(315,"li")(316,"code"),o.EFF(317,"Bootstrap 4"),o.k0s()()(),o.j41(318,"pre",48)(319,"span",49),o.EFF(320,"\x3c!--- index.html --\x3e"),o.k0s(),o.nrm(321,"span",40),o.EFF(322,"\n"),o.j41(323,"span",50),o.EFF(324,""),o.k0s()(),o.j41(357,"h3"),o.EFF(358,"Setting up the bootstrap version manually"),o.k0s(),o.j41(359,"p"),o.EFF(360," As you may know "),o.j41(361,"code"),o.EFF(362,"ngx-bootstrap"),o.k0s(),o.EFF(363," support several "),o.j41(364,"code"),o.EFF(365,"bootstrap.css"),o.k0s(),o.EFF(366," versions at the same time and has automatic tool to guess current used version of library, but if this guess fails you can specify version of "),o.j41(367,"code"),o.EFF(368,"bootstrap.css"),o.k0s(),o.EFF(369," manually. "),o.k0s(),o.j41(370,"p"),o.EFF(371," Sometimes, your project might contain some library that could interfere with the bootstrap framework, or you might have a customized version of bootstrap. The consequence is that the process of determining bootstrap version might be failed, which can break the UI. In that case, we can still set the bootstrap version manually in the bootstrapping component (i.e. "),o.j41(372,"code"),o.EFF(373,"AppComponent"),o.k0s(),o.EFF(374,"): "),o.k0s(),o.j41(375,"pre",38),o.EFF(376," "),o.j41(377,"span",39),o.EFF(378,"import"),o.k0s(),o.j41(379,"span",40),o.EFF(380," "),o.k0s(),o.j41(381,"span",41),o.EFF(382),o.k0s(),o.j41(383,"span",40),o.EFF(384," setTheme "),o.k0s(),o.j41(385,"span",41),o.EFF(386),o.k0s(),o.j41(387,"span",40),o.EFF(388," from "),o.k0s(),o.j41(389,"span",42),o.EFF(390,"'ngx-bootstrap/utils'"),o.k0s(),o.j41(391,"span",41),o.EFF(392,";"),o.k0s(),o.EFF(393,"\n "),o.j41(394,"span",40),o.EFF(395,"\xa0"),o.k0s(),o.EFF(396,"\n "),o.j41(397,"span",44),o.EFF(398,"@Component"),o.k0s(),o.j41(399,"span",41),o.EFF(400),o.k0s(),o.j41(401,"span",40),o.EFF(402,"\u2026"),o.k0s(),o.j41(403,"span",41),o.EFF(404),o.k0s(),o.EFF(405,"\n "),o.j41(406,"span",39),o.EFF(407,"export"),o.k0s(),o.j41(408,"span",40),o.EFF(409," "),o.k0s(),o.j41(410,"span",39),o.EFF(411,"class"),o.k0s(),o.j41(412,"span",40),o.EFF(413," "),o.k0s(),o.j41(414,"span",45),o.EFF(415,"AppComponent"),o.k0s(),o.j41(416,"span",40),o.EFF(417," "),o.k0s(),o.j41(418,"span",41),o.EFF(419),o.k0s(),o.EFF(420,"\n "),o.j41(421,"span",40),o.EFF(422," constructor"),o.k0s(),o.j41(423,"span",41),o.EFF(424,"()"),o.k0s(),o.j41(425,"span",40),o.EFF(426," "),o.k0s(),o.j41(427,"span",41),o.EFF(428),o.k0s(),o.EFF(429,"\n "),o.j41(430,"span",40),o.EFF(431," setTheme"),o.k0s(),o.j41(432,"span",41),o.EFF(433,"("),o.k0s(),o.j41(434,"span",42),o.EFF(435,"'bs5'"),o.k0s(),o.j41(436,"span",41),o.EFF(437,");"),o.k0s(),o.j41(438,"span",40),o.EFF(439," "),o.k0s(),o.j41(440,"span",49),o.EFF(441,"// or 'bs4'"),o.k0s(),o.EFF(442,"\n "),o.j41(443,"span",40),o.EFF(444," "),o.j41(445,"span",40),o.EFF(446,"\u2026"),o.k0s()(),o.EFF(447,"\n "),o.j41(448,"span",40),o.EFF(449," "),o.k0s(),o.j41(450,"span",41),o.EFF(451),o.k0s(),o.EFF(452,"\n "),o.j41(453,"span",41),o.EFF(454),o.k0s()(),o.j41(455,"h3"),o.EFF(456,"How to build lib for development"),o.k0s(),o.j41(457,"p"),o.EFF(458,"First time:"),o.k0s(),o.j41(459,"pre",43),o.EFF(460," "),o.j41(461,"span",40),o.EFF(462,"git clone"),o.k0s(),o.j41(463,"span",40),o.EFF(464," https://github.com/valor-software/ngx-bootstrap.git"),o.k0s(),o.EFF(465,"\n "),o.j41(466,"span",46),o.EFF(467,"cd"),o.k0s(),o.j41(468,"span",40),o.EFF(469," ngx-bootstrap"),o.k0s(),o.EFF(470,"\n "),o.j41(471,"span",40),o.EFF(472,"npm ci"),o.k0s(),o.EFF(473,"\n "),o.j41(474,"span",40),o.EFF(475,"npm run build"),o.k0s(),o.EFF(476,"\n "),o.j41(477,"span",40),o.EFF(478,"npm start"),o.k0s()(),o.j41(479,"h2",51),o.EFF(480," Compatibility "),o.j41(481,"a",52),o.EFF(482,"#"),o.k0s()(),o.j41(483,"p"),o.EFF(484," The only two dependencies are "),o.j41(485,"a",53),o.EFF(486,"Angular"),o.k0s(),o.EFF(487," and "),o.j41(488,"a",54),o.EFF(489,"Bootstrap"),o.k0s(),o.EFF(490," CSS. "),o.k0s(),o.j41(491,"p"),o.EFF(492,"Here is the versions compatibility list:"),o.k0s(),o.j41(493,"table",55)(494,"thead")(495,"tr")(496,"th"),o.EFF(497,"ngx-bootstrap"),o.k0s(),o.j41(498,"th"),o.EFF(499,"Angular"),o.k0s(),o.j41(500,"th"),o.EFF(501,"Bootstrap CSS"),o.k0s()()(),o.j41(502,"tbody")(503,"tr")(504,"th"),o.EFF(505,"18.x.x"),o.k0s(),o.j41(506,"th"),o.EFF(507,"18.x.x"),o.k0s(),o.j41(508,"th"),o.EFF(509,"5.x.x or 4.x.x"),o.k0s()(),o.j41(510,"tr")(511,"th"),o.EFF(512,"12.x.x"),o.k0s(),o.j41(513,"th"),o.EFF(514,"17.x.x"),o.k0s(),o.j41(515,"th"),o.EFF(516,"5.x.x or 4.x.x"),o.k0s()(),o.j41(517,"tr")(518,"th"),o.EFF(519,"11.x.x"),o.k0s(),o.j41(520,"th"),o.EFF(521,"16.x.x"),o.k0s(),o.j41(522,"th"),o.EFF(523,"5.x.x or 4.x.x"),o.k0s()(),o.j41(524,"tr")(525,"th"),o.EFF(526,"10.x.x"),o.k0s(),o.j41(527,"th"),o.EFF(528,"15.x.x"),o.k0s(),o.j41(529,"th"),o.EFF(530,"5.x.x or 4.x.x"),o.k0s()(),o.j41(531,"tr")(532,"th"),o.EFF(533,"9.0.0"),o.k0s(),o.j41(534,"th"),o.EFF(535,"14.x.x"),o.k0s(),o.j41(536,"th"),o.EFF(537,"5.x.x or 4.x.x or 3.x.x"),o.k0s()(),o.j41(538,"tr")(539,"th"),o.EFF(540,"8.0.0"),o.k0s(),o.j41(541,"th"),o.EFF(542,"12.x.x - 13.x.x"),o.k0s(),o.j41(543,"th"),o.EFF(544,"5.x.x or 4.x.x or 3.x.x"),o.k0s()(),o.j41(545,"tr")(546,"th"),o.EFF(547,"7.1.0"),o.k0s(),o.j41(548,"th"),o.EFF(549,"11.x.x - 12.x.x"),o.k0s(),o.j41(550,"th"),o.EFF(551,"5.x.x or 4.x.x or 3.x.x"),o.k0s()(),o.j41(552,"tr")(553,"th"),o.EFF(554,"7.0.0"),o.k0s(),o.j41(555,"th"),o.EFF(556,"11.x.x - 12.x.x"),o.k0s(),o.j41(557,"th"),o.EFF(558,"3.x.x or 4.x.x"),o.k0s()(),o.j41(559,"tr")(560,"th"),o.EFF(561,"6.0.0"),o.k0s(),o.j41(562,"th"),o.EFF(563,"9.x.x - 10.x.x"),o.k0s(),o.j41(564,"th"),o.EFF(565,"3.x.x or 4.x.x"),o.k0s()(),o.j41(566,"tr")(567,"th"),o.EFF(568,"5.6.x"),o.k0s(),o.j41(569,"th"),o.EFF(570,"7.x.x - 9.1.0"),o.k0s(),o.j41(571,"th"),o.EFF(572,"3.x.x or 4.x.x"),o.k0s()(),o.j41(573,"tr")(574,"th"),o.EFF(575,"5.0.0 - 5.6.0"),o.k0s(),o.j41(576,"th"),o.EFF(577,"7.x.x - 8.x.x"),o.k0s(),o.j41(578,"th"),o.EFF(579,"3.x.x or 4.x.x"),o.k0s()(),o.j41(580,"tr")(581,"th"),o.EFF(582,"4.x.x"),o.k0s(),o.j41(583,"th"),o.EFF(584,"6.x.x - 7.x.x"),o.k0s(),o.j41(585,"th"),o.EFF(586,"3.x.x or 4.x.x"),o.k0s()(),o.j41(587,"tr")(588,"th"),o.EFF(589,"3.x.x"),o.k0s(),o.j41(590,"th"),o.EFF(591,"6.x.x - 7.x.x"),o.k0s(),o.j41(592,"th"),o.EFF(593,"3.x.x or 4.x.x"),o.k0s()(),o.j41(594,"tr")(595,"th"),o.EFF(596,"2.x.x"),o.k0s(),o.j41(597,"th"),o.EFF(598,"2.x.x - 4.x.x"),o.k0s(),o.j41(599,"th"),o.EFF(600,"3.x.x or 4.x.x"),o.k0s()(),o.j41(601,"tr")(602,"th"),o.EFF(603,"1.x.x"),o.k0s(),o.j41(604,"th"),o.EFF(605,"2.x.x"),o.k0s(),o.j41(606,"th"),o.EFF(607,"3.x.x or 4.x.x"),o.k0s()()()(),o.j41(608,"h2",56),o.EFF(609," Troubleshooting "),o.j41(610,"a",57),o.EFF(611,"#"),o.k0s()(),o.j41(612,"p"),o.EFF(613,"So if you are in trouble, here's where you can look for help."),o.k0s(),o.j41(614,"p"),o.EFF(615," The best place to ask questions is on "),o.j41(616,"a",58),o.EFF(617,"StackOverflow (under the ngx-bootstrap tag)"),o.k0s(),o.EFF(618," You can also join "),o.j41(619,"a",19),o.EFF(620,"our Slack channel"),o.k0s(),o.EFF(621," and link your stackoverflow question there. But try to avoid asking generic help questions directly on Slack since they can easily get lost in the chat. You can also "),o.j41(622,"a",59),o.EFF(623,"search among the existing GitHub issues"),o.k0s(),o.EFF(624,". "),o.k0s(),o.j41(625,"p"),o.EFF(626," If, "),o.j41(627,"b"),o.EFF(628,"and only if"),o.k0s(),o.EFF(629,", none of the above helped, please open a "),o.j41(630,"a",60),o.EFF(631,"new issue"),o.k0s()(),o.j41(632,"h2",61),o.EFF(633," Contribution "),o.j41(634,"a",62),o.EFF(635,"#"),o.k0s()(),o.j41(636,"p"),o.EFF(637," Are very welcome! And remember, contribution is not only PRs and code, but any help with docs or helping other developers to solve issues are very appreciated! Thanks in advance! "),o.k0s(),o.j41(638,"p"),o.EFF(639," Please read our "),o.j41(640,"a",63),o.EFF(641,"contribution guidelines"),o.k0s(),o.EFF(642,". "),o.k0s(),o.j41(643,"h3",64),o.EFF(644," Credits "),o.j41(645,"a",65),o.EFF(646,"#"),o.k0s()(),o.j41(647,"p"),o.EFF(648," Crossbrowser testing sponsored by "),o.j41(649,"a",66),o.EFF(650,"Saucelabs"),o.k0s(),o.j41(651,"a",67),o.nrm(652,"img",68),o.k0s()(),o.j41(653,"h3",69),o.EFF(654," License "),o.j41(655,"a",70),o.EFF(656,"#"),o.k0s()(),o.j41(657,"p")(658,"a",71),o.EFF(659,"MIT"),o.k0s()()()()()),2&te&&(o.R7$(118),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(13),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(48),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(14),o.SpI("(","{",""),o.R7$(26),o.SpI("","}",")"),o.R7$(151),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(14),o.SpI("(","{",""),o.R7$(4),o.SpI("","}",")"),o.R7$(15),o.JRh("{"),o.R7$(9),o.JRh("{"),o.R7$(23),o.JRh("}"),o.R7$(3),o.JRh("}"))},dependencies:[oe.Wk,lr.q],encapsulation:2})}return M})();function Ur(M,q){if(1&M&&(o.j41(0,"div",35)(1,"a",36)(2,"div",37),o.nrm(3,"img",38),o.k0s(),o.j41(4,"div",39),o.EFF(5),o.k0s()()()),2&M){const A=q.$implicit;o.R7$(),o.FS9("href",A.link,o.B4B),o.R7$(),o.AVh("overflow-hidden",A.scale),o.R7$(),o.AVh("img-scale",A.scale),o.FS9("src",A.logo,o.B4B),o.Mz_("alt","",A.name," logo"),o.R7$(2),o.JRh(A.description)}}let yr=(()=>{class M{constructor(){this.name="Native Angular widgets for Bootstrap 5 and Bootstrap 4 - Discover more",this.src="https://github.com/valor-software/ngx-bootstrap",this.companies=[{logo:"https://www.lumeer.io/wp-content/themes/lumeer/assets/img/logo-big.svg",name:"Lumeer",description:"Easy visual tool for project and team management, that covers all your needs",link:"https://www.lumeer.io/"},{logo:"https://user-images.githubusercontent.com/663563/70622944-3eb68600-1c1d-11ea-82d3-7ccbd75befe8.png",name:"Sustainablebuildings",description:"SaaS product that give users insight in their power, gas consumption and other data",link:"https://sustainablebuildings.nl"},{logo:"https://dxc.scene7.com/is/image/dxc/DellTech_1050x1050?qlt=90&wid=1800&ts=1637166138311&$square_desktop$&dpr=off",name:"Dell EMC US",description:"Data Storage, Cloud, Converged and Data Protection",link:"https://www.dellemc.com/en-us/index.htm",scale:!0},{logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Soci%C3%A9t%C3%A9_G%C3%A9n%C3%A9rale.svg/279px-Soci%C3%A9t%C3%A9_G%C3%A9n%C3%A9rale.svg.png",name:"Societe Generale Group",description:"The Bank serving 31 million clients worldwide",link:"https://www.societegenerale.com/en/home"},{logo:"http://www.azerothcore.org/images/logo.png",name:"AzerothCore",description:"AzerothCore, a no-profit organisation composed by volunteers who have a passion for open source",link:"http://www.azerothcore.org/"},{logo:"https://static.developerhub.io/landing/images/logo-92a931e8f4120d8a7246ea0247865ab5.svg",name:"DeveloperHub",description:"DeveloperHub.io - Hosted Documentation Portals for Product And API Docs",link:"https://developerhub.io"},{logo:"https://www.inmopc.com/img/products/acuerdos-trovimap.jpg",name:"Trovimap",description:"Trovimap - Houses / Apartments / Locals for sale or rent",link:"https://trovimap.com/"},{logo:"https://www.atmetis.nl/wp-content/uploads/2017/08/cropped-logo-atmetis-tagline-rgb1500px-1.png",name:"AtMetis",description:"Internal web-application for AtMetis - assessment company from Netherlands",link:"https://www.atmetis.nl/"},{logo:"https://www.pramati.com/wp-content/themes/twentynineteen-child/images/logo.svg",name:"Pramati Technologies Private Limited",description:"Pramati - Independent, innovative technology companies focused on\nprofitable, well-defined markets",link:"https://www.pramati.com/"},{logo:"https://res.cloudinary.com/crunchbase-production/image/upload/c_lpad,h_170,w_170,f_auto,b_white,q_auto:eco/v1484678055/ectxiezxgzm3srv2jkvh.png",name:"Employes",description:"Employes is a dutch based payroll-provider that offers a unique modern way to pay employees.\n",link:"https://app.employes.nl/"},{logo:"https://easi.net/sites/default/files/styles/gallery_image/public/2019-05/EASI-color.png",name:"EASI",description:"EASI is a cloud, security & software provider offering management applications, professional cloud & security solutions and IT infrastructure services.",link:"https://easi.net/en"}]}static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["discover"]],decls:111,vars:1,consts:[[1,"common-header"],[1,"title-box"],["href","https://getbootstrap.com/docs/5.1","target","_blank"],["href","https://getbootstrap.com/docs/4.0"],[1,"statistic-box"],["href","https://npmjs.org/ngx-bootstrap","target","_blank"],["src","https://img.shields.io/npm/v/ngx-bootstrap/latest.svg","alt","npm latest version"],["src","https://img.shields.io/npm/v/ngx-bootstrap/next.svg","alt","npm next version"],["src","https://img.shields.io/npm/dm/ngx-bootstrap.svg","alt","npm downloads"],["href","https://opencollective.com/ngx-bootstrap","target","_blank"],["src","https://opencollective.com/ngx-bootstrap/tiers/backer/badge.svg?label=backer&color=brightgreen"],[1,"d-flex","links-box"],["href","https://github.com/valor-software/ngx-bootstrap","target","_blank",1,"d-block"],[1,"arrow-link"],["href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY","target","_blank",1,"d-block"],["routerLink",".","fragment","users"],["routerLink",".","fragment","releases"],["routerLink",".","fragment","changelog"],["routerLink",".","fragment","community"],["id","users"],[1,"pln"],["href","https://github.com/valor-software/ngx-bootstrap/issues/5168","target","_blank"],["href","https://github.com/valor-software/ngx-bootstrap/network/dependents","target","_blank"],[1,"container"],[1,"row"],["class","col-xl-6 col-md-12 col-sm-12 col-xs-12 company-card",4,"ngFor","ngForOf"],["id","releases"],["target","_blank","href","#/documentation#compatibility"],["target","_blank","href","https://github.com/valor-software/ngx-bootstrap/milestones"],["id","changelog"],["target","_blank","href","https://github.com/valor-software/ngx-bootstrap/blob/development/CHANGELOG.md"],["id","community"],["target","_blank","href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY"],["target","_blank","href","https://stackoverflow.com/questions/tagged/ngx-bootstrap"],["href","https://twitter.com/valorkin","target","_blank"],[1,"col-xl-6","col-md-12","col-sm-12","col-xs-12","company-card"],["target","_blank",1,"company-info-wrapper","overflow-hidden",3,"href"],[1,"logo-name"],[3,"src","alt"],[1,"company-description"]],template:function(te,se){1&te&&(o.j41(0,"demo-section")(1,"div",0)(2,"div",1)(3,"h1"),o.EFF(4,"Welcome to ngx-bootstrap!"),o.k0s(),o.j41(5,"p"),o.EFF(6," The best way to quickly integrate "),o.j41(7,"a",2),o.EFF(8,"Bootstrap 5 "),o.k0s(),o.EFF(9," or "),o.j41(10,"a",3),o.EFF(11,"Bootstrap 4 "),o.k0s(),o.EFF(12," Components with Angular "),o.k0s(),o.j41(13,"div",4)(14,"a",5),o.nrm(15,"img",6),o.k0s(),o.j41(16,"a",5),o.nrm(17,"img",7),o.k0s(),o.nrm(18,"br"),o.j41(19,"a",5),o.nrm(20,"img",8),o.k0s(),o.j41(21,"a",9),o.nrm(22,"img",10),o.k0s()()(),o.j41(23,"div",11)(24,"a",12),o.nrm(25,"i",13),o.EFF(26,"Github link"),o.k0s(),o.j41(27,"a",14),o.nrm(28,"i",13),o.EFF(29,"Slack channel "),o.k0s()()(),o.j41(30,"h2"),o.EFF(31,"Table of contents"),o.k0s(),o.j41(32,"ol")(33,"li")(34,"a",15),o.EFF(35,"Who is using ngx-bootstrap"),o.k0s()(),o.j41(36,"li")(37,"a",16),o.EFF(38,"Versioning and Releases"),o.k0s()(),o.j41(39,"li")(40,"a",17),o.EFF(41,"Changelog"),o.k0s()(),o.j41(42,"li")(43,"a",18),o.EFF(44,"Community"),o.k0s()()(),o.j41(45,"h2",19),o.EFF(46,"Who is using "),o.j41(47,"span",20),o.EFF(48,"ngx-bootstrap"),o.k0s()(),o.j41(49,"p"),o.EFF(50," Some time ago, we've started to investigate "),o.j41(51,"a",21),o.EFF(52,"companies, which using library ngx-bootstrap"),o.k0s(),o.EFF(53," in their projects. "),o.k0s(),o.j41(54,"p"),o.EFF(55," We know, that for now, we have more than "),o.j41(56,"a",22),o.EFF(57,"60000 dependents"),o.k0s(),o.EFF(58,", but let's see who are they: "),o.k0s(),o.j41(59,"div",23)(60,"div",24),o.DNE(61,Ur,6,9,"div",25),o.k0s()(),o.nrm(62,"br"),o.j41(63,"div"),o.EFF(64," If your company also using ngx-bootstrap and you want to be in this list: just add an appropriate comment to "),o.j41(65,"a",21),o.EFF(66,"this investigation issue: 5168."),o.k0s()(),o.j41(67,"h2",26),o.EFF(68,"Versioning and Releases"),o.k0s(),o.j41(69,"div"),o.EFF(70," We make all possible to make ngx-bootstrap wide-compatible. Compatibility table you can find in the "),o.j41(71,"a",27),o.EFF(72,"documentation"),o.k0s(),o.EFF(73,". "),o.k0s(),o.j41(74,"div"),o.EFF(75," All our issues , enhancements, feature requests, which would be taken into work first you can find in the nearest "),o.j41(76,"a",28),o.EFF(77,"Milestone"),o.k0s(),o.EFF(78,". "),o.k0s(),o.j41(79,"h2",29),o.EFF(80,"Changelog"),o.k0s(),o.j41(81,"p"),o.EFF(82," All notable changes are described in the "),o.j41(83,"a",30),o.EFF(84,"CHANGELOG.md"),o.k0s(),o.EFF(85," file. "),o.k0s(),o.j41(86,"h2",31),o.EFF(87,"Community"),o.k0s(),o.j41(88,"p"),o.EFF(89," Chat with us on "),o.j41(90,"a",32),o.EFF(91,"Slack"),o.k0s(),o.EFF(92,". "),o.k0s(),o.j41(93,"p"),o.EFF(94," For help using NGX-bootstrap, ask on "),o.j41(95,"a",33),o.EFF(96,"StackOverflow"),o.k0s(),o.EFF(97," using the tag "),o.j41(98,"b"),o.EFF(99,"ngx-bootstrap"),o.k0s(),o.EFF(100,". "),o.k0s(),o.j41(101,"p"),o.EFF(102," Follow our core team member "),o.j41(103,"a",34),o.EFF(104,"@valorkin"),o.k0s(),o.EFF(105," on Twitter. "),o.k0s(),o.j41(106,"p"),o.EFF(107," If you also would like to show support or simply give back to Open Source community, please consider becoming a backer sponsor of ngx-bootstrap on "),o.j41(108,"a",9),o.EFF(109,"OpenCollective"),o.k0s(),o.EFF(110,". "),o.k0s()()),2&te&&(o.R7$(61),o.Y8G("ngForOf",se.companies))},dependencies:[y.Sq,oe.Wk,lr.q],styles:[".company-card[_ngcontent-%COMP%]{height:150px;padding:8px 0}.company-card[_ngcontent-%COMP%] .logo-name[_ngcontent-%COMP%]{padding:16px}.company-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:125px}.company-card[_ngcontent-%COMP%] img.img-scale[_ngcontent-%COMP%]{transform:scale(1.5)}.company-card[_ngcontent-%COMP%] .company-info-wrapper[_ngcontent-%COMP%]{height:100%;border:1px solid lightgray;border-radius:4px;margin:8px;display:flex;flex-direction:row;align-items:center;padding-right:8px;text-transform:none;color:inherit}"]})}return M})(),to=(()=>{class M{constructor(){this.name="Schematics of ngx-bootstrap",this.src="https://github.com/valor-software/ngx-bootstrap"}static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["schematics"]],decls:265,vars:8,consts:[["id","content",1,"content-box","d-block","pl-0","ps-0","pe-0","pr-0"],[1,"common-header"],[1,"title-box"],["href","https://getbootstrap.com/docs/5.2","target","_blank"],["href","https://getbootstrap.com/docs/4.0"],[1,"statistic-box"],["href","https://npmjs.org/ngx-bootstrap","target","_blank"],["src","https://img.shields.io/npm/v/ngx-bootstrap/latest.svg","alt","npm latest version"],["src","https://img.shields.io/npm/v/ngx-bootstrap/next.svg","alt","npm next version"],["src","https://img.shields.io/npm/dm/ngx-bootstrap.svg","alt","npm downloads"],["href","https://opencollective.com/ngx-bootstrap","target","_blank"],["src","https://opencollective.com/ngx-bootstrap/tiers/backer/badge.svg?label=backer&color=brightgreen"],[1,"d-flex","links-box"],["href","https://github.com/valor-software/ngx-bootstrap","target","_blank",1,"d-block"],[1,"arrow-link"],["href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY","target","_blank",1,"d-block"],[1,"section"],["id","getting-started"],[1,"prettyprint","lang-bash","prettyprinted"],[1,"pln"],["routerLink","/documentation","fragment","installation"],["id","installation"],["id","style_updates"],[1,"prettyprint","lang-js","prettyprinted"],[1,"kwd"],[1,"pun"],[1,"lit"],["routerLink","./","fragment","installation"],["routerLink","./","fragment","style_updates"]],template:function(te,se){1&te&&(o.j41(0,"demo-section")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h1"),o.EFF(5,"Welcome to ngx-bootstrap!"),o.k0s(),o.j41(6,"p"),o.EFF(7," The best way to quickly integrate "),o.j41(8,"a",3),o.EFF(9,"Bootstrap 5 "),o.k0s(),o.EFF(10," or "),o.j41(11,"a",4),o.EFF(12,"Bootstrap 4 "),o.k0s(),o.EFF(13," Components with Angular "),o.k0s(),o.j41(14,"div",5)(15,"a",6),o.nrm(16,"img",7),o.k0s(),o.j41(17,"a",6),o.nrm(18,"img",8),o.k0s(),o.nrm(19,"br"),o.j41(20,"a",6),o.nrm(21,"img",9),o.k0s(),o.j41(22,"a",10),o.nrm(23,"img",11),o.k0s()()(),o.j41(24,"div",12)(25,"a",13),o.nrm(26,"i",14),o.EFF(27,"Github link"),o.k0s(),o.j41(28,"a",15),o.nrm(29,"i",14),o.EFF(30,"Slack channel "),o.k0s()()(),o.j41(31,"section",16)(32,"h2",17),o.EFF(33,"Schematics"),o.k0s()(),o.j41(34,"section",16)(35,"p"),o.EFF(36," The ngx-bootstrap library contains Angular Cli Schematics to allow easier installation. You can add ngx-bootstrap with one simple command. "),o.k0s(),o.j41(37,"pre",18)(38,"span",19),o.EFF(39,"ng add ngx-bootstrap"),o.k0s()(),o.j41(40,"p"),o.EFF(41," Alternative installation methods can be found "),o.j41(42,"a",20),o.EFF(43,"there"),o.k0s()(),o.j41(44,"p"),o.EFF(45,"When you install ngx-bootstrap with Angular Cli Schematics you will get such updates:"),o.k0s(),o.j41(46,"ul",21)(47,"li")(48,"p")(49,"code"),o.EFF(50,"package.json"),o.k0s()(),o.j41(51,"p"),o.EFF(52," List of dependencies will be updated with 2 new packages "),o.j41(53,"code"),o.EFF(54,'"bootstrap": "^5.2.3"'),o.k0s(),o.EFF(55,", "),o.j41(56,"code"),o.EFF(57,'"ngx-bootstrap": "10.x.x"'),o.k0s(),o.EFF(58,". After packages will be installed and node_modules folder will be updated also. "),o.k0s()(),o.j41(59,"li",22)(60,"p"),o.EFF(61," Depending on which style extension is used in the project, schematics will add necessary imports or styles links. It, as expected, allows the use SCSS or CSS extensions. "),o.k0s(),o.j41(62,"p"),o.EFF(63,"In case CSS extension - "),o.j41(64,"code"),o.EFF(65,"angular.json"),o.k0s(),o.EFF(66," file will be updated."),o.k0s(),o.j41(67,"pre",23)(68,"span",24),o.EFF(69,'"styles"'),o.k0s(),o.j41(70,"span",25),o.EFF(71,": ["),o.k0s(),o.EFF(72,'\n "'),o.j41(73,"span",26),o.EFF(74,"./node_modules/bootstrap/dist/css/bootstrap.min.css"),o.k0s(),o.EFF(75,'",\n "'),o.j41(76,"span",26),o.EFF(77,"./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css"),o.k0s(),o.EFF(78,'",\n '),o.j41(79,"span",19),o.EFF(80," \u2026"),o.k0s(),o.EFF(81,"\n"),o.j41(82,"span",25),o.EFF(83,"]"),o.k0s(),o.EFF(84,"\n "),o.k0s(),o.j41(85,"p"),o.EFF(86," In case SCSS extension - for updating will be used main style file (standard ex. "),o.j41(87,"code"),o.EFF(88,"styles.scss"),o.k0s(),o.EFF(89,"). "),o.k0s(),o.j41(90,"pre",23),o.EFF(91,"/* Importing Bootstrap SCSS file. */\n"),o.j41(92,"span",24),o.EFF(93,"@import"),o.k0s(),o.EFF(94,'"'),o.j41(95,"span",26),o.EFF(96,"~bootstrap/scss/bootstrap"),o.k0s(),o.EFF(97,'";\n/* Importing Datepicker SCSS file. */\n'),o.j41(98,"span",24),o.EFF(99,"@import"),o.k0s(),o.EFF(100,'"'),o.j41(101,"span",26),o.EFF(102,"node_modules/ngx-bootstrap/datepicker/bs-datepicker"),o.k0s(),o.EFF(103,'";\n '),o.k0s(),o.j41(104,"p"),o.EFF(105," If the project will not have any style file or project will not have style files with available extensions - project will be updated with default CSS extension (first case). "),o.k0s()(),o.j41(106,"li")(107,"p"),o.EFF(108," The project's main module (standard ex. "),o.j41(109,"code"),o.EFF(110,"app.module.ts"),o.k0s(),o.EFF(111,") will be updated with import of "),o.j41(112,"code"),o.EFF(113,"BrowserAnimationsModule"),o.k0s(),o.EFF(114,", if it has not been previously imported. "),o.k0s(),o.j41(115,"pre",23),o.EFF(116,"// added import of BrowserAnimationsModule to app.module.ts by ngx-bootstrap schematics\n"),o.j41(117,"span",24),o.EFF(118,"import "),o.k0s(),o.j41(119,"span",25),o.EFF(120),o.k0s(),o.j41(121,"span",26),o.EFF(122," BrowserAnimationsModule "),o.k0s(),o.j41(123,"span",25),o.EFF(124),o.k0s(),o.j41(125,"span",24),o.EFF(126," from "),o.k0s(),o.j41(127,"span"),o.EFF(128,"'@angular/platform-browser/animations';"),o.k0s(),o.EFF(129,"\n\n@NgModule("),o.j41(130,"span",25),o.EFF(131),o.k0s(),o.EFF(132,"\n declarations: [\n AppComponent\n ],\n "),o.j41(133,"span",24),o.EFF(134,"imports"),o.k0s(),o.EFF(135,": [\n "),o.j41(136,"span",19),o.EFF(137," \u2026"),o.k0s(),o.EFF(138,"\n "),o.j41(139,"span",26),o.EFF(140,"BrowserAnimationsModule"),o.k0s(),o.EFF(141,",\n ],\n providers: [],\n bootstrap: [AppComponent]\n "),o.j41(142,"span",25),o.EFF(143),o.k0s(),o.EFF(144,")\n "),o.k0s()()()(),o.j41(145,"section",16)(146,"p"),o.EFF(147," ngx-bootstrap's "),o.j41(148,"code"),o.EFF(149,"ng add"),o.k0s(),o.EFF(150," schematic allows the easy installation. Additionally specific modules can be installed directly to a module with the following flag. "),o.k0s(),o.j41(151,"pre",18)(152,"span",19),o.EFF(153,"ng add ngx-bootstrap --component accordion"),o.k0s()(),o.j41(154,"p"),o.EFF(155,"Property "),o.j41(156,"code"),o.EFF(157,"component"),o.k0s(),o.EFF(158," accepts name of component which should be added into project."),o.k0s(),o.j41(159,"ul")(160,"li")(161,"p"),o.EFF(162," If ngx-bootstrap has been installed previously, in this case will be updated only project's main file (standard ex. "),o.j41(163,"code"),o.EFF(164,"app.module.ts"),o.k0s(),o.EFF(165,") "),o.k0s(),o.j41(166,"pre",23),o.EFF(167,"// added import of AccordionModule to app.module.ts by ngx-bootstrap schematics\n"),o.j41(168,"span",24),o.EFF(169,"import "),o.k0s(),o.j41(170,"span",25),o.EFF(171),o.k0s(),o.j41(172,"span",26),o.EFF(173," AccordionModule "),o.k0s(),o.j41(174,"span",25),o.EFF(175),o.k0s(),o.j41(176,"span",24),o.EFF(177," from "),o.k0s(),o.j41(178,"span"),o.EFF(179,"'ngx-bootstrap/accordion';"),o.k0s(),o.EFF(180,"\n\n@NgModule("),o.j41(181,"span",25),o.EFF(182),o.k0s(),o.EFF(183,"\n declarations: [\n AppComponent\n ],\n "),o.j41(184,"span",24),o.EFF(185,"imports"),o.k0s(),o.EFF(186,": [\n "),o.j41(187,"span",19),o.EFF(188," \u2026"),o.k0s(),o.EFF(189,"\n "),o.j41(190,"span",26),o.EFF(191,"AccordionModule"),o.k0s(),o.EFF(192,",\n ],\n bootstrap: [AppComponent]\n "),o.j41(193,"span",25),o.EFF(194),o.k0s(),o.EFF(195,")\n "),o.k0s()(),o.j41(196,"li"),o.EFF(197," If library hasn't been installed before updates will include changes from "),o.j41(198,"a",27),o.EFF(199,"Installation"),o.k0s(),o.EFF(200," also. "),o.j41(201,"p"),o.EFF(202,"All available values for property "),o.j41(203,"code"),o.EFF(204,"component"),o.k0s(),o.EFF(205," are:"),o.k0s(),o.j41(206,"ul")(207,"li"),o.EFF(208,"accordion"),o.k0s(),o.j41(209,"li"),o.EFF(210,"alerts"),o.k0s(),o.j41(211,"li"),o.EFF(212,"buttons"),o.k0s(),o.j41(213,"li"),o.EFF(214,"carousel"),o.k0s(),o.j41(215,"li"),o.EFF(216,"collapse"),o.k0s(),o.j41(217,"li"),o.EFF(218,"datepicker"),o.k0s(),o.j41(219,"li"),o.EFF(220,"dropdowns"),o.k0s(),o.j41(221,"li"),o.EFF(222,"modals"),o.k0s(),o.j41(223,"li"),o.EFF(224,"pagination"),o.k0s(),o.j41(225,"li"),o.EFF(226,"popover"),o.k0s(),o.j41(227,"li"),o.EFF(228,"progressbar"),o.k0s(),o.j41(229,"li"),o.EFF(230,"rating"),o.k0s(),o.j41(231,"li"),o.EFF(232,"sortable"),o.k0s(),o.j41(233,"li"),o.EFF(234,"tabs"),o.k0s(),o.j41(235,"li"),o.EFF(236,"timepicker"),o.k0s(),o.j41(237,"li"),o.EFF(238,"tooltip"),o.k0s(),o.j41(239,"li"),o.EFF(240,"typeahead"),o.k0s()()()(),o.j41(241,"p")(242,"strong"),o.EFF(243,"Note:"),o.k0s(),o.EFF(244," Styles for datepicker will be added only if you add all library or use property "),o.j41(245,"code"),o.EFF(246,"component"),o.k0s(),o.EFF(247," with datepicker "),o.k0s(),o.j41(248,"p"),o.EFF(249,"More information for each of the components you can find in "),o.j41(250,"strong"),o.EFF(251,"Components"),o.k0s(),o.EFF(252,"."),o.k0s(),o.j41(253,"p"),o.EFF(254," One more property which can be used with ngx-bootstrap schematics is "),o.j41(255,"code"),o.EFF(256,"stylesExtension"),o.k0s(),o.EFF(257,". This property accepts preferred style extension and update project regarding "),o.j41(258,"a",28),o.EFF(259,"these use cases"),o.k0s()(),o.j41(260,"p"),o.EFF(261,"For more information ngx-bootstrap's schematics you can always use the help command"),o.k0s(),o.j41(262,"pre",18)(263,"span",19),o.EFF(264,"ng add ngx-bootstrap --help"),o.k0s()()()()()),2&te&&(o.R7$(120),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(7),o.JRh("{"),o.R7$(12),o.JRh("}"),o.R7$(28),o.JRh("{"),o.R7$(4),o.JRh("}"),o.R7$(7),o.JRh("{"),o.R7$(12),o.JRh("}"))},dependencies:[oe.Wk,lr.q],encapsulation:2})}return M})();D(2293);var po=D(63972),At=D(62551),$r=D(87516);function ro(M,q){if(1&M&&(o.j41(0,"p"),o.EFF(1),o.k0s()),2&M){const A=o.XpG().$implicit;o.R7$(),o.SpI(" ",A.data[0]," ")}}function L(M,q){if(1&M&&(o.j41(0,"div",4),o.DNE(1,ro,2,1,"p",5),o.k0s()),2&M){const A=q.$implicit;o.Y8G("routerLink","/components/"+A.path),o.R7$(),o.Y8G("ngIf",A.data)}}function J(M,q){if(1&M&&o.nrm(0,"img",11),2&M){const A=o.XpG().$implicit;o.Y8G("src","assets/images/components-page/"+A.data[0].toLowerCase()+".png",o.B4B)}}function ee(M,q){if(1&M&&(o.j41(0,"p"),o.EFF(1),o.k0s()),2&M){const A=o.XpG().$implicit;o.R7$(),o.JRh(A.data[0])}}function De(M,q){if(1&M&&(o.j41(0,"div",6)(1,"div",7)(2,"div",8),o.DNE(3,J,1,1,"img",9),o.k0s(),o.j41(4,"div",10),o.DNE(5,ee,2,1,"p",5),o.k0s()()()),2&M){const A=q.$implicit;o.R7$(),o.Y8G("routerLink","/components/"+A.path),o.R7$(2),o.Y8G("ngIf",A.data),o.R7$(2),o.Y8G("ngIf",A.data)}}let Pe=(()=>{class M{constructor(A){this.componentsArray=A.find(te=>"components"===te.path)?.children?.filter(te=>te.path)}static#e=this.\u0275fac=function(te){return new(te||M)(o.rXU(po.t))};static#t=this.\u0275cmp=o.VBU({type:M,selectors:[["components"]],decls:7,vars:2,consts:[[1,"pills-box"],["class","pills-item",3,"routerLink",4,"ngFor","ngForOf"],[1,"components-box"],["class","components-item col-xxl-3 col-xl-3 col-lg-4 col-sm-6 col-12",4,"ngFor","ngForOf"],[1,"pills-item",3,"routerLink"],[4,"ngIf"],[1,"components-item","col-xxl-3","col-xl-3","col-lg-4","col-sm-6","col-12"],[1,"components-item-container",3,"routerLink"],[1,"components-img-box","w-100"],["class","w-100","alt","",3,"src",4,"ngIf"],[1,"components-text-box","d-flex","align-items-center","w-100"],["alt","",1,"w-100",3,"src"]],template:function(te,se){1&te&&(o.j41(0,"demo-section")(1,"h1"),o.EFF(2," All Components "),o.k0s(),o.j41(3,"div",0),o.DNE(4,L,2,2,"div",1),o.k0s(),o.j41(5,"div",2),o.DNE(6,De,6,3,"div",3),o.k0s()()),2&te&&(o.R7$(4),o.Y8G("ngForOf",se.componentsArray),o.R7$(2),o.Y8G("ngForOf",se.componentsArray))},dependencies:[y.Sq,y.bT,oe.Wk,lr.q],encapsulation:2})}return M})(),Ge=(()=>{class M{static#e=this.\u0275fac=function(te){return new(te||M)};static#t=this.\u0275mod=o.$C({type:M});static#n=this.\u0275inj=o.G2t({imports:[y.MD,x,ar,ci,Z.j,h.zE,oe.iI,ar,ci]})}return M})()},18357:(We,de,D)=>{D.d(de,{C:()=>Z});var y=D(54438),h=D(8681);let Z=(()=>{class o{static#e=this.\u0275fac=function(oe){return new(oe||o)};static#t=this.\u0275cmp=y.VBU({type:o,selectors:[["app-footer"]],decls:24,vars:0,consts:[[1,"container-width","m-auto","d-flex","justify-content-between","align-items-center"],[1,"footer-logo"],["routerLink","['']"],["alt","ngx-bootstrap","src","assets/images/logos/ngx-bootstrap-logo-red.svg"],[1,"footer-text","text-center"],["href","https://github.com/valor-software/ngx-bootstrap/blob/development/LICENSE","target","_blank","rel","noopener",1,"text-white",2,"font-weight","500"],["href","https://creativecommons.org/licenses/by/3.0/","target","_blank","rel","noopener",1,"text-white",2,"font-weight","500"],[1,"footer-social","col-xl-2","d-flex","justify-content-between"],["href","https://www.instagram.com/valor.software/","target","_blank",1,"img-holder"],["src","assets/images/icons/icon-inst.svg","alt","instagram icon"],["href","https://dribbble.com/valor-labs","target","_blank",1,"img-holder"],["src","assets/images/icons/icon-dribble.svg","alt","dribble icon"],["href","https://twitter.com/ValorSoft","target","_blank",1,"img-holder"],["src","assets/images/icons/icon-twiter.svg","alt","twiter icon"],["href","https://www.facebook.com/valorsoftware","target","_blank",1,"img-holder"],["src","assets/images/icons/icon-facebook.svg","alt","facebook icon"]],template:function(oe,ue){1&oe&&(y.j41(0,"footer")(1,"div",0)(2,"div",1)(3,"a",2),y.nrm(4,"img",3),y.k0s()(),y.j41(5,"div",4)(6,"p"),y.EFF(7,"\xa9 Designed and built by the ng-team at Valor Software with the help of our contributors."),y.k0s(),y.j41(8,"p"),y.EFF(9,"Code licensed under "),y.j41(10,"a",5),y.EFF(11,"MIT license conditions"),y.k0s(),y.EFF(12,", "),y.j41(13,"a",6),y.EFF(14," docs CC BY 3.0"),y.k0s()()(),y.j41(15,"div",7)(16,"a",8),y.nrm(17,"img",9),y.k0s(),y.j41(18,"a",10),y.nrm(19,"img",11),y.k0s(),y.j41(20,"a",12),y.nrm(21,"img",13),y.k0s(),y.j41(22,"a",14),y.nrm(23,"img",15),y.k0s()()()())},dependencies:[h.Wk],encapsulation:2})}return o})()},65646:(We,de,D)=>{D.d(de,{i:()=>Y});var y=D(54438),h=D(63972),Z=D(60177),o=D(8681);let Q=(()=>{class B{transform(V,ge){if(!ge)return V;const Oe=[];return V.forEach(function(rt){!rt.children?.length&&-1!==rt.data?.[0]?.toLowerCase().indexOf(ge.toLowerCase())&&Oe.push(rt),rt.children?.length&&rt.children.forEach(gt=>{-1!==gt.data?.[0]?.toLowerCase().indexOf(ge.toLowerCase())&&Oe.push(gt)})}),Oe}static#e=this.\u0275fac=function(ge){return new(ge||B)};static#t=this.\u0275pipe=y.EJ8({name:"SearchFilter",type:B,pure:!0})}return B})();const H=()=>["active"],oe=()=>({exact:!0});function ue(B,ce){if(1&B){const V=y.RV6();y.j41(0,"li",7),y.bIt("click",function(){y.eBV(V);const _e=y.XpG(3);return y.Njj(_e.search.text="")}),y.j41(1,"a",8),y.EFF(2),y.k0s()()}if(2&B){const V=y.XpG().$implicit,ge=y.XpG(2);y.Y8G("routerLinkActive",y.lJ4(4,H))("routerLinkActiveOptions",y.lJ4(5,oe)),y.R7$(),y.Y8G("routerLink",ge.getRouteLink(V.path)),y.R7$(),y.JRh(V.data[0])}}function ie(B,ce){if(1&B&&(y.qex(0),y.DNE(1,ue,3,6,"li",6),y.bVm()),2&B){const V=ce.$implicit;y.R7$(),y.Y8G("ngIf",V.path)}}function le(B,ce){if(1&B&&(y.j41(0,"ul",4),y.DNE(1,ie,2,1,"ng-container",5),y.nI1(2,"slice"),y.nI1(3,"SearchFilter"),y.k0s()),2&B){const V=y.XpG();y.R7$(),y.Y8G("ngForOf",y.i5U(3,4,y.i5U(2,1,V.routes,4),V.search.text))}}let Y=(()=>{class B{constructor(){this.showInput=!0,this.isShown=!1,this.routes=(0,y.WQX)(h.t).filter(V=>"**"!==V.path),this.search={text:""}}preventReloading(V){(13===V.keyCode||"Enter"===V.key)&&V.preventDefault()}getRouteLink(V){return this.routes.find(_e=>_e.path===V)?`/${V}`:`/components/${V}`}static#e=this.\u0275fac=function(ge){return new(ge||B)};static#t=this.\u0275cmp=y.VBU({type:B,selectors:[["search-input"]],inputs:{showInput:"showInput"},decls:5,vars:4,consts:[["searchInput",""],[1,"input-container"],["type","text","aria-label","Search in docs","name","search","placeholder","Search...",3,"keyup","keypress","value"],["class","sidebar-list menu","data-cypress","search-result",4,"ngIf"],["data-cypress","search-result",1,"sidebar-list","menu"],[4,"ngFor","ngForOf"],["class","w-100",3,"routerLinkActive","routerLinkActiveOptions","click",4,"ngIf"],[1,"w-100",3,"click","routerLinkActive","routerLinkActiveOptions"],[1,"text-white","d-block","w-100",3,"routerLink"]],template:function(ge,_e){if(1&ge){const Oe=y.RV6();y.j41(0,"form")(1,"div",1)(2,"input",2,0),y.bIt("keyup",function(){y.eBV(Oe);const gt=y.sdS(3);return y.Njj(_e.search.text=gt.value)})("keypress",function(gt){return y.eBV(Oe),y.Njj(_e.preventReloading(gt))}),y.k0s()()(),y.DNE(4,le,4,7,"ul",3)}2&ge&&(y.R7$(),y.AVh("hideInput",!_e.showInput),y.R7$(),y.Y8G("value",_e.search.text),y.R7$(2),y.Y8G("ngIf",_e.search.text&&_e.routes.length))},dependencies:[Z.Sq,Z.bT,o.Wk,o.wQ,Z.P9,Q],encapsulation:2})}return B})()},372:(We,de,D)=>{D.d(de,{k:()=>dn});var y=D(8681),h=D(54438),Z=D(39555),o=D(63972),Q=D(62551),H=D(87516);function ue(Ce,U,x){if(Ce&&x[Ce]){const $=x[Ce],re={title:U.data?.[0],path:U.data?.[1]?.parentRoute?`/${U.data?.[1]?.parentRoute}/${U.path}`:U.path,isOpened:!1,fragments:"components"===Ce?[{title:"Overview",path:"overview",isOpened:!1},{title:"API",path:"api",isOpened:!1},{title:"Examples",path:"examples",isOpened:!1}]:[]},Me=H.a[Ce];Me&&!Me.nestedRoutes.filter(we=>we.title===re.title).length&&$.nestedRoutes.push(re)}}var le=D(89079);let Y=(()=>{class Ce{constructor(){this.onThemeUpdate=new h.bkB}static#e=this.storageKey="bs-theme-storage-current";storeTheme(x){try{window.localStorage[Ce.storageKey]=x}catch{return null}this.onThemeUpdate.emit(x)}getStoredTheme(){try{return window.localStorage[Ce.storageKey]||null}catch{return null}}clearStorage(){try{return void window.localStorage.removeItem(Ce.storageKey)}catch{return null}}static#t=this.\u0275fac=function($){return new($||Ce)};static#n=this.\u0275prov=h.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"platform"})}return Ce})(),B=(()=>{class Ce{setStyle(x,$){const re=function ce(Ce){return V(Ce)||function ge(Ce){const U=document.createElement("link");if(U.setAttribute("rel","stylesheet"),U.classList.add(_e(Ce)),document.head)return document.head.appendChild(U),U}(Ce)}(x);re&&re.setAttribute("href",$)}removeStyle(x){const $=V(x);!$||!document.head||document.head.removeChild($)}static#e=this.\u0275fac=function($){return new($||Ce)};static#t=this.\u0275prov=h.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"platform"})}return Ce})();function V(Ce){return document.head?document.head.querySelector(`link[rel="stylesheet"].${_e(Ce)}`):null}function _e(Ce){return`style-manager-${Ce}`}var Oe=D(60177),rt=D(65646);const gt=()=>["active"],kt=()=>({exact:!0}),Le=Ce=>[Ce],ke=Ce=>({tab:Ce});function Je(Ce,U){if(1&Ce&&(h.j41(0,"span",10),h.EFF(1),h.k0s()),2&Ce){let x;const $=h.XpG().$implicit,re=h.XpG(3);h.AVh("hideText",!re.menuIsOpened)("m-0",!re.menuIsOpened),h.R7$(),h.SpI(" ",null==(x=re.getRouteStructureKey($))?null:x.title," ")}}function je(Ce,U){if(1&Ce&&(h.j41(0,"a",21),h.EFF(1),h.k0s()),2&Ce){let x;const $=h.XpG().$implicit,re=h.XpG(3);h.AVh("hideText",!re.menuIsOpened)("m-0",!re.menuIsOpened),h.R7$(),h.SpI(" ",null==(x=re.getRouteStructureKey($))?null:x.title," ")}}function $e(Ce,U){if(1&Ce){const x=h.RV6();h.j41(0,"li",17),h.bIt("click",function(re){const Me=h.eBV(x).$implicit,we=h.XpG(3);return we.toggleSideBar(!0),h.Njj(we.toggleMenuItem(re,Me))}),h.j41(1,"div",18),h.nrm(2,"img",19),h.DNE(3,Je,2,5,"span",20)(4,je,2,5,"ng-template",null,0,h.C5r),h.k0s()()}if(2&Ce){let x,$,re,Me;const we=U.$implicit,it=h.sdS(5),mt=h.XpG(3);h.AVh("active",null==(x=mt.getRouteStructureKey(we))?null:x.isOpened)("icon",(null==($=mt.getRouteStructureKey(we))||null==$.nestedRoutes?null:$.nestedRoutes.length)&&mt.menuIsOpened),h.R7$(2),h.Y8G("src",null==(re=mt.getRouteStructureKey(we))?null:re.icon,h.B4B),h.R7$(),h.Y8G("ngIf",!(null!=(Me=mt.getRouteStructureKey(we))&&Me.path))("ngIfElse",it)}}function et(Ce,U){if(1&Ce){const x=h.RV6();h.j41(0,"div",30)(1,"a",31),h.bIt("click",function(){h.eBV(x);const re=h.XpG(6);return h.Njj(re.closeAdaptiveMenu())}),h.EFF(2),h.k0s()()}if(2&Ce){const x=U.$implicit,$=h.XpG(2).$implicit;h.AVh("active",x.isOpened),h.R7$(),h.Y8G("routerLink",h.eq3(5,Le,$.path))("queryParams",h.eq3(7,ke,x.path)),h.R7$(),h.JRh(x.title)}}function st(Ce,U){if(1&Ce&&(h.j41(0,"div",28),h.DNE(1,et,3,9,"div",29),h.k0s()),2&Ce){const x=h.XpG().$implicit;h.AVh("show",x.isOpened),h.R7$(),h.Y8G("ngForOf",x.fragments)}}function zt(Ce,U){if(1&Ce){const x=h.RV6();h.j41(0,"li",24)(1,"div",25)(2,"p",26),h.bIt("click",function(){const re=h.eBV(x).$implicit,Me=h.XpG(4);return h.Njj(Me.openSemiItemMenu(re,Me.routesStructure[Me.sideBarItemIsOpened].nestedRoutes))}),h.EFF(3),h.k0s(),h.DNE(4,st,2,3,"div",27),h.k0s()()}if(2&Ce){const x=U.$implicit;h.Y8G("routerLinkActive",h.lJ4(6,gt))("routerLinkActiveOptions",h.lJ4(7,kt)),h.R7$(),h.AVh("show",x.isOpened),h.R7$(2),h.JRh(x.title),h.R7$(),h.Y8G("ngIf",x.fragments.length)}}function Ne(Ce,U){if(1&Ce&&(h.j41(0,"ul",22),h.DNE(1,zt,5,8,"li",23),h.k0s()),2&Ce){const x=h.XpG(3);h.R7$(),h.Y8G("ngForOf",x.routesStructure[x.sideBarItemIsOpened].nestedRoutes)}}function Te(Ce,U){if(1&Ce){const x=h.RV6();h.j41(0,"div",8)(1,"div",9)(2,"span",10),h.EFF(3,"Bootstrap: "),h.k0s(),h.j41(4,"div",11)(5,"button",12),h.bIt("click",function(){h.eBV(x);const re=h.XpG(2);return h.Njj(re.installTheme("bs4"))}),h.EFF(6,"4"),h.k0s(),h.j41(7,"button",12),h.bIt("click",function(){h.eBV(x);const re=h.XpG(2);return h.Njj(re.installTheme("bs5"))}),h.EFF(8,"5"),h.k0s()()(),h.j41(9,"div",13)(10,"ul",14),h.DNE(11,$e,6,7,"li",15),h.k0s(),h.DNE(12,Ne,2,1,"ul",16),h.k0s()()}if(2&Ce){const x=h.XpG(2);h.AVh("menuIsOpened",x.menuIsOpened),h.R7$(2),h.AVh("hideText",!x.menuIsOpened),h.R7$(3),h.AVh("selected",x._bsVersions.isBs4),h.R7$(2),h.AVh("selected",x._bsVersions.isBs5),h.R7$(4),h.Y8G("ngForOf",x.objectKeys(x.routesStructure)),h.R7$(),h.Y8G("ngIf",x.menuIsOpened&&x.sideBarItemIsOpened)}}function ot(Ce,U){if(1&Ce){const x=h.RV6();h.qex(0),h.j41(1,"div",2)(2,"button",3),h.bIt("click",function(){h.eBV(x);const re=h.XpG();return h.Njj(re.toggleSideBar())}),h.nrm(3,"img",4),h.k0s(),h.nrm(4,"search-input",5),h.k0s(),h.DNE(5,Te,13,10,"div",6),h.j41(6,"div",7),h.bIt("click",function(){h.eBV(x);const re=h.XpG();return h.Njj(re.toggleSideBar())}),h.k0s(),h.bVm()}if(2&Ce){const x=h.XpG();h.R7$(4),h.Y8G("showInput",!1),h.R7$(),h.Y8G("ngIf",x.routesStructure&&(null==x.routesStructure.documentation||null==x.routesStructure.documentation.nestedRoutes?null:x.routesStructure.documentation.nestedRoutes.length)),h.R7$(),h.AVh("menu-opened",x.menuIsOpened)}}let dn=(()=>{class Ce{get bsCssFile(){return"bs5"===this.currentTheme?"assets/css/bootstrap-5.2.3/css/bootstrap.min.css":"assets/css/bootstrap-4.5.3/css/bootstrap.min.css"}get _bsVersions(){return(0,Z.Bu)()}constructor(x,$,re,Me,we,it){this.activatedRoute=x,this.router=$,this.themeStorage=re,this.styleManager=Me,this.isShown=!1,this.objectKeys=Object.keys,this.menuIsOpened=!0,this.search={text:""},innerWidth<=991&&(this.menuIsOpened=!1),this.bodyElement=(0,h.WQX)(h.sFG).selectRootElement("body",!0),this.routesStructure=function oe(Ce,U){return Ce.forEach(x=>{if(x.children?.length&&x.children.forEach($=>{const re=$.data?.[1]?.sideBarParentTitle;ue(re,$,U)}),!x.children?.length){const $=x.data?.[1]?.sideBarParentTitle;ue($,x,U)}}),U}(we,it),this.initBodyClass(),this.firstMenuIniting(we),this.router.events.pipe((0,le.pQ)()).subscribe(dt=>{dt instanceof y.wF&&this.firstMenuIniting(we)});const Jt=this.activatedRoute.snapshot.queryParams._bsVersion||this.themeStorage.getStoredTheme();Jt&&this.installTheme(Jt)}get sideBarItemIsOpened(){for(const x in this.routesStructure)if(this.routesStructure[x].isOpened)return x}firstMenuIniting(x){this.resetMenuItems(),this.openMenuWithRoutePath(this.checkRoutePath(),x)}installTheme(x){(0,Z.Yl)(x),this.currentTheme=(0,Z.LQ)(),this.styleManager.setStyle("theme",this.bsCssFile),this.currentTheme&&this.themeStorage.storeTheme(this.currentTheme)}toggleSideBar(x){typeof x>"u"&&(this.menuIsOpened=!this.menuIsOpened),typeof x<"u"&&x!==this.menuIsOpened&&(this.menuIsOpened=x),this.initBodyClass()}initBodyClass(){this.menuIsOpened?this.bodyElement.classList.add("menuIsOpened"):this.bodyElement.classList.remove("menuIsOpened")}toggleMenuItem(x,$){if(x.stopPropagation(),this.routesStructure){const re=$.toLowerCase();this.resetMenuItems(),this.routesStructure[re].isOpened=!this.routesStructure[re].isOpened,this.routesStructure[re].path&&this.router.navigate([this.routesStructure[re].path])}}resetMenuItems(){for(const x in this.routesStructure)this.routesStructure[x].isOpened=!1,this.resetSemiMenu(this.routesStructure[x].nestedRoutes)}openSemiItemMenu(x,$){this.resetSemiMenu($),x.isOpened=!0,x.path&&(this.router.navigate([x.path]),this.closeAdaptiveMenu())}closeAdaptiveMenu(){innerWidth<=991&&(this.menuIsOpened=!1,this.toggleSideBar(!1))}resetSemiMenu(x){x.forEach($=>{$.isOpened=!1})}checkRoutePath(){const x=this.router.parseUrl(this.router.url).root?.children?.primary?.segments,$=new Set;return x?.map(re=>{$.add(re.path)}),[...$]}openMenuWithRoutePath(x,$){if(!this.routesStructure)return;if(x.length>1)return void this.openMenuWithRoute(`/${x[0]}/${x[1]}`,x[0]);const re=$.filter(we=>we.path===x[0]);re?.length&&(re[0].data?.[1]?.sideBarParentTitle||re[0].children?.length)&&this.openMenuWithRoute(x[0],re[0].children?.length?re[0].path:re[0].data?.[1]?.sideBarParentTitle)}openMenuWithRoute(x,$){if(!this.routesStructure)return;this.routesStructure[$].isOpened=!0;const re=this.routesStructure?.[$].nestedRoutes.find(Me=>Me.path===x);this.setMenuProperties(re)}setMenuProperties(x){if(!x)return;const $=this.router.parseUrl(this.router.url).queryParams;x.isOpened=!0,x.fragments.forEach(re=>{re.isOpened=re.path===$.tab})}getRouteStructureKey(x){return this.routesStructure?.[x]}static#e=this.\u0275fac=function($){return new($||Ce)(h.rXU(y.nX),h.rXU(y.Ix),h.rXU(Y),h.rXU(B),h.rXU(o.t),h.rXU(Q.E))};static#t=this.\u0275cmp=h.VBU({type:Ce,selectors:[["sidebar"]],hostVars:2,hostBindings:function($,re){2&$&&h.AVh("menuIsOpened",re.menuIsOpened)},decls:1,vars:1,consts:[["elseBlock",""],[4,"ngIf"],[1,"sidebar-search","icon","w-100"],["id","mobile-main-menu","type","button",1,"align-self-baseline",3,"click"],["src","assets/images/icons/menu-left.svg","alt","left menu"],[1,"w-100",3,"showInput"],["class","mobile-menu",3,"menuIsOpened",4,"ngIf"],[1,"double-arrow","position-absolute",3,"click"],[1,"mobile-menu"],[1,"bootstrap-version","transition-option"],[1,"transition-option"],[1,"flex-nowrap","d-flex"],["type","button",1,"btn",3,"click"],[1,"sidebar-content","position-relative","w-100"],[1,"sidebar-list"],["class","sidebar-item-main ",3,"active","icon","click",4,"ngFor","ngForOf"],["class","sidebar-list scroll-list",4,"ngIf"],[1,"sidebar-item-main",3,"click"],[1,"sidebar-list-box"],["alt","sidebar icon",3,"src"],["class","transition-option",3,"hideText","m-0",4,"ngIf","ngIfElse"],["href","javascript:void(0);",1,"transition-option"],[1,"sidebar-list","scroll-list"],["class","w-100",3,"routerLinkActive","routerLinkActiveOptions",4,"ngFor","ngForOf"],[1,"w-100",3,"routerLinkActive","routerLinkActiveOptions"],[1,"sidebar-list-box","d-flex","flex-column","secondary-items"],[3,"click"],["class","sidebar-list sidebar-list-fragment",3,"show",4,"ngIf"],[1,"sidebar-list","sidebar-list-fragment"],["class","sidebar-item sidebar-item-fragment",3,"active",4,"ngFor","ngForOf"],[1,"sidebar-item","sidebar-item-fragment"],[3,"click","routerLink","queryParams"]],template:function($,re){1&$&&h.DNE(0,ot,7,4,"ng-container",1),2&$&&h.Y8G("ngIf",re.routesStructure)},dependencies:[Oe.Sq,Oe.bT,y.Wk,y.wQ,rt.i],encapsulation:2})}return Ce})()},2293:(We,de,D)=>{D.d(de,{C:()=>ce});var y=D(54438),h=D(60177),Z=D(8681),o=D(89079),Q=D(21626),H=D(18674),oe=D(91921),ue=D(91706),ie=D(65646);function le(V,ge){if(1&V&&(y.j41(0,"li",21)(1,"a",22),y.EFF(2),y.k0s()()),2&V){const _e=ge.$implicit,Oe=y.XpG(3);y.R7$(),y.Y8G("href",Oe.appUrl+(Oe.needPrefix?_e.url:_e.unprefixedUrl)+(Oe.appHash?"/"+Oe.appHash:""),y.B4B),y.R7$(),y.JRh(_e.version)}}function Y(V,ge){if(1&V&&(y.j41(0,"ul",19),y.DNE(1,le,3,2,"li",20),y.k0s()),2&V){const _e=y.XpG(2);y.R7$(),y.Y8G("ngForOf",_e.previousDocs)}}function B(V,ge){if(1&V&&(y.j41(0,"div",15)(1,"div",16),y.EFF(2),y.nrm(3,"span",17),y.k0s(),y.DNE(4,Y,2,1,"ul",18),y.k0s()),2&V){const _e=y.XpG();y.R7$(2),y.SpI(" ",_e.currentVersion?"v"+_e.currentVersion:""," ")}}let ce=(()=>{class V{constructor(_e,Oe,rt){this.http=Oe,this.router=rt,this.shadowRoutes=["/documentation","/discover","/schematics","/"],this.initBoxShadow=!1,this.isLocalhost=!1,this.needPrefix=!1,this.destroyRef=(0,y.WQX)(y.abz),this.previousDocs=[],this.isBrowser=(0,h.UE)(_e)}ngAfterViewInit(){if(!this.isBrowser)return;typeof window<"u"&&(this.isLocalhost="localhost"===location.hostname,this.needPrefix="/"!==location.pathname,this.appUrl=location.protocol+"//"+location.hostname+(this.isLocalhost?":"+location.port+"/":"/"),this.http.get("assets/json/versions.json").subscribe(rt=>{this.previousDocs=rt.sort((gt,kt)=>{const Le=Number(gt.version.split(".").join(""));return Number(kt.version.split(".").join(""))-Le})}),this.http.get("assets/json/current-version.json").subscribe(rt=>{this.currentVersion=rt.version}));const _e=rt=>{const gt=rt.routerState.snapshot.url.indexOf("#");return gt?rt.routerState.snapshot.url:rt.routerState.snapshot.url.slice(0,gt)};let Oe=_e(this.router);this.router.events.pipe((0,o.pQ)(this.destroyRef)).subscribe(rt=>{const gt=_e(this.router);this.initBoxShadow=this.shadowRoutes.includes(gt),typeof window<"u"&&(this.appHash="#/"===location.hash?"":location.hash),rt instanceof Z.wF&>!==Oe&&(Oe=gt)})}static#e=this.\u0275fac=function(Oe){return new(Oe||V)(y.rXU(y.Agw),y.rXU(Q.Qq),y.rXU(Z.Ix))};static#t=this.\u0275cmp=y.VBU({type:V,selectors:[["top-menu"]],decls:18,vars:3,consts:[["id","header",1,"header","flex-nowrap"],["data-cypress","logoAtHeader",1,"logo","col-xl-2","col-lg-3"],["routerLink","['']"],["alt","ngx-bootstrap","src","assets/images/logos/ngx-bootstrap-logo-red.svg"],[1,"sidebar-search","col-xl-8","col-lg-6","display-lg-none"],[1,"w-100","icon"],[1,"social-info","col-xl-2","col-lg-3"],["class","prev-docs","dropdown","","container","body",4,"ngIf"],["data-cypress","infoButtons"],["target","_blank","rel","noopener","href","https://stackoverflow.com/questions/tagged/ngx-bootstrap"],["src","assets/images/icons/stackoverflow.svg","alt","stackoverflow"],["target","_blank","rel","noopener","href","https://github.com/valor-software/ngx-bootstrap"],["src","assets/images/icons/icon-git.svg","alt","ngx on github"],["target","_blank","rel","noopener","href","https://join.slack.com/t/ngx-home/shared_invite/enQtNTExMTY5MzcwMTM0LWVjZGU2MjI4MTVhMGVlMTc2OWRiMzA0NzBhNDU5YzQ0MDM3MWI5NzJjZTUzNzIxZmNjYmFlMjU2MzE0YmY0NWY"],["src","assets/images/icons/icon-slack.svg","alt","ngx on slack"],["dropdown","","container","body",1,"prev-docs"],["dropdownToggle","",1,"dropdown-toggle"],[1,"caret"],["class","dropdown-menu header-dropdown","role","menu","style","margin-top: 20px;",4,"dropdownMenu"],["role","menu",1,"dropdown-menu","header-dropdown",2,"margin-top","20px"],["role","menuitem",4,"ngFor","ngForOf"],["role","menuitem"],[1,"dropdown-item",3,"href"]],template:function(Oe,rt){1&Oe&&(y.j41(0,"header",0)(1,"div",1)(2,"a",2),y.nrm(3,"img",3),y.k0s()(),y.j41(4,"div",4),y.nrm(5,"search-input",5),y.k0s(),y.j41(6,"div",6),y.DNE(7,B,5,1,"div",7),y.j41(8,"ul",8)(9,"li")(10,"a",9),y.nrm(11,"img",10),y.k0s()(),y.j41(12,"li")(13,"a",11),y.nrm(14,"img",12),y.k0s()(),y.j41(15,"li")(16,"a",13),y.nrm(17,"img",14),y.k0s()()()()()),2&Oe&&(y.AVh("box-shadow",rt.initBoxShadow),y.R7$(7),y.Y8G("ngIf",rt.previousDocs.length))},dependencies:[h.Sq,h.bT,Z.Wk,H.h,oe.U,ue.K,ie.i],encapsulation:2})}return V})()},86223:(We,de,D)=>{D.d(de,{q:()=>le});var y=D(54438),h=D(60177),Z=D(18357),o=D(8681);function Q(Y,B){if(1&Y){const ce=y.RV6();y.j41(0,"li",3),y.bIt("click",function(){const ge=y.eBV(ce).index,_e=y.XpG(2);return y.Njj(_e.navigate(ge))}),y.j41(1,"span"),y.EFF(2,"/"),y.k0s(),y.EFF(3),y.k0s()}if(2&Y){const ce=B.$implicit,V=B.index,ge=y.XpG(2);y.AVh("disabled",V===ge.routeArray.length-1),y.R7$(3),y.SpI("",ce," ")}}function H(Y,B){if(1&Y){const ce=y.RV6();y.j41(0,"div",1)(1,"ul",2)(2,"li",3),y.bIt("click",function(){y.eBV(ce);const ge=y.XpG();return y.Njj(ge.navigate())}),y.EFF(3,"Home"),y.k0s(),y.DNE(4,Q,4,3,"li",4),y.k0s()()}if(2&Y){const ce=y.XpG();y.R7$(4),y.Y8G("ngForOf",ce.routeArray)}}let oe=(()=>{class Y{constructor(ce){this.router=ce,this.routeSubscription=this.router.events.subscribe(V=>{V instanceof o.wF&&(this.routeArray=[],this.router.parseUrl(V.url).root.children.primary.segments.map(_e=>{this.routeArray?.push(_e.path)}))})}navigate(ce){if(!this.routeArray||!ce&&0!==ce)return void this.router.navigate([""]);if(++ce>=this.routeArray.length)return;const V=this.routeArray.slice(0,ce);this.router.navigate([`/${V.join("/")}`])}ngOnDestroy(){this.routeSubscription.unsubscribe()}static#e=this.\u0275fac=function(V){return new(V||Y)(y.rXU(o.Ix))};static#t=this.\u0275cmp=y.VBU({type:Y,selectors:[["bread-crumbs"]],decls:1,vars:1,consts:[["class","breadCrumbs-box",4,"ngIf"],[1,"breadCrumbs-box"],[1,"p-0","m-0"],[3,"click"],[3,"disabled","click",4,"ngFor","ngForOf"]],template:function(V,ge){1&V&&y.DNE(0,H,5,1,"div",0),2&V&&y.Y8G("ngIf",ge.routeArray&&ge.routeArray.length&&ge.routeArray.length>1)},dependencies:[h.Sq,h.bT],encapsulation:2})}return Y})();const ue=["*"];function ie(Y,B){if(1&Y&&(y.j41(0,"h1"),y.EFF(1),y.j41(2,"a",10),y.nrm(3,"img",11),y.k0s()()),2&Y){const ce=y.XpG();y.R7$(),y.SpI("",ce.name," "),y.R7$(),y.Y8G("href",ce.src,y.B4B)}}let le=(()=>{class Y{static#e=this.\u0275fac=function(V){return new(V||Y)};static#t=this.\u0275cmp=y.VBU({type:Y,selectors:[["demo-section"]],inputs:{name:"name",src:"src",html:"html",ts:"ts",componentContent:"componentContent"},ngContentSelectors:ue,decls:12,vars:1,consts:[[1,"main"],[1,"main-container","transition-option"],[1,"content-box"],[1,"content","w-100"],[1,"content-header"],[4,"ngIf"],["id","content"],["id","example",1,"section"],[1,"item"],[1,"w-full","transition-option"],["target","_blank","rel","noopener",3,"href"],["src","assets/images/link-doc.png","alt","component on github"]],template:function(V,ge){1&V&&(y.NAR(),y.j41(0,"main",0)(1,"section",1),y.nrm(2,"bread-crumbs"),y.j41(3,"div",2)(4,"div",3)(5,"div",4),y.DNE(6,ie,4,2,"h1",5),y.k0s(),y.j41(7,"div",6)(8,"div",7)(9,"div",8),y.SdG(10),y.k0s()()()()()(),y.nrm(11,"app-footer",9),y.k0s()),2&V&&(y.R7$(6),y.Y8G("ngIf",ge.name||ge.src))},dependencies:[h.bT,Z.C,oe],encapsulation:2})}return Y})()},27e3:(We,de,D)=>{D.d(de,{F:()=>h});var y=D(54438);let h=(()=>{class Z{static#e=this.\u0275fac=function(H){return new(H||Z)};static#t=this.\u0275prov=y.jDH({token:Z,factory:Z.\u0275fac,providedIn:"platform"})}return Z})()},87516:(We,de,D)=>{D.d(de,{a:()=>y});const y={documentation:{nestedRoutes:[],isOpened:!1,title:"DOCUMENTATION",icon:"assets/images/icons/icon-folder.svg",path:"documentation"},components:{nestedRoutes:[],isOpened:!1,title:"COMPONENTS",icon:"assets/images/icons/icon-components.svg",path:"components"}}},63972:(We,de,D)=>{D.d(de,{t:()=>h});const h=new(D(54438).nKC)("root routes")},62551:(We,de,D)=>{D.d(de,{E:()=>h});const h=new(D(54438).nKC)("structured route data for sidebar")},36941:(We,de,D)=>{D.d(de,{Li:()=>oe});var y=D(54438),h=D(39555);class Z{constructor(ie,le,Y){this.nodes=ie,this.viewRef=le,this.componentRef=Y}}class o{constructor(ie,le,Y,B,ce,V,ge,_e,Oe){this._viewContainerRef=ie,this._renderer=le,this._elementRef=Y,this._injector=B,this._componentFactoryResolver=ce,this._ngZone=V,this._applicationRef=ge,this._posService=_e,this._document=Oe,this.onBeforeShow=new y.bkB,this.onShown=new y.bkB,this.onBeforeHide=new y.bkB,this.onHidden=new y.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(ie){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(ie),this}to(ie){return this.container=ie||this.container,this}position(ie){return ie?(this.attachment=ie.attachment||this.attachment,this._elementRef=ie.target||this._elementRef,this):this}provide(ie){return this._providers.push(ie),this}show(ie={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(ie.content,ie.context,ie.initialState);const le=y.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(le,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,ie),this.container instanceof y.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const Y=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!Y)return;Y.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(ie.id?{id:ie.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(ie){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const le=this._componentRef.location.nativeElement;return le.parentNode?.removeChild(le),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._componentRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(ie?{id:ie}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(ie){this.triggers=ie.triggers||this.triggers,this._listenOpts.outsideClick=ie.outsideClick,this._listenOpts.outsideEsc=ie.outsideEsc,ie.target=ie.target||this._elementRef?.nativeElement;const le=this._listenOpts.hide=()=>ie.hide?ie.hide():void this.hide(),Y=this._listenOpts.show=ce=>{ie.show?ie.show(ce):this.show(ce),ce()};return this._renderer&&(this._unregisterListenersFn=(0,h.GL)(this._renderer,{target:ie.target,triggers:ie.triggers,show:Y,hide:le,toggle:ce=>{this.isShown?le():Y(ce)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(ie,le){return ie&&le&&(this._inlineViewRef=ie.createEmbeddedView(le)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let ie=Function.prototype,le=Function.prototype;if(this._listenOpts.outsideClick){const Y=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(ie=(0,h.Xt)(this._renderer,{targets:[Y,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(le=(0,h.Fv)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})),this._globalListener=()=>{ie(),le()}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(ie,le,Y){if(!ie)return new Z([]);if(ie instanceof y.C4Q){if(this._viewContainerRef){const V=this._viewContainerRef.createEmbeddedView(ie,le);return V.markForCheck(),new Z([V.rootNodes],V)}const ce=ie.createEmbeddedView({});return this._applicationRef.attachView(ce),new Z([ce.rootNodes],ce)}if("function"==typeof ie){const ce=this._componentFactoryResolver.resolveComponentFactory(ie),V=y.zZn.create({providers:this._providers,parent:this._injector}),ge=ce.create(V);return Object.assign(ge.instance,Y),this._applicationRef.attachView(ge.hostView),new Z([[ge.location.nativeElement]],ge.hostView,ge)}const B=this._renderer?[this._renderer.createText(`${ie}`)]:[];return new Z([B])}}var Q=D(35990),H=D(60177);let oe=(()=>{class ue{constructor(le,Y,B,ce,V,ge){this._componentFactoryResolver=le,this._ngZone=Y,this._injector=B,this._posService=ce,this._applicationRef=V,this._document=ge}createLoader(le,Y,B){return new o(Y,B,le,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static#e=this.\u0275fac=function(Y){return new(Y||ue)(y.KVO(y.OM3),y.KVO(y.SKi),y.KVO(y.zZn),y.KVO(Q.DF),y.KVO(y.o8S),y.KVO(H.qQ))};static#t=this.\u0275prov=y.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})()},65806:(We,de,D)=>{D.d(de,{l:()=>ue});var y=D(29562),h=D(58761),Z=D(60177),o=D(54438),Q=D(49969);const H=["*"],oe=ie=>({dropdown:ie});let ue=(()=>{class ie{get direction(){return this._state.direction}constructor(Y,B,ce,V,ge){this._state=Y,this.cd=B,this._renderer=ce,this._element=V,this.isOpen=!1,this._factoryDropDownAnimation=ge.build(h.a),this._subscription=Y.isOpenChange.subscribe(_e=>{this.isOpen=_e;const Oe=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),Oe&&(this._renderer.addClass(Oe,"show"),(Oe.classList.contains("dropdown-menu-right")||Oe.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(Oe,"left","auto"),this._renderer.setStyle(Oe,"right","0")),"up"===this.direction&&(this._renderer.setStyle(Oe,"top","auto"),this._renderer.setStyle(Oe,"transform","translateY(-101%)"))),Oe&&this._state.isAnimated&&this._factoryDropDownAnimation.create(Oe).play(),this.cd.markForCheck(),this.cd.detectChanges()})}_contains(Y){return this._element.nativeElement.contains(Y)}ngOnDestroy(){this._subscription.unsubscribe()}static#e=this.\u0275fac=function(B){return new(B||ie)(o.rXU(y.g),o.rXU(o.gRc),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(Q.S6))};static#t=this.\u0275cmp=o.VBU({type:ie,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],standalone:!0,features:[o.Jv_([y.g]),o.aNF],ngContentSelectors:H,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(B,ce){1&B&&(o.NAR(),o.j41(0,"div",0),o.SdG(1),o.k0s()),2&B&&(o.AVh("dropup","up"===ce.direction)("show",ce.isOpen)("open",ce.isOpen),o.Y8G("ngClass",o.eq3(7,oe,"down"===ce.direction)))},dependencies:[Z.YU],encapsulation:2,changeDetection:0})}return ie})()},18674:(We,de,D)=>{D.d(de,{h:()=>Z});var y=D(54438),h=D(29562);let Z=(()=>{class o{constructor(H,oe,ue){H.resolveDropdownMenu({templateRef:ue,viewContainer:oe})}static#e=this.\u0275fac=function(oe){return new(oe||o)(y.rXU(h.g),y.rXU(y.c1b),y.rXU(y.C4Q))};static#t=this.\u0275dir=y.FsC({type:o,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"],standalone:!0})}return o})()},91921:(We,de,D)=>{D.d(de,{U:()=>o});var y=D(91706),h=D(54438),Z=D(29562);let o=(()=>{class Q{constructor(oe,ue,ie,le,Y){this._changeDetectorRef=oe,this._dropdown=ue,this._element=ie,this._renderer=le,this._state=Y,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(B=>{this.isOpen=B,B?(this._documentClickListener=this._renderer.listen("document","click",ce=>{this._state.autoClose&&2!==ce.button&&!this._element.nativeElement.contains(ce.target)&&(!this._state.insideClick||!this._dropdown._contains(ce))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(B=>this.isDisabled=B||void 0))}onClick(oe){this._state.stopOnClickPropagation&&oe.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const oe of this._subscriptions)oe.unsubscribe()}static#e=this.\u0275fac=function(ue){return new(ue||Q)(h.rXU(h.gRc),h.rXU(y.K),h.rXU(h.aKT),h.rXU(h.sFG),h.rXU(Z.g))};static#t=this.\u0275dir=h.FsC({type:Q,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(ue,ie){1&ue&&h.bIt("click",function(Y){return ie.onClick(Y)}),2&ue&&h.BMQ("aria-haspopup",!0)("disabled",ie.isDisabled)("aria-expanded",ie.isOpen)},exportAs:["bs-dropdown-toggle"],standalone:!0})}return Q})()},27593:(We,de,D)=>{D.d(de,{T:()=>h});var y=D(54438);let h=(()=>{class Z{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}static#e=this.\u0275fac=function(H){return new(H||Z)};static#t=this.\u0275prov=y.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},91706:(We,de,D)=>{D.d(de,{K:()=>ie});var y=D(5964),h=D(36941),Z=D(27593),o=D(65806),Q=D(29562),H=D(58761),oe=D(54438),ue=D(49969);let ie=(()=>{class le{set autoClose(B){this._state.autoClose=B}get autoClose(){return this._state.autoClose}set isAnimated(B){this._state.isAnimated=B}get isAnimated(){return this._state.isAnimated}set insideClick(B){this._state.insideClick=B}get insideClick(){return this._state.insideClick}set isDisabled(B){this._isDisabled=B,this._state.isDisabledChange.emit(B),B&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(B){B?this.show():this.hide()}get _showInline(){return!this.container}constructor(B,ce,V,ge,_e,Oe,rt){this._elementRef=B,this._renderer=ce,this._viewContainerRef=V,this._cis=ge,this._state=_e,this._config=Oe,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=rt.build(H.a),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Q.g,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(B=>this.toggle(B))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,y.p)(B=>B)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(B=>{this._dropdown.attachInline(B.viewContainer,B.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(B=>{const ce=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=ce?"up":"down";const V=this.placement||(ce?"top start":"bottom start");this._dropdown.attach(o.l).to(this.container).position({attachment:V}).show({content:B.templateRef,placement:V}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(B){return this.isOpen||!B?this.hide():this.show()}_contains(B){return this._elementRef.nativeElement.contains(B.target)||this._dropdown.instance&&this._dropdown.instance._contains(B.target)}navigationClick(B){const ce=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!ce)return;const V=this._elementRef.nativeElement.ownerDocument.activeElement,ge=ce.querySelectorAll(".dropdown-item");switch(B.keyCode){case 38:this._state.counts>0&&ge[--this._state.counts].focus();break;case 40:this._state.counts+1{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const B=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",B?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",B?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}static#e=this.\u0275fac=function(ce){return new(ce||le)(oe.rXU(oe.aKT),oe.rXU(oe.sFG),oe.rXU(oe.c1b),oe.rXU(h.Li),oe.rXU(Q.g),oe.rXU(Z.T),oe.rXU(ue.S6))};static#t=this.\u0275dir=oe.FsC({type:le,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(ce,V){1&ce&&oe.bIt("keydown.arrowDown",function(_e){return V.navigationClick(_e)})("keydown.arrowUp",function(_e){return V.navigationClick(_e)}),2&ce&&oe.AVh("dropup",V.dropup)("open",V.isOpen)("show",V.isOpen)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],standalone:!0,features:[oe.Jv_([Q.g,h.Li,Z.T])]})}return le})()},29562:(We,de,D)=>{D.d(de,{g:()=>h});var y=D(54438);let h=(()=>{class Z{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new y.bkB,this.isDisabledChange=new y.bkB,this.toggleClick=new y.bkB,this.counts=0,this.dropdownMenu=new Promise(Q=>{this.resolveDropdownMenu=Q})}static#e=this.\u0275fac=function(H){return new(H||Z)};static#t=this.\u0275prov=y.jDH({token:Z,factory:Z.\u0275fac,providedIn:"platform"})}return Z})()},58761:(We,de,D)=>{D.d(de,{a:()=>Z});var y=D(49969);const Z=[(0,y.iF)({height:0,overflow:"hidden"}),(0,y.i0)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,y.iF)({height:"*",overflow:"hidden"}))]},43744:(We,de,D)=>{D.d(de,{Tb:()=>o.T,zE:()=>H}),D(91706),D(91921),D(65806);var o=D(27593),Q=D(54438);let H=(()=>{class oe{static forRoot(){return{ngModule:oe,providers:[]}}static#e=this.\u0275fac=function(le){return new(le||oe)};static#t=this.\u0275mod=Q.$C({type:oe});static#n=this.\u0275inj=Q.G2t({})}return oe})()},35990:(We,de,D)=>{D.d(de,{Rz:()=>h,DF:()=>ct,ow:()=>U});var y=function(w){return w.top="top",w.bottom="bottom",w.left="left",w.right="right",w.auto="auto",w.end="right",w.start="left",w["top left"]="top left",w["top right"]="top right",w["right top"]="right top",w["right bottom"]="right bottom",w["bottom right"]="bottom right",w["bottom left"]="bottom left",w["left bottom"]="left bottom",w["left top"]="left top",w["top start"]="top left",w["top end"]="top right",w["end top"]="right top",w["end bottom"]="right bottom",w["bottom end"]="bottom right",w["bottom start"]="bottom left",w["start bottom"]="start bottom",w["start top"]="left top",w}(y||{}),h=function(w){return w.top="top",w.bottom="bottom",w.left="start",w.right="end",w.auto="auto",w.end="end",w.start="start",w["top left"]="top start",w["top right"]="top end",w["right top"]="end top",w["right bottom"]="end bottom",w["bottom right"]="bottom end",w["bottom left"]="bottom start",w["left bottom"]="start bottom",w["left top"]="start top",w["top start"]="top start",w["top end"]="top end",w["end top"]="end top",w["end bottom"]="end bottom",w["bottom end"]="bottom end",w["bottom start"]="bottom start",w["start bottom"]="start bottom",w["start top"]="start top",w}(h||{});function Z(w,S){if(1!==w.nodeType)return[];const z=w.ownerDocument.defaultView?.getComputedStyle(w,null);return S?z&&z[S]:z}function o(w){if(!w)return document.documentElement;let z,O=w?.offsetParent;for(;null===O&&w.nextElementSibling&&z!==w.nextElementSibling;)z=w.nextElementSibling,O=z.offsetParent;const me=O&&O.nodeName;return me&&"BODY"!==me&&"HTML"!==me?O&&-1!==["TH","TD","TABLE"].indexOf(O.nodeName)&&"static"===Z(O,"position")?o(O):O:z?z.ownerDocument.documentElement:document.documentElement}function H(w){return null!==w.parentNode?H(w.parentNode):w}function oe(w,S){if(!(w&&w.nodeType&&S&&S.nodeType))return document.documentElement;const O=w.compareDocumentPosition(S)&Node.DOCUMENT_POSITION_FOLLOWING,z=O?w:S,me=O?S:w,Ae=document.createRange();Ae.setStart(z,0),Ae.setEnd(me,0);const xe=Ae.commonAncestorContainer;if(w!==xe&&S!==xe||z.contains(me))return function Q(w){const{nodeName:S}=w;return"BODY"!==S&&("HTML"===S||o(w.firstElementChild)===w)}(xe)?xe:o(xe);const ze=H(w);return ze.host?oe(ze.host,S):oe(w,H(S).host)}function ue(w){if(!w||!w.parentElement)return document.documentElement;let S=w.parentElement;for(;S?.parentElement&&"none"===Z(S,"transform");)S=S.parentElement;return S||document.documentElement}function ie(w,S){const O="x"===S?"Left":"Top",z="Left"===O?"Right":"Bottom";return parseFloat(w[`border${O}Width`])+parseFloat(w[`border${z}Width`])}function le(w,S,O){return Math.max(S[`offset${w}`],S[`scroll${w}`],O[`client${w}`],O[`offset${w}`],O[`scroll${w}`],0)}function Y(w){const S=w.body,O=w.documentElement;return{height:le("Height",S,O),width:le("Width",S,O)}}function B(w){return{...w,right:(w.left||0)+w.width,bottom:(w.top||0)+w.height}}function V(w){return"number"==typeof w||"[object Number]"===Object.prototype.toString.call(w)}function ge(w){const S=w.getBoundingClientRect();if(!(S&&V(S.top)&&V(S.left)&&V(S.bottom)&&V(S.right)))return S;const O={left:S.left,top:S.top,width:S.right-S.left,height:S.bottom-S.top},z="HTML"===w.nodeName?Y(w.ownerDocument):void 0,me=z?.width||w.clientWidth||V(S.right)&&V(O.left)&&S.right-O.left||0,Ae=z?.height||w.clientHeight||V(S.bottom)&&V(O.top)&&S.bottom-O.top||0;let xe=w.offsetWidth-me,ze=w.offsetHeight-Ae;if(xe||ze){const nt=Z(w);xe-=ie(nt,"x"),ze-=ie(nt,"y"),O.width-=xe,O.height-=ze}return B(O)}function _e(w,S,O=!1){const z="HTML"===S.nodeName,me=ge(w),Ae=ge(S),xe=Z(S),ze=parseFloat(xe.borderTopWidth),nt=parseFloat(xe.borderLeftWidth);O&&z&&(Ae.top=Math.max(Ae.top??0,0),Ae.left=Math.max(Ae.left??0,0));const ut=B({top:(me.top??0)-(Ae.top??0)-ze,left:(me.left??0)-(Ae.left??0)-nt,width:me.width,height:me.height});if(ut.marginTop=0,ut.marginLeft=0,z){const Nt=parseFloat(xe.marginTop),mn=parseFloat(xe.marginLeft);V(ut.top)&&(ut.top-=ze-Nt),V(ut.bottom)&&(ut.bottom-=ze-Nt),V(ut.left)&&(ut.left-=nt-mn),V(ut.right)&&(ut.right-=nt-mn),ut.marginTop=Nt,ut.marginLeft=mn}return ut}function Oe(w){return"HTML"===w.nodeName?w:w.parentNode||w.host}function rt(w){if(!w)return document.body;switch(w.nodeName){case"HTML":case"BODY":return w.ownerDocument.body;case"#document":return w.body}const{overflow:S,overflowX:O,overflowY:z}=Z(w);return/(auto|scroll|overlay)/.test(String(S)+String(z)+String(O))?w:rt(Oe(w))}function gt(w,S="top"){const O="top"===S?"scrollTop":"scrollLeft",z=w.nodeName;return"BODY"===z||"HTML"===z?(w.ownerDocument.scrollingElement||w.ownerDocument.documentElement)[O]:w[O]}function Le(w){const S=w.nodeName;return"BODY"!==S&&"HTML"!==S&&("fixed"===Z(w,"position")||Le(Oe(w)))}function ke(w,S,O=0,z,me=!1){let Ae={top:0,left:0};const xe=me?ue(w):oe(w,S);if("viewport"===z)Ae=function kt(w,S=!1){const O=w.ownerDocument.documentElement,z=_e(w,O),me=Math.max(O.clientWidth,window.innerWidth||0),Ae=Math.max(O.clientHeight,window.innerHeight||0),xe=S?0:gt(O),ze=S?0:gt(O,"left");return B({top:xe-Number(z?.top)+Number(z?.marginTop),left:ze-Number(z?.left)+Number(z?.marginLeft),width:me,height:Ae})}(xe,me);else{let ze;"scrollParent"===z?(ze=rt(Oe(S)),"BODY"===ze.nodeName&&(ze=w.ownerDocument.documentElement)):ze="window"===z?w.ownerDocument.documentElement:z;const nt=_e(ze,xe,me);if(nt&&"HTML"===ze.nodeName&&!Le(xe)){const{height:ut,width:Nt}=Y(w.ownerDocument);V(Ae.top)&&V(nt.top)&&V(nt.marginTop)&&(Ae.top+=nt.top-nt.marginTop),V(Ae.top)&&(Ae.bottom=Number(ut)+Number(nt.top)),V(Ae.left)&&V(nt.left)&&V(nt.marginLeft)&&(Ae.left+=nt.left-nt.marginLeft),V(Ae.top)&&(Ae.right=Number(Nt)+Number(nt.left))}else nt&&(Ae=nt)}return V(Ae.left)&&(Ae.left+=O),V(Ae.top)&&(Ae.top+=O),V(Ae.right)&&(Ae.right-=O),V(Ae.bottom)&&(Ae.bottom-=O),Ae}var Je=D(39555);function je({width:w,height:S}){return w*S}function $e(w,S,O,z,me=["top","bottom","right","left"],Ae="viewport",xe=0){if(-1===w.indexOf("auto"))return w;const ze=ke(O,z,xe,Ae),nt={top:{width:ze?.width??0,height:(S?.top??0)-(ze?.top??0)},right:{width:(ze?.right??0)-(S?.right??0),height:ze?.height??0},bottom:{width:ze?.width??0,height:(ze?.bottom??0)-(S?.bottom??0)},left:{width:(S.left??0)-(ze?.left??0),height:ze?.height??0}},ut=Object.keys(nt).map(Kt=>({position:Kt,...nt[Kt],area:je(nt[Kt])})).sort((Kt,Ze)=>Ze.area-Kt.area);let Nt=ut.filter(({width:Kt,height:Ze})=>Kt>=O.clientWidth&&Ze>=O.clientHeight);Nt=Nt.filter(({position:Kt})=>me.some(Ze=>Ze===Kt));const mn=Nt.length>0?Nt[0].position:ut[0].position,ar=w.split(" ")[1];return O.className=O.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,Je.Bu)().isBs5?h[mn]:mn}`),mn+(ar?`-${ar}`:"")}const zt=(w,S=0)=>w?parseFloat(w):S;function Ne(w){const O=w.ownerDocument.defaultView?.getComputedStyle(w),z=zt(O?.marginTop)+zt(O?.marginBottom),me=zt(O?.marginLeft)+zt(O?.marginRight);return{width:Number(w.offsetWidth)+me,height:Number(w.offsetHeight)+z}}function Te(w,S,O){return _e(S,O?ue(w):oe(w,S),O)}function _t(w,S,O){const z=O.split(" ")[0],me=Ne(w),Ae={width:me.width,height:me.height},xe=-1!==["right","left"].indexOf(z),ze=xe?"top":"left",nt=xe?"left":"top",ut=xe?"height":"width",Nt=xe?"width":"height";return Ae[ze]=(S[ze]??0)+S[ut]/2-me[ut]/2,Ae[nt]=z===nt?(S[nt]??0)-me[Nt]:S[function ot(w){const S={left:"right",right:"left",bottom:"top",top:"bottom"};return w.replace(/left|right|bottom|top/g,O=>S[O])}(nt)]??0,Ae}function Qt(w,S){return!!w.modifiers[S]?.enabled}const dn={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function Ce(w,S){return!!(0,Je.Bu)().isBs5&&dn[S].includes(w)}function U(w){return(0,Je.Bu)().isBs5?Ce(w,"end")?"ms-2":Ce(w,"start")?"me-2":Ce(w,"top")?"mb-2":Ce(w,"bottom")?"mt-2":"":""}function $(w,S,O){!w||!S||Object.keys(S).forEach(z=>{let me="";-1!==["width","height","top","right","bottom","left"].indexOf(z)&&function ce(w){return""!==w&&!isNaN(parseFloat(w))&&isFinite(Number(w))}(S[z])&&(me="px"),O?O.setStyle(w,z,`${String(S[z])}${me}`):w.style[z]=String(S[z])+me})}function re(w){let S=w.offsets.target;const O=w.instance.target.querySelector(".arrow");if(!O)return w;const z=-1!==["left","right"].indexOf(w.placement.split(" ")[0]),me=z?"height":"width",Ae=z?"Top":"Left",xe=Ae.toLowerCase(),ze=z?"left":"top",nt=z?"bottom":"right",ut=Ne(O)[me],Nt=w.placement.split(" ")[1];(w.offsets.host[nt]??0)-ut<(S[xe]??0)&&(S[xe]-=(S[xe]??0)-((w.offsets.host[nt]??0)-ut)),Number(w.offsets.host[xe])+Number(ut)>(S[nt]??0)&&(S[xe]+=Number(w.offsets.host[xe])+Number(ut)-Number(S[nt])),S=B(S);const mn=Z(w.instance.target),ar=parseFloat(mn[`margin${Ae}`])||0,Kt=parseFloat(mn[`border${Ae}Width`])||0;let Ze;if(Nt){const qr=parseFloat(mn.borderRadius)||0,Zn=Number(ar+Kt+qr);Ze=xe===Nt?Number(w.offsets.host[xe])+Zn:Number(w.offsets.host[xe])+Number(w.offsets.host[me]-Zn)}else Ze=Number(w.offsets.host[xe])+Number(w.offsets.host[me]/2-ut/2);let mr=Ze-(S[xe]??0)-ar-Kt;return mr=Math.max(Math.min(S[me]-(ut+5),mr),0),w.offsets.arrow={[xe]:Math.round(mr),[ze]:""},w.instance.arrow=O,w}function Me(w){if(w.offsets.target=B(w.offsets.target),!Qt(w.options,"flip"))return w.offsets.target={...w.offsets.target,..._t(w.instance.target,w.offsets.host,w.placement)},w;const S=ke(w.instance.target,w.instance.host,0,"viewport",!1);let O=w.placement.split(" ")[0],z=w.placement.split(" ")[1]||"";const ze=$e("auto",w.offsets.host,w.instance.target,w.instance.host,w.options.allowedPositions),nt=[O,ze];return nt.forEach((ut,Nt)=>{if(O!==ut||nt.length===Nt+1)return;O=w.placement.split(" ")[0];const mn="left"===O&&Math.floor(w.offsets.target.right??0)>Math.floor(w.offsets.host.left??0)||"right"===O&&Math.floor(w.offsets.target.left??0)Math.floor(w.offsets.host.top??0)||"bottom"===O&&Math.floor(w.offsets.target.top??0)Math.floor(S.right??0),Ze=Math.floor(w.offsets.target.top??0)Math.floor(S.bottom??0),qr="left"===O&&ar||"right"===O&&Kt||"top"===O&&Ze||"bottom"===O&&mr,Zn=-1!==["top","bottom"].indexOf(O),ho=Zn&&"left"===z&&ar||Zn&&"right"===z&&Kt||!Zn&&"left"===z&&Ze||!Zn&&"right"===z&&mr;(mn||qr||ho)&&((mn||qr)&&(O=nt[Nt+1]),ho&&(z=function st(w){return"right"===w?"left":"left"===w?"right":w}(z)),w.placement=O+(z?` ${z}`:""),w.offsets.target={...w.offsets.target,..._t(w.instance.target,w.offsets.host,w.placement)})}),w}function it(w){if(!Qt(w.options,"preventOverflow"))return w;const S="transform",O=w.instance.target.style,{top:z,left:me,[S]:Ae}=O;O.top="",O.left="",O[S]="";const xe=ke(w.instance.target,w.instance.host,0,w.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);O.top=z,O.left=me,O[S]=Ae;const nt={primary(ut){let Nt=w.offsets.target[ut];return(w.offsets.target[ut]??0)<(xe[ut]??0)&&(Nt=Math.max(w.offsets.target[ut]??0,xe[ut]??0)),{[ut]:Nt}},secondary(ut){const Nt="right"===ut,mn=Nt?"left":"top";let Kt=w.offsets.target[mn];return(w.offsets.target[ut]??0)>(xe[ut]??0)&&(Kt=Math.min(w.offsets.target[mn]??0,(xe[ut]??0)-w.offsets.target[Nt?"width":"height"])),{[mn]:Kt}}};return["left","right","top","bottom"].forEach(ut=>{const Nt=-1!==["left","top","start"].indexOf(ut)?nt.primary:nt.secondary;w.offsets.target={...w.offsets.target,...Nt(ut)}}),w}function mt(w){const S=w.placement,O=S.split(" ")[0],z=S.split(" ")[1];if(z){const{host:me,target:Ae}=w.offsets,xe=-1!==["bottom","top"].indexOf(O),ze=xe?"left":"top",nt=xe?"width":"height",ut={start:{[ze]:me[ze]},end:{[ze]:(me[ze]??0)+me[nt]-Ae[nt]}};w.offsets.target={...Ae,[ze]:ze===z?ut.start[ze]:ut.end[ze]}}return w}const dt=new class Jt{position(S,O){return this.offset(S,O)}offset(S,O){return Te(O,S)}positionElements(S,O,z,me,Ae){const xe=[Me,mt,it,re],nt=function we(w,S,O,z){if(!w||!S)return;const me=Te(w,S);!O.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!O.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(O="auto");const Ae=!!O.match(/auto/g);let xe=O.match(/auto\s(left|right|top|bottom|start|end)/)?O.split(" ")[1]||"auto":O;const ze=xe.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return ze&&(xe=ze[1]+(ze[2]?` ${ze[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(xe)&&(xe="auto"),xe=$e(xe,me,w,S,z?z.allowedPositions:void 0),{options:z||{modifiers:{}},instance:{target:w,host:S,arrow:void 0},offsets:{target:_t(w,me,xe),host:me,arrow:void 0},positionFixed:!1,placement:xe,placementAuto:Ae}}(O,S,y[z],Ae);if(nt)return xe.reduce((ut,Nt)=>Nt(ut),nt)}};var Ut=D(54438),tt=D(60177),an=D(21413),tn=D(26365),En=D(58750),en=D(983),Ve=D(9326),ln=D(22806),Kn=D(71985),Vr=D(31397),xn=D(47441),pr=D(98071),bn=D(6450);const Ft=["addListener","removeListener"],Bt=["addEventListener","removeEventListener"],sr=["on","off"];function er(w,S,O,z){if((0,pr.T)(O)&&(z=O,O=void 0),z)return er(w,S,O).pipe((0,bn.I)(z));const[me,Ae]=function Gt(w){return(0,pr.T)(w.addEventListener)&&(0,pr.T)(w.removeEventListener)}(w)?Bt.map(xe=>ze=>w[xe](S,ze,O)):function Xn(w){return(0,pr.T)(w.addListener)&&(0,pr.T)(w.removeListener)}(w)?Ft.map(Mn(w,S)):function Rn(w){return(0,pr.T)(w.on)&&(0,pr.T)(w.off)}(w)?sr.map(Mn(w,S)):[];if(!me&&(0,xn.X)(w))return(0,Vr.Z)(xe=>er(xe,S,O))((0,En.Tg)(w));if(!me)throw new TypeError("Invalid event target");return new Kn.c(xe=>{const ze=(...nt)=>xe.next(1Ae(ze)})}function Mn(w,S){return O=>z=>w[O](S,z)}var bt=D(7673),Sn=D(96780),at=D(18359);const Fn={schedule(w){let S=requestAnimationFrame,O=cancelAnimationFrame;const{delegate:z}=Fn;z&&(S=z.requestAnimationFrame,O=z.cancelAnimationFrame);const me=S(Ae=>{O=void 0,w(Ae)});return new at.yU(()=>O?.(me))},requestAnimationFrame(...w){const{delegate:S}=Fn;return(S?.requestAnimationFrame||requestAnimationFrame)(...w)},cancelAnimationFrame(...w){const{delegate:S}=Fn;return(S?.cancelAnimationFrame||cancelAnimationFrame)(...w)},delegate:void 0};var Qn=D(13604);const nr=new class tr extends Qn.q{flush(S){this._active=!0;const O=this._scheduled;this._scheduled=void 0;const{actions:z}=this;let me;S=S||z.shift();do{if(me=S.execute(S.state,S.delay))break}while((S=z[0])&&S.id===O&&z.shift());if(this._active=!1,me){for(;(S=z[0])&&S.id===O&&z.shift();)S.unsubscribe();throw me}}}(class Yt extends Sn.R{constructor(S,O){super(S,O),this.scheduler=S,this.work=O}requestAsyncId(S,O,z=0){return null!==z&&z>0?super.requestAsyncId(S,O,z):(S.actions.push(this),S._scheduled||(S._scheduled=Fn.requestAnimationFrame(()=>S.flush(void 0))))}recycleAsyncId(S,O,z=0){var me;if(null!=z?z>0:this.delay>0)return super.recycleAsyncId(S,O,z);const{actions:Ae}=S;null!=O&&(null===(me=Ae[Ae.length-1])||void 0===me?void 0:me.id)!==O&&(Fn.cancelAnimationFrame(O),S._scheduled=void 0)}});let ct=(()=>{class w{constructor(O,z,me){this.update$$=new an.B,this.positionElements=new Map,this.isDisabled=!1,(0,tt.UE)(me)&&O.runOutsideAngular(()=>{this.triggerEvent$=function kn(...w){const S=(0,Ve.lI)(w),O=(0,Ve.R0)(w,1/0),z=w;return z.length?1===z.length?(0,En.Tg)(z[0]):(0,tn.U)(O)((0,ln.H)(z,S)):en.w}(er(window,"scroll",{passive:!0}),er(window,"resize",{passive:!0}),(0,bt.of)(0,nr),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Ae=>{!function Vt(w,S,O,z,me,Ae){const xe=dt.positionElements(w,S,O,z,me);if(!xe)return;const ze=function et(w){return{width:w.offsets.target.width,height:w.offsets.target.height,left:Math.floor(w.offsets.target.left??0),top:Math.round(w.offsets.target.top??0),bottom:Math.round(w.offsets.target.bottom??0),right:Math.floor(w.offsets.target.right??0)}}(xe);$(S,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${ze.left}px, ${ze.top}px, 0px)`},Ae),xe.instance.arrow&&$(xe.instance.arrow,xe.offsets.arrow,Ae),function x(w,S){const O=w.instance.target;let z=O.className;const me=(0,Je.Bu)().isBs5?h[w.placement]:w.placement;w.placementAuto&&(z=z.replace(/bs-popover-auto/g,`bs-popover-${me}`),z=z.replace(/ms-2|me-2|mb-2|mt-2/g,""),z=z.replace(/bs-tooltip-auto/g,`bs-tooltip-${me}`),z=z.replace(/\sauto/g,` ${me}`),-1!==z.indexOf("popover")&&(z=z+" "+U(me)),-1!==z.indexOf("popover")&&-1===z.indexOf("popover-auto")&&(z+=" popover-auto"),-1!==z.indexOf("tooltip")&&-1===z.indexOf("tooltip-auto")&&(z+=" tooltip-auto")),z=z.replace(/left|right|top|bottom|end|start/g,`${me.split(" ")[0]}`),S?S.setAttribute(O,"class",z):O.className=z}(xe,Ae)}(ye(Ae.target),ye(Ae.element),Ae.attachment,Ae.appendToBody,this.options,z.createRenderer(null,null))})})})}position(O){this.addPositionElement(O)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(O){this.positionElements.set(ye(O.element),O)}calcPosition(){this.update$$.next(null)}deletePositionElement(O){this.positionElements.delete(ye(O))}setOptions(O){this.options=O}static#e=this.\u0275fac=function(z){return new(z||w)(Ut.KVO(Ut.SKi),Ut.KVO(Ut._9s),Ut.KVO(Ut.Agw))};static#t=this.\u0275prov=Ut.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();function ye(w){return"string"==typeof w?document.querySelector(w):w instanceof Ut.aKT?w.nativeElement:w??null}},4875:(We,de,D)=>{D.d(de,{V:()=>Z});var y=D(54438),h=D(80903);let Z=(()=>{class o{get customClass(){return this._customClass}set customClass(H){this.customClass&&this.customClass.split(" ").forEach(oe=>{this.renderer.removeClass(this.elementRef.nativeElement,oe)}),this._customClass=H?H.trim():"",this.customClass&&this.customClass.split(" ").forEach(oe=>{this.renderer.addClass(this.elementRef.nativeElement,oe)})}get active(){return this._active}set active(H){if(this._active!==H){if(this.disabled&&H||!H)return void(this._active&&!H&&(this.deselect.emit(this),this._active=H));this._active=H,this.selectTab.emit(this),this.tabset.tabs.forEach(oe=>{oe!==this&&(oe.active=!1)})}}get ariaLabelledby(){return this.id?`${this.id}-link`:""}constructor(H,oe,ue){this.elementRef=oe,this.renderer=ue,this.disabled=!1,this.removable=!1,this.selectTab=new y.bkB,this.deselect=new y.bkB,this.removed=new y.bkB,this.addClass=!0,this.role="tabpanel",this._active=!1,this._customClass="",this.tabset=H,this.tabset.addTab(this)}ngOnInit(){this.removable=!!this.removable}ngOnDestroy(){this.tabset.removeTab(this,{reselect:!1,emit:!1})}static#e=this.\u0275fac=function(oe){return new(oe||o)(y.rXU(h.f),y.rXU(y.aKT),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:o,selectors:[["tab"],["","tab",""]],hostVars:7,hostBindings:function(oe,ue){2&oe&&(y.BMQ("id",ue.id)("role",ue.role)("aria-labelledby",ue.ariaLabelledby),y.AVh("active",ue.active)("tab-pane",ue.addClass))},inputs:{heading:"heading",id:"id",disabled:"disabled",removable:"removable",customClass:"customClass",active:"active"},outputs:{selectTab:"selectTab",deselect:"deselect",removed:"removed"},exportAs:["tab"],standalone:!0})}return o})()},59169:(We,de,D)=>{D.d(de,{j:()=>Z});var y=D(60177),h=D(54438);let Z=(()=>{class o{static forRoot(){return{ngModule:o,providers:[]}}static#e=this.\u0275fac=function(oe){return new(oe||o)};static#t=this.\u0275mod=h.$C({type:o});static#n=this.\u0275inj=h.G2t({imports:[y.MD]})}return o})()},80903:(We,de,D)=>{D.d(de,{f:()=>ie});var y=D(54438);let h=(()=>{class le{set ngTransclude(B){this._ngTransclude=B,B&&this.viewRef.createEmbeddedView(B)}get ngTransclude(){return this._ngTransclude}constructor(B){this.viewRef=B}static#e=this.\u0275fac=function(ce){return new(ce||le)(y.rXU(y.c1b))};static#t=this.\u0275dir=y.FsC({type:le,selectors:[["","ngTransclude",""]],inputs:{ngTransclude:"ngTransclude"},standalone:!0})}return le})();var Z=D(60177),o=D(34864);const Q=["*"],H=le=>["nav-item",le];function oe(le,Y){if(1&le){const B=y.RV6();y.j41(0,"span",7),y.bIt("click",function(V){y.eBV(B);const ge=y.XpG().$implicit,_e=y.XpG();return V.preventDefault(),y.Njj(_e.removeTab(ge))}),y.EFF(1," \u274c"),y.k0s()}}function ue(le,Y){if(1&le){const B=y.RV6();y.j41(0,"li",3),y.bIt("keydown",function(V){const ge=y.eBV(B).index,_e=y.XpG();return y.Njj(_e.keyNavActions(V,ge))}),y.j41(1,"a",4),y.bIt("click",function(){const V=y.eBV(B).$implicit;return y.Njj(V.active=!0)}),y.j41(2,"span",5),y.EFF(3),y.k0s(),y.DNE(4,oe,2,0,"span",6),y.k0s()()}if(2&le){const B=Y.$implicit;y.AVh("active",B.active)("disabled",B.disabled),y.Y8G("ngClass",y.eq3(15,H,B.customClass||"")),y.R7$(),y.AVh("active",B.active)("disabled",B.disabled),y.BMQ("aria-controls",B.id?B.id:"")("aria-selected",!!B.active)("id",B.id?B.id+"-link":""),y.R7$(),y.Y8G("ngTransclude",B.headingRef),y.R7$(),y.JRh(B.heading),y.R7$(),y.Y8G("ngIf",B.removable)}}let ie=(()=>{class le{get vertical(){return this._vertical}set vertical(B){this._vertical=B,this.setClassMap()}get justified(){return this._justified}set justified(B){this._justified=B,this.setClassMap()}get type(){return this._type}set type(B){this._type=B,this.setClassMap()}get isKeysAllowed(){return this._isKeysAllowed}set isKeysAllowed(B){this._isKeysAllowed=B}constructor(B,ce,V){this.renderer=ce,this.elementRef=V,this.clazz=!0,this.tabs=[],this.classMap={},this.ariaLabel="Tabs",this.isDestroyed=!1,this._vertical=!1,this._justified=!1,this._type="tabs",this._isKeysAllowed=!0,Object.assign(this,B)}ngOnDestroy(){this.isDestroyed=!0}addTab(B){this.tabs.push(B),B.active=1===this.tabs.length&&!B.active}removeTab(B,ce={reselect:!0,emit:!0}){const V=this.tabs.indexOf(B);if(-1!==V&&!this.isDestroyed){if(ce.reselect&&B.active&&this.hasAvailableTabs(V)){const ge=this.getClosestTabIndex(V);this.tabs[ge].active=!0}ce.emit&&B.removed.emit(B),this.tabs.splice(V,1),B.elementRef.nativeElement.parentNode&&this.renderer.removeChild(B.elementRef.nativeElement.parentNode,B.elementRef.nativeElement)}}keyNavActions(B,ce){if(!this.isKeysAllowed)return;const V=Array.from(this.elementRef.nativeElement.querySelectorAll(".nav-link"));if(13===B.keyCode||"Enter"===B.key||32===B.keyCode||"Space"===B.key)return B.preventDefault(),void V[ce%V.length].click();if(39!==B.keyCode&&"RightArrow"!==B.key)if(37!==B.keyCode&&"LeftArrow"!==B.key)if(36!==B.keyCode&&"Home"!==B.key)if(35!==B.keyCode&&"End"!==B.key){if((46===B.keyCode||"Delete"===B.key)&&this.tabs[ce].removable){if(this.removeTab(this.tabs[ce]),V[ce+1])return void V[(ce+1)%V.length].focus();V[V.length-1]&&V[0].focus()}}else{B.preventDefault();let ge,_e=1,Oe=ce;do{Oe-_e<0?(Oe=V.length-1,ge=V[Oe],_e=0):ge=V[Oe-_e],_e++}while(ge.classList.contains("disabled"));ge.focus()}else{B.preventDefault();let ge,_e=0;do{ge=V[_e%V.length],_e++}while(ge.classList.contains("disabled"));ge.focus()}else{let ge,_e=1,Oe=ce;do{Oe-_e<0?(Oe=V.length-1,ge=V[Oe],_e=0):ge=V[Oe-_e],_e++}while(ge.classList.contains("disabled"));ge.focus()}else{let ge,_e=1;do{ge=V[(ce+_e)%V.length],_e++}while(ge.classList.contains("disabled"));ge.focus()}}getClosestTabIndex(B){const ce=this.tabs.length;if(!ce)return-1;for(let V=1;V<=ce;V+=1){const ge=B-V,_e=B+V;if(this.tabs[ge]&&!this.tabs[ge].disabled)return ge;if(this.tabs[_e]&&!this.tabs[_e].disabled)return _e}return-1}hasAvailableTabs(B){const ce=this.tabs.length;if(!ce)return!1;for(let V=0;V{D.d(de,{o:()=>h});var y=D(54438);let h=(()=>{class Z{constructor(){this.type="tabs",this.isKeysAllowed=!0,this.ariaLabel="Tabs"}static#e=this.\u0275fac=function(H){return new(H||Z)};static#t=this.\u0275prov=y.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},39555:(We,de,D)=>{D.d(de,{wl:()=>zt,Yr:()=>Ne,Aq:()=>Te,LQ:()=>st,Al:()=>ie,Bu:()=>et,GL:()=>Q,Zu:()=>Z,Fv:()=>oe,Xt:()=>H,Yl:()=>Je,mc:()=>dn,x:()=>ue});class y{constructor(U,x){this.open=U,this.close=x||U}isManual(){return"manual"===this.open||"manual"===this.close}}const h={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function Z(Ce,U=h){const x=(Ce||"").trim();if(0===x.length)return[];const $=x.split(/\s+/).map(Me=>Me.split(":")).map(Me=>{const we=U[Me[0]]||Me;return new y(we[0],we[1])}),re=$.filter(Me=>Me.isManual());if(re.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===re.length&&$.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return $}function Q(Ce,U){const x=Z(U.triggers),$=U.target;if(1===x.length&&x[0].isManual())return Function.prototype;const re=[],Me=[],we=()=>{Me.forEach(it=>re.push(it())),Me.length=0};return x.forEach(it=>{const mt=it.open===it.close,Jt=mt?U.toggle:U.show;if(!mt&&it.close&&U.hide){const dt=it.close,Vt=U.hide;Me.push(()=>Ce.listen($,dt,Vt))}Jt&&re.push(Ce.listen($,it.open,()=>Jt(we)))}),()=>{re.forEach(it=>it())}}function H(Ce,U){return U.outsideClick?Ce.listen("document","click",x=>{U.target&&U.target.contains(x.target)||U.targets&&U.targets.some($=>$.contains(x.target))||U.hide&&U.hide()}):Function.prototype}function oe(Ce,U){return U.outsideEsc?Ce.listen("document","keyup.esc",x=>{U.target&&U.target.contains(x.target)||U.targets&&U.targets.some($=>$.contains(x.target))||U.hide&&U.hide()}):Function.prototype}const ue=typeof window<"u"&&window||{},ie=ue.document;var kt=function(Ce){return Ce.isBs4="bs4",Ce.isBs5="bs5",Ce}(kt||{});let Le;function ke(){const Ce=ue.document.createElement("span");Ce.innerText="testing bs version",Ce.classList.add("d-none"),Ce.classList.add("pl-1"),ue.document.head.appendChild(Ce);const U=ue.getComputedStyle(Ce).paddingLeft;return U&&parseFloat(U)?(ue.document.head.removeChild(Ce),"bs4"):(ue.document.head.removeChild(Ce),"bs5")}function Je(Ce){Le=Ce}function et(){return{isBs4:(Le||(Le=ke()),"bs4"===Le),isBs5:(Le||(Le=ke()),"bs5"===Le)}}function st(){const Ce=et(),U=Object.keys(Ce).find(x=>Ce[x]);return kt[U]}class zt{constructor(){this.length=0,this.asArray=[]}get(U){if(0===this.length||U<0||U>=this.length)return;let x=this.head;for(let $=0;$this.length)throw new Error("Position is out of the list");const $={value:U,next:void 0,previous:void 0};if(0===this.length)this.head=$,this.tail=$,this.current=$;else if(0===x&&this.head)$.next=this.head,this.head.previous=$,this.head=$;else if(x===this.length&&this.tail)this.tail.next=$,$.previous=this.tail,this.tail=$;else{const re=this.getNode(x-1),Me=re?.next;re&&Me&&(re.next=$,Me.previous=$,$.previous=re,$.next=Me)}this.length++,this.createInternalArrayRepresentation()}remove(U=0){if(0===this.length||U<0||U>=this.length)throw new Error("Position is out of the list");if(0===U&&this.head)this.head=this.head.next,this.head?this.head.previous=void 0:this.tail=void 0;else if(U===this.length-1&&this.tail?.previous)this.tail=this.tail.previous,this.tail.next=void 0;else{const x=this.getNode(U);x?.next&&x.previous&&(x.next.previous=x.previous,x.previous.next=x.next)}this.length--,this.createInternalArrayRepresentation()}set(U,x){if(0===this.length||U<0||U>=this.length)throw new Error("Position is out of the list");const $=this.getNode(U);$&&($.value=x,this.createInternalArrayRepresentation())}toArray(){return this.asArray}findAll(U){let x=this.head;const $=[];if(!x)return $;for(let re=0;re{this.add(x)}),this.length}pop(){if(0===this.length)return;const U=this.tail;return this.remove(this.length-1),U?.value}unshift(...U){return U.reverse(),U.forEach(x=>{this.add(x,0)}),this.length}shift(){if(0===this.length)return;const U=this.head?.value;return this.remove(),U}forEach(U){let x=this.head;for(let $=0;$=this.length)throw new Error("Position is out of the list");let x=this.head;for(let $=0;$"u"||!("warn"in console);function dn(Ce){!(0,ot.naY)()||Qt||Ce in _t||(_t[Ce]=!0,console.warn(Ce))}},84412:(We,de,D)=>{D.d(de,{t:()=>h});var y=D(21413);class h extends y.B{constructor(o){super(),this._value=o}get value(){return this.getValue()}_subscribe(o){const Q=super._subscribe(o);return!Q.closed&&o.next(this._value),Q}getValue(){const{hasError:o,thrownError:Q,_value:H}=this;if(o)throw Q;return this._throwIfClosed(),H}next(o){super.next(this._value=o)}}},71985:(We,de,D)=>{D.d(de,{c:()=>ue});var y=D(47707),h=D(18359),Z=D(3494),o=D(71203),Q=D(41026),H=D(98071),oe=D(49786);let ue=(()=>{class B{constructor(V){V&&(this._subscribe=V)}lift(V){const ge=new B;return ge.source=this,ge.operator=V,ge}subscribe(V,ge,_e){const Oe=function Y(B){return B&&B instanceof y.vU||function le(B){return B&&(0,H.T)(B.next)&&(0,H.T)(B.error)&&(0,H.T)(B.complete)}(B)&&(0,h.Uv)(B)}(V)?V:new y.Ms(V,ge,_e);return(0,oe.Y)(()=>{const{operator:rt,source:gt}=this;Oe.add(rt?rt.call(Oe,gt):gt?this._subscribe(Oe):this._trySubscribe(Oe))}),Oe}_trySubscribe(V){try{return this._subscribe(V)}catch(ge){V.error(ge)}}forEach(V,ge){return new(ge=ie(ge))((_e,Oe)=>{const rt=new y.Ms({next:gt=>{try{V(gt)}catch(kt){Oe(kt),rt.unsubscribe()}},error:Oe,complete:_e});this.subscribe(rt)})}_subscribe(V){var ge;return null===(ge=this.source)||void 0===ge?void 0:ge.subscribe(V)}[Z.s](){return this}pipe(...V){return(0,o.m)(V)(this)}toPromise(V){return new(V=ie(V))((ge,_e)=>{let Oe;this.subscribe(rt=>Oe=rt,rt=>_e(rt),()=>ge(Oe))})}}return B.create=ce=>new B(ce),B})();function ie(B){var ce;return null!==(ce=B??Q.$.Promise)&&void 0!==ce?ce:Promise}},21413:(We,de,D)=>{D.d(de,{B:()=>oe});var y=D(71985),h=D(18359);const o=(0,D(81853).L)(ie=>function(){ie(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=D(57908),H=D(49786);let oe=(()=>{class ie extends y.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Y){const B=new ue(this,this);return B.operator=Y,B}_throwIfClosed(){if(this.closed)throw new o}next(Y){(0,H.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const B of this.currentObservers)B.next(Y)}})}error(Y){(0,H.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Y;const{observers:B}=this;for(;B.length;)B.shift().error(Y)}})}complete(){(0,H.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Y}=this;for(;Y.length;)Y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Y;return(null===(Y=this.observers)||void 0===Y?void 0:Y.length)>0}_trySubscribe(Y){return this._throwIfClosed(),super._trySubscribe(Y)}_subscribe(Y){return this._throwIfClosed(),this._checkFinalizedStatuses(Y),this._innerSubscribe(Y)}_innerSubscribe(Y){const{hasError:B,isStopped:ce,observers:V}=this;return B||ce?h.Kn:(this.currentObservers=null,V.push(Y),new h.yU(()=>{this.currentObservers=null,(0,Q.o)(V,Y)}))}_checkFinalizedStatuses(Y){const{hasError:B,thrownError:ce,isStopped:V}=this;B?Y.error(ce):V&&Y.complete()}asObservable(){const Y=new y.c;return Y.source=this,Y}}return ie.create=(le,Y)=>new ue(le,Y),ie})();class ue extends oe{constructor(le,Y){super(),this.destination=le,this.source=Y}next(le){var Y,B;null===(B=null===(Y=this.destination)||void 0===Y?void 0:Y.next)||void 0===B||B.call(Y,le)}error(le){var Y,B;null===(B=null===(Y=this.destination)||void 0===Y?void 0:Y.error)||void 0===B||B.call(Y,le)}complete(){var le,Y;null===(Y=null===(le=this.destination)||void 0===le?void 0:le.complete)||void 0===Y||Y.call(le)}_subscribe(le){var Y,B;return null!==(B=null===(Y=this.source)||void 0===Y?void 0:Y.subscribe(le))&&void 0!==B?B:h.Kn}}},47707:(We,de,D)=>{D.d(de,{Ms:()=>_e,vU:()=>B});var y=D(98071),h=D(18359),Z=D(41026),o=D(45334),Q=D(85343);const H=ie("C",void 0,void 0);function ie(Le,ke,Je){return{kind:Le,value:ke,error:Je}}var le=D(19270),Y=D(49786);class B extends h.yU{constructor(ke){super(),this.isStopped=!1,ke?(this.destination=ke,(0,h.Uv)(ke)&&ke.add(this)):this.destination=kt}static create(ke,Je,je){return new _e(ke,Je,je)}next(ke){this.isStopped?gt(function ue(Le){return ie("N",Le,void 0)}(ke),this):this._next(ke)}error(ke){this.isStopped?gt(function oe(Le){return ie("E",void 0,Le)}(ke),this):(this.isStopped=!0,this._error(ke))}complete(){this.isStopped?gt(H,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ke){this.destination.next(ke)}_error(ke){try{this.destination.error(ke)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function V(Le,ke){return ce.call(Le,ke)}class ge{constructor(ke){this.partialObserver=ke}next(ke){const{partialObserver:Je}=this;if(Je.next)try{Je.next(ke)}catch(je){Oe(je)}}error(ke){const{partialObserver:Je}=this;if(Je.error)try{Je.error(ke)}catch(je){Oe(je)}else Oe(ke)}complete(){const{partialObserver:ke}=this;if(ke.complete)try{ke.complete()}catch(Je){Oe(Je)}}}class _e extends B{constructor(ke,Je,je){let $e;if(super(),(0,y.T)(ke)||!ke)$e={next:ke??void 0,error:Je??void 0,complete:je??void 0};else{let et;this&&Z.$.useDeprecatedNextContext?(et=Object.create(ke),et.unsubscribe=()=>this.unsubscribe(),$e={next:ke.next&&V(ke.next,et),error:ke.error&&V(ke.error,et),complete:ke.complete&&V(ke.complete,et)}):$e=ke}this.destination=new ge($e)}}function Oe(Le){Z.$.useDeprecatedSynchronousErrorHandling?(0,Y.l)(Le):(0,o.m)(Le)}function gt(Le,ke){const{onStoppedNotification:Je}=Z.$;Je&&le.f.setTimeout(()=>Je(Le,ke))}const kt={closed:!0,next:Q.l,error:function rt(Le){throw Le},complete:Q.l}},18359:(We,de,D)=>{D.d(de,{Kn:()=>H,yU:()=>Q,Uv:()=>oe});var y=D(98071);const Z=(0,D(81853).L)(ie=>function(Y){ie(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((B,ce)=>`${ce+1}) ${B.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y});var o=D(57908);class Q{constructor(le){this.initialTeardown=le,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let le;if(!this.closed){this.closed=!0;const{_parentage:Y}=this;if(Y)if(this._parentage=null,Array.isArray(Y))for(const V of Y)V.remove(this);else Y.remove(this);const{initialTeardown:B}=this;if((0,y.T)(B))try{B()}catch(V){le=V instanceof Z?V.errors:[V]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const V of ce)try{ue(V)}catch(ge){le=le??[],ge instanceof Z?le=[...le,...ge.errors]:le.push(ge)}}if(le)throw new Z(le)}}add(le){var Y;if(le&&le!==this)if(this.closed)ue(le);else{if(le instanceof Q){if(le.closed||le._hasParent(this))return;le._addParent(this)}(this._finalizers=null!==(Y=this._finalizers)&&void 0!==Y?Y:[]).push(le)}}_hasParent(le){const{_parentage:Y}=this;return Y===le||Array.isArray(Y)&&Y.includes(le)}_addParent(le){const{_parentage:Y}=this;this._parentage=Array.isArray(Y)?(Y.push(le),Y):Y?[Y,le]:le}_removeParent(le){const{_parentage:Y}=this;Y===le?this._parentage=null:Array.isArray(Y)&&(0,o.o)(Y,le)}remove(le){const{_finalizers:Y}=this;Y&&(0,o.o)(Y,le),le instanceof Q&&le._removeParent(this)}}Q.EMPTY=(()=>{const ie=new Q;return ie.closed=!0,ie})();const H=Q.EMPTY;function oe(ie){return ie instanceof Q||ie&&"closed"in ie&&(0,y.T)(ie.remove)&&(0,y.T)(ie.add)&&(0,y.T)(ie.unsubscribe)}function ue(ie){(0,y.T)(ie)?ie():ie.unsubscribe()}},41026:(We,de,D)=>{D.d(de,{$:()=>y});const y={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},84572:(We,de,D)=>{D.d(de,{z:()=>le});var y=D(71985),h=D(93073),Z=D(22806),o=D(33669),Q=D(6450),H=D(9326),oe=D(58496),ue=D(54360),ie=D(45225);function le(...ce){const V=(0,H.lI)(ce),ge=(0,H.ms)(ce),{args:_e,keys:Oe}=(0,h.D)(ce);if(0===_e.length)return(0,Z.H)([],V);const rt=new y.c(function Y(ce,V,ge=o.D){return _e=>{B(V,()=>{const{length:Oe}=ce,rt=new Array(Oe);let gt=Oe,kt=Oe;for(let Le=0;Le{const ke=(0,Z.H)(ce[Le],V);let Je=!1;ke.subscribe((0,ue._)(_e,je=>{rt[Le]=je,Je||(Je=!0,kt--),kt||_e.next(ge(rt.slice()))},()=>{--gt||_e.complete()}))},_e)},_e)}}(_e,V,Oe?gt=>(0,oe.e)(Oe,gt):o.D));return ge?rt.pipe((0,Q.I)(ge)):rt}function B(ce,V,ge){ce?(0,ie.N)(ge,ce,V):V()}},28793:(We,de,D)=>{D.d(de,{x:()=>Q});var y=D(26365),Z=D(9326),o=D(22806);function Q(...H){return function h(){return(0,y.U)(1)}()((0,o.H)(H,(0,Z.lI)(H)))}},983:(We,de,D)=>{D.d(de,{w:()=>h});const h=new(D(71985).c)(Q=>Q.complete())},22806:(We,de,D)=>{D.d(de,{H:()=>Je});var y=D(58750),h=D(40941),Z=D(39974);function o(je,$e=0){return(0,Z.N)((et,st)=>{st.add(je.schedule(()=>et.subscribe(st),$e))})}var oe=D(71985),ie=D(4761),le=D(98071),Y=D(45225);function ce(je,$e){if(!je)throw new Error("Iterable cannot be null");return new oe.c(et=>{(0,Y.N)(et,$e,()=>{const st=je[Symbol.asyncIterator]();(0,Y.N)(et,$e,()=>{st.next().then(zt=>{zt.done?et.complete():et.next(zt.value)})},0,!0)})})}var V=D(55055),ge=D(59858),_e=D(47441),Oe=D(85397),rt=D(37953),gt=D(50591),kt=D(15196);function Je(je,$e){return $e?function ke(je,$e){if(null!=je){if((0,V.l)(je))return function Q(je,$e){return(0,y.Tg)(je).pipe(o($e),(0,h.Q)($e))}(je,$e);if((0,_e.X)(je))return function ue(je,$e){return new oe.c(et=>{let st=0;return $e.schedule(function(){st===je.length?et.complete():(et.next(je[st++]),et.closed||this.schedule())})})}(je,$e);if((0,ge.y)(je))return function H(je,$e){return(0,y.Tg)(je).pipe(o($e),(0,h.Q)($e))}(je,$e);if((0,rt.T)(je))return ce(je,$e);if((0,Oe.x)(je))return function B(je,$e){return new oe.c(et=>{let st;return(0,Y.N)(et,$e,()=>{st=je[ie.l](),(0,Y.N)(et,$e,()=>{let zt,Ne;try{({value:zt,done:Ne}=st.next())}catch(Te){return void et.error(Te)}Ne?et.complete():et.next(zt)},0,!0)}),()=>(0,le.T)(st?.return)&&st.return()})}(je,$e);if((0,kt.U)(je))return function Le(je,$e){return ce((0,kt.C)(je),$e)}(je,$e)}throw(0,gt.L)(je)}(je,$e):(0,y.Tg)(je)}},58750:(We,de,D)=>{D.d(de,{Tg:()=>ce});var y=D(31635),h=D(47441),Z=D(59858),o=D(71985),Q=D(55055),H=D(37953),oe=D(50591),ue=D(85397),ie=D(15196),le=D(98071),Y=D(45334),B=D(3494);function ce(Le){if(Le instanceof o.c)return Le;if(null!=Le){if((0,Q.l)(Le))return function V(Le){return new o.c(ke=>{const Je=Le[B.s]();if((0,le.T)(Je.subscribe))return Je.subscribe(ke);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Le);if((0,h.X)(Le))return function ge(Le){return new o.c(ke=>{for(let Je=0;Je{Le.then(Je=>{ke.closed||(ke.next(Je),ke.complete())},Je=>ke.error(Je)).then(null,Y.m)})}(Le);if((0,H.T)(Le))return rt(Le);if((0,ue.x)(Le))return function Oe(Le){return new o.c(ke=>{for(const Je of Le)if(ke.next(Je),ke.closed)return;ke.complete()})}(Le);if((0,ie.U)(Le))return function gt(Le){return rt((0,ie.C)(Le))}(Le)}throw(0,oe.L)(Le)}function rt(Le){return new o.c(ke=>{(function kt(Le,ke){var Je,je,$e,et;return(0,y.sH)(this,void 0,void 0,function*(){try{for(Je=(0,y.xN)(Le);!(je=yield Je.next()).done;)if(ke.next(je.value),ke.closed)return}catch(st){$e={error:st}}finally{try{je&&!je.done&&(et=Je.return)&&(yield et.call(Je))}finally{if($e)throw $e.error}}ke.complete()})})(Le,ke).catch(Je=>ke.error(Je))})}},7673:(We,de,D)=>{D.d(de,{of:()=>Z});var y=D(9326),h=D(22806);function Z(...o){const Q=(0,y.lI)(o);return(0,h.H)(o,Q)}},54360:(We,de,D)=>{D.d(de,{_:()=>h});var y=D(47707);function h(o,Q,H,oe,ue){return new Z(o,Q,H,oe,ue)}class Z extends y.vU{constructor(Q,H,oe,ue,ie,le){super(Q),this.onFinalize=ie,this.shouldUnsubscribe=le,this._next=H?function(Y){try{H(Y)}catch(B){Q.error(B)}}:super._next,this._error=ue?function(Y){try{ue(Y)}catch(B){Q.error(B)}finally{this.unsubscribe()}}:super._error,this._complete=oe?function(){try{oe()}catch(Y){Q.error(Y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var Q;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:H}=this;super.unsubscribe(),!H&&(null===(Q=this.onFinalize)||void 0===Q||Q.call(this))}}}},70274:(We,de,D)=>{D.d(de,{H:()=>Z});var y=D(31397),h=D(98071);function Z(o,Q){return(0,h.T)(Q)?(0,y.Z)(o,Q,1):(0,y.Z)(o,1)}},5964:(We,de,D)=>{D.d(de,{p:()=>Z});var y=D(39974),h=D(54360);function Z(o,Q){return(0,y.N)((H,oe)=>{let ue=0;H.subscribe((0,h._)(oe,ie=>o.call(Q,ie,ue++)&&oe.next(ie)))})}},70980:(We,de,D)=>{D.d(de,{j:()=>h});var y=D(39974);function h(Z){return(0,y.N)((o,Q)=>{try{o.subscribe(Q)}finally{Q.add(Z)}})}},96354:(We,de,D)=>{D.d(de,{T:()=>Z});var y=D(39974),h=D(54360);function Z(o,Q){return(0,y.N)((H,oe)=>{let ue=0;H.subscribe((0,h._)(oe,ie=>{oe.next(o.call(Q,ie,ue++))}))})}},73703:(We,de,D)=>{D.d(de,{u:()=>h});var y=D(96354);function h(Z){return(0,y.T)(()=>Z)}},26365:(We,de,D)=>{D.d(de,{U:()=>Z});var y=D(31397),h=D(33669);function Z(o=1/0){return(0,y.Z)(h.D,o)}},31397:(We,de,D)=>{D.d(de,{Z:()=>ue});var y=D(96354),h=D(58750),Z=D(39974),o=D(45225),Q=D(54360),oe=D(98071);function ue(ie,le,Y=1/0){return(0,oe.T)(le)?ue((B,ce)=>(0,y.T)((V,ge)=>le(B,V,ce,ge))((0,h.Tg)(ie(B,ce))),Y):("number"==typeof le&&(Y=le),(0,Z.N)((B,ce)=>function H(ie,le,Y,B,ce,V,ge,_e){const Oe=[];let rt=0,gt=0,kt=!1;const Le=()=>{kt&&!Oe.length&&!rt&&le.complete()},ke=je=>rt{V&&le.next(je),rt++;let $e=!1;(0,h.Tg)(Y(je,gt++)).subscribe((0,Q._)(le,et=>{ce?.(et),V?ke(et):le.next(et)},()=>{$e=!0},void 0,()=>{if($e)try{for(rt--;Oe.length&&rtJe(et)):Je(et)}Le()}catch(et){le.error(et)}}))};return ie.subscribe((0,Q._)(le,ke,()=>{kt=!0,Le()})),()=>{_e?.()}}(B,ce,ie,Y)))}},40941:(We,de,D)=>{D.d(de,{Q:()=>o});var y=D(45225),h=D(39974),Z=D(54360);function o(Q,H=0){return(0,h.N)((oe,ue)=>{oe.subscribe((0,Z._)(ue,ie=>(0,y.N)(ue,Q,()=>ue.next(ie),H),()=>(0,y.N)(ue,Q,()=>ue.complete(),H),ie=>(0,y.N)(ue,Q,()=>ue.error(ie),H)))})}},31943:(We,de,D)=>{D.d(de,{S:()=>Z});var y=D(39974),h=D(46649);function Z(o,Q){return(0,y.N)((0,h.S)(o,Q,arguments.length>=2,!0))}},46649:(We,de,D)=>{D.d(de,{S:()=>h});var y=D(54360);function h(Z,o,Q,H,oe){return(ue,ie)=>{let le=Q,Y=o,B=0;ue.subscribe((0,y._)(ie,ce=>{const V=B++;Y=le?Z(Y,ce,V):(le=!0,ce),H&&ie.next(Y)},oe&&(()=>{le&&ie.next(Y),ie.complete()})))}}},25558:(We,de,D)=>{D.d(de,{n:()=>o});var y=D(58750),h=D(39974),Z=D(54360);function o(Q,H){return(0,h.N)((oe,ue)=>{let ie=null,le=0,Y=!1;const B=()=>Y&&!ie&&ue.complete();oe.subscribe((0,Z._)(ue,ce=>{ie?.unsubscribe();let V=0;const ge=le++;(0,y.Tg)(Q(ce,ge)).subscribe(ie=(0,Z._)(ue,_e=>ue.next(H?H(ce,_e,ge,V++):_e),()=>{ie=null,B()}))},()=>{Y=!0,B()}))})}},96697:(We,de,D)=>{D.d(de,{s:()=>o});var y=D(983),h=D(39974),Z=D(54360);function o(Q){return Q<=0?()=>y.w:(0,h.N)((H,oe)=>{let ue=0;H.subscribe((0,Z._)(oe,ie=>{++ue<=Q&&(oe.next(ie),Q<=ue&&oe.complete())}))})}},56977:(We,de,D)=>{D.d(de,{Q:()=>Q});var y=D(39974),h=D(54360),Z=D(58750),o=D(85343);function Q(H){return(0,y.N)((oe,ue)=>{(0,Z.Tg)(H).subscribe((0,h._)(ue,()=>ue.complete(),o.l)),!ue.closed&&oe.subscribe(ue)})}},88141:(We,de,D)=>{D.d(de,{M:()=>Q});var y=D(98071),h=D(39974),Z=D(54360),o=D(33669);function Q(H,oe,ue){const ie=(0,y.T)(H)||oe||ue?{next:H,error:oe,complete:ue}:H;return ie?(0,h.N)((le,Y)=>{var B;null===(B=ie.subscribe)||void 0===B||B.call(ie);let ce=!0;le.subscribe((0,Z._)(Y,V=>{var ge;null===(ge=ie.next)||void 0===ge||ge.call(ie,V),Y.next(V)},()=>{var V;ce=!1,null===(V=ie.complete)||void 0===V||V.call(ie),Y.complete()},V=>{var ge;ce=!1,null===(ge=ie.error)||void 0===ge||ge.call(ie,V),Y.error(V)},()=>{var V,ge;ce&&(null===(V=ie.unsubscribe)||void 0===V||V.call(ie)),null===(ge=ie.finalize)||void 0===ge||ge.call(ie)}))}):o.D}},96780:(We,de,D)=>{D.d(de,{R:()=>Q});var y=D(18359);class h extends y.yU{constructor(oe,ue){super()}schedule(oe,ue=0){return this}}const Z={setInterval(H,oe,...ue){const{delegate:ie}=Z;return ie?.setInterval?ie.setInterval(H,oe,...ue):setInterval(H,oe,...ue)},clearInterval(H){const{delegate:oe}=Z;return(oe?.clearInterval||clearInterval)(H)},delegate:void 0};var o=D(57908);class Q extends h{constructor(oe,ue){super(oe,ue),this.scheduler=oe,this.work=ue,this.pending=!1}schedule(oe,ue=0){var ie;if(this.closed)return this;this.state=oe;const le=this.id,Y=this.scheduler;return null!=le&&(this.id=this.recycleAsyncId(Y,le,ue)),this.pending=!0,this.delay=ue,this.id=null!==(ie=this.id)&&void 0!==ie?ie:this.requestAsyncId(Y,this.id,ue),this}requestAsyncId(oe,ue,ie=0){return Z.setInterval(oe.flush.bind(oe,this),ie)}recycleAsyncId(oe,ue,ie=0){if(null!=ie&&this.delay===ie&&!1===this.pending)return ue;null!=ue&&Z.clearInterval(ue)}execute(oe,ue){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ie=this._execute(oe,ue);if(ie)return ie;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(oe,ue){let le,ie=!1;try{this.work(oe)}catch(Y){ie=!0,le=Y||new Error("Scheduled action threw falsy error")}if(ie)return this.unsubscribe(),le}unsubscribe(){if(!this.closed){const{id:oe,scheduler:ue}=this,{actions:ie}=ue;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.o)(ie,this),null!=oe&&(this.id=this.recycleAsyncId(ue,oe,null)),this.delay=null,super.unsubscribe()}}}},13604:(We,de,D)=>{D.d(de,{q:()=>Z});const y={now:()=>(y.delegate||Date).now(),delegate:void 0};class h{constructor(Q,H=h.now){this.schedulerActionCtor=Q,this.now=H}schedule(Q,H=0,oe){return new this.schedulerActionCtor(this,Q).schedule(oe,H)}}h.now=y.now;class Z extends h{constructor(Q,H=h.now){super(Q,H),this.actions=[],this._active=!1}flush(Q){const{actions:H}=this;if(this._active)return void H.push(Q);let oe;this._active=!0;do{if(oe=Q.execute(Q.state,Q.delay))break}while(Q=H.shift());if(this._active=!1,oe){for(;Q=H.shift();)Q.unsubscribe();throw oe}}}},19270:(We,de,D)=>{D.d(de,{f:()=>y});const y={setTimeout(h,Z,...o){const{delegate:Q}=y;return Q?.setTimeout?Q.setTimeout(h,Z,...o):setTimeout(h,Z,...o)},clearTimeout(h){const{delegate:Z}=y;return(Z?.clearTimeout||clearTimeout)(h)},delegate:void 0}},4761:(We,de,D)=>{D.d(de,{l:()=>h});const h=function y(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(We,de,D)=>{D.d(de,{s:()=>y});const y="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(We,de,D)=>{D.d(de,{R0:()=>H,lI:()=>Q,ms:()=>o});var y=D(98071),h=D(79470);function Z(oe){return oe[oe.length-1]}function o(oe){return(0,y.T)(Z(oe))?oe.pop():void 0}function Q(oe){return(0,h.m)(Z(oe))?oe.pop():void 0}function H(oe,ue){return"number"==typeof Z(oe)?oe.pop():ue}},93073:(We,de,D)=>{D.d(de,{D:()=>Q});const{isArray:y}=Array,{getPrototypeOf:h,prototype:Z,keys:o}=Object;function Q(oe){if(1===oe.length){const ue=oe[0];if(y(ue))return{args:ue,keys:null};if(function H(oe){return oe&&"object"==typeof oe&&h(oe)===Z}(ue)){const ie=o(ue);return{args:ie.map(le=>ue[le]),keys:ie}}}return{args:oe,keys:null}}},57908:(We,de,D)=>{function y(h,Z){if(h){const o=h.indexOf(Z);0<=o&&h.splice(o,1)}}D.d(de,{o:()=>y})},81853:(We,de,D)=>{function y(h){const o=h(Q=>{Error.call(Q),Q.stack=(new Error).stack});return o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o}D.d(de,{L:()=>y})},58496:(We,de,D)=>{function y(h,Z){return h.reduce((o,Q,H)=>(o[Q]=Z[H],o),{})}D.d(de,{e:()=>y})},49786:(We,de,D)=>{D.d(de,{Y:()=>Z,l:()=>o});var y=D(41026);let h=null;function Z(Q){if(y.$.useDeprecatedSynchronousErrorHandling){const H=!h;if(H&&(h={errorThrown:!1,error:null}),Q(),H){const{errorThrown:oe,error:ue}=h;if(h=null,oe)throw ue}}else Q()}function o(Q){y.$.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=Q)}},45225:(We,de,D)=>{function y(h,Z,o,Q=0,H=!1){const oe=Z.schedule(function(){o(),H?h.add(this.schedule(null,Q)):this.unsubscribe()},Q);if(h.add(oe),!H)return oe}D.d(de,{N:()=>y})},33669:(We,de,D)=>{function y(h){return h}D.d(de,{D:()=>y})},47441:(We,de,D)=>{D.d(de,{X:()=>y});const y=h=>h&&"number"==typeof h.length&&"function"!=typeof h},37953:(We,de,D)=>{D.d(de,{T:()=>h});var y=D(98071);function h(Z){return Symbol.asyncIterator&&(0,y.T)(Z?.[Symbol.asyncIterator])}},98071:(We,de,D)=>{function y(h){return"function"==typeof h}D.d(de,{T:()=>y})},55055:(We,de,D)=>{D.d(de,{l:()=>Z});var y=D(3494),h=D(98071);function Z(o){return(0,h.T)(o[y.s])}},85397:(We,de,D)=>{D.d(de,{x:()=>Z});var y=D(4761),h=D(98071);function Z(o){return(0,h.T)(o?.[y.l])}},74402:(We,de,D)=>{D.d(de,{A:()=>Z});var y=D(71985),h=D(98071);function Z(o){return!!o&&(o instanceof y.c||(0,h.T)(o.lift)&&(0,h.T)(o.subscribe))}},59858:(We,de,D)=>{D.d(de,{y:()=>h});var y=D(98071);function h(Z){return(0,y.T)(Z?.then)}},15196:(We,de,D)=>{D.d(de,{C:()=>Z,U:()=>o});var y=D(31635),h=D(98071);function Z(Q){return(0,y.AQ)(this,arguments,function*(){const oe=Q.getReader();try{for(;;){const{value:ue,done:ie}=yield(0,y.N3)(oe.read());if(ie)return yield(0,y.N3)(void 0);yield yield(0,y.N3)(ue)}}finally{oe.releaseLock()}})}function o(Q){return(0,h.T)(Q?.getReader)}},79470:(We,de,D)=>{D.d(de,{m:()=>h});var y=D(98071);function h(Z){return Z&&(0,y.T)(Z.schedule)}},39974:(We,de,D)=>{D.d(de,{N:()=>Z,S:()=>h});var y=D(98071);function h(o){return(0,y.T)(o?.lift)}function Z(o){return Q=>{if(h(Q))return Q.lift(function(H){try{return o(H,this)}catch(oe){this.error(oe)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(We,de,D)=>{D.d(de,{I:()=>o});var y=D(96354);const{isArray:h}=Array;function o(Q){return(0,y.T)(H=>function Z(Q,H){return h(H)?Q(...H):Q(H)}(Q,H))}},85343:(We,de,D)=>{function y(){}D.d(de,{l:()=>y})},71203:(We,de,D)=>{D.d(de,{F:()=>h,m:()=>Z});var y=D(33669);function h(...o){return Z(o)}function Z(o){return 0===o.length?y.D:1===o.length?o[0]:function(H){return o.reduce((oe,ue)=>ue(oe),H)}}},45334:(We,de,D)=>{D.d(de,{m:()=>Z});var y=D(41026),h=D(19270);function Z(o){h.f.setTimeout(()=>{const{onUnhandledError:Q}=y.$;if(!Q)throw o;Q(o)})}},50591:(We,de,D)=>{function y(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}D.d(de,{L:()=>y})},49969:(We,de,D)=>{D.d(de,{FX:()=>zt,If:()=>Z,K2:()=>ue,S6:()=>rt,hZ:()=>Q,i0:()=>H,iF:()=>ie,kY:()=>B,kp:()=>o,sf:()=>et,ui:()=>st,wk:()=>le});var y=D(60177),h=D(54438),Z=function(Ne){return Ne[Ne.State=0]="State",Ne[Ne.Transition=1]="Transition",Ne[Ne.Sequence=2]="Sequence",Ne[Ne.Group=3]="Group",Ne[Ne.Animate=4]="Animate",Ne[Ne.Keyframes=5]="Keyframes",Ne[Ne.Style=6]="Style",Ne[Ne.Trigger=7]="Trigger",Ne[Ne.Reference=8]="Reference",Ne[Ne.AnimateChild=9]="AnimateChild",Ne[Ne.AnimateRef=10]="AnimateRef",Ne[Ne.Query=11]="Query",Ne[Ne.Stagger=12]="Stagger",Ne}(Z||{});const o="*";function Q(Ne,Te){return{type:Z.Trigger,name:Ne,definitions:Te,options:{}}}function H(Ne,Te=null){return{type:Z.Animate,styles:Te,timings:Ne}}function ue(Ne,Te=null){return{type:Z.Sequence,steps:Ne,options:Te}}function ie(Ne){return{type:Z.Style,styles:Ne,offset:null}}function le(Ne,Te,ot){return{type:Z.State,name:Ne,styles:Te,options:ot}}function B(Ne,Te,ot=null){return{type:Z.Transition,expr:Ne,animation:Te,options:ot}}let rt=(()=>{class Ne{static#e=this.\u0275fac=function(_t){return new(_t||Ne)};static#t=this.\u0275prov=h.jDH({token:Ne,factory:()=>(0,h.WQX)(kt),providedIn:"root"})}return Ne})();class gt{}let kt=(()=>{class Ne extends rt{constructor(ot,_t){if(super(),this.animationModuleType=(0,h.WQX)(h.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=ot.createRenderer(_t.body,{id:"0",encapsulation:h.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function $e(Ne){const Te=Ne.\u0275type;return 0===Te||1===Te}(this._renderer))throw new h.wOt(3600,!1)}build(ot){const _t=this._nextAnimationId;this._nextAnimationId++;const Qt=Array.isArray(ot)?ue(ot):ot;return Je(this._renderer,null,_t,"register",[Qt]),new Le(_t,this._renderer)}static#e=this.\u0275fac=function(_t){return new(_t||Ne)(h.KVO(h._9s),h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})();class Le extends gt{constructor(Te,ot){super(),this._id=Te,this._renderer=ot}create(Te,ot){return new ke(this._id,Te,ot||{},this._renderer)}}class ke{constructor(Te,ot,_t,Qt){this.id=Te,this.element=ot,this._renderer=Qt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_t)}_listen(Te,ot){return this._renderer.listen(this.element,`@@${this.id}:${Te}`,ot)}_command(Te,...ot){Je(this._renderer,this.element,this.id,Te,ot)}onDone(Te){this._listen("done",Te)}onStart(Te){this._listen("start",Te)}onDestroy(Te){this._listen("destroy",Te)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(Te){this._command("setPosition",Te)}getPosition(){return function je(Ne){const Te=Ne.\u0275type;return 0===Te?Ne:1===Te?Ne.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function Je(Ne,Te,ot,_t,Qt){Ne.setProperty(Te,`@@${ot}:${_t}`,Qt)}class et{constructor(Te=0,ot=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Te+ot}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Te=>Te()),this._onDoneFns=[])}onStart(Te){this._originalOnStartFns.push(Te),this._onStartFns.push(Te)}onDone(Te){this._originalOnDoneFns.push(Te),this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Te=>Te()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Te=>Te()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Te){this._position=this.totalTime?Te*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Te){const ot="start"==Te?this._onStartFns:this._onDoneFns;ot.forEach(_t=>_t()),ot.length=0}}class st{constructor(Te){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Te;let ot=0,_t=0,Qt=0;const dn=this.players.length;0==dn?queueMicrotask(()=>this._onFinish()):this.players.forEach(Ce=>{Ce.onDone(()=>{++ot==dn&&this._onFinish()}),Ce.onDestroy(()=>{++_t==dn&&this._onDestroy()}),Ce.onStart(()=>{++Qt==dn&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,U)=>Math.max(Ce,U.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Te=>Te()),this._onDoneFns=[])}init(){this.players.forEach(Te=>Te.init())}onStart(Te){this._onStartFns.push(Te)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Te=>Te()),this._onStartFns=[])}onDone(Te){this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Te=>Te.play())}pause(){this.players.forEach(Te=>Te.pause())}restart(){this.players.forEach(Te=>Te.restart())}finish(){this._onFinish(),this.players.forEach(Te=>Te.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Te=>Te.destroy()),this._onDestroyFns.forEach(Te=>Te()),this._onDestroyFns=[])}reset(){this.players.forEach(Te=>Te.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Te){const ot=Te*this.totalTime;this.players.forEach(_t=>{const Qt=_t.totalTime?Math.min(1,ot/_t.totalTime):1;_t.setPosition(Qt)})}getPosition(){const Te=this.players.reduce((ot,_t)=>null===ot||_t.totalTime>ot.totalTime?_t:ot,null);return null!=Te?Te.getPosition():0}beforeDestroy(){this.players.forEach(Te=>{Te.beforeDestroy&&Te.beforeDestroy()})}triggerCallback(Te){const ot="start"==Te?this._onStartFns:this._onDoneFns;ot.forEach(_t=>_t()),ot.length=0}}const zt="!"},60177:(We,de,D)=>{D.d(de,{AJ:()=>ji,B3:()=>It,Jj:()=>fi,MD:()=>gi,N0:()=>qn,OI:()=>ro,P9:()=>Ao,QT:()=>Z,Sm:()=>_e,Sq:()=>ee,T3:()=>Hr,TG:()=>mo,UE:()=>Yo,VF:()=>Q,Vy:()=>Ro,Xr:()=>Oo,YU:()=>$r,ZD:()=>o,_b:()=>no,aZ:()=>rt,bT:()=>Ge,e1:()=>Ke,fw:()=>Oe,hb:()=>V,hj:()=>ie,pM:()=>ee,qQ:()=>oe,ux:()=>se,vh:()=>Fo});var y=D(54438);let h=null;function Z(){return h}function o(p){h??=p}class Q{}const oe=new y.nKC("");let ue=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=y.jDH({token:p,factory:()=>(0,y.WQX)(le),providedIn:"platform"})}return p})();const ie=new y.nKC("");let le=(()=>{class p extends ue{constructor(){super(),this._doc=(0,y.WQX)(oe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Z().getBaseHref(this._doc)}onPopState(E){const I=Z().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=Z().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(E){this._location.pathname=E}pushState(E,I,X){this._history.pushState(E,I,X)}replaceState(E,I,X){this._history.replaceState(E,I,X)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=y.jDH({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function Y(p,F){if(0==p.length)return F;if(0==F.length)return p;let E=0;return p.endsWith("/")&&E++,F.startsWith("/")&&E++,2==E?p+F.substring(1):1==E?p+F:p+"/"+F}function B(p){const F=p.match(/#|\?|$/),E=F&&F.index||p.length;return p.slice(0,E-("/"===p[E-1]?1:0))+p.slice(E)}function ce(p){return p&&"?"!==p[0]?"?"+p:p}let V=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=y.jDH({token:p,factory:()=>(0,y.WQX)(_e),providedIn:"root"})}return p})();const ge=new y.nKC("");let _e=(()=>{class p extends V{constructor(E,I){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,y.WQX)(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return Y(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+ce(this._platformLocation.search),X=this._platformLocation.hash;return X&&E?`${I}${X}`:I}pushState(E,I,X,be){const Ie=this.prepareExternalUrl(X+ce(be));this._platformLocation.pushState(E,I,Ie)}replaceState(E,I,X,be){const Ie=this.prepareExternalUrl(X+ce(be));this._platformLocation.replaceState(E,I,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(y.KVO(ue),y.KVO(ge,8))};static#t=this.\u0275prov=y.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),Oe=(()=>{class p extends V{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){const I=this._platformLocation.hash??"#";return I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=Y(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,X,be){let Ie=this.prepareExternalUrl(X+ce(be));0==Ie.length&&(Ie=this._platformLocation.pathname),this._platformLocation.pushState(E,I,Ie)}replaceState(E,I,X,be){let Ie=this.prepareExternalUrl(X+ce(be));0==Ie.length&&(Ie=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,Ie)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(y.KVO(ue),y.KVO(ge,8))};static#t=this.\u0275prov=y.jDH({token:p,factory:p.\u0275fac})}return p})(),rt=(()=>{class p{constructor(E){this._subject=new y.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const I=this._locationStrategy.getBaseHref();this._basePath=function ke(p){if(new RegExp("^(https?:)?//").test(p)){const[,E]=p.split(/\/\/[^\/]+/);return E}return p}(B(Le(I))),this._locationStrategy.onPopState(X=>{this._subject.emit({url:this.path(!0),pop:!0,state:X.state,type:X.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+ce(I))}normalize(E){return p.stripTrailingSlash(function kt(p,F){if(!p||!F.startsWith(p))return F;const E=F.substring(p.length);return""===E||["/",";","?","#"].includes(E[0])?E:F}(this._basePath,Le(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,I="",X=null){this._locationStrategy.pushState(X,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ce(I)),X)}replaceState(E,I="",X=null){this._locationStrategy.replaceState(X,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ce(I)),X)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription??=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}),()=>{const I=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(X=>X(E,I))}subscribe(E,I,X){return this._subject.subscribe({next:E,error:I,complete:X})}static#e=this.normalizeQueryParams=ce;static#t=this.joinWithSlash=Y;static#n=this.stripTrailingSlash=B;static#r=this.\u0275fac=function(I){return new(I||p)(y.KVO(V))};static#o=this.\u0275prov=y.jDH({token:p,factory:()=>function gt(){return new rt((0,y.KVO)(V))}(),providedIn:"root"})}return p})();function Le(p){return p.replace(/\/index.html$/,"")}var et=function(p){return p[p.Format=0]="Format",p[p.Standalone=1]="Standalone",p}(et||{}),st=function(p){return p[p.Narrow=0]="Narrow",p[p.Abbreviated=1]="Abbreviated",p[p.Wide=2]="Wide",p[p.Short=3]="Short",p}(st||{}),zt=function(p){return p[p.Short=0]="Short",p[p.Medium=1]="Medium",p[p.Long=2]="Long",p[p.Full=3]="Full",p}(zt||{});const Ne={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function $(p,F){return en((0,y.H5H)(p)[y.KH2.DateFormat],F)}function re(p,F){return en((0,y.H5H)(p)[y.KH2.TimeFormat],F)}function Me(p,F){return en((0,y.H5H)(p)[y.KH2.DateTimeFormat],F)}function we(p,F){const E=(0,y.H5H)(p),I=E[y.KH2.NumberSymbols][F];if(typeof I>"u"){if(F===Ne.CurrencyDecimal)return E[y.KH2.NumberSymbols][Ne.Decimal];if(F===Ne.CurrencyGroup)return E[y.KH2.NumberSymbols][Ne.Group]}return I}function tt(p){if(!p[y.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[y.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function en(p,F){for(let E=F;E>-1;E--)if(typeof p[E]<"u")return p[E];throw new Error("Locale data API: locale data undefined")}function Ve(p){const[F,E]=p.split(":");return{hours:+F,minutes:+E}}const Vr=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,xn={},pr=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var bn=function(p){return p[p.Short=0]="Short",p[p.ShortGMT=1]="ShortGMT",p[p.Long=2]="Long",p[p.Extended=3]="Extended",p}(bn||{}),Ft=function(p){return p[p.FullYear=0]="FullYear",p[p.Month=1]="Month",p[p.Date=2]="Date",p[p.Hours=3]="Hours",p[p.Minutes=4]="Minutes",p[p.Seconds=5]="Seconds",p[p.FractionalSeconds=6]="FractionalSeconds",p[p.Day=7]="Day",p}(Ft||{}),Bt=function(p){return p[p.DayPeriods=0]="DayPeriods",p[p.Days=1]="Days",p[p.Months=2]="Months",p[p.Eras=3]="Eras",p}(Bt||{});function sr(p,F,E,I){let X=function Ae(p){if(ze(p))return p;if("number"==typeof p&&!isNaN(p))return new Date(p);if("string"==typeof p){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){const[X,be=1,Ie=1]=p.split("-").map(lt=>+lt);return er(X,be-1,Ie)}const E=parseFloat(p);if(!isNaN(p-E))return new Date(E);let I;if(I=p.match(Vr))return function xe(p){const F=new Date(0);let E=0,I=0;const X=p[8]?F.setUTCFullYear:F.setFullYear,be=p[8]?F.setUTCHours:F.setHours;p[9]&&(E=Number(p[9]+p[10]),I=Number(p[9]+p[11])),X.call(F,Number(p[1]),Number(p[2])-1,Number(p[3]));const Ie=Number(p[4]||0)-E,lt=Number(p[5]||0)-I,Tn=Number(p[6]||0),sn=Math.floor(1e3*parseFloat("0."+(p[7]||0)));return be.call(F,Ie,lt,Tn,sn),F}(I)}const F=new Date(p);if(!ze(F))throw new Error(`Unable to convert "${p}" into a date`);return F}(p);F=Mn(E,F)||F;let lt,Ie=[];for(;F;){if(lt=pr.exec(F),!lt){Ie.push(F);break}{Ie=Ie.concat(lt.slice(1));const vn=Ie.pop();if(!vn)break;F=vn}}let Tn=X.getTimezoneOffset();I&&(Tn=O(I,Tn),X=function me(p,F,E){const I=E?-1:1,X=p.getTimezoneOffset();return function z(p,F){return(p=new Date(p.getTime())).setMinutes(p.getMinutes()+F),p}(p,I*(O(F,X)-X))}(X,I,!0));let sn="";return Ie.forEach(vn=>{const Wt=function S(p){if(w[p])return w[p];let F;switch(p){case"G":case"GG":case"GGG":F=at(Bt.Eras,st.Abbreviated);break;case"GGGG":F=at(Bt.Eras,st.Wide);break;case"GGGGG":F=at(Bt.Eras,st.Narrow);break;case"y":F=bt(Ft.FullYear,1,0,!1,!0);break;case"yy":F=bt(Ft.FullYear,2,0,!0,!0);break;case"yyy":F=bt(Ft.FullYear,3,0,!1,!0);break;case"yyyy":F=bt(Ft.FullYear,4,0,!1,!0);break;case"Y":F=ye(1);break;case"YY":F=ye(2,!0);break;case"YYY":F=ye(3);break;case"YYYY":F=ye(4);break;case"M":case"L":F=bt(Ft.Month,1,1);break;case"MM":case"LL":F=bt(Ft.Month,2,1);break;case"MMM":F=at(Bt.Months,st.Abbreviated);break;case"MMMM":F=at(Bt.Months,st.Wide);break;case"MMMMM":F=at(Bt.Months,st.Narrow);break;case"LLL":F=at(Bt.Months,st.Abbreviated,et.Standalone);break;case"LLLL":F=at(Bt.Months,st.Wide,et.Standalone);break;case"LLLLL":F=at(Bt.Months,st.Narrow,et.Standalone);break;case"w":F=ct(1);break;case"ww":F=ct(2);break;case"W":F=ct(1,!0);break;case"d":F=bt(Ft.Date,1);break;case"dd":F=bt(Ft.Date,2);break;case"c":case"cc":F=bt(Ft.Day,1);break;case"ccc":F=at(Bt.Days,st.Abbreviated,et.Standalone);break;case"cccc":F=at(Bt.Days,st.Wide,et.Standalone);break;case"ccccc":F=at(Bt.Days,st.Narrow,et.Standalone);break;case"cccccc":F=at(Bt.Days,st.Short,et.Standalone);break;case"E":case"EE":case"EEE":F=at(Bt.Days,st.Abbreviated);break;case"EEEE":F=at(Bt.Days,st.Wide);break;case"EEEEE":F=at(Bt.Days,st.Narrow);break;case"EEEEEE":F=at(Bt.Days,st.Short);break;case"a":case"aa":case"aaa":F=at(Bt.DayPeriods,st.Abbreviated);break;case"aaaa":F=at(Bt.DayPeriods,st.Wide);break;case"aaaaa":F=at(Bt.DayPeriods,st.Narrow);break;case"b":case"bb":case"bbb":F=at(Bt.DayPeriods,st.Abbreviated,et.Standalone,!0);break;case"bbbb":F=at(Bt.DayPeriods,st.Wide,et.Standalone,!0);break;case"bbbbb":F=at(Bt.DayPeriods,st.Narrow,et.Standalone,!0);break;case"B":case"BB":case"BBB":F=at(Bt.DayPeriods,st.Abbreviated,et.Format,!0);break;case"BBBB":F=at(Bt.DayPeriods,st.Wide,et.Format,!0);break;case"BBBBB":F=at(Bt.DayPeriods,st.Narrow,et.Format,!0);break;case"h":F=bt(Ft.Hours,1,-12);break;case"hh":F=bt(Ft.Hours,2,-12);break;case"H":F=bt(Ft.Hours,1);break;case"HH":F=bt(Ft.Hours,2);break;case"m":F=bt(Ft.Minutes,1);break;case"mm":F=bt(Ft.Minutes,2);break;case"s":F=bt(Ft.Seconds,1);break;case"ss":F=bt(Ft.Seconds,2);break;case"S":F=bt(Ft.FractionalSeconds,1);break;case"SS":F=bt(Ft.FractionalSeconds,2);break;case"SSS":F=bt(Ft.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":F=Yt(bn.Short);break;case"ZZZZZ":F=Yt(bn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":F=Yt(bn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":F=Yt(bn.Long);break;default:return null}return w[p]=F,F}(vn);sn+=Wt?Wt(X,E,Tn):"''"===vn?"'":vn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),sn}function er(p,F,E){const I=new Date(0);return I.setFullYear(p,F,E),I.setHours(0,0,0),I}function Mn(p,F){const E=function ot(p){return(0,y.H5H)(p)[y.KH2.LocaleId]}(p);if(xn[E]??={},xn[E][F])return xn[E][F];let I="";switch(F){case"shortDate":I=$(p,zt.Short);break;case"mediumDate":I=$(p,zt.Medium);break;case"longDate":I=$(p,zt.Long);break;case"fullDate":I=$(p,zt.Full);break;case"shortTime":I=re(p,zt.Short);break;case"mediumTime":I=re(p,zt.Medium);break;case"longTime":I=re(p,zt.Long);break;case"fullTime":I=re(p,zt.Full);break;case"short":const X=Mn(p,"shortTime"),be=Mn(p,"shortDate");I=Xn(Me(p,zt.Short),[X,be]);break;case"medium":const Ie=Mn(p,"mediumTime"),lt=Mn(p,"mediumDate");I=Xn(Me(p,zt.Medium),[Ie,lt]);break;case"long":const Tn=Mn(p,"longTime"),sn=Mn(p,"longDate");I=Xn(Me(p,zt.Long),[Tn,sn]);break;case"full":const vn=Mn(p,"fullTime"),Wt=Mn(p,"fullDate");I=Xn(Me(p,zt.Full),[vn,Wt])}return I&&(xn[E][F]=I),I}function Xn(p,F){return F&&(p=p.replace(/\{([^}]+)}/g,function(E,I){return null!=F&&I in F?F[I]:E})),p}function Rn(p,F,E="-",I,X){let be="";(p<0||X&&p<=0)&&(X?p=1-p:(p=-p,be=E));let Ie=String(p);for(;Ie.length0||lt>-E)&&(lt+=E),p===Ft.Hours)0===lt&&-12===E&&(lt=12);else if(p===Ft.FractionalSeconds)return function Gt(p,F){return Rn(p,3).substring(0,F)}(lt,F);const Tn=we(Ie,Ne.MinusSign);return Rn(lt,F,Tn,I,X)}}function at(p,F,E=et.Format,I=!1){return function(X,be){return function Fn(p,F,E,I,X,be){switch(E){case Bt.Months:return function dn(p,F,E){const I=(0,y.H5H)(p),be=en([I[y.KH2.MonthsFormat],I[y.KH2.MonthsStandalone]],F);return en(be,E)}(F,X,I)[p.getMonth()];case Bt.Days:return function Qt(p,F,E){const I=(0,y.H5H)(p),be=en([I[y.KH2.DaysFormat],I[y.KH2.DaysStandalone]],F);return en(be,E)}(F,X,I)[p.getDay()];case Bt.DayPeriods:const Ie=p.getHours(),lt=p.getMinutes();if(be){const sn=function an(p){const F=(0,y.H5H)(p);return tt(F),(F[y.KH2.ExtraData][2]||[]).map(I=>"string"==typeof I?Ve(I):[Ve(I[0]),Ve(I[1])])}(F),vn=function tn(p,F,E){const I=(0,y.H5H)(p);tt(I);const be=en([I[y.KH2.ExtraData][0],I[y.KH2.ExtraData][1]],F)||[];return en(be,E)||[]}(F,X,I),Wt=sn.findIndex(Ln=>{if(Array.isArray(Ln)){const[pn,$n]=Ln,ni=Ie>=pn.hours&<>=pn.minutes,Xr=Ie<$n.hours||Ie===$n.hours&<<$n.minutes;if(pn.hours<$n.hours){if(ni&&Xr)return!0}else if(ni||Xr)return!0}else if(Ln.hours===Ie&&Ln.minutes===lt)return!0;return!1});if(-1!==Wt)return vn[Wt]}return function _t(p,F,E){const I=(0,y.H5H)(p),be=en([I[y.KH2.DayPeriodsFormat],I[y.KH2.DayPeriodsStandalone]],F);return en(be,E)}(F,X,I)[Ie<12?0:1];case Bt.Eras:return function Ce(p,F){return en((0,y.H5H)(p)[y.KH2.Eras],F)}(F,I)[p.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${E}`)}}(X,be,p,F,E,I)}}function Yt(p){return function(F,E,I){const X=-1*I,be=we(E,Ne.MinusSign),Ie=X>0?Math.floor(X/60):Math.ceil(X/60);switch(p){case bn.Short:return(X>=0?"+":"")+Rn(Ie,2,be)+Rn(Math.abs(X%60),2,be);case bn.ShortGMT:return"GMT"+(X>=0?"+":"")+Rn(Ie,1,be);case bn.Long:return"GMT"+(X>=0?"+":"")+Rn(Ie,2,be)+":"+Rn(Math.abs(X%60),2,be);case bn.Extended:return 0===I?"Z":(X>=0?"+":"")+Rn(Ie,2,be)+":"+Rn(Math.abs(X%60),2,be);default:throw new Error(`Unknown zone width "${p}"`)}}}const Qn=0,tr=4;function Yn(p){const F=p.getDay(),E=0===F?-3:tr-F;return er(p.getFullYear(),p.getMonth(),p.getDate()+E)}function ct(p,F=!1){return function(E,I){let X;if(F){const be=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,Ie=E.getDate();X=1+Math.floor((Ie+be)/7)}else{const be=Yn(E),Ie=function nr(p){const F=er(p,Qn,1).getDay();return er(p,0,1+(F<=tr?tr:tr+7)-F)}(be.getFullYear()),lt=be.getTime()-Ie.getTime();X=1+Math.round(lt/6048e5)}return Rn(X,p,we(I,Ne.MinusSign))}}function ye(p,F=!1){return function(E,I){return Rn(Yn(E).getFullYear(),p,we(I,Ne.MinusSign),F)}}const w={};function O(p,F){p=p.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(E)?F:E}function ze(p){return p instanceof Date&&!isNaN(p.valueOf())}function no(p,F){F=encodeURIComponent(F);for(const E of p.split(";")){const I=E.indexOf("="),[X,be]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(X.trim()===F)return decodeURIComponent(be)}return null}const po=/\s+/,At=[];let $r=(()=>{class p{constructor(E,I){this._ngEl=E,this._renderer=I,this.initialClasses=At,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(po):At}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(po):E}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const I of E)this._updateState(I,!0);else if(null!=E)for(const I of Object.keys(E))this._updateState(I,!!E[I]);this._applyStateDiff()}_updateState(E,I){const X=this.stateMap.get(E);void 0!==X?(X.enabled!==I&&(X.changed=!0,X.enabled=I),X.touched=!0):this.stateMap.set(E,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const I=E[0],X=E[1];X.changed?(this._toggleClass(I,X.enabled),X.changed=!1):X.touched||(X.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),X.touched=!1}}_toggleClass(E,I){(E=E.trim()).length>0&&E.split(po).forEach(X=>{I?this._renderer.addClass(this._ngEl.nativeElement,X):this._renderer.removeClass(this._ngEl.nativeElement,X)})}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.aKT),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return p})(),ro=(()=>{class p{constructor(E){this._viewContainerRef=E,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(E){return void 0!==E.ngComponentOutletNgModule||void 0!==E.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(E){return void 0!==E.ngComponentOutlet||void 0!==E.ngComponentOutletContent||void 0!==E.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(E)}ngOnChanges(E){if(this._needToReCreateComponentInstance(E)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const I=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(E)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,y.w6W)(this.ngComponentOutletNgModule,L(I)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(L(I)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:I,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const E of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(E,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(E){for(const[I,X]of this._inputsUsed)X?(E.setInput(I,this.ngComponentOutletInputs[I]),this._inputsUsed.set(I,!1)):(E.setInput(I,void 0),this._inputsUsed.delete(I))}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[y.OA$]})}return p})();function L(p){return p.get(y.Vns).injector}class J{constructor(F,E,I,X){this.$implicit=F,this.ngForOf=E,this.index=I,this.count=X}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ee=(()=>{class p{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,I,X){this._viewContainer=E,this._template=I,this._differs=X,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((X,be,Ie)=>{if(null==X.previousIndex)I.createEmbeddedView(this._template,new J(X.item,this._ngForOf,-1,-1),null===Ie?void 0:Ie);else if(null==Ie)I.remove(null===be?void 0:be);else if(null!==be){const lt=I.get(be);I.move(lt,Ie),De(lt,X)}});for(let X=0,be=I.length;X{De(I.get(X.currentIndex),X)})}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b),y.rXU(y.C4Q),y.rXU(y._q3))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function De(p,F){p.context.$implicit=F.item}let Ge=(()=>{class p{constructor(E,I){this._viewContainer=E,this._context=new M,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){q("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){q("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#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b),y.rXU(y.C4Q))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class M{constructor(){this.$implicit=null,this.ngIf=null}}function q(p,F){if(F&&!F.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,y.Tbb)(F)}'.`)}class te{constructor(F,E){this._viewContainerRef=F,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(F){F&&!this._created?this.create():!F&&this._created&&this.destroy()}}let se=(()=>{class p{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews.push(E)}_matchCase(E){const I=E===this._ngSwitch;return this._lastCasesMatched||=I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(E){if(this._defaultViews.length>0&&E!==this._defaultUsed){this._defaultUsed=E;for(const I of this._defaultViews)I.enforceState(E)}}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return p})(),Ke=(()=>{class p{constructor(E,I,X){this.ngSwitch=X,X._addCase(),this._view=new te(E,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b),y.rXU(y.C4Q),y.rXU(se,9))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return p})(),It=(()=>{class p{constructor(E,I,X){this._ngEl=E,this._differs=I,this._renderer=X,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){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[X,be]=E.split("."),Ie=-1===X.indexOf("-")?void 0:y.czy.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,X,be?`${I}${be}`:I,Ie):this._renderer.removeStyle(this._ngEl.nativeElement,X,Ie)}_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#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.aKT),y.rXU(y.MKu),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return p})(),Hr=(()=>{class p{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(this._shouldRecreateView(E)){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const X=this._createContextForwardProxy();this._viewRef=I.createEmbeddedView(this.ngTemplateOutlet,X,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(E){return!!E.ngTemplateOutlet||!!E.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(E,I,X)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,I,X),get:(E,I,X)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,I,X)}})}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.c1b))};static#t=this.\u0275dir=y.FsC({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[y.OA$]})}return p})();function Pn(p,F){return new y.wOt(2100,!1)}class di{createSubscription(F,E){return(0,y.O8t)(()=>F.subscribe({next:E,error:I=>{throw I}}))}dispose(F){(0,y.O8t)(()=>F.unsubscribe())}}class oo{createSubscription(F,E){return F.then(E,I=>{throw I})}dispose(F){}}const go=new oo,xt=new di;let fi=(()=>{class p{constructor(E){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){if(!this._obj){if(E)try{this.markForCheckOnValueUpdate=!1,this._subscribe(E)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,y.jNT)(E))return go;if((0,y.zjR)(E))return xt;throw Pn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.gRc,16))};static#t=this.\u0275pipe=y.EJ8({name:"async",type:p,pure:!1,standalone:!0})}return p})();const pi=new y.nKC(""),So=new y.nKC("");let Fo=(()=>{class p{constructor(E,I,X){this.locale=E,this.defaultTimezone=I,this.defaultOptions=X}transform(E,I,X,be){if(null==E||""===E||E!=E)return null;try{return sr(E,I??this.defaultOptions?.dateFormat??"mediumDate",be||this.locale,X??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ie){throw Pn()}}static#e=this.\u0275fac=function(I){return new(I||p)(y.rXU(y.xe9,16),y.rXU(pi,24),y.rXU(So,24))};static#t=this.\u0275pipe=y.EJ8({name:"date",type:p,pure:!0,standalone:!0})}return p})(),mo=(()=>{class p{transform(E){return JSON.stringify(E,null,2)}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275pipe=y.EJ8({name:"json",type:p,pure:!1,standalone:!0})}return p})(),Ao=(()=>{class p{transform(E,I,X){if(null==E)return null;if(!this.supports(E))throw Pn();return E.slice(I,X)}supports(E){return"string"==typeof E||Array.isArray(E)}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275pipe=y.EJ8({name:"slice",type:p,pure:!1,standalone:!0})}return p})(),gi=(()=>{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=y.$C({type:p});static#n=this.\u0275inj=y.G2t({})}return p})();const ji="browser",Bi="server";function Yo(p){return p===ji}function Ro(p){return p===Bi}let Oo=(()=>{class p{static#e=this.\u0275prov=(0,y.jDH)({token:p,providedIn:"root",factory:()=>Yo((0,y.WQX)(y.Agw))?new mi((0,y.WQX)(oe),window):new is})}return p})();class mi{constructor(F,E){this.document=F,this.window=E,this.offset=()=>[0,0]}setOffset(F){this.offset=Array.isArray(F)?()=>F:F}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(F){this.window.scrollTo(F[0],F[1])}scrollToAnchor(F){const E=function yo(p,F){const E=p.getElementById(F)||p.getElementsByName(F)[0];if(E)return E;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const I=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let X=I.currentNode;for(;X;){const be=X.shadowRoot;if(be){const Ie=be.getElementById(F)||be.querySelector(`[name="${F}"]`);if(Ie)return Ie}X=I.nextNode()}}return null}(this.document,F);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(F){this.window.history.scrollRestoration=F}scrollToElement(F){const E=F.getBoundingClientRect(),I=E.left+this.window.pageXOffset,X=E.top+this.window.pageYOffset,be=this.offset();this.window.scrollTo(I-be[0],X-be[1])}}class is{setOffset(F){}getScrollPosition(){return[0,0]}scrollToPosition(F){}scrollToAnchor(F){}setHistoryScrollRestoration(F){}}class qn{}},21626:(We,de,D)=>{D.d(de,{$R:()=>me,Qq:()=>Me,Sx:()=>ze});var y=D(10467),h=D(54438),Z=D(7673),o=D(71985),Q=D(22806),H=D(70274),oe=D(5964),ue=D(96354),ie=D(70980),le=D(25558),Y=D(60177);class B{}class ce{}class V{constructor(J){this.normalizedNames=new Map,this.lazyUpdate=null,J?"string"==typeof J?this.lazyInit=()=>{this.headers=new Map,J.split("\n").forEach(ee=>{const De=ee.indexOf(":");if(De>0){const Pe=ee.slice(0,De),Ge=Pe.toLowerCase(),M=ee.slice(De+1).trim();this.maybeSetNormalizedName(Pe,Ge),this.headers.has(Ge)?this.headers.get(Ge).push(M):this.headers.set(Ge,[M])}})}:typeof Headers<"u"&&J instanceof Headers?(this.headers=new Map,J.forEach((ee,De)=>{this.setHeaderEntries(De,ee)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(J).forEach(([ee,De])=>{this.setHeaderEntries(ee,De)})}:this.headers=new Map}has(J){return this.init(),this.headers.has(J.toLowerCase())}get(J){this.init();const ee=this.headers.get(J.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(J){return this.init(),this.headers.get(J.toLowerCase())||null}append(J,ee){return this.clone({name:J,value:ee,op:"a"})}set(J,ee){return this.clone({name:J,value:ee,op:"s"})}delete(J,ee){return this.clone({name:J,value:ee,op:"d"})}maybeSetNormalizedName(J,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,J)}init(){this.lazyInit&&(this.lazyInit instanceof V?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(J=>this.applyUpdate(J)),this.lazyUpdate=null))}copyFrom(J){J.init(),Array.from(J.headers.keys()).forEach(ee=>{this.headers.set(ee,J.headers.get(ee)),this.normalizedNames.set(ee,J.normalizedNames.get(ee))})}clone(J){const ee=new V;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([J]),ee}applyUpdate(J){const ee=J.name.toLowerCase();switch(J.op){case"a":case"s":let De=J.value;if("string"==typeof De&&(De=[De]),0===De.length)return;this.maybeSetNormalizedName(J.name,ee);const Pe=("a"===J.op?this.headers.get(ee):void 0)||[];Pe.push(...De),this.headers.set(ee,Pe);break;case"d":const Ge=J.value;if(Ge){let M=this.headers.get(ee);if(!M)return;M=M.filter(q=>-1===Ge.indexOf(q)),0===M.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,M)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}setHeaderEntries(J,ee){const De=(Array.isArray(ee)?ee:[ee]).map(Ge=>Ge.toString()),Pe=J.toLowerCase();this.headers.set(Pe,De),this.maybeSetNormalizedName(J,Pe)}forEach(J){this.init(),Array.from(this.normalizedNames.keys()).forEach(ee=>J(this.normalizedNames.get(ee),this.headers.get(ee)))}}class _e{encodeKey(J){return kt(J)}encodeValue(J){return kt(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const rt=/%(\d[a-f0-9])/gi,gt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function kt(L){return encodeURIComponent(L).replace(rt,(J,ee)=>gt[ee]??J)}function Le(L){return`${L}`}class ke{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new _e,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Oe(L,J){const ee=new Map;return L.length>0&&L.replace(/^\?/,"").split("&").forEach(Pe=>{const Ge=Pe.indexOf("="),[M,q]=-1==Ge?[J.decodeKey(Pe),""]:[J.decodeKey(Pe.slice(0,Ge)),J.decodeValue(Pe.slice(Ge+1))],A=ee.get(M)||[];A.push(q),ee.set(M,A)}),ee}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach(ee=>{const De=J.fromObject[ee],Pe=Array.isArray(De)?De.map(Le):[Le(De)];this.map.set(ee,Pe)})):this.map=null}has(J){return this.init(),this.map.has(J)}get(J){this.init();const ee=this.map.get(J);return ee?ee[0]:null}getAll(J){return this.init(),this.map.get(J)||null}keys(){return this.init(),Array.from(this.map.keys())}append(J,ee){return this.clone({param:J,value:ee,op:"a"})}appendAll(J){const ee=[];return Object.keys(J).forEach(De=>{const Pe=J[De];Array.isArray(Pe)?Pe.forEach(Ge=>{ee.push({param:De,value:Ge,op:"a"})}):ee.push({param:De,value:Pe,op:"a"})}),this.clone(ee)}set(J,ee){return this.clone({param:J,value:ee,op:"s"})}delete(J,ee){return this.clone({param:J,value:ee,op:"d"})}toString(){return this.init(),this.keys().map(J=>{const ee=this.encoder.encodeKey(J);return this.map.get(J).map(De=>ee+"="+this.encoder.encodeValue(De)).join("&")}).filter(J=>""!==J).join("&")}clone(J){const ee=new ke({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(J),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(J=>this.map.set(J,this.cloneFrom.map.get(J))),this.updates.forEach(J=>{switch(J.op){case"a":case"s":const ee=("a"===J.op?this.map.get(J.param):void 0)||[];ee.push(Le(J.value)),this.map.set(J.param,ee);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let De=this.map.get(J.param)||[];const Pe=De.indexOf(Le(J.value));-1!==Pe&&De.splice(Pe,1),De.length>0?this.map.set(J.param,De):this.map.delete(J.param)}}}),this.cloneFrom=this.updates=null)}}class je{constructor(){this.map=new Map}set(J,ee){return this.map.set(J,ee),this}get(J){return this.map.has(J)||this.map.set(J,J.defaultValue()),this.map.get(J)}delete(J){return this.map.delete(J),this}has(J){return this.map.has(J)}keys(){return this.map.keys()}}function et(L){return typeof ArrayBuffer<"u"&&L instanceof ArrayBuffer}function st(L){return typeof Blob<"u"&&L instanceof Blob}function zt(L){return typeof FormData<"u"&&L instanceof FormData}class Te{constructor(J,ee,De,Pe){let Ge;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function $e(L){switch(L){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==De?De:null,Ge=Pe):Ge=De,Ge&&(this.reportProgress=!!Ge.reportProgress,this.withCredentials=!!Ge.withCredentials,Ge.responseType&&(this.responseType=Ge.responseType),Ge.headers&&(this.headers=Ge.headers),Ge.context&&(this.context=Ge.context),Ge.params&&(this.params=Ge.params),this.transferCache=Ge.transferCache),this.headers??=new V,this.context??=new je,this.params){const M=this.params.toString();if(0===M.length)this.urlWithParams=ee;else{const q=ee.indexOf("?");this.urlWithParams=ee+(-1===q?"?":qCt.set(vt,J.setHeaders[vt]),te)),J.setParams&&(se=Object.keys(J.setParams).reduce((Ct,vt)=>Ct.set(vt,J.setParams[vt]),se)),new Te(ee,De,M,{params:se,headers:te,context:Ke,reportProgress:A,responseType:Pe,withCredentials:q,transferCache:Ge})}}var ot=function(L){return L[L.Sent=0]="Sent",L[L.UploadProgress=1]="UploadProgress",L[L.ResponseHeader=2]="ResponseHeader",L[L.DownloadProgress=3]="DownloadProgress",L[L.Response=4]="Response",L[L.User=5]="User",L}(ot||{});class _t{constructor(J,ee=200,De="OK"){this.headers=J.headers||new V,this.status=void 0!==J.status?J.status:ee,this.statusText=J.statusText||De,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class Qt extends _t{constructor(J={}){super(J),this.type=ot.ResponseHeader}clone(J={}){return new Qt({headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class dn extends _t{constructor(J={}){super(J),this.type=ot.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new dn({body:void 0!==J.body?J.body:this.body,headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class Ce extends _t{constructor(J){super(J,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${J.url||"(unknown url)"}`:`Http failure response for ${J.url||"(unknown url)"}: ${J.status} ${J.statusText}`,this.error=J.error||null}}function re(L,J){return{body:J,headers:L.headers,context:L.context,observe:L.observe,params:L.params,reportProgress:L.reportProgress,responseType:L.responseType,withCredentials:L.withCredentials,transferCache:L.transferCache}}let Me=(()=>{class L{constructor(ee){this.handler=ee}request(ee,De,Pe={}){let Ge;if(ee instanceof Te)Ge=ee;else{let A,te;A=Pe.headers instanceof V?Pe.headers:new V(Pe.headers),Pe.params&&(te=Pe.params instanceof ke?Pe.params:new ke({fromObject:Pe.params})),Ge=new Te(ee,De,void 0!==Pe.body?Pe.body:null,{headers:A,context:Pe.context,params:te,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials,transferCache:Pe.transferCache})}const M=(0,Z.of)(Ge).pipe((0,H.H)(A=>this.handler.handle(A)));if(ee instanceof Te||"events"===Pe.observe)return M;const q=M.pipe((0,oe.p)(A=>A instanceof dn));switch(Pe.observe||"body"){case"body":switch(Ge.responseType){case"arraybuffer":return q.pipe((0,ue.T)(A=>{if(null!==A.body&&!(A.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return A.body}));case"blob":return q.pipe((0,ue.T)(A=>{if(null!==A.body&&!(A.body instanceof Blob))throw new Error("Response is not a Blob.");return A.body}));case"text":return q.pipe((0,ue.T)(A=>{if(null!==A.body&&"string"!=typeof A.body)throw new Error("Response is not a string.");return A.body}));default:return q.pipe((0,ue.T)(A=>A.body))}case"response":return q;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(ee,De={}){return this.request("DELETE",ee,De)}get(ee,De={}){return this.request("GET",ee,De)}head(ee,De={}){return this.request("HEAD",ee,De)}jsonp(ee,De){return this.request("JSONP",ee,{params:(new ke).append(De,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,De={}){return this.request("OPTIONS",ee,De)}patch(ee,De,Pe={}){return this.request("PATCH",ee,re(Pe,De))}post(ee,De,Pe={}){return this.request("POST",ee,re(Pe,De))}put(ee,De,Pe={}){return this.request("PUT",ee,re(Pe,De))}static#e=this.\u0275fac=function(De){return new(De||L)(h.KVO(B))};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();const we=/^\)\]\}',?\n/;function mt(L){if(L.url)return L.url;const J="X-Request-URL".toLocaleLowerCase();return L.headers.get(J)}let Jt=(()=>{class L{constructor(){this.fetchImpl=(0,h.WQX)(dt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,h.WQX)(h.SKi)}handle(ee){return new o.c(De=>{const Pe=new AbortController;return this.doRequest(ee,Pe.signal,De).then(Vt,Ge=>De.error(new Ce({error:Ge}))),()=>Pe.abort()})}doRequest(ee,De,Pe){var Ge=this;return(0,y.A)(function*(){const M=Ge.createRequestInit(ee);let q;try{const qt=Ge.fetchImpl(ee.urlWithParams,{signal:De,...M});(function Ut(L){L.then(Vt,Vt)})(qt),Pe.next({type:ot.Sent}),q=yield qt}catch(qt){return void Pe.error(new Ce({error:qt,status:qt.status??0,statusText:qt.statusText,url:ee.urlWithParams,headers:qt.headers}))}const A=new V(q.headers),te=q.statusText,se=mt(q)??ee.urlWithParams;let Ke=q.status,Ct=null;if(ee.reportProgress&&Pe.next(new Qt({headers:A,status:Ke,statusText:te,url:se})),q.body){const qt=q.headers.get("content-length"),wt=[],Xe=q.body.getReader();let Hr,yn,It=0;const Pn=typeof Zone<"u"&&Zone.current;yield Ge.ngZone.runOutsideAngular((0,y.A)(function*(){for(;;){const{done:oo,value:go}=yield Xe.read();if(oo)break;if(wt.push(go),It+=go.length,ee.reportProgress){yn="text"===ee.responseType?(yn??"")+(Hr??=new TextDecoder).decode(go,{stream:!0}):void 0;const xt=()=>Pe.next({type:ot.DownloadProgress,total:qt?+qt:void 0,loaded:It,partialText:yn});Pn?Pn.run(xt):xt()}}}));const di=Ge.concatChunks(wt,It);try{const oo=q.headers.get("Content-Type")??"";Ct=Ge.parseBody(ee,di,oo)}catch(oo){return void Pe.error(new Ce({error:oo,headers:new V(q.headers),status:q.status,statusText:q.statusText,url:mt(q)??ee.urlWithParams}))}}0===Ke&&(Ke=Ct?200:0),Ke>=200&&Ke<300?(Pe.next(new dn({body:Ct,headers:A,status:Ke,statusText:te,url:se})),Pe.complete()):Pe.error(new Ce({error:Ct,headers:A,status:Ke,statusText:te,url:se}))})()}parseBody(ee,De,Pe){switch(ee.responseType){case"json":const Ge=(new TextDecoder).decode(De).replace(we,"");return""===Ge?null:JSON.parse(Ge);case"text":return(new TextDecoder).decode(De);case"blob":return new Blob([De],{type:Pe});case"arraybuffer":return De.buffer}}createRequestInit(ee){const De={},Pe=ee.withCredentials?"include":void 0;if(ee.headers.forEach((Ge,M)=>De[Ge]=M.join(",")),De.Accept??="application/json, text/plain, */*",!De["Content-Type"]){const Ge=ee.detectContentTypeHeader();null!==Ge&&(De["Content-Type"]=Ge)}return{body:ee.serializeBody(),method:ee.method,headers:De,credentials:Pe}}concatChunks(ee,De){const Pe=new Uint8Array(De);let Ge=0;for(const M of ee)Pe.set(M,Ge),Ge+=M.length;return Pe}static#e=this.\u0275fac=function(De){return new(De||L)};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();class dt{}function Vt(){}function tt(L,J){return J(L)}function an(L,J){return(ee,De)=>J.intercept(ee,{handle:Pe=>L(Pe,De)})}const En=new h.nKC(""),en=new h.nKC(""),Ve=new h.nKC(""),ln=new h.nKC("",{providedIn:"root",factory:()=>!0});function kn(){let L=null;return(J,ee)=>{null===L&&(L=((0,h.WQX)(En,{optional:!0})??[]).reduceRight(an,tt));const De=(0,h.WQX)(h.TgB);if((0,h.WQX)(ln)){const Ge=De.add();return L(J,ee).pipe((0,ie.j)(()=>De.remove(Ge)))}return L(J,ee)}}let xn=(()=>{class L extends B{constructor(ee,De){super(),this.backend=ee,this.injector=De,this.chain=null,this.pendingTasks=(0,h.WQX)(h.TgB),this.contributeToStability=(0,h.WQX)(ln)}handle(ee){if(null===this.chain){const De=Array.from(new Set([...this.injector.get(en),...this.injector.get(Ve,[])]));this.chain=De.reduceRight((Pe,Ge)=>function tn(L,J,ee){return(De,Pe)=>(0,h.N4e)(ee,()=>J(De,Ge=>L(Ge,Pe)))}(Pe,Ge,this.injector),tt)}if(this.contributeToStability){const De=this.pendingTasks.add();return this.chain(ee,Pe=>this.backend.handle(Pe)).pipe((0,ie.j)(()=>this.pendingTasks.remove(De)))}return this.chain(ee,De=>this.backend.handle(De))}static#e=this.\u0275fac=function(De){return new(De||L)(h.KVO(ce),h.KVO(h.uvJ))};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();const Sn=/^\)\]\}',?\n/;let Fn=(()=>{class L{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new h.wOt(-2800,!1);const De=this.xhrFactory;return(De.\u0275loadImpl?(0,Q.H)(De.\u0275loadImpl()):(0,Z.of)(null)).pipe((0,le.n)(()=>new o.c(Ge=>{const M=De.build();if(M.open(ee.method,ee.urlWithParams),ee.withCredentials&&(M.withCredentials=!0),ee.headers.forEach((wt,Xe)=>M.setRequestHeader(wt,Xe.join(","))),ee.headers.has("Accept")||M.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const wt=ee.detectContentTypeHeader();null!==wt&&M.setRequestHeader("Content-Type",wt)}if(ee.responseType){const wt=ee.responseType.toLowerCase();M.responseType="json"!==wt?wt:"text"}const q=ee.serializeBody();let A=null;const te=()=>{if(null!==A)return A;const wt=M.statusText||"OK",Xe=new V(M.getAllResponseHeaders()),It=function at(L){return"responseURL"in L&&L.responseURL?L.responseURL:/^X-Request-URL:/m.test(L.getAllResponseHeaders())?L.getResponseHeader("X-Request-URL"):null}(M)||ee.url;return A=new Qt({headers:Xe,status:M.status,statusText:wt,url:It}),A},se=()=>{let{headers:wt,status:Xe,statusText:It,url:Hr}=te(),yn=null;204!==Xe&&(yn=typeof M.response>"u"?M.responseText:M.response),0===Xe&&(Xe=yn?200:0);let Pn=Xe>=200&&Xe<300;if("json"===ee.responseType&&"string"==typeof yn){const di=yn;yn=yn.replace(Sn,"");try{yn=""!==yn?JSON.parse(yn):null}catch(oo){yn=di,Pn&&(Pn=!1,yn={error:oo,text:yn})}}Pn?(Ge.next(new dn({body:yn,headers:wt,status:Xe,statusText:It,url:Hr||void 0})),Ge.complete()):Ge.error(new Ce({error:yn,headers:wt,status:Xe,statusText:It,url:Hr||void 0}))},Ke=wt=>{const{url:Xe}=te(),It=new Ce({error:wt,status:M.status||0,statusText:M.statusText||"Unknown Error",url:Xe||void 0});Ge.error(It)};let Ct=!1;const vt=wt=>{Ct||(Ge.next(te()),Ct=!0);let Xe={type:ot.DownloadProgress,loaded:wt.loaded};wt.lengthComputable&&(Xe.total=wt.total),"text"===ee.responseType&&M.responseText&&(Xe.partialText=M.responseText),Ge.next(Xe)},qt=wt=>{let Xe={type:ot.UploadProgress,loaded:wt.loaded};wt.lengthComputable&&(Xe.total=wt.total),Ge.next(Xe)};return M.addEventListener("load",se),M.addEventListener("error",Ke),M.addEventListener("timeout",Ke),M.addEventListener("abort",Ke),ee.reportProgress&&(M.addEventListener("progress",vt),null!==q&&M.upload&&M.upload.addEventListener("progress",qt)),M.send(q),Ge.next({type:ot.Sent}),()=>{M.removeEventListener("error",Ke),M.removeEventListener("abort",Ke),M.removeEventListener("load",se),M.removeEventListener("timeout",Ke),ee.reportProgress&&(M.removeEventListener("progress",vt),null!==q&&M.upload&&M.upload.removeEventListener("progress",qt)),M.readyState!==M.DONE&&M.abort()}})))}static#e=this.\u0275fac=function(De){return new(De||L)(h.KVO(Y.N0))};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();const Yt=new h.nKC(""),tr=new h.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Yn=new h.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class ct{}let ye=(()=>{class L{constructor(ee,De,Pe){this.doc=ee,this.platform=De,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Y._b)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}static#e=this.\u0275fac=function(De){return new(De||L)(h.KVO(Y.qQ),h.KVO(h.Agw),h.KVO(tr))};static#t=this.\u0275prov=h.jDH({token:L,factory:L.\u0275fac})}return L})();function w(L,J){const ee=L.url.toLowerCase();if(!(0,h.WQX)(Yt)||"GET"===L.method||"HEAD"===L.method||ee.startsWith("http://")||ee.startsWith("https://"))return J(L);const De=(0,h.WQX)(ct).getToken(),Pe=(0,h.WQX)(Yn);return null!=De&&!L.headers.has(Pe)&&(L=L.clone({headers:L.headers.set(Pe,De)})),J(L)}var O=function(L){return L[L.Interceptors=0]="Interceptors",L[L.LegacyInterceptors=1]="LegacyInterceptors",L[L.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",L[L.NoXsrfProtection=3]="NoXsrfProtection",L[L.JsonpSupport=4]="JsonpSupport",L[L.RequestsMadeViaParent=5]="RequestsMadeViaParent",L[L.Fetch=6]="Fetch",L}(O||{});function me(...L){const J=[Me,Fn,xn,{provide:B,useExisting:xn},{provide:ce,useFactory:()=>(0,h.WQX)(Jt,{optional:!0})??(0,h.WQX)(Fn)},{provide:en,useValue:w,multi:!0},{provide:Yt,useValue:!0},{provide:ct,useClass:ye}];for(const ee of L)J.push(...ee.\u0275providers);return(0,h.EmA)(J)}const xe=new h.nKC("");function ze(){return function z(L,J){return{\u0275kind:L,\u0275providers:J}}(O.LegacyInterceptors,[{provide:xe,useFactory:kn},{provide:en,useExisting:xe,multi:!0}])}},54438:(We,de,D)=>{D.d(de,{bc$:()=>JD,iLQ:()=>Tu,sZ2:()=>fd,hnV:()=>Lb,Hbi:()=>vF,o8S:()=>Ti,BIS:()=>e_,gRc:()=>Zb,Ql9:()=>zS,OM3:()=>Rl,Ocv:()=>ZS,abz:()=>xs,Z63:()=>xr,aKT:()=>sl,uvJ:()=>Lt,zcH:()=>Di,bkB:()=>Ai,$GK:()=>xt,nKC:()=>At,zZn:()=>Br,_q3:()=>Lh,MKu:()=>jh,xe9:()=>Su,Co$:()=>Ly,Vns:()=>Hs,SKi:()=>zn,Xx1:()=>Ro,Agw:()=>hd,PLl:()=>ng,sFG:()=>UC,_9s:()=>hf,czy:()=>xc,WPN:()=>Ls,kdw:()=>Oo,C4Q:()=>wl,NYb:()=>jS,giA:()=>xb,RxE:()=>Mb,c1b:()=>Jc,gXe:()=>bo,mal:()=>Jm,Af3:()=>E,L39:()=>qF,Ol2:()=>kf,w6W:()=>V1,oH4:()=>Kb,SmG:()=>rF,Rfq:()=>Yn,WQX:()=>ht,naY:()=>nF,QuC:()=>Qe,EmA:()=>wn,fpN:()=>yF,HJs:()=>sN,N4e:()=>p,O8t:()=>eN,H3F:()=>Sb,H8p:()=>Xi,KH2:()=>Ua,TgB:()=>zs,wOt:()=>Ve,WHO:()=>Ob,e01:()=>kb,lNU:()=>en,h9k:()=>Tg,$MX:()=>Ac,ZF7:()=>fa,Kcf:()=>b_,e5t:()=>C_,UyX:()=>__,cWb:()=>D_,osQ:()=>w_,H5H:()=>sh,Zy3:()=>ln,mq5:()=>Uv,JZv:()=>Gt,LfX:()=>kr,plB:()=>gs,jNT:()=>Ih,zjR:()=>Pb,TL$:()=>ZD,Tbb:()=>Yt,rcV:()=>ts,Vt3:()=>Af,GFd:()=>Py,OA$:()=>pe,Jv_:()=>QE,aNF:()=>YE,R7$:()=>Jg,BMQ:()=>Wf,HbH:()=>Tv,ZvI:()=>Rv,AVh:()=>Jf,wni:()=>CE,VBU:()=>R,FsC:()=>j,jDH:()=>Zt,G2t:()=>Jr,$C:()=>_,EJ8:()=>ne,rXU:()=>ma,nrm:()=>oh,eu8:()=>ih,bVm:()=>mu,qex:()=>gu,k0s:()=>pu,j41:()=>hu,RV6:()=>jv,xGo:()=>Tp,KVO:()=>Bn,kS0:()=>yc,QTQ:()=>tm,bIt:()=>ch,lsd:()=>ME,XpG:()=>hE,nI1:()=>lb,bMT:()=>cb,i5U:()=>ub,SdG:()=>gE,NAR:()=>pE,Y8G:()=>Yf,FS9:()=>dh,Mz_:()=>bu,lJ4:()=>qE,eq3:()=>JE,l_i:()=>eb,sMw:()=>tb,ziG:()=>nb,mGM:()=>IE,sdS:()=>SE,Njj:()=>ep,EBC:()=>Og,tSv:()=>Rg,eBV:()=>Jh,npT:()=>Ig,B4B:()=>Fd,n$t:()=>Sg,Aen:()=>_i,xc7:()=>qf,DNE:()=>Pf,C5r:()=>db,EFF:()=>jE,JRh:()=>fh,SpI:()=>Du,Lme:()=>hh,DH7:()=>KE,mxI:()=>gh,R50:()=>ph,GBs:()=>TE});let h=null,o=1;const Q=Symbol("SIGNAL");function H(e){const t=h;return h=e,t}function ce(e){if((!Je(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==o)){if(!e.producerMustRecompute(e)&&!gt(e))return e.dirty=!1,void(e.lastCleanEpoch=o);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=o}}function gt(e){je(e);for(let t=0;t0}function je(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let _t=null;var Ut=D(21413),tt=D(18359),an=D(84412),tn=D(96354);const en="https://g.co/ng/security#xss";class Ve extends Error{constructor(t,n){super(ln(t,n)),this.code=t}}function ln(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function bn(e){return{toString:e}.toString()}const Bt="__parameters__";function Xn(e,t,n){return bn(()=>{const r=function Mn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return l.annotation=a,l;function l(f,b,T){const P=f.hasOwnProperty(Bt)?f[Bt]:Object.defineProperty(f,Bt,{value:[]})[Bt];for(;P.length<=T;)P.push(null);return(P[T]=P[T]||[]).push(a),f}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Gt=globalThis;function at(e){for(let t in e)if(e[t]===at)return t;throw Error("Could not find renamed property on target object.")}function Fn(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Yt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Yt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Qn(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const nr=at({__forward_ref__:at});function Yn(e){return e.__forward_ref__=Yn,e.toString=function(){return Yt(this())},e}function ct(e){return ye(e)?e():e}function ye(e){return"function"==typeof e&&e.hasOwnProperty(nr)&&e.__forward_ref__===Yn}function Zt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Jr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Or(e){return lr(e,yr)||lr(e,no)}function kr(e){return null!==Or(e)}function lr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ur(e){return e&&(e.hasOwnProperty(to)||e.hasOwnProperty(po))?e[to]:null}const yr=at({\u0275prov:at}),to=at({\u0275inj:at}),no=at({ngInjectableDef:at}),po=at({ngInjectorDef:at});class At{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Zt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function A(e){return e&&!!e.\u0275providers}const te=at({\u0275cmp:at}),se=at({\u0275dir:at}),Ke=at({\u0275pipe:at}),Ct=at({\u0275mod:at}),vt=at({\u0275fac:at}),qt=at({__NG_ELEMENT_ID__:at}),wt=at({__NG_ENV_ID__:at});function Xe(e){return"string"==typeof e?e:null==e?"":String(e)}function go(e,t){throw new Ve(-201,!1)}var xt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(xt||{});let fi;function bs(){return fi}function cr(e){const t=fi;return fi=e,t}function hi(e,t,n){const r=Or(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&xt.Optional?null:void 0!==t?t:void go()}const pi={},So="__NG_DI_FLAG__",Fo="ngTempTokenPath",Li=/\n/gm,mo="__source";let io;function so(e){const t=io;return io=e,t}function No(e,t=xt.Default){if(void 0===io)throw new Ve(-203,!1);return null===io?hi(e,void 0,t):io.get(e,t&xt.Optional?null:void 0,t)}function Bn(e,t=xt.Default){return(bs()||No)(ct(e),t)}function ht(e,t=xt.Default){return Bn(e,Gn(t))}function Gn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ao(e){const t=[];for(let n=0;nArray.isArray(n)?On(n,t):t(n))}function ao(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vr(e,t,n){let r=xo(e,t);return r>=0?e[1|r]=n:(r=~r,function Ui(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function yi(e,t){const n=xo(e,t);if(n>=0)return e[1|n]}function xo(e,t){return function ws(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<t?i=s:r=s+1}return~(i<t){a=s-1;break}}}for(;s-1){let s;for(;++is?"":i[T+1].toLowerCase(),2&r&&b!==P){if(Pr(r))return!1;a=!0}}}}else{if(!a&&!Pr(r)&&!Pr(f))return!1;if(a&&Pr(f))continue;a=!1,r=f|1&r}}return Pr(r)||a}function Pr(e){return!(1&e)}function cs(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+l+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!Pr(a)&&(t+=ei(s,i),i=""),r=a,s=s||!Pr(r);n++}return""!==i&&(t+=ei(s,i)),t}function R(e){return bn(()=>{const t=Xt(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Hi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bo.Emulated,styles:e.styles||nn,_:null,schemas:e.schemas||null,tView:null,id:""};Pt(n);const r=e.dependencies;return n.directiveDefs=yt(r,!1),n.pipeDefs=yt(r,!0),n.id=function hn(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function d(e){return K(e)||fe(e)}function g(e){return null!==e}function _(e){return bn(()=>({type:e.type,bootstrap:e.bootstrap||nn,declarations:e.declarations||nn,imports:e.imports||nn,exports:e.exports||nn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function N(e,t){if(null==e)return Gr;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,a,l=qo.None;Array.isArray(i)?(l=i[0],s=i[1],a=i[2]??s):(s=i,a=i),t?(n[s]=l!==qo.None?[r,l]:r,t[s]=a):n[s]=r}return n}function j(e){return bn(()=>{const t=Xt(e);return Pt(t),t})}function ne(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function K(e){return e[te]||null}function fe(e){return e[se]||null}function ve(e){return e[Ke]||null}function Qe(e){const t=K(e)||fe(e)||ve(e);return null!==t&&t.standalone}function He(e,t){const n=e[Ct]||null;if(!n&&!0===t)throw new Error(`Type ${Yt(e)} does not have '\u0275mod' property.`);return n}function Xt(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Gr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||nn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:N(e.inputs,t),outputs:N(e.outputs),debugInfo:null}}function Pt(e){e.features?.forEach(t=>t(e))}function yt(e,t){if(!e)return null;const n=t?ve:d;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(g)}function wn(e){return{\u0275providers:e}}function Vn(...e){return{\u0275providers:rr(0,e),\u0275fromNgModule:!0}}function rr(e,...t){const n=[],r=new Set;let i;const s=a=>{n.push(a)};return On(t,a=>{const l=a;Do(l,s,[],r)&&(i||=[],i.push(l))}),void 0!==i&&Wn(i,s),n}function Wn(e,t){for(let n=0;n{t(s,r)})}}function Do(e,t,n,r){if(!(e=ct(e)))return!1;let i=null,s=Ur(e);const a=!s&&K(e);if(s||a){if(a&&!a.standalone)return!1;i=e}else{const f=e.ngModule;if(s=Ur(f),!s)return!1;i=f}const l=r.has(i);if(a){if(l)return!1;if(r.add(i),a.dependencies){const f="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const b of f)Do(b,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!l){let b;r.add(i);try{On(s.imports,T=>{Do(T,t,n,r)&&(b||=[],b.push(T))})}finally{}void 0!==b&&Wn(b,t)}if(!l){const b=yo(i)||(()=>new i);t({provide:i,useFactory:b,deps:nn},i),t({provide:$i,useValue:i,multi:!0},i),t({provide:xr,useValue:()=>Bn(i),multi:!0},i)}const f=s.providers;if(null!=f&&!l){const b=e;or(f,T=>{t(T,b)})}}}return i!==e&&void 0!==e.providers}function or(e,t){for(let n of e)A(n)&&(n=n.\u0275providers),Array.isArray(n)?or(n,t):t(n)}const Er=at({provide:String,useValue:at});function Sr(e){return null!==e&&"object"==typeof e&&Er in e}function Fr(e){return"function"==typeof e}const Xi=new At(""),vi={},ft={};let Et;function Dt(){return void 0===Et&&(Et=new Eo),Et}class Lt{}class Cn extends Lt{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gr(t,a=>this.processProvider(a)),this.records.set(ur,ti(void 0,this)),i.has("environment")&&this.records.set(Lt,ti(void 0,this));const s=this.records.get(Xi);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get($i,nn,xt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=H(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),H(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=so(this),r=cr(void 0);try{return t()}finally{so(n),cr(r)}}get(t,n=pi,r=xt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(wt))return t[wt](this);r=Gn(r);const s=so(this),a=cr(void 0);try{if(!(r&xt.SkipSelf)){let f=this.records.get(t);if(void 0===f){const b=function wo(e){return"function"==typeof e||"object"==typeof e&&e instanceof At}(t)&&Or(t);f=b&&this.injectableDefInScope(b)?ti(Nr(t),vi):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&xt.Self?Dt():this.parent).get(t,n=r&xt.Optional&&n===pi?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Fo]=l[Fo]||[]).unshift(Yt(t)),s)throw l;return function ji(e,t,n,r){const i=e[Fo];throw t[mo]&&i.unshift(t[mo]),e.message=function Bi(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Yt(t);if(Array.isArray(t))i=t.map(Yt).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let l=t[a];s.push(a+":"+("string"==typeof l?JSON.stringify(l):Yt(l)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Li,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Fo]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{cr(a),so(s)}}resolveInjectorInitializers(){const t=H(null),n=so(this),r=cr(void 0);try{const s=this.get(xr,nn,xt.Self);for(const a of s)a()}finally{so(n),cr(r),H(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Yt(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ve(205,!1)}processProvider(t){let n=Fr(t=ct(t))?t:ct(t&&t.provide);const r=function Bo(e){return Sr(e)?ti(void 0,e.useValue):ti(_n(e),vi)}(t);if(!Fr(t)&&!0===t.multi){let i=this.records.get(n);i||(i=ti(void 0,vi,!0),i.factory=()=>Ao(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=H(null);try{return n.value===vi&&(n.value=ft,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Un(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{H(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ct(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Nr(e){const t=Or(e),n=null!==t?t.factory:yo(e);if(null!==n)return n;if(e instanceof At)throw new Ve(204,!1);if(e instanceof Function)return function Ar(e){if(e.length>0)throw new Ve(204,!1);const n=function eo(e){return e&&(e[yr]||e[no])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ve(204,!1)}function _n(e,t,n){let r;if(Fr(e)){const i=ct(e);return yo(i)||Nr(i)}if(Sr(e))r=()=>ct(e.useValue);else if(function Wi(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ao(e.deps||[]));else if(function jo(e){return!(!e||!e.useExisting)}(e))r=()=>Bn(ct(e.useExisting));else{const i=ct(e&&(e.useClass||e.provide));if(!function Js(e){return!!e.deps}(e))return yo(i)||Nr(i);r=()=>new i(...Ao(e.deps))}return r}function ti(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gr(e,t){for(const n of e)Array.isArray(n)?gr(n,t):n&&A(n)?gr(n.\u0275providers,t):t(n)}function p(e,t){e instanceof Cn&&e.assertNotDestroyed();const r=so(e),i=cr(void 0);try{return t()}finally{so(r),cr(i)}}function F(){return void 0!==bs()||null!=function os(){return io}()}function E(e){if(!F())throw new Ve(-203,!1)}const cn=0,Be=1,pt=2,gn=3,Rr=4,br=5,Lr=6,Qi=7,rn=8,ir=9,ri=10,Mt=11,us=12,nc=13,Yi=14,Hn=15,ds=16,fs=17,Uo=18,Zi=19,Pu=20,Ei=21,lo=22,qi=23,Tt=25,rc=1,$o=7,Mi=9,Jn=10;var ta=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ta||{});function Dr(e){return Array.isArray(e)&&"object"==typeof e[rc]}function _r(e){return Array.isArray(e)&&!0===e[rc]}function Qa(e){return!!(4&e.flags)}function hs(e){return e.componentOffset>-1}function Ya(e){return!(1&~e.flags)}function oi(e){return!!e.template}function Fs(e){return!!(512&e[pt])}class G{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ee(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function pe(){return qe}function qe(e){return e.type.prototype.ngOnChanges&&(e.setInput=$t),Rt}function Rt(){const e=Ho(this),t=e?.current;if(t){const n=e.previous;if(n===Gr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $t(e,t,n,r,i){const s=this.declaredInputs[r],a=Ho(e)||function jr(e,t){return e[Nn]=t}(e,{previous:Gr,current:null}),l=a.current||(a.current={}),f=a.previous,b=f[s];l[s]=new G(b&&b.currentValue,n,f===Gr),Ee(e,t,i,n)}pe.ngInherit=!0;const Nn="__ngSimpleChanges__";function Ho(e){return e[Nn]||null}const Qr=function(e,t,n){};function Dn(e){for(;Array.isArray(e);)e=e[cn];return e}function qa(e,t){return Dn(t[e])}function co(e,t){return Dn(t[e.index])}function Ja(e,t){return e.data[t]}function ra(e,t){return e[t]}function Go(e,t){const n=t[e];return Dr(n)?n:n[cn]}function Uu(e){return!(128&~e[pt])}function si(e,t){return null==t?null:e[t]}function Qh(e){e[fs]=0}function B0(e){1024&e[pt]||(e[pt]|=1024,Uu(e)&&sc(e))}function el(e){return!!(9216&e[pt]||e[qi]?.dirty)}function $u(e){e[ri].changeDetectionScheduler?.notify(7),64&e[pt]&&(e[pt]|=1024),el(e)&&sc(e)}function sc(e){e[ri].changeDetectionScheduler?.notify(0);let t=As(e);for(;null!==t&&!(8192&t[pt])&&(t[pt]|=8192,Uu(t));)t=As(t)}function ac(e,t){if(!(256&~e[pt]))throw new Ve(911,!1);null===e[Ei]&&(e[Ei]=[]),e[Ei].push(t)}function As(e){const t=e[gn];return _r(t)?t[gn]:t}const jt={lFrame:cp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Zh=!1;function qh(){return jt.bindingsEnabled}function Rs(){return null!==jt.skipHydrationRootTNode}function Fe(){return jt.lFrame.lView}function on(){return jt.lFrame.tView}function Jh(e){return jt.lFrame.contextLView=e,e[rn]}function ep(e){return jt.lFrame.contextLView=null,e}function In(){let e=tp();for(;null!==e&&64===e.type;)e=e.parent;return e}function tp(){return jt.lFrame.currentTNode}function Si(e,t){const n=jt.lFrame;n.currentTNode=e,n.isParent=t}function Gu(){return jt.lFrame.isParent}function Wu(){jt.lFrame.isParent=!1}function rp(){return Zh}function op(e){Zh=e}function uo(){const e=jt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function bi(){return jt.lFrame.bindingIndex++}function es(e){const t=jt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Y0(e,t){const n=jt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ku(t)}function Ku(e){jt.lFrame.currentDirectiveIndex=e}function Qu(){return jt.lFrame.currentQueryIndex}function cc(e){jt.lFrame.currentQueryIndex=e}function q0(e){const t=e[Be];return 2===t.type?t.declTNode:1===t.type?e[br]:null}function ap(e,t,n){if(n&xt.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&xt.Host||(i=q0(s),null===i||(s=s[Yi],10&i.type))););if(null===i)return!1;t=i,e=s}const r=jt.lFrame=lp();return r.currentTNode=t,r.lView=e,!0}function Yu(e){const t=lp(),n=e[Be];jt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function lp(){const e=jt.lFrame,t=null===e?null:e.child;return null===t?cp(e):t}function cp(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function up(){const e=jt.lFrame;return jt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const dp=up;function Zu(){const e=up();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Yr(){return jt.lFrame.selectedIndex}function Os(e){jt.lFrame.selectedIndex=e}function jn(){const e=jt.lFrame;return Ja(e.tView,e.selectedIndex)}let hp=!0;function nl(){return hp}function Fi(e){hp=e}function uc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[f]<0&&(e[fs]+=65536),(l>14>16&&(3&e[pt])===t&&(e[pt]+=16384,gp(l,s)):gp(l,s)}const oa=-1;class rl{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ed(e){return e!==oa}function ol(e){return 32767&e}function il(e,t){let n=function uD(e){return e>>16}(e),r=t;for(;n>0;)r=r[Yi],n--;return r}let td=!0;function hc(e){const t=td;return td=e,t}const mp=255,yp=5;let dD=0;const Ni={};function pc(e,t){const n=vp(e,t);if(-1!==n)return n;const r=t[Be];r.firstCreatePass&&(e.injectorIndex=t.length,nd(r.data,e),nd(t,null),nd(r.blueprint,null));const i=gc(e,t),s=e.injectorIndex;if(ed(i)){const a=ol(i),l=il(i,t),f=l[Be].data;for(let b=0;b<8;b++)t[s+b]=l[a+b]|f[a+b]}return t[s+8]=i,s}function nd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function vp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function gc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Ip(i),null===r)return oa;if(n++,i=i[Yi],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return oa}function rd(e,t,n){!function fD(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(qt)&&(r=n[qt]),null==r&&(r=n[qt]=dD++);const i=r∓t.data[e+(i>>yp)]|=1<=0?t&mp:mD:t}(n);if("function"==typeof s){if(!ap(t,e,r))return r&xt.Host?Ep(i,0,r):bp(t,n,r,i);try{let a;if(a=s(r),null!=a||r&xt.Optional)return a;go()}finally{dp()}}else if("number"==typeof s){let a=null,l=vp(e,t),f=oa,b=r&xt.Host?t[Hn][br]:null;for((-1===l||r&xt.SkipSelf)&&(f=-1===l?gc(e,t):t[l+8],f!==oa&&Cp(r,!1)?(a=t[Be],l=ol(f),t=il(f,t)):l=-1);-1!==l;){const T=t[Be];if(wp(s,l,T.data)){const P=pD(l,t,n,a,r,b);if(P!==Ni)return P}f=t[l+8],f!==oa&&Cp(r,t[Be].data[l+8]===b)&&wp(s,l,t)?(a=T,l=ol(f),t=il(f,t)):l=-1}}return i}function pD(e,t,n,r,i,s){const a=t[Be],l=a.data[e+8],T=mc(l,a,n,null==r?hs(l)&&td:r!=a&&!!(3&l.type),i&xt.Host&&s===l);return null!==T?ks(t,a,T,l):Ni}function mc(e,t,n,r,i){const s=e.providerIndexes,a=t.data,l=1048575&s,f=e.directiveStart,T=s>>20,W=i?l+T:e.directiveEnd;for(let ae=r?l:l+T;ae=f&&he.type===n)return ae}if(i){const ae=a[f];if(ae&&oi(ae)&&ae.type===n)return f}return null}function ks(e,t,n,r){let i=e[n];const s=t.data;if(function sD(e){return e instanceof rl}(i)){const a=i;a.resolving&&function Pn(e,t){throw t&&t.join(" > "),new Ve(-200,e)}(function It(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Xe(e)}(s[n]));const l=hc(a.canSeeViewProviders);a.resolving=!0;const b=a.injectImpl?cr(a.injectImpl):null;ap(e,r,xt.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function oD(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=qe(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==b&&cr(b),hc(l),a.resolving=!1,dp()}}return i}function wp(e,t,n){return!!(n[t+(e>>yp)]&1<{const t=e.prototype.constructor,n=t[vt]||od(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[vt]||od(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function od(e){return ye(e)?()=>{const t=od(ct(e));return t&&t()}:yo(e)}function Ip(e){const t=e[Be],n=t.type;return 2===n?t.declTNode:1===n?e[br]:null}function yc(e){return function hD(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;iBn(ur)});static#r=this.__NG_ELEMENT_ID__=-1}new At("").__NG_ELEMENT_ID__=e=>{const t=In();if(null===t)throw new Ve(204,!1);if(2&t.type)return t.value;if(e&xt.Optional)return null;throw new Ve(204,!1)};function sd(e){return e.ngOriginalError}class Di{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&sd(t);for(;n&&sd(n);)n=sd(n);return n||null}}const kp=new At("",{providedIn:"root",factory:()=>ht(Di).handleError.bind(void 0)});let xs=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MD;static#t=this.__NG_ENV_ID__=n=>n}return e})();class ID extends xs{constructor(t){super(),this._lView=t}onDestroy(t){return ac(this._lView,t),()=>function Hu(e,t){if(null===e[Ei])return;const n=e[Ei].indexOf(t);-1!==n&&e[Ei].splice(n,1)}(this._lView,t)}}function MD(){return new ID(Fe())}function SD(){return aa(In(),Fe())}function aa(e,t){return new sl(co(e,t))}let sl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=SD}return e})();function Pp(e){return e instanceof sl?e.nativeElement:e}function ad(e){return t=>{setTimeout(e,void 0,t)}}const Ai=class FD extends Ut.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,F()&&(this.destroyRef=ht(xs,{optional:!0})??void 0)}emit(t){const n=H(null);try{super.next(t)}finally{H(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const f=t;i=f.next?.bind(f),s=f.error?.bind(f),a=f.complete?.bind(f)}this.__isAsync&&(s=ad(s),i&&(i=ad(i)),a&&(a=ad(a)));const l=super.subscribe({next:i,error:s,complete:a});return t instanceof tt.yU&&t.add(l),l}};function ND(){return this._results[Symbol.iterator]()}class ld{static#e=Symbol.iterator;get changes(){return this._changes??=new Ai}constructor(t=!1){this._emitDistinctChangesOnly=t,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;const n=ld.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=ND)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function qn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function is(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rqD}),qD="ng",ng=new At(""),hd=new At("",{providedIn:"platform",factory:()=>"unknown"}),JD=new At(""),e_=new At("",{providedIn:"root",factory:()=>ps().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let rg=()=>null;function bd(e,t,n=!1){return rg(e,t,n)}const dg=new At("",{providedIn:"root",factory:()=>!1});let Fc,Nc;function da(e){return function Cd(){if(void 0===Fc&&(Fc=null,Gt.trustedTypes))try{Fc=Gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fc}()?.createHTML(e)||e}function Td(){if(void 0===Nc&&(Nc=null,Gt.trustedTypes))try{Nc=Gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Nc}function pg(e){return Td()?.createHTML(e)||e}function mg(e){return Td()?.createScriptURL(e)||e}class Ps{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${en})`}}class p_ extends Ps{getTypeName(){return"HTML"}}class g_ extends Ps{getTypeName(){return"Style"}}class m_ extends Ps{getTypeName(){return"Script"}}class y_ extends Ps{getTypeName(){return"URL"}}class v_ extends Ps{getTypeName(){return"ResourceURL"}}function ts(e){return e instanceof Ps?e.changingThisBreaksApplicationSecurity:e}function fa(e,t){const n=function E_(e){return e instanceof Ps&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${en})`)}return n===t}function b_(e){return new p_(e)}function D_(e){return new g_(e)}function __(e){return new m_(e)}function w_(e){return new y_(e)}function C_(e){return new v_(e)}class T_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(da(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class I_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=da(t),n}}const S_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ac(e){return(e=String(e)).match(S_)?e:"unsafe:"+e}function ns(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function pl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const vg=ns("area,br,col,hr,img,wbr"),Eg=ns("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bg=ns("rp,rt"),Id=pl(vg,pl(Eg,ns("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")),pl(bg,ns("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")),pl(bg,Eg)),Md=ns("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dg=pl(Md,ns("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"),ns("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")),F_=ns("script,style,template");class N_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=O_(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=R_(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=_g(t).toLowerCase();if(!Id.hasOwnProperty(n))return this.sanitizedSomething=!0,!F_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i"),!0}endElement(t){const n=_g(t).toLowerCase();Id.hasOwnProperty(n)&&!vg.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Cg(t))}}function R_(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw wg(t);return t}function O_(e){const t=e.firstChild;if(t&&function A_(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw wg(t);return t}function _g(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function wg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const k_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,x_=/([^\#-~ |!])/g;function Cg(e){return e.replace(/&/g,"&").replace(k_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(x_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Rc;function Tg(e,t){let n=null;try{Rc=Rc||function yg(e){const t=new I_(e);return function M_(){try{return!!(new window.DOMParser).parseFromString(da(""),"text/html")}catch{return!1}}()?new T_(t):t}(e);let r=t?String(t):"";n=Rc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Rc.getInertBodyElement(r)}while(r!==s);return da((new N_).sanitizeChildren(Sd(n)||n))}finally{if(n){const r=Sd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Sd(e){return"content"in e&&function P_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ls=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ls||{});function Ig(e){const t=gl();return t?pg(t.sanitize(Ls.HTML,e)||""):fa(e,"HTML")?pg(ts(e)):Tg(ps(),Xe(e))}function Fd(e){const t=gl();return t?t.sanitize(Ls.URL,e)||"":fa(e,"URL")?ts(e):Ac(Xe(e))}function Mg(e){const t=gl();if(t)return mg(t.sanitize(Ls.RESOURCE_URL,e)||"");if(fa(e,"ResourceURL"))return mg(ts(e));throw new Ve(904,!1)}function Sg(e,t,n){return function U_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Mg:Fd}(t,n)(e)}function gl(){const e=Fe();return e&&e[ri].sanitizer}const $_=/^>|^->||--!>|)/g,z_="\u200b$1\u200b";function Rg(e){return e.ownerDocument.defaultView}function Og(e){return e.ownerDocument}function Wo(e){return e instanceof Function?e():e}var xc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(xc||{});let Od;function kd(e,t){return Od(e,t)}function pa(e,t,n,r,i){if(null!=r){let s,a=!1;_r(r)?s=r:Dr(r)&&(a=!0,r=r[cn]);const l=Dn(r);0===e&&null!==n?null==i?$g(t,n,l):js(t,n,l,i||null,!0):1===e&&null!==n?js(t,n,l,i||null,!0):2===e?function vl(e,t,n){const r=jc(e,t);r&&function sw(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,l,a):3===e&&t.destroyNode(l),null!=s&&function cw(e,t,n,r,i){const s=n[$o];s!==Dn(n)&&pa(t,e,r,s,i);for(let l=Jn;lt.replace(H_,z_))}(t))}function Pc(e,t,n){return e.createElement(t,n)}function Bg(e,t){t[ri].changeDetectionScheduler?.notify(8),Vc(e,t,t[Mt],2,null,null)}function Vg(e,t){const n=e[Mi],r=t[gn];(Dr(r)||t[Hn]!==r[gn][Hn])&&(e[pt]|=ta.HasTransplantedViews),null===n?e[Mi]=[t]:n.push(t)}function Ld(e,t){const n=e[Mi],r=n.indexOf(t);n.splice(r,1)}function ml(e,t){if(e.length<=Jn)return;const n=Jn+t,r=e[n];if(r){const i=r[ds];null!==i&&i!==e&&Ld(i,r),t>0&&(e[n-1][Rr]=r[Rr]);const s=vo(e,Jn+t);!function ew(e,t){Bg(e,t),t[cn]=null,t[br]=null}(r[Be],r);const a=s[Uo];null!==a&&a.detachView(s[Be]),r[gn]=null,r[Rr]=null,r[pt]&=-129}return r}function Lc(e,t){if(!(256&t[pt])){const n=t[Mt];n.destroyNode&&Vc(e,t,n,3,null,null),function nw(e){let t=e[us];if(!t)return jd(e[Be],e);for(;t;){let n=null;if(Dr(t))n=t[us];else{const r=t[Jn];r&&(n=r)}if(!n){for(;t&&!t[Rr]&&t!==e;)Dr(t)&&jd(t[Be],t),t=t[gn];null===t&&(t=e),Dr(t)&&jd(t[Be],t),n=t&&t[Rr]}t=n}}(t)}}function jd(e,t){if(256&t[pt])return;const n=H(null);try{t[pt]&=-129,t[pt]|=256,t[qi]&&function kt(e){if(je(e),Je(e))for(let t=0;t=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Qi]=null);const i=t[Ei];if(null!==i){t[Ei]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===bo.None||s===bo.Emulated)return null}return co(r,n)}}(e,t.parent,n)}function js(e,t,n,r,i){e.insertBefore(t,n,r,i)}function $g(e,t,n){e.appendChild(t,n)}function Hg(e,t,n,r,i){null!==r?js(e,t,n,r,i):$g(e,t,n)}function jc(e,t){return e.parentNode(t)}function zg(e,t,n){return Wg(e,t,n)}let Vd,Wg=function Gg(e,t,n){return 40&e.type?co(e,n):null};function Bc(e,t,n,r){const i=Bd(e,r,t),s=t[Mt],l=zg(r.parent||t[br],r,t);if(null!=i)if(Array.isArray(n))for(let f=0;fTt&&em(e,t,Tt,!1),Qr(a?2:0,i),n(r,i)}finally{Os(s),Qr(a?3:1,i)}}function zd(e,t,n){if(Qa(t)){const r=H(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;anull;function sm(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const a=t[s];if(void 0===a)continue;r??={};let l,f=qo.None;Array.isArray(a)?(l=a[0],f=a[1]):l=a;let b=s;if(null!==i){if(!i.hasOwnProperty(s))continue;b=i[s]}0===e?am(r,n,b,l,f):am(r,n,b,l)}return r}function am(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function To(e,t,n,r,i,s,a,l){const f=co(t,n);let T,b=t.inputs;!l&&null!=b&&(T=b[r])?(qd(e,n,T,r,i),hs(t)&&function _w(e,t){const n=Go(t,e);16&n[pt]||(n[pt]|=64)}(n,t.index)):3&t.type&&(r=function Dw(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,s.setProperty(f,r,i))}function Xd(e,t,n,r){if(qh()){const i=null===r?null:{"":-1},s=function Sw(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(n,r,s)}}(e,t,r,El(e,n,i.hostVars,Ht),i)}function Ri(e,t,n,r,i,s){const a=co(e,t);!function Yd(e,t,n,r,i,s,a){if(null==s)e.removeAttribute(t,i,n);else{const l=null==a?Xe(s):a(s,r||"",i);e.setAttribute(t,i,l,n)}}(t[Mt],a,s,e.value,n,r,i)}function kw(e,t,n,r,i,s){const a=s[t];if(null!==a)for(let l=0;l0&&(n[i-1][Rr]=t),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{sc(e.lView)},consumerOnSignalRead(){this.lView[qi]=this}},Hw=100;function zc(e,t=!0,n=0){const r=e[ri],i=r.rendererFactory;i.begin?.();try{!function zw(e,t){const n=rp();try{op(!0),tf(e,t);let r=0;for(;el(e);){if(r===Hw)throw new Ve(103,!1);r++,tf(e,1)}}finally{op(n)}}(e,n)}catch(a){throw t&&Hc(e,a),a}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function Gw(e,t,n,r){const i=t[pt];if(!(256&~i))return;t[ri].inlineEffectRunner?.flush(),Yu(t);let l=null,f=null;(function Ww(e){return 2!==e.type})(e)&&(f=function Bw(e){return e[qi]??function Vw(e){const t=ym.pop()??Object.create($w);return t.lView=e,t}(e)}(t),l=function Oe(e){return e&&(e.nextProducerIndex=0),H(e)}(f));try{Qh(t),function ip(e){return jt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&rm(e,t,n,2,r);const b=!(3&~i);if(b){const W=e.preOrderCheckHooks;null!==W&&dc(t,W,null)}else{const W=e.preOrderHooks;null!==W&&fc(t,W,0,null),qu(t,0)}if(function Kw(e){for(let t=Wp(e);null!==t;t=Kp(t)){if(!(t[pt]&ta.HasTransplantedViews))continue;const n=t[Mi];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(f,l),function Uw(e){e.lView[qi]!==e&&(e.lView=null,ym.push(e))}(f)),Zu()}}function Em(e,t){for(let n=Wp(e);null!==n;n=Kp(n))for(let r=Jn;r-1&&(ml(t,r),vo(n,r))}this._attachedToViewContainer=!1}Lc(this._lView[Be],this._lView)}onDestroy(t){ac(this._lView,t)}markForCheck(){Dl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[pt]&=-129}reattach(){$u(this._lView),this._lView[pt]|=128}detectChanges(){this._lView[pt]|=1024,zc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ve(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Fs(this._lView),n=this._lView[ds];null!==n&&!t&&Ld(n,this._lView),Bg(this._lView[Be],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ve(902,!1);this._appRef=t;const n=Fs(this._lView),r=this._lView[ds];null!==r&&!n&&Vg(r,this._lView),$u(this._lView)}}let wl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Zw}return e})();const Qw=wl,Yw=class extends Qw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=va(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _l(i)}};function Zw(){return Gc(In(),Fe())}function Gc(e,t){return 4&e.type?new Yw(t,e,aa(e,t)):null}let Um=()=>null;function Us(e,t){return Um(e,t)}class Da{}const Al=new At("",{providedIn:"root",factory:()=>!1}),$m=new At("");class jC{}class Hm{}class VC{resolveComponentFactory(t){throw function BC(e){const t=Error(`No component factory found for ${Yt(e)}.`);return t.ngComponent=e,t}(t)}}class Rl{static#e=this.NULL=new VC}class hf{}let UC=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function $C(){const e=Fe(),n=Go(In().index,e);return(Dr(n)?n:e)[Mt]}()}return e})(),HC=(()=>{class e{static#e=this.\u0275prov=Zt({token:e,providedIn:"root",factory:()=>null})}return e})();const pf={},Gm=new Set;function Ko(e){Gm.has(e)||(Gm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Wm(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),"function"==typeof Gt.requestAnimationFrame&&Gt.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function Km(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Xm(...e){}class zn{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ai(!1),this.onMicrotaskEmpty=new Ai(!1),this.onStable=new Ai(!1),this.onError=new Ai(!1),typeof Zone>"u")throw new Ve(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.callbackScheduled=!1,function WC(e){const t=()=>{!function GC(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Wm(()=>{e.callbackScheduled=!1,mf(e),e.isCheckStableRunning=!0,gf(e),e.isCheckStableRunning=!1})}),mf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,l)=>{if(function KC(e){return Zm(e,"__ignore_ng_zone__")}(l))return n.invokeTask(i,s,a,l);try{return Qm(e),n.invokeTask(i,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Ym(e)}},onInvoke:(n,r,i,s,a,l,f)=>{try{return Qm(e),n.invoke(i,s,a,l,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function XC(e){return Zm(e,"__scheduler_tick__")}(l)&&t(),Ym(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,mf(e),gf(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zn.isInAngularZone())throw new Ve(909,!1)}static assertNotInAngularZone(){if(zn.isInAngularZone())throw new Ve(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,zC,Xm,Xm);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const zC={};function gf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function mf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Qm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ym(e){e._nesting--,gf(e)}class yf{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ai,this.onMicrotaskEmpty=new Ai,this.onStable=new Ai,this.onError=new Ai}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Zm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}var $s=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}($s||{});const qm={destroy(){}};function Jm(e,t){!t&&E();const n=t?.injector??ht(Br);if(!function ai(e){return"browser"===(e??ht(Br)).get(hd)}(n))return qm;Ko("NgAfterNextRender");const r=n.get(Ol),i=r.handler??=new ty,s=t?.phase??$s.MixedReadWrite,a=()=>{i.unregister(f),l()},l=n.get(xs).onDestroy(a),f=p(n,()=>new ey(s,()=>{a(),e()}));return i.register(f),{destroy:a}}class ey{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=ht(zn),this.errorHandler=ht(Di,{optional:!0}),ht(Da,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class ty{constructor(){this.executingCallbacks=!1,this.buckets={[$s.EarlyRead]:new Set,[$s.Write]:new Set,[$s.MixedReadWrite]:new Set,[$s.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ol=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Zt({token:e,providedIn:"root",factory:()=>new e})}return e})();function gs(e){return!!He(e)}function Zc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a0&&Zg(e,n,s.join(" "))}}(ae,Ir,Se,r),void 0!==n&&function s1(e,t,n){const r=e.projection=[];for(let i=0;i{class e{static#e=this.__NG_ELEMENT_ID__=l1}return e})();function l1(){return ly(In(),Fe())}const c1=Jc,sy=class extends c1{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return aa(this._hostTNode,this._hostLView)}get injector(){return new wr(this._hostTNode,this._hostLView)}get parentInjector(){const t=gc(this._hostTNode,this._hostLView);if(ed(t)){const n=il(t,this._hostLView),r=ol(t);return new wr(n[Be].data[r+8],n)}return new wr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ay(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Jn}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=Us(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},s,a);return this.insertImpl(l,i,Bs(this._hostTNode,a)),l}createComponent(t,n,r,i,s){const a=t&&!function sn(e){return"function"==typeof e}(t);let l;if(a)l=n;else{const he=n||{};l=he.index,r=he.injector,i=he.projectableNodes,s=he.environmentInjector||he.ngModuleRef}const f=a?t:new Pl(K(t)),b=r||this.parentInjector;if(!s&&null==f.ngModule){const Se=(a?b:this.parentInjector).get(Lt,null);Se&&(s=Se)}const T=K(f.componentType??{}),P=Us(this._lContainer,T?.id??null),ae=f.create(b,i,P?.firstChild??null,s);return this.insertImpl(ae.hostView,l,Bs(this._hostTNode,P)),ae}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function j0(e){return _r(e[gn])}(i)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const f=i[gn],b=new sy(f,f[br],f[gn]);b.detach(b.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return Ea(a,i,s,r),t.attachToViewContainerRef(),ao(Df(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ay(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ml(this._lContainer,n);r&&(vo(Df(this._lContainer),n),Lc(r[Be],r))}detach(t){const n=this._adjustIndex(t,-1),r=ml(this._lContainer,n);return r&&null!=vo(Df(this._lContainer),n)?new _l(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ay(e){return e[8]}function Df(e){return e[8]||(e[8]=[])}function ly(e,t){let n;const r=t[e.index];return _r(r)?n=r:(n=um(r,t,null,e),t[e.index]=n,$c(t,n)),cy(n,t,e,r),new sy(n,e,t)}let cy=function dy(e,t,n,r){if(e[$o])return;let i;i=8&n.type?Dn(r):function u1(e,t){const n=e[Mt],r=n.createComment(""),i=co(t,e);return js(n,jc(n,i),r,function aw(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[$o]=i},_f=()=>!1;class wf{constructor(t){this.queryList=t,this.matches=null}clone(){return new wf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Cf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;st.trim())}(t):t}}class Tf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(a[l/2]);else{const b=s[l+1],T=t[-f];for(let P=Jn;P=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Wr(i.hostAttrs,n=Wr(n,i.hostAttrs))}}(r)}function N1(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function tu(e){return e===Gr?{}:e===nn?[]:e}function R1(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function O1(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function k1(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Py(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class Hs{}class Ly{}function V1(e,t){return new Rf(e,t??null,[])}class Rf extends Hs{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new oy(this);const i=He(t);this._bootstrapComponents=Wo(i.bootstrap),this._r3Injector=Rp(t,n,[{provide:Hs,useValue:this},{provide:Rl,useValue:this.componentFactoryResolver},...r],Yt(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Of extends Ly{constructor(t){super(),this.moduleType=t}create(t){return new Rf(this.moduleType,t,[])}}class jy extends Hs{constructor(t){super(),this.componentFactoryResolver=new oy(this),this.instance=null;const n=new Cn([...t.providers,{provide:Hs,useValue:this},{provide:Rl,useValue:this.componentFactoryResolver}],t.parent||Dt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function kf(e,t,n=null){return new jy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let zs=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new an.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ru(e){return!!xf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function xf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Oi(e,t,n){return e[t]=n}function dr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Gs(e,t,n,r){const i=dr(e,t,n);return dr(e,t+1,r)||i}function Bl(e,t,n,r,i,s,a,l,f,b){const T=n+Tt,P=t.firstCreatePass?function K1(e,t,n,r,i,s,a,l,f){const b=t.consts,T=ya(t,e,4,a||null,l||null);Xd(t,n,T,si(b,f)),uc(t,T);const P=T.tView=Kd(2,T,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,b,null);return null!==t.queries&&(t.queries.template(t,T),P.queries=t.queries.embeddedTView(T)),T}(T,t,e,r,i,s,a,l,f):t.data[T];Si(P,!1);const W=Vy(t,e,P,n);nl()&&Bc(t,e,W,P),Zr(W,e);const ae=um(W,e,W,P);return e[T]=ae,$c(e,ae),function uy(e,t,n){return _f(e,t,n)}(ae,P,e),Ya(P)&&Gd(t,e,P),null!=f&&Wd(e,P,b),P}function Pf(e,t,n,r,i,s,a,l){const f=Fe(),b=on();return Bl(f,b,e,t,n,r,i,si(b.consts,s),a,l),Pf}let Vy=function Uy(e,t,n,r){return Fi(!0),t[Mt].createComment("")};function Wf(e,t,n,r){const i=Fe();return dr(i,bi(),t)&&(on(),Ri(jn(),i,e,t,n,r)),Wf}function Aa(e,t,n,r){return dr(e,bi(),n)?t+Xe(n)+r:Ht}function Ra(e,t,n,r,i,s){const l=Gs(e,function Ji(){return jt.lFrame.bindingIndex}(),n,i);return es(2),l?t+Xe(n)+r+Xe(i)+s:Ht}function uu(e,t){return e<<17|t<<2}function vs(e){return e>>17&32767}function Kf(e){return 2|e}function Ks(e){return(131068&e)>>2}function Xf(e,t){return-131069&e|t<<2}function Qf(e){return 1|e}function vv(e,t,n,r){const i=e[n+1],s=null===t;let a=r?vs(i):Ks(i),l=!1;for(;0!==a&&(!1===l||s);){const b=e[a+1];OT(e[a],t)&&(l=!0,e[a+1]=r?Qf(b):Kf(b)),a=r?vs(b):Ks(b)}l&&(e[n+1]=r?Kf(i):Qf(i))}function OT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&xo(e,t)>=0}const Cr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ev(e){return e.substring(Cr.key,Cr.keyEnd)}function kT(e){return e.substring(Cr.value,Cr.valueEnd)}function bv(e,t){const n=Cr.textEnd;return n===t?-1:(t=Cr.keyEnd=function LT(e,t,n){for(;t32;)t++;return t}(e,Cr.key=t,n),Ba(e,t,n))}function Dv(e,t){const n=Cr.textEnd;let r=Cr.key=Ba(e,t,n);return n===r?-1:(r=Cr.keyEnd=function jT(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=wv(e,r,n),r=Cr.value=Ba(e,r,n),r=Cr.valueEnd=function BT(e,t,n){let r=-1,i=-1,s=-1,a=t,l=a;for(;a32&&(l=a),s=i,i=r,r=-33&f}return l}(e,r,n),wv(e,r,n))}function _v(e){Cr.key=0,Cr.keyEnd=0,Cr.value=0,Cr.valueEnd=0,Cr.textEnd=e.length}function Ba(e,t,n){for(;t=0;n=Dv(t,n))Sv(e,Ev(t),kT(t))}function Tv(e){Ci(WT,ki,e,!0)}function ki(e,t){for(let n=function xT(e){return _v(e),bv(e,Ba(e,0,Cr.textEnd))}(t);n>=0;n=bv(t,n))vr(e,Ev(t),!0)}function wi(e,t,n,r){const i=Fe(),s=on(),a=es(2);s.firstUpdatePass&&Mv(s,e,a,r),t!==Ht&&dr(i,a,t)&&Fv(s,s.data[Yr()],i,i[Mt],e,i[a+1]=function XT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Yt(ts(e)))),e}(t,n),r,a)}function Ci(e,t,n,r){const i=on(),s=es(2);i.firstUpdatePass&&Mv(i,null,s,r);const a=Fe();if(n!==Ht&&dr(a,s,n)){const l=i.data[Yr()];if(Av(l,r)&&!Iv(i,s)){let f=r?l.classesWithoutHost:l.stylesWithoutHost;null!==f&&(n=Qn(f,n||"")),Zf(i,l,a,n,r)}else!function KT(e,t,n,r,i,s,a,l){i===Ht&&(i=nn);let f=0,b=0,T=0=e.expandoStartIndex}function Mv(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Yr()],a=Iv(e,n);Av(s,r)&&null===t&&!a&&(t=!1),t=function UT(e,t,n,r){const i=function Xu(e){const t=jt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Hl(n=eh(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=eh(i,e,t,n,r),null===s){let f=function $T(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ks(r))return e[vs(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=eh(null,e,t,f[1],r),f=Hl(f,t.attrs,r),function HT(e,t,n,r){e[vs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else s=function zT(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(b=!0)):T=n,i)if(0!==f){const W=vs(e[l+1]);e[r+1]=uu(W,l),0!==W&&(e[W+1]=Xf(e[W+1],r)),e[l+1]=function FT(e,t){return 131071&e|t<<17}(e[l+1],r)}else e[r+1]=uu(l,0),0!==l&&(e[l+1]=Xf(e[l+1],r)),l=r;else e[r+1]=uu(f,0),0===l?l=r:e[f+1]=Xf(e[f+1],r),f=r;b&&(e[r+1]=Kf(e[r+1])),vv(e,T,r,!0),vv(e,T,r,!1),function RT(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&xo(s,t)>=0&&(n[r+1]=Qf(n[r+1]))}(t,T,e,r,s),a=uu(l,f),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}function eh(e,t,n,r,i){let s=null;const a=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l0;){const f=e[i],b=Array.isArray(f),T=b?f[1]:f,P=null===T;let W=n[i+1];W===Ht&&(W=P?nn:void 0);let ae=P?yi(W,r):T===r?W:void 0;if(b&&!du(ae)&&(ae=yi(f,r)),du(ae)&&(l=ae,a))return l;const he=e[i+1];i=a?vs(he):Ks(he)}if(null!==t){let f=s?t.residualClasses:t.residualStyles;null!=f&&(l=yi(f,r))}return l}function du(e){return void 0!==e}function Av(e,t){return!!(e.flags&(t?8:16))}function Rv(e,t,n){Ci(vr,ki,Aa(Fe(),e,t,n),!0)}function hu(e,t,n,r){const i=Fe(),s=on(),a=Tt+e,l=i[Mt],f=s.firstCreatePass?function mI(e,t,n,r,i,s){const a=t.consts,f=ya(t,e,2,r,si(a,i));return Xd(t,n,f,si(a,s)),null!==f.attrs&&Zc(f,f.attrs,!1),null!==f.mergedAttrs&&Zc(f,f.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,f),f}(a,s,i,t,n,r):s.data[a],b=Pv(s,i,f,l,t,e);i[a]=b;const T=Ya(f);return Si(f,!0),qg(l,b,f),!function wa(e){return!(32&~e.flags)}(f)&&nl()&&Bc(s,i,b,f),0===function V0(){return jt.lFrame.elementDepthCount}()&&Zr(b,i),function U0(){jt.lFrame.elementDepthCount++}(),T&&(Gd(s,i,f),zd(s,f,i)),null!==r&&Wd(i,f),hu}function pu(){let e=In();Gu()?Wu():(e=e.parent,Si(e,!1));const t=e;(function H0(e){return jt.skipHydrationRootTNode===e})(t)&&function K0(){jt.skipHydrationRootTNode=null}(),function $0(){jt.lFrame.elementDepthCount--}();const n=on();return n.firstCreatePass&&(uc(n,e),Qa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function lD(e){return!!(8&e.flags)}(t)&&Zf(n,t,Fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function cD(e){return!!(16&e.flags)}(t)&&Zf(n,t,Fe(),t.stylesWithoutHost,!1),pu}function oh(e,t,n,r){return hu(e,t,n,r),pu(),oh}let Pv=(e,t,n,r,i,s)=>(Fi(!0),Pc(r,i,function fp(){return jt.lFrame.currentNamespace}()));function gu(e,t,n){const r=Fe(),i=on(),s=e+Tt,a=i.firstCreatePass?function EI(e,t,n,r,i){const s=t.consts,a=si(s,r),l=ya(t,e,8,"ng-container",a);return null!==a&&Zc(l,a,!0),Xd(t,n,l,si(s,i)),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,r,t,n):i.data[s];Si(a,!0);const l=Lv(i,r,a,e);return r[s]=l,nl()&&Bc(i,r,l,a),Zr(l,r),Ya(a)&&(Gd(i,r,a),zd(i,a,r)),null!=n&&Wd(r,a),gu}function mu(){let e=In();const t=on();return Gu()?Wu():(e=e.parent,Si(e,!1)),t.firstCreatePass&&(uc(t,e),Qa(e)&&t.queries.elementEnd(e)),mu}function ih(e,t,n){return gu(e,t,n),mu(),ih}let Lv=(e,t,n,r)=>(Fi(!0),Pd(t[Mt],""));function jv(){return Fe()}const Xs=void 0;var wI=["en",[["a","p"],["AM","PM"],Xs],[["AM","PM"],Xs,Xs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Xs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Xs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Xs,"{1} 'at' {0}",Xs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function _I(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Va={};function sh(e){const t=function CI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=$v(t);if(n)return n;const r=t.split("-")[0];if(n=$v(r),n)return n;if("en"===r)return wI;throw new Ve(701,!1)}function Uv(e){return sh(e)[Ua.PluralCase]}function $v(e){return e in Va||(Va[e]=Gt.ng&&Gt.ng.common&&Gt.ng.common.locales&&Gt.ng.common.locales[e]),Va[e]}var Ua=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ua||{});const $a="en-US";let Hv=$a;let lE=(e,t,n)=>{};function ch(e,t,n,r){const i=Fe(),s=on(),a=In();return uh(s,i,i[Mt],a,e,t,r),ch}function uh(e,t,n,r,i,s,a){const l=Ya(r),b=e.firstCreatePass&&hm(e),T=t[rn],P=fm(t);let W=!0;if(3&r.type||a){const Se=co(r,t),Ue=a?a(Se):Se,Ye=P.length,Re=a?un=>a(Dn(un[r.index])):r.index;lE(Se,i,s);let Ot=null;if(!a&&l&&(Ot=function fM(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sf?l[f]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==Ot)(Ot.__ngLastListenerFn__||Ot).__ngNextListenerFn__=s,Ot.__ngLastListenerFn__=s,W=!1;else{s=fE(r,t,T,s);const un=n.listen(Ue,i,s);P.push(s,un),b&&b.push(i,Re,Ye,Ye+1)}}else s=fE(r,t,T,s);const ae=r.outputs;let he;if(W&&null!==ae&&(he=ae[i])){const Se=he.length;if(Se)for(let Ue=0;Ue-1?Go(e.index,t):t,5);let l=dE(t,n,r,s),f=i.__ngNextListenerFn__;for(;f;)l=dE(t,n,f,s)&&l,f=f.__ngNextListenerFn__;return l}}function hE(e=1){return function J0(e){return(jt.lFrame.contextLView=function Yh(e,t){for(;e>0;)t=t[Yi],e--;return t}(e,jt.lFrame.contextLView))[rn]}(e)}function hM(e,t){let n=null;const r=function Kr(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i(Fi(!0),function xd(e,t){return e.createText(t)}(t[Mt],r));function fh(e){return Du("",e,""),fh}function Du(e,t,n){const r=Fe(),i=Aa(r,e,t,n);return i!==Ht&&rs(r,Yr(),i),Du}function hh(e,t,n,r,i){const s=Fe(),a=Ra(s,e,t,n,r,i);return a!==Ht&&rs(s,Yr(),a),hh}function ph(e,t,n){Dy(t)&&(t=t());const r=Fe();return dr(r,bi(),t)&&To(on(),jn(),r,e,t,r[Mt],n,!1),ph}function KE(e,t){const n=Dy(e);return n&&e.set(t),n}function gh(e,t){const n=Fe(),r=on(),i=In();return uh(r,n,n[Mt],i,e,t),gh}function mh(e,t,n,r,i){if(e=ct(e),Array.isArray(e))for(let s=0;s>20;if(Fr(e)||!e.multi){const ae=new rl(b,i,ma),he=vh(f,t,i?T:T+W,P);-1===he?(rd(pc(l,a),s,f),yh(s,e,t.length),t.push(f),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(ae),a.push(ae)):(n[he]=ae,a[he]=ae)}else{const ae=vh(f,t,T+W,P),he=vh(f,t,T,T+W),Ue=he>=0&&n[he];if(i&&!Ue||!i&&!(ae>=0&&n[ae])){rd(pc(l,a),s,f);const Ye=function OM(e,t,n,r,i){const s=new rl(e,n,ma);return s.multi=[],s.index=t,s.componentProviders=0,XE(s,i,r&&!n),s}(i?RM:AM,n.length,i,r,b);!i&&Ue&&(n[he].providerFactory=Ye),yh(s,e,t.length,0),t.push(f),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(Ye),a.push(Ye)}else yh(s,e,ae>-1?ae:he,XE(n[i?he:ae],b,!i&&r));!i&&r&&Ue&&n[he].componentProviders++}}}function yh(e,t,n,r){const i=Fr(t),s=function Ki(e){return!!e.useClass}(t);if(i||s){const f=(s?ct(t.useClass):t).prototype.ngOnDestroy;if(f){const b=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const T=b.indexOf(n);-1===T?b.push(n,[r,f]):b[T+1].push(r,f)}else b.push(n,f)}}}function XE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vh(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function NM(e,t,n){const r=on();if(r.firstCreatePass){const i=oi(e);mh(n,r.data,r.blueprint,i,!0),mh(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let kM=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=rr(0,n.type),i=r.length>0?kf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Zt({token:e,providedIn:"environment",factory:()=>new e(Bn(Lt))})}return e})();function YE(e){Ko("NgStandalone"),e.getStandaloneInjector=t=>t.get(kM).getOrCreateStandaloneInjector(e)}function qE(e,t,n){const r=uo()+e,i=Fe();return i[r]===Ht?Oi(i,r,n?t.call(n):t()):function jl(e,t){return e[t]}(i,r)}function JE(e,t,n,r){return rb(Fe(),uo(),e,t,n,r)}function eb(e,t,n,r,i){return ob(Fe(),uo(),e,t,n,r,i)}function tb(e,t,n,r,i,s){return function ib(e,t,n,r,i,s,a,l){const f=t+n;return function ou(e,t,n,r,i){const s=Gs(e,t,n,r);return dr(e,t+2,i)||s}(e,f,i,s,a)?Oi(e,f+3,l?r.call(l,i,s,a):r(i,s,a)):Ql(e,f+3)}(Fe(),uo(),e,t,n,r,i,s)}function nb(e,t,n,r,i,s,a){return function sb(e,t,n,r,i,s,a,l,f){const b=t+n;return function li(e,t,n,r,i,s){const a=Gs(e,t,n,r);return Gs(e,t+2,i,s)||a}(e,b,i,s,a,l)?Oi(e,b+4,f?r.call(f,i,s,a,l):r(i,s,a,l)):Ql(e,b+4)}(Fe(),uo(),e,t,n,r,i,s,a)}function Ql(e,t){const n=e[t];return n===Ht?void 0:n}function rb(e,t,n,r,i,s){const a=t+n;return dr(e,a,i)?Oi(e,a+1,s?r.call(s,i):r(i)):Ql(e,a+1)}function ob(e,t,n,r,i,s,a){const l=t+n;return Gs(e,l,i,s)?Oi(e,l+2,a?r.call(a,i,s):r(i,s)):Ql(e,l+2)}function lb(e,t){const n=on();let r;const i=e+Tt;n.firstCreatePass?(r=function $M(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=yo(r.type)),l=cr(ma);try{const f=hc(!1),b=s();return hc(f),function vM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Fe(),i,b),b}finally{cr(l)}}function cb(e,t,n){const r=e+Tt,i=Fe(),s=ra(i,r);return Yl(i,r)?rb(i,uo(),t,s.transform,n,s):s.transform(n)}function ub(e,t,n,r){const i=e+Tt,s=Fe(),a=ra(s,i);return Yl(s,i)?ob(s,uo(),t,a.transform,n,r,a):a.transform(n,r)}function Yl(e,t){return e[Be].data[t].pure}function db(e,t){return Gc(e,t)}class Mb{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Sb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Ob=new At(""),kb=new At("");let Th,jS=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Th||(function BS(e){Th=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Bn(zn),Bn(xb),Bn(kb))};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac})}return e})(),xb=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Th?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ih(e){return!!e&&"function"==typeof e.then}function Pb(e){return!!e&&"function"==typeof e.subscribe}const Lb=new At("");let Mh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ht(Lb,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(Ih(s))n.push(s);else if(Pb(s)){const a=new Promise((l,f)=>{s.subscribe({complete:l,error:f})});n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Tu=new At("");function Vb(e,t){return Array.isArray(t)?t.reduce(Vb,e):{...e,...t}}let Ti=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ht(kp),this.afterRenderEffectManager=ht(Ol),this.zonelessEnabled=ht(Al),this.externalTestViews=new Set,this.beforeRender=new Ut.B,this.afterTick=new Ut.B,this.componentTypes=[],this.components=[],this.isStable=ht(zs).hasPendingTasks.pipe((0,tn.T)(n=>!n)),this._injector=ht(Lt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Hm;if(!this._injector.get(Mh).done)throw!i&&Qe(n),new Ve(405,!1);let a;a=i?n:this._injector.get(Rl).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function VS(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Hs),b=a.create(Br.NULL,[],r||a.selector,l),T=b.location.nativeElement,P=b.injector.get(Ob,null);return P?.registerApplication(T),b.onDestroy(()=>{this.detachView(b.hostView),Iu(this.components,b),P?.unregisterApplication(T)}),this._loadComponent(b),b}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new Ve(101,!1);const r=H(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,H(r),this.afterTick.next()}}detectChangesInAttachedViews(n){let r=null;this._injector.destroyed||(r=this._injector.get(hf,null,{optional:!0}));let i=0;const s=this.afterRenderEffectManager;for(;i<10;){const a=0===i;if(n||!a){this.beforeRender.next(a);for(let{_lView:l,notifyErrorHandler:f}of this._views)$S(l,f,a,this.zonelessEnabled)}else r?.begin?.(),r?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:l})=>el(l))&&(s.execute(),!this.allViews.some(({_lView:l})=>el(l))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Iu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Tu,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Iu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ve(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Iu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function $S(e,t,n,r){(n||el(e))&&zc(e,t,n&&!r?0:1)}class HS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let zS=(()=>{class e{compileModuleSync(n){return new Of(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Wo(He(n).declarations).reduce((a,l)=>{const f=K(l);return f&&a.push(new Pl(f)),a},[]);return new HS(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),KS=(()=>{class e{constructor(){this.zone=ht(zn),this.changeDetectionScheduler=ht(Da),this.applicationRef=ht(Ti)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sh({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new zn(Fh()),[{provide:zn,useFactory:e},{provide:xr,multi:!0,useFactory:()=>{const n=ht(KS,{optional:!0});return()=>n.initialize()}},{provide:xr,multi:!0,useFactory:()=>{const n=ht(QS);return()=>{n.initialize()}}},{provide:kp,useFactory:XS},!0===t?{provide:$m,useValue:!0}:[]]}function XS(){const e=ht(zn),t=ht(Di);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Fh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let QS=(()=>{class e{constructor(){this.subscription=new tt.yU,this.initialized=!1,this.zone=ht(zn),this.pendingTasks=ht(zs)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{zn.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{zn.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jl=(()=>{class e{constructor(){this.appRef=ht(Ti),this.taskService=ht(zs),this.ngZone=ht(zn),this.zonelessEnabled=ht(Al),this.disableScheduling=ht($m,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new tt.yU,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,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 yf||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Km:Wm;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&zn.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(r),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Km(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Su=new At("",{providedIn:"root",factory:()=>ht(Su,xt.Optional|xt.SkipSelf)||function YS(){return typeof $localize<"u"&&$localize.locale||$a}()}),ZS=new At("",{providedIn:"root",factory:()=>"USD"}),Ah=new At("");let Gb=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function QC(e="zone.js",t){return"noop"===e?new yf:"zone.js"===e?new zn(t):e}(r?.ngZone,Fh({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=r?.ignoreChangesOutsideZone,a=function U1(e,t,n){return new Rf(e,t,n)}(n.moduleType,this.injector,[...Sh({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:Da,useExisting:Jl}]),l=a.injector.get(Di,null);return i.runOutsideAngular(()=>{const f=i.onError.subscribe({next:b=>{l.handleError(b)}});a.onDestroy(()=>{Iu(this._modules,a),f.unsubscribe()})}),function Bb(e,t,n){try{const r=n();return Ih(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,i,()=>{const f=a.injector.get(Mh);return f.runInitializers(),f.donePromise.then(()=>(function zv(e){"string"==typeof e&&(Hv=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Su,$a)||$a),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const i=Vb({},r);return function WS(e,t,n){const r=new Of(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(Ti);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Ve(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ve(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ah,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(Bn(Br))};static#t=this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Es=null;const Wb=new At("");function Kb(e,t,n=[]){const r=`Platform: ${t}`,i=new At(r);return(s=[])=>{let a=Rh();if(!a||a.injector.get(Wb,!1)){const l=[...n,...s,{provide:i,useValue:!0}];e?e(l):function JS(e){if(Es&&!Es.get(Wb,!1))throw new Ve(400,!1);(function jb(){!function dn(e){_t=e}(()=>{throw new Ve(600,!1)})})(),Es=e;const t=e.get(Gb);(function Qb(e){e.get(ng,null)?.forEach(n=>n())})(e)}(function Xb(e=[],t){return Br.create({name:t,providers:[{provide:Xi,useValue:"platform"},{provide:Ah,useValue:new Set([()=>Es=null])},...e]})}(l,r))}return function eF(e){const t=Rh();if(!t)throw new Ve(401,!1);return t}()}}function Rh(){return Es?.get(Gb)??null}function nF(){return!1}function rF(){}let Zb=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=oF}return e})();function oF(e){return function iF(e,t,n){if(hs(e)&&!n){const r=Go(e.index,t);return new _l(r,r)}return 47&e.type?new _l(t[Hn],t):null}(In(),Fe(),!(16&~e))}class t0{constructor(){}supports(t){return ru(t)}create(t){return new uF(t)}}const cF=(e,t)=>t;class uF{constructor(t){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=t||cF}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(i,l),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,l,a,i)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,a,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new dF(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new n0),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new n0),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class dF{constructor(t,n){this.item=t,this.trackById=n,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}}class fF{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class n0{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new fF,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function r0(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new pF(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class pF{constructor(t){this.key=t,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 s0(){return new Lh([new t0])}let Lh=(()=>{class e{static#e=this.\u0275prov=Zt({token:e,providedIn:"root",factory:s0});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||s0()),deps:[[e,new Oo,new Ro]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Ve(901,!1)}}return e})();function a0(){return new jh([new o0])}let jh=(()=>{class e{static#e=this.\u0275prov=Zt({token:e,providedIn:"root",factory:a0});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||a0()),deps:[[e,new Oo,new Ro]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Ve(901,!1)}}return e})();const yF=Kb(null,"core",[]);let vF=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(Bn(Ti))};static#t=this.\u0275mod=_({type:e});static#n=this.\u0275inj=Jr({})}return e})();function qF(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function eN(e){const t=H(null);try{return e()}finally{H(t)}}function sN(e){const t=K(e);if(!t)return null;const n=new Pl(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},89079:(We,de,D)=>{D.d(de,{pQ:()=>o});var y=D(54438),h=D(71985),Z=D(56977);function o(le){le||((0,y.Af3)(o),le=(0,y.WQX)(y.abz));const Y=new h.c(B=>le.onDestroy(B.next.bind(B)));return B=>B.pipe((0,Z.Q)(Y))}},345:(We,de,D)=>{D.d(de,{B7:()=>$e,Bb:()=>tn,hE:()=>Ve,sG:()=>Vt,up:()=>Gt});var y=D(60177),h=D(54438);class Z extends y.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends Z{static makeCurrent(){(0,y.ZD)(new o)}onAndCancel(w,S,O){return w.addEventListener(S,O),()=>{w.removeEventListener(S,O)}}dispatchEvent(w,S){w.dispatchEvent(S)}remove(w){w.parentNode&&w.parentNode.removeChild(w)}createElement(w,S){return(S=S||this.getDefaultDocument()).createElement(w)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(w){return w.nodeType===Node.ELEMENT_NODE}isShadowRoot(w){return w instanceof DocumentFragment}getGlobalEventTarget(w,S){return"window"===S?window:"document"===S?w:"body"===S?w.body:null}getBaseHref(w){const S=function H(){return Q=Q||document.querySelector("base"),Q?Q.getAttribute("href"):null}();return null==S?null:function oe(ye){return new URL(ye,document.baseURI).pathname}(S)}resetBaseElement(){Q=null}getUserAgent(){return window.navigator.userAgent}getCookie(w){return(0,y._b)(document.cookie,w)}}let Q=null,ie=(()=>{class ye{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(O){return new(O||ye)};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();const le=new h.nKC("");let Y=(()=>{class ye{constructor(S,O){this._zone=O,this._eventNameToPlugin=new Map,S.forEach(z=>{z.manager=this}),this._plugins=S.slice().reverse()}addEventListener(S,O,z){return this._findPluginFor(O).addEventListener(S,O,z)}getZone(){return this._zone}_findPluginFor(S){let O=this._eventNameToPlugin.get(S);if(O)return O;if(O=this._plugins.find(me=>me.supports(S)),!O)throw new h.wOt(5101,!1);return this._eventNameToPlugin.set(S,O),O}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(le),h.KVO(h.SKi))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();class B{constructor(w){this._doc=w}}const ce="ng-app-id";let V=(()=>{class ye{constructor(S,O,z,me={}){this.doc=S,this.appId=O,this.nonce=z,this.platformId=me,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,y.Vy)(me),this.resetHostNodes()}addStyles(S){for(const O of S)1===this.changeUsageCount(O,1)&&this.onStyleAdded(O)}removeStyles(S){for(const O of S)this.changeUsageCount(O,-1)<=0&&this.onStyleRemoved(O)}ngOnDestroy(){const S=this.styleNodesInDOM;S&&(S.forEach(O=>O.remove()),S.clear());for(const O of this.getAllStyles())this.onStyleRemoved(O);this.resetHostNodes()}addHost(S){this.hostNodes.add(S);for(const O of this.getAllStyles())this.addStyleToHost(S,O)}removeHost(S){this.hostNodes.delete(S)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(S){for(const O of this.hostNodes)this.addStyleToHost(O,S)}onStyleRemoved(S){const O=this.styleRef;O.get(S)?.elements?.forEach(z=>z.remove()),O.delete(S)}collectServerRenderedStyles(){const S=this.doc.head?.querySelectorAll(`style[${ce}="${this.appId}"]`);if(S?.length){const O=new Map;return S.forEach(z=>{null!=z.textContent&&O.set(z.textContent,z)}),O}return null}changeUsageCount(S,O){const z=this.styleRef;if(z.has(S)){const me=z.get(S);return me.usage+=O,me.usage}return z.set(S,{usage:O,elements:[]}),O}getStyleElement(S,O){const z=this.styleNodesInDOM,me=z?.get(O);if(me?.parentNode===S)return z.delete(O),me.removeAttribute(ce),me;{const Ae=this.doc.createElement("style");return this.nonce&&Ae.setAttribute("nonce",this.nonce),Ae.textContent=O,this.platformIsServer&&Ae.setAttribute(ce,this.appId),S.appendChild(Ae),Ae}}addStyleToHost(S,O){const z=this.getStyleElement(S,O),me=this.styleRef,Ae=me.get(O)?.elements;Ae?Ae.push(z):me.set(O,{elements:[z],usage:1})}resetHostNodes(){const S=this.hostNodes;S.clear(),S.add(this.doc.head)}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ),h.KVO(h.sZ2),h.KVO(h.BIS,8),h.KVO(h.Agw))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();const ge={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"},_e=/%COMP%/g,Le=new h.nKC("",{providedIn:"root",factory:()=>!0});function je(ye,w){return w.map(S=>S.replace(_e,ye))}let $e=(()=>{class ye{constructor(S,O,z,me,Ae,xe,ze,nt=null){this.eventManager=S,this.sharedStylesHost=O,this.appId=z,this.removeStylesOnCompDestroy=me,this.doc=Ae,this.platformId=xe,this.ngZone=ze,this.nonce=nt,this.rendererByCompId=new Map,this.platformIsServer=(0,y.Vy)(xe),this.defaultRenderer=new et(S,Ae,ze,this.platformIsServer)}createRenderer(S,O){if(!S||!O)return this.defaultRenderer;this.platformIsServer&&O.encapsulation===h.gXe.ShadowDom&&(O={...O,encapsulation:h.gXe.Emulated});const z=this.getOrCreateRenderer(S,O);return z instanceof _t?z.applyToHost(S):z instanceof ot&&z.applyStyles(),z}getOrCreateRenderer(S,O){const z=this.rendererByCompId;let me=z.get(O.id);if(!me){const Ae=this.doc,xe=this.ngZone,ze=this.eventManager,nt=this.sharedStylesHost,ut=this.removeStylesOnCompDestroy,Nt=this.platformIsServer;switch(O.encapsulation){case h.gXe.Emulated:me=new _t(ze,nt,O,this.appId,ut,Ae,xe,Nt);break;case h.gXe.ShadowDom:return new Te(ze,nt,S,O,Ae,xe,this.nonce,Nt);default:me=new ot(ze,nt,O,ut,Ae,xe,Nt)}z.set(O.id,me)}return me}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(Y),h.KVO(V),h.KVO(h.sZ2),h.KVO(Le),h.KVO(y.qQ),h.KVO(h.Agw),h.KVO(h.SKi),h.KVO(h.BIS))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();class et{constructor(w,S,O,z){this.eventManager=w,this.doc=S,this.ngZone=O,this.platformIsServer=z,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(w,S){return S?this.doc.createElementNS(ge[S]||S,w):this.doc.createElement(w)}createComment(w){return this.doc.createComment(w)}createText(w){return this.doc.createTextNode(w)}appendChild(w,S){(Ne(w)?w.content:w).appendChild(S)}insertBefore(w,S,O){w&&(Ne(w)?w.content:w).insertBefore(S,O)}removeChild(w,S){w&&w.removeChild(S)}selectRootElement(w,S){let O="string"==typeof w?this.doc.querySelector(w):w;if(!O)throw new h.wOt(-5104,!1);return S||(O.textContent=""),O}parentNode(w){return w.parentNode}nextSibling(w){return w.nextSibling}setAttribute(w,S,O,z){if(z){S=z+":"+S;const me=ge[z];me?w.setAttributeNS(me,S,O):w.setAttribute(S,O)}else w.setAttribute(S,O)}removeAttribute(w,S,O){if(O){const z=ge[O];z?w.removeAttributeNS(z,S):w.removeAttribute(`${O}:${S}`)}else w.removeAttribute(S)}addClass(w,S){w.classList.add(S)}removeClass(w,S){w.classList.remove(S)}setStyle(w,S,O,z){z&(h.czy.DashCase|h.czy.Important)?w.style.setProperty(S,O,z&h.czy.Important?"important":""):w.style[S]=O}removeStyle(w,S,O){O&h.czy.DashCase?w.style.removeProperty(S):w.style[S]=""}setProperty(w,S,O){null!=w&&(w[S]=O)}setValue(w,S){w.nodeValue=S}listen(w,S,O){if("string"==typeof w&&!(w=(0,y.QT)().getGlobalEventTarget(this.doc,w)))throw new Error(`Unsupported event target ${w} for event ${S}`);return this.eventManager.addEventListener(w,S,this.decoratePreventDefault(O))}decoratePreventDefault(w){return S=>{if("__ngUnwrap__"===S)return w;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>w(S)):w(S))&&S.preventDefault()}}}function Ne(ye){return"TEMPLATE"===ye.tagName&&void 0!==ye.content}class Te extends et{constructor(w,S,O,z,me,Ae,xe,ze){super(w,me,Ae,ze),this.sharedStylesHost=S,this.hostEl=O,this.shadowRoot=O.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const nt=je(z.id,z.styles);for(const ut of nt){const Nt=document.createElement("style");xe&&Nt.setAttribute("nonce",xe),Nt.textContent=ut,this.shadowRoot.appendChild(Nt)}}nodeOrShadowRoot(w){return w===this.hostEl?this.shadowRoot:w}appendChild(w,S){return super.appendChild(this.nodeOrShadowRoot(w),S)}insertBefore(w,S,O){return super.insertBefore(this.nodeOrShadowRoot(w),S,O)}removeChild(w,S){return super.removeChild(this.nodeOrShadowRoot(w),S)}parentNode(w){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(w)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ot extends et{constructor(w,S,O,z,me,Ae,xe,ze){super(w,me,Ae,xe),this.sharedStylesHost=S,this.removeStylesOnCompDestroy=z,this.styles=ze?je(ze,O.styles):O.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class _t extends ot{constructor(w,S,O,z,me,Ae,xe,ze){const nt=z+"-"+O.id;super(w,S,O,me,Ae,xe,ze,nt),this.contentAttr=function ke(ye){return"_ngcontent-%COMP%".replace(_e,ye)}(nt),this.hostAttr=function Je(ye){return"_nghost-%COMP%".replace(_e,ye)}(nt)}applyToHost(w){this.applyStyles(),this.setAttribute(w,this.hostAttr,"")}createElement(w,S){const O=super.createElement(w,S);return super.setAttribute(O,this.contentAttr,""),O}}let Qt=(()=>{class ye extends B{constructor(S){super(S)}supports(S){return!0}addEventListener(S,O,z){return S.addEventListener(O,z,!1),()=>this.removeEventListener(S,O,z)}removeEventListener(S,O,z){return S.removeEventListener(O,z)}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();const dn=["alt","control","meta","shift"],Ce={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},U={alt:ye=>ye.altKey,control:ye=>ye.ctrlKey,meta:ye=>ye.metaKey,shift:ye=>ye.shiftKey};let x=(()=>{class ye extends B{constructor(S){super(S)}supports(S){return null!=ye.parseEventName(S)}addEventListener(S,O,z){const me=ye.parseEventName(O),Ae=ye.eventCallback(me.fullKey,z,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.QT)().onAndCancel(S,me.domEventName,Ae))}static parseEventName(S){const O=S.toLowerCase().split("."),z=O.shift();if(0===O.length||"keydown"!==z&&"keyup"!==z)return null;const me=ye._normalizeKey(O.pop());let Ae="",xe=O.indexOf("code");if(xe>-1&&(O.splice(xe,1),Ae="code."),dn.forEach(nt=>{const ut=O.indexOf(nt);ut>-1&&(O.splice(ut,1),Ae+=nt+".")}),Ae+=me,0!=O.length||0===me.length)return null;const ze={};return ze.domEventName=z,ze.fullKey=Ae,ze}static matchEventFullKeyCode(S,O){let z=Ce[S.key]||S.key,me="";return O.indexOf("code.")>-1&&(z=S.code,me="code."),!(null==z||!z)&&(z=z.toLowerCase()," "===z?z="space":"."===z&&(z="dot"),dn.forEach(Ae=>{Ae!==z&&(0,U[Ae])(S)&&(me+=Ae+".")}),me+=z,me===O)}static eventCallback(S,O,z){return me=>{ye.matchEventFullKeyCode(me,S)&&z.runGuarded(()=>O(me))}}static _normalizeKey(S){return"esc"===S?"escape":S}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac})}return ye})();const Vt=(0,h.oH4)(h.fpN,"browser",[{provide:h.Agw,useValue:y.AJ},{provide:h.PLl,useValue:function it(){o.makeCurrent()},multi:!0},{provide:y.qQ,useFactory:function Jt(){return(0,h.TL$)(document),document},deps:[]}]),Ut=new h.nKC(""),tt=[{provide:h.e01,useClass:class ue{addToWindow(w){h.JZv.getAngularTestability=(O,z=!0)=>{const me=w.findTestabilityInTree(O,z);if(null==me)throw new h.wOt(5103,!1);return me},h.JZv.getAllAngularTestabilities=()=>w.getAllTestabilities(),h.JZv.getAllAngularRootElements=()=>w.getAllRootElements(),h.JZv.frameworkStabilizers||(h.JZv.frameworkStabilizers=[]),h.JZv.frameworkStabilizers.push(O=>{const z=h.JZv.getAllAngularTestabilities();let me=z.length;const Ae=function(){me--,0==me&&O()};z.forEach(xe=>{xe.whenStable(Ae)})})}findTestabilityInTree(w,S,O){return null==S?null:w.getTestability(S)??(O?(0,y.QT)().isShadowRoot(S)?this.findTestabilityInTree(w,S.host,!0):this.findTestabilityInTree(w,S.parentElement,!0):null)}},deps:[]},{provide:h.WHO,useClass:h.NYb,deps:[h.SKi,h.giA,h.e01]},{provide:h.NYb,useClass:h.NYb,deps:[h.SKi,h.giA,h.e01]}],an=[{provide:h.H8p,useValue:"root"},{provide:h.zcH,useFactory:function mt(){return new h.zcH},deps:[]},{provide:le,useClass:Qt,multi:!0,deps:[y.qQ,h.SKi,h.Agw]},{provide:le,useClass:x,multi:!0,deps:[y.qQ]},$e,V,Y,{provide:h._9s,useExisting:$e},{provide:y.N0,useClass:ie,deps:[]},[]];let tn=(()=>{class ye{constructor(S){}static withServerTransition(S){return{ngModule:ye,providers:[{provide:h.sZ2,useValue:S.appId}]}}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(Ut,12))};static#t=this.\u0275mod=h.$C({type:ye});static#n=this.\u0275inj=h.G2t({providers:[...an,...tt],imports:[y.MD,h.Hbi]})}return ye})(),Ve=(()=>{class ye{constructor(S){this._doc=S}getTitle(){return this._doc.title}setTitle(S){this._doc.title=S||""}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),Gt=(()=>{class ye{static#e=this.\u0275fac=function(O){return new(O||ye)};static#t=this.\u0275prov=h.jDH({token:ye,factory:function(O){let z=null;return z=O?new(O||ye):h.KVO(bt),z},providedIn:"root"})}return ye})(),bt=(()=>{class ye extends Gt{constructor(S){super(),this._doc=S}sanitize(S,O){if(null==O)return null;switch(S){case h.WPN.NONE:return O;case h.WPN.HTML:return(0,h.ZF7)(O,"HTML")?(0,h.rcV)(O):(0,h.h9k)(this._doc,String(O)).toString();case h.WPN.STYLE:return(0,h.ZF7)(O,"Style")?(0,h.rcV)(O):O;case h.WPN.SCRIPT:if((0,h.ZF7)(O,"Script"))return(0,h.rcV)(O);throw new h.wOt(5200,!1);case h.WPN.URL:return(0,h.ZF7)(O,"URL")?(0,h.rcV)(O):(0,h.$MX)(String(O));case h.WPN.RESOURCE_URL:if((0,h.ZF7)(O,"ResourceURL"))return(0,h.rcV)(O);throw new h.wOt(5201,!1);default:throw new h.wOt(5202,!1)}}bypassSecurityTrustHtml(S){return(0,h.Kcf)(S)}bypassSecurityTrustStyle(S){return(0,h.cWb)(S)}bypassSecurityTrustScript(S){return(0,h.UyX)(S)}bypassSecurityTrustUrl(S){return(0,h.osQ)(S)}bypassSecurityTrustResourceUrl(S){return(0,h.e5t)(S)}static#e=this.\u0275fac=function(O){return new(O||ye)(h.KVO(y.qQ))};static#t=this.\u0275prov=h.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})()},8681:(We,de,D)=>{D.d(de,{nX:()=>No,wF:()=>se,Ix:()=>rn,Wk:()=>Mt,wQ:()=>us,iI:()=>ju,n3:()=>Bi,Sd:()=>Qn});var y=D(10467),h=D(54438),Z=D(74402),o=D(22806),Q=D(7673),H=D(84412),oe=D(84572);const ie=(0,D(81853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var le=D(28793),Y=D(71985),B=D(58750);function ce(c){return new Y.c(m=>{(0,B.Tg)(c()).subscribe(m)})}var V=D(71203),ge=D(98071);function _e(c,m){const u=(0,ge.T)(c)?c:()=>c,v=C=>C.error(u());return new Y.c(m?C=>m.schedule(v,0,C):v)}var Oe=D(983),rt=D(18359),gt=D(39974),kt=D(54360);function Le(){return(0,gt.N)((c,m)=>{let u=null;c._refCount++;const v=(0,kt._)(m,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(u=null);const C=c._connection,k=u;u=null,C&&(!k||C===k)&&C.unsubscribe(),m.unsubscribe()});c.subscribe(v),v.closed||(u=c.connect())})}class ke extends Y.c{constructor(m,u){super(),this.source=m,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,gt.S)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new rt.yU;const u=this.getSubject();m.add(this.source.subscribe((0,kt._)(u,void 0,()=>{this._teardown(),u.complete()},v=>{this._teardown(),u.error(v)},()=>this._teardown()))),m.closed&&(this._connection=null,m=rt.yU.EMPTY)}return m}refCount(){return Le()(this)}}var Je=D(21413),je=D(60177),$e=D(96354),et=D(25558),st=D(96697),zt=D(9326),Te=D(5964),ot=D(31397);function _t(c){return(0,gt.N)((m,u)=>{let v=!1;m.subscribe((0,kt._)(u,C=>{v=!0,u.next(C)},()=>{v||u.next(c),u.complete()}))})}function Qt(c=dn){return(0,gt.N)((m,u)=>{let v=!1;m.subscribe((0,kt._)(u,C=>{v=!0,u.next(C)},()=>v?u.complete():u.error(c())))})}function dn(){return new ie}var Ce=D(33669);function U(c,m){const u=arguments.length>=2;return v=>v.pipe(c?(0,Te.p)((C,k)=>c(C,k,v)):Ce.D,(0,st.s)(1),u?_t(m):Qt(()=>new ie))}var x=D(70274),$=D(88141);function re(c){return(0,gt.N)((m,u)=>{let k,v=null,C=!1;v=m.subscribe((0,kt._)(u,void 0,void 0,G=>{k=(0,B.Tg)(c(G,re(c)(m))),v?(v.unsubscribe(),v=null,k.subscribe(u)):C=!0})),C&&(v.unsubscribe(),v=null,k.subscribe(u))})}var Me=D(31943);function we(c){return c<=0?()=>Oe.w:(0,gt.N)((m,u)=>{let v=[];m.subscribe((0,kt._)(u,C=>{v.push(C),c{for(const C of v)u.next(C);u.complete()},void 0,()=>{v=null}))})}var mt=D(73703),Jt=D(70980),dt=D(56977),Vt=D(26365),Ut=D(345);const tt="primary",an=Symbol("RouteTitle");class tn{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const u=this.params[m];return Array.isArray(u)?u[0]:u}return null}getAll(m){if(this.has(m)){const u=this.params[m];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function En(c){return new tn(c)}function en(c,m,u){const v=u.path.split("/");if(v.length>c.length||"full"===u.pathMatch&&(m.hasChildren()||v.lengthv[k]===C)}return c===m}function Vr(c){return c.length>0?c[c.length-1]:null}function xn(c){return(0,Z.A)(c)?c:(0,h.jNT)(c)?(0,o.H)(Promise.resolve(c)):(0,Q.of)(c)}const pr={exact:function sr(c,m,u){if(!Fn(c.segments,m.segments)||!Rn(c.segments,m.segments,u)||c.numberOfChildren!==m.numberOfChildren)return!1;for(const v in m.children)if(!c.children[v]||!sr(c.children[v],m.children[v],u))return!1;return!0},subset:Mn},bn={exact:function Bt(c,m){return ln(c,m)},subset:function er(c,m){return Object.keys(m).length<=Object.keys(c).length&&Object.keys(m).every(u=>Kn(c[u],m[u]))},ignored:()=>!0};function Ft(c,m,u){return pr[u.paths](c.root,m.root,u.matrixParams)&&bn[u.queryParams](c.queryParams,m.queryParams)&&!("exact"===u.fragment&&c.fragment!==m.fragment)}function Mn(c,m,u){return Xn(c,m,m.segments,u)}function Xn(c,m,u,v){if(c.segments.length>u.length){const C=c.segments.slice(0,u.length);return!(!Fn(C,u)||m.hasChildren()||!Rn(C,u,v))}if(c.segments.length===u.length){if(!Fn(c.segments,u)||!Rn(c.segments,u,v))return!1;for(const C in m.children)if(!c.children[C]||!Mn(c.children[C],m.children[C],v))return!1;return!0}{const C=u.slice(0,c.segments.length),k=u.slice(c.segments.length);return!!(Fn(c.segments,C)&&Rn(c.segments,C,v)&&c.children[tt])&&Xn(c.children[tt],m,k,v)}}function Rn(c,m,u){return m.every((v,C)=>bn[u](c[C].parameters,v.parameters))}class Gt{constructor(m=new bt([],{}),u={},v=null){this.root=m,this.queryParams=u,this.fragment=v}get queryParamMap(){return this._queryParamMap??=En(this.queryParams),this._queryParamMap}toString(){return nr.serialize(this)}}class bt{constructor(m,u){this.segments=m,this.children=u,this.parent=null,Object.values(u).forEach(v=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yn(this)}}class Sn{constructor(m,u){this.path=m,this.parameters=u}get parameterMap(){return this._parameterMap??=En(this.parameters),this._parameterMap}toString(){return Ae(this)}}function Fn(c,m){return c.length===m.length&&c.every((u,v)=>u.path===m[v].path)}let Qn=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>new tr,providedIn:"root"})}return c})();class tr{parse(m){const u=new qr(m);return new Gt(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(m){const u=`/${ct(m.root,!0)}`,v=function ze(c){const m=Object.entries(c).map(([u,v])=>Array.isArray(v)?v.map(C=>`${w(u)}=${w(C)}`).join("&"):`${w(u)}=${w(v)}`).filter(u=>u);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${u}${v}${"string"==typeof m.fragment?`#${function S(c){return encodeURI(c)}(m.fragment)}`:""}`}}const nr=new tr;function Yn(c){return c.segments.map(m=>Ae(m)).join("/")}function ct(c,m){if(!c.hasChildren())return Yn(c);if(m){const u=c.children[tt]?ct(c.children[tt],!1):"",v=[];return Object.entries(c.children).forEach(([C,k])=>{C!==tt&&v.push(`${C}:${ct(k,!1)}`)}),v.length>0?`${u}(${v.join("//")})`:u}{const u=function Yt(c,m){let u=[];return Object.entries(c.children).forEach(([v,C])=>{v===tt&&(u=u.concat(m(C,v)))}),Object.entries(c.children).forEach(([v,C])=>{v!==tt&&(u=u.concat(m(C,v)))}),u}(c,(v,C)=>C===tt?[ct(c.children[tt],!1)]:[`${C}:${ct(v,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[tt]?`${Yn(c)}/${u[0]}`:`${Yn(c)}/(${u.join("//")})`}}function ye(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function w(c){return ye(c).replace(/%3B/gi,";")}function O(c){return ye(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function z(c){return decodeURIComponent(c)}function me(c){return z(c.replace(/\+/g,"%20"))}function Ae(c){return`${O(c.path)}${function xe(c){return Object.entries(c).map(([m,u])=>`;${O(m)}=${O(u)}`).join("")}(c.parameters)}`}const nt=/^[^\/()?;#]+/;function ut(c){const m=c.match(nt);return m?m[0]:""}const Nt=/^[^\/()?;=#]+/,ar=/^[^=?&#]+/,Ze=/^[^&#]+/;class qr{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(m.length>0||Object.keys(u).length>0)&&(v[tt]=new bt(m,u)),v}parseSegment(){const m=ut(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new h.wOt(4009,!1);return this.capture(m),new Sn(z(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const u=function mn(c){const m=c.match(Nt);return m?m[0]:""}(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const C=ut(this.remaining);C&&(v=C,this.capture(v))}m[z(u)]=z(v)}parseQueryParam(m){const u=function Kt(c){const m=c.match(ar);return m?m[0]:""}(this.remaining);if(!u)return;this.capture(u);let v="";if(this.consumeOptional("=")){const G=function mr(c){const m=c.match(Ze);return m?m[0]:""}(this.remaining);G&&(v=G,this.capture(v))}const C=me(u),k=me(v);if(m.hasOwnProperty(C)){let G=m[C];Array.isArray(G)||(G=[G],m[C]=G),G.push(k)}else m[C]=k}parseParens(m){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=ut(this.remaining),C=this.remaining[v.length];if("/"!==C&&")"!==C&&";"!==C)throw new h.wOt(4010,!1);let k;v.indexOf(":")>-1?(k=v.slice(0,v.indexOf(":")),this.capture(k),this.capture(":")):m&&(k=tt);const G=this.parseChildren();u[k]=1===Object.keys(G).length?G[tt]:new bt([],G),this.consumeOptional("//")}return u}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new h.wOt(4011,!1)}}function Zn(c){return c.segments.length>0?new bt([],{[tt]:c}):c}function ho(c){const m={};for(const[v,C]of Object.entries(c.children)){const k=ho(C);if(v===tt&&0===k.segments.length&&k.hasChildren())for(const[G,Ee]of Object.entries(k.children))m[G]=Ee;else(k.segments.length>0||k.hasChildren())&&(m[v]=k)}return function ci(c){if(1===c.numberOfChildren&&c.children[tt]){const m=c.children[tt];return new bt(c.segments.concat(m.segments),m.children)}return c}(new bt(c.segments,m))}function Zt(c){return c instanceof Gt}function Jr(c){let m;const C=Zn(function u(k){const G={};for(const pe of k.children){const qe=u(pe);G[pe.outlet]=qe}const Ee=new bt(k.url,G);return k===c&&(m=Ee),Ee}(c.root));return m??C}function Or(c,m,u,v){let C=c;for(;C.parent;)C=C.parent;if(0===m.length)return eo(C,C,C,u,v);const k=function to(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new yr(!0,0,c);let m=0,u=!1;const v=c.reduce((C,k,G)=>{if("object"==typeof k&&null!=k){if(k.outlets){const Ee={};return Object.entries(k.outlets).forEach(([pe,qe])=>{Ee[pe]="string"==typeof qe?qe.split("/"):qe}),[...C,{outlets:Ee}]}if(k.segmentPath)return[...C,k.segmentPath]}return"string"!=typeof k?[...C,k]:0===G?(k.split("/").forEach((Ee,pe)=>{0==pe&&"."===Ee||(0==pe&&""===Ee?u=!0:".."===Ee?m++:""!=Ee&&C.push(Ee))}),C):[...C,k]},[]);return new yr(u,m,v)}(m);if(k.toRoot())return eo(C,C,new bt([],{}),u,v);const G=function po(c,m,u){if(c.isAbsolute)return new no(m,!0,0);if(!u)return new no(m,!1,NaN);if(null===u.parent)return new no(u,!0,0);const v=kr(c.commands[0])?0:1;return function At(c,m,u){let v=c,C=m,k=u;for(;k>C;){if(k-=C,v=v.parent,!v)throw new h.wOt(4005,!1);C=v.segments.length}return new no(v,!1,C-k)}(u,u.segments.length-1+v,c.numberOfDoubleDots)}(k,C,c),Ee=G.processChildren?L(G.segmentGroup,G.index,k.commands):ro(G.segmentGroup,G.index,k.commands);return eo(C,G.segmentGroup,Ee,u,v)}function kr(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function lr(c){return"object"==typeof c&&null!=c&&c.outlets}function eo(c,m,u,v,C){let G,k={};v&&Object.entries(v).forEach(([pe,qe])=>{k[pe]=Array.isArray(qe)?qe.map(Rt=>`${Rt}`):`${qe}`}),G=c===m?u:Ur(c,m,u);const Ee=Zn(ho(G));return new Gt(Ee,k,C)}function Ur(c,m,u){const v={};return Object.entries(c.children).forEach(([C,k])=>{v[C]=k===m?u:Ur(k,m,u)}),new bt(c.segments,v)}class yr{constructor(m,u,v){if(this.isAbsolute=m,this.numberOfDoubleDots=u,this.commands=v,m&&v.length>0&&kr(v[0]))throw new h.wOt(4003,!1);const C=v.find(lr);if(C&&C!==Vr(v))throw new h.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class no{constructor(m,u,v){this.segmentGroup=m,this.processChildren=u,this.index=v}}function ro(c,m,u){if(c??=new bt([],{}),0===c.segments.length&&c.hasChildren())return L(c,m,u);const v=function J(c,m,u){let v=0,C=m;const k={match:!1,pathIndex:0,commandIndex:0};for(;C=u.length)return k;const G=c.segments[C],Ee=u[v];if(lr(Ee))break;const pe=`${Ee}`,qe=v0&&void 0===pe)break;if(pe&&qe&&"object"==typeof qe&&void 0===qe.outlets){if(!Ge(pe,qe,G))return k;v+=2}else{if(!Ge(pe,{},G))return k;v++}C++}return{match:!0,pathIndex:C,commandIndex:v}}(c,m,u),C=u.slice(v.commandIndex);if(v.match&&v.pathIndexk!==tt)&&c.children[tt]&&1===c.numberOfChildren&&0===c.children[tt].segments.length){const k=L(c.children[tt],m,u);return new bt(c.segments,k.children)}return Object.entries(v).forEach(([k,G])=>{"string"==typeof G&&(G=[G]),null!==G&&(C[k]=ro(c.children[k],m,G))}),Object.entries(c.children).forEach(([k,G])=>{void 0===v[k]&&(C[k]=G)}),new bt(c.segments,C)}}function ee(c,m,u){const v=c.segments.slice(0,m);let C=0;for(;C{"string"==typeof v&&(v=[v]),null!==v&&(m[u]=ee(new bt([],{}),0,v))}),m}function Pe(c){const m={};return Object.entries(c).forEach(([u,v])=>m[u]=`${v}`),m}function Ge(c,m,u){return c==u.path&&ln(m,u.parameters)}const M="imperative";var q=function(c){return c[c.NavigationStart=0]="NavigationStart",c[c.NavigationEnd=1]="NavigationEnd",c[c.NavigationCancel=2]="NavigationCancel",c[c.NavigationError=3]="NavigationError",c[c.RoutesRecognized=4]="RoutesRecognized",c[c.ResolveStart=5]="ResolveStart",c[c.ResolveEnd=6]="ResolveEnd",c[c.GuardsCheckStart=7]="GuardsCheckStart",c[c.GuardsCheckEnd=8]="GuardsCheckEnd",c[c.RouteConfigLoadStart=9]="RouteConfigLoadStart",c[c.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",c[c.ChildActivationStart=11]="ChildActivationStart",c[c.ChildActivationEnd=12]="ChildActivationEnd",c[c.ActivationStart=13]="ActivationStart",c[c.ActivationEnd=14]="ActivationEnd",c[c.Scroll=15]="Scroll",c[c.NavigationSkipped=16]="NavigationSkipped",c}(q||{});class A{constructor(m,u){this.id=m,this.url=u}}class te extends A{constructor(m,u,v="imperative",C=null){super(m,u),this.type=q.NavigationStart,this.navigationTrigger=v,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class se extends A{constructor(m,u,v){super(m,u),this.urlAfterRedirects=v,this.type=q.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ke=function(c){return c[c.Redirect=0]="Redirect",c[c.SupersededByNewNavigation=1]="SupersededByNewNavigation",c[c.NoDataFromResolver=2]="NoDataFromResolver",c[c.GuardRejected=3]="GuardRejected",c}(Ke||{}),Ct=function(c){return c[c.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",c[c.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",c}(Ct||{});class vt extends A{constructor(m,u,v,C){super(m,u),this.reason=v,this.code=C,this.type=q.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class qt extends A{constructor(m,u,v,C){super(m,u),this.reason=v,this.code=C,this.type=q.NavigationSkipped}}class wt extends A{constructor(m,u,v,C){super(m,u),this.error=v,this.target=C,this.type=q.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xe extends A{constructor(m,u,v,C){super(m,u),this.urlAfterRedirects=v,this.state=C,this.type=q.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class It extends A{constructor(m,u,v,C){super(m,u),this.urlAfterRedirects=v,this.state=C,this.type=q.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hr extends A{constructor(m,u,v,C,k){super(m,u),this.urlAfterRedirects=v,this.state=C,this.shouldActivate=k,this.type=q.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yn extends A{constructor(m,u,v,C){super(m,u),this.urlAfterRedirects=v,this.state=C,this.type=q.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pn extends A{constructor(m,u,v,C){super(m,u),this.urlAfterRedirects=v,this.state=C,this.type=q.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class di{constructor(m){this.route=m,this.type=q.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oo{constructor(m){this.route=m,this.type=q.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class go{constructor(m){this.snapshot=m,this.type=q.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xt{constructor(m){this.snapshot=m,this.type=q.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(m){this.snapshot=m,this.type=q.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bs{constructor(m){this.snapshot=m,this.type=q.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cr{constructor(m,u,v){this.routerEvent=m,this.position=u,this.anchor=v,this.type=q.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class hi{}class xi{constructor(m,u){this.url=m,this.navigationBehaviorOptions=u}}class pi{constructor(m){this.injector=m,this.outlet=null,this.route=null,this.children=new So(this.injector),this.attachRef=null}}let So=(()=>{class c{constructor(u){this.parentInjector=u,this.contexts=new Map}onChildOutletCreated(u,v){const C=this.getOrCreateContext(u);C.outlet=v,this.contexts.set(u,C)}onChildOutletDestroyed(u){const v=this.getContext(u);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let v=this.getContext(u);return v||(v=new pi(this.parentInjector),this.contexts.set(u,v)),v}getContext(u){return this.contexts.get(u)||null}static#e=this.\u0275fac=function(v){return new(v||c)(h.KVO(h.uvJ))};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class Fo{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const u=this.pathFromRoot(m);return u.length>1?u[u.length-2]:null}children(m){const u=Pi(m,this._root);return u?u.children.map(v=>v.value):[]}firstChild(m){const u=Pi(m,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(m){const u=Li(m,this._root);return u.length<2?[]:u[u.length-2].children.map(C=>C.value).filter(C=>C!==m)}pathFromRoot(m){return Li(m,this._root).map(u=>u.value)}}function Pi(c,m){if(c===m.value)return m;for(const u of m.children){const v=Pi(c,u);if(v)return v}return null}function Li(c,m){if(c===m.value)return[m];for(const u of m.children){const v=Li(c,u);if(v.length)return v.unshift(m),v}return[]}class Mr{constructor(m,u){this.value=m,this.children=u}toString(){return`TreeNode(${this.value})`}}function mo(c){const m={};return c&&c.children.forEach(u=>m[u.value.outlet]=u),m}class io extends Fo{constructor(m,u){super(m),this.snapshot=u,Gn(this,m)}toString(){return this.snapshot.toString()}}function os(c){const m=function so(c){const k=new Qo([],{},{},"",{},tt,c,null,{});return new ht("",new Mr(k,[]))}(c),u=new H.t([new Sn("",{})]),v=new H.t({}),C=new H.t({}),k=new H.t({}),G=new H.t(""),Ee=new No(u,v,k,G,C,tt,c,m.root);return Ee.snapshot=m.root,new io(new Mr(Ee,[]),m)}class No{constructor(m,u,v,C,k,G,Ee,pe){this.urlSubject=m,this.paramsSubject=u,this.queryParamsSubject=v,this.fragmentSubject=C,this.dataSubject=k,this.outlet=G,this.component=Ee,this._futureSnapshot=pe,this.title=this.dataSubject?.pipe((0,$e.T)(qe=>qe[an]))??(0,Q.of)(void 0),this.url=m,this.params=u,this.queryParams=v,this.fragment=C,this.data=k}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,$e.T)(m=>En(m))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,$e.T)(m=>En(m))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Bn(c,m,u="emptyOnly"){let v;const{routeConfig:C}=c;return v=null===m||"always"!==u&&""!==C?.path&&(m.component||m.routeConfig?.loadComponent)?{params:{...c.params},data:{...c.data},resolve:{...c.data,...c._resolvedData??{}}}:{params:{...m.params,...c.params},data:{...m.data,...c.data},resolve:{...c.data,...m.data,...C?.data,...c._resolvedData}},C&&ji(C)&&(v.resolve[an]=C.title),v}class Qo{get title(){return this.data?.[an]}constructor(m,u,v,C,k,G,Ee,pe,qe){this.url=m,this.params=u,this.queryParams=v,this.fragment=C,this.data=k,this.outlet=G,this.component=Ee,this.routeConfig=pe,this._resolve=qe}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=En(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=En(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ht extends Fo{constructor(m,u){super(u),this.url=m,Gn(this,u)}toString(){return Ao(this._root)}}function Gn(c,m){m.value._routerState=c,m.children.forEach(u=>Gn(c,u))}function Ao(c){const m=c.children.length>0?` { ${c.children.map(Ao).join(", ")} } `:"";return`${c.value}${m}`}function zr(c){if(c.snapshot){const m=c.snapshot,u=c._futureSnapshot;c.snapshot=u,ln(m.queryParams,u.queryParams)||c.queryParamsSubject.next(u.queryParams),m.fragment!==u.fragment&&c.fragmentSubject.next(u.fragment),ln(m.params,u.params)||c.paramsSubject.next(u.params),function Ve(c,m){if(c.length!==m.length)return!1;for(let u=0;uln(u.parameters,m[v].parameters))}(c.url,m.url);return u&&!(!c.parent!=!m.parent)&&(!c.parent||gi(c.parent,m.parent))}function ji(c){return"string"==typeof c.title||null===c.title}let Bi=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=tt,this.activateEvents=new h.bkB,this.deactivateEvents=new h.bkB,this.attachEvents=new h.bkB,this.detachEvents=new h.bkB,this.parentContexts=(0,h.WQX)(So),this.location=(0,h.WQX)(h.c1b),this.changeDetector=(0,h.WQX)(h.gRc),this.inputBinder=(0,h.WQX)(Ro,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(u){if(u.name){const{firstChange:v,previousValue:C}=u.name;if(v)return;this.isTrackedInParentContexts(C)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(C)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(u){return this.parentContexts.getContext(u)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const u=this.parentContexts.getContext(this.name);u?.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new h.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new h.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new h.wOt(4012,!1);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,v){this.activated=u,this._activatedRoute=v,this.location.insert(u.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,v){if(this.isActivated)throw new h.wOt(4013,!1);this._activatedRoute=u;const C=this.location,G=u.snapshot.component,Ee=this.parentContexts.getOrCreateContext(this.name).children,pe=new Yo(u,Ee,C.injector);this.activated=C.createComponent(G,{index:C.length,injector:pe,environmentInjector:v}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275dir=h.FsC({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[h.OA$]})}return c})();class Yo{__ngOutletInjector(m){return new Yo(this.route,this.childContexts,m)}constructor(m,u,v){this.route=m,this.childContexts=u,this.parent=v}get(m,u){return m===No?this.route:m===So?this.childContexts:this.parent.get(m,u)}}const Ro=new h.nKC("");let Ds=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(u){this.unsubscribeFromRouteData(u),this.subscribeToRouteData(u)}unsubscribeFromRouteData(u){this.outletDataSubscriptions.get(u)?.unsubscribe(),this.outletDataSubscriptions.delete(u)}subscribeToRouteData(u){const{activatedRoute:v}=u,C=(0,oe.z)([v.queryParams,v.params,v.data]).pipe((0,et.n)(([k,G,Ee],pe)=>(Ee={...k,...G,...Ee},0===pe?(0,Q.of)(Ee):Promise.resolve(Ee)))).subscribe(k=>{if(!u.isActivated||!u.activatedComponentRef||u.activatedRoute!==v||null===v.component)return void this.unsubscribeFromRouteData(u);const G=(0,h.HJs)(v.component);if(G)for(const{templateName:Ee}of G.inputs)u.activatedComponentRef.setInput(Ee,k[Ee]);else this.unsubscribeFromRouteData(u)});this.outletDataSubscriptions.set(u,C)}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}return c})();function mi(c,m,u){if(u&&c.shouldReuseRoute(m.value,u.value.snapshot)){const v=u.value;v._futureSnapshot=m.value;const C=function yo(c,m,u){return m.children.map(v=>{for(const C of u.children)if(c.shouldReuseRoute(v.value,C.value.snapshot))return mi(c,v,C);return mi(c,v)})}(c,m,u);return new Mr(v,C)}{if(c.shouldAttach(m.value)){const k=c.retrieve(m.value);if(null!==k){const G=k.route;return G.value._futureSnapshot=m.value,G.children=m.children.map(Ee=>mi(c,Ee)),G}}const v=function is(c){return new No(new H.t(c.url),new H.t(c.params),new H.t(c.queryParams),new H.t(c.fragment),new H.t(c.data),c.outlet,c.component,c)}(m.value),C=m.children.map(k=>mi(c,k));return new Mr(v,C)}}class qn{constructor(m,u){this.redirectTo=m,this.navigationBehaviorOptions=u}}const On="ngNavigationCancelingError";function ao(c,m){const{redirectTo:u,navigationBehaviorOptions:v}=Zt(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,C=vo(!1,Ke.Redirect);return C.url=u,C.navigationBehaviorOptions=v,C}function vo(c,m){const u=new Error(`NavigationCancelingError: ${c||""}`);return u[On]=!0,u.cancellationCode=m,u}function Zo(c){return!!c&&c[On]}let _s=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275cmp=h.VBU({type:c,selectors:[["ng-component"]],standalone:!0,features:[h.aNF],decls:1,vars:0,template:function(v,C){1&v&&h.nrm(0,"router-outlet")},dependencies:[Bi],encapsulation:2})}return c})();function xr(c){const m=c.children&&c.children.map(xr),u=m?{...c,children:m}:{...c};return!u.component&&!u.loadComponent&&(m||u.loadChildren)&&u.outlet&&u.outlet!==tt&&(u.component=_s),u}function ur(c){return c.outlet||tt}function Eo(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let m=c.parent;m;m=m.parent){const u=m.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class qo{constructor(m,u,v,C,k){this.routeReuseStrategy=m,this.futureState=u,this.currState=v,this.forwardEvent=C,this.inputBindingEnabled=k}activate(m){const u=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,v,m),zr(this.futureState.root),this.activateChildRoutes(u,v,m)}deactivateChildRoutes(m,u,v){const C=mo(u);m.children.forEach(k=>{const G=k.value.outlet;this.deactivateRoutes(k,C[G],v),delete C[G]}),Object.values(C).forEach(k=>{this.deactivateRouteAndItsChildren(k,v)})}deactivateRoutes(m,u,v){const C=m.value,k=u?u.value:null;if(C===k)if(C.component){const G=v.getContext(C.outlet);G&&this.deactivateChildRoutes(m,u,G.children)}else this.deactivateChildRoutes(m,u,v);else k&&this.deactivateRouteAndItsChildren(u,v)}deactivateRouteAndItsChildren(m,u){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,u):this.deactivateRouteAndOutlet(m,u)}detachAndStoreRouteSubtree(m,u){const v=u.getContext(m.value.outlet),C=v&&m.value.component?v.children:u,k=mo(m);for(const G of Object.values(k))this.deactivateRouteAndItsChildren(G,C);if(v&&v.outlet){const G=v.outlet.detach(),Ee=v.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:G,route:m,contexts:Ee})}}deactivateRouteAndOutlet(m,u){const v=u.getContext(m.value.outlet),C=v&&m.value.component?v.children:u,k=mo(m);for(const G of Object.values(k))this.deactivateRouteAndItsChildren(G,C);v&&(v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated()),v.attachRef=null,v.route=null)}activateChildRoutes(m,u,v){const C=mo(u);m.children.forEach(k=>{this.activateRoutes(k,C[k.value.outlet],v),this.forwardEvent(new bs(k.value.snapshot))}),m.children.length&&this.forwardEvent(new xt(m.value.snapshot))}activateRoutes(m,u,v){const C=m.value,k=u?u.value:null;if(zr(C),C===k)if(C.component){const G=v.getOrCreateContext(C.outlet);this.activateChildRoutes(m,u,G.children)}else this.activateChildRoutes(m,u,v);else if(C.component){const G=v.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const Ee=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),G.children.onOutletReAttached(Ee.contexts),G.attachRef=Ee.componentRef,G.route=Ee.route.value,G.outlet&&G.outlet.attach(Ee.componentRef,Ee.route.value),zr(Ee.route.value),this.activateChildRoutes(m,null,G.children)}else{const Ee=Eo(C.snapshot);G.attachRef=null,G.route=C,G.injector=Ee??G.injector,G.outlet&&G.outlet.activateWith(C,G.injector),this.activateChildRoutes(m,null,G.children)}}else this.activateChildRoutes(m,null,v)}}class Cs{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class Po{constructor(m,u){this.component=m,this.route=u}}function ss(c,m,u){const v=c._root;return Jo(v,m?m._root:null,u,[v.value])}function Wr(c,m){const u=Symbol(),v=m.get(c,u);return v===u?"function"!=typeof c||(0,h.LfX)(c)?m.get(c):c:v}function Jo(c,m,u,v,C={canDeactivateChecks:[],canActivateChecks:[]}){const k=mo(m);return c.children.forEach(G=>{(function zi(c,m,u,v,C={canDeactivateChecks:[],canActivateChecks:[]}){const k=c.value,G=m?m.value:null,Ee=u?u.getContext(c.value.outlet):null;if(G&&k.routeConfig===G.routeConfig){const pe=function ls(c,m,u){if("function"==typeof u)return u(c,m);switch(u){case"pathParamsChange":return!Fn(c.url,m.url);case"pathParamsOrQueryParamsChange":return!Fn(c.url,m.url)||!ln(c.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gi(c,m)||!ln(c.queryParams,m.queryParams);default:return!gi(c,m)}}(G,k,k.routeConfig.runGuardsAndResolvers);pe?C.canActivateChecks.push(new Cs(v)):(k.data=G.data,k._resolvedData=G._resolvedData),Jo(c,m,k.component?Ee?Ee.children:null:u,v,C),pe&&Ee&&Ee.outlet&&Ee.outlet.isActivated&&C.canDeactivateChecks.push(new Po(Ee.outlet.component,G))}else G&&Lo(m,Ee,C),C.canActivateChecks.push(new Cs(v)),Jo(c,null,k.component?Ee?Ee.children:null:u,v,C)})(G,k[G.value.outlet],u,v.concat([G.value]),C),delete k[G.value.outlet]}),Object.entries(k).forEach(([G,Ee])=>Lo(Ee,u.getContext(G),C)),C}function Lo(c,m,u){const v=mo(c),C=c.value;Object.entries(v).forEach(([k,G])=>{Lo(G,C.component?m?m.children.getContext(k):null:m,u)}),u.canDeactivateChecks.push(new Po(C.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,C))}function Ii(c){return"function"==typeof c}function Ts(c){return c instanceof ie||"EmptyError"===c?.name}const Gi=Symbol("INITIAL_VALUE");function ei(){return(0,et.n)(c=>(0,oe.z)(c.map(m=>m.pipe((0,st.s)(1),function Ne(...c){const m=(0,zt.lI)(c);return(0,gt.N)((u,v)=>{(m?(0,le.x)(c,u,m):(0,le.x)(c,u)).subscribe(v)})}(Gi)))).pipe((0,$e.T)(m=>{for(const u of m)if(!0!==u){if(u===Gi)return Gi;if(!1===u||qs(u))return u}return!0}),(0,Te.p)(m=>m!==Gi),(0,st.s)(1)))}function qs(c){return Zt(c)||c instanceof qn}function K(c){return(0,V.F)((0,$.M)(m=>{if("boolean"!=typeof m)throw ao(0,m)}),(0,$e.T)(m=>!0===m))}class ve{constructor(m){this.segmentGroup=m||null}}class Qe extends Error{constructor(m){super(),this.urlTree=m}}function He(c){return _e(new ve(c))}class St{constructor(m,u){this.urlSerializer=m,this.urlTree=u}lineralizeSegments(m,u){let v=[],C=u.root;for(;;){if(v=v.concat(C.segments),0===C.numberOfChildren)return(0,Q.of)(v);if(C.numberOfChildren>1||!C.children[tt])return _e(new h.wOt(4e3,!1));C=C.children[tt]}}applyRedirectCommands(m,u,v,C,k){if("string"!=typeof u){const Ee=u,{queryParams:pe,fragment:qe,routeConfig:Rt,url:$t,outlet:Nn,params:Ho,data:jr,title:ii}=C,zo=(0,h.N4e)(k,()=>Ee({params:Ho,data:jr,queryParams:pe,fragment:qe,routeConfig:Rt,url:$t,outlet:Nn,title:ii}));if(zo instanceof Gt)throw new Qe(zo);u=zo}const G=this.applyRedirectCreateUrlTree(u,this.urlSerializer.parse(u),m,v);if("/"===u[0])throw new Qe(G);return G}applyRedirectCreateUrlTree(m,u,v,C){const k=this.createSegmentGroup(m,u.root,v,C);return new Gt(k,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(m,u){const v={};return Object.entries(m).forEach(([C,k])=>{if("string"==typeof k&&":"===k[0]){const Ee=k.substring(1);v[C]=u[Ee]}else v[C]=k}),v}createSegmentGroup(m,u,v,C){const k=this.createSegments(m,u.segments,v,C);let G={};return Object.entries(u.children).forEach(([Ee,pe])=>{G[Ee]=this.createSegmentGroup(m,pe,v,C)}),new bt(k,G)}createSegments(m,u,v,C){return u.map(k=>":"===k.path[0]?this.findPosParam(m,k,C):this.findOrReturn(k,v))}findPosParam(m,u,v){const C=v[u.path.substring(1)];if(!C)throw new h.wOt(4001,!1);return C}findOrReturn(m,u){let v=0;for(const C of u){if(C.path===m.path)return u.splice(v),C;v++}return m}}const hn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wn(c,m,u,v,C){const k=Vn(c,m,u);return k.matched?(v=function Ui(c,m){return c.providers&&!c._injector&&(c._injector=(0,h.Ol2)(c.providers,m,`Route: ${c.path}`)),c._injector??m}(m,v),function fe(c,m,u,v){const C=m.canMatch;if(!C||0===C.length)return(0,Q.of)(!0);const k=C.map(G=>{const Ee=Wr(G,c);return xn(function Zs(c){return c&&Ii(c.canMatch)}(Ee)?Ee.canMatch(m,u):(0,h.N4e)(c,()=>Ee(m,u)))});return(0,Q.of)(k).pipe(ei(),K())}(v,m,u).pipe((0,$e.T)(G=>!0===G?k:{...hn}))):(0,Q.of)(k)}function Vn(c,m,u){if("**"===m.path)return function rr(c){return{matched:!0,parameters:c.length>0?Vr(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}(u);if(""===m.path)return"full"===m.pathMatch&&(c.hasChildren()||u.length>0)?{...hn}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const C=(m.matcher||en)(u,c,m);if(!C)return{...hn};const k={};Object.entries(C.posParams??{}).forEach(([Ee,pe])=>{k[Ee]=pe.path});const G=C.consumed.length>0?{...k,...C.consumed[C.consumed.length-1].parameters}:k;return{matched:!0,consumedSegments:C.consumed,remainingSegments:u.slice(C.consumed.length),parameters:G,positionalParamSegments:C.posParams??{}}}function Wn(c,m,u,v){return u.length>0&&function or(c,m,u){return u.some(v=>Sr(c,m,v)&&ur(v)!==tt)}(c,u,v)?{segmentGroup:new bt(m,_o(v,new bt(u,c.children))),slicedSegments:[]}:0===u.length&&function Er(c,m,u){return u.some(v=>Sr(c,m,v))}(c,u,v)?{segmentGroup:new bt(c.segments,Do(c,u,v,c.children)),slicedSegments:u}:{segmentGroup:new bt(c.segments,c.children),slicedSegments:u}}function Do(c,m,u,v){const C={};for(const k of u)if(Sr(c,m,k)&&!v[ur(k)]){const G=new bt([],{});C[ur(k)]=G}return{...v,...C}}function _o(c,m){const u={};u[tt]=m;for(const v of c)if(""===v.path&&ur(v)!==tt){const C=new bt([],{});u[ur(v)]=C}return u}function Sr(c,m,u){return(!(c.hasChildren()||m.length>0)||"full"!==u.pathMatch)&&""===u.path}class Fr{}class vi{constructor(m,u,v,C,k,G,Ee){this.injector=m,this.configLoader=u,this.rootComponentType=v,this.config=C,this.urlTree=k,this.paramsInheritanceStrategy=G,this.urlSerializer=Ee,this.applyRedirects=new St(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(m){return new h.wOt(4002,`'${m.segmentGroup}'`)}recognize(){const m=Wn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(m).pipe((0,$e.T)(({children:u,rootSnapshot:v})=>{const C=new Mr(v,u),k=new ht("",C),G=function ui(c,m,u=null,v=null){return Or(Jr(c),m,u,v)}(v,[],this.urlTree.queryParams,this.urlTree.fragment);return G.queryParams=this.urlTree.queryParams,k.url=this.urlSerializer.serialize(G),{state:k,tree:G}}))}match(m){const u=new Qo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),tt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,m,tt,u).pipe((0,$e.T)(v=>({children:v,rootSnapshot:u})),re(v=>{if(v instanceof Qe)return this.urlTree=v.urlTree,this.match(v.urlTree.root);throw v instanceof ve?this.noMatchError(v):v}))}processSegmentGroup(m,u,v,C,k){return 0===v.segments.length&&v.hasChildren()?this.processChildren(m,u,v,k):this.processSegment(m,u,v,v.segments,C,!0,k).pipe((0,$e.T)(G=>G instanceof Mr?[G]:[]))}processChildren(m,u,v,C){const k=[];for(const G of Object.keys(v.children))"primary"===G?k.unshift(G):k.push(G);return(0,o.H)(k).pipe((0,x.H)(G=>{const Ee=v.children[G],pe=function $i(c,m){const u=c.filter(v=>ur(v)===m);return u.push(...c.filter(v=>ur(v)!==m)),u}(u,G);return this.processSegmentGroup(m,pe,Ee,G,C)}),(0,Me.S)((G,Ee)=>(G.push(...Ee),G)),_t(null),function it(c,m){const u=arguments.length>=2;return v=>v.pipe(c?(0,Te.p)((C,k)=>c(C,k,v)):Ce.D,we(1),u?_t(m):Qt(()=>new ie))}(),(0,ot.Z)(G=>{if(null===G)return He(v);const Ee=Dt(G);return function ft(c){c.sort((m,u)=>m.value.outlet===tt?-1:u.value.outlet===tt?1:m.value.outlet.localeCompare(u.value.outlet))}(Ee),(0,Q.of)(Ee)}))}processSegment(m,u,v,C,k,G,Ee){return(0,o.H)(u).pipe((0,x.H)(pe=>this.processSegmentAgainstRoute(pe._injector??m,u,pe,v,C,k,G,Ee).pipe(re(qe=>{if(qe instanceof ve)return(0,Q.of)(null);throw qe}))),U(pe=>!!pe),re(pe=>{if(Ts(pe))return function Wi(c,m,u){return 0===m.length&&!c.children[u]}(v,C,k)?(0,Q.of)(new Fr):He(v);throw pe}))}processSegmentAgainstRoute(m,u,v,C,k,G,Ee,pe){return function jo(c,m,u,v){return!!(ur(c)===v||v!==tt&&Sr(m,u,c))&&Vn(m,c,u).matched}(v,C,k,G)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(m,C,v,k,G,pe):this.allowRedirects&&Ee?this.expandSegmentAgainstRouteUsingRedirect(m,C,u,v,k,G,pe):He(C):He(C)}expandSegmentAgainstRouteUsingRedirect(m,u,v,C,k,G,Ee){const{matched:pe,parameters:qe,consumedSegments:Rt,positionalParamSegments:$t,remainingSegments:Nn}=Vn(u,C,k);if(!pe)return He(u);"string"==typeof C.redirectTo&&"/"===C.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ho=new Qo(k,qe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cn(C),ur(C),C.component??C._loadedComponent??null,C,Nr(C)),jr=Bn(Ho,Ee,this.paramsInheritanceStrategy);Ho.params=Object.freeze(jr.params),Ho.data=Object.freeze(jr.data);const ii=this.applyRedirects.applyRedirectCommands(Rt,C.redirectTo,$t,Ho,m);return this.applyRedirects.lineralizeSegments(C,ii).pipe((0,ot.Z)(zo=>this.processSegment(m,v,u,zo.concat(Nn),G,!1,Ee)))}matchSegmentAgainstRoute(m,u,v,C,k,G){const Ee=wn(u,v,C,m);return"**"===v.path&&(u.children={}),Ee.pipe((0,et.n)(pe=>pe.matched?this.getChildConfig(m=v._injector??m,v,C).pipe((0,et.n)(({routes:qe})=>{const Rt=v._loadedInjector??m,{parameters:$t,consumedSegments:Nn,remainingSegments:Ho}=pe,jr=new Qo(Nn,$t,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cn(v),ur(v),v.component??v._loadedComponent??null,v,Nr(v)),ii=Bn(jr,G,this.paramsInheritanceStrategy);jr.params=Object.freeze(ii.params),jr.data=Object.freeze(ii.data);const{segmentGroup:zo,slicedSegments:Qr}=Wn(u,Nn,Ho,qe);if(0===Qr.length&&zo.hasChildren())return this.processChildren(Rt,qe,zo,jr).pipe((0,$e.T)(Ns=>new Mr(jr,Ns)));if(0===qe.length&&0===Qr.length)return(0,Q.of)(new Mr(jr,[]));const ic=ur(v)===k;return this.processSegment(Rt,qe,zo,Qr,ic?tt:k,!0,jr).pipe((0,$e.T)(Ns=>new Mr(jr,Ns instanceof Mr?[Ns]:[])))})):He(u)))}getChildConfig(m,u,v){return u.children?(0,Q.of)({routes:u.children,injector:m}):u.loadChildren?void 0!==u._loadedRoutes?(0,Q.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):function ne(c,m,u,v){const C=m.canLoad;if(void 0===C||0===C.length)return(0,Q.of)(!0);const k=C.map(G=>{const Ee=Wr(G,c);return xn(function Pr(c){return c&&Ii(c.canLoad)}(Ee)?Ee.canLoad(m,u):(0,h.N4e)(c,()=>Ee(m,u)))});return(0,Q.of)(k).pipe(ei(),K())}(m,u,v).pipe((0,ot.Z)(C=>C?this.configLoader.loadChildren(m,u).pipe((0,$.M)(k=>{u._loadedRoutes=k.routes,u._loadedInjector=k.injector})):function yt(c){return _e(vo(!1,Ke.GuardRejected))}())):(0,Q.of)({routes:[],injector:m})}}function Et(c){const m=c.value.routeConfig;return m&&""===m.path}function Dt(c){const m=[],u=new Set;for(const v of c){if(!Et(v)){m.push(v);continue}const C=m.find(k=>v.value.routeConfig===k.value.routeConfig);void 0!==C?(C.children.push(...v.children),u.add(C)):m.push(v)}for(const v of u){const C=Dt(v.children);m.push(new Mr(v.value,C))}return m.filter(v=>!u.has(v))}function Cn(c){return c.data||{}}function Nr(c){return c.resolve||{}}function _n(c){const m=c.children.map(u=>_n(u)).flat();return[c,...m]}function wo(c){return(0,et.n)(m=>{const u=c(m);return u?(0,o.H)(u).pipe((0,$e.T)(()=>m)):(0,Q.of)(m)})}let gr=(()=>{class c{buildTitle(u){let v,C=u.root;for(;void 0!==C;)v=this.getResolvedTitleForRoute(C)??v,C=C.children.find(k=>k.outlet===tt);return v}getResolvedTitleForRoute(u){return u.data[an]}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>(0,h.WQX)(p),providedIn:"root"})}return c})(),p=(()=>{class c extends gr{constructor(u){super(),this.title=u}updateTitle(u){const v=this.buildTitle(u);void 0!==v&&this.title.setTitle(v)}static#e=this.\u0275fac=function(v){return new(v||c)(h.KVO(Ut.hE))};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const F=new h.nKC("",{providedIn:"root",factory:()=>({})}),E=new h.nKC("");let I=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,h.WQX)(h.Ql9)}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,Q.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const v=xn(u.loadComponent()).pipe((0,$e.T)(Ie),(0,$.M)(k=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=k}),(0,Jt.j)(()=>{this.componentLoaders.delete(u)})),C=new ke(v,()=>new Je.B).pipe(Le());return this.componentLoaders.set(u,C),C}loadChildren(u,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,Q.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const k=function X(c,m,u,v){return xn(c.loadChildren()).pipe((0,$e.T)(Ie),(0,ot.Z)(C=>C instanceof h.Co$||Array.isArray(C)?(0,Q.of)(C):(0,o.H)(m.compileModuleAsync(C))),(0,$e.T)(C=>{v&&v(c);let k,G,Ee=!1;return Array.isArray(C)?(G=C,!0):(k=C.create(u).injector,G=k.get(E,[],{optional:!0,self:!0}).flat()),{routes:G.map(xr),injector:k}}))}(v,this.compiler,u,this.onLoadEndListener).pipe((0,Jt.j)(()=>{this.childrenLoaders.delete(v)})),G=new ke(k,()=>new Je.B).pipe(Le());return this.childrenLoaders.set(v,G),G}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Ie(c){return function be(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let lt=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>(0,h.WQX)(Tn),providedIn:"root"})}return c})(),Tn=(()=>{class c{shouldProcessUrl(u){return!0}extract(u){return u}merge(u,v){return u}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const sn=new h.nKC(""),vn=new h.nKC("");function Wt(c,m,u){const v=c.get(vn),C=c.get(je.qQ);return c.get(h.SKi).runOutsideAngular(()=>{if(!C.startViewTransition||v.skipNextTransition)return v.skipNextTransition=!1,new Promise(qe=>setTimeout(qe));let k;const G=new Promise(qe=>{k=qe}),Ee=C.startViewTransition(()=>(k(),function Ln(c){return new Promise(m=>{(0,h.mal)(m,{injector:c})})}(c))),{onViewTransitionCreated:pe}=v;return pe&&(0,h.N4e)(c,()=>pe({transition:Ee,from:m,to:u})),G})}const pn=new h.nKC("");let $n=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Je.B,this.transitionAbortSubject=new Je.B,this.configLoader=(0,h.WQX)(I),this.environmentInjector=(0,h.WQX)(h.uvJ),this.urlSerializer=(0,h.WQX)(Qn),this.rootContexts=(0,h.WQX)(So),this.location=(0,h.WQX)(je.aZ),this.inputBindingEnabled=null!==(0,h.WQX)(Ro,{optional:!0}),this.titleStrategy=(0,h.WQX)(gr),this.options=(0,h.WQX)(F,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,h.WQX)(lt),this.createViewTransition=(0,h.WQX)(sn,{optional:!0}),this.navigationErrorHandler=(0,h.WQX)(pn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,Q.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=C=>this.events.next(new oo(C)),this.configLoader.onLoadStartListener=C=>this.events.next(new di(C))}complete(){this.transitions?.complete()}handleNavigationRequest(u){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...u,id:v})}setupNavigations(u,v,C){return this.transitions=new H.t({id:0,currentUrlTree:v,currentRawUrl:v,extractedUrl:this.urlHandlingStrategy.extract(v),urlAfterRedirects:this.urlHandlingStrategy.extract(v),rawUrl:v,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:M,restoredState:null,currentSnapshot:C.snapshot,targetSnapshot:null,currentRouterState:C,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Te.p)(k=>0!==k.id),(0,$e.T)(k=>({...k,extractedUrl:this.urlHandlingStrategy.extract(k.rawUrl)})),(0,et.n)(k=>{let G=!1,Ee=!1;return(0,Q.of)(k).pipe((0,et.n)(pe=>{if(this.navigationId>k.id)return this.cancelNavigationTransition(k,"",Ke.SupersededByNewNavigation),Oe.w;this.currentTransition=k,this.currentNavigation={id:pe.id,initialUrl:pe.rawUrl,extractedUrl:pe.extractedUrl,trigger:pe.source,extras:pe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const qe=!u.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!qe&&"reload"!==(pe.extras.onSameUrlNavigation??u.onSameUrlNavigation)){const $t="";return this.events.next(new qt(pe.id,this.urlSerializer.serialize(pe.rawUrl),$t,Ct.IgnoredSameUrlNavigation)),pe.resolve(!1),Oe.w}if(this.urlHandlingStrategy.shouldProcessUrl(pe.rawUrl))return(0,Q.of)(pe).pipe((0,et.n)($t=>{const Nn=this.transitions?.getValue();return this.events.next(new te($t.id,this.urlSerializer.serialize($t.extractedUrl),$t.source,$t.restoredState)),Nn!==this.transitions?.getValue()?Oe.w:Promise.resolve($t)}),function Ar(c,m,u,v,C,k){return(0,ot.Z)(G=>function Ki(c,m,u,v,C,k,G="emptyOnly"){return new vi(c,m,u,v,C,G,k).recognize()}(c,m,u,v,G.extractedUrl,C,k).pipe((0,$e.T)(({state:Ee,tree:pe})=>({...G,targetSnapshot:Ee,urlAfterRedirects:pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,u.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,$.M)($t=>{k.targetSnapshot=$t.targetSnapshot,k.urlAfterRedirects=$t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:$t.urlAfterRedirects};const Nn=new Xe($t.id,this.urlSerializer.serialize($t.extractedUrl),this.urlSerializer.serialize($t.urlAfterRedirects),$t.targetSnapshot);this.events.next(Nn)}));if(qe&&this.urlHandlingStrategy.shouldProcessUrl(pe.currentRawUrl)){const{id:$t,extractedUrl:Nn,source:Ho,restoredState:jr,extras:ii}=pe,zo=new te($t,this.urlSerializer.serialize(Nn),Ho,jr);this.events.next(zo);const Qr=os(this.rootComponentType).snapshot;return this.currentTransition=k={...pe,targetSnapshot:Qr,urlAfterRedirects:Nn,extras:{...ii,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Nn,(0,Q.of)(k)}{const $t="";return this.events.next(new qt(pe.id,this.urlSerializer.serialize(pe.extractedUrl),$t,Ct.IgnoredByUrlHandlingStrategy)),pe.resolve(!1),Oe.w}}),(0,$.M)(pe=>{const qe=new It(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot);this.events.next(qe)}),(0,$e.T)(pe=>(this.currentTransition=k={...pe,guards:ss(pe.targetSnapshot,pe.currentSnapshot,this.rootContexts)},k)),function Is(c,m){return(0,ot.Z)(u=>{const{targetSnapshot:v,currentSnapshot:C,guards:{canActivateChecks:k,canDeactivateChecks:G}}=u;return 0===G.length&&0===k.length?(0,Q.of)({...u,guardsResult:!0}):function Ms(c,m,u,v){return(0,o.H)(c).pipe((0,ot.Z)(C=>function j(c,m,u,v,C){const k=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!k||0===k.length)return(0,Q.of)(!0);const G=k.map(Ee=>{const pe=Eo(m)??C,qe=Wr(Ee,pe);return xn(function Kr(c){return c&&Ii(c.canDeactivate)}(qe)?qe.canDeactivate(c,m,u,v):(0,h.N4e)(pe,()=>qe(c,m,u,v))).pipe(U())});return(0,Q.of)(G).pipe(ei())}(C.component,C.route,u,m,v)),U(C=>!0!==C,!0))}(G,v,C,c).pipe((0,ot.Z)(Ee=>Ee&&function Xa(c){return"boolean"==typeof c}(Ee)?function R(c,m,u,v){return(0,o.H)(m).pipe((0,x.H)(C=>(0,le.x)(function g(c,m){return null!==c&&m&&m(new go(c)),(0,Q.of)(!0)}(C.route.parent,v),function d(c,m){return null!==c&&m&&m(new fi(c)),(0,Q.of)(!0)}(C.route,v),function N(c,m,u){const v=m[m.length-1],k=m.slice(0,m.length-1).reverse().map(G=>function as(c){const m=c.routeConfig?c.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:c,guards:m}:null}(G)).filter(G=>null!==G).map(G=>ce(()=>{const Ee=G.guards.map(pe=>{const qe=Eo(G.node)??u,Rt=Wr(pe,qe);return xn(function fn(c){return c&&Ii(c.canActivateChild)}(Rt)?Rt.canActivateChild(v,c):(0,h.N4e)(qe,()=>Rt(v,c))).pipe(U())});return(0,Q.of)(Ee).pipe(ei())}));return(0,Q.of)(k).pipe(ei())}(c,C.path,u),function _(c,m,u){const v=m.routeConfig?m.routeConfig.canActivate:null;if(!v||0===v.length)return(0,Q.of)(!0);const C=v.map(k=>ce(()=>{const G=Eo(m)??u,Ee=Wr(k,G);return xn(function cs(c){return c&&Ii(c.canActivate)}(Ee)?Ee.canActivate(m,c):(0,h.N4e)(G,()=>Ee(m,c))).pipe(U())}));return(0,Q.of)(C).pipe(ei())}(c,C.route,u))),U(C=>!0!==C,!0))}(v,k,c,m):(0,Q.of)(Ee)),(0,$e.T)(Ee=>({...u,guardsResult:Ee})))})}(this.environmentInjector,pe=>this.events.next(pe)),(0,$.M)(pe=>{if(k.guardsResult=pe.guardsResult,pe.guardsResult&&"boolean"!=typeof pe.guardsResult)throw ao(0,pe.guardsResult);const qe=new Hr(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot,!!pe.guardsResult);this.events.next(qe)}),(0,Te.p)(pe=>!!pe.guardsResult||(this.cancelNavigationTransition(pe,"",Ke.GuardRejected),!1)),wo(pe=>{if(pe.guards.canActivateChecks.length)return(0,Q.of)(pe).pipe((0,$.M)(qe=>{const Rt=new yn(qe.id,this.urlSerializer.serialize(qe.extractedUrl),this.urlSerializer.serialize(qe.urlAfterRedirects),qe.targetSnapshot);this.events.next(Rt)}),(0,et.n)(qe=>{let Rt=!1;return(0,Q.of)(qe).pipe(function Bo(c,m){return(0,ot.Z)(u=>{const{targetSnapshot:v,guards:{canActivateChecks:C}}=u;if(!C.length)return(0,Q.of)(u);const k=new Set(C.map(pe=>pe.route)),G=new Set;for(const pe of k)if(!G.has(pe))for(const qe of _n(pe))G.add(qe);let Ee=0;return(0,o.H)(G).pipe((0,x.H)(pe=>k.has(pe)?function ti(c,m,u,v){const C=c.routeConfig,k=c._resolve;return void 0!==C?.title&&!ji(C)&&(k[an]=C.title),function Js(c,m,u,v){const C=kn(c);if(0===C.length)return(0,Q.of)({});const k={};return(0,o.H)(C).pipe((0,ot.Z)(G=>function Un(c,m,u,v){const C=Eo(m)??v,k=Wr(c,C);return xn(k.resolve?k.resolve(m,u):(0,h.N4e)(C,()=>k(m,u)))}(c[G],m,u,v).pipe(U(),(0,$.M)(Ee=>{if(Ee instanceof qn)throw ao(new tr,Ee);k[G]=Ee}))),we(1),(0,mt.u)(k),re(G=>Ts(G)?Oe.w:_e(G)))}(k,c,m,v).pipe((0,$e.T)(G=>(c._resolvedData=G,c.data=Bn(c,c.parent,u).resolve,null)))}(pe,v,c,m):(pe.data=Bn(pe,pe.parent,c).resolve,(0,Q.of)(void 0))),(0,$.M)(()=>Ee++),we(1),(0,ot.Z)(pe=>Ee===G.size?(0,Q.of)(u):Oe.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,$.M)({next:()=>Rt=!0,complete:()=>{Rt||this.cancelNavigationTransition(qe,"",Ke.NoDataFromResolver)}}))}),(0,$.M)(qe=>{const Rt=new Pn(qe.id,this.urlSerializer.serialize(qe.extractedUrl),this.urlSerializer.serialize(qe.urlAfterRedirects),qe.targetSnapshot);this.events.next(Rt)}))}),wo(pe=>{const qe=Rt=>{const $t=[];Rt.routeConfig?.loadComponent&&!Rt.routeConfig._loadedComponent&&$t.push(this.configLoader.loadComponent(Rt.routeConfig).pipe((0,$.M)(Nn=>{Rt.component=Nn}),(0,$e.T)(()=>{})));for(const Nn of Rt.children)$t.push(...qe(Nn));return $t};return(0,oe.z)(qe(pe.targetSnapshot.root)).pipe(_t(null),(0,st.s)(1))}),wo(()=>this.afterPreactivation()),(0,et.n)(()=>{const{currentSnapshot:pe,targetSnapshot:qe}=k,Rt=this.createViewTransition?.(this.environmentInjector,pe.root,qe.root);return Rt?(0,o.H)(Rt).pipe((0,$e.T)(()=>k)):(0,Q.of)(k)}),(0,$e.T)(pe=>{const qe=function Oo(c,m,u){const v=mi(c,m._root,u?u._root:void 0);return new io(v,m)}(u.routeReuseStrategy,pe.targetSnapshot,pe.currentRouterState);return this.currentTransition=k={...pe,targetRouterState:qe},this.currentNavigation.targetRouterState=qe,k}),(0,$.M)(()=>{this.events.next(new hi)}),((c,m,u,v)=>(0,$e.T)(C=>(new qo(m,C.targetRouterState,C.currentRouterState,u,v).activate(c),C)))(this.rootContexts,u.routeReuseStrategy,pe=>this.events.next(pe),this.inputBindingEnabled),(0,st.s)(1),(0,$.M)({next:pe=>{G=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new se(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects))),this.titleStrategy?.updateTitle(pe.targetRouterState.snapshot),pe.resolve(!0)},complete:()=>{G=!0}}),(0,dt.Q)(this.transitionAbortSubject.pipe((0,$.M)(pe=>{throw pe}))),(0,Jt.j)(()=>{!G&&!Ee&&this.cancelNavigationTransition(k,"",Ke.SupersededByNewNavigation),this.currentTransition?.id===k.id&&(this.currentNavigation=null,this.currentTransition=null)}),re(pe=>{if(Ee=!0,Zo(pe))this.events.next(new vt(k.id,this.urlSerializer.serialize(k.extractedUrl),pe.message,pe.cancellationCode)),function Vi(c){return Zo(c)&&Zt(c.url)}(pe)?this.events.next(new xi(pe.url,pe.navigationBehaviorOptions)):k.resolve(!1);else{const qe=new wt(k.id,this.urlSerializer.serialize(k.extractedUrl),pe,k.targetSnapshot??void 0);try{const Rt=(0,h.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(qe));if(Rt instanceof qn){const{message:$t,cancellationCode:Nn}=ao(0,Rt);this.events.next(new vt(k.id,this.urlSerializer.serialize(k.extractedUrl),$t,Nn)),this.events.next(new xi(Rt.redirectTo,Rt.navigationBehaviorOptions))}else{this.events.next(qe);const $t=u.errorHandler(pe);k.resolve(!!$t)}}catch(Rt){this.options.resolveNavigationPromiseOnError?k.resolve(!1):k.reject(Rt)}}return Oe.w}))}))}cancelNavigationTransition(u,v,C){const k=new vt(u.id,this.urlSerializer.serialize(u.extractedUrl),v,C);this.events.next(k),u.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function ni(c){return c!==M}let Xr=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>(0,h.WQX)(cn),providedIn:"root"})}return c})();class Vo{shouldDetach(m){return!1}store(m,u){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,u){return m.routeConfig===u.routeConfig}}let cn=(()=>{class c extends Vo{static#e=this.\u0275fac=(()=>{let u;return function(C){return(u||(u=h.xGo(c)))(C||c)}})();static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Be=(()=>{class c{static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:()=>(0,h.WQX)(pt),providedIn:"root"})}return c})(),pt=(()=>{class c extends Be{constructor(){super(...arguments),this.location=(0,h.WQX)(je.aZ),this.urlSerializer=(0,h.WQX)(Qn),this.options=(0,h.WQX)(F,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,h.WQX)(lt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Gt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=os(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(u){return this.location.subscribe(v=>{"popstate"===v.type&&u(v.url,v.state)})}handleRouterEvent(u,v){if(u instanceof te)this.stateMemento=this.createStateMemento();else if(u instanceof qt)this.rawUrlTree=v.initialUrl;else if(u instanceof Xe){if("eager"===this.urlUpdateStrategy&&!v.extras.skipLocationChange){const C=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl);this.setBrowserUrl(C,v)}}else u instanceof hi?(this.currentUrlTree=v.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl),this.routerState=v.targetRouterState,"deferred"===this.urlUpdateStrategy&&(v.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,v))):u instanceof vt&&(u.code===Ke.GuardRejected||u.code===Ke.NoDataFromResolver)?this.restoreHistory(v):u instanceof wt?this.restoreHistory(v,!0):u instanceof se&&(this.lastSuccessfulId=u.id,this.currentPageId=this.browserPageId)}setBrowserUrl(u,v){const C=this.urlSerializer.serialize(u);if(this.location.isCurrentPathEqualTo(C)||v.extras.replaceUrl){const G={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId)};this.location.replaceState(C,"",G)}else{const k={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId+1)};this.location.go(C,"",k)}}restoreHistory(u,v=!1){if("computed"===this.canceledNavigationResolution){const k=this.currentPageId-this.browserPageId;0!==k?this.location.historyGo(k):this.currentUrlTree===u.finalUrl&&0===k&&(this.resetState(u),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(u,v){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:v}:{navigationId:u}}static#e=this.\u0275fac=(()=>{let u;return function(C){return(u||(u=h.xGo(c)))(C||c)}})();static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var gn=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(gn||{});function Rr(c,m){c.events.pipe((0,Te.p)(u=>u instanceof se||u instanceof vt||u instanceof wt||u instanceof qt),(0,$e.T)(u=>u instanceof se||u instanceof qt?gn.COMPLETE:u instanceof vt&&(u.code===Ke.Redirect||u.code===Ke.SupersededByNewNavigation)?gn.REDIRECTING:gn.FAILED),(0,Te.p)(u=>u!==gn.REDIRECTING),(0,st.s)(1)).subscribe(()=>{m()})}function br(c){throw c}const Lr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Qi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let rn=(()=>{class c{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,h.WQX)(h.H3F),this.stateManager=(0,h.WQX)(Be),this.options=(0,h.WQX)(F,{optional:!0})||{},this.pendingTasks=(0,h.WQX)(h.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,h.WQX)($n),this.urlSerializer=(0,h.WQX)(Qn),this.location=(0,h.WQX)(je.aZ),this.urlHandlingStrategy=(0,h.WQX)(lt),this._events=new Je.B,this.errorHandler=this.options.errorHandler||br,this.navigated=!1,this.routeReuseStrategy=(0,h.WQX)(Xr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,h.WQX)(E,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,h.WQX)(Ro,{optional:!0}),this.eventsSubscription=new rt.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:u=>{this.console.warn(u)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const u=this.navigationTransitions.events.subscribe(v=>{try{const C=this.navigationTransitions.currentTransition,k=this.navigationTransitions.currentNavigation;if(null!==C&&null!==k)if(this.stateManager.handleRouterEvent(v,k),v instanceof vt&&v.code!==Ke.Redirect&&v.code!==Ke.SupersededByNewNavigation)this.navigated=!0;else if(v instanceof se)this.navigated=!0;else if(v instanceof xi){const G=v.navigationBehaviorOptions,Ee=this.urlHandlingStrategy.merge(v.url,C.currentRawUrl),pe={info:C.extras.info,skipLocationChange:C.extras.skipLocationChange,replaceUrl:C.extras.replaceUrl||"eager"===this.urlUpdateStrategy||ni(C.source),...G};this.scheduleNavigation(Ee,M,null,pe,{resolve:C.resolve,reject:C.reject,promise:C.promise})}(function ri(c){return!(c instanceof hi||c instanceof xi)})(v)&&this._events.next(v)}catch(C){this.navigationTransitions.transitionAbortSubject.next(C)}});this.eventsSubscription.add(u)}resetRootComponentType(u){this.routerState.root.component=u,this.navigationTransitions.rootComponentType=u}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),M,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((u,v)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(u,"popstate",v)},0)})}navigateToSyncWithBrowser(u,v,C){const k={replaceUrl:!0},G=C?.navigationId?C:null;if(C){const pe={...C};delete pe.navigationId,delete pe.\u0275routerPageId,0!==Object.keys(pe).length&&(k.state=pe)}const Ee=this.parseUrl(u);this.scheduleNavigation(Ee,v,G,k)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(u){this.config=u.map(xr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(u,v={}){const{relativeTo:C,queryParams:k,fragment:G,queryParamsHandling:Ee,preserveFragment:pe}=v,qe=pe?this.currentUrlTree.fragment:G;let $t,Rt=null;switch(Ee){case"merge":Rt={...this.currentUrlTree.queryParams,...k};break;case"preserve":Rt=this.currentUrlTree.queryParams;break;default:Rt=k||null}null!==Rt&&(Rt=this.removeEmptyProps(Rt));try{$t=Jr(C?C.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof u[0]||"/"!==u[0][0])&&(u=[]),$t=this.currentUrlTree.root}return Or($t,u,Rt,qe??null)}navigateByUrl(u,v={skipLocationChange:!1}){const C=Zt(u)?u:this.parseUrl(u),k=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(k,M,null,v)}navigate(u,v={skipLocationChange:!1}){return function ir(c){for(let m=0;m(null!=k&&(v[C]=k),v),{})}scheduleNavigation(u,v,C,k,G){if(this.disposed)return Promise.resolve(!1);let Ee,pe,qe;G?(Ee=G.resolve,pe=G.reject,qe=G.promise):qe=new Promise(($t,Nn)=>{Ee=$t,pe=Nn});const Rt=this.pendingTasks.add();return Rr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Rt))}),this.navigationTransitions.handleNavigationRequest({source:v,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:u,extras:k,resolve:Ee,reject:pe,promise:qe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),qe.catch($t=>Promise.reject($t))}static#e=this.\u0275fac=function(v){return new(v||c)};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Mt=(()=>{class c{constructor(u,v,C,k,G,Ee){this.router=u,this.route=v,this.tabIndexAttribute=C,this.renderer=k,this.el=G,this.locationStrategy=Ee,this.href=null,this.commands=null,this.onChanges=new Je.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const pe=G.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pe||"area"===pe,this.isAnchorElement?this.subscription=u.events.subscribe(qe=>{qe instanceof se&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",u)}ngOnChanges(u){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(u,v,C,k,G){const Ee=this.urlTree;return!!(null===Ee||this.isAnchorElement&&(0!==u||v||C||k||G||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ee,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const u=this.urlTree;this.href=null!==u&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(u)):null;const v=null===this.href?null:(0,h.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",v)}applyAttributeValue(u,v){const C=this.renderer,k=this.el.nativeElement;null!==v?C.setAttribute(k,u,v):C.removeAttribute(k,u)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(v){return new(v||c)(h.rXU(rn),h.rXU(No),h.kS0("tabindex"),h.rXU(h.sFG),h.rXU(h.aKT),h.rXU(je.hb))};static#t=this.\u0275dir=h.FsC({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(v,C){1&v&&h.bIt("click",function(G){return C.onClick(G.button,G.ctrlKey,G.shiftKey,G.altKey,G.metaKey)}),2&v&&h.BMQ("target",C.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",h.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",h.L39],replaceUrl:[2,"replaceUrl","replaceUrl",h.L39],routerLink:"routerLink"},standalone:!0,features:[h.GFd,h.OA$]})}return c})(),us=(()=>{class c{get isActive(){return this._isActive}constructor(u,v,C,k,G){this.router=u,this.element=v,this.renderer=C,this.cdr=k,this.link=G,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new h.bkB,this.routerEventsSubscription=u.events.subscribe(Ee=>{Ee instanceof se&&this.update()})}ngAfterContentInit(){(0,Q.of)(this.links.changes,(0,Q.of)(null)).pipe((0,Vt.U)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),this.link].filter(v=>!!v).map(v=>v.onChanges);this.linkInputChangesSubscription=(0,o.H)(u).pipe((0,Vt.U)()).subscribe(v=>{this._isActive!==this.isLinkActive(this.router)(v)&&this.update()})}set routerLinkActive(u){const v=Array.isArray(u)?u:u.split(" ");this.classes=v.filter(C=>!!C)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const u=this.hasActiveLinks();this.classes.forEach(v=>{u?this.renderer.addClass(this.element.nativeElement,v):this.renderer.removeClass(this.element.nativeElement,v)}),u&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==u&&(this._isActive=u,this.cdr.markForCheck(),this.isActiveChange.emit(u))})}isLinkActive(u){const v=function nc(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>{const k=C.urlTree;return!!k&&u.isActive(k,v)}}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.links.some(u)}static#e=this.\u0275fac=function(v){return new(v||c)(h.rXU(rn),h.rXU(h.aKT),h.rXU(h.sFG),h.rXU(h.gRc),h.rXU(Mt,8))};static#t=this.\u0275dir=h.FsC({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(v,C,k){if(1&v&&h.wni(k,Mt,5),2&v){let G;h.mGM(G=h.lsd())&&(C.links=G)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[h.OA$]})}return c})();class Yi{}let fs=(()=>{class c{constructor(u,v,C,k,G){this.router=u,this.injector=C,this.preloadingStrategy=k,this.loader=G}setUpPreloading(){this.subscription=this.router.events.pipe((0,Te.p)(u=>u instanceof se),(0,x.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,v){const C=[];for(const k of v){k.providers&&!k._injector&&(k._injector=(0,h.Ol2)(k.providers,u,`Route: ${k.path}`));const G=k._injector??u,Ee=k._loadedInjector??G;(k.loadChildren&&!k._loadedRoutes&&void 0===k.canLoad||k.loadComponent&&!k._loadedComponent)&&C.push(this.preloadConfig(G,k)),(k.children||k._loadedRoutes)&&C.push(this.processRoutes(Ee,k.children??k._loadedRoutes))}return(0,o.H)(C).pipe((0,Vt.U)())}preloadConfig(u,v){return this.preloadingStrategy.preload(v,()=>{let C;C=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(u,v):(0,Q.of)(null);const k=C.pipe((0,ot.Z)(G=>null===G?(0,Q.of)(void 0):(v._loadedRoutes=G.routes,v._loadedInjector=G.injector,this.processRoutes(G.injector??u,G.routes))));if(v.loadComponent&&!v._loadedComponent){const G=this.loader.loadComponent(v);return(0,o.H)([k,G]).pipe((0,Vt.U)())}return k})}static#e=this.\u0275fac=function(v){return new(v||c)(h.KVO(rn),h.KVO(h.Ql9),h.KVO(h.uvJ),h.KVO(Yi),h.KVO(I))};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Uo=new h.nKC("");let Zi=(()=>{class c{constructor(u,v,C,k,G={}){this.urlSerializer=u,this.transitions=v,this.viewportScroller=C,this.zone=k,this.options=G,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,h.WQX)(h.uvJ),G.scrollPositionRestoration||="disabled",G.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof te?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof se?(this.lastId=u.id,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.urlAfterRedirects).fragment)):u instanceof qt&&u.code===Ct.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof cr&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,v){var C=this;this.zone.runOutsideAngular((0,y.A)(function*(){yield new Promise(k=>{setTimeout(()=>{k()}),(0,h.mal)(()=>{k()},{injector:C.environmentInjector})}),C.zone.run(()=>{C.transitions.events.next(new cr(u,"popstate"===C.lastSource?C.store[C.restoredId]:null,v))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(v){h.QTQ()};static#t=this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac})}return c})();function lo(c,m){return{\u0275kind:c,\u0275providers:m}}function $o(){const c=(0,h.WQX)(h.zZn);return m=>{const u=c.get(h.o8S);if(m!==u.components[0])return;const v=c.get(rn),C=c.get(Ss);1===c.get(Mi)&&v.initialNavigation(),c.get(_r,null,h.$GK.Optional)?.setUpPreloading(),c.get(Uo,null,h.$GK.Optional)?.init(),v.resetRootComponentType(u.componentTypes[0]),C.closed||(C.next(),C.complete(),C.unsubscribe())}}const Ss=new h.nKC("",{factory:()=>new Je.B}),Mi=new h.nKC("",{providedIn:"root",factory:()=>1}),_r=new h.nKC("");function Qa(c){return lo(0,[{provide:_r,useExisting:fs},{provide:Yi,useExisting:c}])}function Lu(c){return lo(9,[{provide:sn,useValue:Wt},{provide:vn,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const na=new h.nKC("ROUTER_FORROOT_GUARD"),oc=[je.aZ,{provide:Qn,useClass:tr},rn,So,{provide:No,useFactory:function Ei(c){return c.routerState.root},deps:[rn]},I,[]];let ju=(()=>{class c{constructor(u){}static forRoot(u,v){return{ngModule:c,providers:[oc,[],{provide:E,multi:!0,useValue:u},{provide:na,useFactory:Wh,deps:[[rn,new h.Xx1,new h.kdw]]},{provide:F,useValue:v||{}},v?.useHash?{provide:je.hb,useClass:je.fw}:{provide:je.hb,useClass:je.Sm},{provide:Uo,useFactory:()=>{const c=(0,h.WQX)(je.Xr),m=(0,h.WQX)(h.SKi),u=(0,h.WQX)(F),v=(0,h.WQX)($n),C=(0,h.WQX)(Qn);return u.scrollOffset&&c.setOffset(u.scrollOffset),new Zi(C,v,c,m,u)}},v?.preloadingStrategy?Qa(v.preloadingStrategy).\u0275providers:[],v?.initialNavigation?Kh(v):[],v?.bindToComponentInputs?lo(8,[Ds,{provide:Ro,useExisting:Ds}]).\u0275providers:[],v?.enableViewTransitions?Lu().\u0275providers:[],[{provide:Bu,useFactory:$o},{provide:h.iLQ,multi:!0,useExisting:Bu}]]}}static forChild(u){return{ngModule:c,providers:[{provide:E,multi:!0,useValue:u}]}}static#e=this.\u0275fac=function(v){return new(v||c)(h.KVO(na,8))};static#t=this.\u0275mod=h.$C({type:c});static#n=this.\u0275inj=h.G2t({})}return c})();function Wh(c){return"guarded"}function Kh(c){return["disabled"===c.initialNavigation?lo(3,[{provide:h.hnV,multi:!0,useFactory:()=>{const m=(0,h.WQX)(rn);return()=>{m.setUpLocationChangeListener()}}},{provide:Mi,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?lo(2,[{provide:Mi,useValue:0},{provide:h.hnV,multi:!0,deps:[h.zZn],useFactory:m=>{const u=m.get(je.hj,Promise.resolve());return()=>u.then(()=>new Promise(v=>{const C=m.get(rn),k=m.get(Ss);Rr(C,()=>{v(!0)}),m.get($n).afterPreactivation=()=>(v(!0),k.closed?(0,Q.of)(void 0):k),C.initialNavigation()}))}}]).\u0275providers:[]]}const Bu=new h.nKC("")},10467:(We,de,D)=>{function y(Z,o,Q,H,oe,ue,ie){try{var le=Z[ue](ie),Y=le.value}catch(B){return void Q(B)}le.done?o(Y):Promise.resolve(Y).then(H,oe)}function h(Z){return function(){var o=this,Q=arguments;return new Promise(function(H,oe){var ue=Z.apply(o,Q);function ie(Y){y(ue,H,oe,ie,le,"next",Y)}function le(Y){y(ue,H,oe,ie,le,"throw",Y)}ie(void 0)})}}D.d(de,{A:()=>h})},31635:(We,de,D)=>{function Q(U,x,$,re){var it,Me=arguments.length,we=Me<3?x:null===re?re=Object.getOwnPropertyDescriptor(x,$):re;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)we=Reflect.decorate(U,x,$,re);else for(var mt=U.length-1;mt>=0;mt--)(it=U[mt])&&(we=(Me<3?it(we):Me>3?it(x,$,we):it(x,$))||we);return Me>3&&we&&Object.defineProperty(x,$,we),we}function Y(U,x){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(U,x)}function B(U,x,$,re){return new($||($=Promise))(function(we,it){function mt(Vt){try{dt(re.next(Vt))}catch(Ut){it(Ut)}}function Jt(Vt){try{dt(re.throw(Vt))}catch(Ut){it(Ut)}}function dt(Vt){Vt.done?we(Vt.value):function Me(we){return we instanceof $?we:new $(function(it){it(we)})}(Vt.value).then(mt,Jt)}dt((re=re.apply(U,x||[])).next())})}function Le(U){return this instanceof Le?(this.v=U,this):new Le(U)}function ke(U,x,$){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Me,re=$.apply(U,x||[]),we=[];return Me={},it("next"),it("throw"),it("return"),Me[Symbol.asyncIterator]=function(){return this},Me;function it(tt){re[tt]&&(Me[tt]=function(an){return new Promise(function(tn,En){we.push([tt,an,tn,En])>1||mt(tt,an)})})}function mt(tt,an){try{!function Jt(tt){tt.value instanceof Le?Promise.resolve(tt.value.v).then(dt,Vt):Ut(we[0][2],tt)}(re[tt](an))}catch(tn){Ut(we[0][3],tn)}}function dt(tt){mt("next",tt)}function Vt(tt){mt("throw",tt)}function Ut(tt,an){tt(an),we.shift(),we.length&&mt(we[0][0],we[0][1])}}function je(U){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $,x=U[Symbol.asyncIterator];return x?x.call(U):(U=function _e(U){var x="function"==typeof Symbol&&Symbol.iterator,$=x&&U[x],re=0;if($)return $.call(U);if(U&&"number"==typeof U.length)return{next:function(){return U&&re>=U.length&&(U=void 0),{value:U&&U[re++],done:!U}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")}(U),$={},re("next"),re("throw"),re("return"),$[Symbol.asyncIterator]=function(){return this},$);function re(we){$[we]=U[we]&&function(it){return new Promise(function(mt,Jt){!function Me(we,it,mt,Jt){Promise.resolve(Jt).then(function(dt){we({value:dt,done:mt})},it)}(mt,Jt,(it=U[we](it)).done,it.value)})}}}D.d(de,{AQ:()=>ke,Cg:()=>Q,N3:()=>Le,Sn:()=>Y,sH:()=>B,xN:()=>je}),"function"==typeof SuppressedError&&SuppressedError}},We=>{We(We.s=34958)}]); \ No newline at end of file diff --git a/runtime.4983ede92592197f.js b/runtime.1e129641c43bea15.js similarity index 54% rename from runtime.4983ede92592197f.js rename to runtime.1e129641c43bea15.js index 324bf31c90..1038f366e7 100644 --- a/runtime.4983ede92592197f.js +++ b/runtime.1e129641c43bea15.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},m={};function a(e){var n=m[e];if(void 0!==n)return n.exports;var r=m[e]={exports:{}};return v[e](r,r.exports,a),r.exports}a.m=v,e=[],a.O=(n,r,d,f)=>{if(!r){var t=1/0;for(o=0;o=f)&&Object.keys(a.O).every(p=>a.O[p](r[c]))?r.splice(c--,1):(l=!1,f0&&e[o-1][2]>f;o--)e[o]=e[o-1];e[o]=[r,d,f]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((n,r)=>(a.f[r](e,n),n),[])),a.u=e=>(76===e?"common":e)+"."+{43:"f0324c6e64b00dca",76:"2cb87d03c858586a",90:"2dff8eb6884f2f20",117:"3c4e6954d82cfade",126:"cd07483a4d8508aa",304:"93cd58df19aef522",412:"fc9160f67c24d9ff",444:"5ce87559558c9959",457:"61fe570369320afa",515:"6014483ce28a0b4f",519:"7c86e5a964ea54a0",546:"08d650b182104bb3",648:"191424c53e08bc03",673:"9271d1966d2801e2",718:"ad53b059ce2e878a",740:"5898b564b913e5a4",745:"647388734f8b0997",750:"060d62d68cbdbe5b",842:"64b3f95163885589",923:"ed557c24f0510a12"}[e]+".js",a.miniCssF=e=>{},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="ngx-bootstrap-docs:";a.l=(r,d,f,o)=>{if(e[r])e[r].push(d);else{var t,l;if(void 0!==f)for(var c=document.getElementsByTagName("script"),u=0;u{t.onerror=t.onload=null,clearTimeout(b);var _=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),_&&_.forEach(h=>h(p)),g)return g(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=s.bind(null,t.onerror),t.onload=s.bind(null,t.onload),l&&document.head.appendChild(t)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={121:0};a.f.j=(d,f)=>{var o=a.o(e,d)?e[d]:void 0;if(0!==o)if(o)f.push(o[2]);else if(121!=d){var t=new Promise((i,s)=>o=e[d]=[i,s]);f.push(o[2]=t);var l=a.p+a.u(d),c=new Error;a.l(l,i=>{if(a.o(e,d)&&(0!==(o=e[d])&&(e[d]=void 0),o)){var s=i&&("load"===i.type?"missing":i.type),b=i&&i.target&&i.target.src;c.message="Loading chunk "+d+" failed.\n("+s+": "+b+")",c.name="ChunkLoadError",c.type=s,c.request=b,o[1](c)}},"chunk-"+d,d)}else e[d]=0},a.O.j=d=>0===e[d];var n=(d,f)=>{var c,u,[o,t,l]=f,i=0;if(o.some(b=>0!==e[b])){for(c in t)a.o(t,c)&&(a.m[c]=t[c]);if(l)var s=l(a)}for(d&&d(f);i{"use strict";var e,v={},m={};function a(e){var n=m[e];if(void 0!==n)return n.exports;var r=m[e]={exports:{}};return v[e](r,r.exports,a),r.exports}a.m=v,e=[],a.O=(n,r,o,d)=>{if(!r){var t=1/0;for(f=0;f=d)&&Object.keys(a.O).every(p=>a.O[p](r[c]))?r.splice(c--,1):(l=!1,d0&&e[f-1][2]>d;f--)e[f]=e[f-1];e[f]=[r,o,d]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((n,r)=>(a.f[r](e,n),n),[])),a.u=e=>(76===e?"common":e)+"."+{43:"f0324c6e64b00dca",76:"2cb87d03c858586a",90:"2dff8eb6884f2f20",117:"3c4e6954d82cfade",126:"cd07483a4d8508aa",268:"a6b5563c8d1fe58c",304:"93cd58df19aef522",412:"fc9160f67c24d9ff",444:"5ce87559558c9959",515:"6014483ce28a0b4f",519:"7c86e5a964ea54a0",546:"08d650b182104bb3",648:"191424c53e08bc03",673:"9271d1966d2801e2",718:"ad53b059ce2e878a",740:"5898b564b913e5a4",745:"647388734f8b0997",750:"060d62d68cbdbe5b",842:"64b3f95163885589",923:"ed557c24f0510a12"}[e]+".js",a.miniCssF=e=>{},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="ngx-bootstrap-docs:";a.l=(r,o,d,f)=>{if(e[r])e[r].push(o);else{var t,l;if(void 0!==d)for(var c=document.getElementsByTagName("script"),u=0;u{t.onerror=t.onload=null,clearTimeout(b);var _=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),_&&_.forEach(h=>h(p)),g)return g(p)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=s.bind(null,t.onerror),t.onload=s.bind(null,t.onload),l&&document.head.appendChild(t)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={121:0};a.f.j=(o,d)=>{var f=a.o(e,o)?e[o]:void 0;if(0!==f)if(f)d.push(f[2]);else if(121!=o){var t=new Promise((i,s)=>f=e[o]=[i,s]);d.push(f[2]=t);var l=a.p+a.u(o),c=new Error;a.l(l,i=>{if(a.o(e,o)&&(0!==(f=e[o])&&(e[o]=void 0),f)){var s=i&&("load"===i.type?"missing":i.type),b=i&&i.target&&i.target.src;c.message="Loading chunk "+o+" failed.\n("+s+": "+b+")",c.name="ChunkLoadError",c.type=s,c.request=b,f[1](c)}},"chunk-"+o,o)}else e[o]=0},a.O.j=o=>0===e[o];var n=(o,d)=>{var c,u,[f,t,l]=d,i=0;if(f.some(b=>0!==e[b])){for(c in t)a.o(t,c)&&(a.m[c]=t[c]);if(l)var s=l(a)}for(o&&o(d);i