From 5668dcb7b44d45ab4c981de180531bcc68f18e19 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Thu, 9 Nov 2023 07:55:14 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20taiga-fa?= =?UTF-8?q?mily/preview-landing-components@eecf7cff3149e4b2e70d46cdb373672?= =?UTF-8?q?d57cd3b13=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 226.js | 1 + 404.html | 4 ++-- 945.js | 1 - index.html | 4 ++-- main.js | 2 +- polyfills.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 226.js delete mode 100644 945.js diff --git a/226.js b/226.js new file mode 100644 index 00000000..4059a960 --- /dev/null +++ b/226.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[226],{5226:(Qd,Dn,M)=>{M.r(Dn),M.d(Dn,{HomeComponent:()=>Wd});var C=M(3223),w=M(3543),n=M(1582),ae=M(1366),x=M(9979),_=M(214),se=(M(7354),function(t){return t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday",t}(se||{})),ot=function(t){return t[t.January=0]="January",t[t.February=1]="February",t[t.March=2]="March",t[t.April=3]="April",t[t.May=4]="May",t[t.June=5]="June",t[t.July=6]="July",t[t.August=7]="August",t[t.September=8]="September",t[t.October=9]="October",t[t.November=10]="November",t[t.December=11]="December",t}(ot||{}),Ee=M(5553),Y=M(5570);const Vt="".concat(x.f$).concat(x.F).concat(x.f$),gr=20+Vt.length,Sn=(0,_.JN)("DMY"),_r=(0,_.JN)(".");class ${constructor(o){this.year=o}static isValidYear(o){return Number.isInteger(o)&&(0,Y.wf)(o,0,1e4)}static isLeapYear(o){return o%400==0||o%4==0&&o%100!=0}static getAbsoluteLeapYears(o){return Math.ceil(o/400)+(Math.ceil(o/4)-Math.ceil(o/100))}static lengthBetween(o,e){return e.year-o.year}static normalizeYearPart(o){return(0,Y.G1)(o,0,9999)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return $.isLeapYear(this.year)}get absoluteLeapYears(){return $.getAbsoluteLeapYears(this.year)}yearBefore({year:o}){return this.year=o}yearAfter({year:o}){return this.year>o}append({year:o=0}){return new $(this.year+o)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](o){return Date.prototype[Symbol.toPrimitive].call(this,o)}toJSON(){return this.formattedYear}}class L extends ${constructor(o,e){super(o),this.month=e}static isValidMonth(o,e){return $.isValidYear(o)&&L.isValidMonthPart(e)}static getMonthDaysCount(o,e){switch(o){case ot.February:return e?29:28;case ot.April:case ot.June:case ot.September:case ot.November:return 30;default:return 31}}static currentLocal(){const o=new Date;return new L(o.getFullYear(),o.getMonth())}static currentUtc(){const o=new Date;return new L(o.getUTCFullYear(),o.getUTCMonth())}static lengthBetween(o,e){return e.month+12*e.year-(o.month+12*o.year)}static normalizeMonthPart(o){return(0,Y.G1)(o,0,11)}static isValidMonthPart(o){return Number.isInteger(o)&&(0,Y.wf)(o,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return L.getMonthDaysCount(this.month,this.isLeapYear)}monthBefore(o){return this.yearBefore(o)||this.yearSame(o)&&this.month=o.month}monthAfter(o){return this.yearAfter(o)||this.yearSame(o)&&this.month>o.month}append({year:o=0,month:e=0}){const i=12*(this.year+o)+this.month+e;return new L(Math.floor(i/12),i%12)}toString(){return"".concat(this.formattedMonthPart,".").concat(this.formattedYear)}valueOf(){return this.toLocalNativeDate().valueOf()}toJSON(){return"".concat(super.toJSON(),"-").concat(this.formattedMonthPart)}toLocalNativeDate(){return new Date(this.year,this.month)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month))}}class R extends L{constructor(o,e,i){super(o,e),this.day=i}static fromLocalNativeDate(o){return new R(o.getFullYear(),o.getMonth(),o.getDate())}static fromUtcNativeDate(o){return new R(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate())}static isValidDay(o,e,i){return L.isValidMonth(o,e)&&Number.isInteger(i)&&(0,Y.wf)(i,1,L.getMonthDaysCount(e,$.isLeapYear(o))+1)}static currentLocal(){const o=new Date,e=o.getFullYear(),i=o.getMonth(),r=o.getDate();return new R(e,i,r)}static currentUtc(){const o=new Date,e=o.getUTCFullYear(),i=o.getUTCMonth(),r=o.getUTCDate();return new R(e,i,r)}static normalizeOf(o,e,i){const r=$.normalizeYearPart(o),a=L.normalizeMonthPart(e),l=R.normalizeDayPart(i,a,r);return new R(r,a,l)}static lengthBetween(o,e){return Math.round((e.toLocalNativeDate().getTime()-o.toLocalNativeDate().getTime())/864e5)}static parseRawDateString(o,e="DMY"){switch(e){case"YMD":return{day:parseInt(o.slice(8,10),10),month:parseInt(o.slice(5,7),10)-1,year:parseInt(o.slice(0,4),10)};case"MDY":return{day:parseInt(o.slice(3,5),10),month:parseInt(o.slice(0,2),10)-1,year:parseInt(o.slice(6,10),10)};default:return{day:parseInt(o.slice(0,2),10),month:parseInt(o.slice(3,5),10)-1,year:parseInt(o.slice(6,10),10)}}}static normalizeParse(o,e="DMY"){const{day:i,month:r,year:a}=this.parseRawDateString(o,e);return R.normalizeOf(a,r,i)}static jsonParse(o){const{day:e,month:i,year:r}=this.parseRawDateString(o,"YMD");if(!$.isValidYear(r))throw new Ee.JY(r);if(!L.isValidMonth(r,i))throw new Ee.AM(i);if(!Number.isInteger(e)||!(0,Y.wf)(e,1,L.getMonthDaysCount(i,$.isLeapYear(r))+1))throw new Ee.I4(e);return new R(r,i,e)}static normalizeDayPart(o,e,i){const r=L.getMonthDaysCount(e,$.isLeapYear(i));return(0,Y.G1)(o,1,r)}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const o=this.dayOfWeek(!1);return o===se.Saturday||o===se.Sunday}dayOfWeek(o=!0){const e=o?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return e<0?6:e}dayBefore(o){return this.monthBefore(o)||this.monthSame(o)&&this.day=o.day}dayAfter(o){return this.monthAfter(o)||this.monthSame(o)&&this.day>o.day}dayLimit(o,e){return null!==o&&this.dayBefore(o)?o:null!==e&&this.dayAfter(e)?e:this}append({year:o=0,month:e=0,day:i=0}){const r=12*(this.year+o)+this.month+e;let a=Math.floor(r/12),l=r%12,c=Math.min(this.day,L.getMonthDaysCount(l,$.isLeapYear(a)))+i;for(;c>L.getMonthDaysCount(l,$.isLeapYear(a));)c-=L.getMonthDaysCount(l,$.isLeapYear(a)),l===ot.December?(a++,l=ot.January):l++;for(;c<1;)l===ot.January?(a--,l=ot.December):l--,c+=L.getMonthDaysCount(l,$.isLeapYear(a));return new R(a,l,c)}getFormattedDay(o,e){const i=this.formattedDayPart,r=this.formattedMonthPart,a=this.formattedYear;switch(o){case"YMD":return"".concat(a).concat(e).concat(r).concat(e).concat(i);case"MDY":return"".concat(r).concat(e).concat(i).concat(e).concat(a);default:return"".concat(i).concat(e).concat(r).concat(e).concat(a)}}toString(o="DMY",e="."){return this.getFormattedDay(o,e)}toJSON(){return"".concat(super.toJSON(),"-").concat(this.formattedDayPart)}toLocalNativeDate(){return new Date(this.year,this.month,this.day)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month,this.day))}}class Ht{constructor(o,e){this.from=o,this.to=e}static sort(o,e){return o.monthSameOrBefore(e)?new Ht(o,e):new Ht(e,o)}get isSingleMonth(){return this.from.monthSame(this.to)}monthSame(o){return this.from.monthSame(o.from)&&this.to.monthSame(o.to)}toString(){return"".concat(this.from).concat(Vt).concat(this.to)}}class rt extends Ht{constructor(o,e){super(o,e),this.from=o,this.to=e}static sort(o,e){return o.daySameOrBefore(e)?new rt(o,e):new rt(e,o)}static normalizeParse(o,e="DMY"){const i=R.normalizeParse(o.slice(0,10),e);return o.lengthx.LZ,kn={decimalLimit:1/0,decimalSeparator:",",thousandSeparator:x.f$,zeroPadding:!0,rounding:"truncate",decimal:"not-zero"},vr=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"],En=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"];var An=M(9167),F=M(1996),H=M(2925),Q=M(7786);function Pr(t,o){1&t&&n._UZ(0,"tui-scroll-controls",2)}const Dr=["*"];let ce=(()=>{class t{constructor(e,i,r,a){this.cssRef=e,this.el=i,this.userAgent=r,this.isIos=a,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||function Tr(t){return t.toLowerCase().includes("firefox")}(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new n.SBq(this.el.nativeElement)}get showScrollbars(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}get showNative(){return this.isLegacy&&!this.hidden&&!this.delegated}onScrollable(e){this.delegated=!0,this.browserScrollRef.nativeElement=e}scrollIntoView(e){var i;if(this.delegated)return;const{nativeElement:r}=this.browserScrollRef,{offsetTop:a,offsetLeft:l}=(0,F.YX)(r,e),{clientHeight:c,clientWidth:d}=r,{offsetHeight:p,offsetWidth:h}=e;null===(i=r.scrollTo)||void 0===i||i.call(r,l+h/2-d/2,a+p/2-c/2)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Q.ux),n.Y36(n.SBq),n.Y36(Q.yZ),n.Y36(H.FA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(e,i){1&e&&n.NdJ("tui-scrollable.stop",function(a){return i.onScrollable(a.detail)})("tui-scroll-into-view.stop",function(a){return i.scrollIntoView(a.detail)}),2&e&&n.ekj("_legacy",i.showNative)},inputs:{hidden:"hidden"},features:[n._Bn([{provide:H.$_,deps:[t],useFactory:({browserScrollRef:o})=>o}])],ngContentSelectors:Dr,decls:3,vars:1,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(e,i){1&e&&(n.F$t(),n.YNc(0,Pr,1,0,"tui-scroll-controls",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA()),2&e&&n.Q6J("ngIf",i.showScrollbars)},dependencies:[An.tZ,C.O5],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-01)}"],changeDetection:0}),t})(),Be=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,An.eI]]}),t})();class xr{constructor(o){this.$implicit=o}}let Fn=(()=>{class t{constructor(e,i){this.viewContainer=e,this.templateRef=i}set tuiRepeatTimesOf(e){const i=Math.floor((0,Y.Ki)(e,0,65536)),{length:r}=this.viewContainer;e{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var at=M(1860),D=M(3014),Rt=M(1145),q=M(3506),y=M(5990),ft=M(9735),vt=M(8777);function yr({currentTarget:t,relatedTarget:o}){return!(0,F.ve)(o)||!(0,F.ve)(t)||!t.contains(o)}let Mt=(()=>{class t extends Rt.y{constructor(e,i){super(r=>this.stream$.subscribe(r)),this.el=e,this.zone=i,this.stream$=(0,q.T)((0,D.mL)(this.el.nativeElement,"mouseenter").pipe((0,y.U)(x.Ye)),(0,D.mL)(this.el.nativeElement,"mouseleave").pipe((0,y.U)(x.Iy)),(0,D.mL)(this.el.nativeElement,"mouseout").pipe((0,ft.h)(yr),(0,y.U)(x.Iy))).pipe((0,vt.x)(),(0,D.Yr)(this.zone))}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.SBq),n.LFG(n.R0b))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),Ue=(()=>{class t{constructor(e){this.tuiHoveredChange=e}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Mt))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},features:[n._Bn([Mt])]}),t})(),ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Rn=(()=>{class t{constructor(e,i){this.el=e,this.takeOnlyTrustedEvents=i,this.tuiPressedChange=(0,D.pn)(this.el.nativeElement,{onlyTrusted:this.takeOnlyTrustedEvents})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(H.wx))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiPressedChange",""]],outputs:{tuiPressedChange:"tuiPressedChange"}}),t})(),Ye=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var pt=function(t){return t.Accent="accent",t.Flat="flat",t.Icon="icon",t.Outline="outline",t.Primary="primary",t.Secondary="secondary",t.SecondaryDestructive="secondary-destructive",t.Table="table",t.Textfield="textfield",t.Whiteblock="whiteblock",t.WhiteblockActive="whiteblock-active",t}(pt||{}),tt=function(t){return t.Active="active",t.Disabled="disabled",t.Hover="hover",t.Readonly="readonly",t}(tt||{}),et=function(t){return t.End="end",t.Single="single",t.Start="start",t}(et||{}),T=M(4960),de=M(1297),J=M(7701);let kr=(()=>{class t{constructor(e,i){this.el=e,this.destroy$=i}set tuiScrollIntoView(e){e&&(0,de.H)(0).pipe((0,J.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.dispatchEvent(new CustomEvent("tui-scroll-into-view",{bubbles:!0,detail:this.el.nativeElement}))})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(T.a3,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[n._Bn([T.a3])]}),t})(),Er=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();function Ar(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",4),n.NdJ("click",function(){const a=n.CHM(e).tuiLet,l=n.oxw(3);return n.KtG(l.onItemClick(a))})("tuiHoveredChange",function(r){const l=n.CHM(e).tuiLet,c=n.oxw(3);return n.KtG(c.onItemHovered(r,l))})("tuiPressedChange",function(r){const l=n.CHM(e).tuiLet,c=n.oxw(3);return n.KtG(c.onItemPressed(r,l))}),n.TgZ(1,"div",5),n._uU(2),n.qZA()()}if(2&t){const e=o.tuiLet,i=n.oxw(3);n.ekj("t-cell_interval",i.itemIsInterval(e))("t-cell_today",i.itemIsToday(e)),n.Q6J("tuiScrollIntoView",i.scrollItemIntoView(e)),n.uIk("data-range",i.getItemRange(e))("data-state",i.getItemState(e)),n.xp6(2),n.Oqu(e)}}function Lr(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Ar,3,8,"div",3),n.BQk()),2&t){const e=o.$implicit,i=n.oxw().$implicit,r=n.oxw();n.xp6(1),n.Q6J("tuiLet",r.getItem(i,e))}}function Fr(t,o){1&t&&(n.TgZ(0,"div",1),n.YNc(1,Lr,2,1,"ng-container",2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("tuiRepeatTimesOf",4))}let Hr=(()=>{class t{constructor(){this.hoveredItem=null,this.pressedItem=null,this.currentYear=L.currentLocal().year,this.value=null,this.initialItem=L.currentLocal(),this.min=ut,this.max=dt,this.disabledItemHandler=x.Iy,this.yearClick=new n.vpe}get computedMin(){var e;return null!==(e=this.min)&&void 0!==e?e:ut}get computedMax(){var e;return null!==(e=this.max)&&void 0!==e?e:dt}get isSingle(){return this.isRange(this.value)&&this.value.from.yearSame(this.value.to)}get rows(){return Math.ceil((this.calculatedMax-this.calculatedMin)/4)}get calculatedMin(){const e=this.initialItem.year-100,i=this.computedMin;return i.year>e?i.year:e}get calculatedMax(){const e=this.initialItem.year+100,i=this.computedMax;return i.yeari.from.year&&i.from.year===e&&i.from.yearSame(i.to)||null!==r&&r===e&&ri.from.year&&i.from.yearSame(i.to)?et.End:i.from.yearSame(i.to)&&i.from.year===e?et.Single:null:i.find(a=>a.year===e)?et.Single:null}itemIsToday(e){return this.currentYear===e}itemIsInterval(e){const{value:i,hoveredItem:r}=this;return!(null===i||!this.isRange(i))&&(i.from.yearSame(i.to)?null!==r&&i.from.year!==r&&(0,Y.wf)(e,Math.min(i.from.year,r),Math.max(i.from.year,r)):i.from.year<=e&&i.to.year>e)}onItemHovered(e,i){this.updateHoveredItem(e,i)}onItemPressed(e,i){this.updatePressedItem(e,i)}onItemClick(e){this.yearClick.emit(new $(e))}updateHoveredItem(e,i){this.hoveredItem=e?i:null}updatePressedItem(e,i){this.pressedItem=e?i:null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-year-picker"]],hostVars:2,hostBindings:function(e,i){2&e&&n.ekj("_single",i.isSingle)},inputs:{value:"value",initialItem:"initialItem",min:"min",max:"max",disabledItemHandler:"disabledItemHandler"},outputs:{yearClick:"yearClick"},decls:1,vars:1,consts:[["automation-id","tui-primitive-year-picker__row","class","t-row",4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-primitive-year-picker__row",1,"t-row"],[4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-primitive-year-picker__cell","class","t-cell",3,"t-cell_interval","t-cell_today","tuiScrollIntoView","click","tuiHoveredChange","tuiPressedChange",4,"tuiLet"],["automation-id","tui-primitive-year-picker__cell",1,"t-cell",3,"tuiScrollIntoView","click","tuiHoveredChange","tuiPressedChange"],[1,"t-item"]],template:function(e,i){1&e&&n.YNc(0,Fr,2,1,"div",0),2&e&&n.Q6J("tuiRepeatTimesOf",i.rows)},dependencies:[Fn,at.Ls,kr,Ue,Rn],styles:['[_nghost-%COMP%]{display:block;font:var(--tui-font-text-m)}.t-row[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item[_ngcontent-%COMP%]{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:before, .t-item[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:after{border-radius:.5rem}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:3.9375rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today[_ngcontent-%COMP%]:after{position:absolute;left:50%;transform:translate(-50%);content:"";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-base-02)}._single[_nghost-%COMP%] .t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-secondary-hover)}.t-cell_interval[_ngcontent-%COMP%]:not(:last-child):before{right:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval[_ngcontent-%COMP%]:not([data-range="start"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval[_ngcontent-%COMP%]:last-child:first-child:before{right:0}.t-cell_interval[_ngcontent-%COMP%]:first-child > .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background-color:var(--tui-primary-text)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-primary-text)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][data-state=hover][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][data-state=active][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-base-02)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell[data-state=disabled][_ngcontent-%COMP%]{pointer-events:none}.t-cell[data-state=disabled][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[data-state=hover][_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active][_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background-color:var(--tui-secondary-active)}[_nghost-%COMP%]{width:15.75rem}.t-row[_ngcontent-%COMP%]{margin:.875rem 0}.t-row[_ngcontent-%COMP%]:first-child{margin-top:0}.t-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}'],changeDetection:0}),t})(),Rr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[ue,Ye,Hn,at.WD,Er]]}),t})(),jt=(()=>{class t{constructor(){this.focusable=!0}get tabIndex(){return this.focusable?0:-1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiFocusable",""]],hostVars:1,hostBindings:function(e,i){2&e&&n.Ikx("tabIndex",i.tabIndex)},inputs:{focusable:["tuiFocusable","focusable"]}}),t})(),Zt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var E=M(7780),z=M(2659);function Bn(t,o=function Nr(){return Math.floor(Math.random()*Date.now())}(),e="rgba(0, 0, 0, 0.7)"){if((0,_.Aj)(t)){const r=function Br(t){var o;const e=(null!==(o=t.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==o?o:[]).map(i=>i.slice(4,i.length-1).replace(/['"#]+/g,""));return Array.from(new Set(e))}(t).reduce((a,l)=>{const c=function zr(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(l),d="id_".concat(o,"_").concat(l);return a.replace(new RegExp('"'.concat(c,'"'),"g"),'"'.concat(d,'"')).replace(new RegExp("'".concat(c,"'"),"g"),"'".concat(d,"'")).replace(new RegExp("url\\('#".concat(c,"'\\)"),"g"),"url('#".concat(d,"')")).replace(new RegExp('url\\("#'.concat(c,'"\\)'),"g"),'url("#'.concat(d,'")')).replace(new RegExp("url\\(#".concat(c,"\\)"),"g"),"url(#".concat(d,")"))},t);return function Ur(t,o){try{const e=(new DOMParser).parseFromString(t,"text/html");return e.body.querySelectorAll("[fill^=url]").forEach(i=>i.setAttribute("fill","".concat(i.getAttribute("fill")," ").concat(o).trim())),e.body.innerHTML.trim()}catch{return t}}(r,e)}return t}var s=function(t){return t.AD="AD",t.AE="AE",t.AF="AF",t.AG="AG",t.AI="AI",t.AL="AL",t.AM="AM",t.AO="AO",t.AR="AR",t.AT="AT",t.AU="AU",t.AW="AW",t.AZ="AZ",t.BA="BA",t.BB="BB",t.BD="BD",t.BE="BE",t.BF="BF",t.BG="BG",t.BH="BH",t.BI="BI",t.BJ="BJ",t.BL="BL",t.BM="BM",t.BN="BN",t.BO="BO",t.BQ="BQ",t.BR="BR",t.BS="BS",t.BT="BT",t.BW="BW",t.BY="BY",t.BZ="BZ",t.CA="CA",t.CD="CD",t.CF="CF",t.CG="CG",t.CH="CH",t.CI="CI",t.CL="CL",t.CM="CM",t.CN="CN",t.CO="CO",t.CR="CR",t.CU="CU",t.CV="CV",t.CW="CW",t.CY="CY",t.CZ="CZ",t.DE="DE",t.DJ="DJ",t.DK="DK",t.DM="DM",t.DO="DO",t.DZ="DZ",t.EC="EC",t.EE="EE",t.EG="EG",t.ER="ER",t.ES="ES",t.ET="ET",t.FI="FI",t.FJ="FJ",t.FK="FK",t.FM="FM",t.FR="FR",t.GA="GA",t.GB="GB",t.GD="GD",t.GE="GE",t.GF="GF",t.GH="GH",t.GI="GI",t.GL="GL",t.GM="GM",t.GN="GN",t.GP="GP",t.GQ="GQ",t.GR="GR",t.GT="GT",t.GW="GW",t.GY="GY",t.HK="HK",t.HN="HN",t.HR="HR",t.HT="HT",t.HU="HU",t.ID="ID",t.IE="IE",t.IL="IL",t.IN="IN",t.IQ="IQ",t.IR="IR",t.IS="IS",t.IT="IT",t.JM="JM",t.JO="JO",t.JP="JP",t.KE="KE",t.KG="KG",t.KH="KH",t.KM="KM",t.KN="KN",t.KP="KP",t.KR="KR",t.KW="KW",t.KY="KY",t.KZ="KZ",t.LA="LA",t.LB="LB",t.LC="LC",t.LI="LI",t.LK="LK",t.LR="LR",t.LS="LS",t.LT="LT",t.LU="LU",t.LV="LV",t.LY="LY",t.MA="MA",t.MC="MC",t.MD="MD",t.ME="ME",t.MF="MF",t.MG="MG",t.MK="MK",t.ML="ML",t.MM="MM",t.MN="MN",t.MO="MO",t.MQ="MQ",t.MR="MR",t.MS="MS",t.MT="MT",t.MU="MU",t.MV="MV",t.MW="MW",t.MX="MX",t.MY="MY",t.MZ="MZ",t.NA="NA",t.NC="NC",t.NE="NE",t.NG="NG",t.NI="NI",t.NL="NL",t.NO="NO",t.NP="NP",t.NZ="NZ",t.OM="OM",t.PA="PA",t.PE="PE",t.PF="PF",t.PG="PG",t.PH="PH",t.PK="PK",t.PL="PL",t.PT="PT",t.PW="PW",t.PY="PY",t.QA="QA",t.RE="RE",t.RO="RO",t.RS="RS",t.RU="RU",t.RW="RW",t.SA="SA",t.SB="SB",t.SC="SC",t.SD="SD",t.SE="SE",t.SG="SG",t.SH="SH",t.SI="SI",t.SK="SK",t.SL="SL",t.SM="SM",t.SN="SN",t.SO="SO",t.SR="SR",t.ST="ST",t.SV="SV",t.SX="SX",t.SY="SY",t.SZ="SZ",t.TC="TC",t.TD="TD",t.TG="TG",t.TH="TH",t.TJ="TJ",t.TL="TL",t.TM="TM",t.TN="TN",t.TO="TO",t.TR="TR",t.TT="TT",t.TW="TW",t.TZ="TZ",t.UA="UA",t.UG="UG",t.US="US",t.UY="UY",t.UZ="UZ",t.VC="VC",t.VE="VE",t.VG="VG",t.VN="VN",t.VU="VU",t.WS="WS",t.XK="XK",t.YE="YE",t.YT="YT",t.ZA="ZA",t.ZM="ZM",t.ZW="ZW",t}(s||{});const Wr=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:{[s.AD]:"Andorra",[s.AE]:"United Arab Emirates",[s.AF]:"Afghanistan",[s.AG]:"Antigua and Barbuda",[s.BL]:"Saint Barth\xe9lemy",[s.AI]:"Anguilla",[s.AL]:"Albania",[s.AM]:"Armenia",[s.AO]:"Angola",[s.AR]:"Argentina",[s.AT]:"Austria",[s.AU]:"Australia",[s.AW]:"Aruba",[s.AZ]:"Azerbaijan",[s.BA]:"Bosnia and Herzegovina",[s.BB]:"Barbados",[s.BD]:"Bangladesh",[s.BE]:"Belgium",[s.BF]:"Burkina Faso",[s.BG]:"Bulgaria",[s.BH]:"Bahrain",[s.BI]:"Burundi",[s.BJ]:"Benin",[s.GF]:"Guyana",[s.BM]:"Bermuda",[s.BN]:"Brunei Darussalam",[s.BO]:"Bolivia",[s.BQ]:"Bonaire, Sint Eustatius and Saba",[s.BR]:"Brazil",[s.BS]:"Bahamas",[s.BT]:"Bhutan",[s.BW]:"Botswana",[s.BY]:"Belarus",[s.BZ]:"Belize",[s.CA]:"Canada",[s.CD]:"Dem. Rep. Congo (Kinshasa)",[s.CF]:"Central African Republic",[s.CG]:"Congo (Brazzaville)",[s.CH]:"Switzerland",[s.CI]:"Ivory Coast",[s.CL]:"Chile",[s.CM]:"Cameroon",[s.CN]:"China",[s.CO]:"Colombia",[s.CR]:"Costa Rica",[s.CU]:"Cuba",[s.CV]:"Cape Verde",[s.CW]:"Cura\xe7ao",[s.CY]:"Cyprus",[s.CZ]:"Czech Republic",[s.DE]:"Germany",[s.DJ]:"Djibouti",[s.DK]:"Denmark",[s.DM]:"Dominica",[s.DO]:"Dominican Republic",[s.DZ]:"Algeria",[s.EC]:"Ecuador",[s.EE]:"Estonia",[s.EG]:"Egypt",[s.ER]:"Eritrea",[s.ES]:"Spain",[s.ET]:"Ethiopia",[s.FI]:"Finland",[s.FJ]:"Fiji",[s.FK]:"Falkland Islands",[s.FM]:"F.S. of Micronesia",[s.FR]:"France",[s.GA]:"Gabon",[s.GB]:"United Kingdom",[s.GD]:"Grenada",[s.GE]:"Georgia",[s.GP]:"Guadeloupe",[s.GH]:"Ghana",[s.GI]:"Gibraltar",[s.GL]:"Greenland",[s.GM]:"Gambia",[s.GN]:"Guinea",[s.MF]:"Saint-Martin",[s.GQ]:"Equatorial Guinea",[s.GR]:"Greece",[s.GT]:"Guatemala",[s.GW]:"Guinea-Bissau",[s.GY]:"Guyana",[s.HK]:"Hong Kong",[s.HN]:"Honduras",[s.HR]:"Croatia",[s.HT]:"Haiti",[s.HU]:"Hungary",[s.ID]:"Indonesia",[s.IE]:"Ireland",[s.IL]:"Israel",[s.IN]:"India",[s.IQ]:"Iraq",[s.IR]:"Iran",[s.IS]:"Iceland",[s.IT]:"Italy",[s.JM]:"Jamaica",[s.JO]:"Jordan",[s.JP]:"Japan",[s.KE]:"Kenya",[s.KG]:"Kyrgyzstan",[s.KH]:"Cambodia",[s.KM]:"Comoros",[s.KN]:"Saint Kitts and Nevis",[s.KP]:"Korean PDR",[s.KR]:"Rep. Korea",[s.KW]:"Kuwait",[s.KY]:"Cayman Islands",[s.KZ]:"Kazakhstan",[s.LA]:"Laos",[s.LB]:"Lebanon",[s.LC]:"Saint Lucia",[s.LI]:"Liechtenstein",[s.LK]:"Sri Lanka",[s.LR]:"Liberia",[s.LS]:"Lesotho",[s.LT]:"Lithuania",[s.LU]:"Luxembourg",[s.LV]:"Latvia",[s.LY]:"Libya",[s.MA]:"Morocco",[s.MC]:"Monaco",[s.MD]:"Moldova",[s.ME]:"Montenegro",[s.MQ]:"Martinique",[s.MG]:"Madagascar",[s.MK]:"Rep. of North Macedonia",[s.ML]:"Mali",[s.MM]:"Burma (Myanmar)",[s.MN]:"Mongolia",[s.MO]:"Macau",[s.RE]:"R\xe9union",[s.MR]:"Mauritania",[s.MS]:"Montserrat",[s.MT]:"Malta",[s.MU]:"Mauritius",[s.MV]:"Maldives",[s.MW]:"Malawi",[s.MX]:"Mexico",[s.MY]:"Malaysia",[s.MZ]:"Mozambique",[s.NA]:"Namibia",[s.NC]:"New Caledonia",[s.NE]:"Niger",[s.NG]:"Nigeria",[s.NI]:"Nicaragua",[s.NL]:"Netherlands",[s.NO]:"Norway",[s.NP]:"Nepal",[s.NZ]:"New Zealand",[s.OM]:"Oman",[s.PA]:"Panama",[s.PE]:"Peru",[s.PF]:"French Polynesia (Tahiti)",[s.PG]:"Papua New Guinea",[s.PH]:"Philippines",[s.PK]:"Pakistan",[s.PL]:"Poland",[s.PT]:"Portugal",[s.PW]:"Palau",[s.PY]:"Paraguay",[s.QA]:"Qatar",[s.YT]:"Mayotte",[s.RO]:"Romania",[s.RS]:"Serbia",[s.RU]:"Russia",[s.RW]:"Rwanda",[s.SA]:"Saudi Arabia",[s.SB]:"Solomon Islands",[s.SC]:"Seychelles",[s.SD]:"Sudan",[s.SE]:"Sweden",[s.SG]:"Singapore",[s.SH]:"Saint Helena",[s.SI]:"Slovenia",[s.SK]:"Slovakia",[s.SL]:"Sierra Leone",[s.SM]:"San Marino",[s.SN]:"Senegal",[s.SO]:"Somalia",[s.SR]:"Suriname",[s.ST]:"Sao Tome and Principe",[s.SV]:"El Salvador",[s.SX]:"Sint Maarten",[s.SY]:"Syrian Arab Republic",[s.SZ]:"Swaziland",[s.TC]:"Turks and Caicos",[s.TD]:"Chad",[s.TG]:"Togo",[s.TH]:"Thailand",[s.TJ]:"Tajikistan",[s.TL]:"East Timor",[s.TM]:"Turkmenistan",[s.TN]:"Tunisia",[s.TO]:"Tonga",[s.TR]:"Turkey",[s.TT]:"Trinidad and Tobago",[s.TW]:"Taiwan",[s.TZ]:"Tanzania",[s.UA]:"Ukraine",[s.UG]:"Uganda",[s.US]:"USA",[s.UY]:"Uruguay",[s.UZ]:"Uzbekistan",[s.VC]:"Saint Vincent and the Grenadines",[s.VE]:"Venezuela",[s.VG]:"British Virgin Islands",[s.VN]:"Vietnam",[s.VU]:"Vanuatu",[s.WS]:"Samoa",[s.XK]:"Kosovo",[s.YE]:"Yemen",[s.ZA]:"South Africa",[s.ZM]:"Zambia",[s.ZW]:"Zimbabwe"}}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}});var j=M(287);const Qr=new n.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>Wr}),Kr=new n.OlP("[TUI_LANGUAGE]",{factory:()=>(0,j.of)((0,n.f3M)(Qr))});new n.OlP("[TUI_LANGUAGE_LOADER]"),new n.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});var Un=M(2861),nt=M(3318);function A(t){return()=>(0,n.f3M)(Kr).pipe((0,nt.w)(o=>(0,Un.b)(o)?o:(0,j.of)(o)),(0,y.U)(o=>o[t]))}function Yn(t){const o=t.endsWith("/")?t:"".concat(t,"/");return e=>e.startsWith("tuiIcon")?"".concat(o).concat(e,".svg").concat(Ne,"#").concat(e):(t=>t.includes(".svg#")?t:"#".concat(t))(e)}function Gn(t,o="tui-hints-host"){var e;return!(null===(e=(0,F.PU)(t))||void 0===e||!e.some(i=>!i.closest(o)))}const $n={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function Vn(t,o="s"){return $n[t]>$n[o]}function Jn(t){return!(!t||typeof getComputedStyle>"u")&&("fixed"===getComputedStyle(t).getPropertyValue("position")||Jn(t.parentElement))}function jn({document:t,innerWidth:o}){return Math.max(t.documentElement.clientWidth||0,o||0)}const $e='width="',Ve='height="',Je="{var t,o,e;return null!==(e=null===(o=null===(t=(0,n.f3M)(C.K0).defaultView)||void 0===t?void 0:t.matchMedia)||void 0===o?void 0:o.call(t,"(prefers-reduced-motion: reduce)").matches)&&void 0!==e&&e}),Zn=(0,_.N1)(()=>(0,n.f3M)(ra)?0:300),Wn=(0,_.N1)(()=>({value:"",params:{duration:(0,n.f3M)(Zn)}})),Qn=((0,_.N1)(()=>(0,n.X6Q)()),{check:"tuiIconCheck",close:"tuiIconClose",error:"tuiIconAlertCircle",more:"tuiIconChevronRight"}),he=(0,_.JN)(Qn);new n.OlP("[TUI_DATA_LIST_ACCESSOR]");const la=new n.OlP("[TUI_DATA_LIST_HOST]");function ca(t){return{provide:la,useExisting:t}}const ua=(0,_.JN)(t=>t.isWeekend?"weekend":"weekday"),Ze=(new n.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]"),new n.OlP("[TUI_ELEMENT_REF]"),(0,_.JN)(se.Monday)),da=(0,_.N1)(A("months")),pa=(0,_.N1)(A("close")),ha=((0,_.N1)(A("nothingFoundMessage")),(0,_.N1)(A("defaultErrorMessage")),(0,_.N1)(A("spinTexts"))),Kn=(0,_.N1)(A("shortWeekDays")),We="assets/taiga-ui/icons",Xn=(0,_.JN)(We),ga=(0,_.JN)({}),_a=(0,_.N1)(()=>Yn((0,n.f3M)(Xn))),ma=(0,_.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),fa=((0,_.N1)(()=>{const t=(0,n.f3M)(Q.m9),o=(0,n.f3M)(ma);return(0,D.mL)(t,"resize").pipe((0,pe.B)(),(0,Nt.O)(null),(0,y.U)(()=>function oa(t,{mobile:o}){return jn(t)va[t],size:"m",hasIcon:!0,defaultAutoCloseTime:3e3};(0,_.JN)(ti),(0,_.JN)(kn),(0,_.JN)((0,j.of)(Object.assign(Object.assign({},kn),{decimalLimit:NaN}))),new n.OlP("[TUI_OPTION_CONTENT]");const Ta=t=>{const o=t.length-1;return[t[o],...t.slice(0,o)]},ei=((0,_.N1)(()=>{const t=(0,n.f3M)(Ze);return(0,n.f3M)(Kn).pipe((0,y.U)(Ta),(0,y.U)(o=>[...o.slice(t),...o.slice(0,t)]))}),new n.OlP("[TUI_SANITIZER]")),ba=((0,_.N1)(()=>{const t=(0,n.f3M)(C.K0);return(0,q.T)((0,D.mL)(t,"selectionchange"),(0,D.mL)(t,"mouseup"),(0,D.mL)(t,"mousedown").pipe((0,nt.w)(()=>(0,D.mL)(t,"mousemove").pipe((0,J.R)((0,D.mL)(t,"mouseup"))))),(0,D.mL)(t,"keydown"),(0,D.mL)(t,"keyup")).pipe((0,pe.B)())}),(0,_.JN)({decrement:"tuiIconChevronLeft",increment:"tuiIconChevronRight"})),Pa=(0,_.JN)(Bn),Da=(0,_.JN)(je.y),wa=(0,_.JN)(pt.Textfield),Qe=new n.OlP("[TUI_TEXTFIELD_HOST]");function ni(t){return{provide:Qe,useExisting:t}}(0,_.JN)("Taiga");const ii=new n.OlP("[TUI_VALUE_ACCESSOR]"),Wt=(0,_.N1)(()=>{const t=(0,n.f3M)(Q.m9);return{type:"viewport",getClientRect:()=>({top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight})}});let Qt=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.mode=null}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiMode",""]],inputs:{mode:["tuiMode","mode"]},features:[n.qOj]}),t})();var Ke=M(1288),it=M(3449),oi=M(5813),ht=M(4847),zt=M(8626),xa=M(5220);class Ot extends Rt.y{}function Kt(t){return{provide:Ot,multi:!0,useExisting:t}}class ge{}function ri(t){return{provide:ge,multi:!0,useExisting:t}}let ai=(()=>{class t{constructor(e,i,r){this.destroy$=e,this.drivers=i,this.vehicles=r}ngOnInit(){const e=this.vehicles.find(({type:i})=>i===this.type);(0,q.T)(...this.drivers.filter(({type:i})=>i===this.type)).pipe((0,vt.x)(),(0,J.R)(this.destroy$)).subscribe(i=>{null==e||e.toggle(i)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(Ot),n.Y36(ge))},t.\u0275dir=n.lG2({type:t}),t})(),si=(()=>{class t{constructor(e){this.host=e}get readOnly(){return this.host.readOnly}get disabled(){return this.host.computedDisabled}get invalid(){return this.host.computedInvalid}get focusable(){return this.host.computedFocusable}get inputMode(){return"text"}get value(){var e;return(null===(e=this.host.value)||void 0===e?void 0:e.toString())||""}process(e){}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(E.M$))},t.\u0275dir=n.lG2({type:t}),t})();class st{}function li(t){return{provide:st,deps:[[new n.tp0,st]],useFactory:o=>o.find(e=>e.type===t)}}function Xe(t){return{provide:st,multi:!0,useExisting:t}}class Dt{}function ci(t,o){return{provide:Dt,deps:[[new n.tp0,Dt],o],useFactory:qe(t)}}function qe(t){return(o,e)=>o.find(i=>i!==e&&i.type===t)||e}function tn(t){return{provide:Dt,multi:!0,useExisting:t}}let ya=(()=>{class t extends zt.X{constructor(){super([])}add(e){this.next(this.value.concat(e))}remove(e){this.value.includes(e)&&this.next(this.value.filter(i=>i!==e))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_e=(()=>{class t extends Rt.y{constructor(e,i,r,a){super(l=>i.pipe((0,y.U)(()=>e.nativeElement.getBoundingClientRect()),(0,y.U)(c=>a.getPosition(c)),(0,D.fL)(r),(0,xa.x)(()=>a.getPosition(x.Jy))).subscribe(l))}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.SBq),n.LFG(Q.L1),n.LFG(n.R0b),n.LFG(st))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),Ia=(()=>{class t{constructor(e,i,r){this.tuiSanitizer=e,this.sanitizer=i,this.originals={},this.items$=new zt.X(new Map),this.define(r)}define(e){const{value:i}=this.items$;Object.keys(e).forEach(r=>{this.defineIcon(r,e[r],i)}),this.items$.next(i)}getOriginal(e){return this.originals[e]||null}defineIcon(e,i,r){if(r.has(e))return;const a=this.parseSrc(e,i);a&&(r.set(e,a),this.originals=Object.assign(Object.assign({},this.originals),{[e]:i}))}parseSrc(e,i){return this.sanitize(function ia(t,o){if(t.includes('id="'.concat(o,'"')))return t;const e=t.slice(Math.max(0,t.indexOf(Je))),i=e.slice(0,Math.max(0,e.indexOf(">")));if(null==i||!i.includes($e)||!i.includes(Ve))return"".concat(e.replace(Je,'");const l=i.indexOf($e)+7,c=i.indexOf(Ve)+8,d=i.slice(l,i.indexOf('"',l)),p=i.slice(c,i.indexOf('"',c));if(!p||!d||d.includes("%")||p.includes("%")||d.includes("em")||p.includes("em"))return e.replace(Je,'').concat(e,"")}(i,e))}sanitize(e){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(n.q3G.HTML,e):this.sanitizer.sanitize(n.q3G.HTML,e))||"")}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(ei,8),n.LFG(oi.H7),n.LFG(ga))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ui=(()=>{class t{constructor(e,i){this.win=e,this.isWebkit=i}correct(e){var i,r,a,l;return this.isWebkit?[e[0]+(null!==(r=null===(i=this.win.visualViewport)||void 0===i?void 0:i.offsetTop)&&void 0!==r?r:0),e[1]+(null!==(l=null===(a=this.win.visualViewport)||void 0===a?void 0:a.offsetLeft)&&void 0!==l?l:0)]:e}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(Q.m9),n.LFG(H.jF))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var di=M(8024),Sa=M(3426);function ka(t,o){if(1&t&&n._UZ(0,"div",3),2&t){const e=n.oxw().tuiLet;n.Q6J("innerHTML",e,n.oJD)}}function Ea(t,o){if(1&t){const e=n.EpF();n.O4$(),n.TgZ(0,"svg",4),n.NdJ("error",function(){n.CHM(e);const r=n.oxw(2);return n.KtG(r.onError())}),n._UZ(1,"use"),n.qZA()}if(2&t){const e=n.oxw(2);n.xp6(1),n.uIk("href",e.use,null,"xlink")}}function Aa(t,o){if(1&t&&(n.ynx(0),n.YNc(1,ka,1,1,"div",1)(2,Ea,2,1,"ng-template",null,2,n.W1O),n.BQk()),2&t){const e=n.MAs(3),i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.isInnerHTML)("ngIfElse",e)}}const La={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},Bt={iconsPlace:We,path:Yn(We),srcProcessor:je.y,contentProcessor:Bn,deprecated:t=>{const o=t.replace("Large","").replace("Outline",""),e=La[o];return e?"".concat(o,"/(Large|Outline) is deprecated, use ").concat(e,"/(Large|Outline) instead"):""}},en=(0,_.N1)(()=>({iconsPlace:(0,n.f3M)(Xn),path:(0,n.f3M)(_a),deprecated:Bt.deprecated,srcProcessor:(0,n.f3M)(Da),contentProcessor:(0,n.f3M)(Pa)})),pi=new n.OlP("[TUI_SVG_SRC_INTERCEPTORS]");let gt=(()=>{class t{constructor(e,i,r,a,l,c,d,p,h,g){this.doc=e,this.win=i,this.options=r,this.srcInterceptors=a,this.tuiSanitizer=l,this.svgService=c,this.staticRequestService=d,this.sanitizer=p,this.el=h,this.baseHref=g,this.src$=new di.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,nt.w)(()=>(0,_.Aj)(this.icon)?this.isExternal?this.getExternalIcon(this.icon):(0,j.of)(this.getSafeHtml(this.icon)):(0,j.of)(this.icon)),(0,Nt.O)(""))}set src(e){var i;this.options.deprecated(String(e)),this.icon=(null!==(i=this.srcInterceptors)&&void 0!==i?i:[]).reduce((a,l)=>l(a,this.options),this.options.srcProcessor(e||"")),this.src$.next()}get src(){return this.icon}get use(){return(0,_.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}get isInnerHTML(){return!(0,_.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}get isShadowDOM(){return(0,F.Wf)(this.el.nativeElement)!==this.doc}get isUse(){return this.use.replace(Ne,"").includes(".svg#")}get isExternal(){return this.isUrl||this.isCrossDomain}get isUrl(){return(0,_.Aj)(this.icon)&&this.icon.replace(Ne,"").endsWith(".svg")}get isSrc(){return(0,_.Aj)(this.icon)&&function ea(t){const o=t.trim();return o.startsWith("<")&&o.endsWith(">")}(this.icon)}get isName(){return!this.isUrl&&!this.isUse&&!this.isSrc}get isCrossDomain(){const{use:e,isUse:i,win:r}=this;return i&&e.startsWith("http")&&!!r.origin&&!e.startsWith(r.origin)}onError(e="External icon is missing on the given URL"){const{icon:i}=this,r=new CustomEvent("tui-icon-error",{bubbles:!0,detail:{message:e,icon:i}});this.el.nativeElement.dispatchEvent(r)}resolveName(e,i){return i(e,this.baseHref)}getSafeHtml(e){return this.isSrc?this.sanitize(e):this.process(e)}process(e){const i=this.svgService.getOriginal(e);return this.isName&&!i&&e&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(i||""):""}sanitize(e){return e=this.options.contentProcessor(e),this.tuiSanitizer&&(0,_.Aj)(e)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(n.q3G.HTML,e)||""):e}getExternalIcon(e){const i=e.includes(".svg")?e:this.use;return this.staticRequestService.request(i).pipe((0,Sa.K)(()=>(this.onError("Failed to load external SVG"),(0,j.of)(""))),(0,y.U)(r=>this.sanitize(r.replace("{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,at.WD]]}),t})();var P=M(4478);function Na(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}function za(t,o){if(1&t&&(n.O4$(),n.kcU(),n.TgZ(0,"div",6),n.YNc(1,Na,2,1,"ng-container",7),n.qZA()),2&t){const e=n.oxw(2);n.ekj("t-text_horizontal",e.isHorizontal),n.xp6(1),n.Q6J("polymorpheusOutlet",e.textContent)}}function Ba(t,o){if(1&t&&(n.TgZ(0,"div",2),n.O4$(),n.TgZ(1,"svg",3),n._UZ(2,"circle",4),n.qZA(),n.YNc(3,za,2,3,"div",5),n.qZA()),2&t){const e=n.oxw();n.ekj("t-loader_horizontal",e.isHorizontal)("t-loader_inherit-color",e.inheritColor),n.uIk("data-size",e.size),n.xp6(3),n.Q6J("ngIf",e.hasText)}}const Ua=["*"],gi=(0,_.JN)({size:"m",inheritColor:!1,overlay:!1});let nn=(()=>{class t{constructor(e,i,r,a){this.doc=e,this.el=i,this.isIos=r,this.options=a,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=function br({ownerDocument:t}){var o,e,i,r,a,l,c,d;const p=null==t?void 0:t.defaultView,h=typeof p.safari<"u"&&"[object SafariRemoteNotification]"===(null===(e=null===(o=p.safari)||void 0===o?void 0:o.pushNotification)||void 0===e?void 0:e.toString()),g=!(null===(r=null===(i=p.navigator)||void 0===i?void 0:i.vendor)||void 0===r||!r.includes("Apple")||null!==(l=null===(a=p.navigator)||void 0===a?void 0:a.userAgent)&&void 0!==l&&l.includes("CriOS")||null!==(d=null===(c=p.navigator)||void 0===c?void 0:c.userAgent)&&void 0!==d&&d.includes("FxiOS"));return h||g}(this.el.nativeElement)||this.isIos}set showLoader(e){e&&this.focused&&(0,z.hp)(this.doc),this.loading=e}get hasOverlay(){return this.overlay&&this.loading}get hasText(){return!!this.textContent}get isHorizontal(){return!Vn(this.size)}get focused(){return(0,z.zb)(this.el.nativeElement)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(C.K0),n.Y36(n.SBq),n.Y36(H.FA),n.Y36(gi))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(e,i){2&e&&n.ekj("_loading",i.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:Ua,decls:3,vars:7,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(e,i){1&e&&(n.F$t(),n.TgZ(0,"fieldset",0),n.Hsn(1),n.qZA(),n.YNc(2,Ba,4,6,"div",1)),2&e&&(n.ekj("t-content_has-overlay",i.hasOverlay)("t-content_loading",i.loading),n.Q6J("disabled",i.loading&&!i.isApple),n.uIk("inert",i.loading||null),n.xp6(2),n.Q6J("ngIf",i.loading))},dependencies:[C.O5,P.Li],styles:["@keyframes _ngcontent-%COMP%_tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes _ngcontent-%COMP%_tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:_ngcontent-%COMP%_tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:_ngcontent-%COMP%_tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),t})(),on=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,P.wq]]}),t})();new n.tp0;const wt={provide:Ct,deps:[[new n.FiY,Qt],n.SBq],useFactory:(t,{nativeElement:o})=>{const e=t?t.change$.pipe((0,Nt.O)(null),(0,y.U)(()=>t.mode)):(0,j.of)(null);return o["$.data-mode.attr"]=e,e}};let xt=(()=>{class t{constructor(e){this.mode$=e,this.disabled=!1,this.readOnly=!1,this.hover=null,this.active=null,this.focus=!1,this.invalid=!1,this.appearance=""}get computedInvalid(){return!this.disabled&&!this.readOnly&&this.invalid}get computedFocused(){return this.focus&&!this.disabled}get interactiveState(){return this.disabled?tt.Disabled:this.readOnly?tt.Readonly:this.active?tt.Active:this.hover?tt.Hover:null}get noHover(){return this.readOnly||!1===this.hover}get noActive(){return this.readOnly||!1===this.active}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Ct))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(e,i){1&e&&n.NdJ("$.data-mode.attr",function(){return i.mode$}),2&e&&(n.uIk("data-appearance",i.appearance)("data-state",i.interactiveState),n.ekj("_invalid",i.computedInvalid)("_focused",i.computedFocused)("_no-hover",i.noHover)("_no-active",i.noActive))},inputs:{disabled:"disabled",readOnly:"readOnly",hover:"hover",active:"active",focus:"focus",invalid:"invalid",appearance:"appearance"},features:[n._Bn([wt])]}),t})(),yt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const Ya=["tuiButton",""];function Ga(t,o){1&t&&n.GkF(0)}function $a(t,o){1&t&&n._UZ(0,"tui-svg",8),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function Va(t,o){if(1&t&&(n.TgZ(0,"span",6),n.YNc(1,$a,1,1,"tui-svg",7),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.icon)}}function Ja(t,o){1&t&&n._UZ(0,"tui-svg",8),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function ja(t,o){if(1&t&&(n.TgZ(0,"span",9),n.YNc(1,Ja,1,1,"tui-svg",7),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconRight)}}function Za(t,o){if(1&t&&n._UZ(0,"tui-loader",10),2&t){const e=n.oxw();n.Q6J("inheritColor",!0)("size",e.loaderSize)}}const Wa=["*"],mi=(0,_.JN)({size:"l",shape:null,appearance:pt.Primary});let rn=(()=>{class t extends E.Xn{constructor(e,i,r){var a;super(),this.mode=e,this.el=i,this.options=r,this.mode$=(null===(a=this.mode)||void 0===a?void 0:a.change$)||Ke.E,this.appearance=null,this.disabled=!1,this.shape=this.options.shape,this.showLoader=!1,this.size=this.options.size,this.appearance$=this.mode$.pipe((0,Nt.O)(null),(0,y.U)(()=>this.computedAppearance),(0,vt.x)())}get nativeFocusableElement(){return this.nativeDisabled?null:this.el.nativeElement}get focused(){return!this.showLoader&&(0,z.V8)(this.el.nativeElement)}get loaderSize(){return"l"===this.size||"xl"===this.size?"m":"s"}get computedAppearance(){var e;return null!==(e=this.appearance)&&void 0!==e?e:this.options.appearance||""}get nativeDisabled(){return this.computedDisabled||this.showLoader?"":null}get tabIndex(){return this.focusable?0:-1}onFocused(e){this.updateFocused(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Qt,8),n.Y36(n.SBq),n.Y36(mi))},t.\u0275cmp=n.Xpm({type:t,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(e,i){1&e&&n.NdJ("focusin",function(){return i.onFocused(!0)})("focusout",function(){return i.onFocused(!1)}),2&e&&(n.Ikx("tabIndex",i.tabIndex),n.uIk("data-shape",i.shape)("data-size",i.size)("data-appearance",i.computedAppearance)("disabled",i.nativeDisabled),n.ekj("_loading",i.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[n._Bn([(0,H.FT)(t),T.a3]),n.qOj],attrs:Ya,ngContentSelectors:Wa,decls:8,vars:10,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","hover"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"inheritColor","size",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"inheritColor","size"]],template:function(e,i){1&e&&(n.F$t(),n.YNc(0,Ga,1,0,"ng-container",0),n.ALo(1,"async"),n.TgZ(2,"div",1)(3,"span",2),n.YNc(4,Va,2,1,"span",3),n.Hsn(5),n.YNc(6,ja,2,1,"span",4),n.qZA(),n.YNc(7,Za,1,2,"tui-loader",5),n.qZA()),2&e&&(n.Q6J("ngIf",n.lcZ(1,8,i.appearance$)),n.xp6(2),n.Q6J("active",i.pseudoActive)("appearance",i.computedAppearance)("disabled",i.computedDisabled)("hover",i.pseudoHover),n.xp6(2),n.Q6J("ngIf",i.icon),n.xp6(2),n.Q6J("ngIf",i.iconRight),n.xp6(1),n.Q6J("ngIf",i.showLoader))},dependencies:[gt,nn,C.O5,xt,P.Li,C.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;text-decoration:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%]{font-size:0!important}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.375rem}[data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .375rem}[data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.125rem 0 .25rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;isolation:isolate}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),t})(),fi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,P.wq,yt,_t,on]]}),t})();function Qa(t,o){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"button",1),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.onLeftClick())}),n.qZA(),n.TgZ(2,"span",2),n.Hsn(3),n.qZA(),n.TgZ(4,"button",3),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.onRightClick())}),n.qZA(),n.BQk()}if(2&t){const e=o.ngIf,i=n.oxw();n.xp6(1),n.ekj("t-hidden",i.leftComputedDisabled),n.Q6J("focusable",i.computedFocusable)("icon",i.icons.decrement)("title",e[0]),n.xp6(3),n.ekj("t-hidden",i.rightComputedDisabled),n.Q6J("focusable",i.computedFocusable)("icon",i.icons.increment)("title",e[1])}}const Ka=["*"];let Xa=(()=>{class t extends E.Xn{constructor(e,i,r){super(),this.el=e,this.icons=i,this.spinTexts$=r,this.disabled=!1,this.leftDisabled=!1,this.rightDisabled=!1,this.leftClick=new n.vpe,this.rightClick=new n.vpe}get focused(){return(0,z.zb)(this.el.nativeElement)}get leftComputedDisabled(){return this.computedDisabled||this.leftDisabled}get rightComputedDisabled(){return this.computedDisabled||this.rightDisabled}onLeftClick(){this.leftComputedDisabled||this.leftClick.emit()}onRightClick(){this.rightComputedDisabled||this.rightClick.emit()}onFocused(e){this.updateFocused(e)}onFocusVisible(e){this.updateFocusVisible(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(ba),n.Y36(ha))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-spin-button"]],hostBindings:function(e,i){1&e&&n.NdJ("mousedown.silent.prevent",function(){return 0})("keydown.arrowLeft.prevent",function(){return i.onLeftClick()})("keydown.arrowRight.prevent",function(){return i.onRightClick()})("focusin",function(){return i.onFocused(!0)})("focusout",function(){return i.onFocused(!1)})},inputs:{disabled:"disabled",leftDisabled:"leftDisabled",rightDisabled:"rightDisabled"},outputs:{leftClick:"leftClick",rightClick:"rightClick"},features:[n.qOj],ngContentSelectors:Ka,decls:2,vars:3,consts:[[4,"ngIf"],["appearance","flat","automation-id","tui-primitive-spin-button__left","size","xs","tuiIconButton","","type","button",3,"focusable","icon","title","click"],[1,"t-content","t-calendar-title"],["appearance","flat","automation-id","tui-primitive-spin-button__right","size","xs","tuiIconButton","","type","button",3,"focusable","icon","title","click"]],template:function(e,i){1&e&&(n.F$t(),n.YNc(0,Qa,5,10,"ng-container",0),n.ALo(1,"async")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,i.spinTexts$))},dependencies:[rn,C.O5,C.Ov],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--tui-font-text-l);text-align:center;font-weight:bold}.t-hidden[_ngcontent-%COMP%]{visibility:hidden}.t-content[_ngcontent-%COMP%]{padding:0 .5rem}"],changeDetection:0}),t})(),qa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,fi]]}),t})();const ts=["tuiLink",""];function es(t,o){if(1&t&&n._UZ(0,"tui-svg",3),2&t){const e=n.oxw();n.Q6J("src",e.icon||"")}}function ns(t,o){if(1&t&&n._UZ(0,"tui-svg",4),2&t){const e=n.oxw();n.Q6J("src",e.icon||"")}}const is=["*"];let vi=(()=>{class t{constructor(e,i,r){this.el=e,this.mode$=i,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,q.T)((0,D.mL)(this.el.nativeElement,"focusin").pipe((0,y.U)(x.Ye)),(0,D.mL)(this.el.nativeElement,"focusout").pipe((0,y.U)(x.Iy))),r.subscribe(a=>{this.focusVisible=a})}get nativeFocusableElement(){return this.el.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get hasIcon(){return!!this.icon}get iconAlignLeft(){return this.hasIcon&&"left"===this.iconAlign}get iconAlignRight(){return this.hasIcon&&"right"===this.iconAlign}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(Ct),n.Y36(T.ku))},t.\u0275cmp=n.Xpm({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(e,i){1&e&&n.NdJ("$.data-mode.attr",function(){return i.mode$}),2&e&&(n.uIk("data-host-mode",i.mode),n.ekj("_pseudo",i.pseudo)("_icon-rotated",i.iconRotated)("_focus-visible",i.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[n._Bn([(0,H.FT)(t),T.ku,T.a3,wt])],attrs:ts,ngContentSelectors:is,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(e,i){1&e&&(n.F$t(),n.YNc(0,es,1,1,"tui-svg",0),n.TgZ(1,"span",1),n.Hsn(2),n.qZA(),n.YNc(3,ns,1,1,"tui-svg",2)),2&e&&(n.Q6J("ngIf",i.iconAlignLeft),n.xp6(3),n.Q6J("ngIf",i.iconAlignRight))},dependencies:[gt,C.O5],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-decoration:none;text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t})(),Mi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,_t]]}),t})(),Ci=(()=>{class t{constructor(e){this.months$=e}transform({month:e}){return this.months$.pipe((0,y.U)(i=>i[e]))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(da,16))},t.\u0275pipe=n.Yjl({name:"tuiMonth",type:t,pure:!0}),t})(),os=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();function rs(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=n.oxw();n.xp6(1),n.hij(" ",e.value.formattedYear," ")}}function as(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"button",3),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.onYearClick())}),n._uU(1),n.qZA()}if(2&t){const e=n.oxw();n.Q6J("tuiFocusable",!1),n.xp6(1),n.hij(" ",e.value.formattedYear," ")}}let ss=(()=>{class t{constructor(){this.value=L.currentLocal(),this.min=ut,this.max=dt,this.valueChange=new n.vpe,this.yearClick=new n.vpe}get computedMin(){var e;return null!==(e=this.min)&&void 0!==e?e:ut}get computedMax(){var e;return null!==(e=this.max)&&void 0!==e?e:dt}get prevMonthDisabled(){return this.value.monthSameOrBefore(this.computedMin)}get nextMonthDisabled(){return this.value.monthSameOrAfter(this.computedMax)}get oneYear(){const{computedMin:e,computedMax:i}=this;return e.year===i.year}onYearClick(){this.yearClick.next(this.value)}onPrevMonthClick(){this.appendValueWithLimit({month:-1})}onNextMonthClick(){this.appendValueWithLimit({month:1})}appendValueWithLimit(e){const i=this.value.append(e),{computedMin:r,computedMax:a}=this;r.monthSameOrAfter(i)?this.updateValue(r):this.updateValue(a.monthSameOrBefore(i)?a:i)}updateValue(e){this.value.monthSame(e)||(this.value=e,this.valueChange.emit(e))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-year-month-pagination"]],inputs:{value:"value",min:"min",max:"max"},outputs:{valueChange:"valueChange",yearClick:"yearClick"},decls:7,vars:10,consts:[[3,"focusable","leftDisabled","rightDisabled","leftClick","rightClick"],[4,"ngIf","ngIfElse"],["button",""],["id","year-btn","automation-id","tui-primitive-year-month-pagination__year-button","tuiLink","","type","button",3,"tuiFocusable","click"]],template:function(e,i){if(1&e&&(n.TgZ(0,"tui-primitive-spin-button",0),n.NdJ("leftClick",function(){return i.onPrevMonthClick()})("rightClick",function(){return i.onNextMonthClick()}),n._uU(1),n.ALo(2,"async"),n.ALo(3,"tuiMonth"),n.YNc(4,rs,2,1,"ng-container",1)(5,as,2,2,"ng-template",null,2,n.W1O),n.qZA()),2&e){const r=n.MAs(6);n.Q6J("focusable",!1)("leftDisabled",i.prevMonthDisabled)("rightDisabled",i.nextMonthDisabled),n.xp6(1),n.hij(" ",n.lcZ(2,6,n.lcZ(3,8,i.value))," "),n.xp6(3),n.Q6J("ngIf",i.oneYear)("ngIfElse",r)}},dependencies:[Xa,vi,C.O5,jt,C.Ov,Ci],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),t})(),ls=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,Zt,qa,Mi,os]]}),t})(),cs=(()=>{class t{constructor(e){this.firstDayOfWeekIndex=e}transform(e){return e.pipe((0,y.U)(us),(0,y.U)(i=>[...i.slice(this.firstDayOfWeekIndex),...i.slice(0,this.firstDayOfWeekIndex)]))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Ze,16))},t.\u0275pipe=n.Yjl({name:"tuiOrderWeekDays",type:t,pure:!0}),t})();function us(t){const o=t.length-1;return[t[o],...t.slice(0,o)]}let ds=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const hs=({month:t,rowIndex:o,colIndex:e,firstDayOfWeek:i})=>{let r=7*o+e-((t,o)=>{const e=new Date(t.year,t.month,1).getDay();return e>=o?e-o:7-(o-e)})(t,i)+1;return r>t.daysCount&&(r-=t.daysCount,t=t.append({month:1})),r<=0&&(r=(t=t.append({month:-1})).daysCount+r),new R(t.year,t.month,r)};let _s=(()=>{class t{constructor(e){this.firstDayOfWeek=e,this.currentMonth=null,this.currentSheet=[]}transform(e,i=!1){var r;if(null!==(r=this.currentMonth)&&void 0!==r&&r.monthSame(e))return this.currentSheet;const a=[];for(let l=0;l<6;l++){const c=[];for(let d=0;d<7;d++){const p=hs({month:e,rowIndex:l,colIndex:d,firstDayOfWeek:this.firstDayOfWeek}),g=(m,f=e)=>m.year>f.year||m.month>f.month;if(!((m,f=e)=>m.yearl.length),this.currentMonth=e,this.currentSheet}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Ze,16))},t.\u0275pipe=n.Yjl({name:"tuiCalendarSheet",type:t,pure:!0}),t})(),ms=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();function fs(t,o){1&t&&n._UZ(0,"div",3),2&t&&n.Q6J("textContent",o.$implicit)}function vs(t,o){if(1&t&&n._UZ(0,"div",14),2&t){const e=n.oxw().ngIf;n.Udp("background-color",(null==e?null:e[1])||"")}}function Ms(t,o){if(1&t&&(n.TgZ(0,"div",13),n._UZ(1,"div",14),n.YNc(2,vs,1,2,"div",15),n.qZA()),2&t){const e=o.ngIf;n.xp6(1),n.Udp("background-color",null==e?null:e[0]),n.xp6(1),n.Q6J("ngIf",e.length>1)}}function Cs(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",10),n.NdJ("click",function(){n.CHM(e);const r=n.oxw().tuiLet,a=n.oxw(4);return n.KtG(a.onItemClick(r))})("tuiHoveredChange",function(r){n.CHM(e);const a=n.oxw().tuiLet,l=n.oxw(4);return n.KtG(l.onItemHovered(r&&a))})("tuiPressedChange",function(r){n.CHM(e);const a=n.oxw().tuiLet,l=n.oxw(4);return n.KtG(l.onItemPressed(r&&a))}),n.TgZ(1,"div",11),n.ALo(2,"tuiMapper"),n._uU(3),n.YNc(4,Ms,3,3,"div",12),n.ALo(5,"tuiMapper"),n.qZA()()}if(2&t){const e=n.oxw().tuiLet,i=n.oxw(4);n.ekj("t-cell_interval",i.itemIsInterval(e))("t-cell_today",i.itemIsToday(e))("t-cell_unavailable",i.itemIsUnavailable(e)),n.uIk("data-range",i.getItemRange(e))("data-state",i.getItemState(e)),n.xp6(1),n.ekj("t-item_unavailable",i.itemIsUnavailable(e)),n.uIk("data-type",n.xi3(2,13,e,i.dayTypeHandler)),n.xp6(2),n.hij(" ",e.day," "),n.xp6(1),n.Q6J("ngIf",n.gM2(5,16,e,i.toMarkers,i.itemIsToday(e),!!i.getItemRange(e)))}}function Os(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Cs,6,21,"div",9),n.BQk()),2&t){const e=o.tuiLet,i=n.oxw(4);n.xp6(1),n.Q6J("ngIf",!i.itemIsUnavailable(e)||i.showAdjacent)}}function Ts(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Os,2,1,"ng-container",8),n.BQk()),2&t){const e=o.$implicit,i=n.oxw().$implicit,r=n.oxw().tuiLet;n.xp6(1),n.Q6J("tuiLet",r[i][e])}}function bs(t,o){if(1&t&&(n.TgZ(0,"div",6),n.YNc(1,Ts,2,1,"ng-container",7),n.qZA()),2&t){const e=o.$implicit,i=n.oxw().tuiLet;n.xp6(1),n.Q6J("tuiRepeatTimesOf",i[e].length)}}function Ps(t,o){if(1&t&&(n.TgZ(0,"div",4),n.YNc(1,bs,2,1,"div",5),n.qZA()),2&t){const e=o.tuiLet;n.xp6(1),n.Q6J("tuiRepeatTimesOf",e.length)}}let Ds=(()=>{class t{constructor(e,i){this.unorderedWeekDays$=e,this.dayTypeHandler=i,this.pressedItem=null,this.today=R.currentLocal(),this.month=L.currentLocal(),this.disabledItemHandler=x.Iy,this.markerHandler=ze,this.value=null,this.hoveredItem=null,this.showAdjacent=!0,this.hoveredItemChange=new n.vpe,this.dayClick=new n.vpe,this.toMarkers=(r,a,l)=>{if(a||l)return null;const c=this.markerHandler(r);return 0===c.length?null:c}}get isSingleDayRange(){return this.value instanceof rt&&this.value.isSingleDay}get isSingle(){return this.isSingleDayRange}getItemState(e){const{disabledItemHandler:i,pressedItem:r,hoveredItem:a}=this;return i(e)?tt.Disabled:null!=r&&r.daySame(e)?tt.Active:null!=a&&a.daySame(e)?tt.Hover:null}getItemRange(e){const{value:i,hoveredItem:r}=this;return i?i instanceof R?i.daySame(e)?et.Single:null:i instanceof rt?i.from.daySame(e)&&!i.isSingleDay||null!=r&&r.dayAfter(i.from)&&i.from.daySame(e)&&i.isSingleDay||null!=r&&r.daySame(e)&&r.dayBefore(i.from)&&i.isSingleDay?et.Start:i.to.daySame(e)&&!i.isSingleDay||null!=r&&r.dayBefore(i.from)&&i.from.daySame(e)&&i.isSingleDay||null!=r&&r.daySame(e)&&r.dayAfter(i.from)&&i.isSingleDay?et.End:i.isSingleDay&&i.from.daySame(e)?et.Single:null:i.find(a=>a.daySame(e))?et.Single:null:null}itemIsToday(e){return this.today.daySame(e)}itemIsUnavailable(e){return!this.month.monthSame(e)}itemIsInterval(e){const{value:i,hoveredItem:r}=this;if(!(i instanceof rt))return!1;if(!i.isSingleDay)return i.from.daySameOrBefore(e)&&i.to.dayAfter(e);if(null===r)return!1;const a=rt.sort(i.from,r);return a.from.daySameOrBefore(e)&&a.to.dayAfter(e)}onItemHovered(e){this.updateHoveredItem(e||null)}onItemPressed(e){this.pressedItem=e||null}onItemClick(e){this.dayClick.emit(e)}updateHoveredItem(e){(0,_.J$)(this.hoveredItem,e,(i,r)=>i.daySame(r))||(this.hoveredItem=e,this.hoveredItemChange.emit(e))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Kn),n.Y36(ua))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-calendar"]],hostVars:2,hostBindings:function(e,i){2&e&&n.ekj("_single",i.isSingleDayRange)},inputs:{month:"month",disabledItemHandler:"disabledItemHandler",markerHandler:"markerHandler",value:"value",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent"},outputs:{hoveredItemChange:"hoveredItemChange",dayClick:"dayClick"},decls:6,vars:9,consts:[[1,"t-row","t-row_weekday"],["class","t-cell",3,"textContent",4,"ngFor","ngForOf"],["id","date-rows",4,"tuiLet"],[1,"t-cell",3,"textContent"],["id","date-rows"],["automation-id","tui-primitive-calendar__row","class","t-row",4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-primitive-calendar__row",1,"t-row"],[4,"tuiRepeatTimes","tuiRepeatTimesOf"],[4,"tuiLet"],["automation-id","tui-primitive-calendar__cell","class","t-cell",3,"t-cell_interval","t-cell_today","t-cell_unavailable","click","tuiHoveredChange","tuiPressedChange",4,"ngIf"],["automation-id","tui-primitive-calendar__cell",1,"t-cell",3,"click","tuiHoveredChange","tuiPressedChange"],["automation-id","tui-primitive-calendar__item",1,"t-item"],["class","t-dots",4,"ngIf"],[1,"t-dots"],[1,"t-dot"],["class","t-dot",3,"backgroundColor",4,"ngIf"]],template:function(e,i){1&e&&(n.TgZ(0,"div",0),n.YNc(1,fs,1,1,"div",1),n.ALo(2,"async"),n.ALo(3,"tuiOrderWeekDays"),n.qZA(),n.YNc(4,Ps,2,1,"div",2),n.ALo(5,"tuiCalendarSheet")),2&e&&(n.xp6(1),n.Q6J("ngForOf",n.lcZ(2,2,n.lcZ(3,4,i.unorderedWeekDays$))),n.xp6(3),n.Q6J("tuiLet",n.xi3(5,6,i.month,!0)))},dependencies:[C.sg,at.Ls,Fn,C.O5,Ue,Rn,C.Ov,cs,_s,ae.c],styles:['[_nghost-%COMP%]{display:block;font:var(--tui-font-text-m)}.t-row[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item[_ngcontent-%COMP%]{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:before, .t-item[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:after{border-radius:.5rem}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today[_ngcontent-%COMP%]:after{position:absolute;left:50%;transform:translate(-50%);content:"";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-base-02)}._single[_nghost-%COMP%] .t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-secondary-hover)}.t-cell_interval[_ngcontent-%COMP%]:not(:last-child):before{right:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval[_ngcontent-%COMP%]:not([data-range="start"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval[_ngcontent-%COMP%]:last-child:first-child:before{right:0}.t-cell_interval[_ngcontent-%COMP%]:first-child > .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background-color:var(--tui-primary-text)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-primary-text)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][data-state=hover][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][data-state=active][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-base-02)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell[data-state=disabled][_ngcontent-%COMP%]{pointer-events:none}.t-cell[data-state=disabled][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[data-state=hover][_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active][_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background-color:var(--tui-secondary-active)}[_nghost-%COMP%]{width:15.75rem}.t-row[_ngcontent-%COMP%]{justify-content:flex-start}.t-row[_ngcontent-%COMP%]:first-child{justify-content:flex-end}.t-row_weekday[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none}.t-item[_ngcontent-%COMP%]{display:flex;flex-direction:column}.t-item_unavailable[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}.t-dots[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:-.5rem;padding-bottom:.25rem}.t-dot[_ngcontent-%COMP%]{display:inline-block;width:.25rem;height:.25rem;border-radius:100%;margin:0 .0625rem}'],changeDetection:0}),t})(),ws=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,at.WD,ae.I,Hn,ue,Ye,ms,ds]]}),t})();function xs(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-scrollbar",2)(1,"tui-primitive-year-picker",3),n.NdJ("yearClick",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onPickerYearClick(r))}),n.qZA()()}if(2&t){const e=n.oxw();n.xp6(1),n.Q6J("initialItem",e.year)("max",e.computedMax)("min",e.computedMin)("value",e.value)}}function ys(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-primitive-year-month-pagination",4),n.NdJ("valueChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onPaginationValueChange(r))})("yearClick",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onPaginationYearClick(r))}),n.qZA(),n.TgZ(1,"tui-primitive-calendar",5),n.NdJ("dayClick",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onDayClick(r))})("hoveredItemChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onHoveredItemChange(r))}),n.ALo(2,"tuiMapper"),n.qZA()}if(2&t){const e=n.oxw();n.Q6J("max",e.computedMaxViewedMonth)("min",e.computedMinViewedMonth)("value",e.month),n.xp6(1),n.Q6J("disabledItemHandler",n.gM2(2,9,e.disabledItemHandler,e.disabledItemHandlerMapper,e.computedMin,e.computedMax))("hoveredItem",e.hoveredItem)("markerHandler",e.markerHandler)("month",e.month)("showAdjacent",e.showAdjacent)("value",e.value)}}let Oi=(()=>{class t{constructor(){this.day=null,this.month=L.currentLocal(),this.disabledItemHandler=x.Iy,this.min=ut,this.max=dt,this.minViewedMonth=ut,this.maxViewedMonth=dt,this.hoveredItem=null,this.showAdjacent=!0,this.markerHandler=ze,this.dayClick=new n.vpe,this.monthChange=new n.vpe,this.hoveredItemChange=new n.vpe,this.year=null,this.disabledItemHandlerMapper=(e,i,r)=>a=>a.dayBefore(i)||a.dayAfter(r)||e(a)}set value(e){this.day=e,this.showAdjacent&&e instanceof R&&(this.month=e)}get value(){return this.day}get computedMin(){var e;return null!==(e=this.min)&&void 0!==e?e:ut}get computedMax(){var e;return null!==(e=this.max)&&void 0!==e?e:dt}get computedMinViewedMonth(){var e;const i=this.computedMin,r=null!==(e=this.minViewedMonth)&&void 0!==e?e:ut;return r.monthSameOrAfter(i)?r:i}get computedMaxViewedMonth(){var e;const i=this.computedMax,r=null!==(e=this.maxViewedMonth)&&void 0!==e?e:dt;return r.monthSameOrBefore(i)?r:i}onPaginationYearClick(e){this.year=e}onPickerYearClick({year:e}){this.year=null,this.updateViewedMonth(new L(e,this.month.month))}onPaginationValueChange(e){this.updateViewedMonth(e)}onDayClick(e){this.dayClick.emit(e)}onHoveredItemChange(e){this.updateHoveredDay(e)}updateViewedMonth(e){this.month.monthSame(e)||(this.month=e,this.monthChange.emit(e))}updateHoveredDay(e){(0,_.J$)(this.hoveredItem,e,(i,r)=>i.daySame(r))||(this.hoveredItem=e,this.hoveredItemChange.emit(e))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-calendar"]],inputs:{month:"month",disabledItemHandler:"disabledItemHandler",min:"min",max:"max",minViewedMonth:"minViewedMonth",maxViewedMonth:"maxViewedMonth",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent",markerHandler:"markerHandler",value:"value"},outputs:{dayClick:"dayClick",monthChange:"monthChange",hoveredItemChange:"hoveredItemChange"},decls:3,vars:2,consts:[["automation-id","tui-calendar__scrollbar","class","t-scrollbar",4,"ngIf","ngIfElse"],["calendar",""],["automation-id","tui-calendar__scrollbar",1,"t-scrollbar"],["automation-id","tui-calendar__year",3,"initialItem","max","min","value","yearClick"],["automation-id","tui-calendar__pagination",1,"t-pagination",3,"max","min","value","valueChange","yearClick"],["automation-id","tui-calendar__calendar",3,"disabledItemHandler","hoveredItem","markerHandler","month","showAdjacent","value","dayClick","hoveredItemChange"]],template:function(e,i){if(1&e&&n.YNc(0,xs,2,4,"tui-scrollbar",0)(1,ys,3,14,"ng-template",null,1,n.W1O),2&e){const r=n.MAs(2);n.Q6J("ngIf",i.year)("ngIfElse",r)}},dependencies:[ce,Hr,ss,Ds,C.O5,ae.c],styles:["[_nghost-%COMP%]{display:block;height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar[_ngcontent-%COMP%]{height:18.25rem;width:16.875rem}.t-pagination[_ngcontent-%COMP%]{margin-bottom:1rem}"],changeDetection:0}),t})(),Ti=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,ls,ws,Rr,Be,ae.I]]}),t})();var bi=M(5998);const Pi=new Rt.y(bi.Z);class Is{constructor(o,e,i,r,a,l,c,d,p,h,g,m,f){this.change$=o,this.options=e,this.legacyAppearance=i,this.appearanceDirective=r,this.cleanerDirective=a,this.customContentDirective=l,this.iconDirective=c,this.iconLeftDirective=d,this.labelOutsideDirective=p,this.sizeDirective=h,this.prefixDirective=g,this.postfixDirective=m,this.fillerDirective=f}get appearance(){return this.appearanceDirective.appearance||this.legacyAppearance}get cleaner(){return this.cleanerDirective.cleaner}get customContent(){return this.customContentDirective.customContent||""}get icon(){return this.iconDirective.icon}get iconLeft(){return this.iconLeftDirective.iconLeft}get labelOutside(){return this.labelOutsideDirective.labelOutside}get size(){return this.sizeDirective.size}get prefix(){return this.prefixDirective.prefix}get postfix(){return this.postfixDirective.postfix}get filler(){return this.fillerDirective.filler}}const an=(0,_.JN)({iconCleaner:"tuiIconClose",hintOnDisabled:!1}),wi=(0,_.N1)(()=>new Ss);let Ss=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.appearance=""}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[n._Bn([{provide:wi,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const xi=(0,_.N1)(()=>new ks);let ks=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.cleaner=!1}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[n._Bn([{provide:xi,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const yi=(0,_.N1)(()=>new Es);let Es=(()=>{class t extends E.QJ{}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[n._Bn([{provide:yi,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Ii=(0,_.N1)(()=>new Si);let Si=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.filler=""}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[n._Bn([{provide:Ii,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const ki=(0,_.N1)(()=>new Ei);let Ei=(()=>{class t extends E.QJ{}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[n._Bn([{provide:ki,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Ai=(0,_.N1)(()=>new As);let As=(()=>{class t extends E.QJ{}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[n._Bn([{provide:Ai,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Li=(0,_.N1)(()=>new Fi);let Fi=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[n._Bn([{provide:Li,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Hi=(0,_.N1)(()=>new Ls);let Ls=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.postfix=""}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[n._Bn([{provide:Hi,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Ri=(0,_.N1)(()=>new Fs);let Fs=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.prefix=""}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[n._Bn([{provide:Ri,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const sn=(0,_.N1)(()=>new Hs);let Hs=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.size="l"}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[n._Bn([{provide:sn,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})(),Ni=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const me=new n.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),ln=[T.a3,{provide:me,deps:[n.sBO,T.a3,an,wa,wi,xi,yi,ki,Ai,Li,sn,Ri,Hi,Ii],useFactory:(t,o,e,i,...r)=>{const a=(0,q.T)(...r.map(({change$:l})=>l||Pi)).pipe((0,D.NA)(t),(0,J.R)(o));return a.subscribe(),new Is(a,e,i,...r)}}];var mt=M(295);function K(t){return"".concat(t,"px")}var u=M(6206);const O="{{duration}}ms ease-in-out",I={params:{duration:300}},Z=300,zi=((0,u.X$)("tuiHeightCollapse",[(0,u.eR)(":enter",[(0,u.oB)({height:0}),(0,u.jt)(O,(0,u.oB)({height:"*"}))],I),(0,u.eR)(":leave",[(0,u.oB)({height:"*"}),(0,u.jt)(O,(0,u.oB)({height:0}))],I)]),(0,u.X$)("tuiHeightCollapseList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({height:0}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({height:"*"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({height:"*"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({height:0}))])],{optional:!0})],I)]),(0,u.X$)("tuiWidthCollapse",[(0,u.eR)(":enter",[(0,u.oB)({width:0}),(0,u.jt)(O,(0,u.oB)({width:"*"}))],I),(0,u.eR)(":leave",[(0,u.oB)({width:"*"}),(0,u.jt)(O,(0,u.oB)({width:0}))],I)]),(0,u.X$)("tuiWidthCollapseList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({width:0}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({width:"*"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({width:"*"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({width:0}))])],{optional:!0})],I)]),(0,u.X$)("tuiFadeIn",[(0,u.eR)(":enter",[(0,u.oB)({opacity:0}),(0,u.jt)(O,(0,u.oB)({opacity:1}))],I),(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(O,(0,u.oB)({opacity:0}))],I)])),Rs=((0,u.X$)("tuiFadeInList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({opacity:0}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({opacity:1}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({opacity:1}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({opacity:0}))])],{optional:!0})],I)]),(0,u.X$)("tuiFadeInTop",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateY(-10px)",opacity:0}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)",opacity:1}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateY(0)",opacity:1}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(-10px)",opacity:0}))],I)]),(0,u.X$)("tuiFadeInBottom",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateY(10px)",opacity:0}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)",opacity:1}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateY(0)",opacity:1}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(10px)",opacity:0}))],I)]),(0,u.X$)("tuiDropdownAnimation",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateY(-10px)",opacity:0}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)",opacity:1}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateY(0)",opacity:1}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(-10px)",opacity:0}))],I)])),Ns=((0,u.X$)("tuiScaleIn",[(0,u.eR)(":enter",[(0,u.oB)({transform:"scale(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"scale(1)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"scale(1)"}),(0,u.jt)(O,(0,u.oB)({transform:"scale(0)"}))],I)]),(0,u.X$)("tuiPop",[(0,u.eR)(":enter",[(0,u.oB)({transform:"scale(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"scale(1.1)"})),(0,u.jt)(O,(0,u.oB)({transform:"scale(1)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"scale(1)"}),(0,u.jt)(O,(0,u.oB)({transform:"scale(1.1)"})),(0,u.jt)(O,(0,u.oB)({transform:"scale(0)"}))],I)]),(0,u.X$)("tuiScaleInList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"scale(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"scale(1)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"scale(0)"}))])],{optional:!0})],I)]),(0,u.X$)("tuiSlideIn",[(0,u.eR)("* => left",[(0,u.oB)({transform:"translateX(-100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))],I),(0,u.eR)("left => *",[(0,u.oB)({transform:"translateX(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(-100%)"}))],I),(0,u.eR)("* => right",[(0,u.oB)({transform:"translateX(100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))],I),(0,u.eR)("right => *",[(0,u.oB)({transform:"translateX(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(100%)"}))],I)]),(0,u.X$)("tuiSlideInLeft",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateX(-100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateX(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(-100%)"}))],I)]),(0,u.X$)("tuiSlideInLeftList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"translateX(-100%)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"translateX(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],I)]),(0,u.X$)("tuiSlideInRight",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateX(100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateX(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(100%)"}))],I)]),(0,u.X$)("tuiSlideInRightList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"translateX(100%)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"translateX(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateX(100%)"}))])],{optional:!0})],I)]),(0,u.X$)("tuiSlideInTop",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translate3d(0,{{start}},0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,u.eR)(":leave",[(0,u.oB)({transform:"translate3d(0,{{end}},0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,u.X$)("tuiSlideInTopList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"translateY(100%)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"translateY(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateY(100%)"}))])],{optional:!0})],I)]),(0,u.X$)("tuiSlideInBottom",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateY(-100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateY(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(-100%)"}))],I)]),(0,u.X$)("tuiSlideInBottomList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"translateY(-100%)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"translateY(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],I)]);var Xt=M(2506),Bi=M(7656),Ui=M(8527),Yi=M(4134),fe=M(8014),cn=M(9417),un=M(6021),qt=M(5992);function Bs(t,o){1&t&&n._UZ(0,"span",1),2&t&&n.Q6J("innerHTML",o.polymorpheusOutlet,n.oJD)}const Us=(0,_.N1)(()=>Gs),Tt=(0,_.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"});let te=(()=>{class t extends E.QJ{constructor(e){super(),this.options=e,this.direction=this.options.direction,this.appearance=this.options.appearance,this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.icon=this.options.icon}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Tt,4))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[n._Bn([{provide:Tt,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})(),dn=(()=>{class t{constructor(e,i,r,a,l){this.el=e,this.component=i,this.hintService=r,this.options=a,this.activeZone=l,this.tuiHintAppearance=null,this.type="hint"}get appearance(){var e;return null!==(e=this.tuiHintAppearance)&&void 0!==e?e:this.options.appearance}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(e){e&&this.content?this.hintService.add(this):this.hintService.remove(this)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(P.Al),n.Y36(ya),n.Y36(Tt),n.Y36(mt.e,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[n._Bn([tn(t),ri(t),{provide:P.Al,deps:[Us,n.gxx],useClass:P.Al}]),n.TTD]}),t})(),ve=(()=>{class t extends Ot{constructor(e,i,r){super(a=>this.stream$.subscribe(a)),this.hovered$=e,this.options=i,this.el=r,this.visible=!1,this.toggle$=new qt.x,this.stream$=(0,q.T)(this.toggle$.pipe((0,nt.w)(a=>(0,j.of)(a).pipe((0,Xt.g)(a?0:this.hideDelay))),(0,J.R)(this.hovered$),(0,Bi.r)()),this.hovered$.pipe((0,nt.w)(a=>(0,j.of)(a).pipe((0,Xt.g)(a?this.showDelay:this.hideDelay))),(0,J.R)(this.toggle$),(0,Bi.r)())).pipe((0,ft.h)(()=>this.enabled),(0,y.U)(a=>a&&!Gn(this.el.nativeElement)),(0,Ui.b)(a=>{this.visible=a})),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0}toggle(e=!this.visible){this.toggle$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Mt),n.Y36(Tt),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[n._Bn([Kt(t),Mt]),n.qOj]}),t})(),Ys=(()=>{class t extends ve{constructor(){super(...arguments),this.currentRect=x.Jy}onMove({clientX:e,clientY:i}){this.currentRect=(0,F.dD)(e,i)}getClientRect(){return this.currentRect}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(e,i){1&e&&n.NdJ("mousemove.silent",function(a){return i.onMove(a)})},features:[n._Bn([tn(t),Kt(t)]),n.qOj]}),t})(),Gs=(()=>{class t{constructor(e,i,r,a,l,c,d,p,h,g,m,f){var v;this.animation=a,this.pointer=l,this.accessor=c,this.el=d,this.polymorpheus=p,this.hover=h,this.mode=g,this.visualViewportService=m,this.viewport=f,this.appearance=this.polymorpheus.$implicit.appearance||(null===(v=this.mode)||void 0===v?void 0:v.mode),i.pipe((0,y.U)(b=>this.visualViewportService.correct(b)),(0,J.R)(r)).subscribe(([b,S])=>{this.update(b,S)}),e.pipe((0,J.R)(r)).subscribe(b=>this.hover.toggle(b))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(e){(!this.el.nativeElement.contains(e)&&!this.hover.el.nativeElement.contains(e)||Gn(this.hover.el.nativeElement))&&this.hover.toggle(!1)}update(e,i){const{height:r,width:a}=this.el.nativeElement.getBoundingClientRect(),{style:l}=this.el.nativeElement,c=this.accessor.getClientRect(),d=this.viewport.getClientRect();if(c===x.Jy)return;const p=(0,Y.Ki)(i,4,d.width-a-4),[h,g]=this.visualViewportService.correct([c.top+c.height/2-e,c.left+c.width/2-p]);l.top=K(e),l.left=K(p),l.setProperty("--top",K((0,Y.Ki)(h,.5,r-1))),l.setProperty("--left",K((0,Y.Ki)(g,.5,a-1)))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Mt),n.Y36(_e),n.Y36(T.a3,2),n.Y36(Wn),n.Y36(Ys,8),n.Y36(Dt),n.Y36(n.SBq),n.Y36(P.yf),n.Y36(ve),n.Y36(Qt,8),n.Y36(ui),n.Y36(Wt))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(e,i){1&e&&n.NdJ("click",function(a){return i.onClick(a.target)},!1,n.evT),2&e&&(n.uIk("data-appearance",i.appearance),n.d8E("@tuiFadeIn",i.animation),n.ekj("_untouchable",i.pointer))},features:[n._Bn([T.a3,_e,Mt,li("hint"),ci("hint",dn)])],decls:1,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(e,i){1&e&&n.YNc(0,Bs,1,1,"span",0),2&e&&n.Q6J("polymorpheusOutlet",i.content)("polymorpheusOutletContext",i.context)},dependencies:[P.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[zi]},changeDetection:0}),(0,it.gn)([ht.UM],t.prototype,"update",null),t})(),$s=(()=>{class t extends Ot{constructor(e,i,r){super(a=>this.stream$.subscribe(a)),this.zone=e,this.doc=i,this.el=r,this.id$=new di.t(1),this.stream$=this.id$.pipe((0,D.Xd)(()=>(0,D.mL)(this.doc,"keydown",{capture:!0}),_.Pc),(0,nt.w)(()=>this.focused?(0,j.of)(!1):(0,q.T)((0,D.mL)(this.doc,"keyup"),(0,D.mL)(this.element,"blur")).pipe((0,y.U)(()=>this.focused))),function zs(t){return(0,Yi.e)((o,e)=>{let i=!1,r=null,a=null;const l=()=>{if(null==a||a.unsubscribe(),a=null,i){i=!1;const c=r;r=null,e.next(c)}};o.subscribe((0,fe.x)(e,c=>{null==a||a.unsubscribe(),i=!0,r=c,a=(0,fe.x)(e,l,bi.Z),(0,cn.Xf)(t(c)).subscribe(a)},()=>{l(),e.complete()},void 0,()=>{r=a=null}))})}(a=>a?(0,de.H)(1e3):(0,j.of)(null)),(0,Nt.O)(!1),(0,vt.x)(),(0,un.T)(1),(0,D.Yr)(this.zone)),this.tuiHintDescribe="",this.type="hint"}ngOnChanges(){this.id$.next(this.tuiHintDescribe)}get focused(){return(0,z.V8)(this.element)}get element(){return this.doc.getElementById(this.tuiHintDescribe||"")||this.el.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.R0b),n.Y36(C.K0),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[n._Bn([Kt(t)]),n.qOj,n.TTD]}),(0,it.gn)([ht.UM],t.prototype,"element",null),t})(),Vs=(()=>{class t extends ai{constructor(e,i,r){super(e,i,r),this.type="hint"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(Ot),n.Y36(ge))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHint",""]],features:[n._Bn([T.a3]),n.qOj]}),t})(),Js=(()=>{class t extends st{constructor(e,i,r,a){super(),this.options=e,this.viewport=i,this.directive=r,this.accessors=a,this.points=En.reduce((l,c)=>Object.assign(Object.assign({},l),{[c]:[0,0]}),{}),this.direction=this.options.direction,this.type="hint"}getPosition({width:e,height:i}){var r,a;const l=null!==(a=null===(r=this.accessor)||void 0===r?void 0:r.getClientRect())&&void 0!==a?a:x.Jy,c=l.left+l.width/2,d=l.top+l.height/2;if(this.points["top-left"][0]=l.top-i-8,this.points["top-left"][1]=c-e+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=c-e/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=c-22,this.points["bottom-left"][0]=l.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=d-i+22,this.points["left-top"][1]=l.left-e-8,this.points.left[0]=d-i/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=d-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=l.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],e,i))return this.points[this.direction];const p=En.find(h=>this.checkPosition(this.points[h],e,i));return this.points[p||this.fallback]}get accessor(){return qe("hint")(this.accessors,this.directive)}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([e,i],r,a){const l=this.viewport.getClientRect();return e>8&&i>8&&e+a{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,P.wq]]}),t})(),js=(()=>{class t{constructor(e,i){this.enabled$=new qt.x;const r=i.pipe((0,y.U)(a=>!!a&&(!e||!a.length||a.every(l=>!e.contains(l)))));this.tuiObscured=this.enabled$.pipe((0,D.Xd)(()=>r))}set tuiObscuredEnabled(e){this.enabled$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(mt.e,8),n.Y36(T.AQ,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[n._Bn([T.AQ,T.b0,T.a3])]}),t})(),Zs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var Ji=M(2106),Ws=M(5180),ji=M(4354);function Qs(t,o){if(1&t&&(n.TgZ(0,"div",4),n._uU(1),n.qZA()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}const Ks=t=>({$implicit:t}),Xs=(0,_.N1)(()=>el);let Zi=(()=>{class t{constructor(){this.tuiDropdownOpenChange=new n.vpe}set tuiDropdownOpen(e){var i;null===(i=this.dropdown)||void 0===i||i.toggle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],inputs:{tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"}}),t})(),Ut=(()=>{class t{constructor(e,i,r,a,l,c){this.el=i,this.dropdown=r,this.injector=a,this.dropdownService=l,this.open=c,this.refresh$=new qt.x,this.dropdownBoxRef=null,this.type="dropdown",this.component=new P.Al(this.dropdown,this.injector),this.open&&!this.open.dropdown?this.open.dropdown=this:this.open=null,this.refresh$.pipe((0,ji.p)(0),(0,J.R)(e)).subscribe(()=>{var d,p;null===(d=this.dropdownBoxRef)||void 0===d||d.changeDetectorRef.detectChanges(),null===(p=this.dropdownBoxRef)||void 0===p||p.changeDetectorRef.markForCheck()})}get position(){return Jn(this.el.nativeElement)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1),this.open&&(this.open.dropdown=void 0)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(e){var i,r;e&&this.content&&!this.dropdownBoxRef?(this.dropdownBoxRef=this.dropdownService.add(this.component),null===(i=this.open)||void 0===i||i.tuiDropdownOpenChange.emit(!0)):!e&&this.dropdownBoxRef&&(this.dropdownService.remove(this.dropdownBoxRef),this.dropdownBoxRef=null,null===(r=this.open)||void 0===r||r.tuiDropdownOpenChange.emit(!1))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(n.SBq),n.Y36(Xs),n.Y36(n.gxx),n.Y36(Ws.ae),n.Y36(Zi,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdown","",5,"ng-container"]],inputs:{content:["tuiDropdown","content"]},exportAs:["tuiDropdown"],features:[n._Bn([T.a3,tn(t),ri(t)]),n.TTD]}),(0,it.gn)([ht.UM],t.prototype,"position",null),t})();const Qi=(0,_.JN)({showDelay:200,hideDelay:500});let Ki=(()=>{class t extends Ot{constructor(e,i,r){super(a=>this.stream$.subscribe(a)),this.hovered$=e,this.options=i,this.parentHover=r,this.toggle$=new qt.x,this.stream$=(0,q.T)(this.toggle$,this.hovered$).pipe((0,nt.w)(a=>(0,j.of)(a).pipe((0,Xt.g)(a?this.showDelay:this.hideDelay))),(0,Ui.b)(a=>{this.hovered=a}),(0,pe.B)()),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.hovered=!1,this.type="dropdown"}toggle(e){var i;null===(i=this.parentHover)||void 0===i||i.toggle(e),this.toggle$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Mt),n.Y36(Qi),n.Y36(t,12))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownHover","",5,"ng-container"]],inputs:{showDelay:["tuiDropdownShowDelay","showDelay"],hideDelay:["tuiDropdownHideDelay","hideDelay"]},features:[n._Bn([Kt(t),Mt]),n.qOj]}),t})();const Xi={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},It=(0,_.JN)(Xi);let tl=(()=>{class t{constructor(e){this.options=e,this.align=this.options.align,this.appearance=this.options.appearance,this.direction=this.options.direction,this.limitWidth=this.options.limitWidth,this.minHeight=this.options.minHeight,this.maxHeight=this.options.maxHeight,this.offset=this.options.offset}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(It,4))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},features:[n._Bn([{provide:It,useExisting:(0,n.Gpc)(()=>t)}])]}),t})(),el=(()=>{class t{constructor(e,i,r,a,l,c,d,p,h,g,m){this.directive=a,this.animation=l,this.el=c,this.accessor=d,this.win=p,this.mode$=h,this.options=g,this.hoverDirective=m,i.pipe((0,y.U)(f=>"fixed"===this.directive.position?e.correct(f):f),(0,J.R)(r)).subscribe(([f,v])=>{this.update(f,v)}),this.updateWidth(this.accessor.getClientRect().width)}onHoveredChange(e){this.hoverDirective&&this.hoverDirective.toggle(e)}onTopFocus(){this.moveFocusOutside(!0)}onBottomFocus(){this.moveFocusOutside(!1)}update(e,i){var r;const{style:a}=this.el.nativeElement,{right:l}=this.el.nativeElement.getBoundingClientRect(),{maxHeight:c,offset:d}=this.options,{innerHeight:p}=this.win,h=null===(r=this.el.nativeElement.offsetParent)||void 0===r?void 0:r.getBoundingClientRect(),{position:g}=this.directive,m=this.accessor.getClientRect(),v="fixed"===g?0:-((null==h?void 0:h.top)||0);e+=v;const S=(i+="fixed"===g?0:-((null==h?void 0:h.left)||0))m.left&&e{class t extends ai{constructor(e,i,r){super(e,i,r),this.type="dropdown"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(Ot),n.Y36(ge))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdown",""]],features:[n._Bn([T.a3]),n.qOj]}),t})(),il=(()=>{class t extends Ot{constructor(){super(e=>this.stream$.subscribe(e)),this.stream$=new zt.X(!1),this.tuiDropdownManual=!1,this.type="dropdown"}ngOnChanges(){this.stream$.next(this.tuiDropdownManual)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdown","","tuiDropdownManual",""]],inputs:{tuiDropdownManual:"tuiDropdownManual"},features:[n._Bn([Kt(t)]),n.qOj,n.TTD]}),t})(),qi=(()=>{class t extends st{constructor(e,i,r,a){super(),this.options=e,this.viewport=i,this.accessors=r,this.directive=a,this.type="dropdown"}getPosition({width:e,height:i}){var r,a;!e&&!i&&(this.previous=void 0);const l=null!==(a=null===(r=this.accessor)||void 0===r?void 0:r.getClientRect())&&void 0!==a?a:x.Jy,c=this.viewport.getClientRect(),{minHeight:d,align:p,direction:h,offset:g}=this.options,m={top:c.top-g,bottom:c.bottom+g,right:c.right-g,left:c.left+g},f=this.previous||h||"bottom",v={top:l.top-2*g-m.top,bottom:m.bottom-l.bottom-2*g},b=Math.max(l.right-e,g),S=l.left+ev.bottom?"top":"bottom";return v[f]>d&&h||v[f]>i?[k[f],k[p]]:(this.previous=V,[k[V],k[p]])}get accessor(){return qe("dropdown")(this.accessors,this.directive)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(It),n.Y36(Wt),n.Y36(Dt),n.Y36(Ut))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[n._Bn([Xe(t)]),n.qOj]}),(0,it.gn)([ht.UM],t.prototype,"accessor",null),t})(),ol=(()=>{class t extends st{constructor(e,i,r){super(),this.options=e,this.viewport=i,this.vertical=r,this.previous=this.options.direction||"bottom",this.tuiDropdownSided="",this.tuiDropdownSidedOffset=4,this.type="dropdown"}getPosition(e){var i,r;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(e);const{height:a,width:l}=e,c=null!==(r=null===(i=this.vertical.accessor)||void 0===i?void 0:i.getClientRect())&&void 0!==r?r:x.Jy,d=this.viewport.getClientRect(),{direction:p,minHeight:h,offset:g}=this.options,m="center"===this.options.align?"left":this.options.align,f={top:c.bottom-d.top,left:c.left-g-d.left,right:d.right-c.right-g,bottom:d.bottom-c.top},v={top:c.bottom-a+this.tuiDropdownSidedOffset+1,left:c.left-l-g,right:c.right+g,bottom:c.top-this.tuiDropdownSidedOffset-1},b=f.top>f.bottom?"top":"bottom",k=f[m]>l?v[m]:f.left>f.right?v.left:v.right;return f[this.previous]>h&&p||this.previous===b?[v[this.previous],k]:(this.previous=b,[v[b],k])}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(It),n.Y36(Wt),n.Y36(qi))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[n._Bn([qi,Xe(t)]),n.qOj]}),t})(),rl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[P.wq,mt.A,Ji.e,Be,ue]]}),t})();var al=M(841),to=M(9005);const sl=["wrapper"];function ll(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}const cl=(t,o)=>({$implicit:t,close:o});function ul(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",5,6),n.NdJ("keydown",function(r){n.CHM(e);const a=n.oxw(2);return n.KtG(a.onKeydown(r))}),n.YNc(2,ll,2,1,"ng-container",7),n.qZA(),n._UZ(3,"div")}if(2&t){n.oxw();const e=n.MAs(1),i=n.oxw();n.xp6(2),n.Q6J("polymorpheusOutlet",i.content)("polymorpheusOutletContext",n.WLB(2,cl,e,i.close))}}function dl(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",1,2),n.NdJ("tuiActiveZoneChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onActiveZone(r))})("tuiObscured",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onHostObscured(r))}),n.Hsn(2),n.YNc(3,ul,4,5,"ng-template",3,4,n.W1O),n.qZA()}if(2&t){const e=o.tuiLet,i=n.MAs(4),r=n.oxw();n.Q6J("tuiDropdown",i)("tuiDropdownManual",e&&r.canOpen)("tuiDropdownSided",r.sided)("tuiObscuredEnabled",e),n.xp6(3),n.Q6J("polymorpheus",r.context)}}const pl=["*"];let eo=(()=>{class t extends st{constructor(){super(...arguments),this.type="dummy"}getPosition(){return[0,0]}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiAccessorProxy",""]],features:[n._Bn([{provide:st,multi:!0,deps:[[new n.FiY,new n.tp0,t],t],useFactory:(o,e)=>o||e}]),n.qOj]}),t})();const no=new n.OlP("[TUI_HOSTED_DROPDOWN_COMPONENT]");let hl=(()=>{class t{constructor(e,i,r,a){null==a||a.tuiDropdownOpenChange.pipe((0,ft.h)(l=>l&&a.dropdown===r&&!i.focused),(0,J.R)(e)).subscribe(()=>{var l;null===(l=i.nativeFocusableElement)||void 0===l||l.focus(),i.updateOpen(!0)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(no),n.Y36(Ut,2),n.Y36(Zi,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],features:[n._Bn([T.a3])]}),t})(),gl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHostedDropdownHost",""]]}),t})();function _l(t){var o;return"key"in t&&"escape"===t.key.toLowerCase()&&this.canOpen&&this.open&&!(null!==(o=this.dropdown)&&void 0!==o&&o.nextElementSibling)}let Ce=(()=>{class t{constructor(e,i){this.hover$=e,this.el=i,this.focus$=new zt.X(!1),this.openChange=new zt.X(!1),this.sided=!1,this.canOpen=!0,this.hostHover$=(0,al.a)([(0,D.mL)(this.el.nativeElement,"mouseover").pipe((0,y.U)(r=>this.computedHost.contains((0,F.mA)(r))),(0,nt.w)(r=>{var a,l;return(0,j.of)(r).pipe((0,Xt.g)((r?null===(a=this.hover$)||void 0===a?void 0:a.showDelay:null===(l=this.hover$)||void 0===l?void 0:l.hideDelay)||0))})),this.hover$||Ke.E]).pipe((0,y.U)(([r,a])=>r&&a)),this.open$=(0,q.T)(this.openChange,this.hostHover$).pipe((0,un.T)(1),(0,vt.x)(),(0,pe.B)()),this.focusedChange=new n.vpe,this.close=()=>this.updateOpen(!1)}set open(e){this.openChange.next(e)}get open(){return this.openChange.value}get host(){var e;return(null===(e=this.dropdownHost)||void 0===e?void 0:e.nativeElement)||this.el.nativeElement}get computedHost(){var e;return(null===(e=this.dropdownHost)||void 0===e?void 0:e.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}get dropdown(){var e,i;return null===(i=null===(e=this.dropdownDirective)||void 0===e?void 0:e.dropdownBoxRef)||void 0===i?void 0:i.location.nativeElement}get nativeFocusableElement(){return(0,z.dT)(this.host)?this.host:(0,z.BW)({initial:this.host,root:this.el.nativeElement})}get focused(){return(0,z.zb)(this.host)||this.open&&!!this.wrapper&&(0,z.zb)(this.wrapper.nativeElement)}onFocusInOut(){this.focus$.next(this.focused)}onFocusIn(e){this.computedHost.contains(e)||this.updateOpen(!1)}onClick(e){var i;!this.hostEditable&&this.computedHost.contains(e)&&(null===(i=this.hover$)||void 0===i||!i.hovered)&&this.updateOpen(!this.open)}onKeyDownEsc(e){e.preventDefault(),this.closeDropdown()}onArrow(e,i){this.focusDropdown(e,i)}onKeydown({key:e,target:i,defaultPrevented:r}){!r&&function ta(t){return 1===t.length||vr.includes(t)}(e)&&this.hostEditable&&(0,F.dW)(i)&&!(0,F.Hn)(i)&&this.focusHost()}onActiveZone(e){this.updateFocused(e),e||this.updateOpen(!1)}onHostObscured(e){e&&this.closeDropdown()}updateOpen(e){(!e||this.canOpen)&&(this.open=e)}get hostEditable(){return(0,F.Hn)(this.computedHost)}focusDropdown(e,i){const r=this.nativeFocusableElement;if(!(r&&(0,F.dW)(r)&&(0,F.ve)(e.target)&&r.contains(e.target)))return;if(!(this.wrapper&&this.open&&this.dropdown&&(0,F.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,F.Hn)(r)||e.preventDefault());const l=(0,z.BW)({initial:i?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!i});l&&(l.focus(),e.preventDefault())}closeDropdown(){this.focused&&this.focusHost(),this.updateOpen(!1)}focusHost(){const e=this.nativeFocusableElement;e&&e.focus({preventScroll:!0})}updateFocused(e){this.focusedChange.emit(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Ki,10),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-hosted-dropdown"]],contentQueries:function(e,i,r){if(1&e&&n.Suo(r,gl,5,n.SBq),2&e){let a;n.iGM(a=n.CRH())&&(i.dropdownHost=a.first)}},viewQuery:function(e,i){if(1&e&&(n.Gf(sl,5,n.SBq),n.Gf(Ut,5),n.Gf(mt.e,5)),2&e){let r;n.iGM(r=n.CRH())&&(i.wrapper=r.first),n.iGM(r=n.CRH())&&(i.dropdownDirective=r.first),n.iGM(r=n.CRH())&&(i.activeZone=r.first)}},hostVars:1,hostBindings:function(e,i){1&e&&n.NdJ("$.class._hosted_dropdown_focused",function(){return i.focus$})("focusin.capture.silent",function(){return i.onFocusInOut()})("focusout.capture.silent",function(){return i.onFocusInOut()})("focusin",function(a){return i.onFocusIn(a.target)})("click",function(a){return i.onClick(a.target)})("keydown.silent.capture",function(a){return i.onKeyDownEsc(a)},!1,n.evT)("keydown.arrowDown",function(a){return i.onArrow(a,!0)})("keydown.arrowUp",function(a){return i.onArrow(a,!1)}),2&e&&n.Ikx("$.class._hosted_dropdown_focused",i.focus$)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[n._Bn([(0,H.FT)(t),{provide:eo,deps:[[new n.FiY,new n.PiD,st]],useFactory:o=>null==o?void 0:o[0]},{provide:no,useExisting:t}])],ngContentSelectors:pl,decls:2,vars:3,consts:[["tuiAccessorProxy","","tuiDropdownOpenMonitor","","class","t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured",4,"tuiLet"],["tuiAccessorProxy","","tuiDropdownOpenMonitor","",1,"t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[1,"t-dropdown",3,"keydown"],["wrapper",""],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(e,i){if(1&e&&(n.F$t(),n.YNc(0,dl,5,5,"div",0),n.ALo(1,"async")),2&e){let r;n.Q6J("tuiLet",null!==(r=n.lcZ(1,1,i.open$))&&void 0!==r?r:i.openChange.value)}},dependencies:[at.Ls,eo,hl,Ut,nl,il,ol,mt.e,js,P.GL,P.Li,C.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}.t-dropdown[_ngcontent-%COMP%]{height:100%}"],changeDetection:0}),(0,it.gn)([(0,to.uX)(_l)],t.prototype,"onKeyDownEsc",null),t})(),io=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,P.wq,at.WD,Zs,mt.A,rl]]}),t})();function ml(t,o){1&t&&n._UZ(0,"tui-svg",3),2&t&&n.Q6J("src",o.polymorpheusOutlet)}let oo=(()=>{class t extends te{constructor(e,i,r,a){super(r),this.isMobile=a,this.mode=null,this.describeId="",i.pipe((0,J.R)(e)).subscribe(l=>{this.mode=l})}get computedAppearance(){return this.appearance||this.mode||""}stopOnMobile(e){var i;this.isMobile&&(e.preventDefault(),e.stopPropagation()),null===(i=this.driver$)||void 0===i||i.toggle()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(Ct),n.Y36(Tt),n.Y36(H.fL))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(e,i){if(1&e&&n.Gf(ve,5),2&e){let r;n.iGM(r=n.CRH())&&(i.driver$=r.first)}},hostVars:1,hostBindings:function(e,i){1&e&&n.NdJ("mousedown",function(a){return i.stopOnMobile(a)}),2&e&&n.uIk("data-appearance",i.computedAppearance)},inputs:{content:"content",direction:"direction",appearance:"appearance",showDelay:"showDelay",hideDelay:"hideDelay",describeId:"describeId",context:"context"},features:[n._Bn([T.a3,wt]),n.qOj],decls:4,vars:11,consts:[["appearance","icon","automation-id","tui-tooltip__icon","tuiWrapper","",1,"t-tooltip-icon",3,"hover","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],[3,"src",4,"polymorpheusOutlet"],[3,"src"]],template:function(e,i){if(1&e&&(n.TgZ(0,"span",0,1),n.ALo(2,"async"),n.YNc(3,ml,1,1,"tui-svg",2),n.qZA()),2&e){const r=n.MAs(1);n.Q6J("hover",n.lcZ(2,9,r)||null)("tuiHint",i.content)("tuiHintAppearance",i.computedAppearance)("tuiHintContext",i.context)("tuiHintDescribe",i.describeId)("tuiHintDirection",i.direction)("tuiHintHideDelay",i.hideDelay)("tuiHintShowDelay",i.showDelay),n.xp6(3),n.Q6J("polymorpheusOutlet",i.icon)}},dependencies:[gt,xt,dn,Vs,ve,Js,$s,P.Li,C.Ov],styles:['[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-01)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-error-fill)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%;color:inherit}[tuiWrapper][data-appearance="textfield"][data-state="disabled"][_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%], [tuiWrapper][data-appearance="textfield"][data-state="disabled"] [_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%]{opacity:1}'],changeDetection:0}),t})(),ro=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,yt,_t,Vi,P.wq]]}),t})(),ao=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["ng-template","tuiDataList",""]]}),t})();function Ml(t,o){return t?(0,D.EK)(t).pipe((0,y.U)(e=>o?o.fromControlValue(e):e)):(0,j.of)(null)}const Cl=new n.OlP("[TUI_CALENDAR_DATE_STREAM]");function Ol(t){return{provide:Cl,deps:[[new n.FiY,new n.PiD,w.a5],[new n.FiY,t]],useFactory:Ml}}(0,_.JN)({[s.AD]:"+376###-###",[s.AE]:"+971-##-###-####",[s.AF]:"+93##-###-####",[s.AG]:"+1(268) ###-####",[s.AI]:"+1(264) ###-####",[s.AL]:"+355(###) ###-###",[s.AM]:"+374##-###-###",[s.AO]:"+244(###) ###-###",[s.AR]:"+54(###) ####-####",[s.AT]:"+43(###) ###-####",[s.AU]:"+61#-####-####",[s.AW]:"+297###-####",[s.AZ]:"+994##-###-##-##",[s.BA]:"+387 ###-####-##",[s.BB]:"+1(246) ###-####",[s.BD]:"+880##-###-###",[s.BE]:"+32(###) ###-###",[s.BF]:"+226##-##-####",[s.BG]:"+359(###) ###-###",[s.BH]:"+973####-####",[s.BI]:"+257##-##-####",[s.BJ]:"+229##-##-####",[s.BL]:"+590 ## ## ## ## ##",[s.BM]:"+1(441) ###-####",[s.BN]:"+673###-####",[s.BO]:"+591#-###-####",[s.BQ]:"+599-###-####",[s.BR]:"+55(##) ####-####",[s.BS]:"+1(242) ###-####",[s.BT]:"+975#-###-###",[s.BW]:"+267##-###-###",[s.BY]:"+375(##) ###-##-##",[s.BZ]:"+501###-####",[s.CA]:"+1(###) ###-####",[s.CD]:"+243(###) ###-###",[s.CF]:"+236-##-##-####",[s.CG]:"+242##-###-####",[s.CH]:"+41##-###-####",[s.CI]:"+225##-##-###-###",[s.CL]:"+56#-####-####",[s.CM]:"+237#####-####",[s.CN]:"+86(###) ####-####",[s.CO]:"+57(###) ###-####",[s.CR]:"+506####-####",[s.CU]:"+53#-###-####",[s.CV]:"+238(###) ##-##",[s.CW]:"+5999-###-####",[s.CY]:"+357##-###-###",[s.CZ]:"+420(###) ###-###",[s.DE]:"+49(###) ###-###-##",[s.DJ]:"+253##-##-##-##",[s.DK]:"+45##-##-##-##",[s.DM]:"+1(767) ###-####",[s.DO]:"+1(###) ###-####",[s.DZ]:"+213##-###-####",[s.EC]:"+593##-###-####",[s.EE]:"+372####-####",[s.EG]:"+20(###) ###-####",[s.ER]:"+291#-###-###",[s.ES]:"+34(###) ###-###",[s.ET]:"+251##-###-####",[s.FI]:"+358(###) ###-##-##",[s.FJ]:"+679##-#####",[s.FK]:"+500#####",[s.FM]:"+691###-####",[s.FR]:"+33 ## ## ## ## ##",[s.GA]:"+241##-##-##-##",[s.GB]:"+44##-####-####",[s.GD]:"+1(473) ###-####",[s.GE]:"+995(###) ###-###",[s.GF]:"+594 ## ## ## ## ##",[s.GH]:"+233(###) ###-###",[s.GI]:"+350###-#####",[s.GL]:"+299##-##-##",[s.GM]:"+220(###) ##-##",[s.GN]:"+224##-###-###",[s.GP]:"+590 ## ## ## ## ##",[s.GQ]:"+240##-###-####",[s.GR]:"+30(###) ###-####",[s.GT]:"+502#-###-####",[s.GW]:"+245#-######",[s.GY]:"+592###-####",[s.HK]:"+852####-####",[s.HN]:"+504####-####",[s.HR]:"+385##-###-####",[s.HT]:"+509##-##-####",[s.HU]:"+36(###) ###-###",[s.ID]:"+62(###) ###-##-###",[s.IE]:"+353(###) ###-###",[s.IL]:"+972##-###-####",[s.IN]:"+91(####) ###-###",[s.IQ]:"+964(###) ###-####",[s.IR]:"+98(###) ###-####",[s.IS]:"+354###-####",[s.IT]:"+39(###) ####-###",[s.JM]:"+1(876) ###-####",[s.JO]:"+962#-####-####",[s.JP]:"+81-##-####-####",[s.KE]:"+254###-######",[s.KG]:"+996(###) ###-###",[s.KH]:"+855##-###-###",[s.KM]:"+269##-#####",[s.KN]:"+1(869) ###-####",[s.KP]:"+850####-#############",[s.KR]:"+82##-###-####",[s.KW]:"+965####-####",[s.KY]:"+1(345) ###-####",[s.KZ]:"+7(###) ###-##-##",[s.LA]:"+856##-##-###-###",[s.LB]:"+961##-###-###",[s.LC]:"+1(758) ###-####",[s.LI]:"+423(###) ###-####",[s.LK]:"+94##-###-####",[s.LR]:"+231##-###-###",[s.LS]:"+266#-###-####",[s.LT]:"+370(###) ##-###",[s.LU]:"+352(###) ###-###",[s.LV]:"+371##-###-###",[s.LY]:"+218##-###-####",[s.MA]:"+212##-####-###",[s.MC]:"+377###-###-###",[s.MD]:"+373####-####",[s.ME]:"+382##-###-###",[s.MF]:"+590 ## ## ## ## ##",[s.MG]:"+261##-##-#####",[s.MK]:"+389##-###-###",[s.ML]:"+223##-##-####",[s.MM]:"+95##-###-###",[s.MN]:"+976##-##-####",[s.MO]:"+853####-####",[s.MQ]:"+596 ## ## ## ## ##",[s.MR]:"+222##-##-####",[s.MS]:"+1(664) ###-####",[s.MT]:"+356####-####",[s.MU]:"+230####-####",[s.MV]:"+960###-####",[s.MW]:"+265#-####-####",[s.MX]:"+52(###) ###-####",[s.MY]:"+60(###) ###-###",[s.MZ]:"+258##-###-###",[s.NA]:"+264##-###-####",[s.NC]:"+687 ### ###",[s.NE]:"+227##-##-####",[s.NG]:"+234(###) ###-####",[s.NI]:"+505####-####",[s.NL]:"+31##-###-####",[s.NO]:"+47(###) ##-###",[s.NP]:"+977##-###-###",[s.NZ]:"+64(###) ###-####",[s.OM]:"+968##-###-###",[s.PA]:"+507###-####",[s.PE]:"+51(###) ###-###",[s.PF]:"+689 ## ## ## ##",[s.PG]:"+675(###) ##-###",[s.PH]:"+63(###) ###-####",[s.PK]:"+92(###) ###-####",[s.PL]:"+48(###) ###-###",[s.PT]:"+351##-###-####",[s.PW]:"+680###-####",[s.PY]:"+595(###) ###-###",[s.QA]:"+974####-####",[s.RE]:"+262 ## ## ## ## ##",[s.RO]:"+40##-###-####",[s.RS]:"+381##-###-####",[s.RU]:"+7### ###-##-##",[s.RW]:"+250(###) ###-###",[s.SA]:"+966#-####-####",[s.SB]:"+677###-####",[s.SC]:"+248#-###-###",[s.SD]:"+249##-###-####",[s.SE]:"+46##-###-####",[s.SG]:"+65####-####",[s.SH]:"+290####",[s.SI]:"+386##-###-###",[s.SK]:"+421(###) ###-###",[s.SL]:"+232##-######",[s.SM]:"+378####-######",[s.SN]:"+221##-###-####",[s.SO]:"+252##-###-###",[s.SR]:"+597###-####",[s.ST]:"+239##-#####",[s.SV]:"+503##-##-####",[s.SX]:"+1(721) ###-####",[s.SY]:"+963##-####-###",[s.SZ]:"+268##-##-####",[s.TC]:"+1(649) ###-####",[s.TD]:"+235##-##-##-##",[s.TG]:"+228##-###-###",[s.TH]:"+66##-###-####",[s.TJ]:"+992##-###-####",[s.TL]:"+670###-#####",[s.TM]:"+993#-###-####",[s.TN]:"+216##-###-###",[s.TO]:"+676#####",[s.TR]:"+90(###) ###-####",[s.TT]:"+1(868) ###-####",[s.TW]:"+886#-####-####",[s.TZ]:"+255##-###-####",[s.UA]:"+380(##) ###-##-##",[s.UG]:"+256(###) ###-###",[s.US]:"+1(###) ###-####",[s.UY]:"+598#-###-##-##",[s.UZ]:"+998##-###-####",[s.VC]:"+1(784) ###-####",[s.VE]:"+58(###) ###-####",[s.VG]:"+1(284)###-####",[s.VN]:"+84(###) ####-###",[s.VU]:"+678##-#####",[s.WS]:"+685##-####",[s.XK]:"+383##-###-###",[s.YE]:"+967###-###-###",[s.YT]:"+262 ## ## ## ## ##",[s.ZA]:"+27##-###-####",[s.ZM]:"+260##-###-####",[s.ZW]:"+263#-######"});const so=new n.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),Tl=(new n.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new n.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),(0,_.N1)(A("prompt")),(0,_.N1)(A("cancel")),(0,_.N1)(A("done")),(0,_.N1)(A("more")),(0,_.N1)(A("hide")),(0,_.N1)(A("showAll")),(0,_.N1)(A("otherDate")),(0,_.N1)(A("mobileCalendarTexts")),(0,_.N1)(A("range")),(0,_.N1)(A("countTexts")),(0,_.N1)(A("time")),(0,_.N1)(A("dateTexts"))),lo=((0,_.N1)(A("digitalInformationUnits")),(0,_.N1)(A("copyTexts")),(0,_.N1)(A("passwordTexts")),(0,_.N1)(A("shortCalendarMonths")),(0,_.N1)(A("fileTexts")),(0,_.N1)(A("pagination")),(0,_.N1)(A("inputFileTexts")),(0,_.N1)(A("multiSelectTexts")),(0,_.N1)(A("countries")),{icon:({$implicit:t})=>"s"===t?"tuiIconCalendar":"tuiIconCalendarLarge",min:ut,max:dt,nativePicker:!1}),co=(0,_.JN)(lo);(0,_.JN)({stringify:x.yZ,identityMatcher:x.bg,disabledItemHandler:x.Iy});const Pl=new n.OlP("[TUI_MOBILE_CALENDAR]"),wl=(new n.OlP("[TUI_MONTH_FORMATTER]"),(0,_.JN)(24),(0,_.JN)({}),t={limitWidth:"fixed",align:"right"},{provide:It,deps:[[new n.FiY,tl],[new n.FiY,new n.tp0,It]],useFactory:function na(t,o){return(e,i)=>{const r=e||Object.assign({},i||o);return Object.keys(t).forEach(a=>{r[a]=t[a]}),r}}(t,Xi)}),xl={provide:ii,deps:[[new n.FiY,new n.PiD,w.JU]],useFactory:je.y};var t;const Il=["input"];function Sl(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}function kl(t,o){if(1&t&&(n.TgZ(0,"div",6),n.YNc(1,Sl,2,1,"ng-container",7),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.leftContent)}}function El(t,o){if(1&t&&n._UZ(0,"tui-loader",8),2&t){const e=n.oxw();n.Q6J("inheritColor",!0)("size",e.loaderSize)}}function Al(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-svg",9),n.NdJ("click",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.remove(r))})("mousedown.stop.prevent.silent",function(){return 0}),n.qZA()}if(2&t){const e=n.oxw();n.Q6J("src",e.icons.close)}}function Ll(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"input",10,11),n.NdJ("blur",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.onBlur())})("keydown",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onKeyDown(r))})("ngModelChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onInput(r))}),n.qZA()}if(2&t){const e=n.oxw();n.Q6J("ngModel",e.editedText),n.uIk("maxLength",e.maxLength)}}const ho=(0,_.JN)({size:"m",status:"default",autoColor:!1});let Fl=(()=>{class t{constructor(e,i,r,a){this.el=e,this.mode$=i,this.options=r,this.icons=a,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new n.vpe,this.editing=!1,this.editedText=null}set input(e){e&&e.nativeElement.focus()}get backgroundColor(){return this.autoColor?function yl(t){if(""===t)return"";let o=0;for(let a=0;a1?this.save(String(i)):this.editedText=e}onKeyDown(e){switch(e.stopPropagation(),e.key.toLowerCase()){case"enter":e.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":e.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}onBlur(){null!==this.editedText&&this.save(this.editedText)}get canEdit(){return this.editable&&!this.disabled&&!this.showLoader}stopEditing(){this.editing=!1,this.editedText=null}save(e){this.stopEditing(),this.edited.emit(e.trim())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(Ct),n.Y36(ho),n.Y36(he))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(e,i){if(1&e&&n.Gf(Il,5,n.SBq),2&e){let r;n.iGM(r=n.CRH())&&(i.input=r.first)}},hostVars:10,hostBindings:function(e,i){1&e&&n.NdJ("$.data-mode.attr",function(){return i.mode$})("keydown.enter",function(a){return i.edit(a)})("keydown.delete",function(a){return i.remove(a)})("keydown.backspace",function(a){return i.remove(a)}),2&e&&(n.uIk("data-size",i.size)("data-status",i.status),n.ekj("_hoverable",i.hoverable)("_disabled",i.disabled)("_autocolor",i.autoColor)("_editing",i.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[n._Bn([wt])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],["automation-id","tui-tag__remove","class","t-icon",3,"src","click","mousedown.stop.prevent.silent",4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","blur","keydown","ngModelChange",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["automation-id","tui-tag__remove",1,"t-icon",3,"src","click","mousedown.stop.prevent.silent"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","blur","keydown","ngModelChange"],["input",""]],template:function(e,i){1&e&&(n.TgZ(0,"div",0),n.NdJ("dblclick",function(a){return i.edit(a)}),n.YNc(1,kl,2,1,"div",1),n._UZ(2,"span",2),n.YNc(3,El,1,2,"tui-loader",3)(4,Al,1,1,"tui-svg",4),n.qZA(),n.YNc(5,Ll,2,2,"input",5)),2&e&&(n.Udp("background-color",i.backgroundColor),n.xp6(1),n.Q6J("ngIf",i.leftContent),n.xp6(1),n.Q6J("textContent",i.displayText),n.xp6(1),n.Q6J("ngIf",i.showLoader),n.xp6(1),n.Q6J("ngIf",i.canRemove),n.xp6(1),n.Q6J("ngIf",i.editing))},dependencies:[nn,gt,C.O5,P.Li,w.Fj,w.JJ,w.On],styles:['[_nghost-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;max-width:100%;cursor:default;outline:none;text-decoration:none;padding:0;border:0}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-size=m][_nghost-%COMP%]{border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{border-radius:var(--tui-radius-s)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:#000c}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity);-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{-webkit-margin-start:0;margin-inline-start:0}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%] svg{transform:scale(.75)}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}'],changeDetection:0}),t})(),Hl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,w.u5,_t,on,P.wq]]}),t})();const Rl=["focusableElement"],Nl=["tagsContainer"],zl=["cleaner"],Bl=["errorIcon"],Ul=["tag"];function Yl(t,o){1&t&&n.GkF(0)}function Gl(t,o){1&t&&n._UZ(0,"tui-svg",21),2&t&&n.Q6J("src",o.polymorpheusOutlet)}const pn=t=>({$implicit:t});function $l(t,o){if(1&t&&(n.TgZ(0,"div",19),n.YNc(1,Gl,1,1,"tui-svg",20),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconLeft)("polymorpheusOutletContext",n.VKq(2,pn,e.size))}}function Vl(t,o){if(1&t&&(n.TgZ(0,"div",22),n.Hsn(1,2),n.qZA()),2&t){const e=n.oxw();n.ekj("t-placeholder_raised",e.placeholderRaised)}}function Jl(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-tag",24,25),n.NdJ("edited",function(r){const l=n.CHM(e).index,c=n.oxw(2);return n.KtG(c.onTagEdited(r,l))})("keydown.arrowLeft.prevent",function(){const a=n.CHM(e).index,l=n.oxw(2);return n.KtG(l.onTagKeyDownArrowLeft(a))})("keydown.arrowRight.prevent",function(){const a=n.CHM(e).index,l=n.oxw(2);return n.KtG(l.onTagKeyDownArrowRight(a))}),n.ALo(2,"async"),n.qZA()}if(2&t){const e=o.$implicit,i=n.oxw(2);n.Q6J("disabled",i.computedDisabled||i.disabledItemHandler(e))("editable",i.editable&&!i.readOnly)("hoverable",!i.readOnly)("leftContent",i.getLeftContent(e))("maxLength",i.maxLength)("removable",!i.readOnly&&i.removable)("separator",i.separator)("size",i.controller.size)("status",n.lcZ(2,11,i.status$))("tuiFocusable",!1)("value",e.toString())}}function jl(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Jl,3,13,"tui-tag",23),n.BQk()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("ngForOf",e.value)("ngForTrackBy",e.trackByFn)}}function Zl(t,o){if(1&t&&n._UZ(0,"span",27),2&t){const e=o.$implicit,i=n.oxw(2);n.ekj("t-text_comma",i.computedFocused&&!i.inputHidden)("t-text_disabled",i.disabledItemHandler(e))("t-text_error",!i.tagValidator(e)),n.Q6J("textContent",e)}}function Wl(t,o){if(1&t&&n.YNc(0,Zl,1,7,"span",26),2&t){const e=n.oxw();n.Q6J("ngForOf",e.value)}}function Ql(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-svg",32,33),n.NdJ("click.stop",function(){n.CHM(e);const r=n.oxw(3);return n.KtG(r.onCleanerClick())}),n.qZA()}2&t&&n.Q6J("src",o.polymorpheusOutlet)}function Kl(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Ql,2,1,"tui-svg",31),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconCleaner)("polymorpheusOutletContext",n.VKq(2,pn,e.size))}}function Xl(t,o){if(1&t&&n._UZ(0,"tui-tooltip",34),2&t){const e=n.oxw(2);n.Q6J("content",null==e.hintOptions?null:e.hintOptions.content)("describeId",e.id)}}function ql(t,o){1&t&&n._UZ(0,"tui-svg",21),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function tc(t,o){if(1&t&&(n.TgZ(0,"div",35),n.YNc(1,ql,1,1,"tui-svg",20),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",n.VKq(2,pn,e.size))}}function ec(t,o){if(1&t&&(n.TgZ(0,"div",28),n.YNc(1,Kl,2,4,"ng-container",0)(2,Xl,1,2,"tui-tooltip",29)(3,tc,2,4,"div",30),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("ngIf",e.hasCleaner),n.xp6(1),n.Q6J("ngIf",e.showHint),n.xp6(1),n.Q6J("ngIf",e.icon)}}function nc(t,o){if(1&t&&n._UZ(0,"tui-svg",36),2&t){const e=n.oxw();n.Q6J("src",e.icons.error)}}const ic=[[["tuiContent"]],[["select"]],"*"],oc=["tuiContent","select","*"],_o=(0,_.JN)({separator:",",uniqueTags:!0,tagStatus:"primary"}),rc={s:1.25,m:1.5,l:2},ac={s:1,m:1.25,l:1.25};let lc=(()=>{class t extends E.m6{constructor(e,i,r,a,l,c,d,p,h,g){super(e,i),this.el=r,this.modeDirective=a,this.mode$=l,this.hintOptions=c,this.controller=d,this.options=p,this.parentHostedDropdown=h,this.icons=g,this.tags=x.Mm,this.separator=this.options.separator,this.search="",this.editable=!0,this.tagValidator=x.Ye,this.expandable=!0,this.rows=1/0,this.inputHidden=!1,this.uniqueTags=this.options.uniqueTags,this.maxLength=null,this.placeholder="",this.removable=!0,this.disabledItemHandler=x.Iy,this.searchChange=new n.vpe,this.status$=this.mode$.pipe((0,y.U)(()=>this.status)),this.open=!1}set pseudoFocusedSetter(e){!e&&!this.focused&&this.scrollTo(0),this.pseudoFocus=e}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){var e;return(0,z.zb)(this.el.nativeElement)||!(null===(e=this.hostedDropdown)||void 0===e||!e.focused)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get labelOutside(){const{size:e,labelOutside:i}=this.controller;return"s"===e||i}get iconLeft(){return this.controller.iconLeft}get icon(){return this.controller.icon}get iconCleaner(){return this.controller.options.iconCleaner}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&this.interactive}get hasNativeValue(){return!!this.search}get hasValue(){return!!this.value.length||this.hasNativeValue}get hasPlaceholder(){return!this.labelOutside||!this.hasValue&&(!this.hasExampleText||this.inputHidden)}get placeholderRaised(){return!this.labelOutside&&(this.computedFocused&&!this.readOnly||this.hasValue)}get hasExampleText(){var e;return!(null===(e=this.nativeFocusableElement)||void 0===e||!e.placeholder)&&this.computedFocused&&!this.hasValue&&!this.readOnly}get hasRightIcons(){var e;return this.hasCleaner||!!this.icon||!(null===(e=this.hintOptions)||void 0===e||!e.content)&&!this.computedDisabled}get showHint(){var e;return!(null===(e=this.hintOptions)||void 0===e||!e.content)&&(this.controller.options.hintOnDisabled||!this.computedDisabled)}get status(){var e;return null!==(e=this.modeDirective)&&void 0!==e&&e.mode?"default":this.options.tagStatus}get canOpen(){return this.interactive&&!!this.datalist}get computeMaxHeight(){return this.expandable?this.rows*this.lineHeight:null}detectRetargetFromLabel(e){(0,F.UP)(e)&&e.stopImmediatePropagation()}getLeftContent(e){return!this.tagValidator(e)&&this.errorIconTemplate?this.errorIconTemplate:""}onCleanerClick(){var e;this.updateSearch(""),this.clear(),this.focusInput(),null===(e=this.parentHostedDropdown)||void 0===e||e.updateOpen(!0)}onActiveZone(e){this.open=!1,this.addTag(),this.updateFocused(e),!e&&!this.computedFocused&&this.scrollTo(0)}onMouseDown(e){var i;const r=(0,F.mA)(e);!this.focusableElement||r===this.focusableElement.nativeElement||!(0,F.ve)(e.target)||null!==(i=this.cleanerSvg)&&void 0!==i&&i.nativeElement.contains(e.target)||this.tagsContainer&&r!==this.tagsContainer.nativeElement&&this.tagsContainer.nativeElement.contains(r)||(e.preventDefault(),this.focusInput())}onFieldKeyDownBackspace(e){this.labelOutside||this.hasNativeValue||!this.value.length?this.onFieldKeyDownArrowLeft(e):this.deleteLastEnabledItem()}onFieldKeyDownArrowLeft(e){!this.labelOutside||this.hasNativeValue||!this.value.length||(e.preventDefault(),this.tags.last.nativeElement.focus())}onFieldKeyDownEnter(){this.addTag(),this.scrollTo()}onTagKeyDownArrowLeft(e){e>0&&this.onScrollKeyDown(e,-1)}onTagKeyDownArrowRight(e){e===this.value.length-1?this.focusInput():this.onScrollKeyDown(e,1)}onTagEdited(e,i){this.focusInput(""===e),this.value=this.filterValue(this.value.map((r,a)=>a!==i?r:e.split(this.separator).map(l=>l.trim()).filter(Boolean)).reduce((r,a)=>r.concat(a),[]))}handleOption(e){this.focusInput(),this.updateSearch(""),this.value=this.filterValue(this.value.concat(e)),this.open=!1,this.scrollTo()}onInput(e){const i=e.split(this.separator),a=i.map(l=>this.clippedValue(l.trim())).filter((l,c,{length:d})=>l.length>0&&c!==d-1).filter(l=>!this.disabledItemHandler(l));i.length>1?(this.updateSearch(this.clippedValue(i[i.length-1].trim())),this.value=this.filterValue([...this.value,...a])):this.updateSearch(this.clippedValue(e)),this.open=this.hasNativeValue}onPaste(e){const i=(0,F.Nn)(e);this.onInput(i||"")}onDrop({dataTransfer:e}){e&&this.onInput(e.getData("text")||"")}setDisabledState(){super.setDisabledState(),this.open=!1}trackByFn(e,i){return i.toString()}scrollTo(e){var i;void 0===e&&(e=null===(i=this.scrollBar)||void 0===i?void 0:i.nativeElement.scrollWidth),setTimeout(()=>{this.scrollBar&&(this.scrollBar.nativeElement.scrollLeft=e||0)})}filterValue(e){const i=new Set;return e.reverse().filter(r=>!this.uniqueTags||r&&!i.has(r)&&i.add(r)).reverse()}onScrollKeyDown(e,i){const r=this.tags.find((a,l)=>l===e+i);!r||!this.scrollBar||(r.nativeElement.focus(),i*this.scrollBar.nativeElement.clientWidth-i*r.nativeElement.offsetLeft-r.nativeElement.clientWidth<0&&(this.scrollBar.nativeElement.scrollLeft+=i*r.nativeElement.clientWidth))}updateSearch(e){this.focusableElement&&(this.focusableElement.nativeElement.value=e),this.search=e,this.searchChange.emit(e)}addTag(){var e,i;const r=null!==(i=null===(e=this.search)||void 0===e?void 0:e.trim())&&void 0!==i?i:"";!r||this.disabledItemHandler(r)||(this.updateSearch(""),this.value=this.filterValue(this.value.concat(r)))}deleteLastEnabledItem(){for(let e=this.value.length-1;e>=0;e--)if(!this.disabledItemHandler(this.value[e])){this.value=(0,_.WX)(this.value,e);break}}focusInput(e=!1){var i;null===(i=this.nativeFocusableElement)||void 0===i||i.focus({preventScroll:e})}clippedValue(e){return e.slice(0,this.maxLength||e.length)}get lineHeight(){return this.labelOutside?rc[this.controller.size]+.25:ac[this.controller.size]}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(Qt,8),n.Y36(Ct),n.Y36(te,8),n.Y36(me),n.Y36(_o),n.Y36(Ce,8),n.Y36(he))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-input-tag"]],contentQueries:function(e,i,r){if(1&e&&n.Suo(r,ao,5,n.Rgc),2&e){let a;n.iGM(a=n.CRH())&&(i.datalist=a.first)}},viewQuery:function(e,i){if(1&e&&(n.Gf(Ce,5),n.Gf(Rl,5),n.Gf(Nl,5),n.Gf(zl,5,n.SBq),n.Gf(ce,5,n.SBq),n.Gf(Bl,5),n.Gf(Ul,5,n.SBq)),2&e){let r;n.iGM(r=n.CRH())&&(i.hostedDropdown=r.first),n.iGM(r=n.CRH())&&(i.focusableElement=r.first),n.iGM(r=n.CRH())&&(i.tagsContainer=r.first),n.iGM(r=n.CRH())&&(i.cleanerSvg=r.first),n.iGM(r=n.CRH())&&(i.scrollBar=r.first),n.iGM(r=n.CRH())&&(i.errorIconTemplate=r.first),n.iGM(r=n.CRH())&&(i.tags=r)}},hostVars:7,hostBindings:function(e,i){2&e&&(n.uIk("data-size",i.size),n.ekj("_expandable",i.expandable)("_label-outside",i.labelOutside)("_icon-left",i.iconLeft))},inputs:{separator:"separator",search:"search",editable:"editable",tagValidator:"tagValidator",expandable:"expandable",rows:"rows",inputHidden:"inputHidden",uniqueTags:"uniqueTags",maxLength:"maxLength",placeholder:"placeholder",removable:"removable",disabledItemHandler:"disabledItemHandler",pseudoFocusedSetter:["pseudoFocused","pseudoFocusedSetter"]},outputs:{searchChange:"searchChange"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t),ca(t),ln,wt],[wl]),n.qOj],ngContentSelectors:oc,decls:25,vars:34,consts:[[4,"ngIf"],[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["tuiWrapper","",3,"appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon t-icon-wrapper",4,"ngIf"],[1,"t-wrapper"],[1,"t-absolute-wrapper"],["automation-id","tui-input-tag__placeholder","class","t-placeholder",3,"t-placeholder_raised",4,"ngIf"],[1,"t-scrollbar",3,"hidden"],[1,"t-tags"],[4,"ngIf","ngIfElse"],["text",""],[1,"t-input-wrapper"],[1,"t-ghost"],["automation-id","tui-input-tag__native","type","text",1,"t-native",3,"disabled","id","ngModel","placeholder","readOnly","tuiFocusable","drop.prevent","keydown.arrowLeft","keydown.backspace","keydown.enter.prevent","ngModelChange","paste.prevent"],["focusableElement",""],[1,"t-value-content"],["class","t-icons t-icon-wrapper",4,"ngIf"],["errorIcon",""],[1,"t-icon","t-icon_left","t-textfield-icon","t-icon-wrapper"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-input-tag__placeholder",1,"t-placeholder"],["automation-id","tui-input-tag__tag","class","t-tag",3,"disabled","editable","hoverable","leftContent","maxLength","removable","separator","size","status","tuiFocusable","value","edited","keydown.arrowLeft.prevent","keydown.arrowRight.prevent",4,"ngFor","ngForOf","ngForTrackBy"],["automation-id","tui-input-tag__tag",1,"t-tag",3,"disabled","editable","hoverable","leftContent","maxLength","removable","separator","size","status","tuiFocusable","value","edited","keydown.arrowLeft.prevent","keydown.arrowRight.prevent"],["tag",""],["class","t-text",3,"t-text_comma","t-text_disabled","t-text_error","textContent",4,"ngFor","ngForOf"],[1,"t-text",3,"textContent"],[1,"t-icons","t-icon-wrapper"],["automation-id","tui-input-tag__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["appearance","icon","automation-id","tui-input-tag__cleaner","tuiWrapper","","class","t-cleaner",3,"src","click.stop",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","automation-id","tui-input-tag__cleaner","tuiWrapper","",1,"t-cleaner",3,"src","click.stop"],["cleaner",""],["automation-id","tui-input-tag__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"],[1,"t-error-icon",3,"src"]],template:function(e,i){if(1&e&&(n.F$t(ic),n.YNc(0,Yl,1,0,"ng-container",0),n.ALo(1,"async"),n.TgZ(2,"tui-hosted-dropdown",1),n.NdJ("openChange",function(a){return i.open=a})("tuiActiveZoneChange",function(a){return i.onActiveZone(a)}),n.TgZ(3,"div",2),n.NdJ("click.prevent.silent",function(a){return i.detectRetargetFromLabel(a)})("mousedown",function(a){return i.onMouseDown(a)}),n.TgZ(4,"div",3),n.YNc(5,$l,2,4,"div",4),n.TgZ(6,"div",5)(7,"div",6),n.YNc(8,Vl,2,2,"div",7),n.qZA(),n.TgZ(9,"tui-scrollbar",8)(10,"div",9),n.YNc(11,jl,2,2,"ng-container",10)(12,Wl,1,1,"ng-template",null,11,n.W1O),n.TgZ(14,"div",12)(15,"div",13),n._uU(16),n.qZA(),n.TgZ(17,"input",14,15),n.NdJ("drop.prevent",function(a){return i.onDrop(a)})("keydown.arrowLeft",function(a){return i.onFieldKeyDownArrowLeft(a)})("keydown.backspace",function(a){return i.onFieldKeyDownBackspace(a)})("keydown.enter.prevent",function(){return i.onFieldKeyDownEnter()})("ngModelChange",function(a){return i.onInput(a)})("paste.prevent",function(a){return i.onPaste(a)}),n.qZA()()(),n.TgZ(19,"div",16),n.Hsn(20),n.qZA()()(),n.Hsn(21,1),n.YNc(22,ec,4,3,"div",17),n.qZA(),n.YNc(23,nc,1,1,"ng-template",null,18,n.W1O),n.qZA()()),2&e){const r=n.MAs(13);n.Q6J("ngIf",n.lcZ(1,32,null==i.hintOptions?null:i.hintOptions.change$)),n.xp6(2),n.Q6J("canOpen",i.canOpen)("content",i.datalist||"")("open",i.open),n.xp6(1),n.Q6J("appearance",i.appearance)("disabled",i.computedDisabled)("focus",i.computedFocused)("hover",i.pseudoHover)("invalid",i.computedInvalid)("readOnly",i.readOnly),n.xp6(2),n.Q6J("ngIf",i.iconLeft),n.xp6(3),n.Q6J("ngIf",i.hasPlaceholder),n.xp6(1),n.Udp("max-height",i.computeMaxHeight,"rem"),n.Q6J("hidden",!i.expandable),n.xp6(1),n.ekj("t-tags_empty",(!i.focused||i.inputHidden)&&!(null!=i.value&&i.value.length)),n.xp6(1),n.Q6J("ngIf",i.labelOutside)("ngIfElse",r),n.xp6(3),n.ekj("t-input-wrapper_collapsed",i.computedDisabled||i.readOnly||i.inputHidden),n.xp6(2),n.Oqu(i.search),n.xp6(1),n.ekj("t-native_hidden",i.inputHidden),n.Q6J("disabled",i.computedDisabled)("id",i.id)("ngModel",i.search)("placeholder",i.placeholder)("readOnly",i.readOnly||i.inputHidden)("tuiFocusable",i.computedFocusable),n.uIk("maxLength",i.maxLength),n.xp6(5),n.Q6J("ngIf",i.hasRightIcons)}},dependencies:[Ce,gt,ce,Fl,oo,C.O5,mt.e,xt,P.Li,C.sg,jt,w.Fj,w.JJ,w.On,C.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}[_nghost-%COMP%]{cursor:text}._expandable[_nghost-%COMP%]{height:auto;max-height:none}._disabled[_nghost-%COMP%]{pointer-events:none}._readonly[_nghost-%COMP%]{cursor:default}[data-size=m][_nghost-%COMP%]{line-height:1rem}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-scrollbar[_ngcontent-%COMP%]{-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;min-width:100%;scroll-behavior:smooth}[_nghost-%COMP%]:not(._label-outside) .t-scrollbar[_ngcontent-%COMP%], ._label-outside._icon-left[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%]{margin:0}[data-size=s]._icon-left[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%]{-webkit-margin-start:.25rem;margin-inline-start:.25rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-scrollbar[_ngcontent-%COMP%]{border-top:1rem solid transparent}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-scrollbar[_ngcontent-%COMP%]{border-top:1.25rem solid transparent}.t-tags[_ngcontent-%COMP%]{display:flex;-webkit-padding-start:.25rem;padding-inline-start:.25rem}.t-tags_expandable[_ngcontent-%COMP%]{overflow:hidden}.t-tags_empty[_ngcontent-%COMP%]{height:0}._expandable[_nghost-%COMP%] .t-tags[_ngcontent-%COMP%]{flex-wrap:wrap;white-space:normal;overflow:hidden}._readonly[_nghost-%COMP%] .t-tags[_ngcontent-%COMP%]{pointer-events:none}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-tags[_ngcontent-%COMP%], [data-size=l][_nghost-%COMP%]:not(._label-outside) .t-tags[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{align-items:flex-start}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}[data-size=s][_nghost-%COMP%] .t-icon-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-icon-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-icon-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-l)}.t-absolute-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center}[data-size=m][_nghost-%COMP%] .t-absolute-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-absolute-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-l)}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;padding:0;box-sizing:border-box}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:var(--tui-height-s);padding:calc((var(--tui-height-s) - 1.5rem) / 2) 0}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:var(--tui-height-m);padding:calc((var(--tui-height-m) - var(--tui-height-xs) - .25rem) / 2) 0}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:calc((var(--tui-height-l) - var(--tui-height-s) - .25rem) / 2) 0}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-wrapper[_ngcontent-%COMP%]{padding:calc((var(--tui-height-m) - 2rem) / 2) 0}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-wrapper[_ngcontent-%COMP%]{padding:calc((var(--tui-height-l) - 2.5rem) / 2) 0}.t-tag[_ngcontent-%COMP%]{margin:.125rem .5rem .125rem -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem;max-width:100%;flex-shrink:0}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}.t-text[_ngcontent-%COMP%]:after{content:",\\a0"}.t-text_disabled[_ngcontent-%COMP%]{color:var(--tui-text-03)}.t-text_error[_ngcontent-%COMP%]{color:var(--tui-negative)}.t-text[_ngcontent-%COMP%]:not(.t-text_comma):last-of-type:after{content:""}[_nghost-%COMP%]:not(._expandable) .t-text[_ngcontent-%COMP%]{white-space:nowrap}.t-input-wrapper[_ngcontent-%COMP%], .t-value-content[_ngcontent-%COMP%]{position:relative;display:flex;flex:1;max-width:100%}[data-size=s][_nghost-%COMP%] .t-input-wrapper[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-value-content[_ngcontent-%COMP%]{min-height:1.5rem}[data-size=m][_nghost-%COMP%] .t-input-wrapper[_ngcontent-%COMP%], [data-size=m][_nghost-%COMP%] .t-value-content[_ngcontent-%COMP%]{min-height:calc(var(--tui-height-xs) + 2 * .125rem)}[data-size=l][_nghost-%COMP%] .t-input-wrapper[_ngcontent-%COMP%], [data-size=l][_nghost-%COMP%] .t-value-content[_ngcontent-%COMP%]{min-height:calc(var(--tui-height-s) + 2 * .125rem)}[_nghost-%COMP%]:not(._label-outside) .t-input-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%]:not(._label-outside) .t-value-content[_ngcontent-%COMP%]{min-height:1rem}.t-input-wrapper_collapsed[_ngcontent-%COMP%]{flex:0;-webkit-margin-start:-.5rem;margin-inline-start:-.5rem}.t-value-content[_ngcontent-%COMP%]:empty{display:none}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip;min-width:.125rem}[_nghost-%COMP%]:not(._expandable) .t-ghost[_ngcontent-%COMP%]{min-width:2rem}.t-native[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;padding:0;cursor:inherit}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-native_hidden[_ngcontent-%COMP%]{opacity:0;text-indent:-10em}.t-native[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-native[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03-night)}._focused[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]:not(:-moz-read-only)::placeholder{opacity:1}._focused[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]:not(:read-only)::placeholder{opacity:1}.t-error-icon[_ngcontent-%COMP%]{display:block;color:var(--tui-error-fill);width:1rem;height:1rem}'],changeDetection:0}),t})(),cc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[T.FY],imports:[[C.ez,w.u5,P.wq,Zt,ue,mt.A,_t,Be,ro,io,Hl,yt]]}),t})(),mo=(()=>{class t{constructor(){this.indeterminate=!1,this.checked=!1,this.tuiCheckedChange=new n.vpe}get isChecked(){return this.checked}get isIndeterminate(){return this.indeterminate}set tuiChecked(e){this.checked=e||!1,this.indeterminate=null===e}onChange({checked:e}){this.checked=e,this.indeterminate=!1,this.tuiCheckedChange.emit(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["input","tuiChecked",""],["input","tuiCheckedChange",""]],hostVars:2,hostBindings:function(e,i){1&e&&n.NdJ("change",function(a){return i.onChange(a.target)}),2&e&&n.Ikx("checked",i.isChecked)("indeterminate",i.isIndeterminate)},inputs:{tuiChecked:"tuiChecked"},outputs:{tuiCheckedChange:"tuiCheckedChange"}}),t})(),fo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),vo=(()=>{class t{constructor({nativeElement:e},i){this.tuiFocusedChange=(0,q.T)((0,D.mL)(e,"focusin"),(0,D.mL)(e,"focusout")).pipe((0,y.U)(()=>(0,z.V8)(e)),(0,Nt.O)(!1),(0,vt.x)(),(0,un.T)(1),(0,D.Yr)(i))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.R0b))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiFocusedChange",""]],outputs:{tuiFocusedChange:"tuiFocusedChange"}}),t})(),Mo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Co=(()=>{class t{constructor(e){this.tuiFocusVisibleChange=e}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.ku))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiFocusVisibleChange",""]],outputs:{tuiFocusVisibleChange:"tuiFocusVisibleChange"},features:[n._Bn([T.a3,T.ku])]}),t})(),Oo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const uc=["focusableElement"];function dc(t,o){if(1&t&&n._UZ(0,"tui-loader",7),2&t){const e=n.oxw();n.Q6J("inheritColor",!0)("showLoader",e.value)("size",e.loaderSize)}}function pc(t,o){1&t&&n._UZ(0,"tui-svg",10),2&t&&n.Q6J("src",o.polymorpheusOutlet)}const To=t=>({$implicit:t});function hc(t,o){if(1&t&&(n.TgZ(0,"span",8),n.YNc(1,pc,1,1,"tui-svg",9),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconOn)("polymorpheusOutletContext",n.VKq(2,To,e.size))}}function gc(t,o){if(1&t&&n._UZ(0,"tui-loader",7),2&t){const e=n.oxw();n.Q6J("inheritColor",!0)("showLoader",!e.value)("size",e.loaderSize)}}function _c(t,o){1&t&&n._UZ(0,"tui-svg",12),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function mc(t,o){if(1&t&&(n.TgZ(0,"span",8),n.YNc(1,_c,1,1,"tui-svg",11),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconOff)("polymorpheusOutletContext",n.VKq(2,To,e.size))}}const bo={icons:{toggleOff:({$implicit:t})=>"m"===t?"tuiIconToggleOff":"tuiIconToggleOffLarge",toggleOn:({$implicit:t})=>"m"===t?"tuiIconToggleOn":"tuiIconToggleOnLarge"},appearances:{checked:pt.Primary,unchecked:pt.Secondary},singleColor:!1,showIcons:!1,size:"m"},Po=(0,_.JN)(bo);let fc=(()=>{class t extends E.M${constructor(e,i,r,a){super(e,i),this.modeDirective=r,this.options=a,this.singleColor=this.options.singleColor,this.showIcons=this.options.showIcons,this.showLoader=!1,this.size=this.options.size}get iconOn(){return this.options.icons.toggleOn}get iconOff(){return this.options.icons.toggleOff}get nativeFocusableElement(){var e,i;return null!==(i=null===(e=this.focusableElement)||void 0===e?void 0:e.nativeElement)&&void 0!==i?i:null}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get appearance(){return this.singleColor||this.value?this.options.appearances.checked:this.options.appearances.unchecked}get sizeM(){return"m"===this.size}get loaderSize(){return this.sizeM?"xs":"s"}get hostMode(){var e,i;return null!==(i=null===(e=this.modeDirective)||void 0===e?void 0:e.mode)&&void 0!==i?i:null}onChecked(e){this.value=e}onFocused(e){this.updateFocused(e)}onFocusVisible(e){this.updateFocusVisible(e)}getFallbackValue(){return!1}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(Qt,8),n.Y36(Po))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-toggle"]],viewQuery:function(e,i){if(1&e&&n.Gf(uc,5),2&e){let r;n.iGM(r=n.CRH())&&(i.focusableElement=r.first)}},hostVars:4,hostBindings:function(e,i){2&e&&(n.uIk("data-size",i.size)("data-mode",i.hostMode),n.ekj("_checked",i.value))},inputs:{singleColor:"singleColor",showIcons:"showIcons",showLoader:"showLoader",size:"size"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t)]),n.qOj],decls:9,vars:16,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly"],[1,"t-toggle"],["class","t-loader",3,"inheritColor","showLoader","size",4,"ngIf"],["class","t-icon-wrapper",4,"ngIf"],[1,"t-circle"],["automation-id","tui-toggle__checkbox","role","switch","type","checkbox",1,"t-checkbox",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-loader",3,"inheritColor","showLoader","size"],[1,"t-icon-wrapper"],["automation-id","tui-toggle__check-icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__check-icon",1,"t-icon",3,"src"],["automation-id","tui-toggle__cancel-icon","class","t-icon t-icon_off",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__cancel-icon",1,"t-icon","t-icon_off",3,"src"]],template:function(e,i){1&e&&(n.TgZ(0,"div",0)(1,"div",1),n.YNc(2,dc,1,3,"tui-loader",2)(3,hc,2,4,"span",3),n._UZ(4,"div",4),n.YNc(5,gc,1,3,"tui-loader",2)(6,mc,2,4,"span",3),n.qZA(),n.TgZ(7,"input",5,6),n.NdJ("tuiCheckedChange",function(a){return i.value=a})("tuiFocusedChange",function(a){return i.onFocused(a)})("tuiFocusVisibleChange",function(a){return i.onFocusVisible(a)}),n.qZA()()),2&e&&(n.Q6J("active",i.pseudoActive)("appearance",i.appearance)("disabled",i.computedDisabled)("focus",i.computedFocusVisible)("hover",i.pseudoHover)("invalid",i.computedInvalid)("readOnly",i.readOnly),n.xp6(2),n.Q6J("ngIf",i.showLoader),n.xp6(1),n.Q6J("ngIf",i.showIcons&&!i.showLoader),n.xp6(2),n.Q6J("ngIf",i.showLoader),n.xp6(1),n.Q6J("ngIf",i.showIcons&&!i.showLoader),n.xp6(1),n.Q6J("disabled",i.disabled)("id",i.id)("tuiFocusable",i.focusable)("tuiChecked",i.value),n.uIk("aria-checked",i.value))},dependencies:[nn,gt,xt,C.O5,P.Li,mo,jt,vo,Co],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}[data-size=m][_nghost-%COMP%]{width:2rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:3rem;height:1.5rem}.t-checkbox[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.t-checkbox[_ngcontent-%COMP%]:-webkit-autofill, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-checkbox[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.t-toggle[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}[data-size=m][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:3rem;height:1rem;transform:translate(-1rem)}[data-size=l][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:4.5rem;height:1.5rem;transform:translate(-1.5rem)}._checked[_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{transform:translate(0)}.t-circle[_ngcontent-%COMP%]{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}._disabled[_nghost-%COMP%] .t-circle_light[_ngcontent-%COMP%]{opacity:.24}[data-size=m][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:.75rem;height:.75rem}[data-size=l][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:1rem;height:1rem}._disabled[_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{background-color:var(--tui-base-01)}.t-loader[_ngcontent-%COMP%]{min-width:auto}[_nghost-%COMP%]:not(._checked) .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-06)}[_nghost-%COMP%]:not(._checked)._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-05)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:.75rem;margin:0 .2rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:1rem;margin:0 .25rem}.t-icon-wrapper[_ngcontent-%COMP%]{display:flex}.t-icon[_ngcontent-%COMP%]{opacity:.8}.t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-06)}._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-05)}[data-mode=onDark][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[data-mode=onLight][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{margin:0 .125rem;width:1.5rem;height:1.5rem}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0}),t})(),vc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,Mo,Zt,Ye,Oo,fo,yt,_t,on,P.wq]]}),t})();const Mc=t=>t.querySelector("input,textarea")||t,Yt={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class Cc{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const o=this.past.pop();o&&this.now&&(this.future.push(this.now),this.updateElement(o,"historyUndo"))}redo(){const o=this.future.pop();o&&this.now&&(this.past.push(this.now),this.updateElement(o,"historyRedo"))}updateHistory(o){if(!this.now)return void(this.now=o);const e=this.now.value!==o.value,i=this.now.selection.some((r,a)=>r!==o.selection[a]);!e&&!i||(e&&(this.past.push(this.now),this.future=[]),this.now=o)}updateElement(o,e){this.now=o,this.updateElementState(o,{inputType:e,data:null})}}function Oe(t){return"string"==typeof t}function Do(t,o,e,i){let r="";for(let a=o.length;a{const r=o[i];return Oe(r)?e===r:e.match(r)}):o.test(t)}function Te(t,o,e=null){if(wo(t.value,o))return t;const{value:i,selection:r}=Array.isArray(o)?function Pc(t,o,e){let i=null,r=null;const a=Array.from(t.value).reduce((c,d,p)=>{const g=c+Do(o,c,d,e),m=o[g.length];return Oe(m)?g+m:d.match(m)?(null===i&&p>=t.selection[0]&&(i=g.length),null===r&&p>=t.selection[1]&&(r=g.length),g+d):g},""),l=Do(o,a,"",e);return{value:wo(a+l,o)?a+l:a,selection:[null!=i?i:a.length,null!=r?r:a.length]}}(t,o,e):function Dc({value:t,selection:o},e){const[i,r]=o;let a=i,l=r;return{value:Array.from(t).reduce((d,p,h)=>{const g=d+p;return i===h&&(a=d.length),r===h&&(l=d.length),g.match(e)?g:d},""),selection:[a,l]}}(t,o);return{selection:r,value:Array.isArray(o)?i.slice(0,o.length):i}}function xo(t,o){if(!Array.isArray(o))return t;const[e,i]=t.selection,r=[],a=Array.from(t.value).reduce((l,c,d)=>{const p=o[d];return d===e&&r.push(l.length),d===i&&r.push(l.length),Oe(p)&&p===c?l:l+c},"");return r.length<2&&r.push(...new Array(2-r.length).fill(a.length)),{value:a,selection:[r[0],r[1]]}}class hn{constructor(o,e){this.initialElementState=o,this.maskOptions=e,this.value="",this.selection=[0,0];const{value:i,selection:r}=Te(o,this.getMaskExpression(o));this.value=i,this.selection=r}addCharacters([o,e],i){const{value:r}=this,a=this.getMaskExpression({value:r.slice(0,o)+i+r.slice(e),selection:[o+i.length,o+i.length]}),l={value:r,selection:[o,e]},c=xo(l,a),[d,p]=function bc({value:t,selection:o},e,i){const[r,a]=o;return{value:t,selection:"replace"===("function"==typeof i?i({value:t,selection:o}):i)?[r,r+e.length]:[r,a]}}(c,i,this.maskOptions.overwriteMode).selection,h=c.value.slice(0,d)+i,g=h.length,m=Te({value:h+c.value.slice(p),selection:[g,g]},a,l);if(r.slice(0,d)===Te({value:h,selection:[g,g]},a,l).value||function Tc(t,...o){return o.every(({value:e,selection:i})=>e===t.value&&i[0]===t.selection[0]&&i[1]===t.selection[1])}(this,m))throw new Error("Invalid mask value");this.value=m.value,this.selection=m.selection}deleteCharacters([o,e]){if(o===e||!e)return;const{value:i}=this,r=this.getMaskExpression({value:i.slice(0,o)+i.slice(e),selection:[o,o]}),a={value:i,selection:[o,e]},l=xo(a,r),[c,d]=l.selection,h=Te({value:l.value.slice(0,c)+l.value.slice(d),selection:[c,c]},r,a);this.value=h.value,this.selection=h.selection}getMaskExpression(o){const{mask:e}=this.maskOptions;return"function"==typeof e?e(o):e}}class wc{constructor(o){this.element=o,this.listeners=[]}listen(o,e,i){const r=e;this.element.addEventListener(o,r,i),this.listeners.push(()=>this.element.removeEventListener(o,r))}destroy(){this.listeners.forEach(o=>o())}}function ee(t,o,e){return t.ctrlKey===!!(1&o)&&t.altKey===!!(2&o)&&t.shiftKey===!!(4&o)&&t.metaKey===!!(8&o)&&t.keyCode===e}function kc({value:t,selection:o},e){const[i,r]=o;if(i!==r)return[i,r];const a=e?t.slice(i).indexOf("\n")+1||t.length:t.slice(0,r).lastIndexOf("\n")+1;return[e?i:a,e?a:r]}function yo({value:t,selection:o},e){const[i,r]=o;return i!==r?[i,r]:(e?[i,r+1]:[i-1,r]).map(l=>Math.min(Math.max(l,0),t.length))}const Io=/\s+$/g,So=/^\s+/g,ko=/\s/;function Ec({value:t,selection:o},e){const[i,r]=o;if(i!==r)return[i,r];if(e){const d=t.slice(i),[p]=d.match(So)||[""],h=d.replace(So,"").search(ko);return[i,-1!==h?i+p.length+h:t.length]}const a=t.slice(0,r),[l]=a.match(Io)||[""],c=a.replace(Io,"").split("").reverse().findIndex(d=>d.match(ko));return[-1!==c?r-l.length-c:0,r]}function be(t=[]){return(o,...e)=>t.reduce((i,r)=>Object.assign(Object.assign({},i),r(i,...e)),o)}class Lc extends Cc{constructor(o,e){super(),this.element=o,this.maskitoOptions=e,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new wc(this.element),this.options=Object.assign(Object.assign({},Yt),this.maskitoOptions),this.preprocessor=be(this.options.preprocessors),this.postprocessor=be(this.options.postprocessors),this.teardowns=this.options.plugins.map(i=>i(this.element,this.options)),this.ensureValueFitsMask(),this.updateHistory(this.elementState),this.eventListener.listen("keydown",i=>function xc(t){return ee(t,1,89)||ee(t,5,90)||ee(t,12,90)}(i)?(i.preventDefault(),this.redo()):function yc(t){return ee(t,1,90)||ee(t,8,90)}(i)?(i.preventDefault(),this.undo()):void 0),function Ic(t){return"onbeforeinput"in t}(o)?this.eventListener.listen("beforeinput",i=>{const r=i.inputType.includes("Forward");switch(this.updateHistory(this.elementState),i.inputType){case"historyUndo":return i.preventDefault(),this.undo();case"historyRedo":return i.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:i,isForward:r,selection:yo(this.elementState,r)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:i,isForward:r,selection:Ec(this.elementState,r),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:i,isForward:r,selection:kc(this.elementState,r),force:!0});case"insertCompositionText":return;case"insertLineBreak":return this.handleEnter(i);default:return this.handleInsert(i,i.data||"")}}):(this.eventListener.listen("keydown",i=>this.handleKeydown(i)),this.eventListener.listen("paste",i=>{var r;return this.handleInsert(i,(null===(r=i.clipboardData)||void 0===r?void 0:r.getData("text/plain"))||"")})),this.eventListener.listen("input",({inputType:i})=>{"insertCompositionText"!==i&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))}),this.eventListener.listen("compositionend",()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)})}get elementState(){const{value:o,selectionStart:e,selectionEnd:i}=this.element;return{value:o,selection:[e||0,i||0]}}get maxLength(){const{maxLength:o}=this.element;return-1===o?1/0:o}destroy(){this.eventListener.destroy(),this.teardowns.forEach(o=>null==o?void 0:o())}updateElementState({value:o,selection:e},i={inputType:"insertText",data:null}){const r=this.elementState.value;this.updateValue(o),this.updateSelectionRange(e),r!==o&&this.dispatchInputEvent(i)}updateSelectionRange([o,e]){var i,r;(this.element.selectionStart!==o||this.element.selectionEnd!==e)&&(null===(r=(i=this.element).setSelectionRange)||void 0===r||r.call(i,o,e))}updateValue(o){this.element.value=o}ensureValueFitsMask(){this.updateElementState(function Ac(t,o){const e=Object.assign(Object.assign({},Yt),o),i=be(e.preprocessors),r=be(e.postprocessors),a="string"==typeof t?{value:t,selection:[0,0]}:t,{elementState:l}=i({elementState:a,data:""},"validation"),c=new hn(l,e),{value:d,selection:p}=r(c,a);return"string"==typeof t?d:{value:d,selection:p}}(this.elementState,this.options))}dispatchInputEvent(o={inputType:"insertText",data:null}){const e=typeof window<"u"?window:globalThis;null!=e&&e.InputEvent&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},o),{bubbles:!0,cancelable:!1})))}handleKeydown(o){const e=o.key,i="Delete"===e;switch(e){case"Backspace":case"Delete":return this.handleDelete({event:o,isForward:i,selection:yo(this.elementState,i)});case"Enter":return this.handleEnter(o)}(function Sc({key:t,ctrlKey:o,metaKey:e,altKey:i}){const r=o||e||i,a=/^.$/u.test(t);return!r&&"Backspace"!==t&&a})(o)&&this.handleInsert(o,e)}handleDelete({event:o,selection:e,isForward:i,force:r=!1}){const a={value:this.elementState.value,selection:e},[l,c]=a.selection,{elementState:d}=this.preprocessor({elementState:a,data:""},i?"deleteForward":"deleteBackward"),p=new hn(d,this.options),[h,g]=d.selection;p.deleteCharacters([h,g]);const m=this.postprocessor(p,a);if(a.value.slice(0,l)+a.value.slice(c)!==m.value||r)return o.preventDefault(),function Oc(t,...o){return o.every(({value:e})=>e===t.value)}(a,d,p,m)?this.updateSelectionRange(i?[g,g]:[h,h]):(this.updateElementState(m,{inputType:"inputType"in o?o.inputType:i?"deleteContentForward":"deleteContentBackward",data:null}),void this.updateHistory(m))}handleInsert(o,e){const i=this.elementState,{elementState:r,data:a=e}=this.preprocessor({data:e,elementState:i},"insert"),l=new hn(r,this.options);try{l.addCharacters(r.selection,a)}catch{return o.preventDefault()}const[c,d]=r.selection,p=r.value.slice(0,c)+e+r.value.slice(d),h=this.postprocessor(l,i);if(h.value.length>this.maxLength)return o.preventDefault();p!==h.value&&(o.preventDefault(),this.updateElementState(h,{data:e,inputType:"inputType"in o?o.inputType:"insertText"}),this.updateHistory(h))}handleEnter(o){this.isTextArea&&this.handleInsert(o,"\n")}}const Eo=new Date("0001-01-01"),gn=new Date("9999-12-31"),Hc=["-","\u2013","\u2014","\u2212"];function St(t,o,e){const i=Math.min(Number(e),Math.max(Number(o),Number(t)));return t instanceof Date?new Date(i):i}const Ho=t=>{var o,e,i;return{day:(null===(o=t.match(/d/g))||void 0===o?void 0:o.length)||0,month:(null===(e=t.match(/m/g))||void 0===e?void 0:e.length)||0,year:(null===(i=t.match(/y/g))||void 0===i?void 0:i.length)||0}};function De(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function we(t,o){return!(t.length!e.match(/^0+$/))}function xe(t,o,e){const i=o.replace(/\W/g,"").length;return t.replace(e,"").match(new RegExp("(\\D*\\d[^\\d\\s]*){1,".concat(i,"}"),"g"))||[]}function ye(t){return t.reduce((o,[e,i])=>Object.assign(Object.assign({},o),{[e]:i}),{})}function oe(t,o){const e=o.replace(/[^dmy]/g,""),i=t.replace(/\D+/g,""),r={day:i.slice(e.indexOf("d"),e.lastIndexOf("d")+1),month:i.slice(e.indexOf("m"),e.lastIndexOf("m")+1),year:i.slice(e.indexOf("y"),e.lastIndexOf("y")+1)};return ye(Object.entries(r).filter(([a,l])=>!!l).sort(([a],[l])=>o.toLowerCase().indexOf(a[0])>o.toLowerCase().indexOf(l[0])?1:-1))}function re(t,o){var e,i,r,a,l,c,d;const p=2===(null===(e=t.year)||void 0===e?void 0:e.length)?"20".concat(t.year):t.year,h=new Date(Number(null!=p?p:"0"),Number(null!==(i=t.month)&&void 0!==i?i:"1")-1,Number(null!==(r=t.day)&&void 0!==r?r:"1"),Number(null!==(a=null==o?void 0:o.hours)&&void 0!==a?a:"0"),Number(null!==(l=null==o?void 0:o.minutes)&&void 0!==l?l:"0"),Number(null!==(c=null==o?void 0:o.seconds)&&void 0!==c?c:"0"),Number(null!==(d=null==o?void 0:o.milliseconds)&&void 0!==d?d:"0"));return h.setFullYear(Number(null!=p?p:"0")),h}const X=", ";function kt({day:t,month:o,year:e,hours:i,minutes:r,seconds:a,milliseconds:l},c,d){var p;const h=2===(null===(p=c.match(/y/g))||void 0===p?void 0:p.length)?null==e?void 0:e.slice(-2):e;return(c+(d?X+d:"")).replace(/d+/g,null!=t?t:"").replace(/m+/g,null!=o?o:"").replace(/y+/g,null!=h?h:"").replace(/H+/g,null!=i?i:"").replace(/MSS/g,null!=l?l:"").replace(/M+/g,null!=r?r:"").replace(/S+/g,null!=a?a:"").replace(/^\D+/g,"").replace(/\D+$/g,"")}function Ie(t,o,e=0){return Number(t.padEnd(o.length,"0"))<=Number(o)?{validatedSegmentValue:t,prefixedZeroesCount:e}:t.endsWith("0")?Ie("0".concat(t.slice(0,o.length-1)),o,e+1):Ie("".concat(t.slice(0,o.length-1),"0"),o,e)}const Nc={day:31,month:12,year:9999};function Ro({dateString:t,dateModeTemplate:o,offset:e,selection:[i,r]}){const a=oe(t,o),l=Object.entries(a),c={};let d=0;for(const[g,m]of l){const f=kt(c,o),v=Nc[g],S=e+f.length+(f.length&&1)+Ho(o)[g],k=S>=i&&S===r;if(k&&Number(m)>Number(v))return{validatedDateString:"",updatedSelection:[i,r]};if(k&&Number(m)<1)return{validatedDateString:"",updatedSelection:[i,r]};const{validatedSegmentValue:V,prefixedZeroesCount:G}=Ie(m,"".concat(v));d+=G,c[g]=V}const p=kt(c,o),h=p.length-t.length;return{validatedDateString:p,updatedSelection:[i+d+h,r+d+h]}}const No=/[\\^$.*+?()[\]{}|]/g,zc=new RegExp(No.source);function U(t){return t&&zc.test(t)?t.replace(No,"\\$&"):t}function zo(t,o){const e=Ho(o);return ye(Object.entries(t).map(([i,r])=>{const a=e[i];return[i,r.length===a&&r.match(/^0+$/)?"1".padStart(a,"0"):r]}))}function Bo({dateModeTemplate:t,min:o=Eo,max:e=gn,rangeSeparator:i="",dateSegmentSeparator:r="."}){return({value:a,selection:l})=>{const c=i&&a.endsWith(i),d=xe(a,t,i);let p="";for(const h of d){p+=p?i:"";const g=oe(h,t);we(h,t)?p+=kt(De(St(re(g),o,e)),t):p+=kt(zo(g,t),t)+(h.endsWith(r)?r:"")}return{selection:l,value:p+(c?i:"")}}}function vn({dateModeTemplate:t,dateSegmentsSeparator:o,rangeSeparator:e=""}){return({elementState:i,data:r})=>{const a=e?new RegExp("".concat(e,"|-")):X,l=r.split(a),c=r.includes(X)?[l[0]]:l;if(c.every(d=>d.trim().split(/\D/).length===t.split(o).length)){const d=c.map(p=>function Yc(t,o,e){const i=t.split(/\D/),r=o.split(e);return i.map((l,c)=>c===r.length-1?l:l.padStart(r[c].length,"0")).join(e)}(p,t,o)).join(e);return{elementState:i,data:"".concat(d).concat(r.includes(X)&&X+l[1]||"")}}return{elementState:i,data:r}}}function Uo({dateModeTemplate:t,dateSegmentsSeparator:o,rangeSeparator:e=""}){return({elementState:i,data:r})=>{const{value:a,selection:l}=i;if(r===o)return{elementState:i,data:l[0]===a.length?r:""};if(Hc.includes(r))return{elementState:i,data:e};const c=r.replace(new RegExp("[^\\d".concat(U(o)).concat(e,"]"),"g"),"");if(!c)return{elementState:i,data:""};const[d,p]=l;let h=p+r.length;const g=a.slice(0,d)+c+a.slice(h),m=xe(g,t,e);let f="";const v=!!e&&g.includes(e);for(const S of m){const{validatedDateString:k,updatedSelection:V}=Ro({dateString:S,dateModeTemplate:t,offset:f?f.length+e.length:0,selection:[d,h]});if(S&&!k)return{elementState:i,data:""};h=V[1],f+=v&&f?e+k:k}const b=f.slice(d,h);return{elementState:{selection:l,value:f.slice(0,d)+b.split(o).map(S=>"0".repeat(S.length)).join(o)+f.slice(h)},data:b}}}new RegExp("[".concat([":","."].map(U).join(""),"]$"));var Qo=M(3276);let _u=(()=>{class t{constructor(e,i,r){this.el=e,this.zone=i,this.destroy$=r,this.eventName=""}ngOnInit(){(0,Qo.R)(this.el.nativeElement,this.eventName,{passive:!1}).pipe((0,D.fL)(this.zone),(0,D.mp)(),(0,J.R)(this.destroy$)).subscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(T.a3,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiPreventDefault",""]],inputs:{eventName:["tuiPreventDefault","eventName"]},features:[n._Bn([T.a3])]}),t})(),mu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),fu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-autofilled-styles"],decls:0,vars:0,template:function(e,i){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),t})(),vu=(()=>{class t{constructor(e){this.autofilled=!1,this.tuiAutofilledChange=new n.vpe,e.addComponent(fu)}transitionStartHandler({propertyName:e,target:i}){var r;e.includes("box-shadow")&&(null===(r=i)||void 0===r?void 0:r.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.gH))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(e,i){1&e&&n.NdJ("transitionstart",function(a){return i.transitionStartHandler(a)}),2&e&&n.ekj("_autofilled",i.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),t})(),Mu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Cu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["input","tuiMaskAccessor",""]],features:[n._Bn([{provide:w.JU,deps:[[new n.FiY,ii],w.Fj],multi:!0,useFactory:(o,e)=>o?o[0]:e}])]}),t})(),Ou=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const Tu=["pre"],bu=["focusableElement"];function Pu(t,o){1&t&&n.GkF(0)}function Du(t,o){1&t&&n.GkF(0)}function wu(t,o){1&t&&(n.TgZ(0,"div",17),n.Hsn(1,2),n.qZA())}function xu(t,o){1&t&&n._UZ(0,"tui-svg",20),2&t&&n.Q6J("src",o.polymorpheusOutlet)}const On=t=>({$implicit:t});function yu(t,o){if(1&t&&(n.TgZ(0,"div",18),n.YNc(1,xu,1,1,"tui-svg",19),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconLeftContent)("polymorpheusOutletContext",n.VKq(2,On,e.size))}}function Iu(t,o){if(1&t&&(n.TgZ(0,"label",21),n.Hsn(1,3),n.qZA()),2&t){const e=n.oxw();n.ekj("t-placeholder_raised",e.placeholderRaised),n.Q6J("for",e.computedId)}}function Su(t,o){1&t&&n._UZ(0,"tui-svg",24),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function ku(t,o){if(1&t&&(n.TgZ(0,"div",22),n.YNc(1,Su,1,1,"tui-svg",23),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.controller.customContent)}}function Eu(t,o){1&t&&n._UZ(0,"tui-svg",27),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function Au(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"span",25),n.NdJ("click.stop",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.clear())}),n.YNc(1,Eu,1,1,"tui-svg",26),n.qZA()}if(2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconCleaner||e.controller.options.iconCleaner)("polymorpheusOutletContext",n.VKq(2,On,e.size))}}function Lu(t,o){if(1&t&&n._UZ(0,"tui-tooltip",28),2&t){const e=n.oxw();n.Q6J("content",null==e.hintOptions?null:e.hintOptions.content)("describeId",e.computedId)}}function Fu(t,o){1&t&&n._UZ(0,"tui-svg",20),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function Hu(t,o){if(1&t&&(n.TgZ(0,"div",29),n.YNc(1,Fu,1,1,"tui-svg",19),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconContent)("polymorpheusOutletContext",n.VKq(2,On,e.size))}}const Ru=[[["input"]],[["select"]],[["tuiContent"]],"*"],Nu=["input","select","tuiContent","*"],zu=["tuiTextfield",""];let Bu=(()=>{class t{constructor(e,i){this.textfield=e,this.fontsReady$=i,this.prefix$=new zt.X(""),this.pre$=(0,q.T)(this.fontsReady$,this.prefix$).pipe((0,Xt.g)(0),(0,ft.h)(()=>{var r;return!(null===(r=this.pre)||void 0===r||!r.nativeElement.isConnected)}),(0,y.U)(()=>{var r;return(null===(r=this.pre)||void 0===r?void 0:r.nativeElement.offsetWidth)||0}),(0,vt.x)())}get isContextTable(){return this.textfield.appearance===pt.Table}get value(){return this.textfield.value}get filler(){const{focused:e,placeholder:i,exampleText:r,value:a,textfield:l}=this;return i&&r?"":e?r||l.filler.slice(a.length):""}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}ngDoCheck(){this.prefix$.next(this.prefix)}get placeholder(){var e;return(null===(e=this.textfield.nativeFocusableElement)||void 0===e?void 0:e.placeholder)||""}get exampleText(){return!this.value&&this.focused?this.placeholder:""}get decorationsVisible(){return!!this.value||this.focused&&!this.placeholder}get focused(){return this.textfield.computedFocused&&!this.textfield.readOnly}get computedPostfix(){return this.textfield.postfix&&(this.filler||this.value)?" ".concat(this.textfield.postfix):this.textfield.postfix}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(H.KZ),n.Y36(H.tS))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(e,i){if(1&e&&n.Gf(Tu,7,n.SBq),2&e){let r;n.iGM(r=n.CRH())&&(i.pre=r.first)}},hostVars:4,hostBindings:function(e,i){1&e&&n.NdJ("animationstart",function(){return i.ngDoCheck()}),2&e&&n.ekj("_table",i.isContextTable)("_filler",i.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(e,i){1&e&&n._UZ(0,"span",0,1)(2,"span",2)(3,"span",3)(4,"span",4),2&e&&(n.Q6J("textContent",i.prefix),n.xp6(2),n.Q6J("textContent",i.value),n.xp6(1),n.Q6J("textContent",i.filler),n.xp6(1),n.Q6J("textContent",i.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-03);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-03-night)}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-01)}tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),t})();const Uu={s:1.25,m:1.75,l:2.25};let Tn=(()=>{class t extends E.Xn{constructor(e,i,r,a){super(),this.controller=e,this.hintOptions=i,this.options=r,this.el=a,this.editable=!0,this.textfieldFiller="",this.iconCleaner=this.options.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.textfieldPrefix="",this.textfieldPostfix="",this.value="",this.valueChange=new n.vpe,this.autofilled=!1}get prefix(){return this.textfieldPrefix||this.controller.prefix}get postfix(){return this.textfieldPostfix||this.controller.postfix}get filler(){return this.textfieldFiller||this.controller.filler}get nativeFocusableElement(){if(this.computedDisabled||!this.focusableElement)return null;const{nativeElement:e}=this.focusableElement;return e.previousElementSibling||e}get focused(){return(0,z.zb)(this.el.nativeElement)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){var e;return!(null===(e=this.content)||void 0===e||!e.length)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){var e;return!(null===(e=this.hintOptions)||void 0===e||!e.content||this.computedDisabled)}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){var e;const r=((null===(e=this.nativeFocusableElement)||void 0===e?void 0:e.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!r}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return function qr(t,o=!1,e=!1,i=!1,r="m"){const a="s"===r?0:.25;let l=0;return t&&(l+=1.5+a),o&&(l+=1.5+a),e&&(l+=1.5+a),i&&(l+=2.5+a),l}(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){var e;return!(null===(e=this.hintOptions)||void 0===e||!e.content)&&(this.options.hintOnDisabled||!this.computedDisabled)}get name(){var e;return"cc-exp"===(null===(e=this.nativeFocusableElement)||void 0===e?void 0:e.autocomplete)?"ccexpiryyear":null}get computedId(){var e;return(null===(e=this.nativeFocusableElement)||void 0===e?void 0:e.id)||""}onFocused(e){this.updateFocused(e)}getIndent$(e){return(0,Qo.R)(e,"scroll").pipe((0,y.U)(()=>-1*Math.max(e.scrollLeft,0)))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(e){const{nativeFocusableElement:i}=this;!i||e.target===i||(e.preventDefault(),i.focus())}onModelChange(e){this.updateValue(e)}onAutofilled(e){this.updateAutofilled(e)}detectRetargetFromLabel(e){(0,F.UP)(e)&&e.stopImmediatePropagation()}get iconPaddingLeft(){return Uu[this.size]}get placeholderRaisable(){return"s"!==this.size&&!this.controller.labelOutside}updateAutofilled(e){this.autofilled!==e&&(this.autofilled=e)}updateValue(e){this.value=e,this.valueChange.emit(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(me),n.Y36(te,8),n.Y36(an),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-textfield"]],contentQueries:function(e,i,r){if(1&e&&n.Suo(r,P.Li,5),2&e){let a;n.iGM(a=n.CRH())&&(i.content=a)}},viewQuery:function(e,i){if(1&e&&n.Gf(bu,5),2&e){let r;n.iGM(r=n.CRH())&&(i.focusableElement=r.first)}},hostVars:15,hostBindings:function(e,i){1&e&&n.NdJ("focusin",function(){return i.onFocused(!0)})("focusout",function(){return i.onFocused(!1)}),2&e&&(n.uIk("data-size",i.size),n.Udp("--border-start",i.borderStart,"rem")("--border-end",i.borderEnd,"rem"),n.ekj("_autofilled",i.autofilled)("_label-outside",i.controller.labelOutside)("_readonly",i.readOnly)("_invalid",i.computedInvalid)("_hidden",i.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[n._Bn([(0,H.FT)(t),ln]),n.qOj],ngContentSelectors:Nu,decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown","tuiAutofilledChange"],["automation-id","tui-primitive-textfield__native-input","tuiMaskAccessor","",1,"t-input",3,"disabled","id","ngModel","readOnly","tuiFocusable","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(e,i){if(1&e&&(n.F$t(Ru),n.YNc(0,Pu,1,0,"ng-container",0),n.ALo(1,"async"),n.YNc(2,Du,1,0,"ng-container",0),n.ALo(3,"async"),n.TgZ(4,"div",1),n.NdJ("click.prevent.silent",function(a){return i.detectRetargetFromLabel(a)})("mousedown",function(a){return i.onMouseDown(a)})("tuiAutofilledChange",function(a){return i.onAutofilled(a)}),n.ALo(5,"async"),n.Hsn(6),n.Hsn(7,1),n.TgZ(8,"input",2,3),n.NdJ("ngModelChange",function(a){return i.onModelChange(a)}),n.qZA(),n.YNc(10,wu,2,0,"div",4),n.TgZ(11,"div",5),n.YNc(12,yu,2,4,"div",6),n.TgZ(13,"div",7),n.YNc(14,Iu,2,3,"label",8),n.TgZ(15,"div",9)(16,"tui-value-decoration",10,11),n.ALo(18,"async"),n.qZA()()(),n.TgZ(19,"div",12),n.YNc(20,ku,2,1,"div",13)(21,Au,2,4,"span",14)(22,Lu,1,2,"tui-tooltip",15)(23,Hu,2,4,"div",16),n.qZA()()()),2&e){const r=n.MAs(9),a=n.MAs(17);n.Q6J("ngIf",n.lcZ(1,29,null==i.content?null:i.content.changes)),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,31,null==i.hintOptions?null:i.hintOptions.change$)),n.xp6(2),n.Udp("--text-indent",n.lcZ(5,33,a.pre$),"px"),n.Q6J("active",i.pseudoActive)("appearance",i.appearance)("disabled",i.disabled)("focus",i.computedFocused)("hover",i.pseudoHover)("invalid",i.computedInvalid)("readOnly",i.readOnly),n.xp6(4),n.Q6J("disabled",i.computedDisabled)("id",i.id)("ngModel",i.value)("readOnly",i.readOnly||!i.editable)("tuiFocusable",i.computedFocusable),n.uIk("aria-invalid",i.computedInvalid)("name",i.name),n.xp6(2),n.Q6J("ngIf",i.inputHidden),n.xp6(2),n.Q6J("ngIf",i.iconLeftContent),n.xp6(2),n.Q6J("ngIf",i.hasPlaceholder),n.xp6(2),n.Udp("text-indent",n.lcZ(18,35,i.getIndent$(r)),"px"),n.ekj("t-has-value",i.value),n.xp6(4),n.Q6J("ngIf",i.hasCustomContent),n.xp6(1),n.Q6J("ngIf",i.hasCleaner),n.xp6(1),n.Q6J("ngIf",i.showHint),n.xp6(1),n.Q6J("ngIf",i.iconContent)}},dependencies:[gt,Bu,oo,C.O5,xt,vu,Cu,w.Fj,w.JJ,w.On,jt,P.Li,C.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,it.gn)([ht.UM],t.prototype,"getIndent$",null),t})(),Yu=(()=>{class t extends si{constructor(e){super(e),this.textfield=e}get readOnly(){return this.textfield.readOnly||!this.textfield.editable}onValueChange(e){this.textfield.onModelChange(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Tn))},t.\u0275dir=n.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[n._Bn([ni(t)]),n.qOj]}),t})(),Gu=(()=>{class t{constructor(e,i,r,a,l){this.host=e,this.controller=i,this.el=r,this.idService=a,this.legacyMask=l,this.host.process(this.el.nativeElement)}get id(){return this.el.nativeElement.id||this.idService.generate()}get inputMode(){return this.el.nativeElement.inputMode||this.host.inputMode}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Qe),n.Y36(me),n.Y36(n.SBq),n.Y36(T.ll),n.Y36(fa,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(e,i){1&e&&n.NdJ("input",function(a){return!i.legacyMask&&i.host.onValueChange(a.target.value)}),2&e&&(n.Ikx("tabIndex",i.host.focusable?0:-1)("readOnly",i.host.readOnly)("value",i.host.value),n.uIk("id",i.id)("inputMode",i.inputMode)("aria-invalid",i.host.invalid)("disabled",i.host.disabled||null))},features:[n._Bn([ln])],attrs:zu,decls:0,vars:0,template:function(e,i){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),t})(),$u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,w.u5,P.wq,Ou,Zt,yt,_t,ro,Mu]]}),t})();const{isArray:Ju}=Array;var bn=M(4359);let Ko=(()=>{class t{constructor(e,i){this.focusable=e,this.el=i}get element(){var e;return(null===(e=this.focusable)||void 0===e?void 0:e.nativeFocusableElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}return t.\u0275fac=function(e){n.$Z()},t.\u0275dir=n.lG2({type:t}),t})(),qu=(()=>{class t extends Ko{constructor(e,i,r){super(e,i),this.animationFrame$=r}setFocus(){this.isTextFieldElement?function Zu(...t){return 1===(t=function ju(t){return 1===t.length&&Ju(t[0])?t[0]:t}(t)).length?(0,cn.Xf)(t[0]):new Rt.y(function Wu(t){return o=>{let e=[];for(let i=0;e&&!o.closed&&i{if(e){for(let a=0;athis.element.closest(".ng-animating")),function Qu(t){return(0,Yi.e)((o,e)=>{let i=!1,r=0;o.subscribe((0,fe.x)(e,a=>(i||(i=!t(a,r++)))&&e.next(a)))})}(Boolean),(0,bn.q)(1))).subscribe(()=>this.element.focus({preventScroll:!0})):this.element.focus({preventScroll:!0})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(H.KZ,10),n.Y36(n.SBq),n.Y36(Q.L1))},t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t})();const td=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];let ed=(()=>{class t extends Ko{constructor(e,i,r,a,l){super(e,i),this.renderer=r,this.zone=a,this.win=l,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular(()=>this.iosWebkitAutofocus()):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){var e;const i=this.makeFakeInput(),r=this.getDurationTimeBeforeFocus();let a=0,l=0;const c=()=>i.focus({preventScroll:!0}),d=()=>{clearTimeout(a),a=this.win.setTimeout(()=>{clearTimeout(l),i.removeEventListener("blur",c),i.removeEventListener("focus",d),l=this.win.setTimeout(()=>{this.element.focus({preventScroll:!1}),i.remove()},r)})};i.addEventListener("blur",c,{once:!0}),i.addEventListener("focus",d),this.insideDialog()?this.win.document.body.appendChild(i):null===(e=this.element.parentElement)||void 0===e||e.appendChild(i),i.focus({preventScroll:!0})}makeFakeInput(){const e=this.renderer.createElement("input"),i=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(e),e.style.height=K(i.height),e.style.width=K(i.width/2),e.style.position="fixed",e.style.zIndex="-99999999",e.style.caretColor="transparent",e.style.border="none",e.style.outline="none",e.style.color="transparent",e.style.background="transparent",e.style.cursor="none",e.style.fontSize=K(16),e.style.top=K(i.top),e.style.left=K(i.left),e}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){const e=this.win.document;for(const i of[e.documentElement,e.body])i.style.setProperty("overflow","auto"),i.style.setProperty("height","100%")}patchFakeInputFromFocusableElement(e){td.forEach(i=>{const r=this.element.getAttribute(i);(0,_.Pc)(r)&&e.setAttribute(i,r)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(H.KZ,10),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(Q.m9))},t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t})();const qo=(0,_.JN)({delay:NaN}),tr=new n.OlP("[TUI_AUTOFOCUS_HANDLER]"),nd=[{provide:tr,useFactory:(t,o,e,i,r,a,l)=>l?new ed(t,o,i,r,a):new qu(t,o,e),deps:[[new n.FiY,new n.PiD,H.KZ],n.SBq,Q.L1,n.Qsj,n.R0b,Q.m9,H.FA]},T.a3];let id=(()=>{class t{constructor(e,i,r){this.handler=e,this.options=i,this.destroy$=r,this.autoFocus=!0}ngAfterViewInit(){(function Vu(t){return null!==t&&typeof t<"u"&&"false"!=="".concat(t)})(this.autoFocus)&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then(()=>this.handler.setFocus()):(0,de.H)(this.options.delay).pipe((0,J.R)(this.destroy$)).subscribe(()=>this.handler.setFocus())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(tr),n.Y36(qo),n.Y36(T.a3,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus"]},features:[n._Bn(nd)]}),t})();function od(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}function rd(t,o){if(1&t&&(n.TgZ(0,"header",6),n.YNc(1,od,2,1,"ng-container",3),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.header)("polymorpheusOutletContext",e.context)}}function ad(t,o){if(1&t){const e=n.EpF();n.ynx(0),n._UZ(1,"div",7),n.TgZ(2,"div",8)(3,"button",9),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.context.$implicit.complete())}),n._uU(4),n.qZA()(),n.BQk()}if(2&t){const e=o.polymorpheusOutlet,i=n.oxw();let r;n.xp6(1),n.Q6J("innerHTML",e,n.oJD),n.xp6(3),n.hij(" ",(null==(r=i.context.data)?null:r.button)||"OK"," ")}}function sd(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",10)(1,"button",11),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.close$.next())})("mousedown.prevent.silent",function(){return 0}),n.ALo(2,"async"),n.qZA()()}if(2&t){const e=n.oxw();n.xp6(1),n.Q6J("appearance",e.fullscreen?"secondary":"")("icon",e.icons.close)("title",n.lcZ(2,3,e.closeWord$))}}const ld=(0,_.JN)(Ke.E),nr=(0,_.JN)({size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:""});let ir=(()=>{class t extends Rt.y{constructor(e,i,r){super(a=>(0,q.T)(this.esc$,this.mousedown$).subscribe(a)),this.win=e,this.doc=i,this.el=r,this.esc$=(0,D.mL)(this.doc,"keydown").pipe((0,ft.h)(a=>{const l=(0,F.mA)(a);return"Escape"===a.key&&!a.defaultPrevented&&(this.element.contains(l)||this.isOutside(l))})),this.mousedown$=(0,D.mL)(this.doc,"mousedown").pipe((0,ft.h)(a=>jn(this.win)-a.clientX>17&&this.isOutside((0,F.mA)(a))),(0,nt.w)(()=>(0,D.mL)(this.doc,"mouseup").pipe((0,bn.q)(1),(0,y.U)(F.mA),(0,ft.h)(a=>this.isOutside(a)))))}get element(){return this.el.nativeElement}isOutside(e){return(0,F.ve)(e)&&(!(0,F.PP)(this.element,e)||e===this.element)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(Q.m9),n.LFG(C.K0),n.LFG(n.SBq))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();const ud=new Error("Required dialog was dismissed");let dd=(()=>{class t{constructor(e,i,r,a,l,c,d,p){this.duration=e,this.isMobile=i,this.context=r,this.closeWord$=d,this.icons=p,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new qt.x,(0,q.T)(this.close$.pipe((0,nt.w)(()=>or(r.closeable))),l.pipe((0,nt.w)(()=>or(r.dismissible))),c.pipe((0,y.U)(x.Ye))).pipe((0,ft.h)(Boolean),(0,J.R)(a)).subscribe(()=>{this.close()})}get size(){return this.context.size}get header(){return this.context.header}get slideInTop(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}get fullscreen(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}close(){this.context.required?this.context.$implicit.error(ud):this.context.$implicit.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Zn),n.Y36(H.fL),n.Y36(P.yf),n.Y36(T.a3,2),n.Y36(ir),n.Y36(ld),n.Y36(pa),n.Y36(he))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(e,i){2&e&&(n.uIk("data-appearance",i.context.appearance)("data-size",i.size),n.d8E("@tuiSlideInTop",i.slideInTop)("@tuiFadeIn",i.slideInTop),n.ekj("_centered",i.header))},features:[n._Bn([T.a3,ir])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","shape","rounded","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","icon","title","click","mousedown.prevent.silent"]],template:function(e,i){1&e&&(n.YNc(0,rd,2,2,"header",0),n.TgZ(1,"div",1),n._UZ(2,"h2",2),n.TgZ(3,"section"),n.YNc(4,ad,5,2,"ng-container",3),n.qZA()(),n._UZ(5,"div",4),n.YNc(6,sd,3,5,"div",5)),2&e&&(n.Q6J("ngIf",i.header),n.xp6(2),n.Q6J("id",i.context.id)("textContent",i.context.label),n.xp6(2),n.Q6J("polymorpheusOutlet",i.context.content)("polymorpheusOutletContext",i.context),n.xp6(2),n.Q6J("ngIf",i.context.closeable))},dependencies:[rn,C.O5,P.Li,id,C.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 1.125rem 1.875rem #0000007a;content:"";border-radius:inherit;pointer-events:none}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[Ns,zi]}}),t})();function or(t){return(0,Un.b)(t)?t:(0,j.of)(t)}const pd=new P.Al(dd);let hd=(()=>{class t extends E.d5{constructor(){super(...arguments),this.component=pd,this.defaultOptions=Object.assign(Object.assign({},(0,n.f3M)(nr)),{data:void 0})}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const gd={DMY:"dd/mm/yyyy",MDY:"mm/dd/yyyy",YMD:"yyyy/mm/dd"};let md=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[n._Bn([xl])]}),t})(),fd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),vd=(()=>{class t{constructor(e,i){this.ngZone=e,this.elementRef=i,this.maskedElement=null,this.maskito=Yt,this.maskitoElement=Mc}ngOnChanges(){var e;return(0,it.mG)(this,void 0,void 0,function*(){null===(e=this.maskedElement)||void 0===e||e.destroy();const i=this.maskitoElement,r=yield i(this.elementRef.nativeElement);this.maskitoElement===i&&this.ngZone.runOutsideAngular(()=>{var a;this.maskedElement=new Lc(r,null!==(a=this.maskito)&&void 0!==a?a:Yt)})})}ngOnDestroy(){var e;null===(e=this.maskedElement)||void 0===e||e.destroy()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.R0b),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","maskito",""]],inputs:{maskito:"maskito",maskitoElement:"maskitoElement"},features:[n.TTD]}),t})(),Md=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();function Cd(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-primitive-textfield",5),n.NdJ("focusedChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onFocused(r))})("valueChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onValueChange(r))}),n.Hsn(1),n.Hsn(2,1,["ngProjectAs","input",5,["input"]]),n.qZA()}if(2&t){const e=o.tuiLet,i=n.oxw(),r=n.MAs(4);n.Q6J("disabled",i.computedDisabled)("focusable",i.computedFocusable)("invalid",i.computedInvalid)("maskito",i.computedMask)("nativeId",i.nativeId)("pseudoFocus",i.pseudoFocus)("pseudoHover",i.pseudoHover)("readOnly",i.readOnly)("tuiTextfieldFiller",i.getComputedFiller(e||""))("tuiTextfieldIcon",i.calendarIcon&&r)("value",i.computedValue)}}function Od(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-svg",8),n.NdJ("click",function(){n.CHM(e);const r=n.oxw(2);return n.KtG(r.onIconClick())}),n.qZA()}if(2&t){const e=o.polymorpheusOutlet,i=n.oxw(2);n.ekj("t-icon",!i.computedDisabled),n.Q6J("src",e)}}function Td(t,o){1&t&&n._UZ(0,"input",9)}const bd=t=>({$implicit:t});function Pd(t,o){if(1&t&&n.YNc(0,Od,1,3,"tui-svg",6)(1,Td,1,0,"input",7),2&t){const e=n.oxw();n.Q6J("polymorpheusOutlet",e.calendarIcon)("polymorpheusOutletContext",n.VKq(3,bd,e.size)),n.xp6(1),n.Q6J("ngIf",e.isMobile&&e.nativePicker)}}function Dd(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",12)(1,"button",13),n.NdJ("click",function(){n.CHM(e);const r=n.oxw(2);return n.KtG(r.onDayClick(r.items[0].day))}),n._uU(2),n.qZA()()}if(2&t){const e=n.oxw(2);n.xp6(2),n.hij(" ",e.items[0]," ")}}function wd(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-calendar",10),n.NdJ("dayClick",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onDayClick(r))})("monthChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onMonthChange(r))}),n.qZA(),n.YNc(1,Dd,3,1,"div",11)}if(2&t){const e=n.oxw();n.Q6J("disabledItemHandler",e.disabledItemHandler)("markerHandler",e.markerHandler)("max",e.computedMax)("min",e.computedMin)("month",e.computedActiveYearMonth)("value",e.value),n.xp6(1),n.Q6J("ngIf",1===e.items.length)}}const xd=["*",[["input"]]],yd=["*","input"];let Id=(()=>{class t{constructor(e,i){this.host=e,this.dateFormat=i}get value(){return 10===this.host.value.length?R.normalizeParse(this.host.value,this.dateFormat).toString("YMD","-"):""}get max(){return this.host.max.toJSON()}get min(){return this.host.min.toJSON()}onChange(e){this.host.onValueChange(e?R.normalizeParse(e,"YMD").toString(this.dateFormat):"")}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Qe),n.Y36(Sn))},t.\u0275dir=n.lG2({type:t,selectors:[["input","tuiDate",""]],hostAttrs:["type","date"],hostVars:4,hostBindings:function(e,i){1&e&&n.NdJ("change",function(a){return i.onChange(a.target.value)})("click.stop.silent",function(){return 0})("input.stop.silent",function(){return 0})("mousedown.stop.silent",function(){return 0}),2&e&&n.Ikx("tabIndex",-1)("value",i.value)("max",i.max)("min",i.min)}}),t})(),Sd=(()=>{class t extends E.F9{constructor(e,i,r,a,l,c,d,p,h,g,m,f){super(e,i,g),this.injector=r,this.isMobile=a,this.dialogs=l,this.mobileCalendar=c,this.dateFormat=d,this.dateSeparator=p,this.dateTexts$=h,this.valueTransformer=g,this.options=m,this.textfieldSize=f,this.month=null,this.min=this.options.min,this.max=this.options.max,this.disabledItemHandler=x.Iy,this.markerHandler=ze,this.items=[],this.defaultActiveYearMonth=L.currentLocal(),this.open=!1,this.filler$=this.dateTexts$.pipe((0,y.U)(v=>((t,o)=>t.replace(/[^0-9A-Za-z\u0410-\u042f\u0430-\u044f]/gi,this.dateSeparator))(v[this.dateFormat])))}get size(){return this.textfieldSize.size}get computedMin(){var e;return null!==(e=this.min)&&void 0!==e?e:this.options.min}get computedMax(){var e;return null!==(e=this.max)&&void 0!==e?e:this.options.max}get nativeFocusableElement(){var e,i;return null!==(i=null===(e=this.textfield)||void 0===e?void 0:e.nativeFocusableElement)&&void 0!==i?i:null}get focused(){var e;return!(null===(e=this.textfield)||void 0===e||!e.focused)}get computedMobile(){return this.isMobile&&(!!this.mobileCalendar||this.nativePicker)}get nativePicker(){return this.options.nativePicker}get calendarIcon(){return this.options.icon}get computedValue(){const{value:e,nativeValue:i,activeItem:r}=this;return r?String(r):e?e.toString(this.dateFormat,this.dateSeparator):i}get computedActiveYearMonth(){return this.items[0]&&this.value&&this.value.daySame(this.items[0].day)?this.items[0].displayDay:this.month||this.value||function pr(t,o,e){return e&&et?o:t}(this.defaultActiveYearMonth,this.computedMin,this.computedMax)}get nativeValue(){var e;return(null===(e=this.nativeFocusableElement)||void 0===e?void 0:e.value)||""}set nativeValue(e){this.nativeFocusableElement&&(this.nativeFocusableElement.value=e)}get canOpen(){return this.interactive&&!this.computedMobile}get computedMask(){return this.activeItem?Yt:this.computeMaskOptions(this.dateFormat,this.dateSeparator,this.computedMin,this.computedMax)}get activeItem(){const{value:e}=this;return e&&this.items.find(i=>i.day.daySame(e))||null}onClick(){this.isMobile||(this.open=!this.open)}getComputedFiller(e){return this.activeItem?"":e}onMobileClick(){this.onIconClick()}onIconClick(){!this.computedMobile||!this.mobileCalendar||this.dialogs.open(new P.Al(this.mobileCalendar,this.injector),{size:"fullscreen",closeable:!1,data:{single:!0,min:this.min,max:this.max,disabledItemHandler:this.disabledItemHandler}}).pipe((0,J.R)(this.destroy$)).subscribe(e=>{this.value=e})}onValueChange(e){this.control&&this.control.updateValueAndValidity({emitEvent:!1}),e||this.onOpenChange(!0),this.value=10!==e.length?null:R.normalizeParse(e,this.dateFormat)}onDayClick(e){this.value=e,this.open=!1}onMonthChange(e){this.month=e}onOpenChange(e){this.open=e}onFocused(e){this.updateFocused(e)}setDisabledState(){super.setDisabledState(),this.open=!1}writeValue(e){super.writeValue(e),this.nativeValue=e?this.computedValue:""}valueIdenticalComparator(e,i){return(0,_.J$)(e,i,(r,a)=>r.daySame(a))}computeMaskOptions(e,i,r,a){return function jc({mode:t,separator:o=".",max:e,min:i}){const r=t.split("/").join(o);return Object.assign(Object.assign({},Yt),{mask:Array.from(r).map(a=>a===o?a:/\d/),overwriteMode:"replace",preprocessors:[({elementState:t},o)=>{const{value:e,selection:i}=t;if(!e||function Jc(t,[o,e]){return e===t.length}(e,i))return{elementState:t};const[r,a]=i,l=e.slice(r,a).replace(/\d/g,"0"),c=e.slice(0,r)+l+e.slice(a);return"validation"===o||"insert"===o&&r===a?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===o||"insert"===o?[r,r]:[a,a],value:c}}},vn({dateModeTemplate:r,dateSegmentsSeparator:o}),Uo({dateModeTemplate:r,dateSegmentsSeparator:o})],postprocessors:[Bo({min:i,max:e,dateModeTemplate:r,dateSegmentSeparator:o})]})}({separator:i,mode:gd[e],min:r.toLocalNativeDate(),max:a.toLocalNativeDate()})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(n.zs3),n.Y36(H.fL),n.Y36(hd),n.Y36(Pl,8),n.Y36(Sn),n.Y36(_r),n.Y36(Tl),n.Y36(so,8),n.Y36(co),n.Y36(sn))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-input-date"]],viewQuery:function(e,i){if(1&e&&n.Gf(Tn,5),2&e){let r;n.iGM(r=n.CRH())&&(i.textfield=r.first)}},hostVars:1,hostBindings:function(e,i){1&e&&n.NdJ("click",function(){return i.onClick()}),2&e&&n.uIk("data-size",i.size)},inputs:{min:"min",max:"max",disabledItemHandler:"disabledItemHandler",markerHandler:"markerHandler",items:"items",defaultActiveYearMonth:"defaultActiveYearMonth"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t),Ol(so)]),n.qOj],ngContentSelectors:yd,decls:7,vars:7,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange"],["automation-id","tui-input-date-range__textfield","tuiValueAccessor","","class","t-textfield",3,"disabled","focusable","invalid","maskito","nativeId","pseudoFocus","pseudoHover","readOnly","tuiTextfieldFiller","tuiTextfieldIcon","value","focusedChange","valueChange",4,"tuiLet"],["iconContent",""],[3,"polymorpheus"],["dropdown","polymorpheus"],["automation-id","tui-input-date-range__textfield","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","nativeId","pseudoFocus","pseudoHover","readOnly","tuiTextfieldFiller","tuiTextfieldIcon","value","focusedChange","valueChange"],["appearance","icon","automation-id","tui-input-date-range__icon","tuiWrapper","",3,"t-icon","src","click",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiDate","","class","t-native-input",4,"ngIf"],["appearance","icon","automation-id","tui-input-date-range__icon","tuiWrapper","",3,"src","click"],["tuiDate","",1,"t-native-input"],["automation-id","tui-input-date__calendar","tuiPreventDefault","mousedown",3,"disabledItemHandler","markerHandler","max","min","month","value","dayClick","monthChange"],["tuiPreventDefault","mousedown","class","t-button",4,"ngIf"],["tuiPreventDefault","mousedown",1,"t-button"],["tuiLink","","type","button",3,"click"]],template:function(e,i){if(1&e&&(n.F$t(xd),n.TgZ(0,"tui-hosted-dropdown",0),n.NdJ("openChange",function(a){return i.onOpenChange(a)}),n.YNc(1,Cd,3,11,"tui-primitive-textfield",1),n.ALo(2,"async"),n.YNc(3,Pd,2,5,"ng-template",null,2,n.W1O)(5,wd,2,7,"ng-template",3,4,n.W1O),n.qZA()),2&e){const r=n.MAs(6);n.Q6J("canOpen",i.canOpen)("content",r)("open",i.open&&i.canOpen),n.xp6(1),n.Q6J("tuiLet",n.lcZ(2,5,i.filler$)),n.xp6(4),n.Q6J("polymorpheus",i.type)}},dependencies:[Ce,Tn,gt,Oi,vi,at.Ls,Yu,md,vd,Si,Ei,P.Li,xt,C.O5,Id,P.GL,_u,C.Ov],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-icon[_ngcontent-%COMP%]{pointer-events:auto}.t-button[_ngcontent-%COMP%]{display:flex;height:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-base-03)}.t-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex:1;text-align:center}.t-native-input[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;pointer-events:auto;font-size:2rem}"],changeDetection:0}),(0,it.gn)([ht.UM],t.prototype,"computeMaskOptions",null),t})(),kd=(()=>{class t extends si{get value(){return this.host.computedValue}get max(){return this.host.computedMax}get min(){return this.host.computedMin}onValueChange(e){e||(this.host.nativeValue=""),this.host.onValueChange(e)}process(e){e.inputMode="numeric"}}return t.\u0275fac=(()=>{let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}})(),t.\u0275dir=n.lG2({type:t,selectors:[["tui-input-date"]],features:[n._Bn([ni(t)]),n.qOj]}),t})(),Ed=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,Md,P.wq,yt,mu,Ti,_t,Mi,io,$u,fd,at.WD,Ni]]}),t})();function Ad(t,o){if(1&t&&n._UZ(0,"tui-svg",2),2&t){const e=o.polymorpheusOutlet,i=n.oxw();n.ekj("t-mark_on",!i.empty),n.Q6J("src",e)}}const Ld=t=>({$implicit:t}),Fd=["*"],rr={size:"m",appearances:{unchecked:pt.Outline,checked:pt.Primary,indeterminate:pt.Primary},icons:{checked:({$implicit:t})=>"m"===t?"tuiIconCheck":"tuiIconCheckLarge",indeterminate:({$implicit:t})=>"m"===t?"tuiIconMinus":"tuiIconMinusLarge"}},ke=(0,_.JN)(rr);let Hd=(()=>{class t{constructor(e){this.options=e,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}set valueSetter(e){!1!==e&&this.setCurrentIcon(e),this.value=e}get appearance(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}get empty(){return!1===this.value}setCurrentIcon(e){this.icon=null===e?this.options.icons.indeterminate:this.options.icons.checked}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(ke))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&n.uIk("data-size",i.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:Fd,decls:3,vars:10,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(e,i){1&e&&(n.F$t(),n.TgZ(0,"div",0),n.YNc(1,Ad,1,3,"tui-svg",1),n.Hsn(2),n.qZA()),2&e&&(n.Q6J("active",i.pressed)("appearance",i.appearance)("disabled",i.disabled)("focus",i.focused)("hover",i.hovered)("invalid",i.invalid),n.xp6(1),n.Q6J("polymorpheusOutlet",i.icon)("polymorpheusOutletContext",n.VKq(8,Ld,i.size)))},dependencies:[gt,xt,P.Li],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),t})(),Rd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[_t,yt,P.wq]]}),t})();const Nd=["focusableElement"];let ar=(()=>{class t extends E.F9{constructor(e,i,r){super(e,r),this.options=i,this.size=this.options.size}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get computedFocusable(){return this.interactive&&this.focusable}onChecked(e){this.value=e}onFocused(e){this.updateFocused(e)}onFocusVisible(e){this.updateFocusVisible(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(ke),n.Y36(n.sBO))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-checkbox"]],viewQuery:function(e,i){if(1&e&&n.Gf(Nd,5),2&e){let r;n.iGM(r=n.CRH())&&(i.focusableElement=r.first)}},hostVars:1,hostBindings:function(e,i){2&e&&n.uIk("data-size",i.size)},inputs:{size:"size"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t)]),n.qOj],decls:3,vars:11,consts:[[3,"disabled","focused","hovered","invalid","pressed","size","value"],["automation-id","tui-checkbox__native","type","checkbox",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(e,i){1&e&&(n.TgZ(0,"tui-primitive-checkbox",0)(1,"input",1,2),n.NdJ("tuiCheckedChange",function(a){return i.value=a})("tuiFocusedChange",function(a){return i.onFocused(a)})("tuiFocusVisibleChange",function(a){return i.onFocusVisible(a)}),n.qZA()()),2&e&&(n.Q6J("disabled",i.disabled)("focused",i.computedFocusVisible)("hovered",i.pseudoHover)("invalid",i.computedInvalid)("pressed",i.pseudoActive)("size",i.size)("value",i.value),n.xp6(1),n.Q6J("disabled",i.disabled)("id",i.id)("tuiFocusable",i.computedFocusable)("tuiChecked",i.value))},dependencies:[Hd,mo,jt,vo,Co],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),t})(),zd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,fo,Zt,Mo,Oo,Rd]]}),t})();const Bd=["*"];let Ud=(()=>{class t extends E.F9{constructor(e,i,r,a){super(e,i),this.mode$=r,this.options=a,this.size=this.options.size}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get nativeFocusableElement(){var e,i;return null!==(i=null===(e=this.checkbox)||void 0===e?void 0:e.nativeFocusableElement)&&void 0!==i?i:null}onFocused(e){this.updateFocused(e)}onModelChange(e){this.value=e}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(Ct),n.Y36(ke))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-checkbox-labeled"]],viewQuery:function(e,i){if(1&e&&n.Gf(ar,5),2&e){let r;n.iGM(r=n.CRH())&&(i.checkbox=r.first)}},hostVars:1,hostBindings:function(e,i){1&e&&n.NdJ("$.data-mode.attr",function(){return i.mode$}),2&e&&n.uIk("data-size",i.size)},inputs:{size:"size"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t),wt]),n.qOj],ngContentSelectors:Bd,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","focusable","nativeId","pseudoActive","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(e,i){1&e&&(n.F$t(),n.TgZ(0,"label",0)(1,"tui-checkbox",1),n.NdJ("ngModelChange",function(a){return i.value=a})("focusedChange",function(a){return i.onFocused(a)}),n.qZA(),n.TgZ(2,"div",2),n.Hsn(3),n.qZA()()),2&e&&(n.xp6(1),n.Q6J("disabled",i.computedDisabled)("focusable",i.focusable)("nativeId",i.nativeId)("pseudoActive",i.pseudoActive)("pseudoFocus",i.pseudoFocus)("pseudoHover",i.pseudoHover)("pseudoInvalid",i.computedInvalid)("readOnly",i.readOnly)("size",i.size)("ngModel",i.value),n.xp6(1),n.ekj("t-content_disabled",i.computedDisabled))},dependencies:[ar,w.JJ,w.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),t})(),Yd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,w.u5,zd]]}),t})();function sr(t,o){const e=t.findIndex((a,l)=>l&&o(a));return[t[e-1]||t[0],t[e]||t[t.length-1]]}const Vd=["type","range","tuiSlider",""],cr=(0,_.JN)({size:"m",trackColor:"var(--tui-base-03)"});let ur=(()=>{class t{constructor(e,i,r,a,l,c){var d;this.control=e,this.options=r,this.el=a,this.userAgent=l,this.injector=c,this.size=this.options.size,this.segments=1,e instanceof w.On&&(null===(d=e.valueChanges)||void 0===d||d.pipe((0,D.NA)(i),(0,bn.q)(1)).subscribe())}get min(){return Number(this.el.nativeElement.min)}get max(){return Number(this.el.nativeElement.max||100)}get step(){return Number(this.el.nativeElement.step)||1}get value(){const{el:e,control:i,hasKeySteps:r}=this;return!r&&i instanceof w.On?i.viewModel:Number(e.nativeElement.value)||0}set value(e){this.el.nativeElement.value="".concat(e)}get valuePercentage(){return 100*(this.value-this.min)/(this.max-this.min)||0}get segmentWidth(){return 100/Math.max(1,this.segments)}get isOldEdge(){return function Or(t,o){return parseInt(o.slice(o.toLowerCase().indexOf("edge/")+5),10){class t extends E.M${constructor(e,i,r,a){super(e,i),this.el=r,this.slider=a}get nativeFocusableElement(){return this.computedDisabled?null:this.el.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get min(){return this.keySteps[0][1]}get max(){return this.keySteps[this.keySteps.length-1][1]}updateControlValue(){this.value=function Gd(t,o){const[[e,i],[r,a]]=sr(o,([d,p])=>t<=d);return(0,Y.FG)((t-e)/(r-e)*(a-i)+i,7)}(this.slider.valuePercentage,this.keySteps)}writeValue(e){if(null===e)return;const i=(0,Y.Ki)(e,this.min,this.max);this.slider.value=this.transformToNativeValue(i)}getFallbackValue(){return 0}transformToNativeValue(e){const{min:i,max:r}=this.slider;return function $d(t,o){const[[e,i],[r,a]]=sr(o,([c,d])=>t<=d);return(r-e)*((t-i)/(a-i)||0)+e}(e,this.keySteps)*(r-i)/100+i}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36((0,n.Gpc)(()=>ur)))},t.\u0275dir=n.lG2({type:t,selectors:[["input","tuiSlider","","keySteps",""]],hostVars:4,hostBindings:function(e,i){1&e&&n.NdJ("input",function(){return i.updateControlValue()})("change",function(){return i.updateControlValue()}),2&e&&(n.Ikx("disabled",i.computedDisabled),n.uIk("aria-valuenow",i.safeCurrentValue)("aria-valuemin",i.min)("aria-valuemax",i.max))},inputs:{keySteps:"keySteps"},features:[n.qOj]}),t})(),jd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez]]}),t})();function Zd(t,o){if(1&t&&(n.TgZ(0,"tui-checkbox-labeled",15),n._uU(1),n.qZA()),2&t){const e=o.$implicit,i=n.oxw();n.Q6J("ngModel",e===i.labels[1]),n.xp6(1),n.hij(" ",e," ")}}let Wd=(()=>{var t;class o{constructor(){this.labels=["New","Read","Archived","Junk"],this.tags=["Angular","Open source"],this.date=null}onDay(i){this.date=i}}return(t=o).\u0275fac=function(i){return new(i||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["home"]],standalone:!0,features:[n.jDz],decls:22,vars:9,consts:[[1,"title"],["tuiHintContent","Customizable for any use case",1,"tui-space_vertical-10",3,"tuiTextfieldLabelOutside","ngModel","ngModelChange"],[1,"flex"],[1,"date"],["required","",3,"ngModel","ngModelChange","click.capture.stop","keydown.capture.stop","mousedown.capture.stop"],["placeholder","dd.mm.yyyy","tuiTextfield",""],[1,"calendar",3,"value","dayClick","event.prevent.silent"],["size","l","class","tui-space_bottom-4",3,"ngModel",4,"ngFor","ngForOf"],[1,"controls"],["size","l",1,"tui-space_right-3",3,"ngModel","showIcons"],["size","m","step","any","tuiSlider","","type","range",1,"tui-space_vertical-6",3,"max","ngModel"],[1,"icons"],["appearance","","icon","tuiIconVolumeXLarge","shape","rounded","title","Mute speaker","tuiIconButton","","type","button",1,"button"],["appearance","","icon","tuiIconMicOffLarge","shape","rounded","title","Mute microphone","tuiIconButton","","type","button",1,"button"],["appearance","","icon","tuiIconPhoneForwardedLarge","shape","rounded","title","Forward call","tuiIconButton","","type","button",1,"error"],["size","l",1,"tui-space_bottom-4",3,"ngModel"]],template:function(i,r){1&i&&(n.TgZ(0,"h2",0),n._uU(1," Dozens of "),n._UZ(2,"br"),n._uU(3," components\n"),n.qZA(),n.TgZ(4,"tui-input-tag",1),n.NdJ("ngModelChange",function(l){return r.tags=l}),n.qZA(),n.TgZ(5,"div",2)(6,"div",3)(7,"tui-input-date",4),n.NdJ("ngModelChange",function(l){return r.date=l})("click.capture.stop",function(){return 0})("keydown.capture.stop",function(){return 0})("mousedown.capture.stop",function(){return 0}),n._uU(8," Choose date "),n._UZ(9,"input",5),n.qZA(),n.TgZ(10,"tui-calendar",6),n.NdJ("dayClick",function(l){return r.onDay(l)})("event.prevent.silent",function(){return 0}),n.qZA()(),n.TgZ(11,"div"),n.YNc(12,Zd,2,2,"tui-checkbox-labeled",7),n.qZA(),n.TgZ(13,"div",8)(14,"label"),n._UZ(15,"tui-toggle",9),n._uU(16," Push notifications "),n.qZA(),n._UZ(17,"input",10),n.TgZ(18,"div",11),n._UZ(19,"button",12)(20,"button",13)(21,"button",14),n.qZA()()()),2&i&&(n.xp6(4),n.Q6J("tuiTextfieldLabelOutside",!0)("ngModel",r.tags),n.xp6(3),n.Q6J("ngModel",r.date),n.xp6(3),n.Q6J("value",r.date),n.xp6(2),n.Q6J("ngForOf",r.labels),n.xp6(3),n.Q6J("ngModel",!0)("showIcons",!0),n.xp6(2),n.Q6J("max",140)("ngModel",80))},dependencies:[C.ez,C.sg,w.u5,w.Fj,w.eT,w.JJ,w.Q7,w.On,to.X1,cc,lc,vc,fc,Ti,Oi,Ni,Fi,Ed,Sd,kd,Gu,Yd,Ud,fi,rn,Vi,te,jd,ur],styles:[".title{font-size:3.5rem;line-height:4.0625rem;margin:0}.flex{display:flex}.date{width:18rem;margin-right:2.8125rem}.calendar{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;border-radius:var(--tui-radius-m);border:1px solid var(--tui-base-03);margin-top:.25rem;width:18rem;box-sizing:border-box;height:auto}.controls{flex:1;margin-left:2.8125rem}.icons{display:flex;justify-content:space-between}.button[data-size][data-shape],.error[data-size][data-shape]{transition-property:color,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:var(--tui-base-02);color:var(--tui-primary)}.button[data-size][data-shape]:hover,.error[data-size][data-shape]:hover,.button[data-size][data-shape]:active,.error[data-size][data-shape]:active{background:var(--tui-base-03);color:var(--tui-primary-hover)}.error[data-size][data-shape]{color:var(--tui-negative)}.error[data-size][data-shape]:hover,.error[data-size][data-shape]:active{color:var(--tui-negative-hover)}\n"],encapsulation:2,changeDetection:0}),o})()}}]); \ No newline at end of file diff --git a/404.html b/404.html index 83ff7551..3f2b275e 100644 --- a/404.html +++ b/404.html @@ -24,8 +24,8 @@ -

Dozens of
components -

Angular
Open source
November
Mon
Tue
Wed
Thu
Fri
Sat
Sun
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
+

Dozens of
components +

Angular
Open source
November
Mon
Tue
Wed
Thu
Fri
Sat
Sun
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
\ No newline at end of file diff --git a/945.js b/945.js deleted file mode 100644 index c6b58472..00000000 --- a/945.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[945],{1945:(Qd,Dn,M)=>{M.r(Dn),M.d(Dn,{HomeComponent:()=>Wd});var C=M(6733),w=M(2133),n=M(755),ae=M(1968),x=M(7007),_=M(8715),se=(M(9838),function(t){return t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday",t}(se||{})),ot=function(t){return t[t.January=0]="January",t[t.February=1]="February",t[t.March=2]="March",t[t.April=3]="April",t[t.May=4]="May",t[t.June=5]="June",t[t.July=6]="July",t[t.August=7]="August",t[t.September=8]="September",t[t.October=9]="October",t[t.November=10]="November",t[t.December=11]="December",t}(ot||{}),Ee=M(9663),U=M(5618);const Vt="".concat(x.f$).concat(x.F).concat(x.f$),gr=20+Vt.length,Sn=(0,_.JN)("DMY"),_r=(0,_.JN)(".");class ${constructor(o){this.year=o}static isValidYear(o){return Number.isInteger(o)&&(0,U.wf)(o,0,1e4)}static isLeapYear(o){return o%400==0||o%4==0&&o%100!=0}static getAbsoluteLeapYears(o){return Math.ceil(o/400)+(Math.ceil(o/4)-Math.ceil(o/100))}static lengthBetween(o,e){return e.year-o.year}static normalizeYearPart(o){return(0,U.G1)(o,0,9999)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return $.isLeapYear(this.year)}get absoluteLeapYears(){return $.getAbsoluteLeapYears(this.year)}yearBefore({year:o}){return this.year=o}yearAfter({year:o}){return this.year>o}append({year:o=0}){return new $(this.year+o)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](o){return Date.prototype[Symbol.toPrimitive].call(this,o)}toJSON(){return this.formattedYear}}class L extends ${constructor(o,e){super(o),this.month=e}static isValidMonth(o,e){return $.isValidYear(o)&&L.isValidMonthPart(e)}static getMonthDaysCount(o,e){switch(o){case ot.February:return e?29:28;case ot.April:case ot.June:case ot.September:case ot.November:return 30;default:return 31}}static currentLocal(){const o=new Date;return new L(o.getFullYear(),o.getMonth())}static currentUtc(){const o=new Date;return new L(o.getUTCFullYear(),o.getUTCMonth())}static lengthBetween(o,e){return e.month+12*e.year-(o.month+12*o.year)}static normalizeMonthPart(o){return(0,U.G1)(o,0,11)}static isValidMonthPart(o){return Number.isInteger(o)&&(0,U.wf)(o,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return L.getMonthDaysCount(this.month,this.isLeapYear)}monthBefore(o){return this.yearBefore(o)||this.yearSame(o)&&this.month=o.month}monthAfter(o){return this.yearAfter(o)||this.yearSame(o)&&this.month>o.month}append({year:o=0,month:e=0}){const i=12*(this.year+o)+this.month+e;return new L(Math.floor(i/12),i%12)}toString(){return"".concat(this.formattedMonthPart,".").concat(this.formattedYear)}valueOf(){return this.toLocalNativeDate().valueOf()}toJSON(){return"".concat(super.toJSON(),"-").concat(this.formattedMonthPart)}toLocalNativeDate(){return new Date(this.year,this.month)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month))}}class N extends L{constructor(o,e,i){super(o,e),this.day=i}static fromLocalNativeDate(o){return new N(o.getFullYear(),o.getMonth(),o.getDate())}static fromUtcNativeDate(o){return new N(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate())}static isValidDay(o,e,i){return L.isValidMonth(o,e)&&Number.isInteger(i)&&(0,U.wf)(i,1,L.getMonthDaysCount(e,$.isLeapYear(o))+1)}static currentLocal(){const o=new Date,e=o.getFullYear(),i=o.getMonth(),r=o.getDate();return new N(e,i,r)}static currentUtc(){const o=new Date,e=o.getUTCFullYear(),i=o.getUTCMonth(),r=o.getUTCDate();return new N(e,i,r)}static normalizeOf(o,e,i){const r=$.normalizeYearPart(o),a=L.normalizeMonthPart(e),l=N.normalizeDayPart(i,a,r);return new N(r,a,l)}static lengthBetween(o,e){return Math.round((e.toLocalNativeDate().getTime()-o.toLocalNativeDate().getTime())/864e5)}static parseRawDateString(o,e="DMY"){switch(e){case"YMD":return{day:parseInt(o.slice(8,10),10),month:parseInt(o.slice(5,7),10)-1,year:parseInt(o.slice(0,4),10)};case"MDY":return{day:parseInt(o.slice(3,5),10),month:parseInt(o.slice(0,2),10)-1,year:parseInt(o.slice(6,10),10)};default:return{day:parseInt(o.slice(0,2),10),month:parseInt(o.slice(3,5),10)-1,year:parseInt(o.slice(6,10),10)}}}static normalizeParse(o,e="DMY"){const{day:i,month:r,year:a}=this.parseRawDateString(o,e);return N.normalizeOf(a,r,i)}static jsonParse(o){const{day:e,month:i,year:r}=this.parseRawDateString(o,"YMD");if(!$.isValidYear(r))throw new Ee.JY(r);if(!L.isValidMonth(r,i))throw new Ee.AM(i);if(!Number.isInteger(e)||!(0,U.wf)(e,1,L.getMonthDaysCount(i,$.isLeapYear(r))+1))throw new Ee.I4(e);return new N(r,i,e)}static normalizeDayPart(o,e,i){const r=L.getMonthDaysCount(e,$.isLeapYear(i));return(0,U.G1)(o,1,r)}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const o=this.dayOfWeek(!1);return o===se.Saturday||o===se.Sunday}dayOfWeek(o=!0){const e=o?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return e<0?6:e}dayBefore(o){return this.monthBefore(o)||this.monthSame(o)&&this.day=o.day}dayAfter(o){return this.monthAfter(o)||this.monthSame(o)&&this.day>o.day}dayLimit(o,e){return null!==o&&this.dayBefore(o)?o:null!==e&&this.dayAfter(e)?e:this}append({year:o=0,month:e=0,day:i=0}){const r=12*(this.year+o)+this.month+e;let a=Math.floor(r/12),l=r%12,c=Math.min(this.day,L.getMonthDaysCount(l,$.isLeapYear(a)))+i;for(;c>L.getMonthDaysCount(l,$.isLeapYear(a));)c-=L.getMonthDaysCount(l,$.isLeapYear(a)),l===ot.December?(a++,l=ot.January):l++;for(;c<1;)l===ot.January?(a--,l=ot.December):l--,c+=L.getMonthDaysCount(l,$.isLeapYear(a));return new N(a,l,c)}getFormattedDay(o,e){const i=this.formattedDayPart,r=this.formattedMonthPart,a=this.formattedYear;switch(o){case"YMD":return"".concat(a).concat(e).concat(r).concat(e).concat(i);case"MDY":return"".concat(r).concat(e).concat(i).concat(e).concat(a);default:return"".concat(i).concat(e).concat(r).concat(e).concat(a)}}toString(o="DMY",e="."){return this.getFormattedDay(o,e)}toJSON(){return"".concat(super.toJSON(),"-").concat(this.formattedDayPart)}toLocalNativeDate(){return new Date(this.year,this.month,this.day)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month,this.day))}}class Ht{constructor(o,e){this.from=o,this.to=e}static sort(o,e){return o.monthSameOrBefore(e)?new Ht(o,e):new Ht(e,o)}get isSingleMonth(){return this.from.monthSame(this.to)}monthSame(o){return this.from.monthSame(o.from)&&this.to.monthSame(o.to)}toString(){return"".concat(this.from).concat(Vt).concat(this.to)}}class rt extends Ht{constructor(o,e){super(o,e),this.from=o,this.to=e}static sort(o,e){return o.daySameOrBefore(e)?new rt(o,e):new rt(e,o)}static normalizeParse(o,e="DMY"){const i=N.normalizeParse(o.slice(0,10),e);return o.lengthx.LZ,kn={decimalLimit:1/0,decimalSeparator:",",thousandSeparator:x.f$,zeroPadding:!0,rounding:"truncate",decimal:"not-zero"},vr=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"],En=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"];var An=M(8910),F=M(7899),H=M(3454),Q=M(5393);function Pr(t,o){1&t&&n._UZ(0,"tui-scroll-controls",2)}const Dr=["*"];let ce=(()=>{class t{constructor(e,i,r,a){this.cssRef=e,this.el=i,this.userAgent=r,this.isIos=a,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||function Tr(t){return t.toLowerCase().includes("firefox")}(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new n.SBq(this.el.nativeElement)}get showScrollbars(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}get showNative(){return this.isLegacy&&!this.hidden&&!this.delegated}onScrollable(e){this.delegated=!0,this.browserScrollRef.nativeElement=e}scrollIntoView(e){var i;if(this.delegated)return;const{nativeElement:r}=this.browserScrollRef,{offsetTop:a,offsetLeft:l}=(0,F.YX)(r,e),{clientHeight:c,clientWidth:d}=r,{offsetHeight:p,offsetWidth:h}=e;null===(i=r.scrollTo)||void 0===i||i.call(r,l+h/2-d/2,a+p/2-c/2)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Q.ux),n.Y36(n.SBq),n.Y36(Q.yZ),n.Y36(H.FA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(e,i){1&e&&n.NdJ("tui-scrollable.stop",function(a){return i.onScrollable(a.detail)})("tui-scroll-into-view.stop",function(a){return i.scrollIntoView(a.detail)}),2&e&&n.ekj("_legacy",i.showNative)},inputs:{hidden:"hidden"},features:[n._Bn([{provide:H.$_,deps:[t],useFactory:({browserScrollRef:o})=>o}])],ngContentSelectors:Dr,decls:3,vars:1,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(e,i){1&e&&(n.F$t(),n.YNc(0,Pr,1,0,"tui-scroll-controls",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA()),2&e&&n.Q6J("ngIf",i.showScrollbars)},dependencies:[An.tZ,C.O5],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-01)}"],changeDetection:0}),t})(),Be=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,An.eI]]}),t})();class xr{constructor(o){this.$implicit=o}}let Fn=(()=>{class t{constructor(e,i){this.viewContainer=e,this.templateRef=i}set tuiRepeatTimesOf(e){const i=Math.floor((0,U.Ki)(e,0,65536)),{length:r}=this.viewContainer;e{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var at=M(9502),D=M(4521),Nt=M(8132),q=M(5047),y=M(2425),ft=M(5333),vt=M(8004);function yr({currentTarget:t,relatedTarget:o}){return!(0,F.ve)(o)||!(0,F.ve)(t)||!t.contains(o)}let Mt=(()=>{class t extends Nt.y{constructor(e,i){super(r=>this.stream$.subscribe(r)),this.el=e,this.zone=i,this.stream$=(0,q.T)((0,D.mL)(this.el.nativeElement,"mouseenter").pipe((0,y.U)(x.Ye)),(0,D.mL)(this.el.nativeElement,"mouseleave").pipe((0,y.U)(x.Iy)),(0,D.mL)(this.el.nativeElement,"mouseout").pipe((0,ft.h)(yr),(0,y.U)(x.Iy))).pipe((0,vt.x)(),(0,D.Yr)(this.zone))}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.SBq),n.LFG(n.R0b))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),Ye=(()=>{class t{constructor(e){this.tuiHoveredChange=e}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Mt))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},features:[n._Bn([Mt])]}),t})(),ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Nn=(()=>{class t{constructor(e,i){this.el=e,this.takeOnlyTrustedEvents=i,this.tuiPressedChange=(0,D.pn)(this.el.nativeElement,{onlyTrusted:this.takeOnlyTrustedEvents})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(H.wx))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiPressedChange",""]],outputs:{tuiPressedChange:"tuiPressedChange"}}),t})(),Ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var pt=function(t){return t.Accent="accent",t.Flat="flat",t.Icon="icon",t.Outline="outline",t.Primary="primary",t.Secondary="secondary",t.SecondaryDestructive="secondary-destructive",t.Table="table",t.Textfield="textfield",t.Whiteblock="whiteblock",t.WhiteblockActive="whiteblock-active",t}(pt||{}),tt=function(t){return t.Active="active",t.Disabled="disabled",t.Hover="hover",t.Readonly="readonly",t}(tt||{}),et=function(t){return t.End="end",t.Single="single",t.Start="start",t}(et||{}),T=M(8322),de=M(1925),J=M(1749);let kr=(()=>{class t{constructor(e,i){this.el=e,this.destroy$=i}set tuiScrollIntoView(e){e&&(0,de.H)(0).pipe((0,J.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.dispatchEvent(new CustomEvent("tui-scroll-into-view",{bubbles:!0,detail:this.el.nativeElement}))})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(T.a3,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[n._Bn([T.a3])]}),t})(),Er=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();function Ar(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",4),n.NdJ("click",function(){const a=n.CHM(e).tuiLet,l=n.oxw(3);return n.KtG(l.onItemClick(a))})("tuiHoveredChange",function(r){const l=n.CHM(e).tuiLet,c=n.oxw(3);return n.KtG(c.onItemHovered(r,l))})("tuiPressedChange",function(r){const l=n.CHM(e).tuiLet,c=n.oxw(3);return n.KtG(c.onItemPressed(r,l))}),n.TgZ(1,"div",5),n._uU(2),n.qZA()()}if(2&t){const e=o.tuiLet,i=n.oxw(3);n.ekj("t-cell_interval",i.itemIsInterval(e))("t-cell_today",i.itemIsToday(e)),n.Q6J("tuiScrollIntoView",i.scrollItemIntoView(e)),n.uIk("data-range",i.getItemRange(e))("data-state",i.getItemState(e)),n.xp6(2),n.Oqu(e)}}function Lr(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Ar,3,8,"div",3),n.BQk()),2&t){const e=o.$implicit,i=n.oxw().$implicit,r=n.oxw();n.xp6(1),n.Q6J("tuiLet",r.getItem(i,e))}}function Fr(t,o){1&t&&(n.TgZ(0,"div",1),n.YNc(1,Lr,2,1,"ng-container",2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("tuiRepeatTimesOf",4))}let Hr=(()=>{class t{constructor(){this.hoveredItem=null,this.pressedItem=null,this.currentYear=L.currentLocal().year,this.value=null,this.initialItem=L.currentLocal(),this.min=ut,this.max=dt,this.disabledItemHandler=x.Iy,this.yearClick=new n.vpe}get computedMin(){var e;return null!==(e=this.min)&&void 0!==e?e:ut}get computedMax(){var e;return null!==(e=this.max)&&void 0!==e?e:dt}get isSingle(){return this.isRange(this.value)&&this.value.from.yearSame(this.value.to)}get rows(){return Math.ceil((this.calculatedMax-this.calculatedMin)/4)}get calculatedMin(){const e=this.initialItem.year-100,i=this.computedMin;return i.year>e?i.year:e}get calculatedMax(){const e=this.initialItem.year+100,i=this.computedMax;return i.yeari.from.year&&i.from.year===e&&i.from.yearSame(i.to)||null!==r&&r===e&&ri.from.year&&i.from.yearSame(i.to)?et.End:i.from.yearSame(i.to)&&i.from.year===e?et.Single:null:i.find(a=>a.year===e)?et.Single:null}itemIsToday(e){return this.currentYear===e}itemIsInterval(e){const{value:i,hoveredItem:r}=this;return!(null===i||!this.isRange(i))&&(i.from.yearSame(i.to)?null!==r&&i.from.year!==r&&(0,U.wf)(e,Math.min(i.from.year,r),Math.max(i.from.year,r)):i.from.year<=e&&i.to.year>e)}onItemHovered(e,i){this.updateHoveredItem(e,i)}onItemPressed(e,i){this.updatePressedItem(e,i)}onItemClick(e){this.yearClick.emit(new $(e))}updateHoveredItem(e,i){this.hoveredItem=e?i:null}updatePressedItem(e,i){this.pressedItem=e?i:null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-year-picker"]],hostVars:2,hostBindings:function(e,i){2&e&&n.ekj("_single",i.isSingle)},inputs:{value:"value",initialItem:"initialItem",min:"min",max:"max",disabledItemHandler:"disabledItemHandler"},outputs:{yearClick:"yearClick"},decls:1,vars:1,consts:[["automation-id","tui-primitive-year-picker__row","class","t-row",4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-primitive-year-picker__row",1,"t-row"],[4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-primitive-year-picker__cell","class","t-cell",3,"t-cell_interval","t-cell_today","tuiScrollIntoView","click","tuiHoveredChange","tuiPressedChange",4,"tuiLet"],["automation-id","tui-primitive-year-picker__cell",1,"t-cell",3,"tuiScrollIntoView","click","tuiHoveredChange","tuiPressedChange"],[1,"t-item"]],template:function(e,i){1&e&&n.YNc(0,Fr,2,1,"div",0),2&e&&n.Q6J("tuiRepeatTimesOf",i.rows)},dependencies:[Fn,at.Ls,kr,Ye,Nn],styles:['[_nghost-%COMP%]{display:block;font:var(--tui-font-text-m)}.t-row[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item[_ngcontent-%COMP%]{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:before, .t-item[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:after{border-radius:.5rem}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:3.9375rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today[_ngcontent-%COMP%]:after{position:absolute;left:50%;transform:translate(-50%);content:"";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-base-02)}._single[_nghost-%COMP%] .t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-secondary-hover)}.t-cell_interval[_ngcontent-%COMP%]:not(:last-child):before{right:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval[_ngcontent-%COMP%]:not([data-range="start"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval[_ngcontent-%COMP%]:last-child:first-child:before{right:0}.t-cell_interval[_ngcontent-%COMP%]:first-child > .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background-color:var(--tui-primary-text)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-primary-text)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][data-state=hover][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][data-state=active][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-base-02)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell[data-state=disabled][_ngcontent-%COMP%]{pointer-events:none}.t-cell[data-state=disabled][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[data-state=hover][_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active][_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background-color:var(--tui-secondary-active)}[_nghost-%COMP%]{width:15.75rem}.t-row[_ngcontent-%COMP%]{margin:.875rem 0}.t-row[_ngcontent-%COMP%]:first-child{margin-top:0}.t-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}'],changeDetection:0}),t})(),Nr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[ue,Ue,Hn,at.WD,Er]]}),t})(),jt=(()=>{class t{constructor(){this.focusable=!0}get tabIndex(){return this.focusable?0:-1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiFocusable",""]],hostVars:1,hostBindings:function(e,i){2&e&&n.Ikx("tabIndex",i.tabIndex)},inputs:{focusable:["tuiFocusable","focusable"]}}),t})(),Zt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var E=M(4226),z=M(6470);function Bn(t,o=function Rr(){return Math.floor(Math.random()*Date.now())}(),e="rgba(0, 0, 0, 0.7)"){if((0,_.Aj)(t)){const r=function Br(t){var o;const e=(null!==(o=t.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==o?o:[]).map(i=>i.slice(4,i.length-1).replace(/['"#]+/g,""));return Array.from(new Set(e))}(t).reduce((a,l)=>{const c=function zr(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(l),d="id_".concat(o,"_").concat(l);return a.replace(new RegExp('"'.concat(c,'"'),"g"),'"'.concat(d,'"')).replace(new RegExp("'".concat(c,"'"),"g"),"'".concat(d,"'")).replace(new RegExp("url\\('#".concat(c,"'\\)"),"g"),"url('#".concat(d,"')")).replace(new RegExp('url\\("#'.concat(c,'"\\)'),"g"),'url("#'.concat(d,'")')).replace(new RegExp("url\\(#".concat(c,"\\)"),"g"),"url(#".concat(d,")"))},t);return function Yr(t,o){try{const e=(new DOMParser).parseFromString(t,"text/html");return e.body.querySelectorAll("[fill^=url]").forEach(i=>i.setAttribute("fill","".concat(i.getAttribute("fill")," ").concat(o).trim())),e.body.innerHTML.trim()}catch{return t}}(r,e)}return t}var s=function(t){return t.AD="AD",t.AE="AE",t.AF="AF",t.AG="AG",t.AI="AI",t.AL="AL",t.AM="AM",t.AO="AO",t.AR="AR",t.AT="AT",t.AU="AU",t.AW="AW",t.AZ="AZ",t.BA="BA",t.BB="BB",t.BD="BD",t.BE="BE",t.BF="BF",t.BG="BG",t.BH="BH",t.BI="BI",t.BJ="BJ",t.BL="BL",t.BM="BM",t.BN="BN",t.BO="BO",t.BQ="BQ",t.BR="BR",t.BS="BS",t.BT="BT",t.BW="BW",t.BY="BY",t.BZ="BZ",t.CA="CA",t.CD="CD",t.CF="CF",t.CG="CG",t.CH="CH",t.CI="CI",t.CL="CL",t.CM="CM",t.CN="CN",t.CO="CO",t.CR="CR",t.CU="CU",t.CV="CV",t.CW="CW",t.CY="CY",t.CZ="CZ",t.DE="DE",t.DJ="DJ",t.DK="DK",t.DM="DM",t.DO="DO",t.DZ="DZ",t.EC="EC",t.EE="EE",t.EG="EG",t.ER="ER",t.ES="ES",t.ET="ET",t.FI="FI",t.FJ="FJ",t.FK="FK",t.FM="FM",t.FR="FR",t.GA="GA",t.GB="GB",t.GD="GD",t.GE="GE",t.GF="GF",t.GH="GH",t.GI="GI",t.GL="GL",t.GM="GM",t.GN="GN",t.GP="GP",t.GQ="GQ",t.GR="GR",t.GT="GT",t.GW="GW",t.GY="GY",t.HK="HK",t.HN="HN",t.HR="HR",t.HT="HT",t.HU="HU",t.ID="ID",t.IE="IE",t.IL="IL",t.IN="IN",t.IQ="IQ",t.IR="IR",t.IS="IS",t.IT="IT",t.JM="JM",t.JO="JO",t.JP="JP",t.KE="KE",t.KG="KG",t.KH="KH",t.KM="KM",t.KN="KN",t.KP="KP",t.KR="KR",t.KW="KW",t.KY="KY",t.KZ="KZ",t.LA="LA",t.LB="LB",t.LC="LC",t.LI="LI",t.LK="LK",t.LR="LR",t.LS="LS",t.LT="LT",t.LU="LU",t.LV="LV",t.LY="LY",t.MA="MA",t.MC="MC",t.MD="MD",t.ME="ME",t.MF="MF",t.MG="MG",t.MK="MK",t.ML="ML",t.MM="MM",t.MN="MN",t.MO="MO",t.MQ="MQ",t.MR="MR",t.MS="MS",t.MT="MT",t.MU="MU",t.MV="MV",t.MW="MW",t.MX="MX",t.MY="MY",t.MZ="MZ",t.NA="NA",t.NC="NC",t.NE="NE",t.NG="NG",t.NI="NI",t.NL="NL",t.NO="NO",t.NP="NP",t.NZ="NZ",t.OM="OM",t.PA="PA",t.PE="PE",t.PF="PF",t.PG="PG",t.PH="PH",t.PK="PK",t.PL="PL",t.PT="PT",t.PW="PW",t.PY="PY",t.QA="QA",t.RE="RE",t.RO="RO",t.RS="RS",t.RU="RU",t.RW="RW",t.SA="SA",t.SB="SB",t.SC="SC",t.SD="SD",t.SE="SE",t.SG="SG",t.SH="SH",t.SI="SI",t.SK="SK",t.SL="SL",t.SM="SM",t.SN="SN",t.SO="SO",t.SR="SR",t.ST="ST",t.SV="SV",t.SX="SX",t.SY="SY",t.SZ="SZ",t.TC="TC",t.TD="TD",t.TG="TG",t.TH="TH",t.TJ="TJ",t.TL="TL",t.TM="TM",t.TN="TN",t.TO="TO",t.TR="TR",t.TT="TT",t.TW="TW",t.TZ="TZ",t.UA="UA",t.UG="UG",t.US="US",t.UY="UY",t.UZ="UZ",t.VC="VC",t.VE="VE",t.VG="VG",t.VN="VN",t.VU="VU",t.WS="WS",t.XK="XK",t.YE="YE",t.YT="YT",t.ZA="ZA",t.ZM="ZM",t.ZW="ZW",t}(s||{});const Wr=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:{[s.AD]:"Andorra",[s.AE]:"United Arab Emirates",[s.AF]:"Afghanistan",[s.AG]:"Antigua and Barbuda",[s.BL]:"Saint Barth\xe9lemy",[s.AI]:"Anguilla",[s.AL]:"Albania",[s.AM]:"Armenia",[s.AO]:"Angola",[s.AR]:"Argentina",[s.AT]:"Austria",[s.AU]:"Australia",[s.AW]:"Aruba",[s.AZ]:"Azerbaijan",[s.BA]:"Bosnia and Herzegovina",[s.BB]:"Barbados",[s.BD]:"Bangladesh",[s.BE]:"Belgium",[s.BF]:"Burkina Faso",[s.BG]:"Bulgaria",[s.BH]:"Bahrain",[s.BI]:"Burundi",[s.BJ]:"Benin",[s.GF]:"Guyana",[s.BM]:"Bermuda",[s.BN]:"Brunei Darussalam",[s.BO]:"Bolivia",[s.BQ]:"Bonaire, Sint Eustatius and Saba",[s.BR]:"Brazil",[s.BS]:"Bahamas",[s.BT]:"Bhutan",[s.BW]:"Botswana",[s.BY]:"Belarus",[s.BZ]:"Belize",[s.CA]:"Canada",[s.CD]:"Dem. Rep. Congo (Kinshasa)",[s.CF]:"Central African Republic",[s.CG]:"Congo (Brazzaville)",[s.CH]:"Switzerland",[s.CI]:"Ivory Coast",[s.CL]:"Chile",[s.CM]:"Cameroon",[s.CN]:"China",[s.CO]:"Colombia",[s.CR]:"Costa Rica",[s.CU]:"Cuba",[s.CV]:"Cape Verde",[s.CW]:"Cura\xe7ao",[s.CY]:"Cyprus",[s.CZ]:"Czech Republic",[s.DE]:"Germany",[s.DJ]:"Djibouti",[s.DK]:"Denmark",[s.DM]:"Dominica",[s.DO]:"Dominican Republic",[s.DZ]:"Algeria",[s.EC]:"Ecuador",[s.EE]:"Estonia",[s.EG]:"Egypt",[s.ER]:"Eritrea",[s.ES]:"Spain",[s.ET]:"Ethiopia",[s.FI]:"Finland",[s.FJ]:"Fiji",[s.FK]:"Falkland Islands",[s.FM]:"F.S. of Micronesia",[s.FR]:"France",[s.GA]:"Gabon",[s.GB]:"United Kingdom",[s.GD]:"Grenada",[s.GE]:"Georgia",[s.GP]:"Guadeloupe",[s.GH]:"Ghana",[s.GI]:"Gibraltar",[s.GL]:"Greenland",[s.GM]:"Gambia",[s.GN]:"Guinea",[s.MF]:"Saint-Martin",[s.GQ]:"Equatorial Guinea",[s.GR]:"Greece",[s.GT]:"Guatemala",[s.GW]:"Guinea-Bissau",[s.GY]:"Guyana",[s.HK]:"Hong Kong",[s.HN]:"Honduras",[s.HR]:"Croatia",[s.HT]:"Haiti",[s.HU]:"Hungary",[s.ID]:"Indonesia",[s.IE]:"Ireland",[s.IL]:"Israel",[s.IN]:"India",[s.IQ]:"Iraq",[s.IR]:"Iran",[s.IS]:"Iceland",[s.IT]:"Italy",[s.JM]:"Jamaica",[s.JO]:"Jordan",[s.JP]:"Japan",[s.KE]:"Kenya",[s.KG]:"Kyrgyzstan",[s.KH]:"Cambodia",[s.KM]:"Comoros",[s.KN]:"Saint Kitts and Nevis",[s.KP]:"Korean PDR",[s.KR]:"Rep. Korea",[s.KW]:"Kuwait",[s.KY]:"Cayman Islands",[s.KZ]:"Kazakhstan",[s.LA]:"Laos",[s.LB]:"Lebanon",[s.LC]:"Saint Lucia",[s.LI]:"Liechtenstein",[s.LK]:"Sri Lanka",[s.LR]:"Liberia",[s.LS]:"Lesotho",[s.LT]:"Lithuania",[s.LU]:"Luxembourg",[s.LV]:"Latvia",[s.LY]:"Libya",[s.MA]:"Morocco",[s.MC]:"Monaco",[s.MD]:"Moldova",[s.ME]:"Montenegro",[s.MQ]:"Martinique",[s.MG]:"Madagascar",[s.MK]:"Rep. of North Macedonia",[s.ML]:"Mali",[s.MM]:"Burma (Myanmar)",[s.MN]:"Mongolia",[s.MO]:"Macau",[s.RE]:"R\xe9union",[s.MR]:"Mauritania",[s.MS]:"Montserrat",[s.MT]:"Malta",[s.MU]:"Mauritius",[s.MV]:"Maldives",[s.MW]:"Malawi",[s.MX]:"Mexico",[s.MY]:"Malaysia",[s.MZ]:"Mozambique",[s.NA]:"Namibia",[s.NC]:"New Caledonia",[s.NE]:"Niger",[s.NG]:"Nigeria",[s.NI]:"Nicaragua",[s.NL]:"Netherlands",[s.NO]:"Norway",[s.NP]:"Nepal",[s.NZ]:"New Zealand",[s.OM]:"Oman",[s.PA]:"Panama",[s.PE]:"Peru",[s.PF]:"French Polynesia (Tahiti)",[s.PG]:"Papua New Guinea",[s.PH]:"Philippines",[s.PK]:"Pakistan",[s.PL]:"Poland",[s.PT]:"Portugal",[s.PW]:"Palau",[s.PY]:"Paraguay",[s.QA]:"Qatar",[s.YT]:"Mayotte",[s.RO]:"Romania",[s.RS]:"Serbia",[s.RU]:"Russia",[s.RW]:"Rwanda",[s.SA]:"Saudi Arabia",[s.SB]:"Solomon Islands",[s.SC]:"Seychelles",[s.SD]:"Sudan",[s.SE]:"Sweden",[s.SG]:"Singapore",[s.SH]:"Saint Helena",[s.SI]:"Slovenia",[s.SK]:"Slovakia",[s.SL]:"Sierra Leone",[s.SM]:"San Marino",[s.SN]:"Senegal",[s.SO]:"Somalia",[s.SR]:"Suriname",[s.ST]:"Sao Tome and Principe",[s.SV]:"El Salvador",[s.SX]:"Sint Maarten",[s.SY]:"Syrian Arab Republic",[s.SZ]:"Swaziland",[s.TC]:"Turks and Caicos",[s.TD]:"Chad",[s.TG]:"Togo",[s.TH]:"Thailand",[s.TJ]:"Tajikistan",[s.TL]:"East Timor",[s.TM]:"Turkmenistan",[s.TN]:"Tunisia",[s.TO]:"Tonga",[s.TR]:"Turkey",[s.TT]:"Trinidad and Tobago",[s.TW]:"Taiwan",[s.TZ]:"Tanzania",[s.UA]:"Ukraine",[s.UG]:"Uganda",[s.US]:"USA",[s.UY]:"Uruguay",[s.UZ]:"Uzbekistan",[s.VC]:"Saint Vincent and the Grenadines",[s.VE]:"Venezuela",[s.VG]:"British Virgin Islands",[s.VN]:"Vietnam",[s.VU]:"Vanuatu",[s.WS]:"Samoa",[s.XK]:"Kosovo",[s.YE]:"Yemen",[s.ZA]:"South Africa",[s.ZM]:"Zambia",[s.ZW]:"Zimbabwe"}}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}});var j=M(1209);const Qr=new n.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>Wr}),Kr=new n.OlP("[TUI_LANGUAGE]",{factory:()=>(0,j.of)((0,n.f3M)(Qr))});new n.OlP("[TUI_LANGUAGE_LOADER]"),new n.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});var Yn=M(1070),nt=M(4787);function A(t){return()=>(0,n.f3M)(Kr).pipe((0,nt.w)(o=>(0,Yn.b)(o)?o:(0,j.of)(o)),(0,y.U)(o=>o[t]))}function Un(t){const o=t.endsWith("/")?t:"".concat(t,"/");return e=>e.startsWith("tuiIcon")?"".concat(o).concat(e,".svg").concat(Re,"#").concat(e):(t=>t.includes(".svg#")?t:"#".concat(t))(e)}function Gn(t,o="tui-hints-host"){var e;return!(null===(e=(0,F.PU)(t))||void 0===e||!e.some(i=>!i.closest(o)))}const $n={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function Vn(t,o="s"){return $n[t]>$n[o]}function Jn(t){return!(!t||typeof getComputedStyle>"u")&&("fixed"===getComputedStyle(t).getPropertyValue("position")||Jn(t.parentElement))}function jn({document:t,innerWidth:o}){return Math.max(t.documentElement.clientWidth||0,o||0)}const $e='width="',Ve='height="',Je="{var t,o,e;return null!==(e=null===(o=null===(t=(0,n.f3M)(C.K0).defaultView)||void 0===t?void 0:t.matchMedia)||void 0===o?void 0:o.call(t,"(prefers-reduced-motion: reduce)").matches)&&void 0!==e&&e}),Zn=(0,_.N1)(()=>(0,n.f3M)(ra)?0:300),Wn=(0,_.N1)(()=>({value:"",params:{duration:(0,n.f3M)(Zn)}})),Qn=((0,_.N1)(()=>(0,n.X6Q)()),{check:"tuiIconCheck",close:"tuiIconClose",error:"tuiIconAlertCircle",more:"tuiIconChevronRight"}),he=(0,_.JN)(Qn);new n.OlP("[TUI_DATA_LIST_ACCESSOR]");const la=new n.OlP("[TUI_DATA_LIST_HOST]");function ca(t){return{provide:la,useExisting:t}}const ua=(0,_.JN)(t=>t.isWeekend?"weekend":"weekday"),Ze=(new n.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]"),new n.OlP("[TUI_ELEMENT_REF]"),(0,_.JN)(se.Monday)),da=(0,_.N1)(A("months")),pa=(0,_.N1)(A("close")),ha=((0,_.N1)(A("nothingFoundMessage")),(0,_.N1)(A("defaultErrorMessage")),(0,_.N1)(A("spinTexts"))),Kn=(0,_.N1)(A("shortWeekDays")),We="assets/taiga-ui/icons",Xn=(0,_.JN)(We),ga=(0,_.JN)({}),_a=(0,_.N1)(()=>Un((0,n.f3M)(Xn))),ma=(0,_.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),fa=((0,_.N1)(()=>{const t=(0,n.f3M)(Q.m9),o=(0,n.f3M)(ma);return(0,D.mL)(t,"resize").pipe((0,pe.B)(),(0,Rt.O)(null),(0,y.U)(()=>function oa(t,{mobile:o}){return jn(t)va[t],size:"m",hasIcon:!0,defaultAutoCloseTime:3e3};(0,_.JN)(ti),(0,_.JN)(kn),(0,_.JN)((0,j.of)(Object.assign(Object.assign({},kn),{decimalLimit:NaN}))),new n.OlP("[TUI_OPTION_CONTENT]");const Ta=t=>{const o=t.length-1;return[t[o],...t.slice(0,o)]},ei=((0,_.N1)(()=>{const t=(0,n.f3M)(Ze);return(0,n.f3M)(Kn).pipe((0,y.U)(Ta),(0,y.U)(o=>[...o.slice(t),...o.slice(0,t)]))}),new n.OlP("[TUI_SANITIZER]")),ba=((0,_.N1)(()=>{const t=(0,n.f3M)(C.K0);return(0,q.T)((0,D.mL)(t,"selectionchange"),(0,D.mL)(t,"mouseup"),(0,D.mL)(t,"mousedown").pipe((0,nt.w)(()=>(0,D.mL)(t,"mousemove").pipe((0,J.R)((0,D.mL)(t,"mouseup"))))),(0,D.mL)(t,"keydown"),(0,D.mL)(t,"keyup")).pipe((0,pe.B)())}),(0,_.JN)({decrement:"tuiIconChevronLeft",increment:"tuiIconChevronRight"})),Pa=(0,_.JN)(Bn),Da=(0,_.JN)(je.y),wa=(0,_.JN)(pt.Textfield),Qe=new n.OlP("[TUI_TEXTFIELD_HOST]");function ni(t){return{provide:Qe,useExisting:t}}(0,_.JN)("Taiga");const ii=new n.OlP("[TUI_VALUE_ACCESSOR]"),Wt=(0,_.N1)(()=>{const t=(0,n.f3M)(Q.m9);return{type:"viewport",getClientRect:()=>({top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight})}});let Qt=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.mode=null}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiMode",""]],inputs:{mode:["tuiMode","mode"]},features:[n.qOj]}),t})();var Ke=M(453),it=M(4911),oi=M(3232),ht=M(5351),zt=M(6424),xa=M(6293);class Ot extends Nt.y{}function Kt(t){return{provide:Ot,multi:!0,useExisting:t}}class ge{}function ri(t){return{provide:ge,multi:!0,useExisting:t}}let ai=(()=>{class t{constructor(e,i,r){this.destroy$=e,this.drivers=i,this.vehicles=r}ngOnInit(){const e=this.vehicles.find(({type:i})=>i===this.type);(0,q.T)(...this.drivers.filter(({type:i})=>i===this.type)).pipe((0,vt.x)(),(0,J.R)(this.destroy$)).subscribe(i=>{null==e||e.toggle(i)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(Ot),n.Y36(ge))},t.\u0275dir=n.lG2({type:t}),t})(),si=(()=>{class t{constructor(e){this.host=e}get readOnly(){return this.host.readOnly}get disabled(){return this.host.computedDisabled}get invalid(){return this.host.computedInvalid}get focusable(){return this.host.computedFocusable}get inputMode(){return"text"}get value(){var e;return(null===(e=this.host.value)||void 0===e?void 0:e.toString())||""}process(e){}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(E.M$))},t.\u0275dir=n.lG2({type:t}),t})();class st{}function li(t){return{provide:st,deps:[[new n.tp0,st]],useFactory:o=>o.find(e=>e.type===t)}}function Xe(t){return{provide:st,multi:!0,useExisting:t}}class Dt{}function ci(t,o){return{provide:Dt,deps:[[new n.tp0,Dt],o],useFactory:qe(t)}}function qe(t){return(o,e)=>o.find(i=>i!==e&&i.type===t)||e}function tn(t){return{provide:Dt,multi:!0,useExisting:t}}let ya=(()=>{class t extends zt.X{constructor(){super([])}add(e){this.next(this.value.concat(e))}remove(e){this.value.includes(e)&&this.next(this.value.filter(i=>i!==e))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_e=(()=>{class t extends Nt.y{constructor(e,i,r,a){super(l=>i.pipe((0,y.U)(()=>e.nativeElement.getBoundingClientRect()),(0,y.U)(c=>a.getPosition(c)),(0,D.fL)(r),(0,xa.x)(()=>a.getPosition(x.Jy))).subscribe(l))}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.SBq),n.LFG(Q.L1),n.LFG(n.R0b),n.LFG(st))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),Ia=(()=>{class t{constructor(e,i,r){this.tuiSanitizer=e,this.sanitizer=i,this.originals={},this.items$=new zt.X(new Map),this.define(r)}define(e){const{value:i}=this.items$;Object.keys(e).forEach(r=>{this.defineIcon(r,e[r],i)}),this.items$.next(i)}getOriginal(e){return this.originals[e]||null}defineIcon(e,i,r){if(r.has(e))return;const a=this.parseSrc(e,i);a&&(r.set(e,a),this.originals=Object.assign(Object.assign({},this.originals),{[e]:i}))}parseSrc(e,i){return this.sanitize(function ia(t,o){if(t.includes('id="'.concat(o,'"')))return t;const e=t.slice(Math.max(0,t.indexOf(Je))),i=e.slice(0,Math.max(0,e.indexOf(">")));if(null==i||!i.includes($e)||!i.includes(Ve))return"".concat(e.replace(Je,'");const l=i.indexOf($e)+7,c=i.indexOf(Ve)+8,d=i.slice(l,i.indexOf('"',l)),p=i.slice(c,i.indexOf('"',c));if(!p||!d||d.includes("%")||p.includes("%")||d.includes("em")||p.includes("em"))return e.replace(Je,'').concat(e,"")}(i,e))}sanitize(e){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(n.q3G.HTML,e):this.sanitizer.sanitize(n.q3G.HTML,e))||"")}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(ei,8),n.LFG(oi.H7),n.LFG(ga))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ui=(()=>{class t{constructor(e,i){this.win=e,this.isWebkit=i}correct(e){var i,r,a,l;return this.isWebkit?[e[0]+(null!==(r=null===(i=this.win.visualViewport)||void 0===i?void 0:i.offsetTop)&&void 0!==r?r:0),e[1]+(null!==(l=null===(a=this.win.visualViewport)||void 0===a?void 0:a.offsetLeft)&&void 0!==l?l:0)]:e}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(Q.m9),n.LFG(H.jF))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var di=M(5484),Sa=M(7560);function ka(t,o){if(1&t&&n._UZ(0,"div",3),2&t){const e=n.oxw().tuiLet;n.Q6J("innerHTML",e,n.oJD)}}function Ea(t,o){if(1&t){const e=n.EpF();n.O4$(),n.TgZ(0,"svg",4),n.NdJ("error",function(){n.CHM(e);const r=n.oxw(2);return n.KtG(r.onError())}),n._UZ(1,"use"),n.qZA()}if(2&t){const e=n.oxw(2);n.xp6(1),n.uIk("href",e.use,null,"xlink")}}function Aa(t,o){if(1&t&&(n.ynx(0),n.YNc(1,ka,1,1,"div",1),n.YNc(2,Ea,2,1,"ng-template",null,2,n.W1O),n.BQk()),2&t){const e=n.MAs(3),i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.isInnerHTML)("ngIfElse",e)}}const La={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},Bt={iconsPlace:We,path:Un(We),srcProcessor:je.y,contentProcessor:Bn,deprecated:t=>{const o=t.replace("Large","").replace("Outline",""),e=La[o];return e?"".concat(o,"/(Large|Outline) is deprecated, use ").concat(e,"/(Large|Outline) instead"):""}},en=(0,_.N1)(()=>({iconsPlace:(0,n.f3M)(Xn),path:(0,n.f3M)(_a),deprecated:Bt.deprecated,srcProcessor:(0,n.f3M)(Da),contentProcessor:(0,n.f3M)(Pa)})),pi=new n.OlP("[TUI_SVG_SRC_INTERCEPTORS]");let gt=(()=>{class t{constructor(e,i,r,a,l,c,d,p,h,g){this.doc=e,this.win=i,this.options=r,this.srcInterceptors=a,this.tuiSanitizer=l,this.svgService=c,this.staticRequestService=d,this.sanitizer=p,this.el=h,this.baseHref=g,this.src$=new di.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,nt.w)(()=>(0,_.Aj)(this.icon)?this.isExternal?this.getExternalIcon(this.icon):(0,j.of)(this.getSafeHtml(this.icon)):(0,j.of)(this.icon)),(0,Rt.O)(""))}set src(e){var i;this.options.deprecated(String(e)),this.icon=(null!==(i=this.srcInterceptors)&&void 0!==i?i:[]).reduce((a,l)=>l(a,this.options),this.options.srcProcessor(e||"")),this.src$.next()}get src(){return this.icon}get use(){return(0,_.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}get isInnerHTML(){return!(0,_.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}get isShadowDOM(){return(0,F.Wf)(this.el.nativeElement)!==this.doc}get isUse(){return this.use.replace(Re,"").includes(".svg#")}get isExternal(){return this.isUrl||this.isCrossDomain}get isUrl(){return(0,_.Aj)(this.icon)&&this.icon.replace(Re,"").endsWith(".svg")}get isSrc(){return(0,_.Aj)(this.icon)&&function ea(t){const o=t.trim();return o.startsWith("<")&&o.endsWith(">")}(this.icon)}get isName(){return!this.isUrl&&!this.isUse&&!this.isSrc}get isCrossDomain(){const{use:e,isUse:i,win:r}=this;return i&&e.startsWith("http")&&!!r.origin&&!e.startsWith(r.origin)}onError(e="External icon is missing on the given URL"){const{icon:i}=this,r=new CustomEvent("tui-icon-error",{bubbles:!0,detail:{message:e,icon:i}});this.el.nativeElement.dispatchEvent(r)}resolveName(e,i){return i(e,this.baseHref)}getSafeHtml(e){return this.isSrc?this.sanitize(e):this.process(e)}process(e){const i=this.svgService.getOriginal(e);return this.isName&&!i&&e&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(i||""):""}sanitize(e){return e=this.options.contentProcessor(e),this.tuiSanitizer&&(0,_.Aj)(e)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(n.q3G.HTML,e)||""):e}getExternalIcon(e){const i=e.includes(".svg")?e:this.use;return this.staticRequestService.request(i).pipe((0,Sa.K)(()=>(this.onError("Failed to load external SVG"),(0,j.of)(""))),(0,y.U)(r=>this.sanitize(r.replace("{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,at.WD]]}),t})();var P=M(6254);function Ra(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}function za(t,o){if(1&t&&(n.O4$(),n.kcU(),n.TgZ(0,"div",6),n.YNc(1,Ra,2,1,"ng-container",7),n.qZA()),2&t){const e=n.oxw(2);n.ekj("t-text_horizontal",e.isHorizontal),n.xp6(1),n.Q6J("polymorpheusOutlet",e.textContent)}}function Ba(t,o){if(1&t&&(n.TgZ(0,"div",2),n.O4$(),n.TgZ(1,"svg",3),n._UZ(2,"circle",4),n.qZA(),n.YNc(3,za,2,3,"div",5),n.qZA()),2&t){const e=n.oxw();n.ekj("t-loader_horizontal",e.isHorizontal)("t-loader_inherit-color",e.inheritColor),n.uIk("data-size",e.size),n.xp6(3),n.Q6J("ngIf",e.hasText)}}const Ya=["*"],gi=(0,_.JN)({size:"m",inheritColor:!1,overlay:!1});let nn=(()=>{class t{constructor(e,i,r,a){this.doc=e,this.el=i,this.isIos=r,this.options=a,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=function br({ownerDocument:t}){var o,e,i,r,a,l,c,d;const p=null==t?void 0:t.defaultView,h=typeof p.safari<"u"&&"[object SafariRemoteNotification]"===(null===(e=null===(o=p.safari)||void 0===o?void 0:o.pushNotification)||void 0===e?void 0:e.toString()),g=!(null===(r=null===(i=p.navigator)||void 0===i?void 0:i.vendor)||void 0===r||!r.includes("Apple")||null!==(l=null===(a=p.navigator)||void 0===a?void 0:a.userAgent)&&void 0!==l&&l.includes("CriOS")||null!==(d=null===(c=p.navigator)||void 0===c?void 0:c.userAgent)&&void 0!==d&&d.includes("FxiOS"));return h||g}(this.el.nativeElement)||this.isIos}set showLoader(e){e&&this.focused&&(0,z.hp)(this.doc),this.loading=e}get hasOverlay(){return this.overlay&&this.loading}get hasText(){return!!this.textContent}get isHorizontal(){return!Vn(this.size)}get focused(){return(0,z.zb)(this.el.nativeElement)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(C.K0),n.Y36(n.SBq),n.Y36(H.FA),n.Y36(gi))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(e,i){2&e&&n.ekj("_loading",i.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:Ya,decls:3,vars:7,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(e,i){1&e&&(n.F$t(),n.TgZ(0,"fieldset",0),n.Hsn(1),n.qZA(),n.YNc(2,Ba,4,6,"div",1)),2&e&&(n.ekj("t-content_has-overlay",i.hasOverlay)("t-content_loading",i.loading),n.Q6J("disabled",i.loading&&!i.isApple),n.uIk("inert",i.loading||null),n.xp6(2),n.Q6J("ngIf",i.loading))},dependencies:[C.O5,P.Li],styles:["@keyframes _ngcontent-%COMP%_tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes _ngcontent-%COMP%_tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:_ngcontent-%COMP%_tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:_ngcontent-%COMP%_tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),t})(),on=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,P.wq]]}),t})();new n.tp0;const wt={provide:Ct,deps:[[new n.FiY,Qt],n.SBq],useFactory:(t,{nativeElement:o})=>{const e=t?t.change$.pipe((0,Rt.O)(null),(0,y.U)(()=>t.mode)):(0,j.of)(null);return o["$.data-mode.attr"]=e,e}};let xt=(()=>{class t{constructor(e){this.mode$=e,this.disabled=!1,this.readOnly=!1,this.hover=null,this.active=null,this.focus=!1,this.invalid=!1,this.appearance=""}get computedInvalid(){return!this.disabled&&!this.readOnly&&this.invalid}get computedFocused(){return this.focus&&!this.disabled}get interactiveState(){return this.disabled?tt.Disabled:this.readOnly?tt.Readonly:this.active?tt.Active:this.hover?tt.Hover:null}get noHover(){return this.readOnly||!1===this.hover}get noActive(){return this.readOnly||!1===this.active}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Ct))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(e,i){1&e&&n.NdJ("$.data-mode.attr",function(){return i.mode$}),2&e&&(n.uIk("data-appearance",i.appearance)("data-state",i.interactiveState),n.ekj("_invalid",i.computedInvalid)("_focused",i.computedFocused)("_no-hover",i.noHover)("_no-active",i.noActive))},inputs:{disabled:"disabled",readOnly:"readOnly",hover:"hover",active:"active",focus:"focus",invalid:"invalid",appearance:"appearance"},features:[n._Bn([wt])]}),t})(),yt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const Ua=["tuiButton",""];function Ga(t,o){1&t&&n.GkF(0)}function $a(t,o){1&t&&n._UZ(0,"tui-svg",8),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function Va(t,o){if(1&t&&(n.TgZ(0,"span",6),n.YNc(1,$a,1,1,"tui-svg",7),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.icon)}}function Ja(t,o){1&t&&n._UZ(0,"tui-svg",8),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function ja(t,o){if(1&t&&(n.TgZ(0,"span",9),n.YNc(1,Ja,1,1,"tui-svg",7),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconRight)}}function Za(t,o){if(1&t&&n._UZ(0,"tui-loader",10),2&t){const e=n.oxw();n.Q6J("inheritColor",!0)("size",e.loaderSize)}}const Wa=["*"],mi=(0,_.JN)({size:"l",shape:null,appearance:pt.Primary});let rn=(()=>{class t extends E.Xn{constructor(e,i,r){var a;super(),this.mode=e,this.el=i,this.options=r,this.mode$=(null===(a=this.mode)||void 0===a?void 0:a.change$)||Ke.E,this.appearance=null,this.disabled=!1,this.shape=this.options.shape,this.showLoader=!1,this.size=this.options.size,this.appearance$=this.mode$.pipe((0,Rt.O)(null),(0,y.U)(()=>this.computedAppearance),(0,vt.x)())}get nativeFocusableElement(){return this.nativeDisabled?null:this.el.nativeElement}get focused(){return!this.showLoader&&(0,z.V8)(this.el.nativeElement)}get loaderSize(){return"l"===this.size||"xl"===this.size?"m":"s"}get computedAppearance(){var e;return null!==(e=this.appearance)&&void 0!==e?e:this.options.appearance||""}get nativeDisabled(){return this.computedDisabled||this.showLoader?"":null}get tabIndex(){return this.focusable?0:-1}onFocused(e){this.updateFocused(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Qt,8),n.Y36(n.SBq),n.Y36(mi))},t.\u0275cmp=n.Xpm({type:t,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(e,i){1&e&&n.NdJ("focusin",function(){return i.onFocused(!0)})("focusout",function(){return i.onFocused(!1)}),2&e&&(n.Ikx("tabIndex",i.tabIndex),n.uIk("data-shape",i.shape)("data-size",i.size)("data-appearance",i.computedAppearance)("disabled",i.nativeDisabled),n.ekj("_loading",i.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[n._Bn([(0,H.FT)(t),T.a3]),n.qOj],attrs:Ua,ngContentSelectors:Wa,decls:8,vars:10,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"active","appearance","disabled","hover"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"inheritColor","size",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"inheritColor","size"]],template:function(e,i){1&e&&(n.F$t(),n.YNc(0,Ga,1,0,"ng-container",0),n.ALo(1,"async"),n.TgZ(2,"div",1)(3,"span",2),n.YNc(4,Va,2,1,"span",3),n.Hsn(5),n.YNc(6,ja,2,1,"span",4),n.qZA(),n.YNc(7,Za,1,2,"tui-loader",5),n.qZA()),2&e&&(n.Q6J("ngIf",n.lcZ(1,8,i.appearance$)),n.xp6(2),n.Q6J("active",i.pseudoActive)("appearance",i.computedAppearance)("disabled",i.computedDisabled)("hover",i.pseudoHover),n.xp6(2),n.Q6J("ngIf",i.icon),n.xp6(2),n.Q6J("ngIf",i.iconRight),n.xp6(1),n.Q6J("ngIf",i.showLoader))},dependencies:[gt,nn,C.O5,xt,P.Li,C.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;text-decoration:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%]{font-size:0!important}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.375rem}[data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .375rem}[data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0 -.125rem 0 .25rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;isolation:isolate}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),t})(),fi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,P.wq,yt,_t,on]]}),t})();function Qa(t,o){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"button",1),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.onLeftClick())}),n.qZA(),n.TgZ(2,"span",2),n.Hsn(3),n.qZA(),n.TgZ(4,"button",3),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.onRightClick())}),n.qZA(),n.BQk()}if(2&t){const e=o.ngIf,i=n.oxw();n.xp6(1),n.ekj("t-hidden",i.leftComputedDisabled),n.Q6J("focusable",i.computedFocusable)("icon",i.icons.decrement)("title",e[0]),n.xp6(3),n.ekj("t-hidden",i.rightComputedDisabled),n.Q6J("focusable",i.computedFocusable)("icon",i.icons.increment)("title",e[1])}}const Ka=["*"];let Xa=(()=>{class t extends E.Xn{constructor(e,i,r){super(),this.el=e,this.icons=i,this.spinTexts$=r,this.disabled=!1,this.leftDisabled=!1,this.rightDisabled=!1,this.leftClick=new n.vpe,this.rightClick=new n.vpe}get focused(){return(0,z.zb)(this.el.nativeElement)}get leftComputedDisabled(){return this.computedDisabled||this.leftDisabled}get rightComputedDisabled(){return this.computedDisabled||this.rightDisabled}onLeftClick(){this.leftComputedDisabled||this.leftClick.emit()}onRightClick(){this.rightComputedDisabled||this.rightClick.emit()}onFocused(e){this.updateFocused(e)}onFocusVisible(e){this.updateFocusVisible(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(ba),n.Y36(ha))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-spin-button"]],hostBindings:function(e,i){1&e&&n.NdJ("mousedown.silent.prevent",function(){return 0})("keydown.arrowLeft.prevent",function(){return i.onLeftClick()})("keydown.arrowRight.prevent",function(){return i.onRightClick()})("focusin",function(){return i.onFocused(!0)})("focusout",function(){return i.onFocused(!1)})},inputs:{disabled:"disabled",leftDisabled:"leftDisabled",rightDisabled:"rightDisabled"},outputs:{leftClick:"leftClick",rightClick:"rightClick"},features:[n.qOj],ngContentSelectors:Ka,decls:2,vars:3,consts:[[4,"ngIf"],["appearance","flat","automation-id","tui-primitive-spin-button__left","size","xs","tuiIconButton","","type","button",3,"focusable","icon","title","click"],[1,"t-content","t-calendar-title"],["appearance","flat","automation-id","tui-primitive-spin-button__right","size","xs","tuiIconButton","","type","button",3,"focusable","icon","title","click"]],template:function(e,i){1&e&&(n.F$t(),n.YNc(0,Qa,5,10,"ng-container",0),n.ALo(1,"async")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,i.spinTexts$))},dependencies:[rn,C.O5,C.Ov],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--tui-font-text-l);text-align:center;font-weight:bold}.t-hidden[_ngcontent-%COMP%]{visibility:hidden}.t-content[_ngcontent-%COMP%]{padding:0 .5rem}"],changeDetection:0}),t})(),qa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,fi]]}),t})();const ts=["tuiLink",""];function es(t,o){if(1&t&&n._UZ(0,"tui-svg",3),2&t){const e=n.oxw();n.Q6J("src",e.icon||"")}}function ns(t,o){if(1&t&&n._UZ(0,"tui-svg",4),2&t){const e=n.oxw();n.Q6J("src",e.icon||"")}}const is=["*"];let vi=(()=>{class t{constructor(e,i,r){this.el=e,this.mode$=i,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,q.T)((0,D.mL)(this.el.nativeElement,"focusin").pipe((0,y.U)(x.Ye)),(0,D.mL)(this.el.nativeElement,"focusout").pipe((0,y.U)(x.Iy))),r.subscribe(a=>{this.focusVisible=a})}get nativeFocusableElement(){return this.el.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get hasIcon(){return!!this.icon}get iconAlignLeft(){return this.hasIcon&&"left"===this.iconAlign}get iconAlignRight(){return this.hasIcon&&"right"===this.iconAlign}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(Ct),n.Y36(T.ku))},t.\u0275cmp=n.Xpm({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(e,i){1&e&&n.NdJ("$.data-mode.attr",function(){return i.mode$}),2&e&&(n.uIk("data-host-mode",i.mode),n.ekj("_pseudo",i.pseudo)("_icon-rotated",i.iconRotated)("_focus-visible",i.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[n._Bn([(0,H.FT)(t),T.ku,T.a3,wt])],attrs:ts,ngContentSelectors:is,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(e,i){1&e&&(n.F$t(),n.YNc(0,es,1,1,"tui-svg",0),n.TgZ(1,"span",1),n.Hsn(2),n.qZA(),n.YNc(3,ns,1,1,"tui-svg",2)),2&e&&(n.Q6J("ngIf",i.iconAlignLeft),n.xp6(3),n.Q6J("ngIf",i.iconAlignRight))},dependencies:[gt,C.O5],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-decoration:none;text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t})(),Mi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,_t]]}),t})(),Ci=(()=>{class t{constructor(e){this.months$=e}transform({month:e}){return this.months$.pipe((0,y.U)(i=>i[e]))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(da,16))},t.\u0275pipe=n.Yjl({name:"tuiMonth",type:t,pure:!0}),t})(),os=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();function rs(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=n.oxw();n.xp6(1),n.hij(" ",e.value.formattedYear," ")}}function as(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"button",3),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.onYearClick())}),n._uU(1),n.qZA()}if(2&t){const e=n.oxw();n.Q6J("tuiFocusable",!1),n.xp6(1),n.hij(" ",e.value.formattedYear," ")}}let ss=(()=>{class t{constructor(){this.value=L.currentLocal(),this.min=ut,this.max=dt,this.valueChange=new n.vpe,this.yearClick=new n.vpe}get computedMin(){var e;return null!==(e=this.min)&&void 0!==e?e:ut}get computedMax(){var e;return null!==(e=this.max)&&void 0!==e?e:dt}get prevMonthDisabled(){return this.value.monthSameOrBefore(this.computedMin)}get nextMonthDisabled(){return this.value.monthSameOrAfter(this.computedMax)}get oneYear(){const{computedMin:e,computedMax:i}=this;return e.year===i.year}onYearClick(){this.yearClick.next(this.value)}onPrevMonthClick(){this.appendValueWithLimit({month:-1})}onNextMonthClick(){this.appendValueWithLimit({month:1})}appendValueWithLimit(e){const i=this.value.append(e),{computedMin:r,computedMax:a}=this;r.monthSameOrAfter(i)?this.updateValue(r):this.updateValue(a.monthSameOrBefore(i)?a:i)}updateValue(e){this.value.monthSame(e)||(this.value=e,this.valueChange.emit(e))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-year-month-pagination"]],inputs:{value:"value",min:"min",max:"max"},outputs:{valueChange:"valueChange",yearClick:"yearClick"},decls:7,vars:10,consts:[[3,"focusable","leftDisabled","rightDisabled","leftClick","rightClick"],[4,"ngIf","ngIfElse"],["button",""],["id","year-btn","automation-id","tui-primitive-year-month-pagination__year-button","tuiLink","","type","button",3,"tuiFocusable","click"]],template:function(e,i){if(1&e&&(n.TgZ(0,"tui-primitive-spin-button",0),n.NdJ("leftClick",function(){return i.onPrevMonthClick()})("rightClick",function(){return i.onNextMonthClick()}),n._uU(1),n.ALo(2,"async"),n.ALo(3,"tuiMonth"),n.YNc(4,rs,2,1,"ng-container",1),n.YNc(5,as,2,2,"ng-template",null,2,n.W1O),n.qZA()),2&e){const r=n.MAs(6);n.Q6J("focusable",!1)("leftDisabled",i.prevMonthDisabled)("rightDisabled",i.nextMonthDisabled),n.xp6(1),n.hij(" ",n.lcZ(2,6,n.lcZ(3,8,i.value))," "),n.xp6(3),n.Q6J("ngIf",i.oneYear)("ngIfElse",r)}},dependencies:[Xa,vi,C.O5,jt,C.Ov,Ci],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),t})(),ls=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,Zt,qa,Mi,os]]}),t})(),cs=(()=>{class t{constructor(e){this.firstDayOfWeekIndex=e}transform(e){return e.pipe((0,y.U)(us),(0,y.U)(i=>[...i.slice(this.firstDayOfWeekIndex),...i.slice(0,this.firstDayOfWeekIndex)]))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Ze,16))},t.\u0275pipe=n.Yjl({name:"tuiOrderWeekDays",type:t,pure:!0}),t})();function us(t){const o=t.length-1;return[t[o],...t.slice(0,o)]}let ds=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const hs=({month:t,rowIndex:o,colIndex:e,firstDayOfWeek:i})=>{let r=7*o+e-((t,o)=>{const e=new Date(t.year,t.month,1).getDay();return e>=o?e-o:7-(o-e)})(t,i)+1;return r>t.daysCount&&(r-=t.daysCount,t=t.append({month:1})),r<=0&&(r=(t=t.append({month:-1})).daysCount+r),new N(t.year,t.month,r)};let _s=(()=>{class t{constructor(e){this.firstDayOfWeek=e,this.currentMonth=null,this.currentSheet=[]}transform(e,i=!1){var r;if(null!==(r=this.currentMonth)&&void 0!==r&&r.monthSame(e))return this.currentSheet;const a=[];for(let l=0;l<6;l++){const c=[];for(let d=0;d<7;d++){const p=hs({month:e,rowIndex:l,colIndex:d,firstDayOfWeek:this.firstDayOfWeek}),g=(m,f=e)=>m.year>f.year||m.month>f.month;if(!((m,f=e)=>m.yearl.length),this.currentMonth=e,this.currentSheet}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Ze,16))},t.\u0275pipe=n.Yjl({name:"tuiCalendarSheet",type:t,pure:!0}),t})(),ms=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();function fs(t,o){1&t&&n._UZ(0,"div",3),2&t&&n.Q6J("textContent",o.$implicit)}function vs(t,o){if(1&t&&n._UZ(0,"div",14),2&t){const e=n.oxw().ngIf;n.Udp("background-color",(null==e?null:e[1])||"")}}function Ms(t,o){if(1&t&&(n.TgZ(0,"div",13),n._UZ(1,"div",14),n.YNc(2,vs,1,2,"div",15),n.qZA()),2&t){const e=o.ngIf;n.xp6(1),n.Udp("background-color",null==e?null:e[0]),n.xp6(1),n.Q6J("ngIf",e.length>1)}}function Cs(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",10),n.NdJ("click",function(){n.CHM(e);const r=n.oxw().tuiLet,a=n.oxw(4);return n.KtG(a.onItemClick(r))})("tuiHoveredChange",function(r){n.CHM(e);const a=n.oxw().tuiLet,l=n.oxw(4);return n.KtG(l.onItemHovered(r&&a))})("tuiPressedChange",function(r){n.CHM(e);const a=n.oxw().tuiLet,l=n.oxw(4);return n.KtG(l.onItemPressed(r&&a))}),n.TgZ(1,"div",11),n.ALo(2,"tuiMapper"),n._uU(3),n.YNc(4,Ms,3,3,"div",12),n.ALo(5,"tuiMapper"),n.qZA()()}if(2&t){const e=n.oxw().tuiLet,i=n.oxw(4);n.ekj("t-cell_interval",i.itemIsInterval(e))("t-cell_today",i.itemIsToday(e))("t-cell_unavailable",i.itemIsUnavailable(e)),n.uIk("data-range",i.getItemRange(e))("data-state",i.getItemState(e)),n.xp6(1),n.ekj("t-item_unavailable",i.itemIsUnavailable(e)),n.uIk("data-type",n.xi3(2,13,e,i.dayTypeHandler)),n.xp6(2),n.hij(" ",e.day," "),n.xp6(1),n.Q6J("ngIf",n.gM2(5,16,e,i.toMarkers,i.itemIsToday(e),!!i.getItemRange(e)))}}function Os(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Cs,6,21,"div",9),n.BQk()),2&t){const e=o.tuiLet,i=n.oxw(4);n.xp6(1),n.Q6J("ngIf",!i.itemIsUnavailable(e)||i.showAdjacent)}}function Ts(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Os,2,1,"ng-container",8),n.BQk()),2&t){const e=o.$implicit,i=n.oxw().$implicit,r=n.oxw().tuiLet;n.xp6(1),n.Q6J("tuiLet",r[i][e])}}function bs(t,o){if(1&t&&(n.TgZ(0,"div",6),n.YNc(1,Ts,2,1,"ng-container",7),n.qZA()),2&t){const e=o.$implicit,i=n.oxw().tuiLet;n.xp6(1),n.Q6J("tuiRepeatTimesOf",i[e].length)}}function Ps(t,o){if(1&t&&(n.TgZ(0,"div",4),n.YNc(1,bs,2,1,"div",5),n.qZA()),2&t){const e=o.tuiLet;n.xp6(1),n.Q6J("tuiRepeatTimesOf",e.length)}}let Ds=(()=>{class t{constructor(e,i){this.unorderedWeekDays$=e,this.dayTypeHandler=i,this.pressedItem=null,this.today=N.currentLocal(),this.month=L.currentLocal(),this.disabledItemHandler=x.Iy,this.markerHandler=ze,this.value=null,this.hoveredItem=null,this.showAdjacent=!0,this.hoveredItemChange=new n.vpe,this.dayClick=new n.vpe,this.toMarkers=(r,a,l)=>{if(a||l)return null;const c=this.markerHandler(r);return 0===c.length?null:c}}get isSingleDayRange(){return this.value instanceof rt&&this.value.isSingleDay}get isSingle(){return this.isSingleDayRange}getItemState(e){const{disabledItemHandler:i,pressedItem:r,hoveredItem:a}=this;return i(e)?tt.Disabled:null!=r&&r.daySame(e)?tt.Active:null!=a&&a.daySame(e)?tt.Hover:null}getItemRange(e){const{value:i,hoveredItem:r}=this;return i?i instanceof N?i.daySame(e)?et.Single:null:i instanceof rt?i.from.daySame(e)&&!i.isSingleDay||null!=r&&r.dayAfter(i.from)&&i.from.daySame(e)&&i.isSingleDay||null!=r&&r.daySame(e)&&r.dayBefore(i.from)&&i.isSingleDay?et.Start:i.to.daySame(e)&&!i.isSingleDay||null!=r&&r.dayBefore(i.from)&&i.from.daySame(e)&&i.isSingleDay||null!=r&&r.daySame(e)&&r.dayAfter(i.from)&&i.isSingleDay?et.End:i.isSingleDay&&i.from.daySame(e)?et.Single:null:i.find(a=>a.daySame(e))?et.Single:null:null}itemIsToday(e){return this.today.daySame(e)}itemIsUnavailable(e){return!this.month.monthSame(e)}itemIsInterval(e){const{value:i,hoveredItem:r}=this;if(!(i instanceof rt))return!1;if(!i.isSingleDay)return i.from.daySameOrBefore(e)&&i.to.dayAfter(e);if(null===r)return!1;const a=rt.sort(i.from,r);return a.from.daySameOrBefore(e)&&a.to.dayAfter(e)}onItemHovered(e){this.updateHoveredItem(e||null)}onItemPressed(e){this.pressedItem=e||null}onItemClick(e){this.dayClick.emit(e)}updateHoveredItem(e){(0,_.J$)(this.hoveredItem,e,(i,r)=>i.daySame(r))||(this.hoveredItem=e,this.hoveredItemChange.emit(e))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Kn),n.Y36(ua))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-calendar"]],hostVars:2,hostBindings:function(e,i){2&e&&n.ekj("_single",i.isSingleDayRange)},inputs:{month:"month",disabledItemHandler:"disabledItemHandler",markerHandler:"markerHandler",value:"value",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent"},outputs:{hoveredItemChange:"hoveredItemChange",dayClick:"dayClick"},decls:6,vars:9,consts:[[1,"t-row","t-row_weekday"],["class","t-cell",3,"textContent",4,"ngFor","ngForOf"],["id","date-rows",4,"tuiLet"],[1,"t-cell",3,"textContent"],["id","date-rows"],["automation-id","tui-primitive-calendar__row","class","t-row",4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-primitive-calendar__row",1,"t-row"],[4,"tuiRepeatTimes","tuiRepeatTimesOf"],[4,"tuiLet"],["automation-id","tui-primitive-calendar__cell","class","t-cell",3,"t-cell_interval","t-cell_today","t-cell_unavailable","click","tuiHoveredChange","tuiPressedChange",4,"ngIf"],["automation-id","tui-primitive-calendar__cell",1,"t-cell",3,"click","tuiHoveredChange","tuiPressedChange"],["automation-id","tui-primitive-calendar__item",1,"t-item"],["class","t-dots",4,"ngIf"],[1,"t-dots"],[1,"t-dot"],["class","t-dot",3,"backgroundColor",4,"ngIf"]],template:function(e,i){1&e&&(n.TgZ(0,"div",0),n.YNc(1,fs,1,1,"div",1),n.ALo(2,"async"),n.ALo(3,"tuiOrderWeekDays"),n.qZA(),n.YNc(4,Ps,2,1,"div",2),n.ALo(5,"tuiCalendarSheet")),2&e&&(n.xp6(1),n.Q6J("ngForOf",n.lcZ(2,2,n.lcZ(3,4,i.unorderedWeekDays$))),n.xp6(3),n.Q6J("tuiLet",n.xi3(5,6,i.month,!0)))},dependencies:[C.sg,at.Ls,Fn,C.O5,Ye,Nn,C.Ov,cs,_s,ae.c],styles:['[_nghost-%COMP%]{display:block;font:var(--tui-font-text-m)}.t-row[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item[_ngcontent-%COMP%]{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:before, .t-item[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:after{border-radius:.5rem}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today[_ngcontent-%COMP%]:after{position:absolute;left:50%;transform:translate(-50%);content:"";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-base-02)}._single[_nghost-%COMP%] .t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-secondary-hover)}.t-cell_interval[_ngcontent-%COMP%]:not(:last-child):before{right:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval[_ngcontent-%COMP%]:not([data-range="start"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval[_ngcontent-%COMP%]:last-child:first-child:before{right:0}.t-cell_interval[_ngcontent-%COMP%]:first-child > .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background-color:var(--tui-primary-text)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-primary-text)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][data-state=hover][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][data-state=active][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-base-02)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell[data-state=disabled][_ngcontent-%COMP%]{pointer-events:none}.t-cell[data-state=disabled][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[data-state=hover][_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active][_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background-color:var(--tui-secondary-active)}[_nghost-%COMP%]{width:15.75rem}.t-row[_ngcontent-%COMP%]{justify-content:flex-start}.t-row[_ngcontent-%COMP%]:first-child{justify-content:flex-end}.t-row_weekday[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none}.t-item[_ngcontent-%COMP%]{display:flex;flex-direction:column}.t-item_unavailable[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}.t-dots[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:-.5rem;padding-bottom:.25rem}.t-dot[_ngcontent-%COMP%]{display:inline-block;width:.25rem;height:.25rem;border-radius:100%;margin:0 .0625rem}'],changeDetection:0}),t})(),ws=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,at.WD,ae.I,Hn,ue,Ue,ms,ds]]}),t})();function xs(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-scrollbar",2)(1,"tui-primitive-year-picker",3),n.NdJ("yearClick",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onPickerYearClick(r))}),n.qZA()()}if(2&t){const e=n.oxw();n.xp6(1),n.Q6J("initialItem",e.year)("max",e.computedMax)("min",e.computedMin)("value",e.value)}}function ys(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-primitive-year-month-pagination",4),n.NdJ("valueChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onPaginationValueChange(r))})("yearClick",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onPaginationYearClick(r))}),n.qZA(),n.TgZ(1,"tui-primitive-calendar",5),n.NdJ("dayClick",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onDayClick(r))})("hoveredItemChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onHoveredItemChange(r))}),n.ALo(2,"tuiMapper"),n.qZA()}if(2&t){const e=n.oxw();n.Q6J("max",e.computedMaxViewedMonth)("min",e.computedMinViewedMonth)("value",e.month),n.xp6(1),n.Q6J("disabledItemHandler",n.gM2(2,9,e.disabledItemHandler,e.disabledItemHandlerMapper,e.computedMin,e.computedMax))("hoveredItem",e.hoveredItem)("markerHandler",e.markerHandler)("month",e.month)("showAdjacent",e.showAdjacent)("value",e.value)}}let Oi=(()=>{class t{constructor(){this.day=null,this.month=L.currentLocal(),this.disabledItemHandler=x.Iy,this.min=ut,this.max=dt,this.minViewedMonth=ut,this.maxViewedMonth=dt,this.hoveredItem=null,this.showAdjacent=!0,this.markerHandler=ze,this.dayClick=new n.vpe,this.monthChange=new n.vpe,this.hoveredItemChange=new n.vpe,this.year=null,this.disabledItemHandlerMapper=(e,i,r)=>a=>a.dayBefore(i)||a.dayAfter(r)||e(a)}set value(e){this.day=e,this.showAdjacent&&e instanceof N&&(this.month=e)}get value(){return this.day}get computedMin(){var e;return null!==(e=this.min)&&void 0!==e?e:ut}get computedMax(){var e;return null!==(e=this.max)&&void 0!==e?e:dt}get computedMinViewedMonth(){var e;const i=this.computedMin,r=null!==(e=this.minViewedMonth)&&void 0!==e?e:ut;return r.monthSameOrAfter(i)?r:i}get computedMaxViewedMonth(){var e;const i=this.computedMax,r=null!==(e=this.maxViewedMonth)&&void 0!==e?e:dt;return r.monthSameOrBefore(i)?r:i}onPaginationYearClick(e){this.year=e}onPickerYearClick({year:e}){this.year=null,this.updateViewedMonth(new L(e,this.month.month))}onPaginationValueChange(e){this.updateViewedMonth(e)}onDayClick(e){this.dayClick.emit(e)}onHoveredItemChange(e){this.updateHoveredDay(e)}updateViewedMonth(e){this.month.monthSame(e)||(this.month=e,this.monthChange.emit(e))}updateHoveredDay(e){(0,_.J$)(this.hoveredItem,e,(i,r)=>i.daySame(r))||(this.hoveredItem=e,this.hoveredItemChange.emit(e))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-calendar"]],inputs:{month:"month",disabledItemHandler:"disabledItemHandler",min:"min",max:"max",minViewedMonth:"minViewedMonth",maxViewedMonth:"maxViewedMonth",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent",markerHandler:"markerHandler",value:"value"},outputs:{dayClick:"dayClick",monthChange:"monthChange",hoveredItemChange:"hoveredItemChange"},decls:3,vars:2,consts:[["automation-id","tui-calendar__scrollbar","class","t-scrollbar",4,"ngIf","ngIfElse"],["calendar",""],["automation-id","tui-calendar__scrollbar",1,"t-scrollbar"],["automation-id","tui-calendar__year",3,"initialItem","max","min","value","yearClick"],["automation-id","tui-calendar__pagination",1,"t-pagination",3,"max","min","value","valueChange","yearClick"],["automation-id","tui-calendar__calendar",3,"disabledItemHandler","hoveredItem","markerHandler","month","showAdjacent","value","dayClick","hoveredItemChange"]],template:function(e,i){if(1&e&&(n.YNc(0,xs,2,4,"tui-scrollbar",0),n.YNc(1,ys,3,14,"ng-template",null,1,n.W1O)),2&e){const r=n.MAs(2);n.Q6J("ngIf",i.year)("ngIfElse",r)}},dependencies:[ce,Hr,ss,Ds,C.O5,ae.c],styles:["[_nghost-%COMP%]{display:block;height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar[_ngcontent-%COMP%]{height:18.25rem;width:16.875rem}.t-pagination[_ngcontent-%COMP%]{margin-bottom:1rem}"],changeDetection:0}),t})(),Ti=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,ls,ws,Nr,Be,ae.I]]}),t})();var bi=M(6811);const Pi=new Nt.y(bi.Z);class Is{constructor(o,e,i,r,a,l,c,d,p,h,g,m,f){this.change$=o,this.options=e,this.legacyAppearance=i,this.appearanceDirective=r,this.cleanerDirective=a,this.customContentDirective=l,this.iconDirective=c,this.iconLeftDirective=d,this.labelOutsideDirective=p,this.sizeDirective=h,this.prefixDirective=g,this.postfixDirective=m,this.fillerDirective=f}get appearance(){return this.appearanceDirective.appearance||this.legacyAppearance}get cleaner(){return this.cleanerDirective.cleaner}get customContent(){return this.customContentDirective.customContent||""}get icon(){return this.iconDirective.icon}get iconLeft(){return this.iconLeftDirective.iconLeft}get labelOutside(){return this.labelOutsideDirective.labelOutside}get size(){return this.sizeDirective.size}get prefix(){return this.prefixDirective.prefix}get postfix(){return this.postfixDirective.postfix}get filler(){return this.fillerDirective.filler}}const an=(0,_.JN)({iconCleaner:"tuiIconClose",hintOnDisabled:!1}),wi=(0,_.N1)(()=>new Ss);let Ss=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.appearance=""}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[n._Bn([{provide:wi,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const xi=(0,_.N1)(()=>new ks);let ks=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.cleaner=!1}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[n._Bn([{provide:xi,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const yi=(0,_.N1)(()=>new Es);let Es=(()=>{class t extends E.QJ{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[n._Bn([{provide:yi,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Ii=(0,_.N1)(()=>new Si);let Si=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.filler=""}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[n._Bn([{provide:Ii,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const ki=(0,_.N1)(()=>new Ei);let Ei=(()=>{class t extends E.QJ{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[n._Bn([{provide:ki,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Ai=(0,_.N1)(()=>new As);let As=(()=>{class t extends E.QJ{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[n._Bn([{provide:Ai,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Li=(0,_.N1)(()=>new Fi);let Fi=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[n._Bn([{provide:Li,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Hi=(0,_.N1)(()=>new Ls);let Ls=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.postfix=""}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[n._Bn([{provide:Hi,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const Ni=(0,_.N1)(()=>new Fs);let Fs=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.prefix=""}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[n._Bn([{provide:Ni,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})();const sn=(0,_.N1)(()=>new Hs);let Hs=(()=>{class t extends E.QJ{constructor(){super(...arguments),this.size="l"}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[n._Bn([{provide:sn,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})(),Ri=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const me=new n.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),ln=[T.a3,{provide:me,deps:[n.sBO,T.a3,an,wa,wi,xi,yi,ki,Ai,Li,sn,Ni,Hi,Ii],useFactory:(t,o,e,i,...r)=>{const a=(0,q.T)(...r.map(({change$:l})=>l||Pi)).pipe((0,D.NA)(t),(0,J.R)(o));return a.subscribe(),new Is(a,e,i,...r)}}];var mt=M(6851);function K(t){return"".concat(t,"px")}var u=M(2405);const O="{{duration}}ms ease-in-out",I={params:{duration:300}},Z=300,zi=((0,u.X$)("tuiHeightCollapse",[(0,u.eR)(":enter",[(0,u.oB)({height:0}),(0,u.jt)(O,(0,u.oB)({height:"*"}))],I),(0,u.eR)(":leave",[(0,u.oB)({height:"*"}),(0,u.jt)(O,(0,u.oB)({height:0}))],I)]),(0,u.X$)("tuiHeightCollapseList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({height:0}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({height:"*"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({height:"*"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({height:0}))])],{optional:!0})],I)]),(0,u.X$)("tuiWidthCollapse",[(0,u.eR)(":enter",[(0,u.oB)({width:0}),(0,u.jt)(O,(0,u.oB)({width:"*"}))],I),(0,u.eR)(":leave",[(0,u.oB)({width:"*"}),(0,u.jt)(O,(0,u.oB)({width:0}))],I)]),(0,u.X$)("tuiWidthCollapseList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({width:0}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({width:"*"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({width:"*"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({width:0}))])],{optional:!0})],I)]),(0,u.X$)("tuiFadeIn",[(0,u.eR)(":enter",[(0,u.oB)({opacity:0}),(0,u.jt)(O,(0,u.oB)({opacity:1}))],I),(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(O,(0,u.oB)({opacity:0}))],I)])),Ns=((0,u.X$)("tuiFadeInList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({opacity:0}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({opacity:1}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({opacity:1}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({opacity:0}))])],{optional:!0})],I)]),(0,u.X$)("tuiFadeInTop",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateY(-10px)",opacity:0}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)",opacity:1}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateY(0)",opacity:1}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(-10px)",opacity:0}))],I)]),(0,u.X$)("tuiFadeInBottom",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateY(10px)",opacity:0}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)",opacity:1}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateY(0)",opacity:1}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(10px)",opacity:0}))],I)]),(0,u.X$)("tuiDropdownAnimation",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateY(-10px)",opacity:0}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)",opacity:1}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateY(0)",opacity:1}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(-10px)",opacity:0}))],I)])),Rs=((0,u.X$)("tuiScaleIn",[(0,u.eR)(":enter",[(0,u.oB)({transform:"scale(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"scale(1)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"scale(1)"}),(0,u.jt)(O,(0,u.oB)({transform:"scale(0)"}))],I)]),(0,u.X$)("tuiPop",[(0,u.eR)(":enter",[(0,u.oB)({transform:"scale(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"scale(1.1)"})),(0,u.jt)(O,(0,u.oB)({transform:"scale(1)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"scale(1)"}),(0,u.jt)(O,(0,u.oB)({transform:"scale(1.1)"})),(0,u.jt)(O,(0,u.oB)({transform:"scale(0)"}))],I)]),(0,u.X$)("tuiScaleInList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"scale(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"scale(1)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"scale(0)"}))])],{optional:!0})],I)]),(0,u.X$)("tuiSlideIn",[(0,u.eR)("* => left",[(0,u.oB)({transform:"translateX(-100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))],I),(0,u.eR)("left => *",[(0,u.oB)({transform:"translateX(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(-100%)"}))],I),(0,u.eR)("* => right",[(0,u.oB)({transform:"translateX(100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))],I),(0,u.eR)("right => *",[(0,u.oB)({transform:"translateX(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(100%)"}))],I)]),(0,u.X$)("tuiSlideInLeft",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateX(-100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateX(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(-100%)"}))],I)]),(0,u.X$)("tuiSlideInLeftList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"translateX(-100%)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"translateX(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],I)]),(0,u.X$)("tuiSlideInRight",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateX(100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateX(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateX(100%)"}))],I)]),(0,u.X$)("tuiSlideInRightList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"translateX(100%)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"translateX(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateX(100%)"}))])],{optional:!0})],I)]),(0,u.X$)("tuiSlideInTop",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translate3d(0,{{start}},0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,u.eR)(":leave",[(0,u.oB)({transform:"translate3d(0,{{end}},0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,u.X$)("tuiSlideInTopList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"translateY(100%)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"translateY(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateY(100%)"}))])],{optional:!0})],I)]),(0,u.X$)("tuiSlideInBottom",[(0,u.eR)(":enter",[(0,u.oB)({transform:"translateY(-100%)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)"}))],I),(0,u.eR)(":leave",[(0,u.oB)({transform:"translateY(0)"}),(0,u.jt)(O,(0,u.oB)({transform:"translateY(-100%)"}))],I)]),(0,u.X$)("tuiSlideInBottomList",[(0,u.eR)("* => *",[(0,u.IO)(":enter",[(0,u.oB)({transform:"translateY(-100%)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,u.IO)(":leave",[(0,u.oB)({transform:"translateY(0)"}),(0,u.EY)(Z,[(0,u.jt)(O,(0,u.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],I)]);var Xt=M(9286),Bi=M(4842),Yi=M(1570),Ui=M(6142),fe=M(134),cn=M(6974),un=M(4776),qt=M(8748);function Bs(t,o){1&t&&n._UZ(0,"span",1),2&t&&n.Q6J("innerHTML",o.polymorpheusOutlet,n.oJD)}const Ys=(0,_.N1)(()=>Gs),Tt=(0,_.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"});let te=(()=>{class t extends E.QJ{constructor(e){super(),this.options=e,this.direction=this.options.direction,this.appearance=this.options.appearance,this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.icon=this.options.icon}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Tt,4))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[n._Bn([{provide:Tt,useExisting:(0,n.Gpc)(()=>t)}]),n.qOj]}),t})(),dn=(()=>{class t{constructor(e,i,r,a,l){this.el=e,this.component=i,this.hintService=r,this.options=a,this.activeZone=l,this.tuiHintAppearance=null,this.type="hint"}get appearance(){var e;return null!==(e=this.tuiHintAppearance)&&void 0!==e?e:this.options.appearance}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(e){e&&this.content?this.hintService.add(this):this.hintService.remove(this)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(P.Al),n.Y36(ya),n.Y36(Tt),n.Y36(mt.e,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[n._Bn([tn(t),ri(t),{provide:P.Al,deps:[Ys,n.gxx],useClass:P.Al}]),n.TTD]}),t})(),ve=(()=>{class t extends Ot{constructor(e,i,r){super(a=>this.stream$.subscribe(a)),this.hovered$=e,this.options=i,this.el=r,this.visible=!1,this.toggle$=new qt.x,this.stream$=(0,q.T)(this.toggle$.pipe((0,nt.w)(a=>(0,j.of)(a).pipe((0,Xt.g)(a?0:this.hideDelay))),(0,J.R)(this.hovered$),(0,Bi.r)()),this.hovered$.pipe((0,nt.w)(a=>(0,j.of)(a).pipe((0,Xt.g)(a?this.showDelay:this.hideDelay))),(0,J.R)(this.toggle$),(0,Bi.r)())).pipe((0,ft.h)(()=>this.enabled),(0,y.U)(a=>a&&!Gn(this.el.nativeElement)),(0,Yi.b)(a=>{this.visible=a})),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0}toggle(e=!this.visible){this.toggle$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Mt),n.Y36(Tt),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[n._Bn([Kt(t),Mt]),n.qOj]}),t})(),Us=(()=>{class t extends ve{constructor(){super(...arguments),this.currentRect=x.Jy}onMove({clientX:e,clientY:i}){this.currentRect=(0,F.dD)(e,i)}getClientRect(){return this.currentRect}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(e,i){1&e&&n.NdJ("mousemove.silent",function(a){return i.onMove(a)})},features:[n._Bn([tn(t),Kt(t)]),n.qOj]}),t})(),Gs=(()=>{class t{constructor(e,i,r,a,l,c,d,p,h,g,m,f){var v;this.animation=a,this.pointer=l,this.accessor=c,this.el=d,this.polymorpheus=p,this.hover=h,this.mode=g,this.visualViewportService=m,this.viewport=f,this.appearance=this.polymorpheus.$implicit.appearance||(null===(v=this.mode)||void 0===v?void 0:v.mode),i.pipe((0,y.U)(b=>this.visualViewportService.correct(b)),(0,J.R)(r)).subscribe(([b,S])=>{this.update(b,S)}),e.pipe((0,J.R)(r)).subscribe(b=>this.hover.toggle(b))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(e){(!this.el.nativeElement.contains(e)&&!this.hover.el.nativeElement.contains(e)||Gn(this.hover.el.nativeElement))&&this.hover.toggle(!1)}update(e,i){const{height:r,width:a}=this.el.nativeElement.getBoundingClientRect(),{style:l}=this.el.nativeElement,c=this.accessor.getClientRect(),d=this.viewport.getClientRect();if(c===x.Jy)return;const p=(0,U.Ki)(i,4,d.width-a-4),[h,g]=this.visualViewportService.correct([c.top+c.height/2-e,c.left+c.width/2-p]);l.top=K(e),l.left=K(p),l.setProperty("--top",K((0,U.Ki)(h,.5,r-1))),l.setProperty("--left",K((0,U.Ki)(g,.5,a-1)))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Mt),n.Y36(_e),n.Y36(T.a3,2),n.Y36(Wn),n.Y36(Us,8),n.Y36(Dt),n.Y36(n.SBq),n.Y36(P.yf),n.Y36(ve),n.Y36(Qt,8),n.Y36(ui),n.Y36(Wt))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(e,i){1&e&&n.NdJ("click",function(a){return i.onClick(a.target)},!1,n.evT),2&e&&(n.uIk("data-appearance",i.appearance),n.d8E("@tuiFadeIn",i.animation),n.ekj("_untouchable",i.pointer))},features:[n._Bn([T.a3,_e,Mt,li("hint"),ci("hint",dn)])],decls:1,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(e,i){1&e&&n.YNc(0,Bs,1,1,"span",0),2&e&&n.Q6J("polymorpheusOutlet",i.content)("polymorpheusOutletContext",i.context)},dependencies:[P.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[zi]},changeDetection:0}),(0,it.gn)([ht.UM],t.prototype,"update",null),t})(),$s=(()=>{class t extends Ot{constructor(e,i,r){super(a=>this.stream$.subscribe(a)),this.zone=e,this.doc=i,this.el=r,this.id$=new di.t(1),this.stream$=this.id$.pipe((0,D.Xd)(()=>(0,D.mL)(this.doc,"keydown",{capture:!0}),_.Pc),(0,nt.w)(()=>this.focused?(0,j.of)(!1):(0,q.T)((0,D.mL)(this.doc,"keyup"),(0,D.mL)(this.element,"blur")).pipe((0,y.U)(()=>this.focused))),function zs(t){return(0,Ui.e)((o,e)=>{let i=!1,r=null,a=null;const l=()=>{if(null==a||a.unsubscribe(),a=null,i){i=!1;const c=r;r=null,e.next(c)}};o.subscribe((0,fe.x)(e,c=>{null==a||a.unsubscribe(),i=!0,r=c,a=(0,fe.x)(e,l,bi.Z),(0,cn.Xf)(t(c)).subscribe(a)},()=>{l(),e.complete()},void 0,()=>{r=a=null}))})}(a=>a?(0,de.H)(1e3):(0,j.of)(null)),(0,Rt.O)(!1),(0,vt.x)(),(0,un.T)(1),(0,D.Yr)(this.zone)),this.tuiHintDescribe="",this.type="hint"}ngOnChanges(){this.id$.next(this.tuiHintDescribe)}get focused(){return(0,z.V8)(this.element)}get element(){return this.doc.getElementById(this.tuiHintDescribe||"")||this.el.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.R0b),n.Y36(C.K0),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[n._Bn([Kt(t)]),n.qOj,n.TTD]}),(0,it.gn)([ht.UM],t.prototype,"element",null),t})(),Vs=(()=>{class t extends ai{constructor(e,i,r){super(e,i,r),this.type="hint"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(Ot),n.Y36(ge))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHint",""]],features:[n._Bn([T.a3]),n.qOj]}),t})(),Js=(()=>{class t extends st{constructor(e,i,r,a){super(),this.options=e,this.viewport=i,this.directive=r,this.accessors=a,this.points=En.reduce((l,c)=>Object.assign(Object.assign({},l),{[c]:[0,0]}),{}),this.direction=this.options.direction,this.type="hint"}getPosition({width:e,height:i}){var r,a;const l=null!==(a=null===(r=this.accessor)||void 0===r?void 0:r.getClientRect())&&void 0!==a?a:x.Jy,c=l.left+l.width/2,d=l.top+l.height/2;if(this.points["top-left"][0]=l.top-i-8,this.points["top-left"][1]=c-e+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=c-e/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=c-22,this.points["bottom-left"][0]=l.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=d-i+22,this.points["left-top"][1]=l.left-e-8,this.points.left[0]=d-i/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=d-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=l.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],e,i))return this.points[this.direction];const p=En.find(h=>this.checkPosition(this.points[h],e,i));return this.points[p||this.fallback]}get accessor(){return qe("hint")(this.accessors,this.directive)}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([e,i],r,a){const l=this.viewport.getClientRect();return e>8&&i>8&&e+a{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,P.wq]]}),t})(),js=(()=>{class t{constructor(e,i){this.enabled$=new qt.x;const r=i.pipe((0,y.U)(a=>!!a&&(!e||!a.length||a.every(l=>!e.contains(l)))));this.tuiObscured=this.enabled$.pipe((0,D.Xd)(()=>r))}set tuiObscuredEnabled(e){this.enabled$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(mt.e,8),n.Y36(T.AQ,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[n._Bn([T.AQ,T.b0,T.a3])]}),t})(),Zs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var Ji=M(941),Ws=M(552),ji=M(8356);function Qs(t,o){if(1&t&&(n.TgZ(0,"div",4),n._uU(1),n.qZA()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}const Ks=function(t){return{$implicit:t}},Xs=(0,_.N1)(()=>el);let Zi=(()=>{class t{constructor(){this.tuiDropdownOpenChange=new n.vpe}set tuiDropdownOpen(e){var i;null===(i=this.dropdown)||void 0===i||i.toggle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],inputs:{tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"}}),t})(),Yt=(()=>{class t{constructor(e,i,r,a,l,c){this.el=i,this.dropdown=r,this.injector=a,this.dropdownService=l,this.open=c,this.refresh$=new qt.x,this.dropdownBoxRef=null,this.type="dropdown",this.component=new P.Al(this.dropdown,this.injector),this.open&&!this.open.dropdown?this.open.dropdown=this:this.open=null,this.refresh$.pipe((0,ji.p)(0),(0,J.R)(e)).subscribe(()=>{var d,p;null===(d=this.dropdownBoxRef)||void 0===d||d.changeDetectorRef.detectChanges(),null===(p=this.dropdownBoxRef)||void 0===p||p.changeDetectorRef.markForCheck()})}get position(){return Jn(this.el.nativeElement)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1),this.open&&(this.open.dropdown=void 0)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(e){var i,r;e&&this.content&&!this.dropdownBoxRef?(this.dropdownBoxRef=this.dropdownService.add(this.component),null===(i=this.open)||void 0===i||i.tuiDropdownOpenChange.emit(!0)):!e&&this.dropdownBoxRef&&(this.dropdownService.remove(this.dropdownBoxRef),this.dropdownBoxRef=null,null===(r=this.open)||void 0===r||r.tuiDropdownOpenChange.emit(!1))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(n.SBq),n.Y36(Xs),n.Y36(n.gxx),n.Y36(Ws.ae),n.Y36(Zi,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdown","",5,"ng-container"]],inputs:{content:["tuiDropdown","content"]},exportAs:["tuiDropdown"],features:[n._Bn([T.a3,tn(t),ri(t)]),n.TTD]}),(0,it.gn)([ht.UM],t.prototype,"position",null),t})();const Qi=(0,_.JN)({showDelay:200,hideDelay:500});let Ki=(()=>{class t extends Ot{constructor(e,i,r){super(a=>this.stream$.subscribe(a)),this.hovered$=e,this.options=i,this.parentHover=r,this.toggle$=new qt.x,this.stream$=(0,q.T)(this.toggle$,this.hovered$).pipe((0,nt.w)(a=>(0,j.of)(a).pipe((0,Xt.g)(a?this.showDelay:this.hideDelay))),(0,Yi.b)(a=>{this.hovered=a}),(0,pe.B)()),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.hovered=!1,this.type="dropdown"}toggle(e){var i;null===(i=this.parentHover)||void 0===i||i.toggle(e),this.toggle$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Mt),n.Y36(Qi),n.Y36(t,12))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownHover","",5,"ng-container"]],inputs:{showDelay:["tuiDropdownShowDelay","showDelay"],hideDelay:["tuiDropdownHideDelay","hideDelay"]},features:[n._Bn([Kt(t),Mt]),n.qOj]}),t})();const Xi={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},It=(0,_.JN)(Xi);let tl=(()=>{class t{constructor(e){this.options=e,this.align=this.options.align,this.appearance=this.options.appearance,this.direction=this.options.direction,this.limitWidth=this.options.limitWidth,this.minHeight=this.options.minHeight,this.maxHeight=this.options.maxHeight,this.offset=this.options.offset}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(It,4))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},features:[n._Bn([{provide:It,useExisting:(0,n.Gpc)(()=>t)}])]}),t})(),el=(()=>{class t{constructor(e,i,r,a,l,c,d,p,h,g,m){this.directive=a,this.animation=l,this.el=c,this.accessor=d,this.win=p,this.mode$=h,this.options=g,this.hoverDirective=m,i.pipe((0,y.U)(f=>"fixed"===this.directive.position?e.correct(f):f),(0,J.R)(r)).subscribe(([f,v])=>{this.update(f,v)}),this.updateWidth(this.accessor.getClientRect().width)}onHoveredChange(e){this.hoverDirective&&this.hoverDirective.toggle(e)}onTopFocus(){this.moveFocusOutside(!0)}onBottomFocus(){this.moveFocusOutside(!1)}update(e,i){var r;const{style:a}=this.el.nativeElement,{right:l}=this.el.nativeElement.getBoundingClientRect(),{maxHeight:c,offset:d}=this.options,{innerHeight:p}=this.win,h=null===(r=this.el.nativeElement.offsetParent)||void 0===r?void 0:r.getBoundingClientRect(),{position:g}=this.directive,m=this.accessor.getClientRect(),v="fixed"===g?0:-((null==h?void 0:h.top)||0);e+=v;const S=(i+="fixed"===g?0:-((null==h?void 0:h.left)||0))m.left&&e{class t extends ai{constructor(e,i,r){super(e,i,r),this.type="dropdown"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(Ot),n.Y36(ge))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdown",""]],features:[n._Bn([T.a3]),n.qOj]}),t})(),il=(()=>{class t extends Ot{constructor(){super(e=>this.stream$.subscribe(e)),this.stream$=new zt.X(!1),this.tuiDropdownManual=!1,this.type="dropdown"}ngOnChanges(){this.stream$.next(this.tuiDropdownManual)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdown","","tuiDropdownManual",""]],inputs:{tuiDropdownManual:"tuiDropdownManual"},features:[n._Bn([Kt(t)]),n.qOj,n.TTD]}),t})(),qi=(()=>{class t extends st{constructor(e,i,r,a){super(),this.options=e,this.viewport=i,this.accessors=r,this.directive=a,this.type="dropdown"}getPosition({width:e,height:i}){var r,a;!e&&!i&&(this.previous=void 0);const l=null!==(a=null===(r=this.accessor)||void 0===r?void 0:r.getClientRect())&&void 0!==a?a:x.Jy,c=this.viewport.getClientRect(),{minHeight:d,align:p,direction:h,offset:g}=this.options,m={top:c.top-g,bottom:c.bottom+g,right:c.right-g,left:c.left+g},f=this.previous||h||"bottom",v={top:l.top-2*g-m.top,bottom:m.bottom-l.bottom-2*g},b=Math.max(l.right-e,g),S=l.left+ev.bottom?"top":"bottom";return v[f]>d&&h||v[f]>i?[k[f],k[p]]:(this.previous=V,[k[V],k[p]])}get accessor(){return qe("dropdown")(this.accessors,this.directive)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(It),n.Y36(Wt),n.Y36(Dt),n.Y36(Yt))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[n._Bn([Xe(t)]),n.qOj]}),(0,it.gn)([ht.UM],t.prototype,"accessor",null),t})(),ol=(()=>{class t extends st{constructor(e,i,r){super(),this.options=e,this.viewport=i,this.vertical=r,this.previous=this.options.direction||"bottom",this.tuiDropdownSided="",this.tuiDropdownSidedOffset=4,this.type="dropdown"}getPosition(e){var i,r;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(e);const{height:a,width:l}=e,c=null!==(r=null===(i=this.vertical.accessor)||void 0===i?void 0:i.getClientRect())&&void 0!==r?r:x.Jy,d=this.viewport.getClientRect(),{direction:p,minHeight:h,offset:g}=this.options,m="center"===this.options.align?"left":this.options.align,f={top:c.bottom-d.top,left:c.left-g-d.left,right:d.right-c.right-g,bottom:d.bottom-c.top},v={top:c.bottom-a+this.tuiDropdownSidedOffset+1,left:c.left-l-g,right:c.right+g,bottom:c.top-this.tuiDropdownSidedOffset-1},b=f.top>f.bottom?"top":"bottom",k=f[m]>l?v[m]:f.left>f.right?v.left:v.right;return f[this.previous]>h&&p||this.previous===b?[v[this.previous],k]:(this.previous=b,[v[b],k])}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(It),n.Y36(Wt),n.Y36(qi))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[n._Bn([qi,Xe(t)]),n.qOj]}),t})(),rl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[P.wq,mt.A,Ji.e,Be,ue]]}),t})();var al=M(8442),to=M(3794);const sl=["wrapper"];function ll(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}const cl=function(t,o){return{$implicit:t,close:o}};function ul(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",5,6),n.NdJ("keydown",function(r){n.CHM(e);const a=n.oxw(2);return n.KtG(a.onKeydown(r))}),n.YNc(2,ll,2,1,"ng-container",7),n.qZA(),n._UZ(3,"div")}if(2&t){n.oxw();const e=n.MAs(1),i=n.oxw();n.xp6(2),n.Q6J("polymorpheusOutlet",i.content)("polymorpheusOutletContext",n.WLB(2,cl,e,i.close))}}function dl(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",1,2),n.NdJ("tuiActiveZoneChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onActiveZone(r))})("tuiObscured",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onHostObscured(r))}),n.Hsn(2),n.YNc(3,ul,4,5,"ng-template",3,4,n.W1O),n.qZA()}if(2&t){const e=o.tuiLet,i=n.MAs(4),r=n.oxw();n.Q6J("tuiDropdown",i)("tuiDropdownManual",e&&r.canOpen)("tuiDropdownSided",r.sided)("tuiObscuredEnabled",e),n.xp6(3),n.Q6J("polymorpheus",r.context)}}const pl=["*"];let eo=(()=>{class t extends st{constructor(){super(...arguments),this.type="dummy"}getPosition(){return[0,0]}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["","tuiAccessorProxy",""]],features:[n._Bn([{provide:st,multi:!0,deps:[[new n.FiY,new n.tp0,t],t],useFactory:(o,e)=>o||e}]),n.qOj]}),t})();const no=new n.OlP("[TUI_HOSTED_DROPDOWN_COMPONENT]");let hl=(()=>{class t{constructor(e,i,r,a){null==a||a.tuiDropdownOpenChange.pipe((0,ft.h)(l=>l&&a.dropdown===r&&!i.focused),(0,J.R)(e)).subscribe(()=>{var l;null===(l=i.nativeFocusableElement)||void 0===l||l.focus(),i.updateOpen(!0)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(no),n.Y36(Yt,2),n.Y36(Zi,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],features:[n._Bn([T.a3])]}),t})(),gl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiHostedDropdownHost",""]]}),t})();function _l(t){var o;return"key"in t&&"escape"===t.key.toLowerCase()&&this.canOpen&&this.open&&!(null!==(o=this.dropdown)&&void 0!==o&&o.nextElementSibling)}let Ce=(()=>{class t{constructor(e,i){this.hover$=e,this.el=i,this.focus$=new zt.X(!1),this.openChange=new zt.X(!1),this.sided=!1,this.canOpen=!0,this.hostHover$=(0,al.a)([(0,D.mL)(this.el.nativeElement,"mouseover").pipe((0,y.U)(r=>this.computedHost.contains((0,F.mA)(r))),(0,nt.w)(r=>{var a,l;return(0,j.of)(r).pipe((0,Xt.g)((r?null===(a=this.hover$)||void 0===a?void 0:a.showDelay:null===(l=this.hover$)||void 0===l?void 0:l.hideDelay)||0))})),this.hover$||Ke.E]).pipe((0,y.U)(([r,a])=>r&&a)),this.open$=(0,q.T)(this.openChange,this.hostHover$).pipe((0,un.T)(1),(0,vt.x)(),(0,pe.B)()),this.focusedChange=new n.vpe,this.close=()=>this.updateOpen(!1)}set open(e){this.openChange.next(e)}get open(){return this.openChange.value}get host(){var e;return(null===(e=this.dropdownHost)||void 0===e?void 0:e.nativeElement)||this.el.nativeElement}get computedHost(){var e;return(null===(e=this.dropdownHost)||void 0===e?void 0:e.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}get dropdown(){var e,i;return null===(i=null===(e=this.dropdownDirective)||void 0===e?void 0:e.dropdownBoxRef)||void 0===i?void 0:i.location.nativeElement}get nativeFocusableElement(){return(0,z.dT)(this.host)?this.host:(0,z.BW)({initial:this.host,root:this.el.nativeElement})}get focused(){return(0,z.zb)(this.host)||this.open&&!!this.wrapper&&(0,z.zb)(this.wrapper.nativeElement)}onFocusInOut(){this.focus$.next(this.focused)}onFocusIn(e){this.computedHost.contains(e)||this.updateOpen(!1)}onClick(e){var i;!this.hostEditable&&this.computedHost.contains(e)&&(null===(i=this.hover$)||void 0===i||!i.hovered)&&this.updateOpen(!this.open)}onKeyDownEsc(e){e.preventDefault(),this.closeDropdown()}onArrow(e,i){this.focusDropdown(e,i)}onKeydown({key:e,target:i,defaultPrevented:r}){!r&&function ta(t){return 1===t.length||vr.includes(t)}(e)&&this.hostEditable&&(0,F.dW)(i)&&!(0,F.Hn)(i)&&this.focusHost()}onActiveZone(e){this.updateFocused(e),e||this.updateOpen(!1)}onHostObscured(e){e&&this.closeDropdown()}updateOpen(e){(!e||this.canOpen)&&(this.open=e)}get hostEditable(){return(0,F.Hn)(this.computedHost)}focusDropdown(e,i){const r=this.nativeFocusableElement;if(!(r&&(0,F.dW)(r)&&(0,F.ve)(e.target)&&r.contains(e.target)))return;if(!(this.wrapper&&this.open&&this.dropdown&&(0,F.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,F.Hn)(r)||e.preventDefault());const l=(0,z.BW)({initial:i?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!i});l&&(l.focus(),e.preventDefault())}closeDropdown(){this.focused&&this.focusHost(),this.updateOpen(!1)}focusHost(){const e=this.nativeFocusableElement;e&&e.focus({preventScroll:!0})}updateFocused(e){this.focusedChange.emit(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Ki,10),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-hosted-dropdown"]],contentQueries:function(e,i,r){if(1&e&&n.Suo(r,gl,5,n.SBq),2&e){let a;n.iGM(a=n.CRH())&&(i.dropdownHost=a.first)}},viewQuery:function(e,i){if(1&e&&(n.Gf(sl,5,n.SBq),n.Gf(Yt,5),n.Gf(mt.e,5)),2&e){let r;n.iGM(r=n.CRH())&&(i.wrapper=r.first),n.iGM(r=n.CRH())&&(i.dropdownDirective=r.first),n.iGM(r=n.CRH())&&(i.activeZone=r.first)}},hostVars:1,hostBindings:function(e,i){1&e&&n.NdJ("$.class._hosted_dropdown_focused",function(){return i.focus$})("focusin.capture.silent",function(){return i.onFocusInOut()})("focusout.capture.silent",function(){return i.onFocusInOut()})("focusin",function(a){return i.onFocusIn(a.target)})("click",function(a){return i.onClick(a.target)})("keydown.silent.capture",function(a){return i.onKeyDownEsc(a)},!1,n.evT)("keydown.arrowDown",function(a){return i.onArrow(a,!0)})("keydown.arrowUp",function(a){return i.onArrow(a,!1)}),2&e&&n.Ikx("$.class._hosted_dropdown_focused",i.focus$)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[n._Bn([(0,H.FT)(t),{provide:eo,deps:[[new n.FiY,new n.PiD,st]],useFactory:o=>null==o?void 0:o[0]},{provide:no,useExisting:t}])],ngContentSelectors:pl,decls:2,vars:3,consts:[["tuiAccessorProxy","","tuiDropdownOpenMonitor","","class","t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured",4,"tuiLet"],["tuiAccessorProxy","","tuiDropdownOpenMonitor","",1,"t-wrapper",3,"tuiDropdown","tuiDropdownManual","tuiDropdownSided","tuiObscuredEnabled","tuiActiveZoneChange","tuiObscured"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[1,"t-dropdown",3,"keydown"],["wrapper",""],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(e,i){if(1&e&&(n.F$t(),n.YNc(0,dl,5,5,"div",0),n.ALo(1,"async")),2&e){let r;n.Q6J("tuiLet",null!==(r=n.lcZ(1,1,i.open$))&&void 0!==r?r:i.openChange.value)}},dependencies:[at.Ls,eo,hl,Yt,nl,il,ol,mt.e,js,P.GL,P.Li,C.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}.t-dropdown[_ngcontent-%COMP%]{height:100%}"],changeDetection:0}),(0,it.gn)([(0,to.uX)(_l)],t.prototype,"onKeyDownEsc",null),t})(),io=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,P.wq,at.WD,Zs,mt.A,rl]]}),t})();function ml(t,o){1&t&&n._UZ(0,"tui-svg",3),2&t&&n.Q6J("src",o.polymorpheusOutlet)}let oo=(()=>{class t extends te{constructor(e,i,r,a){super(r),this.isMobile=a,this.mode=null,this.describeId="",i.pipe((0,J.R)(e)).subscribe(l=>{this.mode=l})}get computedAppearance(){return this.appearance||this.mode||""}stopOnMobile(e){var i;this.isMobile&&(e.preventDefault(),e.stopPropagation()),null===(i=this.driver$)||void 0===i||i.toggle()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.a3,2),n.Y36(Ct),n.Y36(Tt),n.Y36(H.fL))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(e,i){if(1&e&&n.Gf(ve,5),2&e){let r;n.iGM(r=n.CRH())&&(i.driver$=r.first)}},hostVars:1,hostBindings:function(e,i){1&e&&n.NdJ("mousedown",function(a){return i.stopOnMobile(a)}),2&e&&n.uIk("data-appearance",i.computedAppearance)},inputs:{content:"content",direction:"direction",appearance:"appearance",showDelay:"showDelay",hideDelay:"hideDelay",describeId:"describeId",context:"context"},features:[n._Bn([T.a3,wt]),n.qOj],decls:4,vars:11,consts:[["appearance","icon","automation-id","tui-tooltip__icon","tuiWrapper","",1,"t-tooltip-icon",3,"hover","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],[3,"src",4,"polymorpheusOutlet"],[3,"src"]],template:function(e,i){if(1&e&&(n.TgZ(0,"span",0,1),n.ALo(2,"async"),n.YNc(3,ml,1,1,"tui-svg",2),n.qZA()),2&e){const r=n.MAs(1);n.Q6J("hover",n.lcZ(2,9,r)||null)("tuiHint",i.content)("tuiHintAppearance",i.computedAppearance)("tuiHintContext",i.context)("tuiHintDescribe",i.describeId)("tuiHintDirection",i.direction)("tuiHintHideDelay",i.hideDelay)("tuiHintShowDelay",i.showDelay),n.xp6(3),n.Q6J("polymorpheusOutlet",i.icon)}},dependencies:[gt,xt,dn,Vs,ve,Js,$s,P.Li,C.Ov],styles:['[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-01)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-error-fill)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%;color:inherit}[tuiWrapper][data-appearance="textfield"][data-state="disabled"][_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%], [tuiWrapper][data-appearance="textfield"][data-state="disabled"] [_nghost-%COMP%] .t-tooltip-icon[_ngcontent-%COMP%]{opacity:1}'],changeDetection:0}),t})(),ro=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,yt,_t,Vi,P.wq]]}),t})(),ao=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["ng-template","tuiDataList",""]]}),t})();function Ml(t,o){return t?(0,D.EK)(t).pipe((0,y.U)(e=>o?o.fromControlValue(e):e)):(0,j.of)(null)}const Cl=new n.OlP("[TUI_CALENDAR_DATE_STREAM]");function Ol(t){return{provide:Cl,deps:[[new n.FiY,new n.PiD,w.a5],[new n.FiY,t]],useFactory:Ml}}(0,_.JN)({[s.AD]:"+376###-###",[s.AE]:"+971-##-###-####",[s.AF]:"+93##-###-####",[s.AG]:"+1(268) ###-####",[s.AI]:"+1(264) ###-####",[s.AL]:"+355(###) ###-###",[s.AM]:"+374##-###-###",[s.AO]:"+244(###) ###-###",[s.AR]:"+54(###) ####-####",[s.AT]:"+43(###) ###-####",[s.AU]:"+61#-####-####",[s.AW]:"+297###-####",[s.AZ]:"+994##-###-##-##",[s.BA]:"+387 ###-####-##",[s.BB]:"+1(246) ###-####",[s.BD]:"+880##-###-###",[s.BE]:"+32(###) ###-###",[s.BF]:"+226##-##-####",[s.BG]:"+359(###) ###-###",[s.BH]:"+973####-####",[s.BI]:"+257##-##-####",[s.BJ]:"+229##-##-####",[s.BL]:"+590 ## ## ## ## ##",[s.BM]:"+1(441) ###-####",[s.BN]:"+673###-####",[s.BO]:"+591#-###-####",[s.BQ]:"+599-###-####",[s.BR]:"+55(##) ####-####",[s.BS]:"+1(242) ###-####",[s.BT]:"+975#-###-###",[s.BW]:"+267##-###-###",[s.BY]:"+375(##) ###-##-##",[s.BZ]:"+501###-####",[s.CA]:"+1(###) ###-####",[s.CD]:"+243(###) ###-###",[s.CF]:"+236-##-##-####",[s.CG]:"+242##-###-####",[s.CH]:"+41##-###-####",[s.CI]:"+225##-##-###-###",[s.CL]:"+56#-####-####",[s.CM]:"+237#####-####",[s.CN]:"+86(###) ####-####",[s.CO]:"+57(###) ###-####",[s.CR]:"+506####-####",[s.CU]:"+53#-###-####",[s.CV]:"+238(###) ##-##",[s.CW]:"+5999-###-####",[s.CY]:"+357##-###-###",[s.CZ]:"+420(###) ###-###",[s.DE]:"+49(###) ###-###-##",[s.DJ]:"+253##-##-##-##",[s.DK]:"+45##-##-##-##",[s.DM]:"+1(767) ###-####",[s.DO]:"+1(###) ###-####",[s.DZ]:"+213##-###-####",[s.EC]:"+593##-###-####",[s.EE]:"+372####-####",[s.EG]:"+20(###) ###-####",[s.ER]:"+291#-###-###",[s.ES]:"+34(###) ###-###",[s.ET]:"+251##-###-####",[s.FI]:"+358(###) ###-##-##",[s.FJ]:"+679##-#####",[s.FK]:"+500#####",[s.FM]:"+691###-####",[s.FR]:"+33 ## ## ## ## ##",[s.GA]:"+241##-##-##-##",[s.GB]:"+44##-####-####",[s.GD]:"+1(473) ###-####",[s.GE]:"+995(###) ###-###",[s.GF]:"+594 ## ## ## ## ##",[s.GH]:"+233(###) ###-###",[s.GI]:"+350###-#####",[s.GL]:"+299##-##-##",[s.GM]:"+220(###) ##-##",[s.GN]:"+224##-###-###",[s.GP]:"+590 ## ## ## ## ##",[s.GQ]:"+240##-###-####",[s.GR]:"+30(###) ###-####",[s.GT]:"+502#-###-####",[s.GW]:"+245#-######",[s.GY]:"+592###-####",[s.HK]:"+852####-####",[s.HN]:"+504####-####",[s.HR]:"+385##-###-####",[s.HT]:"+509##-##-####",[s.HU]:"+36(###) ###-###",[s.ID]:"+62(###) ###-##-###",[s.IE]:"+353(###) ###-###",[s.IL]:"+972##-###-####",[s.IN]:"+91(####) ###-###",[s.IQ]:"+964(###) ###-####",[s.IR]:"+98(###) ###-####",[s.IS]:"+354###-####",[s.IT]:"+39(###) ####-###",[s.JM]:"+1(876) ###-####",[s.JO]:"+962#-####-####",[s.JP]:"+81-##-####-####",[s.KE]:"+254###-######",[s.KG]:"+996(###) ###-###",[s.KH]:"+855##-###-###",[s.KM]:"+269##-#####",[s.KN]:"+1(869) ###-####",[s.KP]:"+850####-#############",[s.KR]:"+82##-###-####",[s.KW]:"+965####-####",[s.KY]:"+1(345) ###-####",[s.KZ]:"+7(###) ###-##-##",[s.LA]:"+856##-##-###-###",[s.LB]:"+961##-###-###",[s.LC]:"+1(758) ###-####",[s.LI]:"+423(###) ###-####",[s.LK]:"+94##-###-####",[s.LR]:"+231##-###-###",[s.LS]:"+266#-###-####",[s.LT]:"+370(###) ##-###",[s.LU]:"+352(###) ###-###",[s.LV]:"+371##-###-###",[s.LY]:"+218##-###-####",[s.MA]:"+212##-####-###",[s.MC]:"+377###-###-###",[s.MD]:"+373####-####",[s.ME]:"+382##-###-###",[s.MF]:"+590 ## ## ## ## ##",[s.MG]:"+261##-##-#####",[s.MK]:"+389##-###-###",[s.ML]:"+223##-##-####",[s.MM]:"+95##-###-###",[s.MN]:"+976##-##-####",[s.MO]:"+853####-####",[s.MQ]:"+596 ## ## ## ## ##",[s.MR]:"+222##-##-####",[s.MS]:"+1(664) ###-####",[s.MT]:"+356####-####",[s.MU]:"+230####-####",[s.MV]:"+960###-####",[s.MW]:"+265#-####-####",[s.MX]:"+52(###) ###-####",[s.MY]:"+60(###) ###-###",[s.MZ]:"+258##-###-###",[s.NA]:"+264##-###-####",[s.NC]:"+687 ### ###",[s.NE]:"+227##-##-####",[s.NG]:"+234(###) ###-####",[s.NI]:"+505####-####",[s.NL]:"+31##-###-####",[s.NO]:"+47(###) ##-###",[s.NP]:"+977##-###-###",[s.NZ]:"+64(###) ###-####",[s.OM]:"+968##-###-###",[s.PA]:"+507###-####",[s.PE]:"+51(###) ###-###",[s.PF]:"+689 ## ## ## ##",[s.PG]:"+675(###) ##-###",[s.PH]:"+63(###) ###-####",[s.PK]:"+92(###) ###-####",[s.PL]:"+48(###) ###-###",[s.PT]:"+351##-###-####",[s.PW]:"+680###-####",[s.PY]:"+595(###) ###-###",[s.QA]:"+974####-####",[s.RE]:"+262 ## ## ## ## ##",[s.RO]:"+40##-###-####",[s.RS]:"+381##-###-####",[s.RU]:"+7### ###-##-##",[s.RW]:"+250(###) ###-###",[s.SA]:"+966#-####-####",[s.SB]:"+677###-####",[s.SC]:"+248#-###-###",[s.SD]:"+249##-###-####",[s.SE]:"+46##-###-####",[s.SG]:"+65####-####",[s.SH]:"+290####",[s.SI]:"+386##-###-###",[s.SK]:"+421(###) ###-###",[s.SL]:"+232##-######",[s.SM]:"+378####-######",[s.SN]:"+221##-###-####",[s.SO]:"+252##-###-###",[s.SR]:"+597###-####",[s.ST]:"+239##-#####",[s.SV]:"+503##-##-####",[s.SX]:"+1(721) ###-####",[s.SY]:"+963##-####-###",[s.SZ]:"+268##-##-####",[s.TC]:"+1(649) ###-####",[s.TD]:"+235##-##-##-##",[s.TG]:"+228##-###-###",[s.TH]:"+66##-###-####",[s.TJ]:"+992##-###-####",[s.TL]:"+670###-#####",[s.TM]:"+993#-###-####",[s.TN]:"+216##-###-###",[s.TO]:"+676#####",[s.TR]:"+90(###) ###-####",[s.TT]:"+1(868) ###-####",[s.TW]:"+886#-####-####",[s.TZ]:"+255##-###-####",[s.UA]:"+380(##) ###-##-##",[s.UG]:"+256(###) ###-###",[s.US]:"+1(###) ###-####",[s.UY]:"+598#-###-##-##",[s.UZ]:"+998##-###-####",[s.VC]:"+1(784) ###-####",[s.VE]:"+58(###) ###-####",[s.VG]:"+1(284)###-####",[s.VN]:"+84(###) ####-###",[s.VU]:"+678##-#####",[s.WS]:"+685##-####",[s.XK]:"+383##-###-###",[s.YE]:"+967###-###-###",[s.YT]:"+262 ## ## ## ## ##",[s.ZA]:"+27##-###-####",[s.ZM]:"+260##-###-####",[s.ZW]:"+263#-######"});const so=new n.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),Tl=(new n.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new n.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),(0,_.N1)(A("prompt")),(0,_.N1)(A("cancel")),(0,_.N1)(A("done")),(0,_.N1)(A("more")),(0,_.N1)(A("hide")),(0,_.N1)(A("showAll")),(0,_.N1)(A("otherDate")),(0,_.N1)(A("mobileCalendarTexts")),(0,_.N1)(A("range")),(0,_.N1)(A("countTexts")),(0,_.N1)(A("time")),(0,_.N1)(A("dateTexts"))),lo=((0,_.N1)(A("digitalInformationUnits")),(0,_.N1)(A("copyTexts")),(0,_.N1)(A("passwordTexts")),(0,_.N1)(A("shortCalendarMonths")),(0,_.N1)(A("fileTexts")),(0,_.N1)(A("pagination")),(0,_.N1)(A("inputFileTexts")),(0,_.N1)(A("multiSelectTexts")),(0,_.N1)(A("countries")),{icon:({$implicit:t})=>"s"===t?"tuiIconCalendar":"tuiIconCalendarLarge",min:ut,max:dt,nativePicker:!1}),co=(0,_.JN)(lo);(0,_.JN)({stringify:x.yZ,identityMatcher:x.bg,disabledItemHandler:x.Iy});const Pl=new n.OlP("[TUI_MOBILE_CALENDAR]"),wl=(new n.OlP("[TUI_MONTH_FORMATTER]"),(0,_.JN)(24),(0,_.JN)({}),t={limitWidth:"fixed",align:"right"},{provide:It,deps:[[new n.FiY,tl],[new n.FiY,new n.tp0,It]],useFactory:function na(t,o){return(e,i)=>{const r=e||Object.assign({},i||o);return Object.keys(t).forEach(a=>{r[a]=t[a]}),r}}(t,Xi)}),xl={provide:ii,deps:[[new n.FiY,new n.PiD,w.JU]],useFactory:je.y};var t;const Il=["input"];function Sl(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}function kl(t,o){if(1&t&&(n.TgZ(0,"div",6),n.YNc(1,Sl,2,1,"ng-container",7),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.leftContent)}}function El(t,o){if(1&t&&n._UZ(0,"tui-loader",8),2&t){const e=n.oxw();n.Q6J("inheritColor",!0)("size",e.loaderSize)}}function Al(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-svg",9),n.NdJ("click",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.remove(r))})("mousedown.stop.prevent.silent",function(){return 0}),n.qZA()}if(2&t){const e=n.oxw();n.Q6J("src",e.icons.close)}}function Ll(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"input",10,11),n.NdJ("blur",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.onBlur())})("keydown",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onKeyDown(r))})("ngModelChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onInput(r))}),n.qZA()}if(2&t){const e=n.oxw();n.Q6J("ngModel",e.editedText),n.uIk("maxLength",e.maxLength)}}const ho=(0,_.JN)({size:"m",status:"default",autoColor:!1});let Fl=(()=>{class t{constructor(e,i,r,a){this.el=e,this.mode$=i,this.options=r,this.icons=a,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new n.vpe,this.editing=!1,this.editedText=null}set input(e){e&&e.nativeElement.focus()}get backgroundColor(){return this.autoColor?function yl(t){if(""===t)return"";let o=0;for(let a=0;a1?this.save(String(i)):this.editedText=e}onKeyDown(e){switch(e.stopPropagation(),e.key.toLowerCase()){case"enter":e.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":e.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}onBlur(){null!==this.editedText&&this.save(this.editedText)}get canEdit(){return this.editable&&!this.disabled&&!this.showLoader}stopEditing(){this.editing=!1,this.editedText=null}save(e){this.stopEditing(),this.edited.emit(e.trim())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(Ct),n.Y36(ho),n.Y36(he))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(e,i){if(1&e&&n.Gf(Il,5,n.SBq),2&e){let r;n.iGM(r=n.CRH())&&(i.input=r.first)}},hostVars:10,hostBindings:function(e,i){1&e&&n.NdJ("$.data-mode.attr",function(){return i.mode$})("keydown.enter",function(a){return i.edit(a)})("keydown.delete",function(a){return i.remove(a)})("keydown.backspace",function(a){return i.remove(a)}),2&e&&(n.uIk("data-size",i.size)("data-status",i.status),n.ekj("_hoverable",i.hoverable)("_disabled",i.disabled)("_autocolor",i.autoColor)("_editing",i.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[n._Bn([wt])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],["automation-id","tui-tag__remove","class","t-icon",3,"src","click","mousedown.stop.prevent.silent",4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","blur","keydown","ngModelChange",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["automation-id","tui-tag__remove",1,"t-icon",3,"src","click","mousedown.stop.prevent.silent"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","blur","keydown","ngModelChange"],["input",""]],template:function(e,i){1&e&&(n.TgZ(0,"div",0),n.NdJ("dblclick",function(a){return i.edit(a)}),n.YNc(1,kl,2,1,"div",1),n._UZ(2,"span",2),n.YNc(3,El,1,2,"tui-loader",3),n.YNc(4,Al,1,1,"tui-svg",4),n.qZA(),n.YNc(5,Ll,2,2,"input",5)),2&e&&(n.Udp("background-color",i.backgroundColor),n.xp6(1),n.Q6J("ngIf",i.leftContent),n.xp6(1),n.Q6J("textContent",i.displayText),n.xp6(1),n.Q6J("ngIf",i.showLoader),n.xp6(1),n.Q6J("ngIf",i.canRemove),n.xp6(1),n.Q6J("ngIf",i.editing))},dependencies:[nn,gt,C.O5,P.Li,w.Fj,w.JJ,w.On],styles:['[_nghost-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;max-width:100%;cursor:default;outline:none;text-decoration:none;padding:0;border:0}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-size=m][_nghost-%COMP%]{border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{border-radius:var(--tui-radius-s)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:#000c}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity);-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{-webkit-margin-start:0;margin-inline-start:0}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%] svg{transform:scale(.75)}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}'],changeDetection:0}),t})(),Hl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,w.u5,_t,on,P.wq]]}),t})();const Nl=["focusableElement"],Rl=["tagsContainer"],zl=["cleaner"],Bl=["errorIcon"],Yl=["tag"];function Ul(t,o){1&t&&n.GkF(0)}function Gl(t,o){1&t&&n._UZ(0,"tui-svg",21),2&t&&n.Q6J("src",o.polymorpheusOutlet)}const pn=function(t){return{$implicit:t}};function $l(t,o){if(1&t&&(n.TgZ(0,"div",19),n.YNc(1,Gl,1,1,"tui-svg",20),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconLeft)("polymorpheusOutletContext",n.VKq(2,pn,e.size))}}function Vl(t,o){if(1&t&&(n.TgZ(0,"div",22),n.Hsn(1,2),n.qZA()),2&t){const e=n.oxw();n.ekj("t-placeholder_raised",e.placeholderRaised)}}function Jl(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-tag",24,25),n.NdJ("edited",function(r){const l=n.CHM(e).index,c=n.oxw(2);return n.KtG(c.onTagEdited(r,l))})("keydown.arrowLeft.prevent",function(){const a=n.CHM(e).index,l=n.oxw(2);return n.KtG(l.onTagKeyDownArrowLeft(a))})("keydown.arrowRight.prevent",function(){const a=n.CHM(e).index,l=n.oxw(2);return n.KtG(l.onTagKeyDownArrowRight(a))}),n.ALo(2,"async"),n.qZA()}if(2&t){const e=o.$implicit,i=n.oxw(2);n.Q6J("disabled",i.computedDisabled||i.disabledItemHandler(e))("editable",i.editable&&!i.readOnly)("hoverable",!i.readOnly)("leftContent",i.getLeftContent(e))("maxLength",i.maxLength)("removable",!i.readOnly&&i.removable)("separator",i.separator)("size",i.controller.size)("status",n.lcZ(2,11,i.status$))("tuiFocusable",!1)("value",e.toString())}}function jl(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Jl,3,13,"tui-tag",23),n.BQk()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("ngForOf",e.value)("ngForTrackBy",e.trackByFn)}}function Zl(t,o){if(1&t&&n._UZ(0,"span",27),2&t){const e=o.$implicit,i=n.oxw(2);n.ekj("t-text_comma",i.computedFocused&&!i.inputHidden)("t-text_disabled",i.disabledItemHandler(e))("t-text_error",!i.tagValidator(e)),n.Q6J("textContent",e)}}function Wl(t,o){if(1&t&&n.YNc(0,Zl,1,7,"span",26),2&t){const e=n.oxw();n.Q6J("ngForOf",e.value)}}function Ql(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-svg",32,33),n.NdJ("click.stop",function(){n.CHM(e);const r=n.oxw(3);return n.KtG(r.onCleanerClick())}),n.qZA()}2&t&&n.Q6J("src",o.polymorpheusOutlet)}function Kl(t,o){if(1&t&&(n.ynx(0),n.YNc(1,Ql,2,1,"tui-svg",31),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconCleaner)("polymorpheusOutletContext",n.VKq(2,pn,e.size))}}function Xl(t,o){if(1&t&&n._UZ(0,"tui-tooltip",34),2&t){const e=n.oxw(2);n.Q6J("content",null==e.hintOptions?null:e.hintOptions.content)("describeId",e.id)}}function ql(t,o){1&t&&n._UZ(0,"tui-svg",21),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function tc(t,o){if(1&t&&(n.TgZ(0,"div",35),n.YNc(1,ql,1,1,"tui-svg",20),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",n.VKq(2,pn,e.size))}}function ec(t,o){if(1&t&&(n.TgZ(0,"div",28),n.YNc(1,Kl,2,4,"ng-container",0),n.YNc(2,Xl,1,2,"tui-tooltip",29),n.YNc(3,tc,2,4,"div",30),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("ngIf",e.hasCleaner),n.xp6(1),n.Q6J("ngIf",e.showHint),n.xp6(1),n.Q6J("ngIf",e.icon)}}function nc(t,o){if(1&t&&n._UZ(0,"tui-svg",36),2&t){const e=n.oxw();n.Q6J("src",e.icons.error)}}const ic=[[["tuiContent"]],[["select"]],"*"],oc=["tuiContent","select","*"],_o=(0,_.JN)({separator:",",uniqueTags:!0,tagStatus:"primary"}),rc={s:1.25,m:1.5,l:2},ac={s:1,m:1.25,l:1.25};let lc=(()=>{class t extends E.m6{constructor(e,i,r,a,l,c,d,p,h,g){super(e,i),this.el=r,this.modeDirective=a,this.mode$=l,this.hintOptions=c,this.controller=d,this.options=p,this.parentHostedDropdown=h,this.icons=g,this.tags=x.Mm,this.separator=this.options.separator,this.search="",this.editable=!0,this.tagValidator=x.Ye,this.expandable=!0,this.rows=1/0,this.inputHidden=!1,this.uniqueTags=this.options.uniqueTags,this.maxLength=null,this.placeholder="",this.removable=!0,this.disabledItemHandler=x.Iy,this.searchChange=new n.vpe,this.status$=this.mode$.pipe((0,y.U)(()=>this.status)),this.open=!1}set pseudoFocusedSetter(e){!e&&!this.focused&&this.scrollTo(0),this.pseudoFocus=e}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){var e;return(0,z.zb)(this.el.nativeElement)||!(null===(e=this.hostedDropdown)||void 0===e||!e.focused)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get labelOutside(){const{size:e,labelOutside:i}=this.controller;return"s"===e||i}get iconLeft(){return this.controller.iconLeft}get icon(){return this.controller.icon}get iconCleaner(){return this.controller.options.iconCleaner}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&this.interactive}get hasNativeValue(){return!!this.search}get hasValue(){return!!this.value.length||this.hasNativeValue}get hasPlaceholder(){return!this.labelOutside||!this.hasValue&&(!this.hasExampleText||this.inputHidden)}get placeholderRaised(){return!this.labelOutside&&(this.computedFocused&&!this.readOnly||this.hasValue)}get hasExampleText(){var e;return!(null===(e=this.nativeFocusableElement)||void 0===e||!e.placeholder)&&this.computedFocused&&!this.hasValue&&!this.readOnly}get hasRightIcons(){var e;return this.hasCleaner||!!this.icon||!(null===(e=this.hintOptions)||void 0===e||!e.content)&&!this.computedDisabled}get showHint(){var e;return!(null===(e=this.hintOptions)||void 0===e||!e.content)&&(this.controller.options.hintOnDisabled||!this.computedDisabled)}get status(){var e;return null!==(e=this.modeDirective)&&void 0!==e&&e.mode?"default":this.options.tagStatus}get canOpen(){return this.interactive&&!!this.datalist}get computeMaxHeight(){return this.expandable?this.rows*this.lineHeight:null}detectRetargetFromLabel(e){(0,F.UP)(e)&&e.stopImmediatePropagation()}getLeftContent(e){return!this.tagValidator(e)&&this.errorIconTemplate?this.errorIconTemplate:""}onCleanerClick(){var e;this.updateSearch(""),this.clear(),this.focusInput(),null===(e=this.parentHostedDropdown)||void 0===e||e.updateOpen(!0)}onActiveZone(e){this.open=!1,this.addTag(),this.updateFocused(e),!e&&!this.computedFocused&&this.scrollTo(0)}onMouseDown(e){var i;const r=(0,F.mA)(e);!this.focusableElement||r===this.focusableElement.nativeElement||!(0,F.ve)(e.target)||null!==(i=this.cleanerSvg)&&void 0!==i&&i.nativeElement.contains(e.target)||this.tagsContainer&&r!==this.tagsContainer.nativeElement&&this.tagsContainer.nativeElement.contains(r)||(e.preventDefault(),this.focusInput())}onFieldKeyDownBackspace(e){this.labelOutside||this.hasNativeValue||!this.value.length?this.onFieldKeyDownArrowLeft(e):this.deleteLastEnabledItem()}onFieldKeyDownArrowLeft(e){!this.labelOutside||this.hasNativeValue||!this.value.length||(e.preventDefault(),this.tags.last.nativeElement.focus())}onFieldKeyDownEnter(){this.addTag(),this.scrollTo()}onTagKeyDownArrowLeft(e){e>0&&this.onScrollKeyDown(e,-1)}onTagKeyDownArrowRight(e){e===this.value.length-1?this.focusInput():this.onScrollKeyDown(e,1)}onTagEdited(e,i){this.focusInput(""===e),this.value=this.filterValue(this.value.map((r,a)=>a!==i?r:e.split(this.separator).map(l=>l.trim()).filter(Boolean)).reduce((r,a)=>r.concat(a),[]))}handleOption(e){this.focusInput(),this.updateSearch(""),this.value=this.filterValue(this.value.concat(e)),this.open=!1,this.scrollTo()}onInput(e){const i=e.split(this.separator),a=i.map(l=>this.clippedValue(l.trim())).filter((l,c,{length:d})=>l.length>0&&c!==d-1).filter(l=>!this.disabledItemHandler(l));i.length>1?(this.updateSearch(this.clippedValue(i[i.length-1].trim())),this.value=this.filterValue([...this.value,...a])):this.updateSearch(this.clippedValue(e)),this.open=this.hasNativeValue}onPaste(e){const i=(0,F.Nn)(e);this.onInput(i||"")}onDrop({dataTransfer:e}){e&&this.onInput(e.getData("text")||"")}setDisabledState(){super.setDisabledState(),this.open=!1}trackByFn(e,i){return i.toString()}scrollTo(e){var i;void 0===e&&(e=null===(i=this.scrollBar)||void 0===i?void 0:i.nativeElement.scrollWidth),setTimeout(()=>{this.scrollBar&&(this.scrollBar.nativeElement.scrollLeft=e||0)})}filterValue(e){const i=new Set;return e.reverse().filter(r=>!this.uniqueTags||r&&!i.has(r)&&i.add(r)).reverse()}onScrollKeyDown(e,i){const r=this.tags.find((a,l)=>l===e+i);!r||!this.scrollBar||(r.nativeElement.focus(),i*this.scrollBar.nativeElement.clientWidth-i*r.nativeElement.offsetLeft-r.nativeElement.clientWidth<0&&(this.scrollBar.nativeElement.scrollLeft+=i*r.nativeElement.clientWidth))}updateSearch(e){this.focusableElement&&(this.focusableElement.nativeElement.value=e),this.search=e,this.searchChange.emit(e)}addTag(){var e,i;const r=null!==(i=null===(e=this.search)||void 0===e?void 0:e.trim())&&void 0!==i?i:"";!r||this.disabledItemHandler(r)||(this.updateSearch(""),this.value=this.filterValue(this.value.concat(r)))}deleteLastEnabledItem(){for(let e=this.value.length-1;e>=0;e--)if(!this.disabledItemHandler(this.value[e])){this.value=(0,_.WX)(this.value,e);break}}focusInput(e=!1){var i;null===(i=this.nativeFocusableElement)||void 0===i||i.focus({preventScroll:e})}clippedValue(e){return e.slice(0,this.maxLength||e.length)}get lineHeight(){return this.labelOutside?rc[this.controller.size]+.25:ac[this.controller.size]}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(Qt,8),n.Y36(Ct),n.Y36(te,8),n.Y36(me),n.Y36(_o),n.Y36(Ce,8),n.Y36(he))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-input-tag"]],contentQueries:function(e,i,r){if(1&e&&n.Suo(r,ao,5,n.Rgc),2&e){let a;n.iGM(a=n.CRH())&&(i.datalist=a.first)}},viewQuery:function(e,i){if(1&e&&(n.Gf(Ce,5),n.Gf(Nl,5),n.Gf(Rl,5),n.Gf(zl,5,n.SBq),n.Gf(ce,5,n.SBq),n.Gf(Bl,5),n.Gf(Yl,5,n.SBq)),2&e){let r;n.iGM(r=n.CRH())&&(i.hostedDropdown=r.first),n.iGM(r=n.CRH())&&(i.focusableElement=r.first),n.iGM(r=n.CRH())&&(i.tagsContainer=r.first),n.iGM(r=n.CRH())&&(i.cleanerSvg=r.first),n.iGM(r=n.CRH())&&(i.scrollBar=r.first),n.iGM(r=n.CRH())&&(i.errorIconTemplate=r.first),n.iGM(r=n.CRH())&&(i.tags=r)}},hostVars:7,hostBindings:function(e,i){2&e&&(n.uIk("data-size",i.size),n.ekj("_expandable",i.expandable)("_label-outside",i.labelOutside)("_icon-left",i.iconLeft))},inputs:{separator:"separator",search:"search",editable:"editable",tagValidator:"tagValidator",expandable:"expandable",rows:"rows",inputHidden:"inputHidden",uniqueTags:"uniqueTags",maxLength:"maxLength",placeholder:"placeholder",removable:"removable",disabledItemHandler:"disabledItemHandler",pseudoFocusedSetter:["pseudoFocused","pseudoFocusedSetter"]},outputs:{searchChange:"searchChange"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t),ca(t),ln,wt],[wl]),n.qOj],ngContentSelectors:oc,decls:25,vars:34,consts:[[4,"ngIf"],[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["tuiWrapper","",3,"appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon t-icon-wrapper",4,"ngIf"],[1,"t-wrapper"],[1,"t-absolute-wrapper"],["automation-id","tui-input-tag__placeholder","class","t-placeholder",3,"t-placeholder_raised",4,"ngIf"],[1,"t-scrollbar",3,"hidden"],[1,"t-tags"],[4,"ngIf","ngIfElse"],["text",""],[1,"t-input-wrapper"],[1,"t-ghost"],["automation-id","tui-input-tag__native","type","text",1,"t-native",3,"disabled","id","ngModel","placeholder","readOnly","tuiFocusable","drop.prevent","keydown.arrowLeft","keydown.backspace","keydown.enter.prevent","ngModelChange","paste.prevent"],["focusableElement",""],[1,"t-value-content"],["class","t-icons t-icon-wrapper",4,"ngIf"],["errorIcon",""],[1,"t-icon","t-icon_left","t-textfield-icon","t-icon-wrapper"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-input-tag__placeholder",1,"t-placeholder"],["automation-id","tui-input-tag__tag","class","t-tag",3,"disabled","editable","hoverable","leftContent","maxLength","removable","separator","size","status","tuiFocusable","value","edited","keydown.arrowLeft.prevent","keydown.arrowRight.prevent",4,"ngFor","ngForOf","ngForTrackBy"],["automation-id","tui-input-tag__tag",1,"t-tag",3,"disabled","editable","hoverable","leftContent","maxLength","removable","separator","size","status","tuiFocusable","value","edited","keydown.arrowLeft.prevent","keydown.arrowRight.prevent"],["tag",""],["class","t-text",3,"t-text_comma","t-text_disabled","t-text_error","textContent",4,"ngFor","ngForOf"],[1,"t-text",3,"textContent"],[1,"t-icons","t-icon-wrapper"],["automation-id","tui-input-tag__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["appearance","icon","automation-id","tui-input-tag__cleaner","tuiWrapper","","class","t-cleaner",3,"src","click.stop",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","automation-id","tui-input-tag__cleaner","tuiWrapper","",1,"t-cleaner",3,"src","click.stop"],["cleaner",""],["automation-id","tui-input-tag__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"],[1,"t-error-icon",3,"src"]],template:function(e,i){if(1&e&&(n.F$t(ic),n.YNc(0,Ul,1,0,"ng-container",0),n.ALo(1,"async"),n.TgZ(2,"tui-hosted-dropdown",1),n.NdJ("openChange",function(a){return i.open=a})("tuiActiveZoneChange",function(a){return i.onActiveZone(a)}),n.TgZ(3,"div",2),n.NdJ("click.prevent.silent",function(a){return i.detectRetargetFromLabel(a)})("mousedown",function(a){return i.onMouseDown(a)}),n.TgZ(4,"div",3),n.YNc(5,$l,2,4,"div",4),n.TgZ(6,"div",5)(7,"div",6),n.YNc(8,Vl,2,2,"div",7),n.qZA(),n.TgZ(9,"tui-scrollbar",8)(10,"div",9),n.YNc(11,jl,2,2,"ng-container",10),n.YNc(12,Wl,1,1,"ng-template",null,11,n.W1O),n.TgZ(14,"div",12)(15,"div",13),n._uU(16),n.qZA(),n.TgZ(17,"input",14,15),n.NdJ("drop.prevent",function(a){return i.onDrop(a)})("keydown.arrowLeft",function(a){return i.onFieldKeyDownArrowLeft(a)})("keydown.backspace",function(a){return i.onFieldKeyDownBackspace(a)})("keydown.enter.prevent",function(){return i.onFieldKeyDownEnter()})("ngModelChange",function(a){return i.onInput(a)})("paste.prevent",function(a){return i.onPaste(a)}),n.qZA()()(),n.TgZ(19,"div",16),n.Hsn(20),n.qZA()()(),n.Hsn(21,1),n.YNc(22,ec,4,3,"div",17),n.qZA(),n.YNc(23,nc,1,1,"ng-template",null,18,n.W1O),n.qZA()()),2&e){const r=n.MAs(13);n.Q6J("ngIf",n.lcZ(1,32,null==i.hintOptions?null:i.hintOptions.change$)),n.xp6(2),n.Q6J("canOpen",i.canOpen)("content",i.datalist||"")("open",i.open),n.xp6(1),n.Q6J("appearance",i.appearance)("disabled",i.computedDisabled)("focus",i.computedFocused)("hover",i.pseudoHover)("invalid",i.computedInvalid)("readOnly",i.readOnly),n.xp6(2),n.Q6J("ngIf",i.iconLeft),n.xp6(3),n.Q6J("ngIf",i.hasPlaceholder),n.xp6(1),n.Udp("max-height",i.computeMaxHeight,"rem"),n.Q6J("hidden",!i.expandable),n.xp6(1),n.ekj("t-tags_empty",(!i.focused||i.inputHidden)&&!(null!=i.value&&i.value.length)),n.xp6(1),n.Q6J("ngIf",i.labelOutside)("ngIfElse",r),n.xp6(3),n.ekj("t-input-wrapper_collapsed",i.computedDisabled||i.readOnly||i.inputHidden),n.xp6(2),n.Oqu(i.search),n.xp6(1),n.ekj("t-native_hidden",i.inputHidden),n.Q6J("disabled",i.computedDisabled)("id",i.id)("ngModel",i.search)("placeholder",i.placeholder)("readOnly",i.readOnly||i.inputHidden)("tuiFocusable",i.computedFocusable),n.uIk("maxLength",i.maxLength),n.xp6(5),n.Q6J("ngIf",i.hasRightIcons)}},dependencies:[Ce,gt,ce,Fl,oo,C.O5,mt.e,xt,P.Li,C.sg,jt,w.Fj,w.JJ,w.On,C.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}[_nghost-%COMP%]{cursor:text}._expandable[_nghost-%COMP%]{height:auto;max-height:none}._disabled[_nghost-%COMP%]{pointer-events:none}._readonly[_nghost-%COMP%]{cursor:default}[data-size=m][_nghost-%COMP%]{line-height:1rem}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-scrollbar[_ngcontent-%COMP%]{-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;min-width:100%;scroll-behavior:smooth}[_nghost-%COMP%]:not(._label-outside) .t-scrollbar[_ngcontent-%COMP%], ._label-outside._icon-left[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%]{margin:0}[data-size=s]._icon-left[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%]{-webkit-margin-start:.25rem;margin-inline-start:.25rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-scrollbar[_ngcontent-%COMP%]{border-top:1rem solid transparent}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-scrollbar[_ngcontent-%COMP%]{border-top:1.25rem solid transparent}.t-tags[_ngcontent-%COMP%]{display:flex;-webkit-padding-start:.25rem;padding-inline-start:.25rem}.t-tags_expandable[_ngcontent-%COMP%]{overflow:hidden}.t-tags_empty[_ngcontent-%COMP%]{height:0}._expandable[_nghost-%COMP%] .t-tags[_ngcontent-%COMP%]{flex-wrap:wrap;white-space:normal;overflow:hidden}._readonly[_nghost-%COMP%] .t-tags[_ngcontent-%COMP%]{pointer-events:none}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-tags[_ngcontent-%COMP%], [data-size=l][_nghost-%COMP%]:not(._label-outside) .t-tags[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{align-items:flex-start}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}[data-size=s][_nghost-%COMP%] .t-icon-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-icon-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-icon-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-l)}.t-absolute-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center}[data-size=m][_nghost-%COMP%] .t-absolute-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-absolute-wrapper[_ngcontent-%COMP%]{height:var(--tui-height-l)}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;padding:0;box-sizing:border-box}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:var(--tui-height-s);padding:calc((var(--tui-height-s) - 1.5rem) / 2) 0}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:var(--tui-height-m);padding:calc((var(--tui-height-m) - var(--tui-height-xs) - .25rem) / 2) 0}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:calc((var(--tui-height-l) - var(--tui-height-s) - .25rem) / 2) 0}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-wrapper[_ngcontent-%COMP%]{padding:calc((var(--tui-height-m) - 2rem) / 2) 0}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-wrapper[_ngcontent-%COMP%]{padding:calc((var(--tui-height-l) - 2.5rem) / 2) 0}.t-tag[_ngcontent-%COMP%]{margin:.125rem .5rem .125rem -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem;max-width:100%;flex-shrink:0}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}.t-text[_ngcontent-%COMP%]:after{content:",\\a0"}.t-text_disabled[_ngcontent-%COMP%]{color:var(--tui-text-03)}.t-text_error[_ngcontent-%COMP%]{color:var(--tui-negative)}.t-text[_ngcontent-%COMP%]:not(.t-text_comma):last-of-type:after{content:""}[_nghost-%COMP%]:not(._expandable) .t-text[_ngcontent-%COMP%]{white-space:nowrap}.t-input-wrapper[_ngcontent-%COMP%], .t-value-content[_ngcontent-%COMP%]{position:relative;display:flex;flex:1;max-width:100%}[data-size=s][_nghost-%COMP%] .t-input-wrapper[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-value-content[_ngcontent-%COMP%]{min-height:1.5rem}[data-size=m][_nghost-%COMP%] .t-input-wrapper[_ngcontent-%COMP%], [data-size=m][_nghost-%COMP%] .t-value-content[_ngcontent-%COMP%]{min-height:calc(var(--tui-height-xs) + 2 * .125rem)}[data-size=l][_nghost-%COMP%] .t-input-wrapper[_ngcontent-%COMP%], [data-size=l][_nghost-%COMP%] .t-value-content[_ngcontent-%COMP%]{min-height:calc(var(--tui-height-s) + 2 * .125rem)}[_nghost-%COMP%]:not(._label-outside) .t-input-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%]:not(._label-outside) .t-value-content[_ngcontent-%COMP%]{min-height:1rem}.t-input-wrapper_collapsed[_ngcontent-%COMP%]{flex:0;-webkit-margin-start:-.5rem;margin-inline-start:-.5rem}.t-value-content[_ngcontent-%COMP%]:empty{display:none}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip;min-width:.125rem}[_nghost-%COMP%]:not(._expandable) .t-ghost[_ngcontent-%COMP%]{min-width:2rem}.t-native[_ngcontent-%COMP%]{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;padding:0;cursor:inherit}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-native_hidden[_ngcontent-%COMP%]{opacity:0;text-indent:-10em}.t-native[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-native[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03-night)}._focused[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]:not(:-moz-read-only)::placeholder{opacity:1}._focused[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]:not(:read-only)::placeholder{opacity:1}.t-error-icon[_ngcontent-%COMP%]{display:block;color:var(--tui-error-fill);width:1rem;height:1rem}'],changeDetection:0}),t})(),cc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[T.FY],imports:[[C.ez,w.u5,P.wq,Zt,ue,mt.A,_t,Be,ro,io,Hl,yt]]}),t})(),mo=(()=>{class t{constructor(){this.indeterminate=!1,this.checked=!1,this.tuiCheckedChange=new n.vpe}get isChecked(){return this.checked}get isIndeterminate(){return this.indeterminate}set tuiChecked(e){this.checked=e||!1,this.indeterminate=null===e}onChange({checked:e}){this.checked=e,this.indeterminate=!1,this.tuiCheckedChange.emit(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["input","tuiChecked",""],["input","tuiCheckedChange",""]],hostVars:2,hostBindings:function(e,i){1&e&&n.NdJ("change",function(a){return i.onChange(a.target)}),2&e&&n.Ikx("checked",i.isChecked)("indeterminate",i.isIndeterminate)},inputs:{tuiChecked:"tuiChecked"},outputs:{tuiCheckedChange:"tuiCheckedChange"}}),t})(),fo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),vo=(()=>{class t{constructor({nativeElement:e},i){this.tuiFocusedChange=(0,q.T)((0,D.mL)(e,"focusin"),(0,D.mL)(e,"focusout")).pipe((0,y.U)(()=>(0,z.V8)(e)),(0,Rt.O)(!1),(0,vt.x)(),(0,un.T)(1),(0,D.Yr)(i))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.R0b))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiFocusedChange",""]],outputs:{tuiFocusedChange:"tuiFocusedChange"}}),t})(),Mo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Co=(()=>{class t{constructor(e){this.tuiFocusVisibleChange=e}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.ku))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiFocusVisibleChange",""]],outputs:{tuiFocusVisibleChange:"tuiFocusVisibleChange"},features:[n._Bn([T.a3,T.ku])]}),t})(),Oo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const uc=["focusableElement"];function dc(t,o){if(1&t&&n._UZ(0,"tui-loader",7),2&t){const e=n.oxw();n.Q6J("inheritColor",!0)("showLoader",e.value)("size",e.loaderSize)}}function pc(t,o){1&t&&n._UZ(0,"tui-svg",10),2&t&&n.Q6J("src",o.polymorpheusOutlet)}const To=function(t){return{$implicit:t}};function hc(t,o){if(1&t&&(n.TgZ(0,"span",8),n.YNc(1,pc,1,1,"tui-svg",9),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconOn)("polymorpheusOutletContext",n.VKq(2,To,e.size))}}function gc(t,o){if(1&t&&n._UZ(0,"tui-loader",7),2&t){const e=n.oxw();n.Q6J("inheritColor",!0)("showLoader",!e.value)("size",e.loaderSize)}}function _c(t,o){1&t&&n._UZ(0,"tui-svg",12),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function mc(t,o){if(1&t&&(n.TgZ(0,"span",8),n.YNc(1,_c,1,1,"tui-svg",11),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconOff)("polymorpheusOutletContext",n.VKq(2,To,e.size))}}const bo={icons:{toggleOff:({$implicit:t})=>"m"===t?"tuiIconToggleOff":"tuiIconToggleOffLarge",toggleOn:({$implicit:t})=>"m"===t?"tuiIconToggleOn":"tuiIconToggleOnLarge"},appearances:{checked:pt.Primary,unchecked:pt.Secondary},singleColor:!1,showIcons:!1,size:"m"},Po=(0,_.JN)(bo);let fc=(()=>{class t extends E.M${constructor(e,i,r,a){super(e,i),this.modeDirective=r,this.options=a,this.singleColor=this.options.singleColor,this.showIcons=this.options.showIcons,this.showLoader=!1,this.size=this.options.size}get iconOn(){return this.options.icons.toggleOn}get iconOff(){return this.options.icons.toggleOff}get nativeFocusableElement(){var e,i;return null!==(i=null===(e=this.focusableElement)||void 0===e?void 0:e.nativeElement)&&void 0!==i?i:null}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get appearance(){return this.singleColor||this.value?this.options.appearances.checked:this.options.appearances.unchecked}get sizeM(){return"m"===this.size}get loaderSize(){return this.sizeM?"xs":"s"}get hostMode(){var e,i;return null!==(i=null===(e=this.modeDirective)||void 0===e?void 0:e.mode)&&void 0!==i?i:null}onChecked(e){this.value=e}onFocused(e){this.updateFocused(e)}onFocusVisible(e){this.updateFocusVisible(e)}getFallbackValue(){return!1}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(Qt,8),n.Y36(Po))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-toggle"]],viewQuery:function(e,i){if(1&e&&n.Gf(uc,5),2&e){let r;n.iGM(r=n.CRH())&&(i.focusableElement=r.first)}},hostVars:4,hostBindings:function(e,i){2&e&&(n.uIk("data-size",i.size)("data-mode",i.hostMode),n.ekj("_checked",i.value))},inputs:{singleColor:"singleColor",showIcons:"showIcons",showLoader:"showLoader",size:"size"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t)]),n.qOj],decls:9,vars:16,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly"],[1,"t-toggle"],["class","t-loader",3,"inheritColor","showLoader","size",4,"ngIf"],["class","t-icon-wrapper",4,"ngIf"],[1,"t-circle"],["automation-id","tui-toggle__checkbox","role","switch","type","checkbox",1,"t-checkbox",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-loader",3,"inheritColor","showLoader","size"],[1,"t-icon-wrapper"],["automation-id","tui-toggle__check-icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__check-icon",1,"t-icon",3,"src"],["automation-id","tui-toggle__cancel-icon","class","t-icon t-icon_off",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__cancel-icon",1,"t-icon","t-icon_off",3,"src"]],template:function(e,i){1&e&&(n.TgZ(0,"div",0)(1,"div",1),n.YNc(2,dc,1,3,"tui-loader",2),n.YNc(3,hc,2,4,"span",3),n._UZ(4,"div",4),n.YNc(5,gc,1,3,"tui-loader",2),n.YNc(6,mc,2,4,"span",3),n.qZA(),n.TgZ(7,"input",5,6),n.NdJ("tuiCheckedChange",function(a){return i.value=a})("tuiFocusedChange",function(a){return i.onFocused(a)})("tuiFocusVisibleChange",function(a){return i.onFocusVisible(a)}),n.qZA()()),2&e&&(n.Q6J("active",i.pseudoActive)("appearance",i.appearance)("disabled",i.computedDisabled)("focus",i.computedFocusVisible)("hover",i.pseudoHover)("invalid",i.computedInvalid)("readOnly",i.readOnly),n.xp6(2),n.Q6J("ngIf",i.showLoader),n.xp6(1),n.Q6J("ngIf",i.showIcons&&!i.showLoader),n.xp6(2),n.Q6J("ngIf",i.showLoader),n.xp6(1),n.Q6J("ngIf",i.showIcons&&!i.showLoader),n.xp6(1),n.Q6J("disabled",i.disabled)("id",i.id)("tuiFocusable",i.focusable)("tuiChecked",i.value),n.uIk("aria-checked",i.value))},dependencies:[nn,gt,xt,C.O5,P.Li,mo,jt,vo,Co],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}[data-size=m][_nghost-%COMP%]{width:2rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:3rem;height:1.5rem}.t-checkbox[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.t-checkbox[_ngcontent-%COMP%]:-webkit-autofill, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-checkbox[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.t-toggle[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}[data-size=m][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:3rem;height:1rem;transform:translate(-1rem)}[data-size=l][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:4.5rem;height:1.5rem;transform:translate(-1.5rem)}._checked[_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{transform:translate(0)}.t-circle[_ngcontent-%COMP%]{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}._disabled[_nghost-%COMP%] .t-circle_light[_ngcontent-%COMP%]{opacity:.24}[data-size=m][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:.75rem;height:.75rem}[data-size=l][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:1rem;height:1rem}._disabled[_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{background-color:var(--tui-base-01)}.t-loader[_ngcontent-%COMP%]{min-width:auto}[_nghost-%COMP%]:not(._checked) .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-06)}[_nghost-%COMP%]:not(._checked)._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-05)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:.75rem;margin:0 .2rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:1rem;margin:0 .25rem}.t-icon-wrapper[_ngcontent-%COMP%]{display:flex}.t-icon[_ngcontent-%COMP%]{opacity:.8}.t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-06)}._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-05)}[data-mode=onDark][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[data-mode=onLight][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{margin:0 .125rem;width:1.5rem;height:1.5rem}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0}),t})(),vc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,Mo,Zt,Ue,Oo,fo,yt,_t,on,P.wq]]}),t})();const Mc=t=>t.querySelector("input,textarea")||t,Ut={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class Cc{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const o=this.past.pop();o&&this.now&&(this.future.push(this.now),this.updateElement(o,"historyUndo"))}redo(){const o=this.future.pop();o&&this.now&&(this.past.push(this.now),this.updateElement(o,"historyRedo"))}updateHistory(o){if(!this.now)return void(this.now=o);const e=this.now.value!==o.value,i=this.now.selection.some((r,a)=>r!==o.selection[a]);!e&&!i||(e&&(this.past.push(this.now),this.future=[]),this.now=o)}updateElement(o,e){this.now=o,this.updateElementState(o,{inputType:e,data:null})}}function Oe(t){return"string"==typeof t}function Do(t,o,e,i){let r="";for(let a=o.length;a{const r=o[i];return Oe(r)?e===r:e.match(r)}):o.test(t)}function Te(t,o,e=null){if(wo(t.value,o))return t;const{value:i,selection:r}=Array.isArray(o)?function Pc(t,o,e){let i=null,r=null;const a=Array.from(t.value).reduce((c,d,p)=>{const g=c+Do(o,c,d,e),m=o[g.length];return Oe(m)?g+m:d.match(m)?(null===i&&p>=t.selection[0]&&(i=g.length),null===r&&p>=t.selection[1]&&(r=g.length),g+d):g},""),l=Do(o,a,"",e);return{value:wo(a+l,o)?a+l:a,selection:[null!=i?i:a.length,null!=r?r:a.length]}}(t,o,e):function Dc({value:t,selection:o},e){const[i,r]=o;let a=i,l=r;return{value:Array.from(t).reduce((d,p,h)=>{const g=d+p;return i===h&&(a=d.length),r===h&&(l=d.length),g.match(e)?g:d},""),selection:[a,l]}}(t,o);return{selection:r,value:Array.isArray(o)?i.slice(0,o.length):i}}function xo(t,o){if(!Array.isArray(o))return t;const[e,i]=t.selection,r=[],a=Array.from(t.value).reduce((l,c,d)=>{const p=o[d];return d===e&&r.push(l.length),d===i&&r.push(l.length),Oe(p)&&p===c?l:l+c},"");return r.length<2&&r.push(...new Array(2-r.length).fill(a.length)),{value:a,selection:[r[0],r[1]]}}class hn{constructor(o,e){this.initialElementState=o,this.maskOptions=e,this.value="",this.selection=[0,0];const{value:i,selection:r}=Te(o,this.getMaskExpression(o));this.value=i,this.selection=r}addCharacters([o,e],i){const{value:r}=this,a=this.getMaskExpression({value:r.slice(0,o)+i+r.slice(e),selection:[o+i.length,o+i.length]}),l={value:r,selection:[o,e]},c=xo(l,a),[d,p]=function bc({value:t,selection:o},e,i){const[r,a]=o;return{value:t,selection:"replace"===("function"==typeof i?i({value:t,selection:o}):i)?[r,r+e.length]:[r,a]}}(c,i,this.maskOptions.overwriteMode).selection,h=c.value.slice(0,d)+i,g=h.length,m=Te({value:h+c.value.slice(p),selection:[g,g]},a,l);if(r.slice(0,d)===Te({value:h,selection:[g,g]},a,l).value||function Tc(t,...o){return o.every(({value:e,selection:i})=>e===t.value&&i[0]===t.selection[0]&&i[1]===t.selection[1])}(this,m))throw new Error("Invalid mask value");this.value=m.value,this.selection=m.selection}deleteCharacters([o,e]){if(o===e||!e)return;const{value:i}=this,r=this.getMaskExpression({value:i.slice(0,o)+i.slice(e),selection:[o,o]}),a={value:i,selection:[o,e]},l=xo(a,r),[c,d]=l.selection,h=Te({value:l.value.slice(0,c)+l.value.slice(d),selection:[c,c]},r,a);this.value=h.value,this.selection=h.selection}getMaskExpression(o){const{mask:e}=this.maskOptions;return"function"==typeof e?e(o):e}}class wc{constructor(o){this.element=o,this.listeners=[]}listen(o,e,i){const r=e;this.element.addEventListener(o,r,i),this.listeners.push(()=>this.element.removeEventListener(o,r))}destroy(){this.listeners.forEach(o=>o())}}function ee(t,o,e){return t.ctrlKey===!!(1&o)&&t.altKey===!!(2&o)&&t.shiftKey===!!(4&o)&&t.metaKey===!!(8&o)&&t.keyCode===e}function kc({value:t,selection:o},e){const[i,r]=o;if(i!==r)return[i,r];const a=e?t.slice(i).indexOf("\n")+1||t.length:t.slice(0,r).lastIndexOf("\n")+1;return[e?i:a,e?a:r]}function yo({value:t,selection:o},e){const[i,r]=o;return i!==r?[i,r]:(e?[i,r+1]:[i-1,r]).map(l=>Math.min(Math.max(l,0),t.length))}const Io=/\s+$/g,So=/^\s+/g,ko=/\s/;function Ec({value:t,selection:o},e){const[i,r]=o;if(i!==r)return[i,r];if(e){const d=t.slice(i),[p]=d.match(So)||[""],h=d.replace(So,"").search(ko);return[i,-1!==h?i+p.length+h:t.length]}const a=t.slice(0,r),[l]=a.match(Io)||[""],c=a.replace(Io,"").split("").reverse().findIndex(d=>d.match(ko));return[-1!==c?r-l.length-c:0,r]}function be(t=[]){return(o,...e)=>t.reduce((i,r)=>Object.assign(Object.assign({},i),r(i,...e)),o)}class Lc extends Cc{constructor(o,e){super(),this.element=o,this.maskitoOptions=e,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new wc(this.element),this.options=Object.assign(Object.assign({},Ut),this.maskitoOptions),this.preprocessor=be(this.options.preprocessors),this.postprocessor=be(this.options.postprocessors),this.teardowns=this.options.plugins.map(i=>i(this.element,this.options)),this.ensureValueFitsMask(),this.updateHistory(this.elementState),this.eventListener.listen("keydown",i=>function xc(t){return ee(t,1,89)||ee(t,5,90)||ee(t,12,90)}(i)?(i.preventDefault(),this.redo()):function yc(t){return ee(t,1,90)||ee(t,8,90)}(i)?(i.preventDefault(),this.undo()):void 0),function Ic(t){return"onbeforeinput"in t}(o)?this.eventListener.listen("beforeinput",i=>{const r=i.inputType.includes("Forward");switch(this.updateHistory(this.elementState),i.inputType){case"historyUndo":return i.preventDefault(),this.undo();case"historyRedo":return i.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:i,isForward:r,selection:yo(this.elementState,r)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:i,isForward:r,selection:Ec(this.elementState,r),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:i,isForward:r,selection:kc(this.elementState,r),force:!0});case"insertCompositionText":return;case"insertLineBreak":return this.handleEnter(i);default:return this.handleInsert(i,i.data||"")}}):(this.eventListener.listen("keydown",i=>this.handleKeydown(i)),this.eventListener.listen("paste",i=>{var r;return this.handleInsert(i,(null===(r=i.clipboardData)||void 0===r?void 0:r.getData("text/plain"))||"")})),this.eventListener.listen("input",({inputType:i})=>{"insertCompositionText"!==i&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))}),this.eventListener.listen("compositionend",()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)})}get elementState(){const{value:o,selectionStart:e,selectionEnd:i}=this.element;return{value:o,selection:[e||0,i||0]}}get maxLength(){const{maxLength:o}=this.element;return-1===o?1/0:o}destroy(){this.eventListener.destroy(),this.teardowns.forEach(o=>null==o?void 0:o())}updateElementState({value:o,selection:e},i={inputType:"insertText",data:null}){const r=this.elementState.value;this.updateValue(o),this.updateSelectionRange(e),r!==o&&this.dispatchInputEvent(i)}updateSelectionRange([o,e]){var i,r;(this.element.selectionStart!==o||this.element.selectionEnd!==e)&&(null===(r=(i=this.element).setSelectionRange)||void 0===r||r.call(i,o,e))}updateValue(o){this.element.value=o}ensureValueFitsMask(){this.updateElementState(function Ac(t,o){const e=Object.assign(Object.assign({},Ut),o),i=be(e.preprocessors),r=be(e.postprocessors),a="string"==typeof t?{value:t,selection:[0,0]}:t,{elementState:l}=i({elementState:a,data:""},"validation"),c=new hn(l,e),{value:d,selection:p}=r(c,a);return"string"==typeof t?d:{value:d,selection:p}}(this.elementState,this.options))}dispatchInputEvent(o={inputType:"insertText",data:null}){const e=typeof window<"u"?window:globalThis;null!=e&&e.InputEvent&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},o),{bubbles:!0,cancelable:!1})))}handleKeydown(o){const e=o.key,i="Delete"===e;switch(e){case"Backspace":case"Delete":return this.handleDelete({event:o,isForward:i,selection:yo(this.elementState,i)});case"Enter":return this.handleEnter(o)}(function Sc({key:t,ctrlKey:o,metaKey:e,altKey:i}){const r=o||e||i,a=/^.$/u.test(t);return!r&&"Backspace"!==t&&a})(o)&&this.handleInsert(o,e)}handleDelete({event:o,selection:e,isForward:i,force:r=!1}){const a={value:this.elementState.value,selection:e},[l,c]=a.selection,{elementState:d}=this.preprocessor({elementState:a,data:""},i?"deleteForward":"deleteBackward"),p=new hn(d,this.options),[h,g]=d.selection;p.deleteCharacters([h,g]);const m=this.postprocessor(p,a);if(a.value.slice(0,l)+a.value.slice(c)!==m.value||r)return o.preventDefault(),function Oc(t,...o){return o.every(({value:e})=>e===t.value)}(a,d,p,m)?this.updateSelectionRange(i?[g,g]:[h,h]):(this.updateElementState(m,{inputType:"inputType"in o?o.inputType:i?"deleteContentForward":"deleteContentBackward",data:null}),void this.updateHistory(m))}handleInsert(o,e){const i=this.elementState,{elementState:r,data:a=e}=this.preprocessor({data:e,elementState:i},"insert"),l=new hn(r,this.options);try{l.addCharacters(r.selection,a)}catch{return o.preventDefault()}const[c,d]=r.selection,p=r.value.slice(0,c)+e+r.value.slice(d),h=this.postprocessor(l,i);if(h.value.length>this.maxLength)return o.preventDefault();p!==h.value&&(o.preventDefault(),this.updateElementState(h,{data:e,inputType:"inputType"in o?o.inputType:"insertText"}),this.updateHistory(h))}handleEnter(o){this.isTextArea&&this.handleInsert(o,"\n")}}const Eo=new Date("0001-01-01"),gn=new Date("9999-12-31"),Hc=["-","\u2013","\u2014","\u2212"];function St(t,o,e){const i=Math.min(Number(e),Math.max(Number(o),Number(t)));return t instanceof Date?new Date(i):i}const Ho=t=>{var o,e,i;return{day:(null===(o=t.match(/d/g))||void 0===o?void 0:o.length)||0,month:(null===(e=t.match(/m/g))||void 0===e?void 0:e.length)||0,year:(null===(i=t.match(/y/g))||void 0===i?void 0:i.length)||0}};function De(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function we(t,o){return!(t.length!e.match(/^0+$/))}function xe(t,o,e){const i=o.replace(/\W/g,"").length;return t.replace(e,"").match(new RegExp("(\\D*\\d[^\\d\\s]*){1,".concat(i,"}"),"g"))||[]}function ye(t){return t.reduce((o,[e,i])=>Object.assign(Object.assign({},o),{[e]:i}),{})}function oe(t,o){const e=o.replace(/[^dmy]/g,""),i=t.replace(/\D+/g,""),r={day:i.slice(e.indexOf("d"),e.lastIndexOf("d")+1),month:i.slice(e.indexOf("m"),e.lastIndexOf("m")+1),year:i.slice(e.indexOf("y"),e.lastIndexOf("y")+1)};return ye(Object.entries(r).filter(([a,l])=>!!l).sort(([a],[l])=>o.toLowerCase().indexOf(a[0])>o.toLowerCase().indexOf(l[0])?1:-1))}function re(t,o){var e,i,r,a,l,c,d;const p=2===(null===(e=t.year)||void 0===e?void 0:e.length)?"20".concat(t.year):t.year,h=new Date(Number(null!=p?p:"0"),Number(null!==(i=t.month)&&void 0!==i?i:"1")-1,Number(null!==(r=t.day)&&void 0!==r?r:"1"),Number(null!==(a=null==o?void 0:o.hours)&&void 0!==a?a:"0"),Number(null!==(l=null==o?void 0:o.minutes)&&void 0!==l?l:"0"),Number(null!==(c=null==o?void 0:o.seconds)&&void 0!==c?c:"0"),Number(null!==(d=null==o?void 0:o.milliseconds)&&void 0!==d?d:"0"));return h.setFullYear(Number(null!=p?p:"0")),h}const X=", ";function kt({day:t,month:o,year:e,hours:i,minutes:r,seconds:a,milliseconds:l},c,d){var p;const h=2===(null===(p=c.match(/y/g))||void 0===p?void 0:p.length)?null==e?void 0:e.slice(-2):e;return(c+(d?X+d:"")).replace(/d+/g,null!=t?t:"").replace(/m+/g,null!=o?o:"").replace(/y+/g,null!=h?h:"").replace(/H+/g,null!=i?i:"").replace(/MSS/g,null!=l?l:"").replace(/M+/g,null!=r?r:"").replace(/S+/g,null!=a?a:"").replace(/^\D+/g,"").replace(/\D+$/g,"")}function Ie(t,o,e=0){return Number(t.padEnd(o.length,"0"))<=Number(o)?{validatedSegmentValue:t,prefixedZeroesCount:e}:t.endsWith("0")?Ie("0".concat(t.slice(0,o.length-1)),o,e+1):Ie("".concat(t.slice(0,o.length-1),"0"),o,e)}const Rc={day:31,month:12,year:9999};function No({dateString:t,dateModeTemplate:o,offset:e,selection:[i,r]}){const a=oe(t,o),l=Object.entries(a),c={};let d=0;for(const[g,m]of l){const f=kt(c,o),v=Rc[g],S=e+f.length+(f.length&&1)+Ho(o)[g],k=S>=i&&S===r;if(k&&Number(m)>Number(v))return{validatedDateString:"",updatedSelection:[i,r]};if(k&&Number(m)<1)return{validatedDateString:"",updatedSelection:[i,r]};const{validatedSegmentValue:V,prefixedZeroesCount:G}=Ie(m,"".concat(v));d+=G,c[g]=V}const p=kt(c,o),h=p.length-t.length;return{validatedDateString:p,updatedSelection:[i+d+h,r+d+h]}}const Ro=/[\\^$.*+?()[\]{}|]/g,zc=new RegExp(Ro.source);function Y(t){return t&&zc.test(t)?t.replace(Ro,"\\$&"):t}function zo(t,o){const e=Ho(o);return ye(Object.entries(t).map(([i,r])=>{const a=e[i];return[i,r.length===a&&r.match(/^0+$/)?"1".padStart(a,"0"):r]}))}function Bo({dateModeTemplate:t,min:o=Eo,max:e=gn,rangeSeparator:i="",dateSegmentSeparator:r="."}){return({value:a,selection:l})=>{const c=i&&a.endsWith(i),d=xe(a,t,i);let p="";for(const h of d){p+=p?i:"";const g=oe(h,t);we(h,t)?p+=kt(De(St(re(g),o,e)),t):p+=kt(zo(g,t),t)+(h.endsWith(r)?r:"")}return{selection:l,value:p+(c?i:"")}}}function vn({dateModeTemplate:t,dateSegmentsSeparator:o,rangeSeparator:e=""}){return({elementState:i,data:r})=>{const a=e?new RegExp("".concat(e,"|-")):X,l=r.split(a),c=r.includes(X)?[l[0]]:l;if(c.every(d=>d.trim().split(/\D/).length===t.split(o).length)){const d=c.map(p=>function Uc(t,o,e){const i=t.split(/\D/),r=o.split(e);return i.map((l,c)=>c===r.length-1?l:l.padStart(r[c].length,"0")).join(e)}(p,t,o)).join(e);return{elementState:i,data:"".concat(d).concat(r.includes(X)&&X+l[1]||"")}}return{elementState:i,data:r}}}function Yo({dateModeTemplate:t,dateSegmentsSeparator:o,rangeSeparator:e=""}){return({elementState:i,data:r})=>{const{value:a,selection:l}=i;if(r===o)return{elementState:i,data:l[0]===a.length?r:""};if(Hc.includes(r))return{elementState:i,data:e};const c=r.replace(new RegExp("[^\\d".concat(Y(o)).concat(e,"]"),"g"),"");if(!c)return{elementState:i,data:""};const[d,p]=l;let h=p+r.length;const g=a.slice(0,d)+c+a.slice(h),m=xe(g,t,e);let f="";const v=!!e&&g.includes(e);for(const S of m){const{validatedDateString:k,updatedSelection:V}=No({dateString:S,dateModeTemplate:t,offset:f?f.length+e.length:0,selection:[d,h]});if(S&&!k)return{elementState:i,data:""};h=V[1],f+=v&&f?e+k:k}const b=f.slice(d,h);return{elementState:{selection:l,value:f.slice(0,d)+b.split(o).map(S=>"0".repeat(S.length)).join(o)+f.slice(h)},data:b}}}new RegExp("[".concat([":","."].map(Y).join(""),"]$"));var Qo=M(409);let _u=(()=>{class t{constructor(e,i,r){this.el=e,this.zone=i,this.destroy$=r,this.eventName=""}ngOnInit(){(0,Qo.R)(this.el.nativeElement,this.eventName,{passive:!1}).pipe((0,D.fL)(this.zone),(0,D.mp)(),(0,J.R)(this.destroy$)).subscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(T.a3,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiPreventDefault",""]],inputs:{eventName:["tuiPreventDefault","eventName"]},features:[n._Bn([T.a3])]}),t})(),mu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),fu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-autofilled-styles"],decls:0,vars:0,template:function(e,i){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),t})(),vu=(()=>{class t{constructor(e){this.autofilled=!1,this.tuiAutofilledChange=new n.vpe,e.addComponent(fu)}transitionStartHandler({propertyName:e,target:i}){var r;e.includes("box-shadow")&&(null===(r=i)||void 0===r?void 0:r.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.gH))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(e,i){1&e&&n.NdJ("transitionstart",function(a){return i.transitionStartHandler(a)}),2&e&&n.ekj("_autofilled",i.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),t})(),Mu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Cu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["input","tuiMaskAccessor",""]],features:[n._Bn([{provide:w.JU,deps:[[new n.FiY,ii],w.Fj],multi:!0,useFactory:(o,e)=>o?o[0]:e}])]}),t})(),Ou=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const Tu=["pre"],bu=["focusableElement"];function Pu(t,o){1&t&&n.GkF(0)}function Du(t,o){1&t&&n.GkF(0)}function wu(t,o){1&t&&(n.TgZ(0,"div",17),n.Hsn(1,2),n.qZA())}function xu(t,o){1&t&&n._UZ(0,"tui-svg",20),2&t&&n.Q6J("src",o.polymorpheusOutlet)}const On=function(t){return{$implicit:t}};function yu(t,o){if(1&t&&(n.TgZ(0,"div",18),n.YNc(1,xu,1,1,"tui-svg",19),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconLeftContent)("polymorpheusOutletContext",n.VKq(2,On,e.size))}}function Iu(t,o){if(1&t&&(n.TgZ(0,"label",21),n.Hsn(1,3),n.qZA()),2&t){const e=n.oxw();n.ekj("t-placeholder_raised",e.placeholderRaised),n.Q6J("for",e.computedId)}}function Su(t,o){1&t&&n._UZ(0,"tui-svg",24),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function ku(t,o){if(1&t&&(n.TgZ(0,"div",22),n.YNc(1,Su,1,1,"tui-svg",23),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.controller.customContent)}}function Eu(t,o){1&t&&n._UZ(0,"tui-svg",27),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function Au(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"span",25),n.NdJ("click.stop",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.clear())}),n.YNc(1,Eu,1,1,"tui-svg",26),n.qZA()}if(2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconCleaner||e.controller.options.iconCleaner)("polymorpheusOutletContext",n.VKq(2,On,e.size))}}function Lu(t,o){if(1&t&&n._UZ(0,"tui-tooltip",28),2&t){const e=n.oxw();n.Q6J("content",null==e.hintOptions?null:e.hintOptions.content)("describeId",e.computedId)}}function Fu(t,o){1&t&&n._UZ(0,"tui-svg",20),2&t&&n.Q6J("src",o.polymorpheusOutlet)}function Hu(t,o){if(1&t&&(n.TgZ(0,"div",29),n.YNc(1,Fu,1,1,"tui-svg",19),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.iconContent)("polymorpheusOutletContext",n.VKq(2,On,e.size))}}const Nu=[[["input"]],[["select"]],[["tuiContent"]],"*"],Ru=["input","select","tuiContent","*"],zu=["tuiTextfield",""];let Bu=(()=>{class t{constructor(e,i){this.textfield=e,this.fontsReady$=i,this.prefix$=new zt.X(""),this.pre$=(0,q.T)(this.fontsReady$,this.prefix$).pipe((0,Xt.g)(0),(0,ft.h)(()=>{var r;return!(null===(r=this.pre)||void 0===r||!r.nativeElement.isConnected)}),(0,y.U)(()=>{var r;return(null===(r=this.pre)||void 0===r?void 0:r.nativeElement.offsetWidth)||0}),(0,vt.x)())}get isContextTable(){return this.textfield.appearance===pt.Table}get value(){return this.textfield.value}get filler(){const{focused:e,placeholder:i,exampleText:r,value:a,textfield:l}=this;return i&&r?"":e?r||l.filler.slice(a.length):""}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}ngDoCheck(){this.prefix$.next(this.prefix)}get placeholder(){var e;return(null===(e=this.textfield.nativeFocusableElement)||void 0===e?void 0:e.placeholder)||""}get exampleText(){return!this.value&&this.focused?this.placeholder:""}get decorationsVisible(){return!!this.value||this.focused&&!this.placeholder}get focused(){return this.textfield.computedFocused&&!this.textfield.readOnly}get computedPostfix(){return this.textfield.postfix&&(this.filler||this.value)?" ".concat(this.textfield.postfix):this.textfield.postfix}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(H.KZ),n.Y36(H.tS))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(e,i){if(1&e&&n.Gf(Tu,7,n.SBq),2&e){let r;n.iGM(r=n.CRH())&&(i.pre=r.first)}},hostVars:4,hostBindings:function(e,i){1&e&&n.NdJ("animationstart",function(){return i.ngDoCheck()}),2&e&&n.ekj("_table",i.isContextTable)("_filler",i.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(e,i){1&e&&n._UZ(0,"span",0,1)(2,"span",2)(3,"span",3)(4,"span",4),2&e&&(n.Q6J("textContent",i.prefix),n.xp6(2),n.Q6J("textContent",i.value),n.xp6(1),n.Q6J("textContent",i.filler),n.xp6(1),n.Q6J("textContent",i.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-03);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-03-night)}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-01)}tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-prefix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"][_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%], tui-primitive-textfield [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%] .t-postfix[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),t})();const Yu={s:1.25,m:1.75,l:2.25};let Tn=(()=>{class t extends E.Xn{constructor(e,i,r,a){super(),this.controller=e,this.hintOptions=i,this.options=r,this.el=a,this.editable=!0,this.textfieldFiller="",this.iconCleaner=this.options.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.textfieldPrefix="",this.textfieldPostfix="",this.value="",this.valueChange=new n.vpe,this.autofilled=!1}get prefix(){return this.textfieldPrefix||this.controller.prefix}get postfix(){return this.textfieldPostfix||this.controller.postfix}get filler(){return this.textfieldFiller||this.controller.filler}get nativeFocusableElement(){if(this.computedDisabled||!this.focusableElement)return null;const{nativeElement:e}=this.focusableElement;return e.previousElementSibling||e}get focused(){return(0,z.zb)(this.el.nativeElement)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){var e;return!(null===(e=this.content)||void 0===e||!e.length)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){var e;return!(null===(e=this.hintOptions)||void 0===e||!e.content||this.computedDisabled)}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){var e;const r=((null===(e=this.nativeFocusableElement)||void 0===e?void 0:e.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!r}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return function qr(t,o=!1,e=!1,i=!1,r="m"){const a="s"===r?0:.25;let l=0;return t&&(l+=1.5+a),o&&(l+=1.5+a),e&&(l+=1.5+a),i&&(l+=2.5+a),l}(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){var e;return!(null===(e=this.hintOptions)||void 0===e||!e.content)&&(this.options.hintOnDisabled||!this.computedDisabled)}get name(){var e;return"cc-exp"===(null===(e=this.nativeFocusableElement)||void 0===e?void 0:e.autocomplete)?"ccexpiryyear":null}get computedId(){var e;return(null===(e=this.nativeFocusableElement)||void 0===e?void 0:e.id)||""}onFocused(e){this.updateFocused(e)}getIndent$(e){return(0,Qo.R)(e,"scroll").pipe((0,y.U)(()=>-1*Math.max(e.scrollLeft,0)))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(e){const{nativeFocusableElement:i}=this;!i||e.target===i||(e.preventDefault(),i.focus())}onModelChange(e){this.updateValue(e)}onAutofilled(e){this.updateAutofilled(e)}detectRetargetFromLabel(e){(0,F.UP)(e)&&e.stopImmediatePropagation()}get iconPaddingLeft(){return Yu[this.size]}get placeholderRaisable(){return"s"!==this.size&&!this.controller.labelOutside}updateAutofilled(e){this.autofilled!==e&&(this.autofilled=e)}updateValue(e){this.value=e,this.valueChange.emit(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(me),n.Y36(te,8),n.Y36(an),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-textfield"]],contentQueries:function(e,i,r){if(1&e&&n.Suo(r,P.Li,5),2&e){let a;n.iGM(a=n.CRH())&&(i.content=a)}},viewQuery:function(e,i){if(1&e&&n.Gf(bu,5),2&e){let r;n.iGM(r=n.CRH())&&(i.focusableElement=r.first)}},hostVars:15,hostBindings:function(e,i){1&e&&n.NdJ("focusin",function(){return i.onFocused(!0)})("focusout",function(){return i.onFocused(!1)}),2&e&&(n.uIk("data-size",i.size),n.Udp("--border-start",i.borderStart,"rem")("--border-end",i.borderEnd,"rem"),n.ekj("_autofilled",i.autofilled)("_label-outside",i.controller.labelOutside)("_readonly",i.readOnly)("_invalid",i.computedInvalid)("_hidden",i.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[n._Bn([(0,H.FT)(t),ln]),n.qOj],ngContentSelectors:Ru,decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown","tuiAutofilledChange"],["automation-id","tui-primitive-textfield__native-input","tuiMaskAccessor","",1,"t-input",3,"disabled","id","ngModel","readOnly","tuiFocusable","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["appearance","icon","tuiWrapper","",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","tuiWrapper","",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(e,i){if(1&e&&(n.F$t(Nu),n.YNc(0,Pu,1,0,"ng-container",0),n.ALo(1,"async"),n.YNc(2,Du,1,0,"ng-container",0),n.ALo(3,"async"),n.TgZ(4,"div",1),n.NdJ("click.prevent.silent",function(a){return i.detectRetargetFromLabel(a)})("mousedown",function(a){return i.onMouseDown(a)})("tuiAutofilledChange",function(a){return i.onAutofilled(a)}),n.ALo(5,"async"),n.Hsn(6),n.Hsn(7,1),n.TgZ(8,"input",2,3),n.NdJ("ngModelChange",function(a){return i.onModelChange(a)}),n.qZA(),n.YNc(10,wu,2,0,"div",4),n.TgZ(11,"div",5),n.YNc(12,yu,2,4,"div",6),n.TgZ(13,"div",7),n.YNc(14,Iu,2,3,"label",8),n.TgZ(15,"div",9)(16,"tui-value-decoration",10,11),n.ALo(18,"async"),n.qZA()()(),n.TgZ(19,"div",12),n.YNc(20,ku,2,1,"div",13),n.YNc(21,Au,2,4,"span",14),n.YNc(22,Lu,1,2,"tui-tooltip",15),n.YNc(23,Hu,2,4,"div",16),n.qZA()()()),2&e){const r=n.MAs(9),a=n.MAs(17);n.Q6J("ngIf",n.lcZ(1,29,null==i.content?null:i.content.changes)),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,31,null==i.hintOptions?null:i.hintOptions.change$)),n.xp6(2),n.Udp("--text-indent",n.lcZ(5,33,a.pre$),"px"),n.Q6J("active",i.pseudoActive)("appearance",i.appearance)("disabled",i.disabled)("focus",i.computedFocused)("hover",i.pseudoHover)("invalid",i.computedInvalid)("readOnly",i.readOnly),n.xp6(4),n.Q6J("disabled",i.computedDisabled)("id",i.id)("ngModel",i.value)("readOnly",i.readOnly||!i.editable)("tuiFocusable",i.computedFocusable),n.uIk("aria-invalid",i.computedInvalid)("name",i.name),n.xp6(2),n.Q6J("ngIf",i.inputHidden),n.xp6(2),n.Q6J("ngIf",i.iconLeftContent),n.xp6(2),n.Q6J("ngIf",i.hasPlaceholder),n.xp6(2),n.Udp("text-indent",n.lcZ(18,35,i.getIndent$(r)),"px"),n.ekj("t-has-value",i.value),n.xp6(4),n.Q6J("ngIf",i.hasCustomContent),n.xp6(1),n.Q6J("ngIf",i.hasCleaner),n.xp6(1),n.Q6J("ngIf",i.showHint),n.xp6(1),n.Q6J("ngIf",i.iconContent)}},dependencies:[gt,Bu,oo,C.O5,xt,vu,Cu,w.Fj,w.JJ,w.On,jt,P.Li,C.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, .t-input [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}._invalid[_nghost-%COMP%]:not(._focused) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}._focused[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] [tuiWrapper][data-mode=onDark][_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size="s"]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,it.gn)([ht.UM],t.prototype,"getIndent$",null),t})(),Uu=(()=>{class t extends si{constructor(e){super(e),this.textfield=e}get readOnly(){return this.textfield.readOnly||!this.textfield.editable}onValueChange(e){this.textfield.onModelChange(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Tn))},t.\u0275dir=n.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[n._Bn([ni(t)]),n.qOj]}),t})(),Gu=(()=>{class t{constructor(e,i,r,a,l){this.host=e,this.controller=i,this.el=r,this.idService=a,this.legacyMask=l,this.host.process(this.el.nativeElement)}get id(){return this.el.nativeElement.id||this.idService.generate()}get inputMode(){return this.el.nativeElement.inputMode||this.host.inputMode}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Qe),n.Y36(me),n.Y36(n.SBq),n.Y36(T.ll),n.Y36(fa,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(e,i){1&e&&n.NdJ("input",function(a){return!i.legacyMask&&i.host.onValueChange(a.target.value)}),2&e&&(n.Ikx("tabIndex",i.host.focusable?0:-1)("readOnly",i.host.readOnly)("value",i.host.value),n.uIk("id",i.id)("inputMode",i.inputMode)("aria-invalid",i.host.invalid)("disabled",i.host.disabled||null))},features:[n._Bn([ln])],attrs:zu,decls:0,vars:0,template:function(e,i){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [tuiWrapper][data-mode=onDark] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] [tuiWrapper][data-mode="onDark"][_nghost-%COMP%]::placeholder, [tuiWrapper][data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-textarea._disabled[_nghost-%COMP%], tui-textarea._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),t})(),$u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,w.u5,P.wq,Ou,Zt,yt,_t,ro,Mu]]}),t})();const{isArray:Ju}=Array;var bn=M(1813);let Ko=(()=>{class t{constructor(e,i){this.focusable=e,this.el=i}get element(){var e;return(null===(e=this.focusable)||void 0===e?void 0:e.nativeFocusableElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}return t.\u0275fac=function(e){n.$Z()},t.\u0275dir=n.lG2({type:t}),t})(),qu=(()=>{class t extends Ko{constructor(e,i,r){super(e,i),this.animationFrame$=r}setFocus(){this.isTextFieldElement?function Zu(...t){return 1===(t=function ju(t){return 1===t.length&&Ju(t[0])?t[0]:t}(t)).length?(0,cn.Xf)(t[0]):new Nt.y(function Wu(t){return o=>{let e=[];for(let i=0;e&&!o.closed&&i{if(e){for(let a=0;athis.element.closest(".ng-animating")),function Qu(t){return(0,Ui.e)((o,e)=>{let i=!1,r=0;o.subscribe((0,fe.x)(e,a=>(i||(i=!t(a,r++)))&&e.next(a)))})}(Boolean),(0,bn.q)(1))).subscribe(()=>this.element.focus({preventScroll:!0})):this.element.focus({preventScroll:!0})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(H.KZ,10),n.Y36(n.SBq),n.Y36(Q.L1))},t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t})();const td=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];let ed=(()=>{class t extends Ko{constructor(e,i,r,a,l){super(e,i),this.renderer=r,this.zone=a,this.win=l,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular(()=>this.iosWebkitAutofocus()):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){var e;const i=this.makeFakeInput(),r=this.getDurationTimeBeforeFocus();let a=0,l=0;const c=()=>i.focus({preventScroll:!0}),d=()=>{clearTimeout(a),a=this.win.setTimeout(()=>{clearTimeout(l),i.removeEventListener("blur",c),i.removeEventListener("focus",d),l=this.win.setTimeout(()=>{this.element.focus({preventScroll:!1}),i.remove()},r)})};i.addEventListener("blur",c,{once:!0}),i.addEventListener("focus",d),this.insideDialog()?this.win.document.body.appendChild(i):null===(e=this.element.parentElement)||void 0===e||e.appendChild(i),i.focus({preventScroll:!0})}makeFakeInput(){const e=this.renderer.createElement("input"),i=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(e),e.style.height=K(i.height),e.style.width=K(i.width/2),e.style.position="fixed",e.style.zIndex="-99999999",e.style.caretColor="transparent",e.style.border="none",e.style.outline="none",e.style.color="transparent",e.style.background="transparent",e.style.cursor="none",e.style.fontSize=K(16),e.style.top=K(i.top),e.style.left=K(i.left),e}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){const e=this.win.document;for(const i of[e.documentElement,e.body])i.style.setProperty("overflow","auto"),i.style.setProperty("height","100%")}patchFakeInputFromFocusableElement(e){td.forEach(i=>{const r=this.element.getAttribute(i);(0,_.Pc)(r)&&e.setAttribute(i,r)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(H.KZ,10),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(Q.m9))},t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t})();const qo=(0,_.JN)({delay:NaN}),tr=new n.OlP("[TUI_AUTOFOCUS_HANDLER]"),nd=[{provide:tr,useFactory:(t,o,e,i,r,a,l)=>l?new ed(t,o,i,r,a):new qu(t,o,e),deps:[[new n.FiY,new n.PiD,H.KZ],n.SBq,Q.L1,n.Qsj,n.R0b,Q.m9,H.FA]},T.a3];let id=(()=>{class t{constructor(e,i,r){this.handler=e,this.options=i,this.destroy$=r,this.autoFocus=!0}ngAfterViewInit(){(function Vu(t){return null!==t&&typeof t<"u"&&"false"!=="".concat(t)})(this.autoFocus)&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then(()=>this.handler.setFocus()):(0,de.H)(this.options.delay).pipe((0,J.R)(this.destroy$)).subscribe(()=>this.handler.setFocus())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(tr),n.Y36(qo),n.Y36(T.a3,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus"]},features:[n._Bn(nd)]}),t})();function od(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.polymorpheusOutlet;n.xp6(1),n.hij(" ",e," ")}}function rd(t,o){if(1&t&&(n.TgZ(0,"header",6),n.YNc(1,od,2,1,"ng-container",3),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("polymorpheusOutlet",e.header)("polymorpheusOutletContext",e.context)}}function ad(t,o){if(1&t){const e=n.EpF();n.ynx(0),n._UZ(1,"div",7),n.TgZ(2,"div",8)(3,"button",9),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.context.$implicit.complete())}),n._uU(4),n.qZA()(),n.BQk()}if(2&t){const e=o.polymorpheusOutlet,i=n.oxw();let r;n.xp6(1),n.Q6J("innerHTML",e,n.oJD),n.xp6(3),n.hij(" ",(null==(r=i.context.data)?null:r.button)||"OK"," ")}}function sd(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",10)(1,"button",11),n.NdJ("click",function(){n.CHM(e);const r=n.oxw();return n.KtG(r.close$.next())})("mousedown.prevent.silent",function(){return 0}),n.ALo(2,"async"),n.qZA()()}if(2&t){const e=n.oxw();n.xp6(1),n.Q6J("appearance",e.fullscreen?"secondary":"")("icon",e.icons.close)("title",n.lcZ(2,3,e.closeWord$))}}const ld=(0,_.JN)(Ke.E),nr=(0,_.JN)({size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:""});let ir=(()=>{class t extends Nt.y{constructor(e,i,r){super(a=>(0,q.T)(this.esc$,this.mousedown$).subscribe(a)),this.win=e,this.doc=i,this.el=r,this.esc$=(0,D.mL)(this.doc,"keydown").pipe((0,ft.h)(a=>{const l=(0,F.mA)(a);return"Escape"===a.key&&!a.defaultPrevented&&(this.element.contains(l)||this.isOutside(l))})),this.mousedown$=(0,D.mL)(this.doc,"mousedown").pipe((0,ft.h)(a=>jn(this.win)-a.clientX>17&&this.isOutside((0,F.mA)(a))),(0,nt.w)(()=>(0,D.mL)(this.doc,"mouseup").pipe((0,bn.q)(1),(0,y.U)(F.mA),(0,ft.h)(a=>this.isOutside(a)))))}get element(){return this.el.nativeElement}isOutside(e){return(0,F.ve)(e)&&(!(0,F.PP)(this.element,e)||e===this.element)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(Q.m9),n.LFG(C.K0),n.LFG(n.SBq))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();const ud=new Error("Required dialog was dismissed");let dd=(()=>{class t{constructor(e,i,r,a,l,c,d,p){this.duration=e,this.isMobile=i,this.context=r,this.closeWord$=d,this.icons=p,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new qt.x,(0,q.T)(this.close$.pipe((0,nt.w)(()=>or(r.closeable))),l.pipe((0,nt.w)(()=>or(r.dismissible))),c.pipe((0,y.U)(x.Ye))).pipe((0,ft.h)(Boolean),(0,J.R)(a)).subscribe(()=>{this.close()})}get size(){return this.context.size}get header(){return this.context.header}get slideInTop(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}get fullscreen(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}close(){this.context.required?this.context.$implicit.error(ud):this.context.$implicit.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Zn),n.Y36(H.fL),n.Y36(P.yf),n.Y36(T.a3,2),n.Y36(ir),n.Y36(ld),n.Y36(pa),n.Y36(he))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(e,i){2&e&&(n.uIk("data-appearance",i.context.appearance)("data-size",i.size),n.d8E("@tuiSlideInTop",i.slideInTop)("@tuiFadeIn",i.slideInTop),n.ekj("_centered",i.header))},features:[n._Bn([T.a3,ir])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","shape","rounded","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","icon","title","click","mousedown.prevent.silent"]],template:function(e,i){1&e&&(n.YNc(0,rd,2,2,"header",0),n.TgZ(1,"div",1),n._UZ(2,"h2",2),n.TgZ(3,"section"),n.YNc(4,ad,5,2,"ng-container",3),n.qZA()(),n._UZ(5,"div",4),n.YNc(6,sd,3,5,"div",5)),2&e&&(n.Q6J("ngIf",i.header),n.xp6(2),n.Q6J("id",i.context.id)("textContent",i.context.label),n.xp6(2),n.Q6J("polymorpheusOutlet",i.context.content)("polymorpheusOutletContext",i.context),n.xp6(2),n.Q6J("ngIf",i.context.closeable))},dependencies:[rn,C.O5,P.Li,id,C.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 1.125rem 1.875rem #0000007a;content:"";border-radius:inherit;pointer-events:none}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[Rs,zi]}}),t})();function or(t){return(0,Yn.b)(t)?t:(0,j.of)(t)}const pd=new P.Al(dd);let hd=(()=>{class t extends E.d5{constructor(){super(...arguments),this.component=pd,this.defaultOptions=Object.assign(Object.assign({},(0,n.f3M)(nr)),{data:void 0})}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const gd={DMY:"dd/mm/yyyy",MDY:"mm/dd/yyyy",YMD:"yyyy/mm/dd"};let md=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[n._Bn([xl])]}),t})(),fd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),vd=(()=>{class t{constructor(e,i){this.ngZone=e,this.elementRef=i,this.maskedElement=null,this.maskito=Ut,this.maskitoElement=Mc}ngOnChanges(){var e;return(0,it.mG)(this,void 0,void 0,function*(){null===(e=this.maskedElement)||void 0===e||e.destroy();const i=this.maskitoElement,r=yield i(this.elementRef.nativeElement);this.maskitoElement===i&&this.ngZone.runOutsideAngular(()=>{var a;this.maskedElement=new Lc(r,null!==(a=this.maskito)&&void 0!==a?a:Ut)})})}ngOnDestroy(){var e;null===(e=this.maskedElement)||void 0===e||e.destroy()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.R0b),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","maskito",""]],inputs:{maskito:"maskito",maskitoElement:"maskitoElement"},features:[n.TTD]}),t})(),Md=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();function Cd(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-primitive-textfield",5),n.NdJ("focusedChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onFocused(r))})("valueChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onValueChange(r))}),n.Hsn(1),n.Hsn(2,1,["ngProjectAs","input",5,["input"]]),n.qZA()}if(2&t){const e=o.tuiLet,i=n.oxw(),r=n.MAs(4);n.Q6J("disabled",i.computedDisabled)("focusable",i.computedFocusable)("invalid",i.computedInvalid)("maskito",i.computedMask)("nativeId",i.nativeId)("pseudoFocus",i.pseudoFocus)("pseudoHover",i.pseudoHover)("readOnly",i.readOnly)("tuiTextfieldFiller",i.getComputedFiller(e||""))("tuiTextfieldIcon",i.calendarIcon&&r)("value",i.computedValue)}}function Od(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-svg",8),n.NdJ("click",function(){n.CHM(e);const r=n.oxw(2);return n.KtG(r.onIconClick())}),n.qZA()}if(2&t){const e=o.polymorpheusOutlet,i=n.oxw(2);n.ekj("t-icon",!i.computedDisabled),n.Q6J("src",e)}}function Td(t,o){1&t&&n._UZ(0,"input",9)}const bd=function(t){return{$implicit:t}};function Pd(t,o){if(1&t&&(n.YNc(0,Od,1,3,"tui-svg",6),n.YNc(1,Td,1,0,"input",7)),2&t){const e=n.oxw();n.Q6J("polymorpheusOutlet",e.calendarIcon)("polymorpheusOutletContext",n.VKq(3,bd,e.size)),n.xp6(1),n.Q6J("ngIf",e.isMobile&&e.nativePicker)}}function Dd(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"div",12)(1,"button",13),n.NdJ("click",function(){n.CHM(e);const r=n.oxw(2);return n.KtG(r.onDayClick(r.items[0].day))}),n._uU(2),n.qZA()()}if(2&t){const e=n.oxw(2);n.xp6(2),n.hij(" ",e.items[0]," ")}}function wd(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"tui-calendar",10),n.NdJ("dayClick",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onDayClick(r))})("monthChange",function(r){n.CHM(e);const a=n.oxw();return n.KtG(a.onMonthChange(r))}),n.qZA(),n.YNc(1,Dd,3,1,"div",11)}if(2&t){const e=n.oxw();n.Q6J("disabledItemHandler",e.disabledItemHandler)("markerHandler",e.markerHandler)("max",e.computedMax)("min",e.computedMin)("month",e.computedActiveYearMonth)("value",e.value),n.xp6(1),n.Q6J("ngIf",1===e.items.length)}}const xd=["*",[["input"]]],yd=["*","input"];let Id=(()=>{class t{constructor(e,i){this.host=e,this.dateFormat=i}get value(){return 10===this.host.value.length?N.normalizeParse(this.host.value,this.dateFormat).toString("YMD","-"):""}get max(){return this.host.max.toJSON()}get min(){return this.host.min.toJSON()}onChange(e){this.host.onValueChange(e?N.normalizeParse(e,"YMD").toString(this.dateFormat):"")}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Qe),n.Y36(Sn))},t.\u0275dir=n.lG2({type:t,selectors:[["input","tuiDate",""]],hostAttrs:["type","date"],hostVars:4,hostBindings:function(e,i){1&e&&n.NdJ("change",function(a){return i.onChange(a.target.value)})("click.stop.silent",function(){return 0})("input.stop.silent",function(){return 0})("mousedown.stop.silent",function(){return 0}),2&e&&n.Ikx("tabIndex",-1)("value",i.value)("max",i.max)("min",i.min)}}),t})(),Sd=(()=>{class t extends E.F9{constructor(e,i,r,a,l,c,d,p,h,g,m,f){super(e,i,g),this.injector=r,this.isMobile=a,this.dialogs=l,this.mobileCalendar=c,this.dateFormat=d,this.dateSeparator=p,this.dateTexts$=h,this.valueTransformer=g,this.options=m,this.textfieldSize=f,this.month=null,this.min=this.options.min,this.max=this.options.max,this.disabledItemHandler=x.Iy,this.markerHandler=ze,this.items=[],this.defaultActiveYearMonth=L.currentLocal(),this.open=!1,this.filler$=this.dateTexts$.pipe((0,y.U)(v=>((t,o)=>t.replace(/[^0-9A-Za-z\u0410-\u042f\u0430-\u044f]/gi,this.dateSeparator))(v[this.dateFormat])))}get size(){return this.textfieldSize.size}get computedMin(){var e;return null!==(e=this.min)&&void 0!==e?e:this.options.min}get computedMax(){var e;return null!==(e=this.max)&&void 0!==e?e:this.options.max}get nativeFocusableElement(){var e,i;return null!==(i=null===(e=this.textfield)||void 0===e?void 0:e.nativeFocusableElement)&&void 0!==i?i:null}get focused(){var e;return!(null===(e=this.textfield)||void 0===e||!e.focused)}get computedMobile(){return this.isMobile&&(!!this.mobileCalendar||this.nativePicker)}get nativePicker(){return this.options.nativePicker}get calendarIcon(){return this.options.icon}get computedValue(){const{value:e,nativeValue:i,activeItem:r}=this;return r?String(r):e?e.toString(this.dateFormat,this.dateSeparator):i}get computedActiveYearMonth(){return this.items[0]&&this.value&&this.value.daySame(this.items[0].day)?this.items[0].displayDay:this.month||this.value||function pr(t,o,e){return e&&et?o:t}(this.defaultActiveYearMonth,this.computedMin,this.computedMax)}get nativeValue(){var e;return(null===(e=this.nativeFocusableElement)||void 0===e?void 0:e.value)||""}set nativeValue(e){this.nativeFocusableElement&&(this.nativeFocusableElement.value=e)}get canOpen(){return this.interactive&&!this.computedMobile}get computedMask(){return this.activeItem?Ut:this.computeMaskOptions(this.dateFormat,this.dateSeparator,this.computedMin,this.computedMax)}get activeItem(){const{value:e}=this;return e&&this.items.find(i=>i.day.daySame(e))||null}onClick(){this.isMobile||(this.open=!this.open)}getComputedFiller(e){return this.activeItem?"":e}onMobileClick(){this.onIconClick()}onIconClick(){!this.computedMobile||!this.mobileCalendar||this.dialogs.open(new P.Al(this.mobileCalendar,this.injector),{size:"fullscreen",closeable:!1,data:{single:!0,min:this.min,max:this.max,disabledItemHandler:this.disabledItemHandler}}).pipe((0,J.R)(this.destroy$)).subscribe(e=>{this.value=e})}onValueChange(e){this.control&&this.control.updateValueAndValidity({emitEvent:!1}),e||this.onOpenChange(!0),this.value=10!==e.length?null:N.normalizeParse(e,this.dateFormat)}onDayClick(e){this.value=e,this.open=!1}onMonthChange(e){this.month=e}onOpenChange(e){this.open=e}onFocused(e){this.updateFocused(e)}setDisabledState(){super.setDisabledState(),this.open=!1}writeValue(e){super.writeValue(e),this.nativeValue=e?this.computedValue:""}valueIdenticalComparator(e,i){return(0,_.J$)(e,i,(r,a)=>r.daySame(a))}computeMaskOptions(e,i,r,a){return function jc({mode:t,separator:o=".",max:e,min:i}){const r=t.split("/").join(o);return Object.assign(Object.assign({},Ut),{mask:Array.from(r).map(a=>a===o?a:/\d/),overwriteMode:"replace",preprocessors:[({elementState:t},o)=>{const{value:e,selection:i}=t;if(!e||function Jc(t,[o,e]){return e===t.length}(e,i))return{elementState:t};const[r,a]=i,l=e.slice(r,a).replace(/\d/g,"0"),c=e.slice(0,r)+l+e.slice(a);return"validation"===o||"insert"===o&&r===a?{elementState:{selection:i,value:c}}:{elementState:{selection:"deleteBackward"===o||"insert"===o?[r,r]:[a,a],value:c}}},vn({dateModeTemplate:r,dateSegmentsSeparator:o}),Yo({dateModeTemplate:r,dateSegmentsSeparator:o})],postprocessors:[Bo({min:i,max:e,dateModeTemplate:r,dateSegmentSeparator:o})]})}({separator:i,mode:gd[e],min:r.toLocalNativeDate(),max:a.toLocalNativeDate()})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(n.zs3),n.Y36(H.fL),n.Y36(hd),n.Y36(Pl,8),n.Y36(Sn),n.Y36(_r),n.Y36(Tl),n.Y36(so,8),n.Y36(co),n.Y36(sn))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-input-date"]],viewQuery:function(e,i){if(1&e&&n.Gf(Tn,5),2&e){let r;n.iGM(r=n.CRH())&&(i.textfield=r.first)}},hostVars:1,hostBindings:function(e,i){1&e&&n.NdJ("click",function(){return i.onClick()}),2&e&&n.uIk("data-size",i.size)},inputs:{min:"min",max:"max",disabledItemHandler:"disabledItemHandler",markerHandler:"markerHandler",items:"items",defaultActiveYearMonth:"defaultActiveYearMonth"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t),Ol(so)]),n.qOj],ngContentSelectors:yd,decls:7,vars:7,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange"],["automation-id","tui-input-date-range__textfield","tuiValueAccessor","","class","t-textfield",3,"disabled","focusable","invalid","maskito","nativeId","pseudoFocus","pseudoHover","readOnly","tuiTextfieldFiller","tuiTextfieldIcon","value","focusedChange","valueChange",4,"tuiLet"],["iconContent",""],[3,"polymorpheus"],["dropdown","polymorpheus"],["automation-id","tui-input-date-range__textfield","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","nativeId","pseudoFocus","pseudoHover","readOnly","tuiTextfieldFiller","tuiTextfieldIcon","value","focusedChange","valueChange"],["appearance","icon","automation-id","tui-input-date-range__icon","tuiWrapper","",3,"t-icon","src","click",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiDate","","class","t-native-input",4,"ngIf"],["appearance","icon","automation-id","tui-input-date-range__icon","tuiWrapper","",3,"src","click"],["tuiDate","",1,"t-native-input"],["automation-id","tui-input-date__calendar","tuiPreventDefault","mousedown",3,"disabledItemHandler","markerHandler","max","min","month","value","dayClick","monthChange"],["tuiPreventDefault","mousedown","class","t-button",4,"ngIf"],["tuiPreventDefault","mousedown",1,"t-button"],["tuiLink","","type","button",3,"click"]],template:function(e,i){if(1&e&&(n.F$t(xd),n.TgZ(0,"tui-hosted-dropdown",0),n.NdJ("openChange",function(a){return i.onOpenChange(a)}),n.YNc(1,Cd,3,11,"tui-primitive-textfield",1),n.ALo(2,"async"),n.YNc(3,Pd,2,5,"ng-template",null,2,n.W1O),n.YNc(5,wd,2,7,"ng-template",3,4,n.W1O),n.qZA()),2&e){const r=n.MAs(6);n.Q6J("canOpen",i.canOpen)("content",r)("open",i.open&&i.canOpen),n.xp6(1),n.Q6J("tuiLet",n.lcZ(2,5,i.filler$)),n.xp6(4),n.Q6J("polymorpheus",i.type)}},dependencies:[Ce,Tn,gt,Oi,vi,at.Ls,Uu,md,vd,Si,Ei,P.Li,xt,C.O5,Id,P.GL,_u,C.Ov],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-icon[_ngcontent-%COMP%]{pointer-events:auto}.t-button[_ngcontent-%COMP%]{display:flex;height:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-base-03)}.t-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex:1;text-align:center}.t-native-input[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;pointer-events:auto;font-size:2rem}"],changeDetection:0}),(0,it.gn)([ht.UM],t.prototype,"computeMaskOptions",null),t})(),kd=(()=>{class t extends si{get value(){return this.host.computedValue}get max(){return this.host.computedMax}get min(){return this.host.computedMin}onValueChange(e){e||(this.host.nativeValue=""),this.host.onValueChange(e)}process(e){e.inputMode="numeric"}}return t.\u0275fac=function(){let o;return function(i){return(o||(o=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["tui-input-date"]],features:[n._Bn([ni(t)]),n.qOj]}),t})(),Ed=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,Md,P.wq,yt,mu,Ti,_t,Mi,io,$u,fd,at.WD,Ri]]}),t})();function Ad(t,o){if(1&t&&n._UZ(0,"tui-svg",2),2&t){const e=o.polymorpheusOutlet,i=n.oxw();n.ekj("t-mark_on",!i.empty),n.Q6J("src",e)}}const Ld=function(t){return{$implicit:t}},Fd=["*"],rr={size:"m",appearances:{unchecked:pt.Outline,checked:pt.Primary,indeterminate:pt.Primary},icons:{checked:({$implicit:t})=>"m"===t?"tuiIconCheck":"tuiIconCheckLarge",indeterminate:({$implicit:t})=>"m"===t?"tuiIconMinus":"tuiIconMinusLarge"}},ke=(0,_.JN)(rr);let Hd=(()=>{class t{constructor(e){this.options=e,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}set valueSetter(e){!1!==e&&this.setCurrentIcon(e),this.value=e}get appearance(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}get empty(){return!1===this.value}setCurrentIcon(e){this.icon=null===e?this.options.icons.indeterminate:this.options.icons.checked}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(ke))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&n.uIk("data-size",i.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:Fd,decls:3,vars:10,consts:[["tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(e,i){1&e&&(n.F$t(),n.TgZ(0,"div",0),n.YNc(1,Ad,1,3,"tui-svg",1),n.Hsn(2),n.qZA()),2&e&&(n.Q6J("active",i.pressed)("appearance",i.appearance)("disabled",i.disabled)("focus",i.focused)("hover",i.hovered)("invalid",i.invalid),n.xp6(1),n.Q6J("polymorpheusOutlet",i.icon)("polymorpheusOutletContext",n.VKq(8,Ld,i.size)))},dependencies:[gt,xt,P.Li],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),t})(),Nd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[_t,yt,P.wq]]}),t})();const Rd=["focusableElement"];let ar=(()=>{class t extends E.F9{constructor(e,i,r){super(e,r),this.options=i,this.size=this.options.size}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get computedFocusable(){return this.interactive&&this.focusable}onChecked(e){this.value=e}onFocused(e){this.updateFocused(e)}onFocusVisible(e){this.updateFocusVisible(e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(ke),n.Y36(n.sBO))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-checkbox"]],viewQuery:function(e,i){if(1&e&&n.Gf(Rd,5),2&e){let r;n.iGM(r=n.CRH())&&(i.focusableElement=r.first)}},hostVars:1,hostBindings:function(e,i){2&e&&n.uIk("data-size",i.size)},inputs:{size:"size"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t)]),n.qOj],decls:3,vars:11,consts:[[3,"disabled","focused","hovered","invalid","pressed","size","value"],["automation-id","tui-checkbox__native","type","checkbox",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(e,i){1&e&&(n.TgZ(0,"tui-primitive-checkbox",0)(1,"input",1,2),n.NdJ("tuiCheckedChange",function(a){return i.value=a})("tuiFocusedChange",function(a){return i.onFocused(a)})("tuiFocusVisibleChange",function(a){return i.onFocusVisible(a)}),n.qZA()()),2&e&&(n.Q6J("disabled",i.disabled)("focused",i.computedFocusVisible)("hovered",i.pseudoHover)("invalid",i.computedInvalid)("pressed",i.pseudoActive)("size",i.size)("value",i.value),n.xp6(1),n.Q6J("disabled",i.disabled)("id",i.id)("tuiFocusable",i.computedFocusable)("tuiChecked",i.value))},dependencies:[Hd,mo,jt,vo,Co],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),t})(),zd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,fo,Zt,Mo,Oo,Nd]]}),t})();const Bd=["*"];let Yd=(()=>{class t extends E.F9{constructor(e,i,r,a){super(e,i),this.mode$=r,this.options=a,this.size=this.options.size}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get nativeFocusableElement(){var e,i;return null!==(i=null===(e=this.checkbox)||void 0===e?void 0:e.nativeFocusableElement)&&void 0!==i?i:null}onFocused(e){this.updateFocused(e)}onModelChange(e){this.value=e}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(Ct),n.Y36(ke))},t.\u0275cmp=n.Xpm({type:t,selectors:[["tui-checkbox-labeled"]],viewQuery:function(e,i){if(1&e&&n.Gf(ar,5),2&e){let r;n.iGM(r=n.CRH())&&(i.checkbox=r.first)}},hostVars:1,hostBindings:function(e,i){1&e&&n.NdJ("$.data-mode.attr",function(){return i.mode$}),2&e&&n.uIk("data-size",i.size)},inputs:{size:"size"},features:[n._Bn([(0,H.FT)(t),(0,E.wB)(t),wt]),n.qOj],ngContentSelectors:Bd,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","focusable","nativeId","pseudoActive","pseudoFocus","pseudoHover","pseudoInvalid","readOnly","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(e,i){1&e&&(n.F$t(),n.TgZ(0,"label",0)(1,"tui-checkbox",1),n.NdJ("ngModelChange",function(a){return i.value=a})("focusedChange",function(a){return i.onFocused(a)}),n.qZA(),n.TgZ(2,"div",2),n.Hsn(3),n.qZA()()),2&e&&(n.xp6(1),n.Q6J("disabled",i.computedDisabled)("focusable",i.focusable)("nativeId",i.nativeId)("pseudoActive",i.pseudoActive)("pseudoFocus",i.pseudoFocus)("pseudoHover",i.pseudoHover)("pseudoInvalid",i.computedInvalid)("readOnly",i.readOnly)("size",i.size)("ngModel",i.value),n.xp6(1),n.ekj("t-content_disabled",i.computedDisabled))},dependencies:[ar,w.JJ,w.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),t})(),Ud=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez,w.u5,zd]]}),t})();function sr(t,o){const e=t.findIndex((a,l)=>l&&o(a));return[t[e-1]||t[0],t[e]||t[t.length-1]]}const Vd=["type","range","tuiSlider",""],cr=(0,_.JN)({size:"m",trackColor:"var(--tui-base-03)"});let ur=(()=>{class t{constructor(e,i,r,a,l,c){var d;this.control=e,this.options=r,this.el=a,this.userAgent=l,this.injector=c,this.size=this.options.size,this.segments=1,e instanceof w.On&&(null===(d=e.valueChanges)||void 0===d||d.pipe((0,D.NA)(i),(0,bn.q)(1)).subscribe())}get min(){return Number(this.el.nativeElement.min)}get max(){return Number(this.el.nativeElement.max||100)}get step(){return Number(this.el.nativeElement.step)||1}get value(){const{el:e,control:i,hasKeySteps:r}=this;return!r&&i instanceof w.On?i.viewModel:Number(e.nativeElement.value)||0}set value(e){this.el.nativeElement.value="".concat(e)}get valuePercentage(){return 100*(this.value-this.min)/(this.max-this.min)||0}get segmentWidth(){return 100/Math.max(1,this.segments)}get isOldEdge(){return function Or(t,o){return parseInt(o.slice(o.toLowerCase().indexOf("edge/")+5),10){class t extends E.M${constructor(e,i,r,a){super(e,i),this.el=r,this.slider=a}get nativeFocusableElement(){return this.computedDisabled?null:this.el.nativeElement}get focused(){return(0,z.V8)(this.nativeFocusableElement)}get min(){return this.keySteps[0][1]}get max(){return this.keySteps[this.keySteps.length-1][1]}updateControlValue(){this.value=function Gd(t,o){const[[e,i],[r,a]]=sr(o,([d,p])=>t<=d);return(0,U.FG)((t-e)/(r-e)*(a-i)+i,7)}(this.slider.valuePercentage,this.keySteps)}writeValue(e){if(null===e)return;const i=(0,U.Ki)(e,this.min,this.max);this.slider.value=this.transformToNativeValue(i)}getFallbackValue(){return 0}transformToNativeValue(e){const{min:i,max:r}=this.slider;return function $d(t,o){const[[e,i],[r,a]]=sr(o,([c,d])=>t<=d);return(r-e)*((t-i)/(a-i)||0)+e}(e,this.keySteps)*(r-i)/100+i}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w.a5,10),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36((0,n.Gpc)(()=>ur)))},t.\u0275dir=n.lG2({type:t,selectors:[["input","tuiSlider","","keySteps",""]],hostVars:4,hostBindings:function(e,i){1&e&&n.NdJ("input",function(){return i.updateControlValue()})("change",function(){return i.updateControlValue()}),2&e&&(n.Ikx("disabled",i.computedDisabled),n.uIk("aria-valuenow",i.safeCurrentValue)("aria-valuemin",i.min)("aria-valuemax",i.max))},inputs:{keySteps:"keySteps"},features:[n.qOj]}),t})(),jd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.ez]]}),t})();function Zd(t,o){if(1&t&&(n.TgZ(0,"tui-checkbox-labeled",15),n._uU(1),n.qZA()),2&t){const e=o.$implicit,i=n.oxw();n.Q6J("ngModel",e===i.labels[1]),n.xp6(1),n.hij(" ",e," ")}}let Wd=(()=>{var t;class o{constructor(){this.labels=["New","Read","Archived","Junk"],this.tags=["Angular","Open source"],this.date=null}onDay(i){this.date=i}}return(t=o).\u0275fac=function(i){return new(i||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["home"]],standalone:!0,features:[n.jDz],decls:22,vars:9,consts:[[1,"title"],["tuiHintContent","Customizable for any use case",1,"tui-space_vertical-10",3,"tuiTextfieldLabelOutside","ngModel","ngModelChange"],[1,"flex"],[1,"date"],["required","",3,"ngModel","ngModelChange","click.capture.stop","keydown.capture.stop","mousedown.capture.stop"],["placeholder","dd.mm.yyyy","tuiTextfield",""],[1,"calendar",3,"value","dayClick","event.prevent.silent"],["size","l","class","tui-space_bottom-4",3,"ngModel",4,"ngFor","ngForOf"],[1,"controls"],["size","l",1,"tui-space_right-3",3,"ngModel","showIcons"],["size","m","step","any","tuiSlider","","type","range",1,"tui-space_vertical-6",3,"max","ngModel"],[1,"icons"],["appearance","","icon","tuiIconVolumeXLarge","shape","rounded","title","Mute speaker","tuiIconButton","","type","button",1,"button"],["appearance","","icon","tuiIconMicOffLarge","shape","rounded","title","Mute microphone","tuiIconButton","","type","button",1,"button"],["appearance","","icon","tuiIconPhoneForwardedLarge","shape","rounded","title","Forward call","tuiIconButton","","type","button",1,"error"],["size","l",1,"tui-space_bottom-4",3,"ngModel"]],template:function(i,r){1&i&&(n.TgZ(0,"h2",0),n._uU(1," Dozens of "),n._UZ(2,"br"),n._uU(3," components\n"),n.qZA(),n.TgZ(4,"tui-input-tag",1),n.NdJ("ngModelChange",function(l){return r.tags=l}),n.qZA(),n.TgZ(5,"div",2)(6,"div",3)(7,"tui-input-date",4),n.NdJ("ngModelChange",function(l){return r.date=l})("click.capture.stop",function(){return 0})("keydown.capture.stop",function(){return 0})("mousedown.capture.stop",function(){return 0}),n._uU(8," Choose date "),n._UZ(9,"input",5),n.qZA(),n.TgZ(10,"tui-calendar",6),n.NdJ("dayClick",function(l){return r.onDay(l)})("event.prevent.silent",function(){return 0}),n.qZA()(),n.TgZ(11,"div"),n.YNc(12,Zd,2,2,"tui-checkbox-labeled",7),n.qZA(),n.TgZ(13,"div",8)(14,"label"),n._UZ(15,"tui-toggle",9),n._uU(16," Push notifications "),n.qZA(),n._UZ(17,"input",10),n.TgZ(18,"div",11),n._UZ(19,"button",12)(20,"button",13)(21,"button",14),n.qZA()()()),2&i&&(n.xp6(4),n.Q6J("tuiTextfieldLabelOutside",!0)("ngModel",r.tags),n.xp6(3),n.Q6J("ngModel",r.date),n.xp6(3),n.Q6J("value",r.date),n.xp6(2),n.Q6J("ngForOf",r.labels),n.xp6(3),n.Q6J("ngModel",!0)("showIcons",!0),n.xp6(2),n.Q6J("max",140)("ngModel",80))},dependencies:[C.ez,C.sg,w.u5,w.Fj,w.eT,w.JJ,w.Q7,w.On,to.X1,cc,lc,vc,fc,Ti,Oi,Ri,Fi,Ed,Sd,kd,Gu,Ud,Yd,fi,rn,Vi,te,jd,ur],styles:[".title{font-size:3.5rem;line-height:4.0625rem;margin:0}.flex{display:flex}.date{width:18rem;margin-right:2.8125rem}.calendar{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;border-radius:var(--tui-radius-m);border:1px solid var(--tui-base-03);margin-top:.25rem;width:18rem;box-sizing:border-box;height:auto}.controls{flex:1;margin-left:2.8125rem}.icons{display:flex;justify-content:space-between}.button[data-size][data-shape],.error[data-size][data-shape]{transition-property:color,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:var(--tui-base-02);color:var(--tui-primary)}.button[data-size][data-shape]:hover,.error[data-size][data-shape]:hover,.button[data-size][data-shape]:active,.error[data-size][data-shape]:active{background:var(--tui-base-03);color:var(--tui-primary-hover)}.error[data-size][data-shape]{color:var(--tui-negative)}.error[data-size][data-shape]:hover,.error[data-size][data-shape]:active{color:var(--tui-negative-hover)}\n"],encapsulation:2,changeDetection:0}),o})()}}]); \ No newline at end of file diff --git a/index.html b/index.html index 83ff7551..3f2b275e 100644 --- a/index.html +++ b/index.html @@ -24,8 +24,8 @@ -

Dozens of
components -

Angular
Open source
November
Mon
Tue
Wed
Thu
Fri
Sat
Sun
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
+

Dozens of
components +

Angular
Open source
November
Mon
Tue
Wed
Thu
Fri
Sat
Sun
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
\ No newline at end of file diff --git a/main.js b/main.js index b208ac8f..d3bfe2dc 100644 --- a/main.js +++ b/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179],{5437:(We,le,y)=>{var l=y(3232),N=y(6733),I=y(755),Y=y(1070),U=y(3489),W=y(1209),q=y(6424);const de=(0,y(9046).d)(a=>function(){a(this),this.name="EmptyError",this.message="no elements in sequence"});var Q=y(8442),X=y(5623),L=y(3562),K=y(2222),$=y(8132),ne=y(3649);function oe(a,u){const f=(0,ne.m)(a)?a:()=>a,c=_=>_.error(f());return new $.y(u?_=>u.schedule(c,0,_):c)}var fe=y(453),we=y(902),Le=y(6142),Re=y(134);function H(){return(0,Le.e)((a,u)=>{let f=null;a._refCount++;const c=(0,Re.x)(u,void 0,void 0,void 0,()=>{if(!a||a._refCount<=0||0<--a._refCount)return void(f=null);const _=a._connection,S=f;f=null,_&&(!S||_===S)&&_.unsubscribe(),u.unsubscribe()});a.subscribe(c),c.closed||(f=a.connect())})}class ge extends $.y{constructor(u,f){super(),this.source=u,this.subjectFactory=f,this._subject=null,this._refCount=0,this._connection=null,(0,Le.A)(u)&&(this.lift=u.lift)}_subscribe(u){return this.getSubject().subscribe(u)}getSubject(){const u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:u}=this;this._subject=this._connection=null,null==u||u.unsubscribe()}connect(){let u=this._connection;if(!u){u=this._connection=new we.w0;const f=this.getSubject();u.add(this.source.subscribe((0,Re.x)(f,void 0,()=>{this._teardown(),f.complete()},c=>{this._teardown(),f.error(c)},()=>this._teardown()))),u.closed&&(this._connection=null,u=we.w0.EMPTY)}return u}refCount(){return H()(this)}}var G=y(8748),ce=y(2425),ye=y(4787),ae=y(1813),Ve=y(3843),B=y(5333),me=y(5130);function $e(a){return(0,Le.e)((u,f)=>{let c=!1;u.subscribe((0,Re.x)(f,_=>{c=!0,f.next(_)},()=>{c||f.next(a),f.complete()}))})}function qe(a=bt){return(0,Le.e)((u,f)=>{let c=!1;u.subscribe((0,Re.x)(f,_=>{c=!0,f.next(_)},()=>c?f.complete():f.error(a())))})}function bt(){return new de}var Ue=y(9401);function nt(a,u){const f=arguments.length>=2;return c=>c.pipe(a?(0,B.h)((_,S)=>a(_,S,c)):Ue.y,(0,ae.q)(1),f?$e(u):qe(()=>new de))}function De(a,u){return(0,ne.m)(u)?(0,me.z)(a,u,1):(0,me.z)(a,1)}var ee=y(1570),he=y(7560);function Ne(a){return a<=0?()=>fe.E:(0,Le.e)((u,f)=>{let c=[];u.subscribe((0,Re.x)(f,_=>{c.push(_),a{for(const _ of c)f.next(_);f.complete()},void 0,()=>{c=null}))})}var it=y(7376),Ge=y(6293),ln=y(1749);y(2605);const Ee="primary",et=Symbol("RouteTitle");class gt{constructor(u){this.params=u||{}}has(u){return Object.prototype.hasOwnProperty.call(this.params,u)}get(u){if(this.has(u)){const f=this.params[u];return Array.isArray(f)?f[0]:f}return null}getAll(u){if(this.has(u)){const f=this.params[u];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function Lt(a){return new gt(a)}function ze(a,u,f){const c=f.path.split("/");if(c.length>a.length||"full"===f.pathMatch&&(u.hasChildren()||c.lengthc[S]===_)}return a===u}function Kt(a){return a.length>0?a[a.length-1]:null}function vt(a){return(0,Y.b)(a)?a:(0,I.QGY)(a)?(0,U.D)(Promise.resolve(a)):(0,W.of)(a)}const Ht={exact:function It(a,u,f){if(!Zn(a.segments,u.segments)||!Rn(a.segments,u.segments,f)||a.numberOfChildren!==u.numberOfChildren)return!1;for(const c in u.children)if(!a.children[c]||!It(a.children[c],u.children[c],f))return!1;return!0},subset:nn},en={exact:function Dt(a,u){return Ye(a,u)},subset:function mt(a,u){return Object.keys(u).length<=Object.keys(a).length&&Object.keys(u).every(f=>Nt(a[f],u[f]))},ignored:()=>!0};function cn(a,u,f){return Ht[f.paths](a.root,u.root,f.matrixParams)&&en[f.queryParams](a.queryParams,u.queryParams)&&!("exact"===f.fragment&&a.fragment!==u.fragment)}function nn(a,u,f){return Pn(a,u,u.segments,f)}function Pn(a,u,f,c){if(a.segments.length>f.length){const _=a.segments.slice(0,f.length);return!(!Zn(_,f)||u.hasChildren()||!Rn(_,f,c))}if(a.segments.length===f.length){if(!Zn(a.segments,f)||!Rn(a.segments,f,c))return!1;for(const _ in u.children)if(!a.children[_]||!nn(a.children[_],u.children[_],c))return!1;return!0}{const _=f.slice(0,a.segments.length),S=f.slice(a.segments.length);return!!(Zn(a.segments,_)&&Rn(a.segments,_,c)&&a.children[Ee])&&Pn(a.children[Ee],u,S,c)}}function Rn(a,u,f){return u.every((c,_)=>en[f](a[_].parameters,c.parameters))}class Vt{constructor(u=new Tt([],{}),f={},c=null){this.root=u,this.queryParams=f,this.fragment=c}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Lt(this.queryParams)),this._queryParamMap}toString(){return Yt.serialize(this)}}class Tt{constructor(u,f){this.segments=u,this.children=f,this.parent=null,Object.values(f).forEach(c=>c.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kt(this)}}class Mr{constructor(u,f){this.path=u,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=Lt(this.parameters)),this._parameterMap}toString(){return An(this)}}function Zn(a,u){return a.length===u.length&&a.every((f,c)=>f.path===u[c].path)}let wr=(()=>{var a;class u{}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:function(){return new rt},providedIn:"root"}),u})();class rt{parse(u){const f=new Ct(u);return new Vt(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(u){const f="/".concat(gn(u.root,!0)),c=function Se(a){const u=Object.keys(a).map(f=>{const c=a[f];return Array.isArray(c)?c.map(_=>"".concat(Ln(f),"=").concat(Ln(_))).join("&"):"".concat(Ln(f),"=").concat(Ln(c))}).filter(f=>!!f);return u.length?"?".concat(u.join("&")):""}(u.queryParams),_="string"==typeof u.fragment?"#".concat(function Nn(a){return encodeURI(a)}(u.fragment)):"";return"".concat(f).concat(c).concat(_)}}const Yt=new rt;function kt(a){return a.segments.map(u=>An(u)).join("/")}function gn(a,u){if(!a.hasChildren())return kt(a);if(u){const f=a.children[Ee]?gn(a.children[Ee],!1):"",c=[];return Object.entries(a.children).forEach(([_,S])=>{_!==Ee&&c.push("".concat(_,":").concat(gn(S,!1)))}),c.length>0?"".concat(f,"(").concat(c.join("//"),")"):f}{const f=function Bt(a,u){let f=[];return Object.entries(a.children).forEach(([c,_])=>{c===Ee&&(f=f.concat(u(_,c)))}),Object.entries(a.children).forEach(([c,_])=>{c!==Ee&&(f=f.concat(u(_,c)))}),f}(a,(c,_)=>_===Ee?[gn(a.children[Ee],!1)]:["".concat(_,":").concat(gn(c,!1))]);return 1===Object.keys(a.children).length&&null!=a.children[Ee]?"".concat(kt(a),"/").concat(f[0]):"".concat(kt(a),"/(").concat(f.join("//"),")")}}function bn(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ln(a){return bn(a).replace(/%3B/gi,";")}function dn(a){return bn(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zt(a){return decodeURIComponent(a)}function on(a){return Zt(a.replace(/\+/g,"%20"))}function An(a){return"".concat(dn(a.path)).concat(function Xr(a){return Object.keys(a).map(u=>";".concat(dn(u),"=").concat(dn(a[u]))).join("")}(a.parameters))}const re=/^[^\/()?;#]+/;function Me(a){const u=a.match(re);return u?u[0]:""}const J=/^[^\/()?;=#]+/,je=/^[^=?&#]+/,ft=/^[^&#]+/;class Ct{constructor(u){this.url=u,this.remaining=u}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Tt([],{}):new Tt([],this.parseChildren())}parseQueryParams(){const u={};if(this.consumeOptional("?"))do{this.parseQueryParam(u)}while(this.consumeOptional("&"));return u}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const u=[];for(this.peekStartsWith("(")||u.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),u.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let c={};return this.peekStartsWith("(")&&(c=this.parseParens(!1)),(u.length>0||Object.keys(f).length>0)&&(c[Ee]=new Tt(u,f)),c}parseSegment(){const u=Me(this.remaining);if(""===u&&this.peekStartsWith(";"))throw new I.vHH(4009,!1);return this.capture(u),new Mr(Zt(u),this.parseMatrixParams())}parseMatrixParams(){const u={};for(;this.consumeOptional(";");)this.parseParam(u);return u}parseParam(u){const f=function ve(a){const u=a.match(J);return u?u[0]:""}(this.remaining);if(!f)return;this.capture(f);let c="";if(this.consumeOptional("=")){const _=Me(this.remaining);_&&(c=_,this.capture(c))}u[Zt(f)]=Zt(c)}parseQueryParam(u){const f=function tt(a){const u=a.match(je);return u?u[0]:""}(this.remaining);if(!f)return;this.capture(f);let c="";if(this.consumeOptional("=")){const F=function Mt(a){const u=a.match(ft);return u?u[0]:""}(this.remaining);F&&(c=F,this.capture(c))}const _=on(f),S=on(c);if(u.hasOwnProperty(_)){let F=u[_];Array.isArray(F)||(F=[F],u[_]=F),F.push(S)}else u[_]=S}parseParens(u){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const c=Me(this.remaining),_=this.remaining[c.length];if("/"!==_&&")"!==_&&";"!==_)throw new I.vHH(4010,!1);let S;c.indexOf(":")>-1?(S=c.slice(0,c.indexOf(":")),this.capture(S),this.capture(":")):u&&(S=Ee);const F=this.parseChildren();f[S]=1===Object.keys(F).length?F[Ee]:new Tt([],F),this.consumeOptional("//")}return f}peekStartsWith(u){return this.remaining.startsWith(u)}consumeOptional(u){return!!this.peekStartsWith(u)&&(this.remaining=this.remaining.substring(u.length),!0)}capture(u){if(!this.consumeOptional(u))throw new I.vHH(4011,!1)}}function Fn(a){return a.segments.length>0?new Tt([],{[Ee]:a}):a}function er(a){const u={};for(const c of Object.keys(a.children)){const S=er(a.children[c]);if(c===Ee&&0===S.segments.length&&S.hasChildren())for(const[F,ue]of Object.entries(S.children))u[F]=ue;else(S.segments.length>0||S.hasChildren())&&(u[c]=S)}return function kn(a){if(1===a.numberOfChildren&&a.children[Ee]){const u=a.children[Ee];return new Tt(a.segments.concat(u.segments),u.children)}return a}(new Tt(a.segments,u))}function br(a){return a instanceof Vt}function fo(a){var u;let f;const S=Fn(function c(F){const ue={};for(const be of F.children){const Xe=c(be);ue[be.outlet]=Xe}const Pe=new Tt(F.url,ue);return F===a&&(f=Pe),Pe}(a.root));return null!==(u=f)&&void 0!==u?u:S}function Tn(a,u,f,c){let _=a;for(;_.parent;)_=_.parent;if(0===u.length)return $n(_,_,_,f,c);const S=function ho(a){if("string"==typeof a[0]&&1===a.length&&"/"===a[0])return new mr(!0,0,a);let u=0,f=!1;const c=a.reduce((_,S,F)=>{if("object"==typeof S&&null!=S){if(S.outlets){const ue={};return Object.entries(S.outlets).forEach(([Pe,be])=>{ue[Pe]="string"==typeof be?be.split("/"):be}),[..._,{outlets:ue}]}if(S.segmentPath)return[..._,S.segmentPath]}return"string"!=typeof S?[..._,S]:0===F?(S.split("/").forEach((ue,Pe)=>{0==Pe&&"."===ue||(0==Pe&&""===ue?f=!0:".."===ue?u++:""!=ue&&_.push(ue))}),_):[..._,S]},[]);return new mr(f,u,c)}(u);if(S.toRoot())return $n(_,_,new Tt([],{}),f,c);const F=function pi(a,u,f){if(a.isAbsolute)return new Rr(u,!0,0);if(!f)return new Rr(u,!1,NaN);if(null===f.parent)return new Rr(f,!0,0);const c=gr(a.commands[0])?0:1;return function nr(a,u,f){let c=a,_=u,S=f;for(;S>_;){if(S-=_,c=c.parent,!c)throw new I.vHH(4005,!1);_=c.segments.length}return new Rr(c,!1,_-S)}(f,f.segments.length-1+c,a.numberOfDoubleDots)}(S,_,a),ue=F.processChildren?Jr(F.segmentGroup,F.index,S.commands):Lo(F.segmentGroup,F.index,S.commands);return $n(_,F.segmentGroup,ue,f,c)}function gr(a){return"object"==typeof a&&null!=a&&!a.outlets&&!a.segmentPath}function tr(a){return"object"==typeof a&&null!=a&&a.outlets}function $n(a,u,f,c,_){let F,S={};c&&Object.entries(c).forEach(([Pe,be])=>{S[Pe]=Array.isArray(be)?be.map(Xe=>"".concat(Xe)):"".concat(be)}),F=a===u?f:At(a,u,f);const ue=Fn(er(F));return new Vt(ue,S,_)}function At(a,u,f){const c={};return Object.entries(a.children).forEach(([_,S])=>{c[_]=S===u?f:At(S,u,f)}),new Tt(a.segments,c)}class mr{constructor(u,f,c){if(this.isAbsolute=u,this.numberOfDoubleDots=f,this.commands=c,u&&c.length>0&&gr(c[0]))throw new I.vHH(4003,!1);const _=c.find(tr);if(_&&_!==Kt(c))throw new I.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Rr{constructor(u,f,c){this.segmentGroup=u,this.processChildren=f,this.index=c}}function Lo(a,u,f){if(a||(a=new Tt([],{})),0===a.segments.length&&a.hasChildren())return Jr(a,u,f);const c=function po(a,u,f){let c=0,_=u;const S={match:!1,pathIndex:0,commandIndex:0};for(;_=f.length)return S;const F=a.segments[_],ue=f[c];if(tr(ue))break;const Pe="".concat(ue),be=c0&&void 0===Pe)break;if(Pe&&be&&"object"==typeof be&&void 0===be.outlets){if(!vr(Pe,be,F))return S;c+=2}else{if(!vr(Pe,{},F))return S;c++}_++}return{match:!0,pathIndex:_,commandIndex:c}}(a,u,f),_=f.slice(c.commandIndex);if(c.match&&c.pathIndexS!==Ee)&&a.children[Ee]&&1===a.numberOfChildren&&0===a.children[Ee].segments.length){const S=Jr(a.children[Ee],u,f);return new Tt(a.segments,S.children)}return Object.entries(c).forEach(([S,F])=>{"string"==typeof F&&(F=[F]),null!==F&&(_[S]=Lo(a.children[S],u,F))}),Object.entries(a.children).forEach(([S,F])=>{void 0===c[S]&&(_[S]=F)}),new Tt(a.segments,_)}}function Eo(a,u,f){const c=a.segments.slice(0,u);let _=0;for(;_{"string"==typeof c&&(c=[c]),null!==c&&(u[f]=Eo(new Tt([],{}),0,c))}),u}function Tr(a){const u={};return Object.entries(a).forEach(([f,c])=>u[f]="".concat(c)),u}function vr(a,u,f){return a==f.path&&Ye(u,f.parameters)}const Fr="imperative";class Vn{constructor(u,f){this.id=u,this.url=f}}class Ur extends Vn{constructor(u,f,c="imperative",_=null){super(u,f),this.type=0,this.navigationTrigger=c,this.restoredState=_}toString(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class qr extends Vn{constructor(u,f,c){super(u,f),this.urlAfterRedirects=c,this.type=1}toString(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}class Hr extends Vn{constructor(u,f,c,_){super(u,f),this.reason=c,this.code=_,this.type=2}toString(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class _n extends Vn{constructor(u,f,c,_){super(u,f),this.reason=c,this.code=_,this.type=16}}class eo extends Vn{constructor(u,f,c,_){super(u,f),this.error=c,this.target=_,this.type=3}toString(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}class Co extends Vn{constructor(u,f,c,_){super(u,f),this.urlAfterRedirects=c,this.state=_,this.type=4}toString(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class ko extends Vn{constructor(u,f,c,_){super(u,f),this.urlAfterRedirects=c,this.state=_,this.type=7}toString(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Vo extends Vn{constructor(u,f,c,_,S){super(u,f),this.urlAfterRedirects=c,this.state=_,this.shouldActivate=S,this.type=8}toString(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}class Jo extends Vn{constructor(u,f,c,_){super(u,f),this.urlAfterRedirects=c,this.state=_,this.type=5}toString(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class qo extends Vn{constructor(u,f,c,_){super(u,f),this.urlAfterRedirects=c,this.state=_,this.type=6}toString(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class go{constructor(u){this.route=u,this.type=9}toString(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}class Fi{constructor(u){this.route=u,this.type=10}toString(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}class sr{constructor(u){this.snapshot=u,this.type=11}toString(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class bi{constructor(u){this.snapshot=u,this.type=12}toString(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class Ti{constructor(u){this.snapshot=u,this.type=13}toString(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class ei{constructor(u){this.snapshot=u,this.type=14}toString(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class Mo{}class to{constructor(u){this.url=u}}class wo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new $r,this.attachRef=null}}let $r=(()=>{var a;class u{constructor(){this.contexts=new Map}onChildOutletCreated(c,_){const S=this.getOrCreateContext(c);S.outlet=_,this.contexts.set(c,S)}onChildOutletDestroyed(c){const _=this.getContext(c);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let _=this.getContext(c);return _||(_=new wo,this.contexts.set(c,_)),_}getContext(c){return this.contexts.get(c)||null}}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),u})();class jo{constructor(u){this._root=u}get root(){return this._root.value}parent(u){const f=this.pathFromRoot(u);return f.length>1?f[f.length-2]:null}children(u){const f=$t(u,this._root);return f?f.children.map(c=>c.value):[]}firstChild(u){const f=$t(u,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(u){const f=Sn(u,this._root);return f.length<2?[]:f[f.length-2].children.map(_=>_.value).filter(_=>_!==u)}pathFromRoot(u){return Sn(u,this._root).map(f=>f.value)}}function $t(a,u){if(a===u.value)return u;for(const f of u.children){const c=$t(a,f);if(c)return c}return null}function Sn(a,u){if(a===u.value)return[u];for(const f of u.children){const c=Sn(a,f);if(c.length)return c.unshift(u),c}return[]}class fn{constructor(u,f){this.value=u,this.children=f}toString(){return"TreeNode(".concat(this.value,")")}}function ar(a){const u={};return a&&a.children.forEach(f=>u[f.value.outlet]=f),u}class Bn extends jo{constructor(u,f){super(u),this.snapshot=f,wt(this,u)}toString(){return this.snapshot.toString()}}function Uo(a,u){const f=function mo(a,u){const F=new un([],{},{},"",{},Ee,u,null,{});return new Ze("",new fn(F,[]))}(0,u),c=new q.X([new Mr("",{})]),_=new q.X({}),S=new q.X({}),F=new q.X({}),ue=new q.X(""),Pe=new _r(c,_,F,ue,S,Ee,u,f.root);return Pe.snapshot=f.root,new Bn(new fn(Pe,[]),f)}class _r{constructor(u,f,c,_,S,F,ue,Pe){var be,Xe;this.urlSubject=u,this.paramsSubject=f,this.queryParamsSubject=c,this.fragmentSubject=_,this.dataSubject=S,this.outlet=F,this.component=ue,this._futureSnapshot=Pe,this.title=null!==(be=null===(Xe=this.dataSubject)||void 0===Xe?void 0:Xe.pipe((0,ce.U)(dt=>dt[et])))&&void 0!==be?be:(0,W.of)(void 0),this.url=u,this.params=f,this.queryParams=c,this.fragment=_,this.data=S}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._paramMap=this.params.pipe((0,ce.U)(u=>Lt(u)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ce.U)(u=>Lt(u)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}function ti(a,u="emptyOnly"){const f=a.pathFromRoot;let c=0;if("always"!==u)for(c=f.length-1;c>=1;){const _=f[c],S=f[c-1];if(_.routeConfig&&""===_.routeConfig.path)c--;else{if(S.component)break;c--}}return function bo(a){return a.reduce((u,f)=>{var c;return{params:{...u.params,...f.params},data:{...u.data,...f.data},resolve:{...f.data,...u.resolve,...null===(c=f.routeConfig)||void 0===c?void 0:c.data,...f._resolvedData}}},{params:{},data:{},resolve:{}})}(f.slice(c))}class un{get title(){var u;return null===(u=this.data)||void 0===u?void 0:u[et]}constructor(u,f,c,_,S,F,ue,Pe,be){this.url=u,this.params=f,this.queryParams=c,this.fragment=_,this.data=S,this.outlet=F,this.component=ue,this.routeConfig=Pe,this._resolve=be}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._paramMap=Lt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Lt(this.queryParams)),this._queryParamMap}toString(){const u=this.url.map(c=>c.toString()).join("/"),f=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(u,"', path:'").concat(f,"')")}}class Ze extends jo{constructor(u,f){super(f),this.url=u,wt(this,f)}toString(){return tn(this._root)}}function wt(a,u){u.value._routerState=a,u.children.forEach(f=>wt(a,f))}function tn(a){const u=a.children.length>0?" { ".concat(a.children.map(tn).join(", ")," } "):"";return"".concat(a.value).concat(u)}function jn(a){if(a.snapshot){const u=a.snapshot,f=a._futureSnapshot;a.snapshot=f,Ye(u.queryParams,f.queryParams)||a.queryParamsSubject.next(f.queryParams),u.fragment!==f.fragment&&a.fragmentSubject.next(f.fragment),Ye(u.params,f.params)||a.paramsSubject.next(f.params),function ut(a,u){if(a.length!==u.length)return!1;for(let f=0;fYe(f.parameters,u[c].parameters))}(a.url,u.url);return f&&!(!a.parent!=!u.parent)&&(!a.parent||xr(a.parent,u.parent))}let Mn=(()=>{var a;class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ee,this.activateEvents=new I.vpe,this.deactivateEvents=new I.vpe,this.attachEvents=new I.vpe,this.detachEvents=new I.vpe,this.parentContexts=(0,I.f3M)($r),this.location=(0,I.f3M)(I.s_b),this.changeDetector=(0,I.f3M)(I.sBO),this.environmentInjector=(0,I.f3M)(I.lqb),this.inputBinder=(0,I.f3M)(zt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(c){if(c.name){const{firstChange:_,previousValue:S}=c.name;if(_)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){var c;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(c=this.inputBinder)||void 0===c||c.unsubscribeFromRouteData(this)}isTrackedInParentContexts(c){var _;return(null===(_=this.parentContexts.getContext(c))||void 0===_?void 0:_.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);null!=c&&c.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I.vHH(4012,!1);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,_){var S;this.activated=c,this._activatedRoute=_,this.location.insert(c.hostView),null===(S=this.inputBinder)||void 0===S||S.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,_){var S;if(this.isActivated)throw new I.vHH(4013,!1);this._activatedRoute=c;const F=this.location,Pe=c.snapshot.component,be=this.parentContexts.getOrCreateContext(this.name).children,Xe=new no(c,be,F.injector);this.activated=F.createComponent(Pe,{index:F.length,injector:Xe,environmentInjector:null!=_?_:this.environmentInjector}),this.changeDetector.markForCheck(),null===(S=this.inputBinder)||void 0===S||S.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275dir=I.lG2({type:a,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[I.TTD]}),u})();class no{constructor(u,f,c){this.route=u,this.childContexts=f,this.parent=c}get(u,f){return u===_r?this.route:u===$r?this.childContexts:this.parent.get(u,f)}}const zt=new I.OlP("");function Et(a,u,f){if(f&&a.shouldReuseRoute(u.value,f.value.snapshot)){const c=f.value;c._futureSnapshot=u.value;const _=function zr(a,u,f){return u.children.map(c=>{for(const _ of f.children)if(a.shouldReuseRoute(c.value,_.value.snapshot))return Et(a,c,_);return Et(a,c)})}(a,u,f);return new fn(c,_)}{if(a.shouldAttach(u.value)){const S=a.retrieve(u.value);if(null!==S){const F=S.route;return F.value._futureSnapshot=u.value,F.children=u.children.map(ue=>Et(a,ue)),F}}const c=function ni(a){return new _r(new q.X(a.url),new q.X(a.params),new q.X(a.queryParams),new q.X(a.fragment),new q.X(a.data),a.outlet,a.component,a)}(u.value),_=u.children.map(S=>Et(a,S));return new fn(c,_)}}const Sr="ngNavigationCancelingError";function mn(a,u){const{redirectTo:f,navigationBehaviorOptions:c}=br(u)?{redirectTo:u,navigationBehaviorOptions:void 0}:u,_=vo(!1,0,u);return _.url=f,_.navigationBehaviorOptions=c,_}function vo(a,u,f){const c=new Error("NavigationCancelingError: "+(a||""));return c[Sr]=!0,c.cancellationCode=u,f&&(c.url=f),c}function rr(a){return a&&a[Sr]}let Wr=(()=>{var a;class u{}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275cmp=I.Xpm({type:a,selectors:[["ng-component"]],standalone:!0,features:[I.jDz],decls:1,vars:0,template:function(c,_){1&c&&I._UZ(0,"router-outlet")},dependencies:[Mn],encapsulation:2}),u})();function Un(a){const u=a.children&&a.children.map(Un),f=u?{...a,children:u}:{...a};return!f.component&&!f.loadComponent&&(u||f.loadChildren)&&f.outlet&&f.outlet!==Ee&&(f.component=Wr),f}function zn(a){return a.outlet||Ee}function or(a){var u;if(!a)return null;if(null!==(u=a.routeConfig)&&void 0!==u&&u._injector)return a.routeConfig._injector;for(let f=a.parent;f;f=f.parent){const c=f.routeConfig;if(null!=c&&c._loadedInjector)return c._loadedInjector;if(null!=c&&c._injector)return c._injector}return null}class Gn{constructor(u,f,c,_,S){this.routeReuseStrategy=u,this.futureState=f,this.currState=c,this.forwardEvent=_,this.inputBindingEnabled=S}activate(u){const f=this.futureState._root,c=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,c,u),jn(this.futureState.root),this.activateChildRoutes(f,c,u)}deactivateChildRoutes(u,f,c){const _=ar(f);u.children.forEach(S=>{const F=S.value.outlet;this.deactivateRoutes(S,_[F],c),delete _[F]}),Object.values(_).forEach(S=>{this.deactivateRouteAndItsChildren(S,c)})}deactivateRoutes(u,f,c){const _=u.value,S=f?f.value:null;if(_===S)if(_.component){const F=c.getContext(_.outlet);F&&this.deactivateChildRoutes(u,f,F.children)}else this.deactivateChildRoutes(u,f,c);else S&&this.deactivateRouteAndItsChildren(f,c)}deactivateRouteAndItsChildren(u,f){u.value.component&&this.routeReuseStrategy.shouldDetach(u.value.snapshot)?this.detachAndStoreRouteSubtree(u,f):this.deactivateRouteAndOutlet(u,f)}detachAndStoreRouteSubtree(u,f){const c=f.getContext(u.value.outlet),_=c&&u.value.component?c.children:f,S=ar(u);for(const F of Object.keys(S))this.deactivateRouteAndItsChildren(S[F],_);if(c&&c.outlet){const F=c.outlet.detach(),ue=c.children.onOutletDeactivated();this.routeReuseStrategy.store(u.value.snapshot,{componentRef:F,route:u,contexts:ue})}}deactivateRouteAndOutlet(u,f){const c=f.getContext(u.value.outlet),_=c&&u.value.component?c.children:f,S=ar(u);for(const F of Object.keys(S))this.deactivateRouteAndItsChildren(S[F],_);c&&(c.outlet&&(c.outlet.deactivate(),c.children.onOutletDeactivated()),c.attachRef=null,c.route=null)}activateChildRoutes(u,f,c){const _=ar(f);u.children.forEach(S=>{this.activateRoutes(S,_[S.value.outlet],c),this.forwardEvent(new ei(S.value.snapshot))}),u.children.length&&this.forwardEvent(new bi(u.value.snapshot))}activateRoutes(u,f,c){const _=u.value,S=f?f.value:null;if(jn(_),_===S)if(_.component){const F=c.getOrCreateContext(_.outlet);this.activateChildRoutes(u,f,F.children)}else this.activateChildRoutes(u,f,c);else if(_.component){const F=c.getOrCreateContext(_.outlet);if(this.routeReuseStrategy.shouldAttach(_.snapshot)){const ue=this.routeReuseStrategy.retrieve(_.snapshot);this.routeReuseStrategy.store(_.snapshot,null),F.children.onOutletReAttached(ue.contexts),F.attachRef=ue.componentRef,F.route=ue.route.value,F.outlet&&F.outlet.attach(ue.componentRef,ue.route.value),jn(ue.route.value),this.activateChildRoutes(u,null,F.children)}else{const ue=or(_.snapshot);F.attachRef=null,F.route=_,F.injector=ue,F.outlet&&F.outlet.activateWith(_,F.injector),this.activateChildRoutes(u,null,F.children)}}else this.activateChildRoutes(u,null,c)}}class R{constructor(u){this.path=u,this.route=this.path[this.path.length-1]}}class h{constructor(u,f){this.component=u,this.route=f}}function m(a,u,f){const c=a._root;return V(c,u?u._root:null,f,[c.value])}function A(a,u){const f=Symbol(),c=u.get(a,f);return c===f?"function"!=typeof a||(0,I.Z0I)(a)?u.get(a):a:c}function V(a,u,f,c,_={canDeactivateChecks:[],canActivateChecks:[]}){const S=ar(u);return a.children.forEach(F=>{(function te(a,u,f,c,_={canDeactivateChecks:[],canActivateChecks:[]}){const S=a.value,F=u?u.value:null,ue=f?f.getContext(a.value.outlet):null;if(F&&S.routeConfig===F.routeConfig){const Pe=function ie(a,u,f){if("function"==typeof f)return f(a,u);switch(f){case"pathParamsChange":return!Zn(a.url,u.url);case"pathParamsOrQueryParamsChange":return!Zn(a.url,u.url)||!Ye(a.queryParams,u.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xr(a,u)||!Ye(a.queryParams,u.queryParams);default:return!xr(a,u)}}(F,S,S.routeConfig.runGuardsAndResolvers);Pe?_.canActivateChecks.push(new R(c)):(S.data=F.data,S._resolvedData=F._resolvedData),V(a,u,S.component?ue?ue.children:null:f,c,_),Pe&&ue&&ue.outlet&&ue.outlet.isActivated&&_.canDeactivateChecks.push(new h(ue.outlet.component,F))}else F&&_e(u,ue,_),_.canActivateChecks.push(new R(c)),V(a,null,S.component?ue?ue.children:null:f,c,_)})(F,S[F.value.outlet],f,c.concat([F.value]),_),delete S[F.value.outlet]}),Object.entries(S).forEach(([F,ue])=>_e(ue,f.getContext(F),_)),_}function _e(a,u,f){const c=ar(a),_=a.value;Object.entries(c).forEach(([S,F])=>{_e(F,_.component?u?u.children.getContext(S):null:u,f)}),f.canDeactivateChecks.push(new h(_.component&&u&&u.outlet&&u.outlet.isActivated?u.outlet.component:null,_))}function Ie(a){return"function"==typeof a}function v(a){return a instanceof de||"EmptyError"===(null==a?void 0:a.name)}const O=Symbol("INITIAL_VALUE");function C(){return(0,ye.w)(a=>(0,Q.a)(a.map(u=>u.pipe((0,ae.q)(1),(0,Ve.O)(O)))).pipe((0,ce.U)(u=>{for(const f of u)if(!0!==f){if(f===O)return O;if(!1===f||f instanceof Vt)return f}return!0}),(0,B.h)(u=>u!==O),(0,ae.q)(1)))}function Lr(a){return(0,K.z)((0,ee.b)(u=>{if(br(u))throw mn(0,u)}),(0,ce.U)(u=>!0===u))}class Qe{constructor(u){this.segmentGroup=u||null}}class ht{constructor(u){this.urlTree=u}}function lt(a){return oe(new Qe(a))}function Gt(a){return oe(new ht(a))}class Jn{constructor(u,f){this.urlSerializer=u,this.urlTree=f}noMatchError(u){return new I.vHH(4002,!1)}lineralizeSegments(u,f){let c=[],_=f.root;for(;;){if(c=c.concat(_.segments),0===_.numberOfChildren)return(0,W.of)(c);if(_.numberOfChildren>1||!_.children[Ee])return oe(new I.vHH(4e3,!1));_=_.children[Ee]}}applyRedirectCommands(u,f,c){return this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),u,c)}applyRedirectCreateUrlTree(u,f,c,_){const S=this.createSegmentGroup(u,f.root,c,_);return new Vt(S,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(u,f){const c={};return Object.entries(u).forEach(([_,S])=>{if("string"==typeof S&&S.startsWith(":")){const ue=S.substring(1);c[_]=f[ue]}else c[_]=S}),c}createSegmentGroup(u,f,c,_){const S=this.createSegments(u,f.segments,c,_);let F={};return Object.entries(f.children).forEach(([ue,Pe])=>{F[ue]=this.createSegmentGroup(u,Pe,c,_)}),new Tt(S,F)}createSegments(u,f,c,_){return f.map(S=>S.path.startsWith(":")?this.findPosParam(u,S,_):this.findOrReturn(S,c))}findPosParam(u,f,c){const _=c[f.path.substring(1)];if(!_)throw new I.vHH(4001,!1);return _}findOrReturn(u,f){let c=0;for(const _ of f){if(_.path===u.path)return f.splice(c),_;c++}return u}}const Or={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yn(a,u,f,c,_){const S=zo(a,u,f);return S.matched?(c=function Ho(a,u){var f;return a.providers&&!a._injector&&(a._injector=(0,I.MMx)(a.providers,u,"Route: ".concat(a.path))),null!==(f=a._injector)&&void 0!==f?f:u}(u,c),function qi(a,u,f,c){const _=u.canMatch;if(!_||0===_.length)return(0,W.of)(!0);const S=_.map(F=>{const ue=A(F,a);return vt(function St(a){return a&&Ie(a.canMatch)}(ue)?ue.canMatch(u,f):a.runInContext(()=>ue(u,f)))});return(0,W.of)(S).pipe(C(),Lr())}(c,u,f).pipe((0,ce.U)(F=>!0===F?S:{...Or}))):(0,W.of)(S)}function zo(a,u,f){var c,_;if(""===u.path)return"full"===u.pathMatch&&(a.hasChildren()||f.length>0)?{...Or}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const F=(u.matcher||ze)(f,a,u);if(!F)return{...Or};const ue={};Object.entries(null!==(c=F.posParams)&&void 0!==c?c:{}).forEach(([be,Xe])=>{ue[be]=Xe.path});const Pe=F.consumed.length>0?{...ue,...F.consumed[F.consumed.length-1].parameters}:ue;return{matched:!0,consumedSegments:F.consumed,remainingSegments:f.slice(F.consumed.length),parameters:Pe,positionalParamSegments:null!==(_=F.posParams)&&void 0!==_?_:{}}}function _i(a,u,f,c){return f.length>0&&function yr(a,u,f){return f.some(c=>kr(a,u,c)&&zn(c)!==Ee)}(a,f,c)?{segmentGroup:new Tt(u,_o(c,new Tt(f,a.children))),slicedSegments:[]}:0===f.length&&function So(a,u,f){return f.some(c=>kr(a,u,c))}(a,f,c)?{segmentGroup:new Tt(a.segments,Kn(a,0,f,c,a.children)),slicedSegments:f}:{segmentGroup:new Tt(a.segments,a.children),slicedSegments:f}}function Kn(a,u,f,c,_){const S={};for(const F of c)if(kr(a,f,F)&&!_[zn(F)]){const ue=new Tt([],{});S[zn(F)]=ue}return{..._,...S}}function _o(a,u){const f={};f[Ee]=u;for(const c of a)if(""===c.path&&zn(c)!==Ee){const _=new Tt([],{});f[zn(c)]=_}return f}function kr(a,u,f){return(!(a.hasChildren()||u.length>0)||"full"!==f.pathMatch)&&""===f.path}class Nu{constructor(u,f,c,_,S,F,ue){this.injector=u,this.configLoader=f,this.rootComponentType=c,this.config=_,this.urlTree=S,this.paramsInheritanceStrategy=F,this.urlSerializer=ue,this.allowRedirects=!0,this.applyRedirects=new Jn(this.urlSerializer,this.urlTree)}noMatchError(u){return new I.vHH(4002,!1)}recognize(){const u=_i(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,u,Ee).pipe((0,he.K)(f=>{if(f instanceof ht)return this.allowRedirects=!1,this.urlTree=f.urlTree,this.match(f.urlTree);throw f instanceof Qe?this.noMatchError(f):f}),(0,ce.U)(f=>{const c=new un([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ee,this.rootComponentType,null,{}),_=new fn(c,f),S=new Ze("",_),F=function xo(a,u,f=null,c=null){return Tn(fo(a),u,f,c)}(c,[],this.urlTree.queryParams,this.urlTree.fragment);return F.queryParams=this.urlTree.queryParams,S.url=this.urlSerializer.serialize(F),this.inheritParamsAndData(S._root),{state:S,tree:F}}))}match(u){return this.processSegmentGroup(this.injector,this.config,u.root,Ee).pipe((0,he.K)(c=>{throw c instanceof Qe?this.noMatchError(c):c}))}inheritParamsAndData(u){const f=u.value,c=ti(f,this.paramsInheritanceStrategy);f.params=Object.freeze(c.params),f.data=Object.freeze(c.data),u.children.forEach(_=>this.inheritParamsAndData(_))}processSegmentGroup(u,f,c,_){return 0===c.segments.length&&c.hasChildren()?this.processChildren(u,f,c):this.processSegment(u,f,c,c.segments,_,!0)}processChildren(u,f,c){const _=[];for(const S of Object.keys(c.children))"primary"===S?_.unshift(S):_.push(S);return(0,U.D)(_).pipe(De(S=>{const F=c.children[S],ue=function oo(a,u){const f=a.filter(c=>zn(c)===u);return f.push(...a.filter(c=>zn(c)!==u)),f}(f,S);return this.processSegmentGroup(u,ue,F,S)}),function Ce(a,u){return(0,Le.e)(function Te(a,u,f,c,_){return(S,F)=>{let ue=f,Pe=u,be=0;S.subscribe((0,Re.x)(F,Xe=>{const dt=be++;Pe=ue?a(Pe,Xe,dt):(ue=!0,Xe),c&&F.next(Pe)},_&&(()=>{ue&&F.next(Pe),F.complete()})))}}(a,u,arguments.length>=2,!0))}((S,F)=>(S.push(...F),S)),$e(null),function Fe(a,u){const f=arguments.length>=2;return c=>c.pipe(a?(0,B.h)((_,S)=>a(_,S,c)):Ue.y,Ne(1),f?$e(u):qe(()=>new de))}(),(0,me.z)(S=>{if(null===S)return lt(c);const F=Zs(S);return function Fu(a){a.sort((u,f)=>u.value.outlet===Ee?-1:f.value.outlet===Ee?1:u.value.outlet.localeCompare(f.value.outlet))}(F),(0,W.of)(F)}))}processSegment(u,f,c,_,S,F){return(0,U.D)(f).pipe(De(ue=>{var Pe;return this.processSegmentAgainstRoute(null!==(Pe=ue._injector)&&void 0!==Pe?Pe:u,f,ue,c,_,S,F).pipe((0,he.K)(be=>{if(be instanceof Qe)return(0,W.of)(null);throw be}))}),nt(ue=>!!ue),(0,he.K)(ue=>{if(v(ue))return function es(a,u,f){return 0===u.length&&!a.children[f]}(c,_,S)?(0,W.of)([]):lt(c);throw ue}))}processSegmentAgainstRoute(u,f,c,_,S,F,ue){return function yi(a,u,f,c){return!!(zn(a)===c||c!==Ee&&kr(u,f,a))&&("**"===a.path||zo(u,a,f).matched)}(c,_,S,F)?void 0===c.redirectTo?this.matchSegmentAgainstRoute(u,_,c,S,F,ue):ue&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(u,_,f,c,S,F):lt(_):lt(_)}expandSegmentAgainstRouteUsingRedirect(u,f,c,_,S,F){return"**"===_.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(u,c,_,F):this.expandRegularSegmentAgainstRouteUsingRedirect(u,f,c,_,S,F)}expandWildCardWithParamsAgainstRouteUsingRedirect(u,f,c,_){const S=this.applyRedirects.applyRedirectCommands([],c.redirectTo,{});return c.redirectTo.startsWith("/")?Gt(S):this.applyRedirects.lineralizeSegments(c,S).pipe((0,me.z)(F=>{const ue=new Tt(F,{});return this.processSegment(u,f,ue,F,_,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(u,f,c,_,S,F){const{matched:ue,consumedSegments:Pe,remainingSegments:be,positionalParamSegments:Xe}=zo(f,_,S);if(!ue)return lt(f);const dt=this.applyRedirects.applyRedirectCommands(Pe,_.redirectTo,Xe);return _.redirectTo.startsWith("/")?Gt(dt):this.applyRedirects.lineralizeSegments(_,dt).pipe((0,me.z)(Dn=>this.processSegment(u,c,f,Dn.concat(be),F,!1)))}matchSegmentAgainstRoute(u,f,c,_,S,F){let ue;if("**"===c.path){var Pe,be;const Xe=_.length>0?Kt(_).parameters:{},dt=new un(_,Xe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ts(c),zn(c),null!==(Pe=null!==(be=c.component)&&void 0!==be?be:c._loadedComponent)&&void 0!==Pe?Pe:null,c,xi(c));ue=(0,W.of)({snapshot:dt,consumedSegments:[],remainingSegments:[]}),f.children={}}else ue=yn(f,c,_,u).pipe((0,ce.U)(({matched:Xe,consumedSegments:dt,remainingSegments:Dn,parameters:fr})=>{var sn,xn;return Xe?{snapshot:new un(dt,fr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ts(c),zn(c),null!==(sn=null!==(xn=c.component)&&void 0!==xn?xn:c._loadedComponent)&&void 0!==sn?sn:null,c,xi(c)),consumedSegments:dt,remainingSegments:Dn}:null}));return ue.pipe((0,ye.w)(Xe=>{var dt;return null===Xe?lt(f):(u=null!==(dt=c._injector)&&void 0!==dt?dt:u,this.getChildConfig(u,c,_).pipe((0,ye.w)(({routes:Dn})=>{var fr;const sn=null!==(fr=c._loadedInjector)&&void 0!==fr?fr:u,{snapshot:xn,consumedSegments:Zr,remainingSegments:Po}=Xe,{segmentGroup:Ai,slicedSegments:Di}=_i(f,Zr,Po,Dn);if(0===Di.length&&Ai.hasChildren())return this.processChildren(sn,Dn,Ai).pipe((0,ce.U)(da=>null===da?null:[new fn(xn,da)]));if(0===Dn.length&&0===Di.length)return(0,W.of)([new fn(xn,[])]);const ai=zn(c)===S;return this.processSegment(sn,Dn,Ai,Di,ai?Ee:S,!0).pipe((0,ce.U)(da=>[new fn(xn,da)]))})))}))}getChildConfig(u,f,c){return f.children?(0,W.of)({routes:f.children,injector:u}):f.loadChildren?void 0!==f._loadedRoutes?(0,W.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function Wn(a,u,f,c){const _=u.canLoad;if(void 0===_||0===_.length)return(0,W.of)(!0);const S=_.map(F=>{const ue=A(F,a);return vt(function ct(a){return a&&Ie(a.canLoad)}(ue)?ue.canLoad(u,f):a.runInContext(()=>ue(u,f)))});return(0,W.of)(S).pipe(C(),Lr())}(u,f,c).pipe((0,me.z)(_=>_?this.configLoader.loadChildren(u,f).pipe((0,ee.b)(S=>{f._loadedRoutes=S.routes,f._loadedInjector=S.injector})):function Ar(a){return oe(vo(!1,3))}())):(0,W.of)({routes:[],injector:u})}}function Qa(a){const u=a.value.routeConfig;return u&&""===u.path}function Zs(a){const u=[],f=new Set;for(const c of a){if(!Qa(c)){u.push(c);continue}const _=u.find(S=>c.value.routeConfig===S.value.routeConfig);void 0!==_?(_.children.push(...c.children),f.add(_)):u.push(c)}for(const c of f){const _=Zs(c.children);u.push(new fn(c.value,_))}return u.filter(c=>!f.has(c))}function ts(a){return a.data||{}}function xi(a){return a.resolve||{}}function w(a){return"string"==typeof a.title||null===a.title}function j(a){return(0,ye.w)(u=>{const f=a(u);return f?(0,U.D)(f).pipe((0,ce.U)(()=>u)):(0,W.of)(u)})}const D=new I.OlP("ROUTES");let x=(()=>{var a;class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,I.f3M)(I.Sil)}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,W.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const _=vt(c.loadComponent()).pipe((0,ce.U)(Ke),(0,ee.b)(F=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=F}),(0,Ge.x)(()=>{this.componentLoaders.delete(c)})),S=new ge(_,()=>new G.x).pipe(H());return this.componentLoaders.set(c,S),S}loadChildren(c,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,W.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const F=function Z(a,u,f,c){return vt(a.loadChildren()).pipe((0,ce.U)(Ke),(0,me.z)(_=>_ instanceof I.YKP||Array.isArray(_)?(0,W.of)(_):(0,U.D)(u.compileModuleAsync(_))),(0,ce.U)(_=>{c&&c(a);let S,F,ue=!1;return Array.isArray(_)?(F=_,!0):(S=_.create(f).injector,F=S.get(D,[],{optional:!0,self:!0}).flat()),{routes:F.map(Un),injector:S}}))}(_,this.compiler,c,this.onLoadEndListener).pipe((0,Ge.x)(()=>{this.childrenLoaders.delete(_)})),ue=new ge(F,()=>new G.x).pipe(H());return this.childrenLoaders.set(_,ue),ue}}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),u})();function Ke(a){return function Oe(a){return a&&"object"==typeof a&&"default"in a}(a)?a.default:a}let xt=(()=>{var a;class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new G.x,this.transitionAbortSubject=new G.x,this.configLoader=(0,I.f3M)(x),this.environmentInjector=(0,I.f3M)(I.lqb),this.urlSerializer=(0,I.f3M)(wr),this.rootContexts=(0,I.f3M)($r),this.inputBindingEnabled=null!==(0,I.f3M)(zt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,W.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new Fi(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new go(S))}complete(){var c;null===(c=this.transitions)||void 0===c||c.complete()}handleNavigationRequest(c){var _;const S=++this.navigationId;null===(_=this.transitions)||void 0===_||_.next({...this.transitions.value,...c,id:S})}setupNavigations(c,_,S){return this.transitions=new q.X({id:0,currentUrlTree:_,currentRawUrl:_,currentBrowserUrl:_,extractedUrl:c.urlHandlingStrategy.extract(_),urlAfterRedirects:c.urlHandlingStrategy.extract(_),rawUrl:_,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Fr,restoredState:null,currentSnapshot:S.snapshot,targetSnapshot:null,currentRouterState:S,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,B.h)(F=>0!==F.id),(0,ce.U)(F=>({...F,extractedUrl:c.urlHandlingStrategy.extract(F.rawUrl)})),(0,ye.w)(F=>{this.currentTransition=F;let ue=!1,Pe=!1;return(0,W.of)(F).pipe((0,ee.b)(be=>{this.currentNavigation={id:be.id,initialUrl:be.rawUrl,extractedUrl:be.extractedUrl,trigger:be.source,extras:be.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ye.w)(be=>{var Xe;const dt=be.currentBrowserUrl.toString(),Dn=!c.navigated||be.extractedUrl.toString()!==dt||dt!==be.currentUrlTree.toString(),fr=null!==(Xe=be.extras.onSameUrlNavigation)&&void 0!==Xe?Xe:c.onSameUrlNavigation;if(!Dn&&"reload"!==fr){const sn="";return this.events.next(new _n(be.id,this.urlSerializer.serialize(be.rawUrl),sn,0)),be.resolve(null),fe.E}if(c.urlHandlingStrategy.shouldProcessUrl(be.rawUrl))return(0,W.of)(be).pipe((0,ye.w)(sn=>{var xn,Zr;const Po=null===(xn=this.transitions)||void 0===xn?void 0:xn.getValue();return this.events.next(new Ur(sn.id,this.urlSerializer.serialize(sn.extractedUrl),sn.source,sn.restoredState)),Po!==(null===(Zr=this.transitions)||void 0===Zr?void 0:Zr.getValue())?fe.E:Promise.resolve(sn)}),function Xa(a,u,f,c,_,S){return(0,me.z)(F=>function Za(a,u,f,c,_,S,F="emptyOnly"){return new Nu(a,u,f,c,_,F,S).recognize()}(a,u,f,c,F.extractedUrl,_,S).pipe((0,ce.U)(({state:ue,tree:Pe})=>({...F,targetSnapshot:ue,urlAfterRedirects:Pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,ee.b)(sn=>{F.targetSnapshot=sn.targetSnapshot,F.urlAfterRedirects=sn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:sn.urlAfterRedirects};const xn=new Co(sn.id,this.urlSerializer.serialize(sn.extractedUrl),this.urlSerializer.serialize(sn.urlAfterRedirects),sn.targetSnapshot);this.events.next(xn)}));if(Dn&&c.urlHandlingStrategy.shouldProcessUrl(be.currentRawUrl)){const{id:sn,extractedUrl:xn,source:Zr,restoredState:Po,extras:Ai}=be,Di=new Ur(sn,this.urlSerializer.serialize(xn),Zr,Po);this.events.next(Di);const ai=Uo(0,this.rootComponentType).snapshot;return this.currentTransition=F={...be,targetSnapshot:ai,urlAfterRedirects:xn,extras:{...Ai,skipLocationChange:!1,replaceUrl:!1}},(0,W.of)(F)}{const sn="";return this.events.next(new _n(be.id,this.urlSerializer.serialize(be.extractedUrl),sn,1)),be.resolve(null),fe.E}}),(0,ee.b)(be=>{const Xe=new ko(be.id,this.urlSerializer.serialize(be.extractedUrl),this.urlSerializer.serialize(be.urlAfterRedirects),be.targetSnapshot);this.events.next(Xe)}),(0,ce.U)(be=>(this.currentTransition=F={...be,guards:m(be.targetSnapshot,be.currentSnapshot,this.rootContexts)},F)),function k(a,u){return(0,me.z)(f=>{const{targetSnapshot:c,currentSnapshot:_,guards:{canActivateChecks:S,canDeactivateChecks:F}}=f;return 0===F.length&&0===S.length?(0,W.of)({...f,guardsResult:!0}):function ke(a,u,f,c){return(0,U.D)(a).pipe((0,me.z)(_=>function Xn(a,u,f,c,_){const S=u&&u.routeConfig?u.routeConfig.canDeactivate:null;if(!S||0===S.length)return(0,W.of)(!0);const F=S.map(ue=>{var Pe;const be=null!==(Pe=or(u))&&void 0!==Pe?Pe:_,Xe=A(ue,be);return vt(function ot(a){return a&&Ie(a.canDeactivate)}(Xe)?Xe.canDeactivate(a,u,f,c):be.runInContext(()=>Xe(a,u,f,c))).pipe(nt())});return(0,W.of)(F).pipe(C())}(_.component,_.route,f,u,c)),nt(_=>!0!==_,!0))}(F,c,_,a).pipe((0,me.z)(ue=>ue&&function st(a){return"boolean"==typeof a}(ue)?function at(a,u,f,c){return(0,U.D)(u).pipe(De(_=>(0,X.z)(function Qn(a,u){return null!==a&&u&&u(new sr(a)),(0,W.of)(!0)}(_.route.parent,c),function Qt(a,u){return null!==a&&u&&u(new Ti(a)),(0,W.of)(!0)}(_.route,c),function dr(a,u,f){const c=u[u.length-1],S=u.slice(0,u.length-1).reverse().map(F=>function b(a){const u=a.routeConfig?a.routeConfig.canActivateChild:null;return u&&0!==u.length?{node:a,guards:u}:null}(F)).filter(F=>null!==F).map(F=>(0,L.P)(()=>{const ue=F.guards.map(Pe=>{var be;const Xe=null!==(be=or(F.node))&&void 0!==be?be:f,dt=A(Pe,Xe);return vt(function Ft(a){return a&&Ie(a.canActivateChild)}(dt)?dt.canActivateChild(c,a):Xe.runInContext(()=>dt(c,a))).pipe(nt())});return(0,W.of)(ue).pipe(C())}));return(0,W.of)(S).pipe(C())}(a,_.path,f),function On(a,u,f){const c=u.routeConfig?u.routeConfig.canActivate:null;if(!c||0===c.length)return(0,W.of)(!0);const _=c.map(S=>(0,L.P)(()=>{var F;const ue=null!==(F=or(u))&&void 0!==F?F:f,Pe=A(S,ue);return vt(function Ut(a){return a&&Ie(a.canActivate)}(Pe)?Pe.canActivate(u,a):ue.runInContext(()=>Pe(u,a))).pipe(nt())}));return(0,W.of)(_).pipe(C())}(a,_.route,f))),nt(_=>!0!==_,!0))}(c,S,a,u):(0,W.of)(ue)),(0,ce.U)(ue=>({...f,guardsResult:ue})))})}(this.environmentInjector,be=>this.events.next(be)),(0,ee.b)(be=>{if(F.guardsResult=be.guardsResult,br(be.guardsResult))throw mn(0,be.guardsResult);const Xe=new Vo(be.id,this.urlSerializer.serialize(be.extractedUrl),this.urlSerializer.serialize(be.urlAfterRedirects),be.targetSnapshot,!!be.guardsResult);this.events.next(Xe)}),(0,B.h)(be=>!!be.guardsResult||(this.cancelNavigationTransition(be,"",3),!1)),j(be=>{if(be.guards.canActivateChecks.length)return(0,W.of)(be).pipe((0,ee.b)(Xe=>{const dt=new Jo(Xe.id,this.urlSerializer.serialize(Xe.extractedUrl),this.urlSerializer.serialize(Xe.urlAfterRedirects),Xe.targetSnapshot);this.events.next(dt)}),(0,ye.w)(Xe=>{let dt=!1;return(0,W.of)(Xe).pipe(function ns(a,u){return(0,me.z)(f=>{const{targetSnapshot:c,guards:{canActivateChecks:_}}=f;if(!_.length)return(0,W.of)(f);let S=0;return(0,U.D)(_).pipe(De(F=>function xu(a,u,f,c){const _=a.routeConfig,S=a._resolve;return void 0!==(null==_?void 0:_.title)&&!w(_)&&(S[et]=_.title),function Li(a,u,f,c){const _=function Ja(a){return[...Object.keys(a),...Object.getOwnPropertySymbols(a)]}(a);if(0===_.length)return(0,W.of)({});const S={};return(0,U.D)(_).pipe((0,me.z)(F=>function p(a,u,f,c){var _;const S=null!==(_=or(u))&&void 0!==_?_:c,F=A(a,S);return vt(F.resolve?F.resolve(u,f):S.runInContext(()=>F(u,f)))}(a[F],u,f,c).pipe(nt(),(0,ee.b)(ue=>{S[F]=ue}))),Ne(1),(0,it.h)(S),(0,he.K)(F=>v(F)?fe.E:oe(F)))}(S,a,u,c).pipe((0,ce.U)(F=>(a._resolvedData=F,a.data=ti(a,f).resolve,_&&w(_)&&(a.data[et]=_.title),null)))}(F.route,c,a,u)),(0,ee.b)(()=>S++),Ne(1),(0,me.z)(F=>S===_.length?(0,W.of)(f):fe.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,ee.b)({next:()=>dt=!0,complete:()=>{dt||this.cancelNavigationTransition(Xe,"",2)}}))}),(0,ee.b)(Xe=>{const dt=new qo(Xe.id,this.urlSerializer.serialize(Xe.extractedUrl),this.urlSerializer.serialize(Xe.urlAfterRedirects),Xe.targetSnapshot);this.events.next(dt)}))}),j(be=>{const Xe=dt=>{var Dn;const fr=[];null!==(Dn=dt.routeConfig)&&void 0!==Dn&&Dn.loadComponent&&!dt.routeConfig._loadedComponent&&fr.push(this.configLoader.loadComponent(dt.routeConfig).pipe((0,ee.b)(sn=>{dt.component=sn}),(0,ce.U)(()=>{})));for(const sn of dt.children)fr.push(...Xe(sn));return fr};return(0,Q.a)(Xe(be.targetSnapshot.root)).pipe($e(),(0,ae.q)(1))}),j(()=>this.afterPreactivation()),(0,ce.U)(be=>{const Xe=function ur(a,u,f){const c=Et(a,u._root,f?f._root:void 0);return new Bn(c,u)}(c.routeReuseStrategy,be.targetSnapshot,be.currentRouterState);return this.currentTransition=F={...be,targetRouterState:Xe},F}),(0,ee.b)(()=>{this.events.next(new Mo)}),((a,u,f,c)=>(0,ce.U)(_=>(new Gn(u,_.targetRouterState,_.currentRouterState,f,c).activate(a),_)))(this.rootContexts,c.routeReuseStrategy,be=>this.events.next(be),this.inputBindingEnabled),(0,ae.q)(1),(0,ee.b)({next:be=>{var Xe;ue=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new qr(be.id,this.urlSerializer.serialize(be.extractedUrl),this.urlSerializer.serialize(be.urlAfterRedirects))),null===(Xe=c.titleStrategy)||void 0===Xe||Xe.updateTitle(be.targetRouterState.snapshot),be.resolve(!0)},complete:()=>{ue=!0}}),(0,ln.R)(this.transitionAbortSubject.pipe((0,ee.b)(be=>{throw be}))),(0,Ge.x)(()=>{var be;ue||Pe||this.cancelNavigationTransition(F,"",1),(null===(be=this.currentNavigation)||void 0===be?void 0:be.id)===F.id&&(this.currentNavigation=null)}),(0,he.K)(be=>{if(Pe=!0,rr(be))this.events.next(new Hr(F.id,this.urlSerializer.serialize(F.extractedUrl),be.message,be.cancellationCode)),function Gr(a){return rr(a)&&br(a.url)}(be)?this.events.next(new to(be.url)):F.resolve(!1);else{var Xe;this.events.next(new eo(F.id,this.urlSerializer.serialize(F.extractedUrl),be,null!==(Xe=F.targetSnapshot)&&void 0!==Xe?Xe:void 0));try{F.resolve(c.errorHandler(be))}catch(dt){F.reject(dt)}}return fe.E}))}))}cancelNavigationTransition(c,_,S){const F=new Hr(c.id,this.urlSerializer.serialize(c.extractedUrl),_,S);this.events.next(F),c.resolve(!1)}}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),u})();function Xt(a){return a!==Fr}let Jt=(()=>{var a;class u{buildTitle(c){let _,S=c.root;for(;void 0!==S;){var F;_=null!==(F=this.getResolvedTitleForRoute(S))&&void 0!==F?F:_,S=S.children.find(ue=>ue.outlet===Ee)}return _}getResolvedTitleForRoute(c){return c.data[et]}}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:function(){return(0,I.f3M)(Rt)},providedIn:"root"}),u})(),Rt=(()=>{var a;class u extends Jt{constructor(c){super(),this.title=c}updateTitle(c){const _=this.buildTitle(c);void 0!==_&&this.title.setTitle(_)}}return(a=u).\u0275fac=function(c){return new(c||a)(I.LFG(l.Dx))},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),u})(),vn=(()=>{var a;class u{}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:function(){return(0,I.f3M)(Yn)},providedIn:"root"}),u})();class pn{shouldDetach(u){return!1}store(u,f){}shouldAttach(u){return!1}retrieve(u){return null}shouldReuseRoute(u,f){return u.routeConfig===f.routeConfig}}let Yn=(()=>{var a;class u extends pn{}return(a=u).\u0275fac=function(){let f;return function(_){return(f||(f=I.n5z(a)))(_||a)}}(),a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),u})();const Kr=new I.OlP("",{providedIn:"root",factory:()=>({})});let io=(()=>{var a;class u{}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:function(){return(0,I.f3M)(ri)},providedIn:"root"}),u})(),ri=(()=>{var a;class u{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,_){return c}}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),u})();var qn=function(a){return a[a.COMPLETE=0]="COMPLETE",a[a.FAILED=1]="FAILED",a[a.REDIRECTING=2]="REDIRECTING",a}(qn||{});function ir(a){throw a}function Go(a,u,f){return u.parse("/")}const qa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Cn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let so=(()=>{var a;class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){var c,_;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(c=null===(_=this.location.getState())||void 0===_?void 0:_.\u0275routerPageId)&&void 0!==c?c:this.currentPageId}get events(){return this._events}constructor(){var c,_;this.disposed=!1,this.currentPageId=0,this.console=(0,I.f3M)(I.c2e),this.isNgZoneEnabled=!1,this._events=new G.x,this.options=(0,I.f3M)(Kr,{optional:!0})||{},this.pendingTasks=(0,I.f3M)(I.HDt),this.errorHandler=this.options.errorHandler||ir,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Go,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,I.f3M)(io),this.routeReuseStrategy=(0,I.f3M)(vn),this.titleStrategy=(0,I.f3M)(Jt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=null!==(c=null===(_=(0,I.f3M)(D,{optional:!0}))||void 0===_?void 0:_.flat())&&void 0!==c?c:[],this.navigationTransitions=(0,I.f3M)(xt),this.urlSerializer=(0,I.f3M)(wr),this.location=(0,I.f3M)(N.Ye),this.componentInputBindingEnabled=!!(0,I.f3M)(zt,{optional:!0}),this.eventsSubscription=new we.w0,this.isNgZoneEnabled=(0,I.f3M)(I.R0b)instanceof I.R0b&&I.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Vt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Uo(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(S=>{this.lastSuccessfulId=S.id,this.currentPageId=this.browserPageId},S=>{this.console.warn("Unhandled Navigation Error: ".concat(S))}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const c=this.navigationTransitions.events.subscribe(_=>{try{const{currentTransition:S}=this.navigationTransitions;if(null===S)return void(Pr(_)&&this._events.next(_));if(_ instanceof Ur)Xt(S.source)&&(this.browserUrlTree=S.extractedUrl);else if(_ instanceof _n)this.rawUrlTree=S.rawUrl;else if(_ instanceof Co){if("eager"===this.urlUpdateStrategy){if(!S.extras.skipLocationChange){const F=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl);this.setBrowserUrl(F,S)}this.browserUrlTree=S.urlAfterRedirects}}else if(_ instanceof Mo)this.currentUrlTree=S.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl),this.routerState=S.targetRouterState,"deferred"===this.urlUpdateStrategy&&(S.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,S),this.browserUrlTree=S.urlAfterRedirects);else if(_ instanceof Hr)0!==_.code&&1!==_.code&&(this.navigated=!0),(3===_.code||2===_.code)&&this.restoreHistory(S);else if(_ instanceof to){const F=this.urlHandlingStrategy.merge(_.url,S.currentRawUrl),ue={skipLocationChange:S.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Xt(S.source)};this.scheduleNavigation(F,Fr,null,ue,{resolve:S.resolve,reject:S.reject,promise:S.promise})}_ instanceof eo&&this.restoreHistory(S,!0),_ instanceof qr&&(this.navigated=!0),Pr(_)&&this._events.next(_)}catch(S){this.navigationTransitions.transitionAbortSubject.next(S)}});this.eventsSubscription.add(c)}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Fr,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const _="popstate"===c.type?"popstate":"hashchange";"popstate"===_&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,_,c.state)},0)}))}navigateToSyncWithBrowser(c,_,S){const F={replaceUrl:!0},ue=null!=S&&S.navigationId?S:null;if(S){const be={...S};delete be.navigationId,delete be.\u0275routerPageId,0!==Object.keys(be).length&&(F.state=be)}const Pe=this.parseUrl(c);this.scheduleNavigation(Pe,_,ue,F)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(c){this.config=c.map(Un),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(c,_={}){const{relativeTo:S,queryParams:F,fragment:ue,queryParamsHandling:Pe,preserveFragment:be}=_,Xe=be?this.currentUrlTree.fragment:ue;let Dn,dt=null;switch(Pe){case"merge":dt={...this.currentUrlTree.queryParams,...F};break;case"preserve":dt=this.currentUrlTree.queryParams;break;default:dt=F||null}null!==dt&&(dt=this.removeEmptyProps(dt));try{Dn=fo(S?S.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof c[0]||!c[0].startsWith("/"))&&(c=[]),Dn=this.currentUrlTree.root}return Tn(Dn,c,dt,null!=Xe?Xe:null)}navigateByUrl(c,_={skipLocationChange:!1}){const S=br(c)?c:this.parseUrl(c),F=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(F,Fr,null,_)}navigate(c,_={skipLocationChange:!1}){return function rs(a){for(let u=0;u{const F=c[S];return null!=F&&(_[S]=F),_},{})}scheduleNavigation(c,_,S,F,ue){if(this.disposed)return Promise.resolve(!1);let Pe,be,Xe;ue?(Pe=ue.resolve,be=ue.reject,Xe=ue.promise):Xe=new Promise((Dn,fr)=>{Pe=Dn,be=fr});const dt=this.pendingTasks.add();return function Io(a,u){a.events.pipe((0,B.h)(f=>f instanceof qr||f instanceof Hr||f instanceof eo||f instanceof _n),(0,ce.U)(f=>f instanceof qr||f instanceof _n?qn.COMPLETE:f instanceof Hr&&(0===f.code||1===f.code)?qn.REDIRECTING:qn.FAILED),(0,B.h)(f=>f!==qn.REDIRECTING),(0,ae.q)(1)).subscribe(()=>{u()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(dt))}),this.navigationTransitions.handleNavigationRequest({source:_,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:c,extras:F,resolve:Pe,reject:be,promise:Xe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Xe.catch(Dn=>Promise.reject(Dn))}setBrowserUrl(c,_){const S=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(S)||_.extras.replaceUrl){const ue={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId)};this.location.replaceState(S,"",ue)}else{const F={..._.extras.state,...this.generateNgRouterState(_.id,this.browserPageId+1)};this.location.go(S,"",F)}}restoreHistory(c,_=!1){if("computed"===this.canceledNavigationResolution){var S;const ue=this.currentPageId-this.browserPageId;0!==ue?this.location.historyGo(ue):this.currentUrlTree===(null===(S=this.getCurrentNavigation())||void 0===S?void 0:S.finalUrl)&&0===ue&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,_){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:_}:{navigationId:c}}}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),u})();function Pr(a){return!(a instanceof Mo||a instanceof to)}const Ao=new I.OlP("");function Js(a){return a.routerState.root}function Bu(){const a=(0,I.f3M)(I.zs3);return u=>{var f,c;const _=a.get(I.z2F);if(u!==_.components[0])return;const S=a.get(so),F=a.get(nl);1===a.get(qs)&&S.initialNavigation(),null===(f=a.get(ol,null,I.XFs.Optional))||void 0===f||f.setUpPreloading(),null===(c=a.get(Ao,null,I.XFs.Optional))||void 0===c||c.init(),S.resetRootComponentType(_.componentTypes[0]),F.closed||(F.next(),F.complete(),F.unsubscribe())}}const nl=new I.OlP("",{factory:()=>new G.x}),qs=new I.OlP("",{providedIn:"root",factory:()=>1}),ol=new I.OlP("");let al=(()=>{var a;class u{}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275cmp=I.Xpm({type:a,selectors:[["app"]],standalone:!0,features:[I.jDz],decls:1,vars:0,template:function(c,_){1&c&&I._UZ(0,"router-outlet")},dependencies:[N.ez,Mn],encapsulation:2,changeDetection:0}),u})();var is=y(2405),ao=y(396);let ea=(()=>{var a;class u extends is._j{constructor(c,_){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(_.body,{id:"0",encapsulation:I.ifc.None,styles:[],data:{animation:[]}})}build(c){const _=this._nextAnimationId.toString();this._nextAnimationId++;const S=Array.isArray(c)?(0,is.vP)(c):c;return ss(this._renderer,null,_,"register",[S]),new ta(_,this._renderer)}}return(a=u).\u0275fac=function(c){return new(c||a)(I.LFG(I.FYo),I.LFG(N.K0))},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac}),u})();class ta extends is.LC{constructor(u,f){super(),this._id=u,this._renderer=f}create(u,f){return new ll(this._id,u,f||{},this._renderer)}}class ll{constructor(u,f,c,_){this.id=u,this.element=f,this._renderer=_,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",c)}_listen(u,f){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(u),f)}_command(u,...f){return ss(this._renderer,this.element,this.id,u,f)}onDone(u){this._listen("done",u)}onStart(u){this._listen("start",u)}onDestroy(u){this._listen("destroy",u)}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(u){this._command("setPosition",u)}getPosition(){var u,f;return null!==(u=null===(f=this._renderer.engine.players[+this.id])||void 0===f?void 0:f.getPosition())&&void 0!==u?u:0}}function ss(a,u,f,c,_){return a.setProperty(u,"@@".concat(f,":").concat(c),_)}const na="@.disabled";let ra=(()=>{var a;class u{constructor(c,_,S){this.delegate=c,this.engine=_,this._zone=S,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,_.onRemovalComplete=(F,ue)=>{const Pe=null==ue?void 0:ue.parentNode(F);Pe&&ue.removeChild(Pe,F)}}createRenderer(c,_){const F=this.delegate.createRenderer(c,_);if(!(c&&_&&_.data&&_.data.animation)){let dt=this._rendererCache.get(F);return dt||(dt=new oa("",F,this.engine,()=>this._rendererCache.delete(F)),this._rendererCache.set(F,dt)),dt}const ue=_.id,Pe=_.id+"-"+this._currentId;this._currentId++,this.engine.register(Pe,c);const be=dt=>{Array.isArray(dt)?dt.forEach(be):this.engine.registerTrigger(ue,Pe,c,dt.name,dt)};return _.data.animation.forEach(be),new ul(this,Pe,F,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(c,_,S){c>=0&&c_(S)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(F=>{const[ue,Pe]=F;ue(Pe)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([_,S]))}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()}}return(a=u).\u0275fac=function(c){return new(c||a)(I.LFG(I.FYo),I.LFG(ao.Th),I.LFG(I.R0b))},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac}),u})();class oa{constructor(u,f,c,_){this.namespaceId=u,this.delegate=f,this.engine=c,this._onDestroy=_}get data(){return this.delegate.data}destroyNode(u){var f,c;null===(f=(c=this.delegate).destroyNode)||void 0===f||f.call(c,u)}destroy(){var u;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),null===(u=this._onDestroy)||void 0===u||u.call(this)}createElement(u,f){return this.delegate.createElement(u,f)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,f){this.delegate.appendChild(u,f),this.engine.onInsert(this.namespaceId,f,u,!1)}insertBefore(u,f,c,_=!0){this.delegate.insertBefore(u,f,c),this.engine.onInsert(this.namespaceId,f,u,_)}removeChild(u,f,c){this.engine.onRemove(this.namespaceId,f,this.delegate)}selectRootElement(u,f){return this.delegate.selectRootElement(u,f)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,f,c,_){this.delegate.setAttribute(u,f,c,_)}removeAttribute(u,f,c){this.delegate.removeAttribute(u,f,c)}addClass(u,f){this.delegate.addClass(u,f)}removeClass(u,f){this.delegate.removeClass(u,f)}setStyle(u,f,c,_){this.delegate.setStyle(u,f,c,_)}removeStyle(u,f,c){this.delegate.removeStyle(u,f,c)}setProperty(u,f,c){"@"==f.charAt(0)&&f==na?this.disableAnimations(u,!!c):this.delegate.setProperty(u,f,c)}setValue(u,f){this.delegate.setValue(u,f)}listen(u,f,c){return this.delegate.listen(u,f,c)}disableAnimations(u,f){this.engine.disableAnimations(u,f)}}class ul extends oa{constructor(u,f,c,_,S){super(f,c,_,S),this.factory=u,this.namespaceId=f}setProperty(u,f,c){"@"==f.charAt(0)?"."==f.charAt(1)&&f==na?this.disableAnimations(u,c=void 0===c||!!c):this.engine.process(this.namespaceId,u,f.slice(1),c):this.delegate.setProperty(u,f,c)}listen(u,f,c){if("@"==f.charAt(0)){const _=function cl(a){switch(a){case"body":return document.body;case"document":return document;case"window":return window;default:return a}}(u);let S=f.slice(1),F="";return"@"!=S.charAt(0)&&([S,F]=function dl(a){const u=a.indexOf(".");return[a.substring(0,u),a.slice(u+1)]}(S)),this.engine.listen(this.namespaceId,_,S,F,ue=>{this.factory.scheduleListenerCallback(ue._data||-1,c,ue)})}return this.delegate.listen(u,f,c)}}let ia=(()=>{var a;class u extends ao.Th{constructor(c,_,S,F){super(c.body,_,S)}ngOnDestroy(){this.flush()}}return(a=u).\u0275fac=function(c){return new(c||a)(I.LFG(N.K0),I.LFG(ao.Vi),I.LFG(ao.NH),I.LFG(I.z2F))},a.\u0275prov=I.Yz7({token:a,factory:a.\u0275fac}),u})();const Er=[{provide:is._j,useClass:ea},{provide:ao.NH,useFactory:function Ku(){return new ao.Ar}},{provide:ao.Th,useClass:ia},{provide:I.FYo,useFactory:function Yu(a,u,f){return new ra(a,u,f)},deps:[l.se,ao.Th,I.R0b]}],Ko=[{provide:ao.Vi,useFactory:()=>new ao.DT},{provide:I.QbO,useValue:"BrowserAnimations"},...Er],In=[{provide:ao.Vi,useClass:ao.nV},{provide:I.QbO,useValue:"NoopAnimations"},...Er];let fl=(()=>{var a;class u{static withConfig(c){return{ngModule:u,providers:c.disableAnimations?In:Ko}}}return(a=u).\u0275fac=function(c){return new(c||a)},a.\u0275mod=I.oAB({type:a}),a.\u0275inj=I.cJS({providers:Ko,imports:[l.b2]}),u})();var hl=y(552),pl=y(8715),Bi=y(8910),si=y(941);let ls=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275mod=I.oAB({type:a}),a.\u0275inj=I.cJS({}),a})();var ji=y(9502),Ui=y(6254);(0,pl.JN)((0,W.of)(!1));let aa=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275mod=I.oAB({type:a}),a.\u0275inj=I.cJS({imports:[[N.ez,Ui.wq,si.e,ls,ji.WD,Bi.eI]]}),a})();var Of=y(1968);let Rf=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275mod=I.oAB({type:a}),a.\u0275inj=I.cJS({imports:[[N.ez,Of.I]]}),a})(),ds=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275mod=I.oAB({type:a}),a.\u0275inj=I.cJS({imports:[[N.ez,ji.WD]]}),a})();var Nf=y(6851);let ec=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275mod=I.oAB({type:a}),a.\u0275inj=I.cJS({imports:[[N.ez,Ui.wq,Nf.A]]}),a})();var fs=y(3794);let nc=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275mod=I.oAB({type:a}),a.\u0275inj=I.cJS({imports:[[N.ez,fs.X1,hl.mL,ds,ec,aa,Rf,Bi.eI]]}),a})();function ca(a,u,f,c,_,S,F){try{var ue=a[S](F),Pe=ue.value}catch(be){return void f(be)}ue.done?u(Pe):Promise.resolve(Pe).then(c,_)}const Cl=[{path:"",loadComponent:(a=function El(a){return function(){var u=this,f=arguments;return new Promise(function(c,_){var S=a.apply(u,f);function F(Pe){ca(S,c,_,F,ue,"next",Pe)}function ue(Pe){ca(S,c,_,F,ue,"throw",Pe)}F(void 0)})}}(function*(){return(yield y.e(945).then(y.bind(y,1945))).HomeComponent}),function(){return a.apply(this,arguments)})}],Ml={providers:[function Zu(){return[...Ko]}(),function ku(a,...u){return(0,I.MR2)([{provide:D,multi:!0,useValue:a},[],{provide:_r,useFactory:Js,deps:[so]},{provide:I.tb,multi:!0,useFactory:Bu},u.map(f=>f.\u0275providers)])}(Cl),(0,I.RIp)(l.b2,fl,nc)]};var a;(0,l.Cg)(al,Ml).catch(a=>console.error(a))},5393:(We,le,y)=>{y.d(le,{KS:()=>ge,L1:()=>X,m9:()=>Q,s5:()=>we,ux:()=>$,yZ:()=>Ve});var l=y(755),N=y(8132),I=y(409),Y=y(8557),U=y(3843),W=y(2425),q=y(8004),pe=y(530),de=y(6733);const Q=new l.OlP("An abstraction over global window object",{factory:()=>{const{defaultView:B}=(0,l.f3M)(de.K0);if(!B)throw new Error("Window is not available");return B}}),X=new l.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:B,cancelAnimationFrame:me}=(0,l.f3M)(Q);return new N.y(qe=>{let bt=NaN;const Ue=nt=>{qe.next(nt),bt=B(Ue)};return bt=B(Ue),()=>{me(bt)}}).pipe((0,Y.B)())}}),$=(new l.OlP("An abstraction over window.caches object",{factory:()=>(0,l.f3M)(Q).caches}),new l.OlP("An abstraction over window.crypto object",{factory:()=>(0,l.f3M)(Q).crypto}),new l.OlP("An abstraction over window.CSS object",{factory:()=>(0,l.f3M)(Q).CSS||{escape:B=>B,supports:()=>!1}})),we=(new l.OlP("An abstraction over window.history object",{factory:()=>(0,l.f3M)(Q).history}),new l.OlP("An abstraction over window.localStorage object",{factory:()=>(0,l.f3M)(Q).localStorage}),new l.OlP("An abstraction over window.location object",{factory:()=>(0,l.f3M)(Q).location}),new l.OlP("An abstraction over window.navigator object",{factory:()=>(0,l.f3M)(Q).navigator})),ge=(new l.OlP("An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,l.f3M)(we).mediaDevices}),new l.OlP("An abstraction over window.navigator.connection object",{factory:()=>(0,l.f3M)(we).connection||null}),new l.OlP("Shared Observable based on `document visibility changed`",{factory:()=>{const B=(0,l.f3M)(de.K0);return(0,I.R)(B,"visibilitychange").pipe((0,U.O)(0),(0,W.U)(()=>"hidden"!==B.visibilityState),(0,q.x)(),(0,pe.d)({refCount:!1,bufferSize:1}))}}),new l.OlP("An abstraction over window.performance object",{factory:()=>(0,l.f3M)(Q).performance})),Ve=(new l.OlP("An abstraction over window.screen object",{factory:()=>(0,l.f3M)(Q).screen}),new l.OlP("An abstraction over window.sessionStorage object",{factory:()=>(0,l.f3M)(Q).sessionStorage}),new l.OlP("An abstraction over SpeechRecognition class",{factory:()=>{const B=(0,l.f3M)(Q);return B.speechRecognition||B.webkitSpeechRecognition||null}}),new l.OlP("An abstraction over window.speechSynthesis object",{factory:()=>(0,l.f3M)(Q).speechSynthesis}),new l.OlP("An abstraction over window.navigator.userAgent object",{factory:()=>(0,l.f3M)(we).userAgent}))},4226:(We,le,y)=>{y.d(le,{F9:()=>me,M$:()=>G,N9:()=>$e,QJ:()=>ye,Xn:()=>H,d5:()=>ae,m6:()=>B,wB:()=>ce});var l=y(755),N=y(2133),Y=(y(9838),y(7007)),U=y(8715),W=y(8748),q=y(5047),pe=y(8132),de=y(6424),Q=y(9286),X=y(3843),L=y(2425),K=y(5333),$=y(8004),ne=y(4787),oe=y(1749),fe=y(8322),we=y(9663);let H=(()=>{class Ue{constructor(){this.pseudoHover=null,this.pseudoActive=null,this.pseudoFocus=null,this.focusable=!0,this.nativeId="",this.focusedChange=new l.vpe,this.focusVisibleChange=new l.vpe,this.focusVisible=!1,this.autoIdString="".concat("tui_interactive_").concat(Ue.autoId++).concat(Date.now())}get computedDisabled(){return this.disabled}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}get computedFocused(){var De;return!this.computedDisabled&&(null!==(De=this.pseudoFocus)&&void 0!==De?De:this.focused)}get computedFocusVisible(){var De;return!this.computedDisabled&&(null!==(De=this.pseudoFocus)&&void 0!==De?De:this.focusVisible)}get id(){return this.nativeId||this.autoIdString}updateFocused(De){this.focusedChange.emit(De)}updateFocusVisible(De){this.focusVisible!==De&&(this.focusVisible=De,this.focusVisibleChange.emit(De))}}return Ue.autoId=0,Ue.\u0275fac=function(De){return new(De||Ue)},Ue.\u0275dir=l.lG2({type:Ue,hostVars:7,hostBindings:function(De,ee){2&De&&(l.uIk("data-focused",ee.pseudoFocus),l.ekj("_disabled",ee.computedDisabled)("_focused",ee.computedFocused)("_focus-visible",ee.computedFocusVisible))},inputs:{pseudoHover:"pseudoHover",pseudoActive:"pseudoActive",pseudoFocus:"pseudoFocus",focusable:"focusable",nativeId:"nativeId"},outputs:{focusedChange:"focusedChange",focusVisibleChange:"focusVisibleChange"}}),Ue})();class ge{}let G=(()=>{class Ue extends H{constructor(De,ee,he){super(),this.ngControl=De,this.cdr=ee,this.valueTransformer=he,this.refresh$=new W.x,this.onTouched=Y.iD,this.onChange=Y.iD,this.fallbackValue=this.getFallbackValue(),this.destroy$=new W.x,this.readOnly=!1,this.pseudoInvalid=null,this.ngControl&&(this.ngControl.valueAccessor=this)}get computedInvalid(){return this.interactive&&(null!==this.pseudoInvalid?this.pseudoInvalid:this.touched&&this.invalid)}get value(){var De;return null!==(De=this.previousInternalValue)&&void 0!==De?De:this.fallbackValue}set value(De){this.updateValue(De)}get safeCurrentValue(){var De;return null!==(De=this.rawValue)&&void 0!==De?De:this.fallbackValue}get invalid(){return this.safeNgControlData(({invalid:De})=>De,!1)}get valid(){return this.safeNgControlData(({valid:De})=>De,!1)}get touched(){return this.safeNgControlData(({touched:De})=>De,!1)}get disabled(){return this.safeNgControlData(({disabled:De})=>De,!1)}get interactive(){return!this.readOnly&&!this.computedDisabled}get control(){return this.safeNgControlData(({control:De})=>De,null)}get computedName(){var De,ee;return null!==(ee=null===(De=this.controlName)||void 0===De?void 0:De.toString())&&void 0!==ee?ee:null}get controlName(){var De,ee,he;return null!==(he=null===(ee=null===(De=this.ngControl)||void 0===De?void 0:De.name)||void 0===ee?void 0:ee.toString())&&void 0!==he?he:null}get rawValue(){const{ngControl:De}=this;if(null!==De)return this.fromControlValue(De instanceof N.On&&void 0===this.previousInternalValue?De.viewModel:De.value)}ngOnInit(){this.refresh$.pipe((0,Q.g)(0),(0,X.O)(null),(0,L.U)(()=>{var De;return null===(De=this.ngControl)||void 0===De?void 0:De.control}),(0,K.h)(U.Pc),(0,$.x)(),(0,ne.w)(De=>(0,q.T)(De.valueChanges,De.statusChanges)),(0,oe.R)(this.destroy$)).subscribe(()=>{this.refreshLocalValue(this.safeCurrentValue)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(De){this.onChange=ee=>{De(this.toControlValue(ee))},this.refresh$.next()}registerOnTouched(De){this.onTouched=De}setDisabledState(){this.checkControlUpdate()}writeValue(De){this.refreshLocalValue(this.fromControlValue(this.ngControl instanceof N.On&&void 0===this.previousInternalValue?this.ngControl.model:De))}updateFocused(De){De||this.controlMarkAsTouched(),super.updateFocused(De)}updateValue(De){this.disabled||this.valueIdenticalComparator(this.value,De)||(this.previousInternalValue=De,this.controlSetValue(De))}valueIdenticalComparator(De,ee){return De===ee}safeNgControlData(De,ee){var he;return null!==(he=this.ngControl&&De(this.ngControl))&&void 0!==he?he:ee}controlMarkAsTouched(){this.onTouched(),this.checkControlUpdate()}controlSetValue(De){this.onChange(De),this.checkControlUpdate()}refreshLocalValue(De){this.previousInternalValue=De,this.checkControlUpdate()}fromControlValue(De){return this.valueTransformer?this.valueTransformer.fromControlValue(De):De}toControlValue(De){return this.valueTransformer?this.valueTransformer.toControlValue(De):De}}return Ue.\u0275fac=function(De){return new(De||Ue)(l.Y36(N.a5,8),l.Y36(l.sBO),l.Y36(ge,8))},Ue.\u0275dir=l.lG2({type:Ue,hostVars:4,hostBindings:function(De,ee){2&De&&l.ekj("_readonly",ee.readOnly)("_invalid",ee.computedInvalid)},inputs:{readOnly:"readOnly",pseudoInvalid:"pseudoInvalid"},features:[l.qOj]}),Ue})();function ce(Ue){return{provide:G,useExisting:Ue}}let ye=(()=>{class Ue{constructor(){this.change$=new W.x}ngOnChanges(){this.change$.next()}}return Ue.\u0275fac=function(De){return new(De||Ue)},Ue.\u0275dir=l.lG2({type:Ue,features:[l.TTD]}),Ue})(),ae=(()=>{class Ue extends pe.y{constructor(De){super(ee=>this.dialogs$.subscribe(ee)),this.idService=De,this.dialogs$=new de.X([])}open(De,ee={}){return new pe.y(he=>{const Ce=Object.assign(Object.assign(Object.assign({},this.defaultOptions),ee),{content:De,completeWith:Ne=>{he.next(Ne),he.complete()},$implicit:he,component:this.component,createdAt:Date.now(),id:this.idService.generate()});return this.dialogs$.next([...this.dialogs$.value,Ce]),()=>{this.dialogs$.next(this.dialogs$.value.filter(Ne=>Ne!==Ce))}})}}return Ue.\u0275fac=function(De){return new(De||Ue)(l.LFG(fe.ll))},Ue.\u0275prov=l.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})(),B=(()=>{class Ue extends G{clear(){this.value=[]}getFallbackValue(){return[]}}return Ue.\u0275fac=function(){let nt;return function(ee){return(nt||(nt=l.n5z(Ue)))(ee||Ue)}}(),Ue.\u0275dir=l.lG2({type:Ue,features:[l.qOj]}),Ue})(),me=(()=>{class Ue extends G{getFallbackValue(){return null}}return Ue.\u0275fac=function(){let nt;return function(ee){return(nt||(nt=l.n5z(Ue)))(ee||Ue)}}(),Ue.\u0275dir=l.lG2({type:Ue,features:[l.qOj]}),Ue})(),$e=(()=>{class Ue{get safeHost(){if(!this.host)throw new we.ZB;return this.host}attach(De){this.host=De}add(De){return this.safeHost.addComponentChild(De)}remove({hostView:De}){De.destroy()}addTemplate(De,ee){return this.safeHost.addTemplateChild(De,ee)}removeTemplate(De){De.destroy()}}return Ue.\u0275fac=function(De){return new(De||Ue)},Ue.\u0275prov=l.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})()},9838:(We,le,y)=>{y.d(le,{z:()=>N});var l=y(7007);const N={enabled:!1,get assert(){return l.iD}}},552:(We,le,y)=>{y.d(le,{ae:()=>Y,mL:()=>W});var l=y(755),N=y(4226);let Y=(()=>{class q extends N.N9{}return q.\u0275fac=function(){let pe;return function(Q){return(pe||(pe=l.n5z(q)))(Q||q)}}(),q.\u0275prov=l.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})(),W=(()=>{class q{}return q.\u0275fac=function(de){return new(de||q)},q.\u0275mod=l.oAB({type:q}),q.\u0275inj=l.cJS({}),q})()},8910:(We,le,y)=>{y.d(le,{eI:()=>ye,tZ:()=>ge});var l=y(755),N=y(5393),I=y(4521),Y=y(3454),U=y(2425),W=y(4787),q=y(1749),pe=y(8356),de=y(3843),Q=y(8004),X=y(6733),L=y(7007),K=y(8322),$=y(5047);function ne(ae,Ve){if(1&ae&&(l.TgZ(0,"div",3),l._UZ(1,"div",4),l.qZA()),2&ae){const B=l.oxw().ngIf;l.ekj("t-bar_has-horizontal",B[1])}}function oe(ae,Ve){if(1&ae&&(l.TgZ(0,"div",5),l._UZ(1,"div",6),l.qZA()),2&ae){const B=l.oxw().ngIf;l.ekj("t-bar_has-vertical",B[0])}}function fe(ae,Ve){if(1&ae&&(l.ynx(0),l.YNc(1,ne,2,2,"div",1),l.YNc(2,oe,2,2,"div",2),l.BQk()),2&ae){const B=Ve.ngIf;l.xp6(1),l.Q6J("ngIf",B[0]),l.xp6(1),l.Q6J("ngIf",B[1])}}let Le=(()=>{class ae{constructor(B,me,$e,qe,bt,Ue){this.container=qe,this.doc=bt,this.el=Ue,this.tuiScrollbar="vertical";const{nativeElement:nt}=this.el,De=(0,I.mL)(nt,"mousedown"),ee=(0,I.mL)(this.doc,"mousemove"),he=(0,I.mL)(this.doc,"mouseup"),Te=(0,I.mL)(this.wrapper,"mousedown");(0,$.T)(Te.pipe((0,U.U)(Ce=>this.getScrolled(Ce,.5,.5))),De.pipe((0,I.vm)(),(0,W.w)(Ce=>{const Ne=nt.getBoundingClientRect(),Fe=function Re({clientY:ae},{top:Ve,height:B}){return(ae-Ve)/B}(Ce,Ne),it=function H({clientX:ae},{left:Ve,width:B}){return(ae-Ve)/B}(Ce,Ne);return ee.pipe((0,U.U)(Ge=>this.getScrolled(Ge,Fe,it)),(0,q.R)(he))}))).pipe((0,I.fL)(B),(0,q.R)(me)).subscribe(([Ce,Ne])=>{"vertical"===this.tuiScrollbar?this.element.scrollTop=Ce:this.element.scrollLeft=Ne}),(0,$.T)($e.pipe((0,pe.p)(L.Yg)),(0,I.pt)(this.element)).pipe((0,I.fL)(B),(0,q.R)(me)).subscribe(()=>{"vertical"===this.tuiScrollbar?(nt.style.top="".concat(100*this.thumb,"%"),nt.style.height="".concat(100*this.view,"%")):(nt.style.left="".concat(100*this.thumb,"%"),nt.style.width="".concat(100*this.view,"%"))})}get wrapper(){return this.el.nativeElement.parentElement}get scrolled(){const{scrollTop:B,scrollHeight:me,clientHeight:$e,scrollLeft:qe,scrollWidth:bt,clientWidth:Ue}=this.element;return"vertical"===this.tuiScrollbar?B/(me-$e):qe/(bt-Ue)}get compensation(){const{clientHeight:B,scrollHeight:me,clientWidth:$e,scrollWidth:qe}=this.element;return B*B/me>24&&"vertical"===this.tuiScrollbar||$e*$e/qe>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/B:24/$e}get thumb(){return this.scrolled*(1-(this.compensation||this.view))}get view(){const{clientHeight:B,scrollHeight:me,clientWidth:$e,scrollWidth:qe}=this.element;return"vertical"===this.tuiScrollbar?Math.ceil(B/me*100)/100:Math.ceil($e/qe*100)/100}get element(){return this.container.nativeElement}getScrolled({clientY:B,clientX:me},$e,qe){const{offsetHeight:bt,offsetWidth:Ue}=this.el.nativeElement,{top:nt,left:De,width:ee,height:he}=this.wrapper.getBoundingClientRect();return[(B-nt-bt*$e)/(he-bt)*(this.element.scrollHeight-he),(me-De-Ue*qe)/(ee-Ue)*(this.element.scrollWidth-ee)]}}return ae.\u0275fac=function(B){return new(B||ae)(l.Y36(l.R0b),l.Y36(K.a3,2),l.Y36(N.L1),l.Y36(Y.$_),l.Y36(X.K0),l.Y36(l.SBq))},ae.\u0275dir=l.lG2({type:ae,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[l._Bn([K.a3])]}),ae})(),ge=(()=>{class ae{constructor(B,me,$e){this.zone=B,this.scrollRef=me,this.animationFrame$=$e,this.refresh$=this.animationFrame$.pipe((0,pe.p)(300),(0,U.U)(()=>this.scrollbars),(0,de.O)([!1,!1]),(0,Q.x)((qe,bt)=>qe[0]===bt[0]&&qe[1]===bt[1]),(0,I.Yr)(this.zone))}get scrollbars(){const{clientHeight:B,scrollHeight:me,clientWidth:$e,scrollWidth:qe}=this.scrollRef.nativeElement;return[Math.ceil(B/me*100)<100,Math.ceil($e/qe*100)<100]}}return ae.\u0275fac=function(B){return new(B||ae)(l.Y36(l.R0b),l.Y36(Y.$_),l.Y36(N.L1))},ae.\u0275cmp=l.Xpm({type:ae,selectors:[["tui-scroll-controls"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(B,me){1&B&&(l.YNc(0,fe,3,2,"ng-container",0),l.ALo(1,"async")),2&B&&l.Q6J("ngIf",l.lcZ(1,1,me.refresh$))},dependencies:[X.O5,Le,X.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto;animation:tuiFadeIn var(--tui-duration, .3s) ease-in-out}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition:all var(--tui-duration, .3s) ease-in-out;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],changeDetection:0}),ae})(),ye=(()=>{class ae{}return ae.\u0275fac=function(B){return new(B||ae)},ae.\u0275mod=l.oAB({type:ae}),ae.\u0275inj=l.cJS({imports:[[X.ez]]}),ae})()},7007:(We,le,y)=>{y.d(le,{F:()=>H,FS:()=>U,Iy:()=>I,Jy:()=>Q,LZ:()=>q,Lw:()=>Le,Ml:()=>Ue,Mm:()=>W,Ye:()=>Y,Yg:()=>we,bg:()=>$,f$:()=>Re,fv:()=>ye,iD:()=>pe,kU:()=>Ve,yZ:()=>X});var l=y(755),N=y(2405);const I=()=>!1,Y=()=>!0,U=79,W=new l.n_E,q=[],pe=()=>{},de={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},Q=Object.assign(Object.assign({},de),{toJSON:()=>de}),X=nt=>String(nt),$=(nt,De)=>nt===De||function ne(nt,De){return Array.isArray(nt)&&Array.isArray(De)&&!nt.length&&!De.length}(nt,De);(0,N.X$)("tuiParentAnimation",[(0,N.eR)(":leave",[(0,N.IO)(":scope > *",[(0,N.pV)()],{optional:!0})])]),(0,N.X$)("tuiParentStop",[(0,N.eR)(":enter",[])]);const we=1e3/15,Le=nt=>"ownerSVGElement"in nt?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,Re="\xa0",H="\u2013",ye="-",Ve="+",Ue="3.53.0"},5351:(We,le,y)=>{y.d(le,{UM:()=>de});var l=y(9663);function pe(L,K,$=!0){return function(){const oe=L.call(this);return Object.defineProperty(this,K,{enumerable:$,value:oe}),oe}}function de(L,K,$){if("function"==typeof L){const Re=K;if("getter"===Re.kind)return pe(L,Re.name);if("method"===Re.kind)return function q(L){let ne,K=[],$=!1;return function(...fe){return $&&K.length===fe.length&&fe.every((Le,Re)=>Le===K[Re])||(K=fe,ne=L.apply(this,fe),$=!0),ne}}(L);throw new l.jw}const{get:ne,enumerable:oe,value:fe}=$,we=K;if(ne)return{configurable:!0,enumerable:oe,get:pe(ne,we,oe)};if("function"!=typeof fe)throw new l.jw;const Le=fe;return{configurable:!0,enumerable:oe,get(){let ge,Re=[],H=!1;const G=(...ce)=>(H&&Re.length===ce.length&&ce.every((ae,Ve)=>ae===Re[Ve])||(Re=ce,ge=Le.apply(this,ce),H=!0),ge);return Object.defineProperty(this,we,{configurable:!0,value:G}),G}}}},6851:(We,le,y)=>{y.d(le,{A:()=>L,e:()=>X});var l=y(4911),N=y(755),I=y(5351),Y=y(4521),U=y(3454),W=y(8715),q=y(2425),pe=y(3843),de=y(8004),Q=y(4776);let X=(()=>{class K{constructor(ne,oe,fe,we){var Le;this.active$=ne,this.zone=oe,this.el=fe,this.directParentActiveZone=we,this.subActiveZones=[],this.tuiActiveZoneParent=null,this.tuiActiveZoneChange=this.active$.pipe((0,q.U)(Re=>!!Re&&this.contains(Re)),(0,pe.O)(!1),(0,de.x)(),(0,Q.T)(1),(0,Y.Yr)(this.zone)),null===(Le=this.directParentActiveZone)||void 0===Le||Le.addSubActiveZone(this)}set tuiActiveZoneParentSetter(ne){this.setZone(ne)}ngOnDestroy(){var ne,oe;null===(ne=this.directParentActiveZone)||void 0===ne||ne.removeSubActiveZone(this),null===(oe=this.tuiActiveZoneParent)||void 0===oe||oe.removeSubActiveZone(this)}contains(ne){return this.el.nativeElement.contains(ne)||this.subActiveZones.some((oe,fe,we)=>we.indexOf(oe)===fe&&oe.contains(ne))}setZone(ne){var oe;null===(oe=this.tuiActiveZoneParent)||void 0===oe||oe.removeSubActiveZone(this),null==ne||ne.addSubActiveZone(this),this.tuiActiveZoneParent=ne}addSubActiveZone(ne){this.subActiveZones=[...this.subActiveZones,ne]}removeSubActiveZone(ne){this.subActiveZones=(0,W.WX)(this.subActiveZones,this.subActiveZones.indexOf(ne))}}return K.\u0275fac=function(ne){return new(ne||K)(N.Y36(U.wk),N.Y36(N.R0b),N.Y36(N.SBq),N.Y36(K,12))},K.\u0275dir=N.lG2({type:K,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"]}),(0,l.gn)([I.UM],K.prototype,"setZone",null),K})(),L=(()=>{class K{}return K.\u0275fac=function(ne){return new(ne||K)},K.\u0275mod=N.oAB({type:K}),K.\u0275inj=N.cJS({}),K})()},9502:(We,le,y)=>{y.d(le,{Ls:()=>I,WD:()=>Y});var l=y(755);class N{constructor(W){this.internalDirectiveInstance=W}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let I=(()=>{class U{constructor(q,pe){q.createEmbeddedView(pe,new N(this))}static ngTemplateContextGuard(q,pe){return!0}}return U.\u0275fac=function(q){return new(q||U)(l.Y36(l.s_b),l.Y36(l.Rgc))},U.\u0275dir=l.lG2({type:U,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"}}),U})(),Y=(()=>{class U{}return U.\u0275fac=function(q){return new(q||U)},U.\u0275mod=l.oAB({type:U}),U.\u0275inj=l.cJS({}),U})()},941:(We,le,y)=>{y.d(le,{W:()=>de,e:()=>Q});var l=y(755),N=y(4521),I=y(8322),Y=y(7899),U=y(5333),W=y(1749),q=y(4787),pe=y(1570);let de=(()=>{class X{constructor({nativeElement:K},$,ne){this.mode="scroll",(0,N.mL)(K,"wheel",{passive:!1}).pipe((0,U.h)(()=>this.enabled),(0,N.fL)($),(0,W.R)(ne)).subscribe(oe=>{this.processEvent(oe,!!oe.deltaY,oe.deltaY?oe.deltaY<0:oe.deltaX<0)}),(0,N.mL)(K,"touchstart",{passive:!0}).pipe((0,q.w)(({touches:oe})=>{let H,{clientX:fe,clientY:we}=oe[0],Le=0,Re=0;return(0,N.mL)(K,"touchmove",{passive:!1}).pipe((0,U.h)(()=>this.enabled),(0,pe.b)(ge=>{const G=ge.changedTouches[0];Le=fe-G.clientX,Re=we-G.clientY,fe=G.clientX,we=G.clientY,void 0===H&&(H=Math.abs(Re)>Math.abs(Le)),this.processEvent(ge,H,H?Re<0:Le<0)}))}),(0,N.fL)($),(0,W.R)(ne)).subscribe()}get enabled(){return"none"!==this.mode}get overscrollBehavior(){return this.enabled?"contain":null}processEvent(K,$,ne){var oe;const{target:fe,currentTarget:we,cancelable:Le}=K;if(Le&&(0,Y.ve)(fe)&&"range"!==(null===(oe=fe)||void 0===oe?void 0:oe.type)){if("all"===this.mode&&($&&!we.contains((0,Y.Hs)(fe))||!$&&!we.contains((0,Y.Hs)(fe,!1))))return void K.preventDefault();if($&&(ne&&!(0,Y.ty)(fe,we,!0,!1)||!ne&&!(0,Y.ty)(fe,we,!0,!0)))return void K.preventDefault();!$&&(ne&&!(0,Y.ty)(fe,we,!1,!1)||!ne&&!(0,Y.ty)(fe,we,!1,!0))&&K.preventDefault()}}}return X.\u0275fac=function(K){return new(K||X)(l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(I.a3,2))},X.\u0275dir=l.lG2({type:X,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(K,$){2&K&&l.Udp("overscroll-behavior",$.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[l._Bn([I.a3])]}),X})(),Q=(()=>{class X{}return X.\u0275fac=function(K){return new(K||X)},X.\u0275mod=l.oAB({type:X}),X.\u0275inj=l.cJS({}),X})()},9663:(We,le,y)=>{y.d(le,{AM:()=>Y,I4:()=>I,JY:()=>U,ZB:()=>W,aq:()=>q,j2:()=>X,jw:()=>pe});class I extends Error{constructor(ne){super("")}}class Y extends Error{constructor(ne){super("")}}class U extends Error{constructor(ne){super("")}}class W extends Error{constructor(){super("")}}class q extends Error{constructor(){super("")}}class pe extends Error{constructor(){super("")}}class X extends Error{constructor(){super("")}}},4521:(We,le,y)=>{y.d(le,{EK:()=>G,NA:()=>it,Xd:()=>Ue,Yr:()=>_t,fL:()=>ln,ix:()=>bt,mL:()=>ce,mp:()=>Ce,pn:()=>Te,pt:()=>Ne,vm:()=>Fe});var l=y(9663),N=y(8132),I=y(409),Y=y(5047),U=y(2222),W=y(1925),q=y(5623),pe=y(453),de=y(3843),Q=y(4787),X=y(2425),L=y(8004),K=y(530),$=y(1813),ne=y(5333),oe=y(1105),fe=y(4842),we=y(7544),Le=y(1570),Re=y(7007),H=y(8715),ge=y(6470);function G(Ee){return new N.y(et=>{if(!Ee.valueChanges)throw new l.j2;Ee.valueChanges.pipe((0,de.O)(Ee.value)).subscribe(et)})}function ce(Ee,et,gt={}){return(0,I.R)(Ee,et,gt)}function me(Ee=0){return(0,U.z)((0,Q.w)(()=>(0,W.H)(Ee).pipe((0,X.U)(Re.Iy),(0,de.O)(!0))),(0,L.x)())}let $e,qe;function bt(Ee){const et=ce(Ee,"blur"),{ownerDocument:gt}=Ee;if(!gt)throw new l.aq;return(!qe||!$e)&&($e=ce(gt,"mouseup",{capture:!0}).pipe(me(),(0,de.O)(!1),(0,K.d)({bufferSize:1,refCount:!0})),qe=ce(gt,"mousedown",{capture:!0}).pipe(me(),(0,de.O)(!1),(0,K.d)({bufferSize:1,refCount:!0}))),(0,Y.T)((0,q.z)(ce(Ee,"focus").pipe((0,$.q)(1)),et.pipe((0,ne.h)(()=>!(0,ge.V8)(Ee)),(0,$.q)(1),(0,oe.l)())).pipe((0,fe.r)(),(0,we.M)(qe,$e,(Lt,ze,ut)=>ze||ut),(0,ne.h)(H.Mv))).pipe((0,Q.w)(()=>et.pipe((0,X.U)(Re.Iy),(0,$.q)(1),(0,de.O)(!0))),(0,L.x)())}function Ue(Ee,et=Boolean){return(0,U.z)((0,Q.w)(gt=>et(gt)?Ee(gt):pe.E))}function Te(Ee,{onlyTrusted:et}={onlyTrusted:!0}){const{ownerDocument:gt}=Ee;if(!gt)throw new l.aq;return ce(Ee,"mousedown").pipe((0,ne.h)(({isTrusted:Lt})=>Lt||!et),(0,Q.w)(()=>function ye(Ee){return(0,Y.T)(ce(Ee,"mouseup"),ce(Ee,"dragend"))}(gt).pipe((0,X.U)(Re.Iy),(0,$.q)(1),(0,de.O)(!0))))}function Ce(){return(0,Le.b)(Ee=>Ee.preventDefault())}function Ne(Ee){return ce(Ee===Ee.ownerDocument.documentElement?Ee.ownerDocument:Ee,"scroll")}function Fe(){return(0,Le.b)(Ee=>{Ee.stopPropagation()})}function it(Ee){return(0,Le.b)(()=>{Ee.markForCheck()})}function ln(Ee){return et=>new N.y(gt=>Ee.runOutsideAngular(()=>et.subscribe(gt)))}function _t(Ee){return(0,U.z)(ln(Ee),function Ge(Ee){return et=>new N.y(gt=>et.subscribe({next:Lt=>Ee.run(()=>gt.next(Lt)),error:Lt=>Ee.run(()=>gt.error(Lt)),complete:()=>Ee.run(()=>gt.complete())}))}(Ee))}},1968:(We,le,y)=>{y.d(le,{I:()=>I,c:()=>N});var l=y(755);let N=(()=>{class Y{transform(W,q,...pe){return q(W,...pe)}}return Y.\u0275fac=function(W){return new(W||Y)},Y.\u0275pipe=l.Yjl({name:"tuiMapper",type:Y,pure:!0}),Y})(),I=(()=>{class Y{}return Y.\u0275fac=function(W){return new(W||Y)},Y.\u0275mod=l.oAB({type:Y}),Y.\u0275inj=l.cJS({}),Y})()},8322:(We,le,y)=>{y.d(le,{a3:()=>Ue,gH:()=>nt,ku:()=>De,ll:()=>he,AQ:()=>Ce,b0:()=>Te,FY:()=>Ge,Fr:()=>Ee});var l=y(755),N=y(5484),I=y(8132),Y=y(3562),U=y(5047),W=y(409),q=y(1209),pe=y(1925),de=y(3489),Q=y(4521),X=y(1749),L=y(9286),K=y(8356),$=y(2425),ne=y(3843),oe=y(8004),fe=y(4787),we=y(5623),Re=y(1570),H=y(530),ge=y(5393),G=y(7007),ce=y(7899),ye=y(6733),Ve=(y(9838),y(5618)),B=y(8715),me=y(4911),$e=y(134),qe=y(6974);let Ue=(()=>{class ze extends N.t{constructor(){super(1)}ngOnDestroy(){this.next(),this.complete()}}return ze.\u0275fac=function(Ye){return new(Ye||ze)},ze.\u0275prov=l.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),nt=(()=>{class ze{constructor(Ye,Nt){this.resolver=Ye,this.injector=Nt,this.map=new Map}addComponent(Ye){this.map.has(Ye)||this.map.set(Ye,this.resolver.resolveComponentFactory(Ye).create(this.injector))}}return ze.\u0275fac=function(Ye){return new(Ye||ze)(l.LFG(l._Vd),l.LFG(l.gxx))},ze.\u0275prov=l.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})(),De=(()=>{class ze extends I.y{constructor({nativeElement:Ye},Nt,Kt){super(vt=>this.focusVisible$.subscribe(vt)),this.focusVisible$=(0,Q.ix)(Ye).pipe((0,Q.NA)(Nt),(0,X.R)(Kt))}}return ze.\u0275fac=function(Ye){return new(Ye||ze)(l.LFG(l.SBq),l.LFG(l.sBO),l.LFG(Ue,2))},ze.\u0275prov=l.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),he=(()=>{class ze{generate(){return"".concat("tui_").concat(ze.autoId++).concat(Date.now())}}return ze.autoId=0,ze.\u0275fac=function(Ye){return new(Ye||ze)},ze.\u0275prov=l.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})(),Te=(()=>{class ze extends I.y{constructor(Ye,Nt){super(Kt=>this.callback$.subscribe(Kt)),this.callback$=(0,Y.P)(()=>{let{nativeElement:Kt}=Ye;const vt=[Nt,Kt];for(;Kt.parentElement;)Kt=Kt.parentElement,vt.push(Kt);return(0,U.T)(...vt.map(Ht=>(0,Q.mL)(Ht,"scroll")))})}}return ze.\u0275fac=function(Ye){return new(Ye||ze)(l.LFG(l.SBq),l.LFG(ge.m9))},ze.\u0275prov=l.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),Ce=(()=>{class ze extends I.y{constructor(Ye,{nativeElement:Nt},Kt,vt,Ht,en){super(cn=>this.obscured$.subscribe(cn)),this.obscured$=(0,U.T)((0,U.T)(Ye,(0,W.R)(vt,"resize")).pipe((0,L.g)(0)),en.pipe((0,K.p)(G.Yg))).pipe((0,$.U)(()=>(0,ce.PU)(Nt)),(0,ne.O)(null),(0,oe.x)(),(0,Q.Yr)(Kt),(0,X.R)(Ht))}}return ze.\u0275fac=function(Ye){return new(Ye||ze)(l.LFG(Te,2),l.LFG(l.SBq),l.LFG(l.R0b),l.LFG(ge.m9),l.LFG(Ue,2),l.LFG(ge.L1))},ze.\u0275prov=l.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),Ge=(()=>{class ze{constructor(Ye,Nt){this.performanceRef=Ye,this.animationFrame$=Nt}scroll$(Ye,Nt,Kt=ln(Ye),vt=300){const Ht=function _t(ze){return"scrollY"in ze?ze.scrollY:ze.scrollTop}(Ye),en=ln(Ye),cn=Nt-Ht,Dt=Kt-en;return(vt?(0,Y.P)(()=>(0,q.of)(this.performanceRef.now())).pipe((0,fe.w)(mt=>this.animationFrame$.pipe((0,$.U)(nn=>nn-mt))),(0,$.U)(mt=>(0,B.Xg)((0,Ve.Ki)(mt/vt,0,1))),(0,$.U)(mt=>[Ht+cn*mt,en+Dt*mt]),function Le(...ze){return ut=>(0,we.z)(ut,(0,q.of)(...ze))}([Nt,Kt]),(0,X.R)((0,pe.H)(vt))):(0,q.of)([Nt,Kt])).pipe((0,Re.b)(([mt,nn])=>{var Pn;null===(Pn=Ye.scrollTo)||void 0===Pn||Pn.call(Ye,nn,mt)}))}}return ze.\u0275fac=function(Ye){return new(Ye||ze)(l.LFG(ge.KS),l.LFG(ge.L1))},ze.\u0275prov=l.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();function ln(ze){return"scrollX"in ze?ze.scrollX:ze.scrollLeft}let Ee=(()=>{class ze{constructor(Ye,Nt){this.win=Ye,this.platformId=Nt,this.cache=new Map}request(Ye){const Nt=this.cache.get(Ye);if(Nt)return Nt;const vt=("AbortController"in this.win||(0,ye.PM)(this.platformId)?function bt(ze,ut={}){const{selector:Ye}=ut,Nt=(0,me._T)(ut,["selector"]);return new I.y(Kt=>{const vt=new AbortController,{signal:Ht}=vt;let en=!0;const{signal:cn}=Nt;if(cn)if(cn.aborted)vt.abort();else{const mt=()=>{Ht.aborted||vt.abort()};cn.addEventListener("abort",mt),Kt.add(()=>cn.removeEventListener("abort",mt))}const Dt=Object.assign(Object.assign({},Nt),{signal:Ht}),It=mt=>{en=!1,Kt.error(mt)};return fetch(ze,Dt).then(mt=>{Ye?(0,qe.Xf)(Ye(mt)).subscribe((0,$e.x)(Kt,void 0,()=>{en=!1,Kt.complete()},It)):(en=!1,Kt.next(mt),Kt.complete())}).catch(It),()=>{en&&vt.abort()}})}(Ye):(0,Y.P)(()=>(0,de.D)(fetch(Ye)))).pipe((0,fe.w)(Ht=>(0,me.mG)(this,void 0,void 0,function*(){if(Ht.ok)return Ht.text();throw new Error("Failed to load ".concat(Ye," (").concat(Ht.statusText,")"))})),(0,H.d)({bufferSize:1,refCount:!1}));return this.cache.set(Ye,vt),vt}}return ze.\u0275fac=function(Ye){return new(Ye||ze)(l.LFG(ge.m9),l.LFG(l.Lbi))},ze.\u0275prov=l.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})()},3454:(We,le,y)=>{y.d(le,{wk:()=>ee,I2:()=>Fe,KZ:()=>Ee,tS:()=>gt,FA:()=>Lt,fL:()=>Ye,jF:()=>mt,$_:()=>Vt,wx:()=>Mr,FT:()=>et});var l=y(6733),N=y(755),I=y(5393),Y=y(4521),U=y(8715),W=y(7899);const pe=/ipad|iphone|ipod/;function de(rt){return pe.test(rt.userAgent.toLowerCase())||function q(rt){return rt.platform.startsWith("Mac")||"iPhone"===rt.platform}(rt)&&rt.maxTouchPoints>1}const Q=/^((?!chrome|android).)*safari/i;var L=y(6424),K=y(1925),$=y(5047),ne=y(1209),oe=y(3489),fe=y(453),we=y(4787),Le=y(2425),Re=y(3843),H=y(8557),ge=y(1749),G=y(6974),ce=y(8748),ye=y(6142),ae=y(134);var B=y(7544),me=y(5333),$e=y(1813),qe=y(8004),bt=y(530),Ue=y(396),nt=y(7007);const De=(0,U.N1)(()=>{const rt={onRemovalComplete:()=>{}},Yt=new L.X(null),kt=(0,N.f3M)(Ue.Th,N.XFs.Optional)||rt,{onRemovalComplete:gn=rt.onRemovalComplete}=kt;return kt.onRemovalComplete=(bn,Ln)=>{Yt.next(bn),gn.call(kt,bn,Ln)},Yt.pipe((0,we.w)(bn=>(0,K.H)(0).pipe((0,Le.U)(()=>null),(0,Re.O)(bn))),(0,H.B)())}),ee=(0,U.N1)(()=>{const rt=(0,N.f3M)(De),Yt=(0,N.f3M)(I.m9),kt=(0,N.f3M)(l.K0),gn=(0,Y.mL)(Yt,"focusout"),bn=(0,Y.mL)(Yt,"focusin"),Ln=(0,Y.mL)(Yt,"blur"),Nn=(0,Y.mL)(Yt,"mousedown"),dn=(0,Y.mL)(Yt,"mouseup");return(0,$.T)(gn.pipe((0,ge.R)(Nn),function Ve(rt){return(0,ye.e)((Yt,kt)=>{let gn,Ln,bn=!1,Nn=!1,dn=!1;const Zt=()=>dn&&Nn&&(kt.complete(),!0),An=()=>{dn=!1,gn=Yt.subscribe((0,ae.x)(kt,void 0,()=>{dn=!0,!Zt()&&(Ln||(Ln=new ce.x,(0,G.Xf)(rt(Ln)).subscribe((0,ae.x)(kt,()=>{gn?An():bn=!0},()=>{Nn=!0,Zt()}))),Ln).next()})),bn&&(gn.unsubscribe(),gn=null,bn=!1,An())};An()})}(()=>dn),(0,B.M)(rt),(0,me.h)(([Zt,on])=>he((0,W.mA)(Zt),on)),(0,Le.U)(([{relatedTarget:Zt}])=>Zt)),Ln.pipe((0,Le.U)(()=>kt.activeElement),(0,me.h)(Zt=>!(null==Zt||!Zt.matches("iframe")))),bn.pipe((0,we.w)(Zt=>{const on=(0,W.mA)(Zt),An=(0,W.Wf)(on);return An===kt?(0,ne.of)(on):function Te(rt){return(0,$.T)((0,Y.mL)(rt,"focusin").pipe((0,Le.U)(({target:Yt})=>Yt)),(0,Y.mL)(rt,"focusout").pipe((0,me.h)(({target:Yt,relatedTarget:kt})=>!!kt&&he(Yt)),(0,Le.U)(({relatedTarget:Yt})=>Yt)))}(An).pipe((0,Re.O)(on))})),Nn.pipe((0,we.w)(Zt=>{const on=(0,W.mA)(Zt);return kt.activeElement&&kt.activeElement!==kt.body?gn.pipe((0,$e.q)(1),(0,Le.U)(()=>on),(0,ge.R)((0,K.H)(0))):(0,ne.of)(on)}))).pipe((0,qe.x)(),(0,H.B)())});function he(rt,Yt=null){return!((0,W.Wf)(rt).activeElement===rt||rt.matches(":disabled")||null!=Yt&&Yt.contains(rt))}(0,U.JN)([]);const Fe=(0,U.N1)(()=>{var rt,Yt;return null!==(Yt=null===(rt=(0,N.f3M)(l.K0).querySelector("base"))||void 0===rt?void 0:rt.href)&&void 0!==Yt?Yt:""});(0,U.N1)(()=>(0,N.f3M)(N.FYo).createRenderer(null,null)),(0,U.JN)([]),(0,U.N1)(()=>{var rt;const Yt=null===(rt=(0,N.f3M)(l.K0).querySelector("base"))||void 0===rt?void 0:rt.href;if(Yt)return Yt;const kt=(0,N.f3M)(l.K0).createElement("a");return kt.href="",kt.pathname});const Ee=new N.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function et(rt){return{provide:Ee,useExisting:rt}}const gt=new N.OlP("[TUI_FONTS_READY]",{factory:()=>{var rt;return(0,oe.D)((null===(rt=(0,N.f3M)(l.K0).fonts)||void 0===rt?void 0:rt.ready)||fe.E).pipe((0,bt.d)({bufferSize:1,refCount:!1}))}}),Lt=(0,U.N1)(()=>de((0,N.f3M)(I.s5))),ze=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,ut=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,Ye=(0,U.N1)(()=>ze.test((0,N.f3M)(I.yZ).toLowerCase())||ut.test((0,N.f3M)(I.yZ).slice(0,4).toLowerCase())),Ht=((0,U.N1)(()=>(0,N.f3M)(Ye)&&!(0,N.f3M)(Lt)),(0,U.N1)(()=>function X(rt){return de(rt)||Q.test(rt.userAgent.toLowerCase())}((0,N.f3M)(I.s5))),(0,U.N1)(()=>!!(0,N.f3M)(I.m9).chrome),(0,U.N1)(()=>!!(0,N.f3M)(I.m9).Cypress)),en=(0,U.N1)(nt.Iy),mt=((0,U.N1)(()=>(0,N.f3M)(Ht)||(0,N.f3M)(en)),(0,U.N1)(()=>{var rt;return typeof(null===(rt=(0,N.f3M)(I.m9))||void 0===rt?void 0:rt.mozCancelFullScreen)<"u"}),(0,U.N1)(()=>(0,N.f3M)(I.m9).location.host.endsWith("stackblitz.io")),(0,U.N1)(()=>{var rt;return!(null===(rt=(0,N.f3M)(I.m9))||void 0===rt||!rt.webkitConvertPointFromNodeToPage)}));(0,U.JN)("web"),(0,U.N1)(()=>(0,l.NF)((0,N.f3M)(N.Lbi))?new Range:{});const Vt=(0,U.N1)(()=>new N.SBq((0,N.f3M)(l.K0).documentElement)),Mr=((0,U.JN)({timeout:500,threshold:30}),(0,U.N1)(nt.Ye)),Zn=((0,U.N1)(()=>(0,N.f3M)(I.m9).matchMedia("(any-pointer: coarse)").matches),new N.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const rt=(0,N.f3M)(I.m9);return(0,Y.mL)(rt,"resize").pipe((0,Re.O)(null),(0,Le.U)(()=>{var Yt,kt;const gn=Math.max(rt.innerWidth,(null===(Yt=rt.visualViewport)||void 0===Yt?void 0:Yt.width)||0),bn=Math.max(rt.innerHeight,(null===(kt=rt.visualViewport)||void 0===kt?void 0:kt.height)||0);return{width:gn,height:bn,top:0,left:0,right:gn,bottom:bn}}),(0,bt.d)({bufferSize:1,refCount:!0}))}}));(0,U.N1)(()=>(0,N.f3M)(Zn).pipe((0,Le.U)(({height:rt})=>rt))),(0,U.JN)({wheelSensitivity:.01})},7899:(We,le,y)=>{y.d(le,{Hn:()=>G,Hs:()=>Re,Nn:()=>oe,PP:()=>q,PU:()=>we,UP:()=>Ve,Wf:()=>fe,YX:()=>Le,dD:()=>ae,dW:()=>L,mA:()=>$,ty:()=>Y,ve:()=>X});var l=y(5618),N=y(8715);function Y(B,me,$e,qe){return $e?function U(B,me,$e){let qe=B;for(;qe!==me.parentElement;){if(Math.floor(qe.scrollTop)>0&&!$e||Math.ceil(qe.scrollTop+qe.clientHeight)0&&!$e||Math.ceil(qe.scrollLeft+qe.clientWidth)!B.contains(Ge));return 4===it.length?it:null}function Le(B,me){let{offsetTop:$e,offsetLeft:qe,offsetParent:bt}=me;for(;L(bt)&&bt!==B;)$e+=bt.offsetTop,qe+=bt.offsetLeft,bt=bt.offsetParent;return{offsetTop:$e,offsetLeft:qe}}function Re(B,me=!0){return null===B?null:me&&B.scrollHeight>B.clientHeight||!me&&B.scrollWidth>B.clientWidth?B:Re(B.parentElement,me)}function G(B){return function Q(B){return function pe(B){return B.matches("input")}(B)||function de(B){return B.matches("textarea")}(B)}(B)&&!B.readOnly||!!B.isContentEditable}function ae(B=0,me=0){const $e={x:B,y:me,left:B,right:B,top:me,bottom:me,width:0,height:0};return Object.assign(Object.assign({},$e),{toJSON:()=>$e})}function Ve(B){return"explicitOriginalTarget"in B?(null==B?void 0:B.explicitOriginalTarget)!==B.target:"pointerId"in B?-1===B.pointerId:"detail"in B&&"webkitForce"in B&&0===(null==B?void 0:B.detail)}},6470:(We,le,y)=>{y.d(le,{BW:()=>q,V8:()=>pe,dT:()=>U,hp:()=>Y,zb:()=>de});var l=y(7899),N=y(7007);function I({activeElement:L}){if(null==L||!L.shadowRoot)return L;let K=L.shadowRoot.activeElement;for(;null!=K&&K.shadowRoot;)K=K.shadowRoot.activeElement;return K}function Y(L){const K=I(L);(0,l.dW)(K)&&K.blur()}function U(L){if(L.hasAttribute("disabled")||"-1"===L.getAttribute("tabIndex"))return!1;if((0,l.dW)(L)&&L.isContentEditable||"0"===L.getAttribute("tabIndex"))return!0;switch(L.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return L.hasAttribute("controls");case"INPUT":return"hidden"!==L.getAttribute("type");case"A":case"LINK":return L.hasAttribute("href");default:return!1}}function W(L){return!L.hasAttribute("disabled")&&("-1"===L.getAttribute("tabIndex")||U(L))}function q({initial:L,root:K,previous:$=!1,keyboard:ne=!0}){if(!K.ownerDocument)return null;const oe=ne?U:W,fe=K.ownerDocument.createTreeWalker(K,NodeFilter.SHOW_ELEMENT,N.Lw);for(fe.currentNode=L;$?fe.previousNode():fe.nextNode();)if((0,l.dW)(fe.currentNode)&&(L=fe.currentNode),(0,l.dW)(L)&&oe(L))return L;return null}function pe(L){return!(null==L||!L.ownerDocument)&&I(L.ownerDocument)===L}function de(L){if(!L.ownerDocument||!L.contains)return!1;const K=I(L.ownerDocument);return null!==K&&L.contains(K)}},5618:(We,le,y)=>{function N(fe,we,Le){return Math.min(Le,Math.max(we,fe))}function I(fe,we,Le){return fe>=we&&fe=Le?Le:Math.round(fe)}y.d(le,{FG:()=>q,G1:()=>Y,Ki:()=>N,wf:()=>I}),y(9838);const W=292;function q(fe,we=0){return function X(fe,we,Le){if(fe===1/0)return fe;we=Math.min(we,W);const Re="".concat(fe,"e").split("e"),H=Le(Number("".concat(Re[0],"e").concat(Number(Re[1])+we))),ge="".concat(H,"e").split("e");return Number("".concat(ge[0],"e").concat(Number(ge[1])-we))}(fe,we,Math.round)}},8715:(We,le,y)=>{y.d(le,{Aj:()=>W,J$:()=>ce,JN:()=>de,Mv:()=>we,N1:()=>Q,Pc:()=>H,WX:()=>I,Xg:()=>$});var l=y(755);function I(B,me){return B.slice(0,Math.max(me,0)).concat(B.slice(Math.max(me+1,0)))}function W(B){return"string"==typeof B}function de(B){return Q(()=>B)}function Q(B){return new l.OlP("",{factory:B})}function $(B){return B<.5?2*B*B:(4-2*B)*B-1}function we(B){return!B}function H(B){return null!=B}function ce(B,me,$e){return null===B?null===me:null!==me&&$e(B,me)}y(9838)},3794:(We,le,y)=>{y.d(le,{X1:()=>ge,uX:()=>Re});var l=y(3232),N=y(755),I=y(453),Y=y(5623),U=y(3562),W=y(6142),q=y(134);class Q{supports(ce){return ce.includes(this.modifier)}addGlobalEventListener(){return()=>{}}unwrap(ce){return ce.split(".").filter(ye=>!this.modifier.includes(ye)).join(".")}}let X=(()=>{class G extends Q{constructor(){super(...arguments),this.modifier="$"}addEventListener(ye,ae){ye[ae]=ye[ae]||I.E;const Ve=this.getMethod(ye,ae),B=this.manager.getZone().onStable,me=(0,Y.z)(B.pipe(function pe(G,ce=!1){return(0,W.e)((ye,ae)=>{let Ve=0;ye.subscribe((0,q.x)(ae,B=>{const me=G(B,Ve++);(me||ce)&&ae.next(B),!me&&ae.complete()}))})}(()=>ye[ae]===I.E)),(0,U.P)(()=>ye[ae])).subscribe(Ve);return()=>me.unsubscribe()}getMethod(ye,ae){const[,Ve,B,me=""]=ae.split(".");return ae.endsWith(".attr")?$e=>null===$e?ye.removeAttribute(Ve):ye.setAttribute(Ve,String($e)):"class"===Ve?$e=>ye.classList.toggle(B,!!$e):"style"===Ve?$e=>ye.style.setProperty(function de(G){return G.replace(/[a-z][A-Z]/g,ce=>"".concat(ce[0],"-").concat(ce[1].toLowerCase()))}(B),"".concat($e).concat(me)):$e=>ye[Ve]=$e}}return G.\u0275fac=function(){let ce;return function(ae){return(ce||(ce=N.n5z(G)))(ae||G)}}(),G.\u0275prov=N.Yz7({token:G,factory:G.\u0275fac}),G})(),L=(()=>{class G extends Q{constructor(){super(...arguments),this.modifier="capture.once.passive"}supports(ye){return ye.includes(".")&&!this.unwrap(ye).includes(".")}addEventListener(ye,ae,Ve){return ye.addEventListener(this.unwrap(ae),Ve,{once:ae.includes(".once"),passive:ae.includes(".passive"),capture:ae.includes(".capture")}),()=>ye.removeEventListener(this.unwrap(ae),Ve)}}return G.\u0275fac=function(){let ce;return function(ae){return(ce||(ce=N.n5z(G)))(ae||G)}}(),G.\u0275prov=N.Yz7({token:G,factory:G.\u0275fac}),G})(),K=(()=>{class G extends Q{constructor(){super(...arguments),this.modifier=".prevent"}addEventListener(ye,ae,Ve){return this.manager.addEventListener(ye,this.unwrap(ae),me=>{me.preventDefault(),Ve(me)})}}return G.\u0275fac=function(){let ce;return function(ae){return(ce||(ce=N.n5z(G)))(ae||G)}}(),G.\u0275prov=N.Yz7({token:G,factory:G.\u0275fac}),G})(),$=(()=>{class G extends Q{constructor(){super(...arguments),this.modifier=".self"}addEventListener(ye,ae,Ve){return this.manager.addEventListener(ye,this.unwrap(ae),me=>{me.target===me.currentTarget&&Ve(me)})}}return G.\u0275fac=function(){let ce;return function(ae){return(ce||(ce=N.n5z(G)))(ae||G)}}(),G.\u0275prov=N.Yz7({token:G,factory:G.\u0275fac}),G})(),ne=(()=>{class G extends Q{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(ye,ae,Ve){return G.ngZone=this.manager.getZone(),G.ngZone.runOutsideAngular(()=>this.manager.addEventListener(ye,this.unwrap(ae),Ve))}}return G.\u0275fac=function(){let ce;return function(ae){return(ce||(ce=N.n5z(G)))(ae||G)}}(),G.\u0275prov=N.Yz7({token:G,factory:G.\u0275fac}),G})();const Le=[ne,X,L,K,$,(()=>{class G extends Q{constructor(){super(...arguments),this.modifier=".stop"}addEventListener(ye,ae,Ve){return this.manager.addEventListener(ye,this.unwrap(ae),me=>{me.stopPropagation(),Ve(me)})}}return G.\u0275fac=function(){let ce;return function(ae){return(ce||(ce=N.n5z(G)))(ae||G)}}(),G.\u0275prov=N.Yz7({token:G,factory:G.\u0275fac}),G})(),(()=>{class G extends Q{constructor(){super(...arguments),this.modifier=".init"}addEventListener(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),()=>{}}}return G.\u0275fac=function(){let ce;return function(ae){return(ce||(ce=N.n5z(G)))(ae||G)}}(),G.\u0275prov=N.Yz7({token:G,factory:G.\u0275fac}),G})()].map(G=>({provide:l.s3,multi:!0,useClass:G}));function Re(G){return(ce,ye,ae)=>{const{value:Ve}=ae;ae.value=function(...B){G.apply(this,B)&&(ne.ngZone?ne.ngZone.run(()=>Ve.apply(this,B)):Ve.apply(this,B))}}}let ge=(()=>{class G{constructor([ye]){console.assert(!(ye instanceof ne)||G.initialized,"EventPluginsModule must come after BrowserModule in imports"),G.initialized=!0}}return G.initialized=!1,G.\u0275fac=function(ye){return new(ye||G)(N.LFG(l.s3))},G.\u0275mod=N.oAB({type:G}),G.\u0275inj=N.cJS({providers:Le}),G})()},6254:(We,le,y)=>{y.d(le,{Al:()=>I,GL:()=>Y,Li:()=>q,wq:()=>X,yf:()=>N});var l=y(755);const N=new l.OlP("POLYMORPHEUS_CONTEXT");class I{constructor(K,$){this.component=K,this.i=$}createInjector(K,$){return l.zs3.create({parent:this.i||K,providers:[{provide:N,useValue:$}]})}}let Y=(()=>{class L{constructor($,ne){this.template=$,this.cdr=ne,this.polymorpheus=""}check(){this.cdr.markForCheck()}static ngTemplateContextGuard($,ne){return!0}}return L.\u0275fac=function($){return new($||L)(l.Y36(l.Rgc,2),l.Y36(l.sBO))},L.\u0275dir=l.lG2({type:L,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"]}),L})();class U{constructor(K){this.$implicit=K}get polymorpheusOutlet(){return this.$implicit}}let q=(()=>{class L{constructor($,ne,oe){this.vcr=$,this.i=ne,this.t=oe,this.content=""}get template(){return pe(this.content)?this.content.template:this.content instanceof l.Rgc?this.content:this.t}ngOnChanges({content:$}){var ne;const oe=this.getContext();this.v&&(this.v.context=oe),null===(ne=this.c)||void 0===ne||ne.injector.get(l.sBO).markForCheck(),$&&(this.vcr.clear(),de(this.content)?this.process(this.content):null!=(oe instanceof U&&oe.$implicit)&&(this.v=this.vcr.createEmbeddedView(this.template,oe)))}ngDoCheck(){pe(this.content)&&this.content.check()}static ngTemplateContextGuard($,ne){return!0}getContext(){return function Q(L){return pe(L)||L instanceof l.Rgc}(this.content)||de(this.content)?this.context:new U("function"==typeof this.content?this.content(this.context):this.content)}process($){const ne=$.createInjector(this.i,this.context&&new Proxy(this.context,{get:(oe,fe)=>{var we;return null===(we=this.context)||void 0===we?void 0:we[fe]}}));this.c=this.vcr.createComponent(ne.get(l._Vd).resolveComponentFactory($.component),0,ne)}}return L.\u0275fac=function($){return new($||L)(l.Y36(l.s_b),l.Y36(l.zs3),l.Y36(l.Rgc))},L.\u0275dir=l.lG2({type:L,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},features:[l.TTD]}),L})();function pe(L){return L instanceof Y}function de(L){return L instanceof I}let X=(()=>{class L{}return L.\u0275fac=function($){return new($||L)},L.\u0275mod=l.oAB({type:L}),L.\u0275inj=l.cJS({}),L})()},6424:(We,le,y)=>{y.d(le,{X:()=>N});var l=y(8748);class N extends l.x{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const U=super._subscribe(Y);return!U.closed&&Y.next(this._value),U}getValue(){const{hasError:Y,thrownError:U,_value:W}=this;if(Y)throw U;return this._throwIfClosed(),W}next(Y){super.next(this._value=Y)}}},8132:(We,le,y)=>{y.d(le,{y:()=>pe});var l=y(4676),N=y(902),I=y(9837),Y=y(2222),U=y(9885),W=y(3649),q=y(1855);let pe=(()=>{class L{constructor($){$&&(this._subscribe=$)}lift($){const ne=new L;return ne.source=this,ne.operator=$,ne}subscribe($,ne,oe){const fe=function X(L){return L&&L instanceof l.Lv||function Q(L){return L&&(0,W.m)(L.next)&&(0,W.m)(L.error)&&(0,W.m)(L.complete)}(L)&&(0,N.Nn)(L)}($)?$:new l.Hp($,ne,oe);return(0,q.x)(()=>{const{operator:we,source:Le}=this;fe.add(we?we.call(fe,Le):Le?this._subscribe(fe):this._trySubscribe(fe))}),fe}_trySubscribe($){try{return this._subscribe($)}catch(ne){$.error(ne)}}forEach($,ne){return new(ne=de(ne))((oe,fe)=>{const we=new l.Hp({next:Le=>{try{$(Le)}catch(Re){fe(Re),we.unsubscribe()}},error:fe,complete:oe});this.subscribe(we)})}_subscribe($){var ne;return null===(ne=this.source)||void 0===ne?void 0:ne.subscribe($)}[I.L](){return this}pipe(...$){return(0,Y.U)($)(this)}toPromise($){return new($=de($))((ne,oe)=>{let fe;this.subscribe(we=>fe=we,we=>oe(we),()=>ne(fe))})}}return L.create=K=>new L(K),L})();function de(L){var K;return null!==(K=null!=L?L:U.config.Promise)&&void 0!==K?K:Promise}},5484:(We,le,y)=>{y.d(le,{t:()=>I});var l=y(8748),N=y(7541);class I extends l.x{constructor(U=1/0,W=1/0,q=N.l){super(),this._bufferSize=U,this._windowTime=W,this._timestampProvider=q,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=W===1/0,this._bufferSize=Math.max(1,U),this._windowTime=Math.max(1,W)}next(U){const{isStopped:W,_buffer:q,_infiniteTimeWindow:pe,_timestampProvider:de,_windowTime:Q}=this;W||(q.push(U),!pe&&q.push(de.now()+Q)),this._trimBuffer(),super.next(U)}_subscribe(U){this._throwIfClosed(),this._trimBuffer();const W=this._innerSubscribe(U),{_infiniteTimeWindow:q,_buffer:pe}=this,de=pe.slice();for(let Q=0;Q{y.d(le,{x:()=>q});var l=y(8132),N=y(902);const Y=(0,y(9046).d)(de=>function(){de(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var U=y(801),W=y(1855);let q=(()=>{class de extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(X){const L=new pe(this,this);return L.operator=X,L}_throwIfClosed(){if(this.closed)throw new Y}next(X){(0,W.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const L of this.currentObservers)L.next(X)}})}error(X){(0,W.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=X;const{observers:L}=this;for(;L.length;)L.shift().error(X)}})}complete(){(0,W.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:X}=this;for(;X.length;)X.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var X;return(null===(X=this.observers)||void 0===X?void 0:X.length)>0}_trySubscribe(X){return this._throwIfClosed(),super._trySubscribe(X)}_subscribe(X){return this._throwIfClosed(),this._checkFinalizedStatuses(X),this._innerSubscribe(X)}_innerSubscribe(X){const{hasError:L,isStopped:K,observers:$}=this;return L||K?N.Lc:(this.currentObservers=null,$.push(X),new N.w0(()=>{this.currentObservers=null,(0,U.P)($,X)}))}_checkFinalizedStatuses(X){const{hasError:L,thrownError:K,isStopped:$}=this;L?X.error(K):$&&X.complete()}asObservable(){const X=new l.y;return X.source=this,X}}return de.create=(Q,X)=>new pe(Q,X),de})();class pe extends q{constructor(Q,X){super(),this.destination=Q,this.source=X}next(Q){var X,L;null===(L=null===(X=this.destination)||void 0===X?void 0:X.next)||void 0===L||L.call(X,Q)}error(Q){var X,L;null===(L=null===(X=this.destination)||void 0===X?void 0:X.error)||void 0===L||L.call(X,Q)}complete(){var Q,X;null===(X=null===(Q=this.destination)||void 0===Q?void 0:Q.complete)||void 0===X||X.call(Q)}_subscribe(Q){var X,L;return null!==(L=null===(X=this.source)||void 0===X?void 0:X.subscribe(Q))&&void 0!==L?L:N.Lc}}},4676:(We,le,y)=>{y.d(le,{Hp:()=>oe,Lv:()=>L});var l=y(3649),N=y(902),I=y(9885),Y=y(9102),U=y(6811);const W=de("C",void 0,void 0);function de(H,ge,G){return{kind:H,value:ge,error:G}}var Q=y(3112),X=y(1855);class L extends N.w0{constructor(ge){super(),this.isStopped=!1,ge?(this.destination=ge,(0,N.Nn)(ge)&&ge.add(this)):this.destination=Re}static create(ge,G,ce){return new oe(ge,G,ce)}next(ge){this.isStopped?Le(function pe(H){return de("N",H,void 0)}(ge),this):this._next(ge)}error(ge){this.isStopped?Le(function q(H){return de("E",void 0,H)}(ge),this):(this.isStopped=!0,this._error(ge))}complete(){this.isStopped?Le(W,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ge){this.destination.next(ge)}_error(ge){try{this.destination.error(ge)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const K=Function.prototype.bind;function $(H,ge){return K.call(H,ge)}class ne{constructor(ge){this.partialObserver=ge}next(ge){const{partialObserver:G}=this;if(G.next)try{G.next(ge)}catch(ce){fe(ce)}}error(ge){const{partialObserver:G}=this;if(G.error)try{G.error(ge)}catch(ce){fe(ce)}else fe(ge)}complete(){const{partialObserver:ge}=this;if(ge.complete)try{ge.complete()}catch(G){fe(G)}}}class oe extends L{constructor(ge,G,ce){let ye;if(super(),(0,l.m)(ge)||!ge)ye={next:null!=ge?ge:void 0,error:null!=G?G:void 0,complete:null!=ce?ce:void 0};else{let ae;this&&I.config.useDeprecatedNextContext?(ae=Object.create(ge),ae.unsubscribe=()=>this.unsubscribe(),ye={next:ge.next&&$(ge.next,ae),error:ge.error&&$(ge.error,ae),complete:ge.complete&&$(ge.complete,ae)}):ye=ge}this.destination=new ne(ye)}}function fe(H){I.config.useDeprecatedSynchronousErrorHandling?(0,X.O)(H):(0,Y.h)(H)}function Le(H,ge){const{onStoppedNotification:G}=I.config;G&&Q.z.setTimeout(()=>G(H,ge))}const Re={closed:!0,next:U.Z,error:function we(H){throw H},complete:U.Z}},902:(We,le,y)=>{y.d(le,{Lc:()=>W,w0:()=>U,Nn:()=>q});var l=y(3649);const I=(0,y(9046).d)(de=>function(X){de(this),this.message=X?"".concat(X.length," errors occurred during unsubscription:\n").concat(X.map((L,K)=>"".concat(K+1,") ").concat(L.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=X});var Y=y(801);class U{constructor(Q){this.initialTeardown=Q,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Q;if(!this.closed){this.closed=!0;const{_parentage:X}=this;if(X)if(this._parentage=null,Array.isArray(X))for(const $ of X)$.remove(this);else X.remove(this);const{initialTeardown:L}=this;if((0,l.m)(L))try{L()}catch($){Q=$ instanceof I?$.errors:[$]}const{_finalizers:K}=this;if(K){this._finalizers=null;for(const $ of K)try{pe($)}catch(ne){Q=null!=Q?Q:[],ne instanceof I?Q=[...Q,...ne.errors]:Q.push(ne)}}if(Q)throw new I(Q)}}add(Q){var X;if(Q&&Q!==this)if(this.closed)pe(Q);else{if(Q instanceof U){if(Q.closed||Q._hasParent(this))return;Q._addParent(this)}(this._finalizers=null!==(X=this._finalizers)&&void 0!==X?X:[]).push(Q)}}_hasParent(Q){const{_parentage:X}=this;return X===Q||Array.isArray(X)&&X.includes(Q)}_addParent(Q){const{_parentage:X}=this;this._parentage=Array.isArray(X)?(X.push(Q),X):X?[X,Q]:Q}_removeParent(Q){const{_parentage:X}=this;X===Q?this._parentage=null:Array.isArray(X)&&(0,Y.P)(X,Q)}remove(Q){const{_finalizers:X}=this;X&&(0,Y.P)(X,Q),Q instanceof U&&Q._removeParent(this)}}U.EMPTY=(()=>{const de=new U;return de.closed=!0,de})();const W=U.EMPTY;function q(de){return de instanceof U||de&&"closed"in de&&(0,l.m)(de.remove)&&(0,l.m)(de.add)&&(0,l.m)(de.unsubscribe)}function pe(de){(0,l.m)(de)?de():de.unsubscribe()}},9885:(We,le,y)=>{y.d(le,{config:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},8442:(We,le,y)=>{y.d(le,{a:()=>Q});var l=y(8132),N=y(6632),I=y(3489),Y=y(9401),U=y(5993),W=y(8197),q=y(2713),pe=y(134),de=y(3224);function Q(...K){const $=(0,W.yG)(K),ne=(0,W.jO)(K),{args:oe,keys:fe}=(0,N.D)(K);if(0===oe.length)return(0,I.D)([],$);const we=new l.y(function X(K,$,ne=Y.y){return oe=>{L($,()=>{const{length:fe}=K,we=new Array(fe);let Le=fe,Re=fe;for(let H=0;H{const ge=(0,I.D)(K[H],$);let G=!1;ge.subscribe((0,pe.x)(oe,ce=>{we[H]=ce,G||(G=!0,Re--),Re||oe.next(ne(we.slice()))},()=>{--Le||oe.complete()}))},oe)},oe)}}(oe,$,fe?Le=>(0,q.n)(fe,Le):Y.y));return ne?we.pipe((0,U.Z)(ne)):we}function L(K,$,ne){K?(0,de.f)(ne,K,$):$()}},5623:(We,le,y)=>{y.d(le,{z:()=>U});var l=y(2605),I=y(8197),Y=y(3489);function U(...W){return function N(){return(0,l.J)(1)}()((0,Y.D)(W,(0,I.yG)(W)))}},3562:(We,le,y)=>{y.d(le,{P:()=>I});var l=y(8132),N=y(6974);function I(Y){return new l.y(U=>{(0,N.Xf)(Y()).subscribe(U)})}},453:(We,le,y)=>{y.d(le,{E:()=>N});const N=new(y(8132).y)(U=>U.complete())},3489:(We,le,y)=>{y.d(le,{D:()=>ce});var l=y(6974),N=y(3224),I=y(6142),Y=y(134);function U(ye,ae=0){return(0,I.e)((Ve,B)=>{Ve.subscribe((0,Y.x)(B,me=>(0,N.f)(B,ye,()=>B.next(me),ae),()=>(0,N.f)(B,ye,()=>B.complete(),ae),me=>(0,N.f)(B,ye,()=>B.error(me),ae)))})}function W(ye,ae=0){return(0,I.e)((Ve,B)=>{B.add(ye.schedule(()=>Ve.subscribe(B),ae))})}var de=y(8132),X=y(6818),L=y(3649);function $(ye,ae){if(!ye)throw new Error("Iterable cannot be null");return new de.y(Ve=>{(0,N.f)(Ve,ae,()=>{const B=ye[Symbol.asyncIterator]();(0,N.f)(Ve,ae,()=>{B.next().then(me=>{me.done?Ve.complete():Ve.next(me.value)})},0,!0)})})}var ne=y(8040),oe=y(3913),fe=y(3234),we=y(8926),Le=y(3525),Re=y(369),H=y(5994);function ce(ye,ae){return ae?function G(ye,ae){if(null!=ye){if((0,ne.c)(ye))return function q(ye,ae){return(0,l.Xf)(ye).pipe(W(ae),U(ae))}(ye,ae);if((0,fe.z)(ye))return function Q(ye,ae){return new de.y(Ve=>{let B=0;return ae.schedule(function(){B===ye.length?Ve.complete():(Ve.next(ye[B++]),Ve.closed||this.schedule())})})}(ye,ae);if((0,oe.t)(ye))return function pe(ye,ae){return(0,l.Xf)(ye).pipe(W(ae),U(ae))}(ye,ae);if((0,Le.D)(ye))return $(ye,ae);if((0,we.T)(ye))return function K(ye,ae){return new de.y(Ve=>{let B;return(0,N.f)(Ve,ae,()=>{B=ye[X.h](),(0,N.f)(Ve,ae,()=>{let me,$e;try{({value:me,done:$e}=B.next())}catch(qe){return void Ve.error(qe)}$e?Ve.complete():Ve.next(me)},0,!0)}),()=>(0,L.m)(null==B?void 0:B.return)&&B.return()})}(ye,ae);if((0,H.L)(ye))return function ge(ye,ae){return $((0,H.Q)(ye),ae)}(ye,ae)}throw(0,Re.z)(ye)}(ye,ae):(0,l.Xf)(ye)}},409:(We,le,y)=>{y.d(le,{R:()=>Q});var l=y(6974),N=y(8132),I=y(5130),Y=y(3234),U=y(3649),W=y(5993);const q=["addListener","removeListener"],pe=["addEventListener","removeEventListener"],de=["on","off"];function Q(ne,oe,fe,we){if((0,U.m)(fe)&&(we=fe,fe=void 0),we)return Q(ne,oe,fe).pipe((0,W.Z)(we));const[Le,Re]=function $(ne){return(0,U.m)(ne.addEventListener)&&(0,U.m)(ne.removeEventListener)}(ne)?pe.map(H=>ge=>ne[H](oe,ge,fe)):function L(ne){return(0,U.m)(ne.addListener)&&(0,U.m)(ne.removeListener)}(ne)?q.map(X(ne,oe)):function K(ne){return(0,U.m)(ne.on)&&(0,U.m)(ne.off)}(ne)?de.map(X(ne,oe)):[];if(!Le&&(0,Y.z)(ne))return(0,I.z)(H=>Q(H,oe,fe))((0,l.Xf)(ne));if(!Le)throw new TypeError("Invalid event target");return new N.y(H=>{const ge=(...G)=>H.next(1Re(ge)})}function X(ne,oe){return fe=>we=>ne[fe](oe,we)}},6974:(We,le,y)=>{y.d(le,{Xf:()=>K});var l=y(4911),N=y(3234),I=y(3913),Y=y(8132),U=y(8040),W=y(3525),q=y(369),pe=y(8926),de=y(5994),Q=y(3649),X=y(9102),L=y(9837);function K(H){if(H instanceof Y.y)return H;if(null!=H){if((0,U.c)(H))return function $(H){return new Y.y(ge=>{const G=H[L.L]();if((0,Q.m)(G.subscribe))return G.subscribe(ge);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(H);if((0,N.z)(H))return function ne(H){return new Y.y(ge=>{for(let G=0;G{H.then(G=>{ge.closed||(ge.next(G),ge.complete())},G=>ge.error(G)).then(null,X.h)})}(H);if((0,W.D)(H))return we(H);if((0,pe.T)(H))return function fe(H){return new Y.y(ge=>{for(const G of H)if(ge.next(G),ge.closed)return;ge.complete()})}(H);if((0,de.L)(H))return function Le(H){return we((0,de.Q)(H))}(H)}throw(0,q.z)(H)}function we(H){return new Y.y(ge=>{(function Re(H,ge){var G,ce,ye,ae;return(0,l.mG)(this,void 0,void 0,function*(){try{for(G=(0,l.KL)(H);!(ce=yield G.next()).done;)if(ge.next(ce.value),ge.closed)return}catch(Ve){ye={error:Ve}}finally{try{ce&&!ce.done&&(ae=G.return)&&(yield ae.call(G))}finally{if(ye)throw ye.error}}ge.complete()})})(H,ge).catch(G=>ge.error(G))})}},5047:(We,le,y)=>{y.d(le,{T:()=>W});var l=y(2605),N=y(6974),I=y(453),Y=y(8197),U=y(3489);function W(...q){const pe=(0,Y.yG)(q),de=(0,Y._6)(q,1/0),Q=q;return Q.length?1===Q.length?(0,N.Xf)(Q[0]):(0,l.J)(de)((0,U.D)(Q,pe)):I.E}},1209:(We,le,y)=>{y.d(le,{of:()=>I});var l=y(8197),N=y(3489);function I(...Y){const U=(0,l.yG)(Y);return(0,N.D)(Y,U)}},1925:(We,le,y)=>{y.d(le,{H:()=>U});var l=y(8132),N=y(9581),I=y(6943);function U(W=0,q,pe=N.P){let de=-1;return null!=q&&((0,I.K)(q)?pe=q:de=q),new l.y(Q=>{let X=function Y(W){return W instanceof Date&&!isNaN(W)}(W)?+W-pe.now():W;X<0&&(X=0);let L=0;return pe.schedule(function(){Q.closed||(Q.next(L++),0<=de?this.schedule(void 0,de):Q.complete())},X)})}},134:(We,le,y)=>{y.d(le,{x:()=>N});var l=y(4676);function N(Y,U,W,q,pe){return new I(Y,U,W,q,pe)}class I extends l.Lv{constructor(U,W,q,pe,de,Q){super(U),this.onFinalize=de,this.shouldUnsubscribe=Q,this._next=W?function(X){try{W(X)}catch(L){U.error(L)}}:super._next,this._error=pe?function(X){try{pe(X)}catch(L){U.error(L)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(X){U.error(X)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var U;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:W}=this;super.unsubscribe(),!W&&(null===(U=this.onFinalize)||void 0===U||U.call(this))}}}},7560:(We,le,y)=>{y.d(le,{K:()=>Y});var l=y(6974),N=y(134),I=y(6142);function Y(U){return(0,I.e)((W,q)=>{let Q,pe=null,de=!1;pe=W.subscribe((0,N.x)(q,void 0,void 0,X=>{Q=(0,l.Xf)(U(X,Y(U)(W))),pe?(pe.unsubscribe(),pe=null,Q.subscribe(q)):de=!0})),de&&(pe.unsubscribe(),pe=null,Q.subscribe(q))})}},9286:(We,le,y)=>{y.d(le,{g:()=>Q});var l=y(9581),N=y(5623),I=y(1813),Y=y(1105),U=y(7376),W=y(5130),q=y(6974);function pe(X,L){return L?K=>(0,N.z)(L.pipe((0,I.q)(1),(0,Y.l)()),K.pipe(pe(X))):(0,W.z)((K,$)=>(0,q.Xf)(X(K,$)).pipe((0,I.q)(1),(0,U.h)(K)))}var de=y(1925);function Q(X,L=l.z){const K=(0,de.H)(X,L);return pe(()=>K)}},8004:(We,le,y)=>{y.d(le,{x:()=>Y});var l=y(9401),N=y(6142),I=y(134);function Y(W,q=l.y){return W=null!=W?W:U,(0,N.e)((pe,de)=>{let Q,X=!0;pe.subscribe((0,I.x)(de,L=>{const K=q(L);(X||!W(Q,K))&&(X=!1,Q=K,de.next(L))}))})}function U(W,q){return W===q}},5333:(We,le,y)=>{y.d(le,{h:()=>I});var l=y(6142),N=y(134);function I(Y,U){return(0,l.e)((W,q)=>{let pe=0;W.subscribe((0,N.x)(q,de=>Y.call(U,de,pe++)&&q.next(de)))})}},6293:(We,le,y)=>{y.d(le,{x:()=>N});var l=y(6142);function N(I){return(0,l.e)((Y,U)=>{try{Y.subscribe(U)}finally{U.add(I)}})}},1105:(We,le,y)=>{y.d(le,{l:()=>Y});var l=y(6142),N=y(134),I=y(6811);function Y(){return(0,l.e)((U,W)=>{U.subscribe((0,N.x)(W,I.Z))})}},2425:(We,le,y)=>{y.d(le,{U:()=>I});var l=y(6142),N=y(134);function I(Y,U){return(0,l.e)((W,q)=>{let pe=0;W.subscribe((0,N.x)(q,de=>{q.next(Y.call(U,de,pe++))}))})}},7376:(We,le,y)=>{y.d(le,{h:()=>N});var l=y(2425);function N(I){return(0,l.U)(()=>I)}},2605:(We,le,y)=>{y.d(le,{J:()=>I});var l=y(5130),N=y(9401);function I(Y=1/0){return(0,l.z)(N.y,Y)}},5130:(We,le,y)=>{y.d(le,{z:()=>pe});var l=y(2425),N=y(6974),I=y(6142),Y=y(3224),U=y(134),q=y(3649);function pe(de,Q,X=1/0){return(0,q.m)(Q)?pe((L,K)=>(0,l.U)(($,ne)=>Q(L,$,K,ne))((0,N.Xf)(de(L,K))),X):("number"==typeof Q&&(X=Q),(0,I.e)((L,K)=>function W(de,Q,X,L,K,$,ne,oe){const fe=[];let we=0,Le=0,Re=!1;const H=()=>{Re&&!fe.length&&!we&&Q.complete()},ge=ce=>we{$&&Q.next(ce),we++;let ye=!1;(0,N.Xf)(X(ce,Le++)).subscribe((0,U.x)(Q,ae=>{null==K||K(ae),$?ge(ae):Q.next(ae)},()=>{ye=!0},void 0,()=>{if(ye)try{for(we--;fe.length&&weG(ae)):G(ae)}H()}catch(ae){Q.error(ae)}}))};return de.subscribe((0,U.x)(Q,ge,()=>{Re=!0,H()})),()=>{null==oe||oe()}}(L,K,de,X)))}},4842:(We,le,y)=>{y.d(le,{r:()=>W});var l=y(453),N=y(6142),I=y(134),Y=y(6974),U=y(1925);function W(q){let de,pe=1/0;return null!=q&&("object"==typeof q?({count:pe=1/0,delay:de}=q):pe=q),pe<=0?()=>l.E:(0,N.e)((Q,X)=>{let K,L=0;const $=()=>{if(null==K||K.unsubscribe(),K=null,null!=de){const oe="number"==typeof de?(0,U.H)(de):(0,Y.Xf)(de(L)),fe=(0,I.x)(X,()=>{fe.unsubscribe(),ne()});oe.subscribe(fe)}else ne()},ne=()=>{let oe=!1;K=Q.subscribe((0,I.x)(X,void 0,()=>{++L{y.d(le,{B:()=>U});var l=y(6974),N=y(8748),I=y(4676),Y=y(6142);function U(q={}){const{connector:pe=(()=>new N.x),resetOnError:de=!0,resetOnComplete:Q=!0,resetOnRefCountZero:X=!0}=q;return L=>{let K,$,ne,oe=0,fe=!1,we=!1;const Le=()=>{null==$||$.unsubscribe(),$=void 0},Re=()=>{Le(),K=ne=void 0,fe=we=!1},H=()=>{const ge=K;Re(),null==ge||ge.unsubscribe()};return(0,Y.e)((ge,G)=>{oe++,!we&&!fe&&Le();const ce=ne=null!=ne?ne:pe();G.add(()=>{oe--,0===oe&&!we&&!fe&&($=W(H,X))}),ce.subscribe(G),!K&&oe>0&&(K=new I.Hp({next:ye=>ce.next(ye),error:ye=>{we=!0,Le(),$=W(Re,de,ye),ce.error(ye)},complete:()=>{fe=!0,Le(),$=W(Re,Q),ce.complete()}}),(0,l.Xf)(ge).subscribe(K))})(L)}}function W(q,pe,...de){if(!0===pe)return void q();if(!1===pe)return;const Q=new I.Hp({next:()=>{Q.unsubscribe(),q()}});return(0,l.Xf)(pe(...de)).subscribe(Q)}},530:(We,le,y)=>{y.d(le,{d:()=>I});var l=y(5484),N=y(8557);function I(Y,U,W){let q,pe=!1;return Y&&"object"==typeof Y?({bufferSize:q=1/0,windowTime:U=1/0,refCount:pe=!1,scheduler:W}=Y):q=null!=Y?Y:1/0,(0,N.B)({connector:()=>new l.t(q,U,W),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:pe})}},4776:(We,le,y)=>{y.d(le,{T:()=>N});var l=y(5333);function N(I){return(0,l.h)((Y,U)=>I<=U)}},3843:(We,le,y)=>{y.d(le,{O:()=>Y});var l=y(5623),N=y(8197),I=y(6142);function Y(...U){const W=(0,N.yG)(U);return(0,I.e)((q,pe)=>{(W?(0,l.z)(U,q,W):(0,l.z)(U,q)).subscribe(pe)})}},4787:(We,le,y)=>{y.d(le,{w:()=>Y});var l=y(6974),N=y(6142),I=y(134);function Y(U,W){return(0,N.e)((q,pe)=>{let de=null,Q=0,X=!1;const L=()=>X&&!de&&pe.complete();q.subscribe((0,I.x)(pe,K=>{null==de||de.unsubscribe();let $=0;const ne=Q++;(0,l.Xf)(U(K,ne)).subscribe(de=(0,I.x)(pe,oe=>pe.next(W?W(K,oe,ne,$++):oe),()=>{de=null,L()}))},()=>{X=!0,L()}))})}},1813:(We,le,y)=>{y.d(le,{q:()=>Y});var l=y(453),N=y(6142),I=y(134);function Y(U){return U<=0?()=>l.E:(0,N.e)((W,q)=>{let pe=0;W.subscribe((0,I.x)(q,de=>{++pe<=U&&(q.next(de),U<=pe&&q.complete())}))})}},1749:(We,le,y)=>{y.d(le,{R:()=>U});var l=y(6142),N=y(134),I=y(6974),Y=y(6811);function U(W){return(0,l.e)((q,pe)=>{(0,I.Xf)(W).subscribe((0,N.x)(pe,()=>pe.complete(),Y.Z)),!pe.closed&&q.subscribe(pe)})}},1570:(We,le,y)=>{y.d(le,{b:()=>U});var l=y(3649),N=y(6142),I=y(134),Y=y(9401);function U(W,q,pe){const de=(0,l.m)(W)||q||pe?{next:W,error:q,complete:pe}:W;return de?(0,N.e)((Q,X)=>{var L;null===(L=de.subscribe)||void 0===L||L.call(de);let K=!0;Q.subscribe((0,I.x)(X,$=>{var ne;null===(ne=de.next)||void 0===ne||ne.call(de,$),X.next($)},()=>{var $;K=!1,null===($=de.complete)||void 0===$||$.call(de),X.complete()},$=>{var ne;K=!1,null===(ne=de.error)||void 0===ne||ne.call(de,$),X.error($)},()=>{var $,ne;K&&(null===($=de.unsubscribe)||void 0===$||$.call(de)),null===(ne=de.finalize)||void 0===ne||ne.call(de)}))}):Y.y}},8356:(We,le,y)=>{y.d(le,{p:()=>q});var l=y(9581),N=y(6142),I=y(134),Y=y(6974),W=y(1925);function q(pe,de=l.z,Q){const X=(0,W.H)(pe,de);return function U(pe,de){return(0,N.e)((Q,X)=>{const{leading:L=!0,trailing:K=!1}=null!=de?de:{};let $=!1,ne=null,oe=null,fe=!1;const we=()=>{null==oe||oe.unsubscribe(),oe=null,K&&(H(),fe&&X.complete())},Le=()=>{oe=null,fe&&X.complete()},Re=ge=>oe=(0,Y.Xf)(pe(ge)).subscribe((0,I.x)(X,we,Le)),H=()=>{if($){$=!1;const ge=ne;ne=null,X.next(ge),!fe&&Re(ge)}};Q.subscribe((0,I.x)(X,ge=>{$=!0,ne=ge,(!oe||oe.closed)&&(L?H():Re(ge))},()=>{fe=!0,(!(K&&$&&oe)||oe.closed)&&X.complete()}))})}(()=>X,Q)}},7544:(We,le,y)=>{y.d(le,{M:()=>q});var l=y(6142),N=y(134),I=y(6974),Y=y(9401),U=y(6811),W=y(8197);function q(...pe){const de=(0,W.jO)(pe);return(0,l.e)((Q,X)=>{const L=pe.length,K=new Array(L);let $=pe.map(()=>!1),ne=!1;for(let oe=0;oe{K[oe]=fe,!ne&&!$[oe]&&($[oe]=!0,(ne=$.every(Y.y))&&($=null))},U.Z));Q.subscribe((0,N.x)(X,oe=>{if(ne){const fe=[oe,...K];X.next(de?de(...fe):fe)}}))})}},9581:(We,le,y)=>{y.d(le,{P:()=>Q,z:()=>de});var l=y(902);class N extends l.w0{constructor(L,K){super()}schedule(L,K=0){return this}}const I={setInterval(X,L,...K){const{delegate:$}=I;return null!=$&&$.setInterval?$.setInterval(X,L,...K):setInterval(X,L,...K)},clearInterval(X){const{delegate:L}=I;return((null==L?void 0:L.clearInterval)||clearInterval)(X)},delegate:void 0};var Y=y(801),W=y(7541);class q{constructor(L,K=q.now){this.schedulerActionCtor=L,this.now=K}schedule(L,K=0,$){return new this.schedulerActionCtor(this,L).schedule($,K)}}q.now=W.l.now;const de=new class pe extends q{constructor(L,K=q.now){super(L,K),this.actions=[],this._active=!1}flush(L){const{actions:K}=this;if(this._active)return void K.push(L);let $;this._active=!0;do{if($=L.execute(L.state,L.delay))break}while(L=K.shift());if(this._active=!1,$){for(;L=K.shift();)L.unsubscribe();throw $}}}(class U extends N{constructor(L,K){super(L,K),this.scheduler=L,this.work=K,this.pending=!1}schedule(L,K=0){var $;if(this.closed)return this;this.state=L;const ne=this.id,oe=this.scheduler;return null!=ne&&(this.id=this.recycleAsyncId(oe,ne,K)),this.pending=!0,this.delay=K,this.id=null!==($=this.id)&&void 0!==$?$:this.requestAsyncId(oe,this.id,K),this}requestAsyncId(L,K,$=0){return I.setInterval(L.flush.bind(L,this),$)}recycleAsyncId(L,K,$=0){if(null!=$&&this.delay===$&&!1===this.pending)return K;null!=K&&I.clearInterval(K)}execute(L,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const $=this._execute(L,K);if($)return $;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(L,K){let ne,$=!1;try{this.work(L)}catch(oe){$=!0,ne=oe||new Error("Scheduled action threw falsy error")}if($)return this.unsubscribe(),ne}unsubscribe(){if(!this.closed){const{id:L,scheduler:K}=this,{actions:$}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Y.P)($,this),null!=L&&(this.id=this.recycleAsyncId(K,L,null)),this.delay=null,super.unsubscribe()}}}),Q=de},7541:(We,le,y)=>{y.d(le,{l:()=>l});const l={now:()=>(l.delegate||Date).now(),delegate:void 0}},3112:(We,le,y)=>{y.d(le,{z:()=>l});const l={setTimeout(N,I,...Y){const{delegate:U}=l;return null!=U&&U.setTimeout?U.setTimeout(N,I,...Y):setTimeout(N,I,...Y)},clearTimeout(N){const{delegate:I}=l;return((null==I?void 0:I.clearTimeout)||clearTimeout)(N)},delegate:void 0}},6818:(We,le,y)=>{y.d(le,{h:()=>N});const N=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},9837:(We,le,y)=>{y.d(le,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},8197:(We,le,y)=>{y.d(le,{_6:()=>W,jO:()=>Y,yG:()=>U});var l=y(3649),N=y(6943);function I(q){return q[q.length-1]}function Y(q){return(0,l.m)(I(q))?q.pop():void 0}function U(q){return(0,N.K)(I(q))?q.pop():void 0}function W(q,pe){return"number"==typeof I(q)?q.pop():pe}},6632:(We,le,y)=>{y.d(le,{D:()=>U});const{isArray:l}=Array,{getPrototypeOf:N,prototype:I,keys:Y}=Object;function U(q){if(1===q.length){const pe=q[0];if(l(pe))return{args:pe,keys:null};if(function W(q){return q&&"object"==typeof q&&N(q)===I}(pe)){const de=Y(pe);return{args:de.map(Q=>pe[Q]),keys:de}}}return{args:q,keys:null}}},801:(We,le,y)=>{function l(N,I){if(N){const Y=N.indexOf(I);0<=Y&&N.splice(Y,1)}}y.d(le,{P:()=>l})},9046:(We,le,y)=>{function l(N){const Y=N(U=>{Error.call(U),U.stack=(new Error).stack});return Y.prototype=Object.create(Error.prototype),Y.prototype.constructor=Y,Y}y.d(le,{d:()=>l})},2713:(We,le,y)=>{function l(N,I){return N.reduce((Y,U,W)=>(Y[U]=I[W],Y),{})}y.d(le,{n:()=>l})},1855:(We,le,y)=>{y.d(le,{O:()=>Y,x:()=>I});var l=y(9885);let N=null;function I(U){if(l.config.useDeprecatedSynchronousErrorHandling){const W=!N;if(W&&(N={errorThrown:!1,error:null}),U(),W){const{errorThrown:q,error:pe}=N;if(N=null,q)throw pe}}else U()}function Y(U){l.config.useDeprecatedSynchronousErrorHandling&&N&&(N.errorThrown=!0,N.error=U)}},3224:(We,le,y)=>{function l(N,I,Y,U=0,W=!1){const q=I.schedule(function(){Y(),W?N.add(this.schedule(null,U)):this.unsubscribe()},U);if(N.add(q),!W)return q}y.d(le,{f:()=>l})},9401:(We,le,y)=>{function l(N){return N}y.d(le,{y:()=>l})},3234:(We,le,y)=>{y.d(le,{z:()=>l});const l=N=>N&&"number"==typeof N.length&&"function"!=typeof N},3525:(We,le,y)=>{y.d(le,{D:()=>N});var l=y(3649);function N(I){return Symbol.asyncIterator&&(0,l.m)(null==I?void 0:I[Symbol.asyncIterator])}},3649:(We,le,y)=>{function l(N){return"function"==typeof N}y.d(le,{m:()=>l})},8040:(We,le,y)=>{y.d(le,{c:()=>I});var l=y(9837),N=y(3649);function I(Y){return(0,N.m)(Y[l.L])}},8926:(We,le,y)=>{y.d(le,{T:()=>I});var l=y(6818),N=y(3649);function I(Y){return(0,N.m)(null==Y?void 0:Y[l.h])}},1070:(We,le,y)=>{y.d(le,{b:()=>I});var l=y(8132),N=y(3649);function I(Y){return!!Y&&(Y instanceof l.y||(0,N.m)(Y.lift)&&(0,N.m)(Y.subscribe))}},3913:(We,le,y)=>{y.d(le,{t:()=>N});var l=y(3649);function N(I){return(0,l.m)(null==I?void 0:I.then)}},5994:(We,le,y)=>{y.d(le,{L:()=>Y,Q:()=>I});var l=y(4911),N=y(3649);function I(U){return(0,l.FC)(this,arguments,function*(){const q=U.getReader();try{for(;;){const{value:pe,done:de}=yield(0,l.qq)(q.read());if(de)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(pe)}}finally{q.releaseLock()}})}function Y(U){return(0,N.m)(null==U?void 0:U.getReader)}},6943:(We,le,y)=>{y.d(le,{K:()=>N});var l=y(3649);function N(I){return I&&(0,l.m)(I.schedule)}},6142:(We,le,y)=>{y.d(le,{A:()=>N,e:()=>I});var l=y(3649);function N(Y){return(0,l.m)(null==Y?void 0:Y.lift)}function I(Y){return U=>{if(N(U))return U.lift(function(W){try{return Y(W,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},5993:(We,le,y)=>{y.d(le,{Z:()=>Y});var l=y(2425);const{isArray:N}=Array;function Y(U){return(0,l.U)(W=>function I(U,W){return N(W)?U(...W):U(W)}(U,W))}},6811:(We,le,y)=>{function l(){}y.d(le,{Z:()=>l})},2222:(We,le,y)=>{y.d(le,{U:()=>I,z:()=>N});var l=y(9401);function N(...Y){return I(Y)}function I(Y){return 0===Y.length?l.y:1===Y.length?Y[0]:function(W){return Y.reduce((q,pe)=>pe(q),W)}}},9102:(We,le,y)=>{y.d(le,{h:()=>I});var l=y(9885),N=y(3112);function I(Y){N.z.setTimeout(()=>{const{onUnhandledError:U}=l.config;if(!U)throw Y;U(Y)})}},369:(We,le,y)=>{function l(N){return new TypeError("You provided ".concat(null!==N&&"object"==typeof N?"an invalid object":"'".concat(N,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}y.d(le,{z:()=>l})},2405:(We,le,y)=>{y.d(le,{EY:()=>oe,IO:()=>ne,LC:()=>N,X$:()=>Y,ZE:()=>we,ZN:()=>fe,_j:()=>l,eR:()=>X,jt:()=>U,k1:()=>Le,l3:()=>I,oB:()=>pe,pV:()=>K,vP:()=>q});class l{}class N{}const I="*";function Y(Re,H){return{type:7,name:Re,definitions:H,options:{}}}function U(Re,H=null){return{type:4,styles:H,timings:Re}}function q(Re,H=null){return{type:2,steps:Re,options:H}}function pe(Re){return{type:6,styles:Re,offset:null}}function X(Re,H,ge=null){return{type:1,expr:Re,animation:H,options:ge}}function K(Re=null){return{type:9,options:Re}}function ne(Re,H,ge=null){return{type:11,selector:Re,animation:H,options:ge}}function oe(Re,H){return{type:12,timings:Re,animation:H}}class fe{constructor(H=0,ge=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=H+ge}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const ge="start"==H?this._onStartFns:this._onDoneFns;ge.forEach(G=>G()),ge.length=0}}class we{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let ge=0,G=0,ce=0;const ye=this.players.length;0==ye?queueMicrotask(()=>this._onFinish()):this.players.forEach(ae=>{ae.onDone(()=>{++ge==ye&&this._onFinish()}),ae.onDestroy(()=>{++G==ye&&this._onDestroy()}),ae.onStart(()=>{++ce==ye&&this._onStart()})}),this.totalTime=this.players.reduce((ae,Ve)=>Math.max(ae,Ve.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const ge=H*this.totalTime;this.players.forEach(G=>{const ce=G.totalTime?Math.min(1,ge/G.totalTime):1;G.setPosition(ce)})}getPosition(){const H=this.players.reduce((ge,G)=>null===ge||G.totalTime>ge.totalTime?G:ge,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const ge="start"==H?this._onStartFns:this._onDoneFns;ge.forEach(G=>G()),ge.length=0}}const Le="!"},396:(We,le,y)=>{y.d(le,{Ar:()=>to,DT:()=>Gn,NH:()=>ei,Th:()=>Un,Vi:()=>It,nV:()=>Dt});var l=y(2405),N=y(755);function Y(R){return new N.vHH(3e3,!1)}function Fe(R){switch(R.length){case 0:return new l.ZN;case 1:return R[0];default:return new l.ZE(R)}}function it(R,h,m=new Map,b=new Map){const A=[],V=[];let te=-1,ie=null;if(h.forEach(_e=>{const Ie=_e.get("offset"),st=Ie==te,ct=st&&ie||new Map;_e.forEach((Ut,Ft)=>{let ot=Ft,St=Ut;if("offset"!==Ft)switch(ot=R.normalizePropertyName(ot,A),St){case l.k1:St=m.get(Ft);break;case l.l3:St=b.get(Ft);break;default:St=R.normalizeStyleValue(Ft,ot,St,A)}ct.set(ot,St)}),st||V.push(ct),ie=ct,te=Ie}),A.length)throw function B(R){return new N.vHH(3502,!1)}();return V}function Ge(R,h,m,b){switch(h){case"start":R.onStart(()=>b(m&&ln(m,"start",R)));break;case"done":R.onDone(()=>b(m&&ln(m,"done",R)));break;case"destroy":R.onDestroy(()=>b(m&&ln(m,"destroy",R)))}}function ln(R,h,m){const b=m.totalTime,V=_t(R.element,R.triggerName,R.fromState,R.toState,h||R.phaseName,null==b?R.totalTime:b,!!m.disabled),te=R._data;return null!=te&&(V._data=te),V}function _t(R,h,m,b,A="",V=0,te){return{element:R,triggerName:h,fromState:m,toState:b,phaseName:A,totalTime:V,disabled:!!te}}function Ee(R,h,m){let b=R.get(h);return b||R.set(h,b=m),b}function et(R){const h=R.indexOf(":");return[R.substring(1,h),R.slice(h+1)]}const gt=(()=>typeof document>"u"?null:document.documentElement)();function Lt(R){const h=R.parentNode||R.host||null;return h===gt?null:h}let ut=null,Ye=!1;function Ht(R,h){for(;h;){if(h===R)return!0;h=Lt(h)}return!1}function en(R,h,m){if(m)return Array.from(R.querySelectorAll(h));const b=R.querySelector(h);return b?[b]:[]}let Dt=(()=>{var R;class h{validateStyleProperty(b){return function Nt(R){ut||(ut=function vt(){return typeof document<"u"?document.body:null}()||{},Ye=!!ut.style&&"WebkitAppearance"in ut.style);let h=!0;return ut.style&&!function ze(R){return"ebkit"==R.substring(1,6)}(R)&&(h=R in ut.style,!h&&Ye&&(h="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in ut.style)),h}(b)}matchesElement(b,A){return!1}containsElement(b,A){return Ht(b,A)}getParentElement(b){return Lt(b)}query(b,A,V){return en(b,A,V)}computeStyle(b,A,V){return V||""}animate(b,A,V,te,ie,_e=[],Ie){return new l.ZN(V,te)}}return(R=h).\u0275fac=function(b){return new(b||R)},R.\u0275prov=N.Yz7({token:R,factory:R.\u0275fac}),h})(),It=(()=>{class h{}return h.NOOP=new Dt,h})();const mt=1e3,Rn="ng-enter",Vt="ng-leave",Tt="ng-trigger",Mr=".ng-trigger",yt="ng-animating",Zn=".ng-animating";function Bt(R){if("number"==typeof R)return R;const h=R.match(/^(-?[\.\d]+)(m?s)/);return!h||h.length<2?0:wr(parseFloat(h[1]),h[2])}function wr(R,h){return"s"===h?R*mt:R}function rt(R,h,m){return R.hasOwnProperty("duration")?R:function Yt(R,h,m){let A,V=0,te="";if("string"==typeof R){const ie=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ie)return h.push(Y()),{duration:0,delay:0,easing:""};A=wr(parseFloat(ie[1]),ie[2]);const _e=ie[3];null!=_e&&(V=wr(parseFloat(_e),ie[4]));const Ie=ie[5];Ie&&(te=Ie)}else A=R;if(!m){let ie=!1,_e=h.length;A<0&&(h.push(function U(){return new N.vHH(3100,!1)}()),ie=!0),V<0&&(h.push(function W(){return new N.vHH(3101,!1)}()),ie=!0),ie&&h.splice(_e,0,Y())}return{duration:A,delay:V,easing:te}}(R,h,m)}function kt(R,h={}){return Object.keys(R).forEach(m=>{h[m]=R[m]}),h}function gn(R){const h=new Map;return Object.keys(R).forEach(m=>{h.set(m,R[m])}),h}function Nn(R,h=new Map,m){if(m)for(let[b,A]of m)h.set(b,A);for(let[b,A]of R)h.set(b,A);return h}function dn(R,h,m){h.forEach((b,A)=>{const V=ve(A);m&&!m.has(A)&&m.set(A,R.style[V]),R.style[V]=b})}function Zt(R,h){h.forEach((m,b)=>{const A=ve(b);R.style[A]=""})}function on(R){return Array.isArray(R)?1==R.length?R[0]:(0,l.vP)(R):R}const Xr=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function Se(R){let h=[];if("string"==typeof R){let m;for(;m=Xr.exec(R);)h.push(m[1]);Xr.lastIndex=0}return h}function re(R,h,m){const b=R.toString(),A=b.replace(Xr,(V,te)=>{let ie=h[te];return null==ie&&(m.push(function pe(R){return new N.vHH(3003,!1)}()),ie=""),ie.toString()});return A==b?R:A}function Me(R){const h=[];let m=R.next();for(;!m.done;)h.push(m.value),m=R.next();return h}const J=/-+([a-z0-9])/g;function ve(R){return R.replace(J,(...h)=>h[1].toUpperCase())}function Mt(R,h,m){switch(h.type){case 7:return R.visitTrigger(h,m);case 0:return R.visitState(h,m);case 1:return R.visitTransition(h,m);case 2:return R.visitSequence(h,m);case 3:return R.visitGroup(h,m);case 4:return R.visitAnimate(h,m);case 5:return R.visitKeyframes(h,m);case 6:return R.visitStyle(h,m);case 8:return R.visitReference(h,m);case 9:return R.visitAnimateChild(h,m);case 10:return R.visitAnimateRef(h,m);case 11:return R.visitQuery(h,m);case 12:return R.visitStagger(h,m);default:throw function de(R){return new N.vHH(3004,!1)}()}}function Ct(R,h){return window.getComputedStyle(R)[h]}const Tn="*";function gr(R,h){const m=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach(b=>function tr(R,h,m){if(":"==R[0]){const _e=function $n(R,h){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(m,b)=>parseFloat(b)>parseFloat(m);case":decrement":return(m,b)=>parseFloat(b) *"}}(R,m);if("function"==typeof _e)return void h.push(_e);R=_e}const b=R.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==b||b.length<4)return m.push(function G(R){return new N.vHH(3015,!1)}()),h;const A=b[1],V=b[2],te=b[3];h.push(ho(A,te));"<"==V[0]&&!(A==Tn&&te==Tn)&&h.push(ho(te,A))}(b,m,h)):m.push(R),m}const At=new Set(["true","1"]),mr=new Set(["false","0"]);function ho(R,h){const m=At.has(R)||mr.has(R),b=At.has(h)||mr.has(h);return(A,V)=>{let te=R==Tn||R==A,ie=h==Tn||h==V;return!te&&m&&"boolean"==typeof A&&(te=A?At.has(R):mr.has(R)),!ie&&b&&"boolean"==typeof V&&(ie=V?At.has(h):mr.has(h)),te&&ie}}const pi=new RegExp("s*".concat(":self","s*,?"),"g");function nr(R,h,m,b){return new Lo(R).build(h,m,b)}class Lo{constructor(h){this._driver=h}build(h,m,b){const A=new Eo(m);return this._resetContextStyleTimingState(A),Mt(this,on(h),A)}_resetContextStyleTimingState(h){h.currentQuerySelector="",h.collectedStyles=new Map,h.collectedStyles.set("",new Map),h.currentTime=0}visitTrigger(h,m){let b=m.queryCount=0,A=m.depCount=0;const V=[],te=[];return"@"==h.name.charAt(0)&&m.errors.push(function X(){return new N.vHH(3006,!1)}()),h.definitions.forEach(ie=>{if(this._resetContextStyleTimingState(m),0==ie.type){const _e=ie,Ie=_e.name;Ie.toString().split(/\s*,\s*/).forEach(st=>{_e.name=st,V.push(this.visitState(_e,m))}),_e.name=Ie}else if(1==ie.type){const _e=this.visitTransition(ie,m);b+=_e.queryCount,A+=_e.depCount,te.push(_e)}else m.errors.push(function L(){return new N.vHH(3007,!1)}())}),{type:7,name:h.name,states:V,transitions:te,queryCount:b,depCount:A,options:null}}visitState(h,m){const b=this.visitStyle(h.styles,m),A=h.options&&h.options.params||null;if(b.containsDynamicStyles){const V=new Set,te=A||{};b.styles.forEach(ie=>{ie instanceof Map&&ie.forEach(_e=>{Se(_e).forEach(Ie=>{te.hasOwnProperty(Ie)||V.add(Ie)})})}),V.size&&(Me(V.values()),m.errors.push(function K(R,h){return new N.vHH(3008,!1)}()))}return{type:0,name:h.name,style:b,options:A?{params:A}:null}}visitTransition(h,m){m.queryCount=0,m.depCount=0;const b=Mt(this,on(h.animation),m);return{type:1,matchers:gr(h.expr,m.errors),animation:b,queryCount:m.queryCount,depCount:m.depCount,options:vr(h.options)}}visitSequence(h,m){return{type:2,steps:h.steps.map(b=>Mt(this,b,m)),options:vr(h.options)}}visitGroup(h,m){const b=m.currentTime;let A=0;const V=h.steps.map(te=>{m.currentTime=b;const ie=Mt(this,te,m);return A=Math.max(A,m.currentTime),ie});return m.currentTime=A,{type:3,steps:V,options:vr(h.options)}}visitAnimate(h,m){const b=function Tr(R,h){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return Fr(rt(R,h).duration,0,"");const m=R;if(m.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=Fr(0,0,"");return V.dynamic=!0,V.strValue=m,V}const A=rt(m,h);return Fr(A.duration,A.delay,A.easing)}(h.timings,m.errors);m.currentAnimateTimings=b;let A,V=h.styles?h.styles:(0,l.oB)({});if(5==V.type)A=this.visitKeyframes(V,m);else{let te=h.styles,ie=!1;if(!te){ie=!0;const Ie={};b.easing&&(Ie.easing=b.easing),te=(0,l.oB)(Ie)}m.currentTime+=b.duration+b.delay;const _e=this.visitStyle(te,m);_e.isEmptyStep=ie,A=_e}return m.currentAnimateTimings=null,{type:4,timings:b,style:A,options:null}}visitStyle(h,m){const b=this._makeStyleAst(h,m);return this._validateStyleAst(b,m),b}_makeStyleAst(h,m){const b=[],A=Array.isArray(h.styles)?h.styles:[h.styles];for(let ie of A)"string"==typeof ie?ie===l.l3?b.push(ie):m.errors.push(new N.vHH(3002,!1)):b.push(gn(ie));let V=!1,te=null;return b.forEach(ie=>{if(ie instanceof Map&&(ie.has("easing")&&(te=ie.get("easing"),ie.delete("easing")),!V))for(let _e of ie.values())if(_e.toString().indexOf("{{")>=0){V=!0;break}}),{type:6,styles:b,easing:te,offset:h.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(h,m){const b=m.currentAnimateTimings;let A=m.currentTime,V=m.currentTime;b&&V>0&&(V-=b.duration+b.delay),h.styles.forEach(te=>{"string"!=typeof te&&te.forEach((ie,_e)=>{const Ie=m.collectedStyles.get(m.currentQuerySelector),st=Ie.get(_e);let ct=!0;st&&(V!=A&&V>=st.startTime&&A<=st.endTime&&(m.errors.push(function oe(R,h,m,b,A){return new N.vHH(3010,!1)}()),ct=!1),V=st.startTime),ct&&Ie.set(_e,{startTime:V,endTime:A}),m.options&&function An(R,h,m){const b=h.params||{},A=Se(R);A.length&&A.forEach(V=>{b.hasOwnProperty(V)||m.push(function q(R){return new N.vHH(3001,!1)}())})}(ie,m.options,m.errors)})})}visitKeyframes(h,m){const b={type:5,styles:[],options:null};if(!m.currentAnimateTimings)return m.errors.push(function fe(){return new N.vHH(3011,!1)}()),b;let V=0;const te=[];let ie=!1,_e=!1,Ie=0;const st=h.steps.map(M=>{const v=this._makeStyleAst(M,m);let O=null!=v.offset?v.offset:function gi(R){if("string"==typeof R)return null;let h=null;if(Array.isArray(R))R.forEach(m=>{if(m instanceof Map&&m.has("offset")){const b=m;h=parseFloat(b.get("offset")),b.delete("offset")}});else if(R instanceof Map&&R.has("offset")){const m=R;h=parseFloat(m.get("offset")),m.delete("offset")}return h}(v.styles),C=0;return null!=O&&(V++,C=v.offset=O),_e=_e||C<0||C>1,ie=ie||C0&&V{const O=Ut>0?v==Ft?1:Ut*v:te[v],C=O*wn;m.currentTime=ot+St.delay+C,St.duration=C,this._validateStyleAst(M,m),M.offset=O,b.styles.push(M)}),b}visitReference(h,m){return{type:8,animation:Mt(this,on(h.animation),m),options:vr(h.options)}}visitAnimateChild(h,m){return m.depCount++,{type:9,options:vr(h.options)}}visitAnimateRef(h,m){return{type:10,animation:this.visitReference(h.animation,m),options:vr(h.options)}}visitQuery(h,m){const b=m.currentQuerySelector,A=h.options||{};m.queryCount++,m.currentQuery=h;const[V,te]=function Jr(R){const h=!!R.split(/\s*,\s*/).find(m=>":self"==m);return h&&(R=R.replace(pi,"")),R=R.replace(/@\*/g,Mr).replace(/@\w+/g,m=>Mr+"-"+m.slice(1)).replace(/:animating/g,Zn),[R,h]}(h.selector);m.currentQuerySelector=b.length?b+" "+V:V,Ee(m.collectedStyles,m.currentQuerySelector,new Map);const ie=Mt(this,on(h.animation),m);return m.currentQuery=null,m.currentQuerySelector=b,{type:11,selector:V,limit:A.limit||0,optional:!!A.optional,includeSelf:te,animation:ie,originalSelector:h.selector,options:vr(h.options)}}visitStagger(h,m){m.currentQuery||m.errors.push(function H(){return new N.vHH(3013,!1)}());const b="full"===h.timings?{duration:0,delay:0,easing:"full"}:rt(h.timings,m.errors,!0);return{type:12,animation:Mt(this,on(h.animation),m),timings:b,options:null}}}class Eo{constructor(h){this.errors=h,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 vr(R){return R?(R=kt(R)).params&&(R.params=function po(R){return R?kt(R):null}(R.params)):R={},R}function Fr(R,h,m){return{duration:R,delay:h,easing:m}}function Vn(R,h,m,b,A,V,te=null,ie=!1){return{type:1,element:R,keyframes:h,preStyleProps:m,postStyleProps:b,duration:A,delay:V,totalTime:A+V,easing:te,subTimeline:ie}}class Ur{constructor(){this._map=new Map}get(h){return this._map.get(h)||[]}append(h,m){let b=this._map.get(h);b||this._map.set(h,b=[]),b.push(...m)}has(h){return this._map.has(h)}clear(){this._map.clear()}}const _n=new RegExp(":enter","g"),Co=new RegExp(":leave","g");function ko(R,h,m,b,A,V=new Map,te=new Map,ie,_e,Ie=[]){return(new Vo).buildKeyframes(R,h,m,b,A,V,te,ie,_e,Ie)}class Vo{buildKeyframes(h,m,b,A,V,te,ie,_e,Ie,st=[]){Ie=Ie||new Ur;const ct=new qo(h,m,Ie,A,V,st,[]);ct.options=_e;const Ut=_e.delay?Bt(_e.delay):0;ct.currentTimeline.delayNextStep(Ut),ct.currentTimeline.setStyles([te],null,ct.errors,_e),Mt(this,b,ct);const Ft=ct.timelines.filter(ot=>ot.containsAnimation());if(Ft.length&&ie.size){let ot;for(let St=Ft.length-1;St>=0;St--){const wn=Ft[St];if(wn.element===m){ot=wn;break}}ot&&!ot.allowOnlyTimelineStyles()&&ot.setStyles([ie],null,ct.errors,_e)}return Ft.length?Ft.map(ot=>ot.buildKeyframes()):[Vn(m,[],[],[],0,Ut,"",!1)]}visitTrigger(h,m){}visitState(h,m){}visitTransition(h,m){}visitAnimateChild(h,m){const b=m.subInstructions.get(m.element);if(b){const A=m.createSubContext(h.options),V=m.currentTimeline.currentTime,te=this._visitSubInstructions(b,A,A.options);V!=te&&m.transformIntoNewTimeline(te)}m.previousNode=h}visitAnimateRef(h,m){const b=m.createSubContext(h.options);b.transformIntoNewTimeline(),this._applyAnimationRefDelays([h.options,h.animation.options],m,b),this.visitReference(h.animation,b),m.transformIntoNewTimeline(b.currentTimeline.currentTime),m.previousNode=h}_applyAnimationRefDelays(h,m,b){for(const V of h){const te=null==V?void 0:V.delay;if(te){var A;const ie="number"==typeof te?te:Bt(re(te,null!==(A=null==V?void 0:V.params)&&void 0!==A?A:{},m.errors));b.delayNextStep(ie)}}}_visitSubInstructions(h,m,b){let V=m.currentTimeline.currentTime;const te=null!=b.duration?Bt(b.duration):null,ie=null!=b.delay?Bt(b.delay):null;return 0!==te&&h.forEach(_e=>{const Ie=m.appendInstructionToTimeline(_e,te,ie);V=Math.max(V,Ie.duration+Ie.delay)}),V}visitReference(h,m){m.updateOptions(h.options,!0),Mt(this,h.animation,m),m.previousNode=h}visitSequence(h,m){const b=m.subContextCount;let A=m;const V=h.options;if(V&&(V.params||V.delay)&&(A=m.createSubContext(V),A.transformIntoNewTimeline(),null!=V.delay)){6==A.previousNode.type&&(A.currentTimeline.snapshotCurrentStyles(),A.previousNode=Jo);const te=Bt(V.delay);A.delayNextStep(te)}h.steps.length&&(h.steps.forEach(te=>Mt(this,te,A)),A.currentTimeline.applyStylesToKeyframe(),A.subContextCount>b&&A.transformIntoNewTimeline()),m.previousNode=h}visitGroup(h,m){const b=[];let A=m.currentTimeline.currentTime;const V=h.options&&h.options.delay?Bt(h.options.delay):0;h.steps.forEach(te=>{const ie=m.createSubContext(h.options);V&&ie.delayNextStep(V),Mt(this,te,ie),A=Math.max(A,ie.currentTimeline.currentTime),b.push(ie.currentTimeline)}),b.forEach(te=>m.currentTimeline.mergeTimelineCollectedStyles(te)),m.transformIntoNewTimeline(A),m.previousNode=h}_visitTiming(h,m){if(h.dynamic){const b=h.strValue;return rt(m.params?re(b,m.params,m.errors):b,m.errors)}return{duration:h.duration,delay:h.delay,easing:h.easing}}visitAnimate(h,m){const b=m.currentAnimateTimings=this._visitTiming(h.timings,m),A=m.currentTimeline;b.delay&&(m.incrementTime(b.delay),A.snapshotCurrentStyles());const V=h.style;5==V.type?this.visitKeyframes(V,m):(m.incrementTime(b.duration),this.visitStyle(V,m),A.applyStylesToKeyframe()),m.currentAnimateTimings=null,m.previousNode=h}visitStyle(h,m){const b=m.currentTimeline,A=m.currentAnimateTimings;!A&&b.hasCurrentStyleProperties()&&b.forwardFrame();const V=A&&A.easing||h.easing;h.isEmptyStep?b.applyEmptyStep(V):b.setStyles(h.styles,V,m.errors,m.options),m.previousNode=h}visitKeyframes(h,m){const b=m.currentAnimateTimings,A=m.currentTimeline.duration,V=b.duration,ie=m.createSubContext().currentTimeline;ie.easing=b.easing,h.styles.forEach(_e=>{ie.forwardTime((_e.offset||0)*V),ie.setStyles(_e.styles,_e.easing,m.errors,m.options),ie.applyStylesToKeyframe()}),m.currentTimeline.mergeTimelineCollectedStyles(ie),m.transformIntoNewTimeline(A+V),m.previousNode=h}visitQuery(h,m){const b=m.currentTimeline.currentTime,A=h.options||{},V=A.delay?Bt(A.delay):0;V&&(6===m.previousNode.type||0==b&&m.currentTimeline.hasCurrentStyleProperties())&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=Jo);let te=b;const ie=m.invokeQuery(h.selector,h.originalSelector,h.limit,h.includeSelf,!!A.optional,m.errors);m.currentQueryTotal=ie.length;let _e=null;ie.forEach((Ie,st)=>{m.currentQueryIndex=st;const ct=m.createSubContext(h.options,Ie);V&&ct.delayNextStep(V),Ie===m.element&&(_e=ct.currentTimeline),Mt(this,h.animation,ct),ct.currentTimeline.applyStylesToKeyframe(),te=Math.max(te,ct.currentTimeline.currentTime)}),m.currentQueryIndex=0,m.currentQueryTotal=0,m.transformIntoNewTimeline(te),_e&&(m.currentTimeline.mergeTimelineCollectedStyles(_e),m.currentTimeline.snapshotCurrentStyles()),m.previousNode=h}visitStagger(h,m){const b=m.parentContext,A=m.currentTimeline,V=h.timings,te=Math.abs(V.duration),ie=te*(m.currentQueryTotal-1);let _e=te*m.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":_e=ie-_e;break;case"full":_e=b.currentStaggerTime}const st=m.currentTimeline;_e&&st.delayNextStep(_e);const ct=st.currentTime;Mt(this,h.animation,m),m.previousNode=h,b.currentStaggerTime=A.currentTime-ct+(A.startTime-b.currentTimeline.startTime)}}const Jo={};class qo{constructor(h,m,b,A,V,te,ie,_e){this._driver=h,this.element=m,this.subInstructions=b,this._enterClassName=A,this._leaveClassName=V,this.errors=te,this.timelines=ie,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Jo,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=_e||new go(this._driver,m,0),ie.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(h,m){if(!h)return;const b=h;let A=this.options;null!=b.duration&&(A.duration=Bt(b.duration)),null!=b.delay&&(A.delay=Bt(b.delay));const V=b.params;if(V){let te=A.params;te||(te=this.options.params={}),Object.keys(V).forEach(ie=>{(!m||!te.hasOwnProperty(ie))&&(te[ie]=re(V[ie],te,this.errors))})}}_copyOptions(){const h={};if(this.options){const m=this.options.params;if(m){const b=h.params={};Object.keys(m).forEach(A=>{b[A]=m[A]})}}return h}createSubContext(h=null,m,b){const A=m||this.element,V=new qo(this._driver,A,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(A,b||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(h),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(h){return this.previousNode=Jo,this.currentTimeline=this.currentTimeline.fork(this.element,h),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(h,m,b){const A={duration:null!=m?m:h.duration,delay:this.currentTimeline.currentTime+(null!=b?b:0)+h.delay,easing:""},V=new Fi(this._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,A,h.stretchStartingKeyframe);return this.timelines.push(V),A}incrementTime(h){this.currentTimeline.forwardTime(this.currentTimeline.duration+h)}delayNextStep(h){h>0&&this.currentTimeline.delayNextStep(h)}invokeQuery(h,m,b,A,V,te){let ie=[];if(A&&ie.push(this.element),h.length>0){h=(h=h.replace(_n,"."+this._enterClassName)).replace(Co,"."+this._leaveClassName);let Ie=this._driver.query(this.element,h,1!=b);0!==b&&(Ie=b<0?Ie.slice(Ie.length+b,Ie.length):Ie.slice(0,b)),ie.push(...Ie)}return!V&&0==ie.length&&te.push(function ge(R){return new N.vHH(3014,!1)}()),ie}}class go{constructor(h,m,b,A){this._driver=h,this.element=m,this.startTime=b,this._elementTimelineStylesLookup=A,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(m),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(m,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(h){const m=1===this._keyframes.size&&this._pendingStyles.size;this.duration||m?(this.forwardTime(this.currentTime+h),m&&this.snapshotCurrentStyles()):this.startTime+=h}fork(h,m){return this.applyStylesToKeyframe(),new go(this._driver,h,m||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(h){this.applyStylesToKeyframe(),this.duration=h,this._loadKeyframe()}_updateStyle(h,m){this._localTimelineStyles.set(h,m),this._globalTimelineStyles.set(h,m),this._styleSummary.set(h,{time:this.currentTime,value:m})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(h){h&&this._previousKeyframe.set("easing",h);for(let[m,b]of this._globalTimelineStyles)this._backFill.set(m,b||l.l3),this._currentKeyframe.set(m,l.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(h,m,b,A){m&&this._previousKeyframe.set("easing",m);const V=A&&A.params||{},te=function bi(R,h){const m=new Map;let b;return R.forEach(A=>{if("*"===A){b=b||h.keys();for(let V of b)m.set(V,l.l3)}else Nn(A,m)}),m}(h,this._globalTimelineStyles);for(let[_e,Ie]of te){const st=re(Ie,V,b);var ie;this._pendingStyles.set(_e,st),this._localTimelineStyles.has(_e)||this._backFill.set(_e,null!==(ie=this._globalTimelineStyles.get(_e))&&void 0!==ie?ie:l.l3),this._updateStyle(_e,st)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((h,m)=>{this._currentKeyframe.set(m,h)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((h,m)=>{this._currentKeyframe.has(m)||this._currentKeyframe.set(m,h)}))}snapshotCurrentStyles(){for(let[h,m]of this._localTimelineStyles)this._pendingStyles.set(h,m),this._updateStyle(h,m)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const h=[];for(let m in this._currentKeyframe)h.push(m);return h}mergeTimelineCollectedStyles(h){h._styleSummary.forEach((m,b)=>{const A=this._styleSummary.get(b);(!A||m.time>A.time)&&this._updateStyle(b,m.value)})}buildKeyframes(){this.applyStylesToKeyframe();const h=new Set,m=new Set,b=1===this._keyframes.size&&0===this.duration;let A=[];this._keyframes.forEach((ie,_e)=>{const Ie=Nn(ie,new Map,this._backFill);Ie.forEach((st,ct)=>{st===l.k1?h.add(ct):st===l.l3&&m.add(ct)}),b||Ie.set("offset",_e/this.duration),A.push(Ie)});const V=h.size?Me(h.values()):[],te=m.size?Me(m.values()):[];if(b){const ie=A[0],_e=new Map(ie);ie.set("offset",0),_e.set("offset",1),A=[ie,_e]}return Vn(this.element,A,V,te,this.duration,this.startTime,this.easing,!1)}}class Fi extends go{constructor(h,m,b,A,V,te,ie=!1){super(h,m,te.delay),this.keyframes=b,this.preStyleProps=A,this.postStyleProps=V,this._stretchStartingKeyframe=ie,this.timings={duration:te.duration,delay:te.delay,easing:te.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let h=this.keyframes,{delay:m,duration:b,easing:A}=this.timings;if(this._stretchStartingKeyframe&&m){const V=[],te=b+m,ie=m/te,_e=Nn(h[0]);_e.set("offset",0),V.push(_e);const Ie=Nn(h[0]);Ie.set("offset",sr(ie)),V.push(Ie);const st=h.length-1;for(let ct=1;ct<=st;ct++){let Ut=Nn(h[ct]);const Ft=Ut.get("offset");Ut.set("offset",sr((m+Ft*b)/te)),V.push(Ut)}b=te,m=0,A="",h=V}return Vn(this.element,h,this.preStyleProps,this.postStyleProps,b,m,A,!0)}}function sr(R,h=3){const m=Math.pow(10,h-1);return Math.round(R*m)/m}class ei{}const Mo=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 to extends ei{normalizePropertyName(h,m){return ve(h)}normalizeStyleValue(h,m,b,A){let V="";const te=b.toString().trim();if(Mo.has(m)&&0!==b&&"0"!==b)if("number"==typeof b)V="px";else{const ie=b.match(/^[+-]?[\d\.]+([a-z]*)$/);ie&&0==ie[1].length&&A.push(function Q(R,h){return new N.vHH(3005,!1)}())}return te+V}}function Bo(R,h,m,b,A,V,te,ie,_e,Ie,st,ct,Ut){return{type:0,element:R,triggerName:h,isRemovalTransition:A,fromState:m,fromStyles:V,toState:b,toStyles:te,timelines:ie,queriedElements:_e,preStyleProps:Ie,postStyleProps:st,totalTime:ct,errors:Ut}}const wo={};class $r{constructor(h,m,b){this._triggerName=h,this.ast=m,this._stateStyles=b}match(h,m,b,A){return function $t(R,h,m,b,A){return R.some(V=>V(h,m,b,A))}(this.ast.matchers,h,m,b,A)}buildStyles(h,m,b){let A=this._stateStyles.get("*");return void 0!==h&&(A=this._stateStyles.get(null==h?void 0:h.toString())||A),A?A.buildStyles(m,b):new Map}build(h,m,b,A,V,te,ie,_e,Ie,st){var ct;const Ut=[],Ft=this.ast.options&&this.ast.options.params||wo,St=this.buildStyles(b,ie&&ie.params||wo,Ut),wn=_e&&_e.params||wo,M=this.buildStyles(A,wn,Ut),v=new Set,O=new Map,C=new Map,k="void"===A,ke={params:Sn(wn,Ft),delay:null===(ct=this.ast.options)||void 0===ct?void 0:ct.delay},at=st?[]:ko(h,m,this.ast.animation,V,te,St,M,ke,Ie,Ut);let Qt=0;if(at.forEach(On=>{Qt=Math.max(On.duration+On.delay,Qt)}),Ut.length)return Bo(m,this._triggerName,b,A,k,St,M,[],[],O,C,Qt,Ut);at.forEach(On=>{const dr=On.element,Xn=Ee(O,dr,new Set);On.preStyleProps.forEach(Lr=>Xn.add(Lr));const Wn=Ee(C,dr,new Set);On.postStyleProps.forEach(Lr=>Wn.add(Lr)),dr!==m&&v.add(dr)});const Qn=Me(v.values());return Bo(m,this._triggerName,b,A,k,St,M,at,Qn,O,C,Qt)}}function Sn(R,h){const m=kt(h);for(const b in R)R.hasOwnProperty(b)&&null!=R[b]&&(m[b]=R[b]);return m}class fn{constructor(h,m,b){this.styles=h,this.defaultParams=m,this.normalizer=b}buildStyles(h,m){const b=new Map,A=kt(this.defaultParams);return Object.keys(h).forEach(V=>{const te=h[V];null!==te&&(A[V]=te)}),this.styles.styles.forEach(V=>{"string"!=typeof V&&V.forEach((te,ie)=>{te&&(te=re(te,A,m));const _e=this.normalizer.normalizePropertyName(ie,m);te=this.normalizer.normalizeStyleValue(ie,_e,te,m),b.set(ie,te)})}),b}}class Bn{constructor(h,m,b){this.name=h,this.ast=m,this._normalizer=b,this.transitionFactories=[],this.states=new Map,m.states.forEach(A=>{this.states.set(A.name,new fn(A.style,A.options&&A.options.params||{},b))}),mo(this.states,"true","1"),mo(this.states,"false","0"),m.transitions.forEach(A=>{this.transitionFactories.push(new $r(h,A,this.states))}),this.fallbackTransition=function Uo(R,h,m){return new $r(R,{type:1,animation:{type:2,steps:[],options:null},matchers:[(te,ie)=>!0],options:null,queryCount:0,depCount:0},h)}(h,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(h,m,b,A){return this.transitionFactories.find(te=>te.match(h,m,b,A))||null}matchStyles(h,m,b){return this.fallbackTransition.buildStyles(h,m,b)}}function mo(R,h,m){R.has(h)?R.has(m)||R.set(m,R.get(h)):R.has(m)&&R.set(h,R.get(m))}const _r=new Ur;class ti{constructor(h,m,b){this.bodyNode=h,this._driver=m,this._normalizer=b,this._animations=new Map,this._playersById=new Map,this.players=[]}register(h,m){const b=[],V=nr(this._driver,m,b,[]);if(b.length)throw function me(R){return new N.vHH(3503,!1)}();this._animations.set(h,V)}_buildPlayer(h,m,b){const A=h.element,V=it(this._normalizer,h.keyframes,m,b);return this._driver.animate(A,V,h.duration,h.delay,h.easing,[],!0)}create(h,m,b={}){const A=[],V=this._animations.get(h);let te;const ie=new Map;if(V?(te=ko(this._driver,m,V,Rn,Vt,new Map,new Map,b,_r,A),te.forEach(st=>{const ct=Ee(ie,st.element,new Map);st.postStyleProps.forEach(Ut=>ct.set(Ut,null))})):(A.push(function $e(){return new N.vHH(3300,!1)}()),te=[]),A.length)throw function qe(R){return new N.vHH(3504,!1)}();ie.forEach((st,ct)=>{st.forEach((Ut,Ft)=>{st.set(Ft,this._driver.computeStyle(ct,Ft,l.l3))})});const Ie=Fe(te.map(st=>{const ct=ie.get(st.element);return this._buildPlayer(st,new Map,ct)}));return this._playersById.set(h,Ie),Ie.onDestroy(()=>this.destroy(h)),this.players.push(Ie),Ie}destroy(h){const m=this._getPlayer(h);m.destroy(),this._playersById.delete(h);const b=this.players.indexOf(m);b>=0&&this.players.splice(b,1)}_getPlayer(h){const m=this._playersById.get(h);if(!m)throw function bt(R){return new N.vHH(3301,!1)}();return m}listen(h,m,b,A){const V=_t(m,"","","");return Ge(this._getPlayer(h),b,V,A),()=>{}}command(h,m,b,A){if("register"==b)return void this.register(h,A[0]);if("create"==b)return void this.create(h,m,A[0]||{});const V=this._getPlayer(h);switch(b){case"play":V.play();break;case"pause":V.pause();break;case"reset":V.reset();break;case"restart":V.restart();break;case"finish":V.finish();break;case"init":V.init();break;case"setPosition":V.setPosition(parseFloat(A[0]));break;case"destroy":this.destroy(h)}}}const bo="ng-animate-queued",Ze="ng-animate-disabled",xr=[],Mn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},no={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zt="__ng_removed";class lr{get params(){return this.options.params}constructor(h,m=""){this.namespaceId=m;const b=h&&h.hasOwnProperty("value");if(this.value=function vo(R){return null!=R?R:null}(b?h.value:h),b){const V=kt(h);delete V.value,this.options=V}else this.options={};this.options.params||(this.options.params={})}absorbOptions(h){const m=h.params;if(m){const b=this.options.params;Object.keys(m).forEach(A=>{null==b[A]&&(b[A]=m[A])})}}}const ur="void",Et=new lr(ur);class zr{constructor(h,m,b){this.id=h,this.hostElement=m,this._engine=b,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+h,hn(m,this._hostClassName)}listen(h,m,b,A){if(!this._triggers.has(m))throw function Ue(R,h){return new N.vHH(3302,!1)}();if(null==b||0==b.length)throw function nt(R){return new N.vHH(3303,!1)}();if(!function rr(R){return"start"==R||"done"==R}(b))throw function De(R,h){return new N.vHH(3400,!1)}();const V=Ee(this._elementListeners,h,[]),te={name:m,phase:b,callback:A};V.push(te);const ie=Ee(this._engine.statesByElement,h,new Map);return ie.has(m)||(hn(h,Tt),hn(h,Tt+"-"+m),ie.set(m,Et)),()=>{this._engine.afterFlush(()=>{const _e=V.indexOf(te);_e>=0&&V.splice(_e,1),this._triggers.has(m)||ie.delete(m)})}}register(h,m){return!this._triggers.has(h)&&(this._triggers.set(h,m),!0)}_getTrigger(h){const m=this._triggers.get(h);if(!m)throw function ee(R){return new N.vHH(3401,!1)}();return m}trigger(h,m,b,A=!0){const V=this._getTrigger(m),te=new Sr(this.id,m,h);let ie=this._engine.statesByElement.get(h);ie||(hn(h,Tt),hn(h,Tt+"-"+m),this._engine.statesByElement.set(h,ie=new Map));let _e=ie.get(m);const Ie=new lr(b,this.id);if(!(b&&b.hasOwnProperty("value"))&&_e&&Ie.absorbOptions(_e.options),ie.set(m,Ie),_e||(_e=Et),Ie.value!==ur&&_e.value===Ie.value){if(!function $o(R,h){const m=Object.keys(R),b=Object.keys(h);if(m.length!=b.length)return!1;for(let A=0;A{Zt(h,wn),dn(h,M)})}return}const Ut=Ee(this._engine.playersByElement,h,[]);Ut.forEach(St=>{St.namespaceId==this.id&&St.triggerName==m&&St.queued&&St.destroy()});let Ft=V.matchTransition(_e.value,Ie.value,h,Ie.params),ot=!1;if(!Ft){if(!A)return;Ft=V.fallbackTransition,ot=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:m,transition:Ft,fromState:_e,toState:Ie,player:te,isFallbackTransition:ot}),ot||(hn(h,bo),te.onStart(()=>{cr(h,bo)})),te.onDone(()=>{let St=this.players.indexOf(te);St>=0&&this.players.splice(St,1);const wn=this._engine.playersByElement.get(h);if(wn){let M=wn.indexOf(te);M>=0&&wn.splice(M,1)}}),this.players.push(te),Ut.push(te),te}deregister(h){this._triggers.delete(h),this._engine.statesByElement.forEach(m=>m.delete(h)),this._elementListeners.forEach((m,b)=>{this._elementListeners.set(b,m.filter(A=>A.name!=h))})}clearElementCache(h){this._engine.statesByElement.delete(h),this._elementListeners.delete(h);const m=this._engine.playersByElement.get(h);m&&(m.forEach(b=>b.destroy()),this._engine.playersByElement.delete(h))}_signalRemovalForInnerTriggers(h,m){const b=this._engine.driver.query(h,Mr,!0);b.forEach(A=>{if(A[zt])return;const V=this._engine.fetchNamespacesByElement(A);V.size?V.forEach(te=>te.triggerLeaveAnimation(A,m,!1,!0)):this.clearElementCache(A)}),this._engine.afterFlushAnimationsDone(()=>b.forEach(A=>this.clearElementCache(A)))}triggerLeaveAnimation(h,m,b,A){const V=this._engine.statesByElement.get(h),te=new Map;if(V){const ie=[];if(V.forEach((_e,Ie)=>{if(te.set(Ie,_e.value),this._triggers.has(Ie)){const st=this.trigger(h,Ie,ur,A);st&&ie.push(st)}}),ie.length)return this._engine.markElementAsRemoved(this.id,h,!0,m,te),b&&Fe(ie).onDone(()=>this._engine.processLeaveNode(h)),!0}return!1}prepareLeaveAnimationListeners(h){const m=this._elementListeners.get(h),b=this._engine.statesByElement.get(h);if(m&&b){const A=new Set;m.forEach(V=>{const te=V.name;if(A.has(te))return;A.add(te);const _e=this._triggers.get(te).fallbackTransition,Ie=b.get(te)||Et,st=new lr(ur),ct=new Sr(this.id,te,h);this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:te,transition:_e,fromState:Ie,toState:st,player:ct,isFallbackTransition:!0})})}}removeNode(h,m){const b=this._engine;if(h.childElementCount&&this._signalRemovalForInnerTriggers(h,m),this.triggerLeaveAnimation(h,m,!0))return;let A=!1;if(b.totalAnimations){const V=b.players.length?b.playersByQueriedElement.get(h):[];if(V&&V.length)A=!0;else{let te=h;for(;te=te.parentNode;)if(b.statesByElement.get(te)){A=!0;break}}}if(this.prepareLeaveAnimationListeners(h),A)b.markElementAsRemoved(this.id,h,!1,m);else{const V=h[zt];(!V||V===Mn)&&(b.afterFlush(()=>this.clearElementCache(h)),b.destroyInnerAnimations(h),b._onRemovalComplete(h,m))}}insertNode(h,m){hn(h,this._hostClassName)}drainQueuedTransitions(h){const m=[];return this._queue.forEach(b=>{const A=b.player;if(A.destroyed)return;const V=b.element,te=this._elementListeners.get(V);te&&te.forEach(ie=>{if(ie.name==b.triggerName){const _e=_t(V,b.triggerName,b.fromState.value,b.toState.value);_e._data=h,Ge(b.player,ie.phase,_e,ie.callback)}}),A.markedForDestroy?this._engine.afterFlush(()=>{A.destroy()}):m.push(b)}),this._queue=[],m.sort((b,A)=>{const V=b.transition.ast.depCount,te=A.transition.ast.depCount;return 0==V||0==te?V-te:this._engine.driver.containsElement(b.element,A.element)?1:-1})}destroy(h){this.players.forEach(m=>m.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,h)}}class ni{_onRemovalComplete(h,m){this.onRemovalComplete(h,m)}constructor(h,m,b){this.bodyNode=h,this.driver=m,this._normalizer=b,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=(A,V)=>{}}get queuedPlayers(){const h=[];return this._namespaceList.forEach(m=>{m.players.forEach(b=>{b.queued&&h.push(b)})}),h}createNamespace(h,m){const b=new zr(h,m,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,m)?this._balanceNamespaceList(b,m):(this.newHostElements.set(m,b),this.collectEnterElement(m)),this._namespaceLookup[h]=b}_balanceNamespaceList(h,m){const b=this._namespaceList,A=this.namespacesByHostElement;if(b.length-1>=0){let te=!1,ie=this.driver.getParentElement(m);for(;ie;){const _e=A.get(ie);if(_e){const Ie=b.indexOf(_e);b.splice(Ie+1,0,h),te=!0;break}ie=this.driver.getParentElement(ie)}te||b.unshift(h)}else b.push(h);return A.set(m,h),h}register(h,m){let b=this._namespaceLookup[h];return b||(b=this.createNamespace(h,m)),b}registerTrigger(h,m,b){let A=this._namespaceLookup[h];A&&A.register(m,b)&&this.totalAnimations++}destroy(h,m){h&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const b=this._fetchNamespace(h);this.namespacesByHostElement.delete(b.hostElement);const A=this._namespaceList.indexOf(b);A>=0&&this._namespaceList.splice(A,1),b.destroy(m),delete this._namespaceLookup[h]}))}_fetchNamespace(h){return this._namespaceLookup[h]}fetchNamespacesByElement(h){const m=new Set,b=this.statesByElement.get(h);if(b)for(let A of b.values())if(A.namespaceId){const V=this._fetchNamespace(A.namespaceId);V&&m.add(V)}return m}trigger(h,m,b,A){if(Gr(m)){const V=this._fetchNamespace(h);if(V)return V.trigger(m,b,A),!0}return!1}insertNode(h,m,b,A){if(!Gr(m))return;const V=m[zt];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const te=this.collectedLeaveElements.indexOf(m);te>=0&&this.collectedLeaveElements.splice(te,1)}if(h){const te=this._fetchNamespace(h);te&&te.insertNode(m,b)}A&&this.collectEnterElement(m)}collectEnterElement(h){this.collectedEnterElements.push(h)}markElementAsDisabled(h,m){m?this.disabledNodes.has(h)||(this.disabledNodes.add(h),hn(h,Ze)):this.disabledNodes.has(h)&&(this.disabledNodes.delete(h),cr(h,Ze))}removeNode(h,m,b){if(Gr(m)){const A=h?this._fetchNamespace(h):null;A?A.removeNode(m,b):this.markElementAsRemoved(h,m,!1,b);const V=this.namespacesByHostElement.get(m);V&&V.id!==h&&V.removeNode(m,b)}else this._onRemovalComplete(m,b)}markElementAsRemoved(h,m,b,A,V){this.collectedLeaveElements.push(m),m[zt]={namespaceId:h,setForRemoval:A,hasAnimation:b,removedBeforeQueried:!1,previousTriggersValues:V}}listen(h,m,b,A,V){return Gr(m)?this._fetchNamespace(h).listen(m,b,A,V):()=>{}}_buildInstruction(h,m,b,A,V){return h.transition.build(this.driver,h.element,h.fromState.value,h.toState.value,b,A,h.fromState.options,h.toState.options,m,V)}destroyInnerAnimations(h){let m=this.driver.query(h,Mr,!0);m.forEach(b=>this.destroyActiveAnimationsForElement(b)),0!=this.playersByQueriedElement.size&&(m=this.driver.query(h,Zn,!0),m.forEach(b=>this.finishActiveQueriedAnimationOnElement(b)))}destroyActiveAnimationsForElement(h){const m=this.playersByElement.get(h);m&&m.forEach(b=>{b.queued?b.markedForDestroy=!0:b.destroy()})}finishActiveQueriedAnimationOnElement(h){const m=this.playersByQueriedElement.get(h);m&&m.forEach(b=>b.finish())}whenRenderingDone(){return new Promise(h=>{if(this.players.length)return Fe(this.players).onDone(()=>h());h()})}processLeaveNode(h){var m;const b=h[zt];if(b&&b.setForRemoval){if(h[zt]=Mn,b.namespaceId){this.destroyInnerAnimations(h);const A=this._fetchNamespace(b.namespaceId);A&&A.clearElementCache(h)}this._onRemovalComplete(h,b.setForRemoval)}null!==(m=h.classList)&&void 0!==m&&m.contains(Ze)&&this.markElementAsDisabled(h,!1),this.driver.query(h,".ng-animate-disabled",!0).forEach(A=>{this.markElementAsDisabled(A,!1)})}flush(h=-1){let m=[];if(this.newHostElements.size&&(this.newHostElements.forEach((b,A)=>this._balanceNamespaceList(b,A)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let b=0;bb()),this._flushFns=[],this._whenQuietFns.length){const b=this._whenQuietFns;this._whenQuietFns=[],m.length?Fe(m).onDone(()=>{b.forEach(A=>A())}):b.forEach(A=>A())}}reportError(h){throw function he(R){return new N.vHH(3402,!1)}()}_flushAnimations(h,m){const b=new Ur,A=[],V=new Map,te=[],ie=new Map,_e=new Map,Ie=new Map,st=new Set;this.disabledNodes.forEach(Qe=>{st.add(Qe);const ht=this.driver.query(Qe,".ng-animate-queued",!0);for(let lt=0;lt{const lt=Rn+St++;ot.set(ht,lt),Qe.forEach(Gt=>hn(Gt,lt))});const wn=[],M=new Set,v=new Set;for(let Qe=0;QeM.add(Gt)):v.add(ht))}const O=new Map,C=Ir(Ut,Array.from(M));C.forEach((Qe,ht)=>{const lt=Vt+St++;O.set(ht,lt),Qe.forEach(Gt=>hn(Gt,lt))}),h.push(()=>{Ft.forEach((Qe,ht)=>{const lt=ot.get(ht);Qe.forEach(Gt=>cr(Gt,lt))}),C.forEach((Qe,ht)=>{const lt=O.get(ht);Qe.forEach(Gt=>cr(Gt,lt))}),wn.forEach(Qe=>{this.processLeaveNode(Qe)})});const k=[],ke=[];for(let Qe=this._namespaceList.length-1;Qe>=0;Qe--)this._namespaceList[Qe].drainQueuedTransitions(m).forEach(lt=>{const Gt=lt.player,En=lt.element;if(k.push(Gt),this.collectedEnterElements.length){const Kn=En[zt];if(Kn&&Kn.setForMove){if(Kn.previousTriggersValues&&Kn.previousTriggersValues.has(lt.triggerName)){const _o=Kn.previousTriggersValues.get(lt.triggerName),yr=this.statesByElement.get(lt.element);if(yr&&yr.has(lt.triggerName)){const So=yr.get(lt.triggerName);So.value=_o,yr.set(lt.triggerName,So)}}return void Gt.destroy()}}const Ar=!ct||!this.driver.containsElement(ct,En),Jn=O.get(En),Or=ot.get(En),yn=this._buildInstruction(lt,b,Or,Jn,Ar);if(yn.errors&&yn.errors.length)return void ke.push(yn);if(Ar)return Gt.onStart(()=>Zt(En,yn.fromStyles)),Gt.onDestroy(()=>dn(En,yn.toStyles)),void A.push(Gt);if(lt.isFallbackTransition)return Gt.onStart(()=>Zt(En,yn.fromStyles)),Gt.onDestroy(()=>dn(En,yn.toStyles)),void A.push(Gt);const zo=[];yn.timelines.forEach(Kn=>{Kn.stretchStartingKeyframe=!0,this.disabledNodes.has(Kn.element)||zo.push(Kn)}),yn.timelines=zo,b.append(En,yn.timelines),te.push({instruction:yn,player:Gt,element:En}),yn.queriedElements.forEach(Kn=>Ee(ie,Kn,[]).push(Gt)),yn.preStyleProps.forEach((Kn,_o)=>{if(Kn.size){let yr=_e.get(_o);yr||_e.set(_o,yr=new Set),Kn.forEach((So,kr)=>yr.add(kr))}}),yn.postStyleProps.forEach((Kn,_o)=>{let yr=Ie.get(_o);yr||Ie.set(_o,yr=new Set),Kn.forEach((So,kr)=>yr.add(kr))})});if(ke.length){const Qe=[];ke.forEach(ht=>{Qe.push(function Ce(R,h){return new N.vHH(3505,!1)}())}),k.forEach(ht=>ht.destroy()),this.reportError(Qe)}const at=new Map,Qt=new Map;te.forEach(Qe=>{const ht=Qe.element;b.has(ht)&&(Qt.set(ht,ht),this._beforeAnimationBuild(Qe.player.namespaceId,Qe.instruction,at))}),A.forEach(Qe=>{const ht=Qe.element;this._getPreviousPlayers(ht,!1,Qe.namespaceId,Qe.triggerName,null).forEach(Gt=>{Ee(at,ht,[]).push(Gt),Gt.destroy()})});const Qn=wn.filter(Qe=>ro(Qe,_e,Ie)),On=new Map;Ho(On,this.driver,v,Ie,l.l3).forEach(Qe=>{ro(Qe,_e,Ie)&&Qn.push(Qe)});const Xn=new Map;Ft.forEach((Qe,ht)=>{Ho(Xn,this.driver,new Set(Qe),_e,l.k1)}),Qn.forEach(Qe=>{var ht,lt;const Gt=On.get(Qe),En=Xn.get(Qe);On.set(Qe,new Map([...null!==(ht=null==Gt?void 0:Gt.entries())&&void 0!==ht?ht:[],...null!==(lt=null==En?void 0:En.entries())&&void 0!==lt?lt:[]]))});const Wn=[],Lr=[],qi={};te.forEach(Qe=>{const{element:ht,player:lt,instruction:Gt}=Qe;if(b.has(ht)){if(st.has(ht))return lt.onDestroy(()=>dn(ht,Gt.toStyles)),lt.disabled=!0,lt.overrideTotalTime(Gt.totalTime),void A.push(lt);let En=qi;if(Qt.size>1){let Jn=ht;const Or=[];for(;Jn=Jn.parentNode;){const yn=Qt.get(Jn);if(yn){En=yn;break}Or.push(Jn)}Or.forEach(yn=>Qt.set(yn,En))}const Ar=this._buildAnimation(lt.namespaceId,Gt,at,V,Xn,On);if(lt.setRealPlayer(Ar),En===qi)Wn.push(lt);else{const Jn=this.playersByElement.get(En);Jn&&Jn.length&&(lt.parentPlayer=Fe(Jn)),A.push(lt)}}else Zt(ht,Gt.fromStyles),lt.onDestroy(()=>dn(ht,Gt.toStyles)),Lr.push(lt),st.has(ht)&&A.push(lt)}),Lr.forEach(Qe=>{const ht=V.get(Qe.element);if(ht&&ht.length){const lt=Fe(ht);Qe.setRealPlayer(lt)}}),A.forEach(Qe=>{Qe.parentPlayer?Qe.syncPlayerEvents(Qe.parentPlayer):Qe.destroy()});for(let Qe=0;Qe!Ar.destroyed);En.length?To(this,ht,En):this.processLeaveNode(ht)}return wn.length=0,Wn.forEach(Qe=>{this.players.push(Qe),Qe.onDone(()=>{Qe.destroy();const ht=this.players.indexOf(Qe);this.players.splice(ht,1)}),Qe.play()}),Wn}afterFlush(h){this._flushFns.push(h)}afterFlushAnimationsDone(h){this._whenQuietFns.push(h)}_getPreviousPlayers(h,m,b,A,V){let te=[];if(m){const ie=this.playersByQueriedElement.get(h);ie&&(te=ie)}else{const ie=this.playersByElement.get(h);if(ie){const _e=!V||V==ur;ie.forEach(Ie=>{Ie.queued||!_e&&Ie.triggerName!=A||te.push(Ie)})}}return(b||A)&&(te=te.filter(ie=>!(b&&b!=ie.namespaceId||A&&A!=ie.triggerName))),te}_beforeAnimationBuild(h,m,b){const V=m.element,te=m.isRemovalTransition?void 0:h,ie=m.isRemovalTransition?void 0:m.triggerName;for(const _e of m.timelines){const Ie=_e.element,st=Ie!==V,ct=Ee(b,Ie,[]);this._getPreviousPlayers(Ie,st,te,ie,m.toState).forEach(Ft=>{const ot=Ft.getRealPlayer();ot.beforeDestroy&&ot.beforeDestroy(),Ft.destroy(),ct.push(Ft)})}Zt(V,m.fromStyles)}_buildAnimation(h,m,b,A,V,te){const ie=m.triggerName,_e=m.element,Ie=[],st=new Set,ct=new Set,Ut=m.timelines.map(ot=>{const St=ot.element;st.add(St);const wn=St[zt];if(wn&&wn.removedBeforeQueried)return new l.ZN(ot.duration,ot.delay);const M=St!==_e,v=function jt(R){const h=[];return mi(R,h),h}((b.get(St)||xr).map(at=>at.getRealPlayer())).filter(at=>!!at.element&&at.element===St),O=V.get(St),C=te.get(St),k=it(this._normalizer,ot.keyframes,O,C),ke=this._buildPlayer(ot,k,v);if(ot.subTimeline&&A&&ct.add(St),M){const at=new Sr(h,ie,St);at.setRealPlayer(ke),Ie.push(at)}return ke});Ie.forEach(ot=>{Ee(this.playersByQueriedElement,ot.element,[]).push(ot),ot.onDone(()=>function mn(R,h,m){let b=R.get(h);if(b){if(b.length){const A=b.indexOf(m);b.splice(A,1)}0==b.length&&R.delete(h)}return b}(this.playersByQueriedElement,ot.element,ot))}),st.forEach(ot=>hn(ot,yt));const Ft=Fe(Ut);return Ft.onDestroy(()=>{st.forEach(ot=>cr(ot,yt)),dn(_e,m.toStyles)}),ct.forEach(ot=>{Ee(A,ot,[]).push(Ft)}),Ft}_buildPlayer(h,m,b){return m.length>0?this.driver.animate(h.element,m,h.duration,h.delay,h.easing,b):new l.ZN(h.duration,h.delay)}}class Sr{constructor(h,m,b){this.namespaceId=h,this.triggerName=m,this.element=b,this._player=new l.ZN,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(h){this._containsRealPlayer||(this._player=h,this._queuedCallbacks.forEach((m,b)=>{m.forEach(A=>Ge(h,b,void 0,A))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(h.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(h){this.totalTime=h}syncPlayerEvents(h){const m=this._player;m.triggerCallback&&h.onStart(()=>m.triggerCallback("start")),h.onDone(()=>this.finish()),h.onDestroy(()=>this.destroy())}_queueEvent(h,m){Ee(this._queuedCallbacks,h,[]).push(m)}onDone(h){this.queued&&this._queueEvent("done",h),this._player.onDone(h)}onStart(h){this.queued&&this._queueEvent("start",h),this._player.onStart(h)}onDestroy(h){this.queued&&this._queueEvent("destroy",h),this._player.onDestroy(h)}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(h){this.queued||this._player.setPosition(h)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(h){const m=this._player;m.triggerCallback&&m.triggerCallback(h)}}function Gr(R){return R&&1===R.nodeType}function Wr(R,h){const m=R.style.display;return R.style.display=null!=h?h:"none",m}function Ho(R,h,m,b,A){const V=[];m.forEach(_e=>V.push(Wr(_e)));const te=[];b.forEach((_e,Ie)=>{const st=new Map;_e.forEach(ct=>{const Ut=h.computeStyle(Ie,ct,A);st.set(ct,Ut),(!Ut||0==Ut.length)&&(Ie[zt]=no,te.push(Ie))}),R.set(Ie,st)});let ie=0;return m.forEach(_e=>Wr(_e,V[ie++])),te}function Ir(R,h){const m=new Map;if(R.forEach(ie=>m.set(ie,[])),0==h.length)return m;const A=new Set(h),V=new Map;function te(ie){if(!ie)return 1;let _e=V.get(ie);if(_e)return _e;const Ie=ie.parentNode;return _e=m.has(Ie)?Ie:A.has(Ie)?1:te(Ie),V.set(ie,_e),_e}return h.forEach(ie=>{const _e=te(ie);1!==_e&&m.get(_e).push(ie)}),m}function hn(R,h){var m;null===(m=R.classList)||void 0===m||m.add(h)}function cr(R,h){var m;null===(m=R.classList)||void 0===m||m.remove(h)}function To(R,h,m){Fe(m).onDone(()=>R.processLeaveNode(h))}function mi(R,h){for(let m=0;mA.add(V)):h.set(R,b),m.delete(R),!0}class Un{constructor(h,m,b){this.bodyNode=h,this._driver=m,this._normalizer=b,this._triggerCache={},this.onRemovalComplete=(A,V)=>{},this._transitionEngine=new ni(h,m,b),this._timelineEngine=new ti(h,m,b),this._transitionEngine.onRemovalComplete=(A,V)=>this.onRemovalComplete(A,V)}registerTrigger(h,m,b,A,V){const te=h+"-"+A;let ie=this._triggerCache[te];if(!ie){const _e=[],st=nr(this._driver,V,_e,[]);if(_e.length)throw function Ve(R,h){return new N.vHH(3404,!1)}();ie=function ar(R,h,m){return new Bn(R,h,m)}(A,st,this._normalizer),this._triggerCache[te]=ie}this._transitionEngine.registerTrigger(m,A,ie)}register(h,m){this._transitionEngine.register(h,m)}destroy(h,m){this._transitionEngine.destroy(h,m)}onInsert(h,m,b,A){this._transitionEngine.insertNode(h,m,b,A)}onRemove(h,m,b){this._transitionEngine.removeNode(h,m,b)}disableAnimations(h,m){this._transitionEngine.markElementAsDisabled(h,m)}process(h,m,b,A){if("@"==b.charAt(0)){const[V,te]=et(b);this._timelineEngine.command(V,m,te,A)}else this._transitionEngine.trigger(h,m,b,A)}listen(h,m,b,A,V){if("@"==b.charAt(0)){const[te,ie]=et(b);return this._timelineEngine.listen(te,m,ie,V)}return this._transitionEngine.listen(h,m,b,A,V)}flush(h=-1){this._transitionEngine.flush(h)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(h){this._transitionEngine.afterFlushAnimationsDone(h)}}let oo=(()=>{class h{constructor(b,A,V){this._element=b,this._startStyles=A,this._endStyles=V,this._state=0;let te=h.initialStylesByElement.get(b);te||h.initialStylesByElement.set(b,te=new Map),this._initialStyles=te}start(){this._state<1&&(this._startStyles&&dn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(dn(this._element,this._initialStyles),this._endStyles&&(dn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(h.initialStylesByElement.delete(this._element),this._startStyles&&(Zt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zt(this._element,this._endStyles),this._endStyles=null),dn(this._element,this._initialStyles),this._state=3)}}return h.initialStylesByElement=new WeakMap,h})();function or(R){let h=null;return R.forEach((m,b)=>{(function Hn(R){return"display"===R||"position"===R})(b)&&(h=h||new Map,h.set(b,m))}),h}class vi{constructor(h,m,b,A){this.element=h,this.keyframes=m,this.options=b,this._specialStyles=A,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=b.duration,this._delay=b.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(h=>h()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const h=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,h,this.options),this._finalKeyframe=h.length?h[h.length-1]:new Map;const m=()=>this._onFinish();this.domPlayer.addEventListener("finish",m),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",m)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(h){const m=[];return h.forEach(b=>{m.push(Object.fromEntries(b))}),m}_triggerWebAnimation(h,m,b){return h.animate(this._convertKeyframesToObject(m),b)}onStart(h){this._originalOnStartFns.push(h),this._onStartFns.push(h)}onDone(h){this._originalOnDoneFns.push(h),this._onDoneFns.push(h)}onDestroy(h){this._onDestroyFns.push(h)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(h=>h()),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(h=>h()),this._onDestroyFns=[])}setPosition(h){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=h*this.time}getPosition(){var h;return+(null!==(h=this.domPlayer.currentTime)&&void 0!==h?h:0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const h=new Map;this.hasStarted()&&this._finalKeyframe.forEach((b,A)=>{"offset"!==A&&h.set(A,this._finished?b:Ct(this.element,A))}),this.currentSnapshot=h}triggerCallback(h){const m="start"===h?this._onStartFns:this._onDoneFns;m.forEach(b=>b()),m.length=0}}class Gn{validateStyleProperty(h){return!0}validateAnimatableStyleProperty(h){return!0}matchesElement(h,m){return!1}containsElement(h,m){return Ht(h,m)}getParentElement(h){return Lt(h)}query(h,m,b){return en(h,m,b)}computeStyle(h,m,b){return window.getComputedStyle(h)[m]}animate(h,m,b,A,V,te=[]){const _e={duration:b,delay:A,fill:0==A?"both":"forwards"};V&&(_e.easing=V);const Ie=new Map,st=te.filter(Ft=>Ft instanceof vi);(function tt(R,h){return 0===R||0===h})(b,A)&&st.forEach(Ft=>{Ft.currentSnapshot.forEach((ot,St)=>Ie.set(St,ot))});let ct=function bn(R){return R.length?R[0]instanceof Map?R:R.map(h=>gn(h)):[]}(m).map(Ft=>Nn(Ft));ct=function ft(R,h,m){if(m.size&&h.length){let b=h[0],A=[];if(m.forEach((V,te)=>{b.has(te)||A.push(te),b.set(te,V)}),A.length)for(let V=1;Vte.set(ie,Ct(R,ie)))}}return h}(h,ct,Ie);const Ut=function zn(R,h){let m=null,b=null;return Array.isArray(h)&&h.length?(m=or(h[0]),h.length>1&&(b=or(h[h.length-1]))):h instanceof Map&&(m=or(h)),m||b?new oo(R,m,b):null}(h,ct);return new vi(h,ct,_e,Ut)}}},6733:(We,le,y)=>{y.d(le,{HT:()=>Y,JF:()=>Ir,K0:()=>W,Mx:()=>nr,NF:()=>zr,O5:()=>Vn,Ov:()=>Mo,PM:()=>ni,S$:()=>K,Ye:()=>fe,bD:()=>zt,ez:()=>no,q:()=>I,sg:()=>Tr,w_:()=>U});var l=y(755);let N=null;function I(){return N}function Y(p){N||(N=p)}class U{}const W=new l.OlP("DocumentToken");let q=(()=>{var p;class w{historyGo(D){throw new Error("Not implemented")}}return(p=w).\u0275fac=function(D){return new(D||p)},p.\u0275prov=l.Yz7({token:p,factory:function(){return(0,l.f3M)(de)},providedIn:"platform"}),w})(),de=(()=>{var p;class w extends q{constructor(){super(),this._doc=(0,l.f3M)(W),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return I().getBaseHref(this._doc)}onPopState(D){const x=I().getGlobalEventTarget(this._doc,"window");return x.addEventListener("popstate",D,!1),()=>x.removeEventListener("popstate",D)}onHashChange(D){const x=I().getGlobalEventTarget(this._doc,"window");return x.addEventListener("hashchange",D,!1),()=>x.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,x,Z){this._history.pushState(D,x,Z)}replaceState(D,x,Z){this._history.replaceState(D,x,Z)}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return(p=w).\u0275fac=function(D){return new(D||p)},p.\u0275prov=l.Yz7({token:p,factory:function(){return new p},providedIn:"platform"}),w})();function Q(p,w){if(0==p.length)return w;if(0==w.length)return p;let j=0;return p.endsWith("/")&&j++,w.startsWith("/")&&j++,2==j?p+w.substring(1):1==j?p+w:p+"/"+w}function X(p){const w=p.match(/#|\?|$/),j=w&&w.index||p.length;return p.slice(0,j-("/"===p[j-1]?1:0))+p.slice(j)}function L(p){return p&&"?"!==p[0]?"?"+p:p}let K=(()=>{var p;class w{historyGo(D){throw new Error("Not implemented")}}return(p=w).\u0275fac=function(D){return new(D||p)},p.\u0275prov=l.Yz7({token:p,factory:function(){return(0,l.f3M)(ne)},providedIn:"root"}),w})();const $=new l.OlP("appBaseHref");let ne=(()=>{var p;class w extends K{constructor(D,x){var Z,Oe,Ke;super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=null!==(Z=null!==(Oe=null!=x?x:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Oe?Oe:null===(Ke=(0,l.f3M)(W).location)||void 0===Ke?void 0:Ke.origin)&&void 0!==Z?Z:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return Q(this._baseHref,D)}path(D=!1){const x=this._platformLocation.pathname+L(this._platformLocation.search),Z=this._platformLocation.hash;return Z&&D?"".concat(x).concat(Z):x}pushState(D,x,Z,Oe){const Ke=this.prepareExternalUrl(Z+L(Oe));this._platformLocation.pushState(D,x,Ke)}replaceState(D,x,Z,Oe){const Ke=this.prepareExternalUrl(Z+L(Oe));this._platformLocation.replaceState(D,x,Ke)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){var x,Z;null===(x=(Z=this._platformLocation).historyGo)||void 0===x||x.call(Z,D)}}return(p=w).\u0275fac=function(D){return new(D||p)(l.LFG(q),l.LFG($,8))},p.\u0275prov=l.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),w})(),fe=(()=>{var p;class w{constructor(D){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const x=this._locationStrategy.getBaseHref();this._basePath=function H(p){if(new RegExp("^(https?:)?//").test(p)){const[,j]=p.split(/\/\/[^\/]+/);return j}return p}(X(Re(x))),this._locationStrategy.onPopState(Z=>{this._subject.emit({url:this.path(!0),pop:!0,state:Z.state,type:Z.type})})}ngOnDestroy(){var D;null===(D=this._urlChangeSubscription)||void 0===D||D.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,x=""){return this.path()==this.normalize(D+L(x))}normalize(D){return w.stripTrailingSlash(function Le(p,w){if(!p||!w.startsWith(p))return w;const j=w.substring(p.length);return""===j||["/",";","?","#"].includes(j[0])?j:w}(this._basePath,Re(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,x="",Z=null){this._locationStrategy.pushState(Z,"",D,x),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+L(x)),Z)}replaceState(D,x="",Z=null){this._locationStrategy.replaceState(Z,"",D,x),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+L(x)),Z)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){var x,Z;null===(x=(Z=this._locationStrategy).historyGo)||void 0===x||x.call(Z,D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(x=>{this._notifyUrlChangeListeners(x.url,x.state)})),()=>{const x=this._urlChangeListeners.indexOf(D);var Z;this._urlChangeListeners.splice(x,1),0===this._urlChangeListeners.length&&(null===(Z=this._urlChangeSubscription)||void 0===Z||Z.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",x){this._urlChangeListeners.forEach(Z=>Z(D,x))}subscribe(D,x,Z){return this._subject.subscribe({next:D,error:x,complete:Z})}}return(p=w).normalizeQueryParams=L,p.joinWithSlash=Q,p.stripTrailingSlash=X,p.\u0275fac=function(D){return new(D||p)(l.LFG(K))},p.\u0275prov=l.Yz7({token:p,factory:function(){return function we(){return new fe((0,l.LFG)(K))}()},providedIn:"root"}),w})();function Re(p){return p.replace(/\/index.html$/,"")}function nr(p,w){w=encodeURIComponent(w);for(const j of p.split(";")){const D=j.indexOf("="),[x,Z]=-1==D?[j,""]:[j.slice(0,D),j.slice(D+1)];if(x.trim()===w)return decodeURIComponent(Z)}return null}class gi{constructor(w,j,D,x){this.$implicit=w,this.ngForOf=j,this.index=D,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 Tr=(()=>{var p;class w{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,x,Z){this._viewContainer=D,this._template=x,this._differs=Z,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const x=this._viewContainer;D.forEachOperation((Z,Oe,Ke)=>{if(null==Z.previousIndex)x.createEmbeddedView(this._template,new gi(Z.item,this._ngForOf,-1,-1),null===Ke?void 0:Ke);else if(null==Ke)x.remove(null===Oe?void 0:Oe);else if(null!==Oe){const xt=x.get(Oe);x.move(xt,Ke),vr(xt,Z)}});for(let Z=0,Oe=x.length;Z{vr(x.get(Z.currentIndex),Z)})}static ngTemplateContextGuard(D,x){return!0}}return(p=w).\u0275fac=function(D){return new(D||p)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},p.\u0275dir=l.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),w})();function vr(p,w){p.context.$implicit=w.item}let Vn=(()=>{var p;class w{constructor(D,x){this._viewContainer=D,this._context=new Ur,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=x}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){qr("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){qr("ngIfElse",D),this._elseTemplateRef=D,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(D,x){return!0}}return(p=w).\u0275fac=function(D){return new(D||p)(l.Y36(l.s_b),l.Y36(l.Rgc))},p.\u0275dir=l.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),w})();class Ur{constructor(){this.$implicit=null,this.ngIf=null}}function qr(p,w){if(w&&!w.createEmbeddedView)throw new Error("".concat(p," must be a TemplateRef, but received '").concat((0,l.AaK)(w),"'."))}class bi{createSubscription(w,j){return(0,l.rg0)(()=>w.subscribe({next:j,error:D=>{throw D}}))}dispose(w){(0,l.rg0)(()=>w.unsubscribe())}}class Ti{createSubscription(w,j){return w.then(j,D=>{throw D})}dispose(w){}}const ei=new Ti,Si=new bi;let Mo=(()=>{var p;class w{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(D),this._latestValue)}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,x=>this._updateLatestValue(D,x))}_selectStrategy(D){if((0,l.QGY)(D))return ei;if((0,l.F4k)(D))return Si;throw function sr(p,w){return new l.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,x){D===this._obj&&(this._latestValue=x,this._ref.markForCheck())}}return(p=w).\u0275fac=function(D){return new(D||p)(l.Y36(l.sBO,16))},p.\u0275pipe=l.Yjl({name:"async",type:p,pure:!1,standalone:!0}),w})(),no=(()=>{var p;class w{}return(p=w).\u0275fac=function(D){return new(D||p)},p.\u0275mod=l.oAB({type:p}),p.\u0275inj=l.cJS({}),w})();const zt="browser",lr="server";function zr(p){return p===zt}function ni(p){return p===lr}class Ir{}},755:(We,le,y)=>{y.d(le,{$8M:()=>sn,$WT:()=>ar,$Z:()=>Cp,AFp:()=>Uh,ALo:()=>nv,AaK:()=>L,BQk:()=>pu,CHM:()=>Uu,CRH:()=>Dv,EJc:()=>Aw,EiD:()=>Ah,EpF:()=>pg,F$t:()=>Eg,F4k:()=>gg,FYo:()=>Yh,FiY:()=>Tl,Gf:()=>_v,GfV:()=>Zh,GkF:()=>yd,Gpc:()=>ne,HDt:()=>Hv,Hsn:()=>Cg,Ikx:()=>Od,JOm:()=>Fl,JVY:()=>ky,JZr:()=>Re,KtG:()=>Hu,L6k:()=>Vy,LAX:()=>jy,LFG:()=>ft,Lbi:()=>xc,Lck:()=>vM,MAs:()=>dg,MMx:()=>Um,MR2:()=>Ic,NdJ:()=>Ed,O4$:()=>fl,Ojb:()=>fD,OlP:()=>yt,Oqu:()=>Ad,P3R:()=>Nh,PiD:()=>kf,Q6J:()=>md,QGY:()=>Dd,QbO:()=>dD,Qsj:()=>SD,R0b:()=>Cr,RDi:()=>Oy,RIp:()=>xh,Rgc:()=>Ga,SBq:()=>Ta,Sil:()=>Rw,Suo:()=>yv,TTD:()=>Rt,TgZ:()=>du,Udp:()=>Td,VKq:()=>Zm,VuI:()=>Bb,W1O:()=>wv,WLB:()=>Qm,X6Q:()=>fb,XFs:()=>Dt,Xpm:()=>Ti,Xq5:()=>Zp,Xts:()=>Ea,Y36:()=>Os,YKP:()=>Bm,YNc:()=>lg,Yjl:()=>jo,Yz7:()=>et,Z0I:()=>ut,ZZ4:()=>ff,_Bn:()=>Vm,_UZ:()=>_d,_Vd:()=>ba,_uU:()=>Gg,aQg:()=>hf,c2e:()=>Uv,cJS:()=>Lt,cg1:()=>Rd,d8E:()=>Pd,dDg:()=>eb,dqk:()=>Vt,eBb:()=>By,eJc:()=>Yd,ekj:()=>Sd,eoX:()=>Yv,evT:()=>ap,f3M:()=>Ct,g9A:()=>Hh,gM2:()=>iv,gxx:()=>Tc,h0i:()=>Xi,hGG:()=>Ib,hij:()=>vu,iGM:()=>vv,iPO:()=>sb,ifc:()=>tr,jDz:()=>Hm,kL8:()=>cm,kcU:()=>Qu,lG2:()=>$r,lcZ:()=>rv,lqb:()=>li,lri:()=>Wv,mCW:()=>$l,n5z:()=>Xe,n_E:()=>Cu,oAB:()=>to,oJD:()=>Oh,oxw:()=>Dg,pB0:()=>Uy,q3G:()=>Wi,qLn:()=>Oi,qOj:()=>ld,qZA:()=>fu,qzn:()=>Es,rWj:()=>Kv,rg0:()=>Z,sBO:()=>hb,s_b:()=>bu,soG:()=>Su,tb:()=>sf,tp0:()=>Sl,uIk:()=>cd,vHH:()=>H,vpe:()=>ui,wAp:()=>$s,xi3:()=>ov,xp6:()=>Dp,ynx:()=>hu,z2F:()=>Ks,z3N:()=>Ei,zSh:()=>Pc,zs3:()=>Zo});var l=y(8748),N=y(902),I=y(8132),Y=y(5047),U=y(6424),W=y(1209),q=y(8557),pe=y(4787),de=y(8004);function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function X(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function L(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(L).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(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 K(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const $=Q({__forward_ref__:Q});function ne(e){return e.__forward_ref__=ne,e.toString=function(){return L(this())},e}function oe(e){return fe(e)?e():e}function fe(e){return"function"==typeof e&&e.hasOwnProperty($)&&e.__forward_ref__===ne}function we(e){return e&&!!e.\u0275providers}const Re="https://g.co/ng/security#xss";class H extends Error{constructor(t,n){super(function ge(e,t){const n="NG0".concat(Math.abs(e));return"".concat(n).concat(t?": "+t:"")}(t,n)),this.code=t}}function G(e){return"string"==typeof e?e:null==e?"":String(e)}function B(e,t){throw t&&" in ".concat(t),new H(-201,!1)}function it(e,t){null==e&&function Ge(e,t,n,r){throw new Error("ASSERTION ERROR: ".concat(e)+(null==r?"":" [Expected=> ".concat(n," ").concat(r," ").concat(t," <=Actual]")))}(t,e,null,"!=")}function et(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ze(e){return Ye(e,vt)||Ye(e,en)}function ut(e){return null!==ze(e)}function Ye(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kt(e){return e&&(e.hasOwnProperty(Ht)||e.hasOwnProperty(cn))?e[Ht]:null}const vt=Q({\u0275prov:Q}),Ht=Q({\u0275inj:Q}),en=Q({ngInjectableDef:Q}),cn=Q({ngInjectorDef:Q});var Dt=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}(Dt||{});let It;function nn(e){const t=It;return It=e,t}function Pn(e,t,n){const r=ze(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Dt.Optional?null:void 0!==t?t:void B(L(e),"Injector")}const Vt=globalThis;class yt{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=et({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}}const Zt={},on="__NG_DI_FLAG__",An="ngTempTokenPath",Se=/\n/gm,Me="__source";let J;function je(e){const t=J;return J=e,t}function tt(e,t=Dt.Default){if(void 0===J)throw new H(-203,!1);return null===J?Pn(e,void 0,t):J.get(e,t&Dt.Optional?null:void 0,t)}function ft(e,t=Dt.Default){return(function mt(){return It}()||tt)(oe(e),t)}function Ct(e,t=Dt.Default){return ft(e,Fn(t))}function Fn(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function er(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[P+1].toLowerCase();const se=8&r?z:null;if(se&&-1!==Jr(se,E,0)||2&r&&E!==z){if(_n(r))return!1;s=!0}}}}else{if(!s&&!_n(r)&&!_n(g))return!1;if(s&&_n(g))continue;s=!1,r=g|1&r}}return _n(r)||s}function _n(e){return 0==(1&e)}function eo(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+d+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!_n(s)&&(t+=go(i,o),o=""),r=s,i=i||!_n(r);n++}return""!==o&&(t+=go(i,o)),t}function Ti(e){return Tn(()=>{var t;const n=Uo(e),r={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||tr.Emulated,styles:e.styles||At,_:null,schemas:e.schemas||null,tView:null,id:""};mo(r);const o=e.dependencies;return r.directiveDefs=_r(o,!1),r.pipeDefs=_r(o,!0),r.id=function bo(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 o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(r),r})}function Si(e){return $t(e)||Sn(e)}function Mo(e){return null!==e}function to(e){return Tn(()=>({type:e.type,bootstrap:e.bootstrap||At,declarations:e.declarations||At,imports:e.imports||At,exports:e.exports||At,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wo(e,t){if(null==e)return $n;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function $r(e){return Tn(()=>{const t=Uo(e);return mo(t),t})}function jo(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 $t(e){return e[mr]||null}function Sn(e){return e[ho]||null}function fn(e){return e[Rr]||null}function ar(e){const t=$t(e)||Sn(e)||fn(e);return null!==t&&t.standalone}function Bn(e,t){const n=e[pi]||null;if(!n&&!0===t)throw new Error("Type ".concat(L(e)," does not have '\u0275mod' property."));return n}function Uo(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||$n,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||At,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wo(e.inputs,t),outputs:wo(e.outputs)}}function mo(e){var t;null===(t=e.features)||void 0===t||t.forEach(n=>n(e))}function _r(e,t){if(!e)return null;const n=t?fn:Si;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Mo)}const un=0,Ze=1,wt=2,tn=3,jn=4,xr=5,Mn=6,no=7,zt=8,lr=9,ur=10,Et=11,zr=12,ni=13,Sr=14,mn=15,vo=16,Gr=17,rr=18,Wr=19,Ho=20,Ir=21,hn=22,cr=23,To=24,jt=25,$o=1,ro=2,Un=7,oo=9,Hn=11;function Gn(e){return Array.isArray(e)&&"object"==typeof e[$o]}function R(e){return Array.isArray(e)&&!0===e[$o]}function h(e){return 0!=(4&e.flags)}function m(e){return e.componentOffset>-1}function b(e){return 1==(1&e.flags)}function A(e){return!!e.template}function V(e){return 0!=(512&e[wt])}function Xn(e,t){return e.hasOwnProperty(nr)?e[nr]:null}let Qe=null,ht=!1;function lt(e){const t=Qe;return Qe=e,t}const Gt={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Ar(e){if(!kr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Kn(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function yn(e){var t;e.dirty=!0,function Jn(e){if(void 0===e.liveConsumerNode)return;const t=ht;ht=!0;try{for(const n of e.liveConsumerNode)n.dirty||yn(n)}finally{ht=t}}(e),null===(t=e.consumerMarkedDirty)||void 0===t||t.call(e,e)}function zo(e){return e&&(e.nextProducerIndex=0),lt(e)}function _i(e,t){if(lt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(kr(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Kn(e){yi(e);for(let t=0;t0}function yi(e){var t,n,r;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(n=e.producerIndexOfThis)&&void 0!==n||(e.producerIndexOfThis=[]),null!==(r=e.producerLastReadVersion)&&void 0!==r||(e.producerLastReadVersion=[])}let ts=null;function Z(e){const t=lt(null);try{return e()}finally{lt(t)}}const Ke=()=>{},xt=(()=>({...Gt,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Ke}))();class Jt{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Rt(){return vn}function vn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Yn),pn}function pn(){const e=io(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===$n)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Yn(e,t,n,r){const o=this.declaredInputs[n],i=io(e)||function ri(e,t){return e[Kr]=t}(e,{previous:$n,current:null}),s=i.current||(i.current={}),d=i.previous,g=d[o];s[o]=new Jt(g&&g.currentValue,t,d===$n),e[r]=t}Rt.ngInherit=!0;const Kr="__ngSimpleChanges__";function io(e){return e[Kr]||null}const ir=function(e,t,n){},Go="svg";function Cn(e){for(;Array.isArray(e);)e=e[un];return e}function rs(e,t){return Cn(t[e])}function Pr(e,t){return Cn(t[e.index])}function el(e,t){return e.data[t]}function Ii(e,t){return e[t]}function Yr(e,t){const n=t[e];return Gn(n)?n:n[un]}function Ao(e,t){return null==t?null:e[t]}function Xs(e){e[Gr]=0}function ku(e){1024&e[wt]||(e[wt]|=1024,Oo(e,1))}function Js(e){1024&e[wt]&&(e[wt]&=-1025,Oo(e,-1))}function Oo(e,t){let n=e[tn];if(null===n)return;n[xr]+=t;let r=n;for(n=n[tn];null!==n&&(1===t&&1===r[xr]||-1===t&&0===r[xr]);)n[xr]+=t,r=n,n=n[tn]}const Ot={lFrame:ul(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function rl(){return Ot.bindingsEnabled}function ki(){return null!==Ot.skipHydrationRootTNode}function Be(){return Ot.lFrame.lView}function rn(){return Ot.lFrame.tView}function Uu(e){return Ot.lFrame.contextLView=e,e[zt]}function Hu(e){return Ot.lFrame.contextLView=null,e}function Dr(){let e=$u();for(;null!==e&&64===e.type;)e=e.parent;return e}function $u(){return Ot.lFrame.currentTNode}function Wo(e,t){const n=Ot.lFrame;n.currentTNode=e,n.isParent=t}function il(){return Ot.lFrame.isParent}function sl(){Ot.lFrame.isParent=!1}function Vr(){const e=Ot.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vi(){return Ot.lFrame.bindingIndex++}function is(e,t){const n=Ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,ea(t)}function ea(e){Ot.lFrame.currentDirectiveIndex=e}function ta(e){const t=Ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ll(){return Ot.lFrame.currentQueryIndex}function ss(e){Ot.lFrame.currentQueryIndex=e}function as(e){const t=e[Ze];return 2===t.type?t.declTNode:1===t.type?e[Mn]:null}function na(e,t,n){if(n&Dt.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&Dt.Host||(o=as(i),null===o||(i=i[Sr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Ot.lFrame=oa();return r.currentTNode=t,r.lView=e,!0}function ra(e){const t=oa(),n=e[Ze];Ot.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function oa(){const e=Ot.lFrame,t=null===e?null:e.child;return null===t?ul(e):t}function ul(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 cl(){const e=Ot.lFrame;return Ot.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const dl=cl;function ia(){const e=cl();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 Er(){return Ot.lFrame.selectedIndex}function Ko(e){Ot.lFrame.selectedIndex=e}function In(){const e=Ot.lFrame;return el(e.tView,e.selectedIndex)}function fl(){Ot.lFrame.currentNamespace=Go}function Qu(){!function Tf(){Ot.lFrame.currentNamespace=null}()}let pl=!0;function Bi(){return pl}function si(e){pl=e}function ls(e,t){for(let E=t.directiveStart,T=t.directiveEnd;E=r)break}else t[g]<0&&(e[Gr]+=65536),(d>13>16&&(3&e[wt])===t&&(e[wt]+=8192,Xu(d,i)):Xu(d,i)}const Hi=-1;class $i{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function la(e){return e!==Hi}function us(e){return 32767&e}function cs(e,t){let n=function qu(e){return e>>16}(e),r=t;for(;n>0;)r=r[Sr],n--;return r}let ml=!0;function ds(e){const t=ml;return ml=e,t}const vl=255,_l=5;let Ff=0;const Yo={};function fs(e,t){const n=tc(e,t);if(-1!==n)return n;const r=t[Ze];r.firstCreatePass&&(e.injectorIndex=t.length,yl(r.data,e),yl(t,null),yl(r.blueprint,null));const o=ua(e,t),i=e.injectorIndex;if(la(o)){const s=us(o),d=cs(o,t),g=d[Ze].data;for(let E=0;E<8;E++)t[i+E]=d[s+E]|g[s+E]}return t[i+8]=o,i}function yl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ua(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=fr(o),null===r)return Hi;if(n++,o=o[Sr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Hi}function Dl(e,t,n){!function ec(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Nr)&&(r=n[Nr]),null==r&&(r=n[Nr]=Ff++);const o=r&vl;t.data[e+(o>>_l)]|=1<=0?t&vl:be:t}(n);if("function"==typeof i){if(!na(t,e,r))return r&Dt.Host?ca(o,0,r):El(t,n,r,o);try{let s;if(s=i(r),null!=s||r&Dt.Optional)return s;B()}finally{dl()}}else if("number"==typeof i){let s=null,d=tc(e,t),g=Hi,E=r&Dt.Host?t[mn][Mn]:null;for((-1===d||r&Dt.SkipSelf)&&(g=-1===d?ua(e,t):t[d+8],g!==Hi&&S(r,!1)?(s=t[Ze],d=us(g),t=cs(g,t)):d=-1);-1!==d;){const T=t[Ze];if(_(i,d,T.data)){const P=a(d,t,n,s,r,E);if(P!==Yo)return P}g=t[d+8],g!==Hi&&S(r,t[Ze].data[d+8]===E)&&_(i,d,t)?(s=T,d=us(g),t=cs(g,t)):d=-1}}return o}function a(e,t,n,r,o,i){const s=t[Ze],d=s.data[e+8],T=u(d,s,n,null==r?m(d)&&ml:r!=s&&0!=(3&d.type),o&Dt.Host&&i===d);return null!==T?f(t,s,T,d):Yo}function u(e,t,n,r,o){const i=e.providerIndexes,s=t.data,d=1048575&i,g=e.directiveStart,T=i>>20,z=o?d+T:e.directiveEnd;for(let se=r?d:d+T;se=g&&Ae.type===n)return se}if(o){const se=s[g];if(se&&A(se)&&se.type===n)return g}return null}function f(e,t,n,r){let o=e[n];const i=t.data;if(function Af(e){return e instanceof $i}(o)){const s=o;s.resolving&&function ye(e,t){const n=t?". Dependency path: ".concat(t.join(" > ")," > ").concat(e):"";throw new H(-200,"Circular dependency in DI detected for ".concat(e).concat(n))}(function ce(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(i[n]));const d=ds(s.canSeeViewProviders);s.resolving=!0;const E=s.injectImpl?nn(s.injectImpl):null;na(e,r,Dt.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Sf(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){var s,d;const P=vn(t);(null!==(s=n.preOrderHooks)&&void 0!==s?s:n.preOrderHooks=[]).push(e,P),(null!==(d=n.preOrderCheckHooks)&&void 0!==d?d:n.preOrderCheckHooks=[]).push(e,P)}var g,E,T;o&&(null!==(g=n.preOrderHooks)&&void 0!==g?g:n.preOrderHooks=[]).push(0-e,o),i&&((null!==(E=n.preOrderHooks)&&void 0!==E?E:n.preOrderHooks=[]).push(e,i),(null!==(T=n.preOrderCheckHooks)&&void 0!==T?T:n.preOrderCheckHooks=[]).push(e,i))}(n,i[n],t)}finally{null!==E&&nn(E),ds(d),s.resolving=!1,dl()}}return o}function _(e,t,n){return!!(n[t+(e>>_l)]&1<{const t=e.prototype.constructor,n=t[nr]||dt(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[nr]||dt(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function dt(e){return fe(e)?()=>{const t=dt(oe(e));return t&&t()}:Xn(e)}function fr(e){const t=e[Ze],n=t.type;return 2===n?t.declTNode:1===n?e[Mn]:null}function sn(e){return function nc(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 o=0;for(;o{const r=function Di(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return d.annotation=s,d;function d(g,E,T){const P=g.hasOwnProperty(Zr)?g[Zr]:Object.defineProperty(g,Zr,{value:[]})[Zr];for(;P.length<=T;)P.push(null);return(P[T]=P[T]||[]).push(s),g}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ps(e,t){e.forEach(n=>Array.isArray(n)?ps(n,t):t(n))}function xf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ha(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function P_(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function rc(e,t){const n=gs(e,t);if(n>=0)return e[1|n]}function gs(e,t){return function Lf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<|^->||--!>|)/g,q_="\u200b$1\u200b";const lc=new Map;let ey=0;const cc="__ngContext__";function Br(e,t){Gn(t)?(e[cc]=t[Wr],function ny(e){lc.set(e[Wr],e)}(t)):e[cc]=t}let dc;function fc(e,t){return dc(e,t)}function ma(e){const t=e[tn];return R(t)?t[tn]:t}function rh(e){return ih(e[zr])}function oh(e){return ih(e[jn])}function ih(e){for(;null!==e&&!R(e);)e=e[jn];return e}function _s(e,t,n,r,o){if(null!=r){let i,s=!1;R(r)?i=r:Gn(r)&&(s=!0,r=r[un]);const d=Cn(r);0===e&&null!==n?null==o?uh(t,n,d):zi(t,n,d,o||null,!0):1===e&&null!==n?zi(t,n,d,o||null,!0):2===e?function jl(e,t,n){const r=Vl(e,t);r&&function Ey(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,d,s):3===e&&t.destroyNode(d),null!=i&&function wy(e,t,n,r,o){const i=n[Un];i!==Cn(n)&&_s(t,e,r,i,o);for(let d=Hn;dt.replace(J_,q_))}(t))}function Ll(e,t,n){return e.createElement(t,n)}function ah(e,t){const n=e[oo],r=n.indexOf(t);Js(t),n.splice(r,1)}function kl(e,t){if(e.length<=Hn)return;const n=Hn+t,r=e[n];if(r){const o=r[vo];null!==o&&o!==e&&ah(o,r),t>0&&(e[n-1][jn]=r[jn]);const i=wl(e,Hn+t);!function hy(e,t){_a(e,t,t[Et],2,null,null),t[un]=null,t[Mn]=null}(r[Ze],r);const s=i[rr];null!==s&&s.detachView(i[Ze]),r[tn]=null,r[jn]=null,r[wt]&=-129}return r}function pc(e,t){if(!(256&t[wt])){const n=t[Et];t[cr]&&_o(t[cr]),t[To]&&_o(t[To]),n.destroyNode&&_a(e,t,n,3,null,null),function my(e){let t=e[zr];if(!t)return gc(e[Ze],e);for(;t;){let n=null;if(Gn(t))n=t[zr];else{const r=t[Hn];r&&(n=r)}if(!n){for(;t&&!t[jn]&&t!==e;)Gn(t)&&gc(t[Ze],t),t=t[tn];null===t&&(t=e),Gn(t)&&gc(t[Ze],t),n=t&&t[jn]}t=n}}(t)}}function gc(e,t){if(!(256&t[wt])){t[wt]&=-129,t[wt]|=256,function Dy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[no]=null);const o=t[Ir];if(null!==o){t[Ir]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===tr.None||i===tr.Emulated)return null}return Pr(r,n)}}(e,t.parent,n)}function zi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function uh(e,t,n){e.appendChild(t,n)}function ch(e,t,n,r,o){null!==r?zi(e,t,n,r,o):uh(e,t,n)}function Vl(e,t){return e.parentNode(t)}function dh(e,t,n){return hh(e,t,n)}let vc,Ul,Ec,Hl,hh=function fh(e,t,n){return 40&e.type?Pr(e,n):null};function Bl(e,t,n,r){const o=mc(e,r,t),i=t[Et],d=dh(r.parent||t[Mn],r,t);if(null!=o)if(Array.isArray(n))for(let g=0;ge,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ul}())||void 0===t?void 0:t.createHTML(e))||e}function Oy(e){Ec=e}function Ds(){if(void 0!==Ec)return Ec;if(typeof document<"u")return document;throw new H(210,!1)}function Cc(){if(void 0===Hl&&(Hl=null,Vt.trustedTypes))try{Hl=Vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Hl}function Dh(e){var t;return(null===(t=Cc())||void 0===t?void 0:t.createHTML(e))||e}function Ch(e){var t;return(null===(t=Cc())||void 0===t?void 0:t.createScriptURL(e))||e}class Gi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(Re,")")}}class Py extends Gi{getTypeName(){return"HTML"}}class Ry extends Gi{getTypeName(){return"Style"}}class Ny extends Gi{getTypeName(){return"Script"}}class Fy extends Gi{getTypeName(){return"URL"}}class xy extends Gi{getTypeName(){return"ResourceURL"}}function Ei(e){return e instanceof Gi?e.changingThisBreaksApplicationSecurity:e}function Es(e,t){const n=function Ly(e){return e instanceof Gi&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see ").concat(Re,")"))}return n===t}function ky(e){return new Py(e)}function Vy(e){return new Ry(e)}function By(e){return new Ny(e)}function jy(e){return new Fy(e)}function Uy(e){return new xy(e)}class Hy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(ys(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class $y{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=ys(t),n}}const Gy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $l(e){return(e=String(e)).match(Gy)?e:"unsafe:"+e}function Ci(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ya(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const wh=Ci("area,br,col,hr,img,wbr"),bh=Ci("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Th=Ci("rp,rt"),Mc=ya(wh,ya(bh,Ci("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")),ya(Th,Ci("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")),ya(Th,bh)),wc=Ci("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Sh=ya(wc,Ci("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"),Ci("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")),Wy=Ci("script,style,template");class Ky{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;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)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Mc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Wy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();Mc.hasOwnProperty(n)&&!wh.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Ih(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return n}}const Yy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zy=/([^\#-~ |!])/g;function Ih(e){return e.replace(/&/g,"&").replace(Yy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Zy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let zl;function Ah(e,t){let n=null;try{zl=zl||function Mh(e){const t=new $y(e);return function zy(){try{return!!(new window.DOMParser).parseFromString(ys(""),"text/html")}catch{return!1}}()?new Hy(t):t}(e);let r=t?String(t):"";n=zl.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=zl.getInertBodyElement(r)}while(r!==i);return ys((new Ky).sanitizeChildren(bc(n)||n))}finally{if(n){const r=bc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function bc(e){return"content"in e&&function Qy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Wi=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}(Wi||{});function Oh(e){const t=Da();return t?Dh(t.sanitize(Wi.HTML,e)||""):Es(e,"HTML")?Dh(Ei(e)):Ah(Ds(),G(e))}function Ph(e){const t=Da();return t?t.sanitize(Wi.URL,e)||"":Es(e,"URL")?Ei(e):$l(G(e))}function Rh(e){const t=Da();if(t)return Ch(t.sanitize(Wi.RESOURCE_URL,e)||"");if(Es(e,"ResourceURL"))return Ch(Ei(e));throw new H(904,!1)}function Nh(e,t,n){return function tD(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Rh:Ph}(t,n)(e)}function Da(){const e=Be();return e&&e[ur].sanitizer}const Ea=new yt("ENVIRONMENT_INITIALIZER"),Tc=new yt("INJECTOR",-1),Fh=new yt("INJECTOR_DEF_TYPES");class Sc{get(t,n=Zt){if(n===Zt){const r=new Error("NullInjectorError: No provider for ".concat(L(t),"!"));throw r.name="NullInjectorError",r}return n}}function Ic(e){return{\u0275providers:e}}function xh(...e){return{\u0275providers:Lh(0,e),\u0275fromNgModule:!0}}function Lh(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return ps(t,s=>{const d=s;Gl(d,i,[],r)&&(o||(o=[]),o.push(d))}),void 0!==o&&kh(o,i),n}function kh(e,t){for(let n=0;n{t(i,r)})}}function Gl(e,t,n,r){if(!(e=oe(e)))return!1;let o=null,i=Kt(e);const s=!i&&$t(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const g=e.ngModule;if(i=Kt(g),!i)return!1;o=g}const d=r.has(o);if(s){if(d)return!1;if(r.add(o),s.dependencies){const g="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const E of g)Gl(E,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!d){let E;r.add(o);try{ps(i.imports,T=>{Gl(T,t,n,r)&&(E||(E=[]),E.push(T))})}finally{}void 0!==E&&kh(E,t)}if(!d){const E=Xn(o)||(()=>new o);t({provide:o,useFactory:E,deps:At},o),t({provide:Fh,useValue:o,multi:!0},o),t({provide:Ea,useValue:()=>ft(o),multi:!0},o)}const g=i.providers;if(null!=g&&!d){const E=e;Ac(g,T=>{t(T,E)})}}}return o!==e&&void 0!==e.providers}function Ac(e,t){for(let n of e)we(n)&&(n=n.\u0275providers),Array.isArray(n)?Ac(n,t):t(n)}const nD=Q({provide:String,useValue:Q});function Oc(e){return null!==e&&"object"==typeof e&&nD in e}function Ki(e){return"function"==typeof e}const Pc=new yt("Set Injector scope."),Wl={},oD={};let Rc;function Kl(){return void 0===Rc&&(Rc=new Sc),Rc}class li{}class Cs extends li{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fc(t,s=>this.processProvider(s)),this.records.set(Tc,Ms(void 0,this)),o.has("environment")&&this.records.set(li,Ms(void 0,this));const i=this.records.get(Pc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fh.multi,At,Dt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=je(this),r=nn(void 0);try{return t()}finally{je(n),nn(r)}}get(t,n=Zt,r=Dt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Lo))return t[Lo](this);r=Fn(r);const i=je(this),s=nn(void 0);try{if(!(r&Dt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const E=function uD(e){return"function"==typeof e||"object"==typeof e&&e instanceof yt}(t)&&ze(t);g=E&&this.injectableDefInScope(E)?Ms(Nc(t),Wl):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&Dt.Self?Kl():this.parent).get(t,n=r&Dt.Optional&&n===Zt?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[An]=d[An]||[]).unshift(L(t)),i)throw d;return function xo(e,t,n,r){const o=e[An];throw t[Me]&&o.unshift(t[Me]),e.message=function fo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=L(t);if(Array.isArray(t))o=t.map(L).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let d=t[s];i.push(s+":"+("string"==typeof d?JSON.stringify(d):L(d)))}o="{".concat(i.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(o,"]: ").concat(e.replace(Se,"\n "))}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[An]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{nn(s),je(i)}}resolveInjectorInitializers(){const t=je(this),n=nn(void 0);try{const o=this.get(Ea.multi,At,Dt.Self);for(const i of o)i()}finally{je(t),nn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(L(r));return"R3Injector[".concat(t.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new H(205,!1)}processProvider(t){let n=Ki(t=oe(t))?t:oe(t&&t.provide);const r=function sD(e){return Oc(e)?Ms(void 0,e.useValue):Ms(jh(e),Wl)}(t);if(Ki(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Ms(void 0,Wl,!0),o.factory=()=>er(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Wl&&(n.value=oD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function lD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=oe(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 Nc(e){const t=ze(e),n=null!==t?t.factory:Xn(e);if(null!==n)return n;if(e instanceof yt)throw new H(204,!1);if(e instanceof Function)return function iD(e){const t=e.length;if(t>0)throw ha(t,"?"),new H(204,!1);const n=function Nt(e){return e&&(e[vt]||e[en])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new H(204,!1)}function jh(e,t,n){let r;if(Ki(e)){const o=oe(e);return Xn(o)||Nc(o)}if(Oc(e))r=()=>oe(e.useValue);else if(function Bh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...er(e.deps||[]));else if(function Vh(e){return!(!e||!e.useExisting)}(e))r=()=>ft(oe(e.useExisting));else{const o=oe(e&&(e.useClass||e.provide));if(!function aD(e){return!!e.deps}(e))return Xn(o)||Nc(o);r=()=>new o(...er(e.deps))}return r}function Ms(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fc(e,t){for(const n of e)Array.isArray(n)?Fc(n,t):n&&we(n)?Fc(n.\u0275providers,t):t(n)}const Uh=new yt("AppId",{providedIn:"root",factory:()=>cD}),cD="ng",Hh=new yt("Platform Initializer"),xc=new yt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),dD=new yt("AnimationModuleType"),fD=new yt("CSP nonce",{providedIn:"root",factory:()=>{var e;return(null===(e=Ds().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let $h=(e,t,n)=>null;function jc(e,t,n=!1){return $h(e,t,n)}class CD{}class Wh{}class wD{resolveComponentFactory(t){throw function MD(e){const t=Error("No component factory found for ".concat(L(e),"."));return t.ngComponent=e,t}(t)}}let ba=(()=>{class t{}return t.NULL=new wD,t})();function bD(){return Ss(Dr(),Be())}function Ss(e,t){return new Ta(Pr(e,t))}let Ta=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=bD,t})();function TD(e){return e instanceof Ta?e.nativeElement:e}class Yh{}let SD=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function ID(){const e=Be(),n=Yr(Dr().index,e);return(Gn(n)?n:e)[Et]}(),t})(),AD=(()=>{var e;class t{}return(e=t).\u0275prov=et({token:e,providedIn:"root",factory:()=>null}),t})();class Zh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const OD=new Zh("16.2.12"),$c={};function qh(e,t=null,n=null,r){const o=ep(e,t,n,r);return o.resolveInjectorInitializers(),o}function ep(e,t=null,n=null,r,o=new Set){const i=[n||At,xh(e)];return r=r||("object"==typeof e?void 0:L(e)),new Cs(i,t||Kl(),r||null,o)}let Zo=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return qh({name:""},o,r,"");{var i;const s=null!==(i=r.name)&&void 0!==i?i:"";return qh({name:s},r.parent,r.providers,s)}}}return(e=t).THROW_IF_NOT_FOUND=Zt,e.NULL=new Sc,e.\u0275prov=et({token:e,providedIn:"any",factory:()=>ft(Tc)}),e.__NG_ELEMENT_ID__=-1,t})();function Gc(e){return e.ngOriginalError}class Oi{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&&Gc(t);for(;n&&Gc(n);)n=Gc(n);return n||null}}function Kc(e){return t=>{setTimeout(e,void 0,t)}}const ui=class kD extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){var d,g,E;const P=t;o=null===(d=P.next)||void 0===d?void 0:d.bind(P),i=null===(g=P.error)||void 0===g?void 0:g.bind(P),s=null===(E=P.complete)||void 0===E?void 0:E.bind(P)}this.__isAsync&&(i=Kc(i),o&&(o=Kc(o)),s&&(s=Kc(s)));const T=super.subscribe({next:o,error:i,complete:s});return t instanceof N.w0&&t.add(T),T}};function np(...e){}class Cr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ui(!1),this.onMicrotaskEmpty=new ui(!1),this.onStable=new ui(!1),this.onError=new ui(!1),typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function VD(){const e="function"==typeof Vt.requestAnimationFrame;let t=Vt[e?"requestAnimationFrame":"setTimeout"],n=Vt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function UD(e){const t=()=>{!function jD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Vt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Zc(e),e.isCheckStableRunning=!0,Yc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Zc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,d)=>{if(function $D(e){var t;return!(!Array.isArray(e)||1!==e.length)&&!0===(null===(t=e[0].data)||void 0===t?void 0:t.__ignore_ng_zone__)}(d))return n.invokeTask(o,i,s,d);try{return rp(e),n.invokeTask(o,i,s,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),op(e)}},onInvoke:(n,r,o,i,s,d,g)=>{try{return rp(e),n.invoke(o,i,s,d,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),op(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Zc(e),Yc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Cr.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(Cr.isInAngularZone())throw new H(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,BD,np,np);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const BD={};function Yc(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 Zc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function rp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function op(e){e._nesting--,Yc(e)}const ip=new yt("",{providedIn:"root",factory:sp});function sp(){const e=Ct(Cr);let t=!0;const n=new I.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),r=new I.y(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Cr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Cr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return(0,Y.T)(n,r.pipe((0,q.B)()))}function ap(e){return e.ownerDocument}function Mi(e){return e instanceof Function?e():e}let Qc=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){var r;null===(r=this.handler)||void 0===r||r.validateBegin(),this.renderDepth++}end(){var r;this.renderDepth--,0===this.renderDepth&&(null===(r=this.handler)||void 0===r||r.execute())}ngOnDestroy(){var r;null===(r=this.handler)||void 0===r||r.destroy(),this.handler=null}}return(e=t).\u0275prov=et({token:e,providedIn:"root",factory:()=>new e}),t})();function Sa(e){for(;e;){e[wt]|=64;const t=ma(e);if(V(e)&&!t)return e;e=t}return null}const fp=new yt("",{providedIn:"root",factory:()=>!1});let Ia=null;function mp(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:yp()}function vp(e,t){var n;const r=yp();null!==(n=r.producerNode)&&void 0!==n&&n.length&&(e[t]=Ia,r.lView=e,Ia=_p())}const JD={...Gt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Sa(e.lView)},lView:null};function _p(){return Object.create(JD)}function yp(){var e;return null!==(e=Ia)&&void 0!==e||(Ia=_p()),Ia}const Wt={};function Dp(e){Ep(rn(),Be(),Er()+e,!1)}function Ep(e,t,n,r){if(!r)if(3==(3&t[wt])){const i=e.preOrderCheckHooks;null!==i&&ji(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ui(t,i,0,n)}Ko(n)}function Os(e,t=Dt.Default){const n=Be();return null===n?ft(e,t):Cl(Dr(),n,oe(e),t)}function Cp(){throw new Error("invalid")}function tu(e,t,n,r,o,i,s,d,g,E,T){const P=t.blueprint.slice();return P[un]=o,P[wt]=140|r,(null!==E||e&&2048&e[wt])&&(P[wt]|=2048),Xs(P),P[tn]=P[Sr]=e,P[zt]=n,P[ur]=s||e&&e[ur],P[Et]=d||e&&e[Et],P[lr]=g||e&&e[lr]||null,P[Mn]=i,P[Wr]=function ty(){return ey++}(),P[hn]=T,P[Ho]=E,P[mn]=2==t.type?e[mn]:P,P}function Ps(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Xc(e,t,n,r,o){const i=$u(),s=il(),g=e.data[t]=function a0(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,d=0;return ki()&&(d|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=g),null!==i&&(s?null==i.child&&null!==g.parent&&(i.child=g):null===i.next&&(i.next=g,g.prev=i)),g}(e,t,n,r,o),function bf(){return Ot.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function os(){const e=Ot.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Wo(i,!0),i}function Aa(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;ijt&&Ep(e,t,jt,!1),ir(d?2:0,o);const E=d?i:null,T=zo(E);try{null!==E&&(E.dirty=!1),n(r,o)}finally{_i(E,T)}}finally{d&&null===t[cr]&&vp(t,cr),Ko(s),ir(d?3:1,o)}}function Jc(e,t,n){if(h(t)){const r=lt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Tp(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Sp(n,t,o,i):r.hasOwnProperty(o)&&Sp(n,t,r[o],i)}return n}function Sp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Do(e,t,n,r,o,i,s,d){const g=Pr(t,n);let T,E=t.inputs;!d&&null!=E&&(T=E[r])?(sd(e,n,T,r,o),m(t)&&function c0(e,t){const n=Yr(t,e);16&n[wt]||(n[wt]|=64)}(n,t.index)):3&t.type&&(r=function u0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(g,r,o))}function nd(e,t,n,r){if(rl()){const o=null===r?null:{"":-1},i=function m0(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=d&&s.push(d),s.push(n,r,i)}}(e,t,r,Aa(e,n,o.hostVars,Wt),o)}function ci(e,t,n,r,o,i){const s=Pr(e,t);!function od(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const d=null==s?G(i):s(i,r||"",o);e.setAttribute(t,o,d,n)}}(t[Et],s,i,e.value,n,r,o)}function C0(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let d=0;d{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,i){const s=typeof Zone>"u"?null:Zone.current,d=function Oe(e,t,n){const r=Object.create(xt);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>yn(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Kn(r))return;r.hasRun=!0;const s=zo(r);try{r.cleanupFn(),r.cleanupFn=Ke,r.fn(o)}finally{_i(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(r,T=>{this.all.has(T)&&this.queue.set(T,s)},i);let g;this.all.add(d),d.notify();const E=()=>{var T;d.cleanup(),null===(T=g)||void 0===T||T(),this.all.delete(d),this.queue.delete(d)};return g=null==o?void 0:o.onDestroy(E),{destroy:E}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=et({token:e,providedIn:"root",factory:()=>new e}),t})();function ru(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){jp(e,1);const o=n.components;null!==o&&Hp(e,o,1)}}function Hp(e,t,n){for(let r=0;r-1&&(kl(t,r),wl(n,r))}this._attachedToViewContainer=!1}pc(this._lView[Ze],this._lView)}onDestroy(t){!function tl(e,t){if(256==(256&e[wt]))throw new H(911,!1);null===e[Ir]&&(e[Ir]=[]),e[Ir].push(t)}(this._lView,t)}markForCheck(){Sa(this._cdRefInjectingView||this._lView)}detach(){this._lView[wt]&=-129}reattach(){this._lView[wt]|=128}detectChanges(){ou(this._lView[Ze],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new H(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function gy(e,t){_a(e,t,t[Et],2,null,null)}(this._lView[Ze],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new H(902,!1);this._appRef=t}}class P0 extends Pa{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ou(t[Ze],t,t[zt],!1)}checkNoChanges(){}get context(){return null}}class $p extends ba{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$t(t);return new Ra(n,this.ngModule)}}function zp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class N0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Fn(r);const o=this.injector.get(t,$c,r);return o!==$c||n===$c?o:this.parentInjector.get(t,n,r)}}class Ra extends Wh{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=zp(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return zp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function sr(e){return e.map(Fi).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){var i;let s=(o=o||this.ngModule)instanceof li?o:null===(i=o)||void 0===i?void 0:i.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const d=s?new N0(t,s):t,g=d.get(Yh,null);if(null===g)throw new H(407,!1);const z={rendererFactory:g,sanitizer:d.get(AD,null),effectManager:d.get(kp,null),afterRenderEventManager:d.get(Qc,null)},se=g.createRenderer(null,this.componentDef),Ae=this.componentDef.selectors[0][0]||"div",He=r?function t0(e,t,n,r){const i=r.get(fp,!1)||n===tr.ShadowDom,s=e.selectRootElement(t,i);return function n0(e){bp(e)}(s),s}(se,r,this.componentDef.encapsulation,d):Ll(se,Ae,function R0(e){const t=e.toLowerCase();return"svg"===t?Go:"math"===t?"math":null}(Ae)),xe=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Pt=null;null!==He&&(Pt=jc(He,d,!0));const qt=td(0,null,null,1,0,null,null,null,null,null,null),an=tu(null,qt,null,xe,null,null,z,se,d,null,Pt);let Fo,Ya;ra(an);try{const Ni=this.componentDef;let Ys,gf=null;Ni.findHostDirectiveDefs?(Ys=[],gf=new Map,Ni.findHostDirectiveDefs(Ni,Ys,gf),Ys.push(Ni)):Ys=[Ni];const Ub=function x0(e,t){const n=e[Ze],r=jt;return e[r]=t,Ps(n,r,2,"#host",null)}(an,He),Hb=function L0(e,t,n,r,o,i,s){const d=o[Ze];!function k0(e,t,n,r){for(const o of e)t.mergedAttrs=Tr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ru(t,t.mergedAttrs,!0),null!==n&&yh(r,n,t))}(r,e,t,s);let g=null;null!==t&&(g=jc(t,o[lr]));const E=i.rendererFactory.createRenderer(t,n);let T=16;n.signals?T=4096:n.onPush&&(T=64);const P=tu(o,wp(n),null,T,o[e.index],e,i,E,null,null,g);return d.firstCreatePass&&rd(d,e,r.length-1),nu(o,P),o[e.index]=P}(Ub,He,Ni,Ys,an,z,se);Ya=el(qt,jt),He&&function B0(e,t,n,r){if(r)po(e,n,["ng-version",OD.full]);else{const{attrs:o,classes:i}=function bi(e){const t=[],n=[];let r=1,o=2;for(;r0&&_h(e,n,i.join(" "))}}(se,Ni,He,r),void 0!==n&&function j0(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Tr(o.hostAttrs,n=Tr(n,o.hostAttrs))}}(r)}function iu(e){return e===$n?{}:e===At?[]:e}function $0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function z0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function G0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Zp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function su(e){return!!ud(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ud(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function di(e,t,n){return e[t]=n}function jr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Yi(e,t,n,r){const o=jr(e,t,n);return jr(e,t+1,r)||o}function cd(e,t,n,r){const o=Be();return jr(o,Vi(),t)&&(rn(),ci(In(),o,e,t,n,r)),cd}function lg(e,t,n,r,o,i,s,d){const g=Be(),E=rn(),T=e+jt,P=E.firstCreatePass?function mE(e,t,n,r,o,i,s,d,g){const E=t.consts,T=Ps(t,e,4,s||null,Ao(E,d));nd(t,n,T,Ao(E,g)),ls(t,T);const P=T.tView=td(2,T,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E,null);return null!==t.queries&&(t.queries.template(t,T),P.queries=t.queries.embeddedTView(T)),T}(T,E,g,t,n,r,o,i,s):E.data[T];Wo(P,!1);const z=ug(E,g,P,e);Bi()&&Bl(E,g,z,P),Br(z,g),nu(g,g[T]=Pp(z,g,z,P)),b(P)&&qc(E,g,P),null!=s&&ed(g,P,d)}"^(\\d+)*(".concat("b","|").concat("h",")*(.*)");let ug=function cg(e,t,n,r){return si(!0),t[Et].createComment("")};function dg(e){return Ii(function wf(){return Ot.lFrame.contextLView}(),jt+e)}function md(e,t,n){const r=Be();return jr(r,Vi(),t)&&Do(rn(),In(),r,e,t,r[Et],n,!1),md}function vd(e,t,n,r,o){const s=o?"class":"style";sd(e,n,t.inputs[s],s,r)}function du(e,t,n,r){const o=Be(),i=rn(),s=jt+e,d=o[Et],g=i.firstCreatePass?function DE(e,t,n,r,o,i){const s=t.consts,g=Ps(t,e,2,r,Ao(s,o));return nd(t,n,g,Ao(s,i)),null!==g.attrs&&ru(g,g.attrs,!1),null!==g.mergedAttrs&&ru(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(s,i,o,t,n,r):i.data[s],E=fg(i,o,g,d,t,e);o[s]=E;const T=b(g);return Wo(g,!0),yh(d,E,g),32!=(32&g.flags)&&Bi()&&Bl(i,o,E,g),0===function nl(){return Ot.lFrame.elementDepthCount}()&&Br(E,o),function qs(){Ot.lFrame.elementDepthCount++}(),T&&(qc(i,o,g),Jc(i,g,o)),null!==r&&ed(o,g),du}function fu(){let e=Dr();il()?sl():(e=e.parent,Wo(e,!1));const t=e;(function ol(e){return Ot.skipHydrationRootTNode===e})(t)&&function Mf(){Ot.skipHydrationRootTNode=null}(),function ju(){Ot.lFrame.elementDepthCount--}();const n=rn();return n.firstCreatePass&&(ls(n,e),h(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ju(e){return 0!=(8&e.flags)}(t)&&vd(n,t,Be(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Pf(e){return 0!=(16&e.flags)}(t)&&vd(n,t,Be(),t.stylesWithoutHost,!1),fu}function _d(e,t,n,r){return du(e,t,n,r),fu(),_d}let fg=(e,t,n,r,o,i)=>(si(!0),Ll(r,o,function hl(){return Ot.lFrame.currentNamespace}()));function hu(e,t,n){const r=Be(),o=rn(),i=e+jt,s=o.firstCreatePass?function ME(e,t,n,r,o){const i=t.consts,s=Ao(i,r),d=Ps(t,e,8,"ng-container",s);return null!==s&&ru(d,s,!0),nd(t,n,d,Ao(i,o)),null!==t.queries&&t.queries.elementStart(t,d),d}(i,o,r,t,n):o.data[i];Wo(s,!0);const d=hg(o,r,s,e);return r[i]=d,Bi()&&Bl(o,r,d,s),Br(d,r),b(s)&&(qc(o,r,s),Jc(o,s,r)),null!=n&&ed(r,s),hu}function pu(){let e=Dr();const t=rn();return il()?sl():(e=e.parent,Wo(e,!1)),t.firstCreatePass&&(ls(t,e),h(e)&&t.queries.elementEnd(e)),pu}function yd(e,t,n){return hu(e,t,n),pu(),yd}let hg=(e,t,n,r)=>(si(!0),hc(t[Et],""));function pg(){return Be()}function Dd(e){return!!e&&"function"==typeof e.then}function gg(e){return!!e&&"function"==typeof e.subscribe}function Ed(e,t,n,r){const o=Be(),i=rn(),s=Dr();return function vg(e,t,n,r,o,i,s){const d=b(r),E=e.firstCreatePass&&Fp(e),T=t[zt],P=Np(t);let z=!0;if(3&r.type||s){const He=Pr(r,t),Je=s?s(He):He,pt=P.length,xe=s?qt=>s(Cn(qt[r.index])):r.index;let Pt=null;if(!s&&d&&(Pt=function TE(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ig?d[g]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==Pt)(Pt.__ngLastListenerFn__||Pt).__ngNextListenerFn__=i,Pt.__ngLastListenerFn__=i,z=!1;else{i=yg(r,t,T,i,!1);const qt=n.listen(Je,o,i);P.push(i,qt),E&&E.push(o,xe,pt,pt+1)}}else i=yg(r,t,T,i,!1);const se=r.outputs;let Ae;if(z&&null!==se&&(Ae=se[o])){const He=Ae.length;if(He)for(let Je=0;Je-1?Yr(e.index,t):t);let g=_g(t,n,r,s),E=i.__ngNextListenerFn__;for(;E;)g=_g(t,n,E,s)&&g,E=E.__ngNextListenerFn__;return o&&!1===g&&s.preventDefault(),g}}function Dg(e=1){return function Ku(e){return(Ot.lFrame.contextLView=function Yu(e,t){for(;e>0;)t=t[Sr],e--;return t}(e,Ot.lFrame.contextLView))[zt]}(e)}function SE(e,t){let n=null;const r=function ko(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 o=0;o>17&32767}function Md(e){return 2|e}function Zi(e){return(131068&e)>>2}function wd(e,t){return-131069&e|t<<2}function bd(e){return 1|e}function Rg(e,t,n,r,o){const i=e[n+1],s=null===t;let d=r?Pi(i):Zi(i),g=!1;for(;0!==d&&(!1===g||s);){const T=e[d+1];NE(e[d],t)&&(g=!0,e[d+1]=r?bd(T):Md(T)),d=r?Pi(T):Zi(T)}g&&(e[n+1]=r?Md(i):bd(i))}function NE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&gs(e,t)>=0}function Td(e,t,n){return Qo(e,t,n,!1),Td}function Sd(e,t){return Qo(e,t,null,!0),Sd}function Qo(e,t,n,r){const o=Be(),i=rn(),s=function ii(e){const t=Ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function jg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Er()],s=function Bg(e,t){return t>=e.expandoStartIndex}(e,n);(function zg(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function HE(e,t,n,r){const o=ta(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ka(n=Id(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Id(o,e,t,n,r),null===i){let g=function $E(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Zi(r))return e[Pi(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Id(null,e,t,g[1],r),g=ka(g,t.attrs,r),function zE(e,t,n,r){e[Pi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else i=function GE(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(E=!0)):T=n,o)if(0!==g){const z=Pi(e[d+1]);e[r+1]=gu(z,d),0!==z&&(e[z+1]=wd(e[z+1],r)),e[d+1]=function AE(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=gu(d,0),0!==d&&(e[d+1]=wd(e[d+1],r)),d=r;else e[r+1]=gu(g,0),0===d?d=r:e[g+1]=wd(e[g+1],r),g=r;E&&(e[r+1]=Md(e[r+1])),Rg(e,T,r,!0),Rg(e,T,r,!1),function RE(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&gs(i,t)>=0&&(n[r+1]=bd(n[r+1]))}(t,T,e,r,i),s=gu(d,g),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==Wt&&jr(o,s,t)&&function Hg(e,t,n,r,o,i,s,d){if(!(3&t.type))return;const g=e.data,E=g[d+1],T=function OE(e){return 1==(1&e)}(E)?$g(g,t,n,o,Zi(E),s):void 0;mu(T)||(mu(i)||function IE(e){return 2==(2&e)}(E)&&(i=$g(g,null,n,o,d,s)),function by(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Fl.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Fl.Important),e.setStyle(n,r,o,i))}}(r,s,rs(Er(),n),o,i))}(i,i.data[Er()],o,o[Et],e,o[s+1]=function ZE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=L(Ei(e)))),e}(t,n),r,s)}function Id(e,t,n,r,o){let i=null;const s=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d0;){const g=e[o],E=Array.isArray(g),T=E?g[1]:g,P=null===T;let z=n[o+1];z===Wt&&(z=P?At:void 0);let se=P?rc(z,r):T===r?z:void 0;if(E&&!mu(se)&&(se=rc(g,r)),mu(se)&&(d=se,s))return d;const Ae=e[o+1];o=s?Pi(Ae):Zi(Ae)}if(null!==t){let g=i?t.residualClasses:t.residualStyles;null!=g&&(d=rc(g,r))}return d}function mu(e){return void 0!==e}function Gg(e,t=""){const n=Be(),r=rn(),o=e+jt,i=r.firstCreatePass?Ps(r,o,1,t,null):r.data[o],s=Wg(r,n,i,t,e);n[o]=s,Bi()&&Bl(r,n,s,i),Wo(i,!1)}let Wg=(e,t,n,r,o)=>(si(!0),function xl(e,t){return e.createText(t)}(t[Et],r));function Ad(e){return vu("",e,""),Ad}function vu(e,t,n){const r=Be(),o=function Ns(e,t,n,r){return jr(e,Vi(),n)?t+G(n)+r:Wt}(r,e,t,n);return o!==Wt&&function wi(e,t,n){const r=rs(t,e);!function sh(e,t,n){e.setValue(t,n)}(e[Et],r,n)}(r,Er(),o),vu}function Od(e,t,n){const r=Be();return jr(r,Vi(),t)&&Do(rn(),In(),r,e,t,r[Et],n,!0),Od}function Pd(e,t,n){const r=Be();if(jr(r,Vi(),t)){const i=rn(),s=In();Do(i,s,r,e,t,xp(ta(i.data),s,r),n,!0)}return Pd}const Qi=void 0;var vC=["en",[["a","p"],["AM","PM"],Qi],[["AM","PM"],Qi,Qi],[["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"]],Qi,[["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"]],Qi,[["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}",Qi,"{1} 'at' {0}",Qi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Hs={};function Rd(e){const t=function _C(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=dm(t);if(n)return n;const r=t.split("-")[0];if(n=dm(r),n)return n;if("en"===r)return vC;throw new H(701,!1)}function cm(e){return Rd(e)[$s.PluralCase]}function dm(e){return e in Hs||(Hs[e]=Vt.ng&&Vt.ng.common&&Vt.ng.common.locales&&Vt.ng.common.locales[e]),Hs[e]}var $s=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}($s||{});const zs="en-US";let fm=zs;function xd(e,t,n,r,o){if(e=oe(e),Array.isArray(e))for(let i=0;i>20;if(Ki(e)||!e.multi){const se=new $i(E,o,Os),Ae=kd(g,t,o?T:T+z,P);-1===Ae?(Dl(fs(d,s),i,g),Ld(i,e,t.length),t.push(g),d.directiveStart++,d.directiveEnd++,o&&(d.providerIndexes+=1048576),n.push(se),s.push(se)):(n[Ae]=se,s[Ae]=se)}else{const se=kd(g,t,T+z,P),Ae=kd(g,t,T,T+z),Je=Ae>=0&&n[Ae];if(o&&!Je||!o&&!(se>=0&&n[se])){Dl(fs(d,s),i,g);const pt=function mM(e,t,n,r,o){const i=new $i(e,n,Os);return i.multi=[],i.index=t,i.componentProviders=0,km(i,o,r&&!n),i}(o?gM:pM,n.length,o,r,E);!o&&Je&&(n[Ae].providerFactory=pt),Ld(i,e,t.length,0),t.push(g),d.directiveStart++,d.directiveEnd++,o&&(d.providerIndexes+=1048576),n.push(pt),s.push(pt)}else Ld(i,e,se>-1?se:Ae,km(n[o?Ae:se],E,!o&&r));!o&&r&&Je&&n[Ae].componentProviders++}}}function Ld(e,t,n,r){const o=Ki(t),i=function rD(e){return!!e.useClass}(t);if(o||i){const g=(i?oe(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const T=E.indexOf(n);-1===T?E.push(n,[r,g]):E[T+1].push(r,g)}else E.push(n,g)}}}function km(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function kd(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function hM(e,t,n){const r=rn();if(r.firstCreatePass){const o=A(e);xd(n,r.data,r.blueprint,o,!0),xd(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Xi{}class Bm{}function vM(e,t){return new Bd(e,null!=t?t:null,[])}class Bd extends Xi{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new $p(this);const o=Bn(t);this._bootstrapComponents=Mi(o.bootstrap),this._r3Injector=ep(t,n,[{provide:Xi,useValue:this},{provide:ba,useValue:this.componentFactoryResolver},...r],L(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 jd extends Bm{constructor(t){super(),this.moduleType=t}create(t){return new Bd(this.moduleType,t,[])}}class jm extends Xi{constructor(t){super(),this.componentFactoryResolver=new $p(this),this.instance=null;const n=new Cs([...t.providers,{provide:Xi,useValue:this},{provide:ba,useValue:this.componentFactoryResolver}],t.parent||Kl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Um(e,t,n=null){return new jm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let yM=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const o=Lh(0,r.type),i=o.length>0?Um([o],this._injector,"Standalone[".concat(r.type.name,"]")):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=et({token:e,providedIn:"environment",factory:()=>new e(ft(li))}),t})();function Hm(e){e.getStandaloneInjector=t=>t.get(yM).getOrCreateStandaloneInjector(e)}function Zm(e,t,n,r){return Xm(Be(),Vr(),e,t,n,r)}function Qm(e,t,n,r,o){return Jm(Be(),Vr(),e,t,n,r,o)}function $a(e,t){const n=e[t];return n===Wt?void 0:n}function Xm(e,t,n,r,o,i){const s=t+n;return jr(e,s,o)?di(e,s+1,i?r.call(i,o):r(o)):$a(e,s+1)}function Jm(e,t,n,r,o,i,s){const d=t+n;return Yi(e,d,o,i)?di(e,d+2,s?r.call(s,o,i):r(o,i)):$a(e,d+2)}function ev(e,t,n,r,o,i,s,d,g){const E=t+n;return function No(e,t,n,r,o,i){const s=Yi(e,t,n,r);return Yi(e,t+2,o,i)||s}(e,E,o,i,s,d)?di(e,E+4,g?r.call(g,o,i,s,d):r(o,i,s,d)):$a(e,E+4)}function nv(e,t){const n=rn();let r;const o=e+jt;var i;n.firstCreatePass?(r=function LM(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[o]=r,r.onDestroy&&(null!==(i=n.destroyHooks)&&void 0!==i?i:n.destroyHooks=[]).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=Xn(r.type)),g=nn(Os);try{const E=ds(!1),T=s();return ds(E),function yE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Be(),o,T),T}finally{nn(g)}}function rv(e,t,n){const r=e+jt,o=Be(),i=Ii(o,r);return za(o,r)?Xm(o,Vr(),t,i.transform,n,i):i.transform(n)}function ov(e,t,n,r){const o=e+jt,i=Be(),s=Ii(i,o);return za(i,o)?Jm(i,Vr(),t,s.transform,n,r,s):s.transform(n,r)}function iv(e,t,n,r,o,i){const s=e+jt,d=Be(),g=Ii(d,s);return za(d,s)?ev(d,Vr(),t,g.transform,n,r,o,i,g):g.transform(n,r,o,i)}function za(e,t){return e[Ze].data[t].pure}function BM(){return this._results[Symbol.iterator]()}class Cu{get changes(){return this._changes||(this._changes=new ui)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Cu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=BM)}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){const r=this;r.dirty=!1;const o=function Ro(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function A_(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[o-1][jn]=t),r{class t{}return t.__NG_ELEMENT_ID__=zM,t})();const HM=Ga,$M=class extends HM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function jM(e,t,n,r){var o,i;const s=t.tView,E=tu(e,s,n,4096&e[wt]?4096:16,null,t,null,null,null,null!==(o=null==r?void 0:r.injector)&&void 0!==o?o:null,null!==(i=null==r?void 0:r.hydrationInfo)&&void 0!==i?i:null);E[vo]=e[t.index];const P=e[rr];return null!==P&&(E[rr]=P.createEmbeddedView(s)),ad(s,E,n),E}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Pa(o)}};function zM(){return Mu(Dr(),Be())}function Mu(e,t){return 4&e.type?new $M(t,e,Ss(e,t)):null}let bu=(()=>{class t{}return t.__NG_ELEMENT_ID__=QM,t})();function QM(){return fv(Dr(),Be())}const XM=bu,cv=class extends XM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ss(this._hostTNode,this._hostLView)}get injector(){return new Pe(this._hostTNode,this._hostLView)}get parentInjector(){const t=ua(this._hostTNode,this._hostLView);if(la(t)){const n=cs(t,this._hostLView),r=us(t);return new Pe(n[Ze].data[r+8],n)}return new Pe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Hn}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const d=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(d,o,false),d}createComponent(t,n,r,o,i){var s,g;const E=t&&!function fa(e){return"function"==typeof e}(t);let T;if(E)T=n;else{const xe=n||{};T=xe.index,r=xe.injector,o=xe.projectableNodes,i=xe.environmentInjector||xe.ngModuleRef}const P=E?t:new Ra($t(t)),z=r||this.parentInjector;if(!i&&null==P.ngModule){const Pt=(E?z:this.parentInjector).get(li,null);Pt&&(i=Pt)}const se=$t(null!==(s=P.componentType)&&void 0!==s?s:{}),Ae=(null==se?void 0:se.id,null),He=null!==(g=null==Ae?void 0:Ae.firstChild)&&void 0!==g?g:null,Je=P.create(z,o,He,i),pt=!!Ae&&!Rl(this._hostTNode);return this.insertImpl(Je.hostView,T,pt),Je}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function Lu(e){return R(e[tn])}(o)){const g=this.indexOf(t);if(-1!==g)this.detach(g);else{const E=o[tn],T=new cv(E,E[Mn],E[tn]);T.detach(T.indexOf(t))}}const s=this._adjustIndex(n),d=this._lContainer;return UM(d,o,s,!r),t.attachToViewContainerRef(),xf(Hd(d),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=dv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=kl(this._lContainer,n);r&&(wl(Hd(this._lContainer),n),pc(r[Ze],r))}detach(t){const n=this._adjustIndex(t,-1),r=kl(this._lContainer,n);return r&&null!=wl(Hd(this._lContainer),n)?new Pa(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function dv(e){return e[8]}function Hd(e){return e[8]||(e[8]=[])}function fv(e,t){let n;const r=t[e.index];return R(r)?n=r:(n=Pp(r,t,null,e),t[e.index]=n,nu(t,n)),hv(n,t,e,r),new cv(n,e,t)}let hv=function pv(e,t,n,r){if(e[Un])return;let o;o=8&n.type?Cn(r):function JM(e,t){const n=e[Et],r=n.createComment(""),o=Pr(t,e);return zi(n,Vl(n,o),r,function Cy(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Un]=o};class $d{constructor(t){this.queryList=t,this.matches=null}clone(){return new $d(this.queryList)}setDirty(){this.queryList.setDirty()}}class zd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[d/2]);else{const E=i[d+1],T=t[-g];for(let P=Hn;P{var e;class t{constructor(){var r;this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,i)=>{this.resolve=o,this.reject=i}),this.appInits=null!==(r=Ct(Sw,{optional:!0}))&&void 0!==r?r:[]}runInitializers(){if(this.initialized)return;const r=[];for(const i of this.appInits){const s=i();if(Dd(s))r.push(s);else if(gg(s)){const d=new Promise((g,E)=>{s.subscribe({complete:g,error:E})});r.push(d)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Uv=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Su=new yt("LocaleId",{providedIn:"root",factory:()=>Ct(Su,Dt.Optional|Dt.SkipSelf)||function Iw(){return typeof $localize<"u"&&$localize.locale||zs}()}),Aw=new yt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Hv=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new U.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Pw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Rw=(()=>{var e;class t{compileModuleSync(r){return new jd(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const o=this.compileModuleSync(r),s=Mi(Bn(r).declarations).reduce((d,g)=>{const E=$t(g);return E&&d.push(new Ra(E)),d},[]);return new Pw(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Wv=new yt(""),Kv=new yt("");let nf,eb=(()=>{var e;class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,nf||(function tb(e){nf=e}(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Cr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,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(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(ft(Cr),ft(Yv),ft(Kv))},e.\u0275prov=et({token:e,factory:e.\u0275fac}),t})(),Yv=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){var i,s;return null!==(i=null===(s=nf)||void 0===s?void 0:s.findTestabilityInTree(this,r,o))&&void 0!==i?i:null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Ri=null;const rf=new yt("PlatformDestroyListeners"),sf=new yt("appBootstrapListener");function sb(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,o=function ib(e=[]){if(Ri)return Ri;const t=function Jv(e=[],t){return Zo.create({name:t,providers:[{provide:Pc,useValue:"platform"},{provide:rf,useValue:new Set([()=>Ri=null])},...e]})}(e);return Ri=t,function Qv(){!function Xa(e){ts=e}(()=>{throw new H(600,!1)})}(),function Xv(e){const t=e.get(Hh,null);null==t||t.forEach(n=>n())}(t),t}(r),i=[db(),...n||[]],d=new jm({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,g=d.get(Cr);return g.run(()=>{d.resolveInjectorInitializers();const E=d.get(Oi,null);let T;g.runOutsideAngular(()=>{T=g.onError.subscribe({next:se=>{E.handleError(se)}})});const P=()=>d.destroy(),z=o.get(rf);return z.add(P),d.onDestroy(()=>{T.unsubscribe(),z.delete(P)}),function t_(e,t,n){try{const r=n();return Dd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(E,g,()=>{const se=d.get(qd);return se.runInitializers(),se.donePromise.then(()=>{!function hm(e){it(e,"Expected localeId to be defined"),"string"==typeof e&&(fm=e.toLowerCase().replace(/_/g,"-"))}(d.get(Su,zs)||zs);const He=d.get(Ks);return void 0!==t&&He.bootstrap(t),He})})})}catch(t){return Promise.reject(t)}}let Ks=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ct(o_),this.zoneIsStable=Ct(ip),this.componentTypes=[],this.components=[],this.isStable=Ct(Hv).hasPendingTasks.pipe((0,pe.w)(r=>r?(0,W.of)(!1):this.zoneIsStable),(0,de.x)(),(0,q.B)()),this._injector=Ct(li)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const i=r instanceof Wh;if(!this._injector.get(qd).done)throw!i&&ar(r),new H(405,!1);let d;d=i?r:this._injector.get(ba).resolveComponentFactory(r),this.componentTypes.push(d.componentType);const g=function rb(e){return e.isBoundToModule}(d)?void 0:this._injector.get(Xi),T=d.create(Zo.NULL,[],o||d.selector,g),P=T.location.nativeElement,z=T.injector.get(Wv,null);return null==z||z.registerApplication(P),T.onDestroy(()=>{this.detachView(T.hostView),Au(this.components,T),null==z||z.unregisterApplication(P)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new H(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;Au(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(sf,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Au(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new H(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Au(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const o_=new yt("",{providedIn:"root",factory:()=>Ct(Oi).handleError.bind(void 0)});function ub(){const e=Ct(Cr),t=Ct(Oi);return n=>e.runOutsideAngular(()=>t.handleError(n))}let cb=(()=>{var e;class t{constructor(){this.zone=Ct(Cr),this.applicationRef=Ct(Ks)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var r;null===(r=this._onMicrotaskEmptySubscription)||void 0===r||r.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function i_(e){return[{provide:Cr,useFactory:e},{provide:Ea,multi:!0,useFactory:()=>{const t=Ct(cb,{optional:!0});return()=>t.initialize()}},{provide:o_,useFactory:ub},{provide:ip,useFactory:sp}]}function db(e){return Ic([[],i_(()=>new Cr(function e_(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(n=null==e?void 0:e.runCoalescing)&&void 0!==n&&n}}(e)))])}function fb(){return!1}let hb=(()=>{class t{}return t.__NG_ELEMENT_ID__=pb,t})();function pb(e){return function gb(e,t,n){if(m(e)&&!n){const r=Yr(e.index,t);return new Pa(r,r)}return 47&e.type?new Pa(t[mn],t):null}(Dr(),Be(),16==(16&e))}class u_{constructor(){}supports(t){return su(t)}create(t){return new Eb(t)}}const Db=(e,t)=>t;class Eb{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||Db}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,d),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,d,s,o)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,s,o),r=!0),n=n._next,o++}),this.length=o;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,o){let i;return null===t?i=this._itTail:(i=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,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Cb(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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 o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,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 o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new c_),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 c_),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 Cb{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 Mb{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 c_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Mb,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 d_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),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 o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new bb(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 bb{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 h_(){return new ff([new u_])}let ff=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||h_()),deps:[[t,new Sl,new Tl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(null!=o)return o;throw new H(901,!1)}}return(e=t).\u0275prov=et({token:e,providedIn:"root",factory:h_}),t})();function p_(){return new hf([new f_])}let hf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||p_()),deps:[[t,new Sl,new Tl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(o)return o;throw new H(901,!1)}}return(e=t).\u0275prov=et({token:e,providedIn:"root",factory:p_}),t})(),Ib=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(ft(Ks))},e.\u0275mod=to({type:e}),e.\u0275inj=Lt({}),t})();function Bb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},2133:(We,le,y)=>{y.d(le,{Fj:()=>H,u5:()=>St,JU:()=>ne,a5:()=>Ht,JJ:()=>It,On:()=>Bo,eT:()=>mo,Q7:()=>Un});var l=y(755),N=y(6733),I=y(3489),Y=y(8132),U=y(6632),W=y(6974),q=y(8197),pe=y(134),de=y(5993),Q=y(2713),L=y(2425);let K=(()=>{var M;class v{constructor(C,k){this._renderer=C,this._elementRef=k,this.onChange=ke=>{},this.onTouched=()=>{}}setProperty(C,k){this._renderer.setProperty(this._elementRef.nativeElement,C,k)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}}return(M=v).\u0275fac=function(C){return new(C||M)(l.Y36(l.Qsj),l.Y36(l.SBq))},M.\u0275dir=l.lG2({type:M}),v})(),$=(()=>{var M;class v extends K{}return(M=v).\u0275fac=function(){let O;return function(k){return(O||(O=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,features:[l.qOj]}),v})();const ne=new l.OlP("NgValueAccessor"),we={provide:ne,useExisting:(0,l.Gpc)(()=>H),multi:!0},Re=new l.OlP("CompositionEventMode");let H=(()=>{var M;class v extends K{constructor(C,k,ke){super(C,k),this._compositionMode=ke,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Le(){const M=(0,N.q)()?(0,N.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(C){this.setProperty("value",null==C?"":C)}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}}return(M=v).\u0275fac=function(C){return new(C||M)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(Re,8))},M.\u0275dir=l.lG2({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(C,k){1&C&&l.NdJ("input",function(at){return k._handleInput(at.target.value)})("blur",function(){return k.onTouched()})("compositionstart",function(){return k._compositionStart()})("compositionend",function(at){return k._compositionEnd(at.target.value)})},features:[l._Bn([we]),l.qOj]}),v})();const ce=new l.OlP("NgValidators"),ye=new l.OlP("NgAsyncValidators");function $e(M){return function ge(M){return null==M||("string"==typeof M||Array.isArray(M))&&0===M.length}(M.value)?{required:!0}:null}function ee(M){return null}function he(M){return null!=M}function Te(M){return(0,l.QGY)(M)?(0,I.D)(M):M}function Ce(M){let v={};return M.forEach(O=>{v=null!=O?{...v,...O}:v}),0===Object.keys(v).length?null:v}function Ne(M,v){return v.map(O=>O(M))}function it(M){return M.map(v=>function Fe(M){return!M.validate}(v)?v:O=>v.validate(O))}function ln(M){return null!=M?function Ge(M){if(!M)return null;const v=M.filter(he);return 0==v.length?null:function(O){return Ce(Ne(O,v))}}(it(M)):null}function Ee(M){return null!=M?function _t(M){if(!M)return null;const v=M.filter(he);return 0==v.length?null:function(O){return function X(...M){const v=(0,q.jO)(M),{args:O,keys:C}=(0,U.D)(M),k=new Y.y(ke=>{const{length:at}=O;if(!at)return void ke.complete();const Qt=new Array(at);let Qn=at,On=at;for(let dr=0;dr{Xn||(Xn=!0,On--),Qt[dr]=Wn},()=>Qn--,void 0,()=>{(!Qn||!Xn)&&(On||ke.next(C?(0,Q.n)(C,Qt):Qt),ke.complete())}))}});return v?k.pipe((0,de.Z)(v)):k}(Ne(O,v).map(Te)).pipe((0,L.U)(Ce))}}(it(M)):null}function et(M,v){return null===M?[v]:Array.isArray(M)?[...M,v]:[M,v]}function ze(M){return M?Array.isArray(M)?M:[M]:[]}function ut(M,v){return Array.isArray(M)?M.includes(v):M===v}function Ye(M,v){const O=ze(v);return ze(M).forEach(k=>{ut(O,k)||O.push(k)}),O}function Nt(M,v){return ze(v).filter(O=>!ut(M,O))}class Kt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(v){this._rawValidators=v||[],this._composedValidatorFn=ln(this._rawValidators)}_setAsyncValidators(v){this._rawAsyncValidators=v||[],this._composedAsyncValidatorFn=Ee(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(v){this._onDestroyCallbacks.push(v)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(v=>v()),this._onDestroyCallbacks=[]}reset(v=void 0){this.control&&this.control.reset(v)}hasError(v,O){return!!this.control&&this.control.hasError(v,O)}getError(v,O){return this.control?this.control.getError(v,O):null}}class vt extends Kt{get formDirective(){return null}get path(){return null}}class Ht extends Kt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class en{constructor(v){this._cd=v}get isTouched(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.touched)}get isUntouched(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.untouched)}get isPristine(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.pristine)}get isDirty(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.dirty)}get isValid(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.valid)}get isInvalid(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.invalid)}get isPending(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.pending)}get isSubmitted(){var v;return!(null===(v=this._cd)||void 0===v||!v.submitted)}}let It=(()=>{var M;class v extends en{constructor(C){super(C)}}return(M=v).\u0275fac=function(C){return new(C||M)(l.Y36(Ht,2))},M.\u0275dir=l.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(C,k){2&C&&l.ekj("ng-untouched",k.isUntouched)("ng-touched",k.isTouched)("ng-pristine",k.isPristine)("ng-dirty",k.isDirty)("ng-valid",k.isValid)("ng-invalid",k.isInvalid)("ng-pending",k.isPending)},features:[l.qOj]}),v})();const dn="VALID",Zt="INVALID",on="PENDING",An="DISABLED";function J(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}class tt{constructor(v,O){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(v),this._assignAsyncValidators(O)}get validator(){return this._composedValidatorFn}set validator(v){this._rawValidators=this._composedValidatorFn=v}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(v){this._rawAsyncValidators=this._composedAsyncValidatorFn=v}get parent(){return this._parent}get valid(){return this.status===dn}get invalid(){return this.status===Zt}get pending(){return this.status==on}get disabled(){return this.status===An}get enabled(){return this.status!==An}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(v){this._assignValidators(v)}setAsyncValidators(v){this._assignAsyncValidators(v)}addValidators(v){this.setValidators(Ye(v,this._rawValidators))}addAsyncValidators(v){this.setAsyncValidators(Ye(v,this._rawAsyncValidators))}removeValidators(v){this.setValidators(Nt(v,this._rawValidators))}removeAsyncValidators(v){this.setAsyncValidators(Nt(v,this._rawAsyncValidators))}hasValidator(v){return ut(this._rawValidators,v)}hasAsyncValidator(v){return ut(this._rawAsyncValidators,v)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(v={}){this.touched=!0,this._parent&&!v.onlySelf&&this._parent.markAsTouched(v)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(v=>v.markAllAsTouched())}markAsUntouched(v={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(O=>{O.markAsUntouched({onlySelf:!0})}),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}markAsDirty(v={}){this.pristine=!1,this._parent&&!v.onlySelf&&this._parent.markAsDirty(v)}markAsPristine(v={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(O=>{O.markAsPristine({onlySelf:!0})}),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}markAsPending(v={}){this.status=on,!1!==v.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!v.onlySelf&&this._parent.markAsPending(v)}disable(v={}){const O=this._parentMarkedDirty(v.onlySelf);this.status=An,this.errors=null,this._forEachChild(C=>{C.disable({...v,onlySelf:!0})}),this._updateValue(),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...v,skipPristineCheck:O}),this._onDisabledChange.forEach(C=>C(!0))}enable(v={}){const O=this._parentMarkedDirty(v.onlySelf);this.status=dn,this._forEachChild(C=>{C.enable({...v,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent}),this._updateAncestors({...v,skipPristineCheck:O}),this._onDisabledChange.forEach(C=>C(!1))}_updateAncestors(v){this._parent&&!v.onlySelf&&(this._parent.updateValueAndValidity(v),v.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(v){this._parent=v}getRawValue(){return this.value}updateValueAndValidity(v={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===dn||this.status===on)&&this._runAsyncValidator(v.emitEvent)),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!v.onlySelf&&this._parent.updateValueAndValidity(v)}_updateTreeValidity(v={emitEvent:!0}){this._forEachChild(O=>O._updateTreeValidity(v)),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?An:dn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(v){if(this.asyncValidator){this.status=on,this._hasOwnPendingAsyncValidator=!0;const O=Te(this.asyncValidator(this));this._asyncValidationSubscription=O.subscribe(C=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(C,{emitEvent:v})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(v,O={}){this.errors=v,this._updateControlsErrors(!1!==O.emitEvent)}get(v){let O=v;return null==O||(Array.isArray(O)||(O=O.split(".")),0===O.length)?null:O.reduce((C,k)=>C&&C._find(k),this)}getError(v,O){const C=O?this.get(O):this;return C&&C.errors?C.errors[v]:null}hasError(v,O){return!!this.getError(v,O)}get root(){let v=this;for(;v._parent;)v=v._parent;return v}_updateControlsErrors(v){this.status=this._calculateStatus(),v&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(v)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?An:this.errors?Zt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(on)?on:this._anyControlsHaveStatus(Zt)?Zt:dn}_anyControlsHaveStatus(v){return this._anyControls(O=>O.status===v)}_anyControlsDirty(){return this._anyControls(v=>v.dirty)}_anyControlsTouched(){return this._anyControls(v=>v.touched)}_updatePristine(v={}){this.pristine=!this._anyControlsDirty(),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}_updateTouched(v={}){this.touched=this._anyControlsTouched(),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}_registerOnCollectionChange(v){this._onCollectionChange=v}_setUpdateStrategy(v){J(v)&&null!=v.updateOn&&(this._updateOn=v.updateOn)}_parentMarkedDirty(v){return!v&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(v){return null}_assignValidators(v){this._rawValidators=Array.isArray(v)?v.slice():v,this._composedValidatorFn=function Se(M){return Array.isArray(M)?ln(M):M||null}(this._rawValidators)}_assignAsyncValidators(v){this._rawAsyncValidators=Array.isArray(v)?v.slice():v,this._composedAsyncValidatorFn=function Me(M){return Array.isArray(M)?Ee(M):M||null}(this._rawAsyncValidators)}}const kn=new l.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>br}),br="always";function fo(M,v,O=br){var C,k;(function $n(M,v){const O=function gt(M){return M._rawValidators}(M);null!==v.validator?M.setValidators(et(O,v.validator)):"function"==typeof O&&M.setValidators([O]);const C=function Lt(M){return M._rawAsyncValidators}(M);null!==v.asyncValidator?M.setAsyncValidators(et(C,v.asyncValidator)):"function"==typeof C&&M.setAsyncValidators([C]);const k=()=>M.updateValueAndValidity();gr(v._rawValidators,k),gr(v._rawAsyncValidators,k)})(M,v),v.valueAccessor.writeValue(M.value),(M.disabled||"always"===O)&&(null===(C=(k=v.valueAccessor).setDisabledState)||void 0===C||C.call(k,M.disabled)),function mr(M,v){v.valueAccessor.registerOnChange(O=>{M._pendingValue=O,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&Rr(M,v)})}(M,v),function pi(M,v){const O=(C,k)=>{v.valueAccessor.writeValue(C),k&&v.viewToModelUpdate(C)};M.registerOnChange(O),v._registerOnDestroy(()=>{M._unregisterOnChange(O)})}(M,v),function ho(M,v){v.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&Rr(M,v),"submit"!==M.updateOn&&M.markAsTouched()})}(M,v),function tr(M,v){if(v.valueAccessor.setDisabledState){const O=C=>{v.valueAccessor.setDisabledState(C)};M.registerOnDisabledChange(O),v._registerOnDestroy(()=>{M._unregisterOnDisabledChange(O)})}}(M,v)}function gr(M,v){M.forEach(O=>{O.registerOnValidatorChange&&O.registerOnValidatorChange(v)})}function Rr(M,v){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),v.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function Co(M,v){const O=M.indexOf(v);O>-1&&M.splice(O,1)}function ko(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}const Vo=class extends tt{constructor(v=null,O,C){super(function Xr(M){return(J(M)?M.validators:M)||null}(O),function re(M,v){return(J(v)?v.asyncValidators:M)||null}(C,O)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(v),this._setUpdateStrategy(O),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),J(O)&&(O.nonNullable||O.initialValueIsDefault)&&(this.defaultValue=ko(v)?v.value:v)}setValue(v,O={}){this.value=this._pendingValue=v,this._onChange.length&&!1!==O.emitModelToViewChange&&this._onChange.forEach(C=>C(this.value,!1!==O.emitViewToModelChange)),this.updateValueAndValidity(O)}patchValue(v,O={}){this.setValue(v,O)}reset(v=this.defaultValue,O={}){this._applyFormState(v),this.markAsPristine(O),this.markAsUntouched(O),this.setValue(this.value,O),this._pendingChange=!1}_updateValue(){}_anyControls(v){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(v){this._onChange.push(v)}_unregisterOnChange(v){Co(this._onChange,v)}registerOnDisabledChange(v){this._onDisabledChange.push(v)}_unregisterOnDisabledChange(v){Co(this._onDisabledChange,v)}_forEachChild(v){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(v){ko(v)?(this.value=this._pendingValue=v.value,v.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=v}},Mo={provide:Ht,useExisting:(0,l.Gpc)(()=>Bo)},to=(()=>Promise.resolve())();let Bo=(()=>{var M;class v extends Ht{constructor(C,k,ke,at,Qt,Qn){super(),this._changeDetectorRef=Qt,this.callSetDisabledState=Qn,this.control=new Vo,this._registered=!1,this.name="",this.update=new l.vpe,this._parent=C,this._setValidators(k),this._setAsyncValidators(ke),this.valueAccessor=function Vn(M,v){if(!v)return null;let O,C,k;return Array.isArray(v),v.forEach(ke=>{ke.constructor===H?O=ke:function vr(M){return Object.getPrototypeOf(M.constructor)===$}(ke)?C=ke:k=ke}),k||C||O||null}(0,at)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const k=C.name.previousValue;this.formDirective.removeControl({name:k,path:this._getPath(k)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),function Tr(M,v){if(!M.hasOwnProperty("model"))return!1;const O=M.model;return!!O.isFirstChange()||!Object.is(v,O.currentValue)}(C,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){fo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(C){to.then(()=>{var k;this.control.setValue(C,{emitViewToModelChange:!1}),null===(k=this._changeDetectorRef)||void 0===k||k.markForCheck()})}_updateDisabled(C){const k=C.isDisabled.currentValue,ke=0!==k&&(0,l.VuI)(k);to.then(()=>{var at;ke&&!this.control.disabled?this.control.disable():!ke&&this.control.disabled&&this.control.enable(),null===(at=this._changeDetectorRef)||void 0===at||at.markForCheck()})}_getPath(C){return this._parent?function xo(M,v){return[...v.path,M]}(C,this._parent):[C]}}return(M=v).\u0275fac=function(C){return new(C||M)(l.Y36(vt,9),l.Y36(ce,10),l.Y36(ye,10),l.Y36(ne,10),l.Y36(l.sBO,8),l.Y36(kn,8))},M.\u0275dir=l.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([Mo]),l.qOj,l.TTD]}),v})(),fn=(()=>{var M;class v{}return(M=v).\u0275fac=function(C){return new(C||M)},M.\u0275mod=l.oAB({type:M}),M.\u0275inj=l.cJS({}),v})();const Uo={provide:ne,useExisting:(0,l.Gpc)(()=>mo),multi:!0};let mo=(()=>{var M;class v extends ${writeValue(C){this.setProperty("value",parseFloat(C))}registerOnChange(C){this.onChange=k=>{C(""==k?null:parseFloat(k))}}}return(M=v).\u0275fac=function(){let O;return function(k){return(O||(O=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(C,k){1&C&&l.NdJ("change",function(at){return k.onChange(at.target.value)})("input",function(at){return k.onChange(at.target.value)})("blur",function(){return k.onTouched()})},features:[l._Bn([Uo]),l.qOj]}),v})(),hn=(()=>{var M;class v{constructor(){this._validator=ee}ngOnChanges(C){if(this.inputName in C){const k=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(k),this._validator=this._enabled?this.createValidator(k):ee,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}}return(M=v).\u0275fac=function(C){return new(C||M)},M.\u0275dir=l.lG2({type:M,features:[l.TTD]}),v})();const $o={provide:ce,useExisting:(0,l.Gpc)(()=>Un),multi:!0};let Un=(()=>{var M;class v extends hn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.VuI,this.createValidator=C=>$e}enabled(C){return C}}return(M=v).\u0275fac=function(){let O;return function(k){return(O||(O=l.n5z(M)))(k||M)}}(),M.\u0275dir=l.lG2({type:M,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(C,k){2&C&&l.uIk("required",k._enabled?"":null)},inputs:{required:"required"},features:[l._Bn([$o]),l.qOj]}),v})(),te=(()=>{var M;class v{}return(M=v).\u0275fac=function(C){return new(C||M)},M.\u0275mod=l.oAB({type:M}),M.\u0275inj=l.cJS({imports:[fn]}),v})(),St=(()=>{var M;class v{static withConfig(C){var k;return{ngModule:v,providers:[{provide:kn,useValue:null!==(k=C.callSetDisabledState)&&void 0!==k?k:br}]}}}return(M=v).\u0275fac=function(C){return new(C||M)},M.\u0275mod=l.oAB({type:M}),M.\u0275inj=l.cJS({imports:[te]}),v})()},3232:(We,le,y)=>{y.d(le,{Cg:()=>Ce,Dx:()=>Ht,H7:()=>Yt,b2:()=>ut,s3:()=>X,se:()=>ae});var l=y(755),N=y(6733);class I extends N.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Y extends I{static makeCurrent(){(0,N.HT)(new Y)}onAndCancel(re,Me,J){return re.addEventListener(Me,J),()=>{re.removeEventListener(Me,J)}}dispatchEvent(re,Me){re.dispatchEvent(Me)}remove(re){re.parentNode&&re.parentNode.removeChild(re)}createElement(re,Me){return(Me=Me||this.getDefaultDocument()).createElement(re)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(re){return re.nodeType===Node.ELEMENT_NODE}isShadowRoot(re){return re instanceof DocumentFragment}getGlobalEventTarget(re,Me){return"window"===Me?window:"document"===Me?re:"body"===Me?re.body:null}getBaseHref(re){const Me=function W(){return U=U||document.querySelector("base"),U?U.getAttribute("href"):null}();return null==Me?null:function pe(Se){q=q||document.createElement("a"),q.setAttribute("href",Se);const re=q.pathname;return"/"===re.charAt(0)?re:"/".concat(re)}(Me)}resetBaseElement(){U=null}getUserAgent(){return window.navigator.userAgent}getCookie(re){return(0,N.Mx)(document.cookie,re)}}let q,U=null,Q=(()=>{var Se;class re{build(){return new XMLHttpRequest}}return(Se=re).\u0275fac=function(J){return new(J||Se)},Se.\u0275prov=l.Yz7({token:Se,factory:Se.\u0275fac}),re})();const X=new l.OlP("EventManagerPlugins");let L=(()=>{var Se;class re{constructor(J,ve){this._zone=ve,this._eventNameToPlugin=new Map,J.forEach(je=>{je.manager=this}),this._plugins=J.slice().reverse()}addEventListener(J,ve,je){return this._findPluginFor(ve).addEventListener(J,ve,je)}getZone(){return this._zone}_findPluginFor(J){let ve=this._eventNameToPlugin.get(J);if(ve)return ve;if(ve=this._plugins.find(tt=>tt.supports(J)),!ve)throw new l.vHH(5101,!1);return this._eventNameToPlugin.set(J,ve),ve}}return(Se=re).\u0275fac=function(J){return new(J||Se)(l.LFG(X),l.LFG(l.R0b))},Se.\u0275prov=l.Yz7({token:Se,factory:Se.\u0275fac}),re})();class K{constructor(re){this._doc=re}}const $="ng-app-id";let ne=(()=>{var Se;class re{constructor(J,ve,je,tt={}){this.doc=J,this.appId=ve,this.nonce=je,this.platformId=tt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,N.PM)(tt),this.resetHostNodes()}addStyles(J){for(const ve of J)1===this.changeUsageCount(ve,1)&&this.onStyleAdded(ve)}removeStyles(J){for(const ve of J)this.changeUsageCount(ve,-1)<=0&&this.onStyleRemoved(ve)}ngOnDestroy(){const J=this.styleNodesInDOM;J&&(J.forEach(ve=>ve.remove()),J.clear());for(const ve of this.getAllStyles())this.onStyleRemoved(ve);this.resetHostNodes()}addHost(J){this.hostNodes.add(J);for(const ve of this.getAllStyles())this.addStyleToHost(J,ve)}removeHost(J){this.hostNodes.delete(J)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(J){for(const ve of this.hostNodes)this.addStyleToHost(ve,J)}onStyleRemoved(J){var ve;const je=this.styleRef;null===(ve=je.get(J))||void 0===ve||null===(ve=ve.elements)||void 0===ve||ve.forEach(tt=>tt.remove()),je.delete(J)}collectServerRenderedStyles(){var J;const ve=null===(J=this.doc.head)||void 0===J?void 0:J.querySelectorAll("style[".concat($,'="').concat(this.appId,'"]'));if(null!=ve&&ve.length){const je=new Map;return ve.forEach(tt=>{null!=tt.textContent&&je.set(tt.textContent,tt)}),je}return null}changeUsageCount(J,ve){const je=this.styleRef;if(je.has(J)){const tt=je.get(J);return tt.usage+=ve,tt.usage}return je.set(J,{usage:ve,elements:[]}),ve}getStyleElement(J,ve){const je=this.styleNodesInDOM,tt=null==je?void 0:je.get(ve);if((null==tt?void 0:tt.parentNode)===J)return je.delete(ve),tt.removeAttribute($),tt;{const ft=this.doc.createElement("style");return this.nonce&&ft.setAttribute("nonce",this.nonce),ft.textContent=ve,this.platformIsServer&&ft.setAttribute($,this.appId),ft}}addStyleToHost(J,ve){var je;const tt=this.getStyleElement(J,ve);J.appendChild(tt);const ft=this.styleRef,Mt=null===(je=ft.get(ve))||void 0===je?void 0:je.elements;Mt?Mt.push(tt):ft.set(ve,{elements:[tt],usage:1})}resetHostNodes(){const J=this.hostNodes;J.clear(),J.add(this.doc.head)}}return(Se=re).\u0275fac=function(J){return new(J||Se)(l.LFG(N.K0),l.LFG(l.AFp),l.LFG(l.Ojb,8),l.LFG(l.Lbi))},Se.\u0275prov=l.Yz7({token:Se,factory:Se.\u0275fac}),re})();const oe={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/MathML/"},fe=/%COMP%/g,Le="_nghost-".concat("%COMP%"),Re="_ngcontent-".concat("%COMP%"),ge=new l.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ye(Se,re){return re.map(Me=>Me.replace(fe,Se))}let ae=(()=>{var Se;class re{constructor(J,ve,je,tt,ft,Mt,Ct,Fn=null){this.eventManager=J,this.sharedStylesHost=ve,this.appId=je,this.removeStylesOnCompDestroy=tt,this.doc=ft,this.platformId=Mt,this.ngZone=Ct,this.nonce=Fn,this.rendererByCompId=new Map,this.platformIsServer=(0,N.PM)(Mt),this.defaultRenderer=new Ve(J,ft,Ct,this.platformIsServer)}createRenderer(J,ve){if(!J||!ve)return this.defaultRenderer;this.platformIsServer&&ve.encapsulation===l.ifc.ShadowDom&&(ve={...ve,encapsulation:l.ifc.Emulated});const je=this.getOrCreateRenderer(J,ve);return je instanceof Ue?je.applyToHost(J):je instanceof bt&&je.applyStyles(),je}getOrCreateRenderer(J,ve){const je=this.rendererByCompId;let tt=je.get(ve.id);if(!tt){const ft=this.doc,Mt=this.ngZone,Ct=this.eventManager,Fn=this.sharedStylesHost,er=this.removeStylesOnCompDestroy,kn=this.platformIsServer;switch(ve.encapsulation){case l.ifc.Emulated:tt=new Ue(Ct,Fn,ve,this.appId,er,ft,Mt,kn);break;case l.ifc.ShadowDom:return new qe(Ct,Fn,J,ve,ft,Mt,this.nonce,kn);default:tt=new bt(Ct,Fn,ve,er,ft,Mt,kn)}je.set(ve.id,tt)}return tt}ngOnDestroy(){this.rendererByCompId.clear()}}return(Se=re).\u0275fac=function(J){return new(J||Se)(l.LFG(L),l.LFG(ne),l.LFG(l.AFp),l.LFG(ge),l.LFG(N.K0),l.LFG(l.Lbi),l.LFG(l.R0b),l.LFG(l.Ojb))},Se.\u0275prov=l.Yz7({token:Se,factory:Se.\u0275fac}),re})();class Ve{constructor(re,Me,J,ve){this.eventManager=re,this.doc=Me,this.ngZone=J,this.platformIsServer=ve,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(re,Me){return Me?this.doc.createElementNS(oe[Me]||Me,re):this.doc.createElement(re)}createComment(re){return this.doc.createComment(re)}createText(re){return this.doc.createTextNode(re)}appendChild(re,Me){($e(re)?re.content:re).appendChild(Me)}insertBefore(re,Me,J){re&&($e(re)?re.content:re).insertBefore(Me,J)}removeChild(re,Me){re&&re.removeChild(Me)}selectRootElement(re,Me){let J="string"==typeof re?this.doc.querySelector(re):re;if(!J)throw new l.vHH(-5104,!1);return Me||(J.textContent=""),J}parentNode(re){return re.parentNode}nextSibling(re){return re.nextSibling}setAttribute(re,Me,J,ve){if(ve){Me=ve+":"+Me;const je=oe[ve];je?re.setAttributeNS(je,Me,J):re.setAttribute(Me,J)}else re.setAttribute(Me,J)}removeAttribute(re,Me,J){if(J){const ve=oe[J];ve?re.removeAttributeNS(ve,Me):re.removeAttribute("".concat(J,":").concat(Me))}else re.removeAttribute(Me)}addClass(re,Me){re.classList.add(Me)}removeClass(re,Me){re.classList.remove(Me)}setStyle(re,Me,J,ve){ve&(l.JOm.DashCase|l.JOm.Important)?re.style.setProperty(Me,J,ve&l.JOm.Important?"important":""):re.style[Me]=J}removeStyle(re,Me,J){J&l.JOm.DashCase?re.style.removeProperty(Me):re.style[Me]=""}setProperty(re,Me,J){re[Me]=J}setValue(re,Me){re.nodeValue=Me}listen(re,Me,J){if("string"==typeof re&&!(re=(0,N.q)().getGlobalEventTarget(this.doc,re)))throw new Error("Unsupported event target ".concat(re," for event ").concat(Me));return this.eventManager.addEventListener(re,Me,this.decoratePreventDefault(J))}decoratePreventDefault(re){return Me=>{if("__ngUnwrap__"===Me)return re;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>re(Me)):re(Me))&&Me.preventDefault()}}}function $e(Se){return"TEMPLATE"===Se.tagName&&void 0!==Se.content}class qe extends Ve{constructor(re,Me,J,ve,je,tt,ft,Mt){super(re,je,tt,Mt),this.sharedStylesHost=Me,this.hostEl=J,this.shadowRoot=J.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ct=ye(ve.id,ve.styles);for(const Fn of Ct){const er=document.createElement("style");ft&&er.setAttribute("nonce",ft),er.textContent=Fn,this.shadowRoot.appendChild(er)}}nodeOrShadowRoot(re){return re===this.hostEl?this.shadowRoot:re}appendChild(re,Me){return super.appendChild(this.nodeOrShadowRoot(re),Me)}insertBefore(re,Me,J){return super.insertBefore(this.nodeOrShadowRoot(re),Me,J)}removeChild(re,Me){return super.removeChild(this.nodeOrShadowRoot(re),Me)}parentNode(re){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(re)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class bt extends Ve{constructor(re,Me,J,ve,je,tt,ft,Mt){super(re,je,tt,ft),this.sharedStylesHost=Me,this.removeStylesOnCompDestroy=ve,this.styles=Mt?ye(Mt,J.styles):J.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ue extends bt{constructor(re,Me,J,ve,je,tt,ft,Mt){const Ct=ve+"-"+J.id;super(re,Me,J,je,tt,ft,Mt,Ct),this.contentAttr=function G(Se){return Re.replace(fe,Se)}(Ct),this.hostAttr=function ce(Se){return Le.replace(fe,Se)}(Ct)}applyToHost(re){this.applyStyles(),this.setAttribute(re,this.hostAttr,"")}createElement(re,Me){const J=super.createElement(re,Me);return super.setAttribute(J,this.contentAttr,""),J}}let nt=(()=>{var Se;class re extends K{constructor(J){super(J)}supports(J){return!0}addEventListener(J,ve,je){return J.addEventListener(ve,je,!1),()=>this.removeEventListener(J,ve,je)}removeEventListener(J,ve,je){return J.removeEventListener(ve,je)}}return(Se=re).\u0275fac=function(J){return new(J||Se)(l.LFG(N.K0))},Se.\u0275prov=l.Yz7({token:Se,factory:Se.\u0275fac}),re})();const De=["alt","control","meta","shift"],ee={"\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"},he={alt:Se=>Se.altKey,control:Se=>Se.ctrlKey,meta:Se=>Se.metaKey,shift:Se=>Se.shiftKey};let Te=(()=>{var Se;class re extends K{constructor(J){super(J)}supports(J){return null!=re.parseEventName(J)}addEventListener(J,ve,je){const tt=re.parseEventName(ve),ft=re.eventCallback(tt.fullKey,je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,N.q)().onAndCancel(J,tt.domEventName,ft))}static parseEventName(J){const ve=J.toLowerCase().split("."),je=ve.shift();if(0===ve.length||"keydown"!==je&&"keyup"!==je)return null;const tt=re._normalizeKey(ve.pop());let ft="",Mt=ve.indexOf("code");if(Mt>-1&&(ve.splice(Mt,1),ft="code."),De.forEach(Fn=>{const er=ve.indexOf(Fn);er>-1&&(ve.splice(er,1),ft+=Fn+".")}),ft+=tt,0!=ve.length||0===tt.length)return null;const Ct={};return Ct.domEventName=je,Ct.fullKey=ft,Ct}static matchEventFullKeyCode(J,ve){let je=ee[J.key]||J.key,tt="";return ve.indexOf("code.")>-1&&(je=J.code,tt="code."),!(null==je||!je)&&(je=je.toLowerCase()," "===je?je="space":"."===je&&(je="dot"),De.forEach(ft=>{ft!==je&&(0,he[ft])(J)&&(tt+=ft+".")}),tt+=je,tt===ve)}static eventCallback(J,ve,je){return tt=>{re.matchEventFullKeyCode(tt,J)&&je.runGuarded(()=>ve(tt))}}static _normalizeKey(J){return"esc"===J?"escape":J}}return(Se=re).\u0275fac=function(J){return new(J||Se)(l.LFG(N.K0))},Se.\u0275prov=l.Yz7({token:Se,factory:Se.\u0275fac}),re})();function Ce(Se,re){return(0,l.iPO)({rootComponent:Se,...Fe(re)})}function Fe(Se){var re;return{appProviders:[...ze,...null!==(re=null==Se?void 0:Se.providers)&&void 0!==re?re:[]],platformProviders:Ee}}const Ee=[{provide:l.Lbi,useValue:N.bD},{provide:l.g9A,useValue:function Ge(){Y.makeCurrent()},multi:!0},{provide:N.K0,useFactory:function _t(){return(0,l.RDi)(document),document},deps:[]}],gt=new l.OlP(""),Lt=[{provide:l.rWj,useClass:class de{addToWindow(re){l.dqk.getAngularTestability=(J,ve=!0)=>{const je=re.findTestabilityInTree(J,ve);if(null==je)throw new l.vHH(5103,!1);return je},l.dqk.getAllAngularTestabilities=()=>re.getAllTestabilities(),l.dqk.getAllAngularRootElements=()=>re.getAllRootElements(),l.dqk.frameworkStabilizers||(l.dqk.frameworkStabilizers=[]),l.dqk.frameworkStabilizers.push(J=>{const ve=l.dqk.getAllAngularTestabilities();let je=ve.length,tt=!1;const ft=function(Mt){tt=tt||Mt,je--,0==je&&J(tt)};ve.forEach(Mt=>{Mt.whenStable(ft)})})}findTestabilityInTree(re,Me,J){if(null==Me)return null;const ve=re.getTestability(Me);return null!=ve?ve:J?(0,N.q)().isShadowRoot(Me)?this.findTestabilityInTree(re,Me.host,!0):this.findTestabilityInTree(re,Me.parentElement,!0):null}},deps:[]},{provide:l.lri,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]},{provide:l.dDg,useClass:l.dDg,deps:[l.R0b,l.eoX,l.rWj]}],ze=[{provide:l.zSh,useValue:"root"},{provide:l.qLn,useFactory:function ln(){return new l.qLn},deps:[]},{provide:X,useClass:nt,multi:!0,deps:[N.K0,l.R0b,l.Lbi]},{provide:X,useClass:Te,multi:!0,deps:[N.K0]},ae,ne,L,{provide:l.FYo,useExisting:ae},{provide:N.JF,useClass:Q,deps:[]},[]];let ut=(()=>{var Se;class re{constructor(J){}static withServerTransition(J){return{ngModule:re,providers:[{provide:l.AFp,useValue:J.appId}]}}}return(Se=re).\u0275fac=function(J){return new(J||Se)(l.LFG(gt,12))},Se.\u0275mod=l.oAB({type:Se}),Se.\u0275inj=l.cJS({providers:[...ze,...Lt],imports:[N.ez,l.hGG]}),re})(),Ht=(()=>{var Se;class re{constructor(J){this._doc=J}getTitle(){return this._doc.title}setTitle(J){this._doc.title=J||""}}return(Se=re).\u0275fac=function(J){return new(J||Se)(l.LFG(N.K0))},Se.\u0275prov=l.Yz7({token:Se,factory:function(J){let ve=null;return ve=J?new J:function vt(){return new Ht((0,l.LFG)(N.K0))}(),ve},providedIn:"root"}),re})();typeof window<"u"&&window;let Yt=(()=>{var Se;class re{}return(Se=re).\u0275fac=function(J){return new(J||Se)},Se.\u0275prov=l.Yz7({token:Se,factory:function(J){let ve=null;return ve=J?new(J||Se):l.LFG(gn),ve},providedIn:"root"}),re})(),gn=(()=>{var Se;class re extends Yt{constructor(J){super(),this._doc=J}sanitize(J,ve){if(null==ve)return null;switch(J){case l.q3G.NONE:return ve;case l.q3G.HTML:return(0,l.qzn)(ve,"HTML")?(0,l.z3N)(ve):(0,l.EiD)(this._doc,String(ve)).toString();case l.q3G.STYLE:return(0,l.qzn)(ve,"Style")?(0,l.z3N)(ve):ve;case l.q3G.SCRIPT:if((0,l.qzn)(ve,"Script"))return(0,l.z3N)(ve);throw new l.vHH(5200,!1);case l.q3G.URL:return(0,l.qzn)(ve,"URL")?(0,l.z3N)(ve):(0,l.mCW)(String(ve));case l.q3G.RESOURCE_URL:if((0,l.qzn)(ve,"ResourceURL"))return(0,l.z3N)(ve);throw new l.vHH(5201,!1);default:throw new l.vHH(5202,!1)}}bypassSecurityTrustHtml(J){return(0,l.JVY)(J)}bypassSecurityTrustStyle(J){return(0,l.L6k)(J)}bypassSecurityTrustScript(J){return(0,l.eBb)(J)}bypassSecurityTrustUrl(J){return(0,l.LAX)(J)}bypassSecurityTrustResourceUrl(J){return(0,l.pB0)(J)}}return(Se=re).\u0275fac=function(J){return new(J||Se)(l.LFG(N.K0))},Se.\u0275prov=l.Yz7({token:Se,factory:function(J){let ve=null;return ve=J?new J:function kt(Se){return new gn(Se.get(N.K0))}(l.LFG(l.zs3)),ve},providedIn:"root"}),re})()},4911:(We,le,y)=>{function Y(ee,he){var Te={};for(var Ce in ee)Object.prototype.hasOwnProperty.call(ee,Ce)&&he.indexOf(Ce)<0&&(Te[Ce]=ee[Ce]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols){var Ne=0;for(Ce=Object.getOwnPropertySymbols(ee);Ne=0;Ge--)(it=ee[Ge])&&(Fe=(Ne<3?it(Fe):Ne>3?it(he,Te,Fe):it(he,Te))||Fe);return Ne>3&&Fe&&Object.defineProperty(he,Te,Fe),Fe}function L(ee,he,Te,Ce){return new(Te||(Te=Promise))(function(Fe,it){function Ge(Ee){try{_t(Ce.next(Ee))}catch(et){it(et)}}function ln(Ee){try{_t(Ce.throw(Ee))}catch(et){it(et)}}function _t(Ee){Ee.done?Fe(Ee.value):function Ne(Fe){return Fe instanceof Te?Fe:new Te(function(it){it(Fe)})}(Ee.value).then(Ge,ln)}_t((Ce=Ce.apply(ee,he||[])).next())})}function H(ee){return this instanceof H?(this.v=ee,this):new H(ee)}function ge(ee,he,Te){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ne,Ce=Te.apply(ee,he||[]),Fe=[];return Ne={},it("next"),it("throw"),it("return"),Ne[Symbol.asyncIterator]=function(){return this},Ne;function it(gt){Ce[gt]&&(Ne[gt]=function(Lt){return new Promise(function(ze,ut){Fe.push([gt,Lt,ze,ut])>1||Ge(gt,Lt)})})}function Ge(gt,Lt){try{!function ln(gt){gt.value instanceof H?Promise.resolve(gt.value.v).then(_t,Ee):et(Fe[0][2],gt)}(Ce[gt](Lt))}catch(ze){et(Fe[0][3],ze)}}function _t(gt){Ge("next",gt)}function Ee(gt){Ge("throw",gt)}function et(gt,Lt){gt(Lt),Fe.shift(),Fe.length&&Ge(Fe[0][0],Fe[0][1])}}function ce(ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Te,he=ee[Symbol.asyncIterator];return he?he.call(ee):(ee=function oe(ee){var he="function"==typeof Symbol&&Symbol.iterator,Te=he&&ee[he],Ce=0;if(Te)return Te.call(ee);if(ee&&"number"==typeof ee.length)return{next:function(){return ee&&Ce>=ee.length&&(ee=void 0),{value:ee&&ee[Ce++],done:!ee}}};throw new TypeError(he?"Object is not iterable.":"Symbol.iterator is not defined.")}(ee),Te={},Ce("next"),Ce("throw"),Ce("return"),Te[Symbol.asyncIterator]=function(){return this},Te);function Ce(Fe){Te[Fe]=ee[Fe]&&function(it){return new Promise(function(Ge,ln){!function Ne(Fe,it,Ge,ln){Promise.resolve(ln).then(function(_t){Fe({value:_t,done:Ge})},it)}(Ge,ln,(it=ee[Fe](it)).done,it.value)})}}}y.d(le,{FC:()=>ge,KL:()=>ce,_T:()=>Y,gn:()=>U,mG:()=>L,qq:()=>H}),"function"==typeof SuppressedError&&SuppressedError}},We=>{We(We.s=5437)}]); \ No newline at end of file +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179],{5156:(Ge,le,_)=>{var u=_(5813),N=_(3223),b=_(1582),Z=_(2861),H=_(3477),z=_(287),te=_(8626);const ue=(0,_(8261).d)(a=>function(){a(this),this.name="EmptyError",this.message="no elements in sequence"});var se=_(841),Q=_(8402),j=_(4406),Y=_(5357),W=_(1145),ne=_(89);function ye(a,d){const m=(0,ne.m)(a)?a:()=>a,h=E=>E.error(m());return new W.y(d?E=>d.schedule(h,0,E):h)}var de=_(1288),be=_(5350),je=_(4134),Ke=_(8014);function Re(){return(0,je.e)((a,d)=>{let m=null;a._refCount++;const h=(0,Ke.x)(d,void 0,void 0,void 0,()=>{if(!a||a._refCount<=0||0<--a._refCount)return void(m=null);const E=a._connection,P=m;m=null,E&&(!P||E===P)&&E.unsubscribe(),d.unsubscribe()});a.subscribe(h),h.closed||(m=a.connect())})}class Ee extends W.y{constructor(d,m){super(),this.source=d,this.subjectFactory=m,this._subject=null,this._refCount=0,this._connection=null,(0,je.A)(d)&&(this.lift=d.lift)}_subscribe(d){return this.getSubject().subscribe(d)}getSubject(){const d=this._subject;return(!d||d.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:d}=this;this._subject=this._connection=null,null==d||d.unsubscribe()}connect(){let d=this._connection;if(!d){d=this._connection=new be.w0;const m=this.getSubject();d.add(this.source.subscribe((0,Ke.x)(m,void 0,()=>{this._teardown(),m.complete()},h=>{this._teardown(),m.error(h)},()=>this._teardown()))),d.closed&&(this._connection=null,d=be.w0.EMPTY)}return d}refCount(){return Re()(this)}}var ae=_(5992),me=_(5990),_e=_(3318),q=_(4359),re=_(1553),x=_(9735),ce=_(2874);function Ve(a){return(0,je.e)((d,m)=>{let h=!1;d.subscribe((0,Ke.x)(m,E=>{h=!0,m.next(E)},()=>{h||m.next(a),m.complete()}))})}function Ye(a=mt){return(0,je.e)((d,m)=>{let h=!1;d.subscribe((0,Ke.x)(m,E=>{h=!0,m.next(E)},()=>h?m.complete():m.error(a())))})}function mt(){return new ue}var $e=_(1106);function nt(a,d){const m=arguments.length>=2;return h=>h.pipe(a?(0,x.h)((E,P)=>a(E,P,h)):$e.y,(0,q.q)(1),m?Ve(d):Ye(()=>new ue))}function ve(a,d){return(0,ne.m)(d)?(0,ce.z)(a,d,1):(0,ce.z)(a,1)}var ee=_(8527),fe=_(3426);function Be(a){return a<=0?()=>de.E:(0,je.e)((d,m)=>{let h=[];d.subscribe((0,Ke.x)(m,E=>{h.push(E),a{for(const E of h)m.next(E);m.complete()},void 0,()=>{h=null}))})}var at=_(3197),_t=_(5220),dn=_(7701);_(8563);const Ie="primary",pt=Symbol("RouteTitle");class lt{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const m=this.params[d];return Array.isArray(m)?m[0]:m}return null}getAll(d){if(this.has(d)){const m=this.params[d];return Array.isArray(m)?m:[m]}return[]}get keys(){return Object.keys(this.params)}}function Ht(a){return new lt(a)}function ze(a,d,m){const h=m.path.split("/");if(h.length>a.length||"full"===m.pathMatch&&(d.hasChildren()||h.lengthh[P]===E)}return a===d}function Dt(a){return a.length>0?a[a.length-1]:null}function bt(a){return(0,Z.b)(a)?a:(0,b.QGY)(a)?(0,H.D)(Promise.resolve(a)):(0,z.of)(a)}const dt={exact:function ft(a,d,m){if(!Nt(a.segments,d.segments)||!Bn(a.segments,d.segments,m)||a.numberOfChildren!==d.numberOfChildren)return!1;for(const h in d.children)if(!a.children[h]||!ft(a.children[h],d.children[h],m))return!1;return!0},subset:Rn},an={exact:function wt(a,d){return Ze(a,d)},subset:function Jn(a,d){return Object.keys(d).length<=Object.keys(a).length&&Object.keys(d).every(m=>zt(a[m],d[m]))},ignored:()=>!0};function kt(a,d,m){return dt[m.paths](a.root,d.root,m.matrixParams)&&an[m.queryParams](a.queryParams,d.queryParams)&&!("exact"===m.fragment&&a.fragment!==d.fragment)}function Rn(a,d,m){return it(a,d,d.segments,m)}function it(a,d,m,h){if(a.segments.length>m.length){const E=a.segments.slice(0,m.length);return!(!Nt(E,m)||d.hasChildren()||!Bn(E,m,h))}if(a.segments.length===m.length){if(!Nt(a.segments,m)||!Bn(a.segments,m,h))return!1;for(const E in d.children)if(!a.children[E]||!Rn(a.children[E],d.children[E],h))return!1;return!0}{const E=m.slice(0,a.segments.length),P=m.slice(a.segments.length);return!!(Nt(a.segments,E)&&Bn(a.segments,E,h)&&a.children[Ie])&&it(a.children[Ie],d,P,h)}}function Bn(a,d,m){return d.every((h,E)=>an[m](a[E].parameters,h.parameters))}class vn{constructor(d=new Kt([],{}),m={},h=null){this.root=d,this.queryParams=m,this.fragment=h}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ht(this.queryParams)),this._queryParamMap}toString(){return Gt.serialize(this)}}class Kt{constructor(d,m){this.segments=d,this.children=m,this.parent=null,Object.values(m).forEach(h=>h.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return tn(this)}}class Xt{constructor(d,m){this.path=d,this.parameters=m}get parameterMap(){return this._parameterMap||(this._parameterMap=Ht(this.parameters)),this._parameterMap}toString(){return wr(this)}}function Nt(a,d){return a.length===d.length&&a.every((m,h)=>m.path===d[h].path)}let Je=(()=>{var a;class d{}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:()=>new Tt,providedIn:"root"}),d})();class Tt{parse(d){const m=new yn(d);return new vn(m.parseRootSegment(),m.parseQueryParams(),m.parseFragment())}serialize(d){const m="/".concat(qt(d.root,!0)),h=function ie(a){const d=Object.keys(a).map(m=>{const h=a[m];return Array.isArray(h)?h.map(E=>"".concat(ut(m),"=").concat(ut(E))).join("&"):"".concat(ut(m),"=").concat(ut(h))}).filter(m=>!!m);return d.length?"?".concat(d.join("&")):""}(d.queryParams),E="string"==typeof d.fragment?"#".concat(function Et(a){return encodeURI(a)}(d.fragment)):"";return"".concat(m).concat(h).concat(E)}}const Gt=new Tt;function tn(a){return a.segments.map(d=>wr(d)).join("/")}function qt(a,d){if(!a.hasChildren())return tn(a);if(d){const m=a.children[Ie]?qt(a.children[Ie],!1):"",h=[];return Object.entries(a.children).forEach(([E,P])=>{E!==Ie&&h.push("".concat(E,":").concat(qt(P,!1)))}),h.length>0?"".concat(m,"(").concat(h.join("//"),")"):m}{const m=function Mr(a,d){let m=[];return Object.entries(a.children).forEach(([h,E])=>{h===Ie&&(m=m.concat(d(E,h)))}),Object.entries(a.children).forEach(([h,E])=>{h!==Ie&&(m=m.concat(d(E,h)))}),m}(a,(h,E)=>E===Ie?[qt(a.children[Ie],!1)]:["".concat(E,":").concat(qt(h,!1))]);return 1===Object.keys(a.children).length&&null!=a.children[Ie]?"".concat(tn(a),"/").concat(m[0]):"".concat(tn(a),"/(").concat(m.join("//"),")")}}function Hn(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ut(a){return Hn(a).replace(/%3B/gi,";")}function rn(a){return Hn(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yt(a){return decodeURIComponent(a)}function Sn(a){return Yt(a.replace(/\+/g,"%20"))}function wr(a){return"".concat(rn(a.path)).concat(function Ae(a){return Object.keys(a).map(d=>";".concat(rn(d),"=").concat(rn(a[d]))).join("")}(a.parameters))}const Ce=/^[^\/()?;#]+/;function J(a){const d=a.match(Ce);return d?d[0]:""}const ge=/^[^\/()?;=#]+/,Qe=/^[^=?&#]+/,Zt=/^[^&#]+/;class yn{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Kt([],{}):new Kt([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let m={};this.peekStartsWith("/(")&&(this.capture("/"),m=this.parseParens(!0));let h={};return this.peekStartsWith("(")&&(h=this.parseParens(!1)),(d.length>0||Object.keys(m).length>0)&&(h[Ie]=new Kt(d,m)),h}parseSegment(){const d=J(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new b.vHH(4009,!1);return this.capture(d),new Xt(Yt(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const m=function He(a){const d=a.match(ge);return d?d[0]:""}(this.remaining);if(!m)return;this.capture(m);let h="";if(this.consumeOptional("=")){const E=J(this.remaining);E&&(h=E,this.capture(h))}d[Yt(m)]=Yt(h)}parseQueryParam(d){const m=function It(a){const d=a.match(Qe);return d?d[0]:""}(this.remaining);if(!m)return;this.capture(m);let h="";if(this.consumeOptional("=")){const V=function bn(a){const d=a.match(Zt);return d?d[0]:""}(this.remaining);V&&(h=V,this.capture(h))}const E=Sn(m),P=Sn(h);if(d.hasOwnProperty(E)){let V=d[E];Array.isArray(V)||(V=[V],d[E]=V),V.push(P)}else d[E]=P}parseParens(d){const m={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const h=J(this.remaining),E=this.remaining[h.length];if("/"!==E&&")"!==E&&";"!==E)throw new b.vHH(4010,!1);let P;h.indexOf(":")>-1?(P=h.slice(0,h.indexOf(":")),this.capture(P),this.capture(":")):d&&(P=Ie);const V=this.parseChildren();m[P]=1===Object.keys(V).length?V[Ie]:new Kt([],V),this.consumeOptional("//")}return m}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new b.vHH(4011,!1)}}function Gn(a){return a.segments.length>0?new Kt([],{[Ie]:a}):a}function Gr(a){const d={};for(const h of Object.keys(a.children)){const P=Gr(a.children[h]);if(h===Ie&&0===P.segments.length&&P.hasChildren())for(const[V,pe]of Object.entries(P.children))d[V]=pe;else(P.segments.length>0||P.hasChildren())&&(d[h]=P)}return function Nr(a){if(1===a.numberOfChildren&&a.children[Ie]){const d=a.children[Ie];return new Kt(a.segments.concat(d.segments),d.children)}return a}(new Kt(a.segments,d))}function Ir(a){return a instanceof vn}function ht(a){var d;let m;const P=Gn(function h(V){const pe={};for(const De of V.children){const Xe=h(De);pe[De.outlet]=Xe}const Ue=new Kt(V.url,pe);return V===a&&(m=Ue),Ue}(a.root));return null!==(d=m)&&void 0!==d?d:P}function jo(a,d,m,h){let E=a;for(;E.parent;)E=E.parent;if(0===d.length)return gr(E,E,E,m,h);const P=function Eo(a){if("string"==typeof a[0]&&1===a.length&&"/"===a[0])return new ni(!0,0,a);let d=0,m=!1;const h=a.reduce((E,P,V)=>{if("object"==typeof P&&null!=P){if(P.outlets){const pe={};return Object.entries(P.outlets).forEach(([Ue,De])=>{pe[Ue]="string"==typeof De?De.split("/"):De}),[...E,{outlets:pe}]}if(P.segmentPath)return[...E,P.segmentPath]}return"string"!=typeof P?[...E,P]:0===V?(P.split("/").forEach((pe,Ue)=>{0==Ue&&"."===pe||(0==Ue&&""===pe?m=!0:".."===pe?d++:""!=pe&&E.push(pe))}),E):[...E,P]},[]);return new ni(m,d,h)}(d);if(P.toRoot())return gr(E,E,new Kt([],{}),m,h);const V=function Co(a,d,m){if(a.isAbsolute)return new dr(d,!0,0);if(!m)return new dr(d,!1,NaN);if(null===m.parent)return new dr(m,!0,0);const h=ao(a.commands[0])?0:1;return function Wr(a,d,m){let h=a,E=d,P=m;for(;P>E;){if(P-=E,h=h.parent,!h)throw new b.vHH(4005,!1);E=h.segments.length}return new dr(h,!1,E-P)}(m,m.segments.length-1+h,a.numberOfDoubleDots)}(P,E,a),pe=V.processChildren?fr(V.segmentGroup,V.index,P.commands):Mo(V.segmentGroup,V.index,P.commands);return gr(E,V.segmentGroup,pe,m,h)}function ao(a){return"object"==typeof a&&null!=a&&!a.outlets&&!a.segmentPath}function Uo(a){return"object"==typeof a&&null!=a&&a.outlets}function gr(a,d,m,h,E){let V,P={};h&&Object.entries(h).forEach(([Ue,De])=>{P[Ue]=Array.isArray(De)?De.map(Xe=>"".concat(Xe)):"".concat(De)}),V=a===d?m:Jt(a,d,m);const pe=Gn(Gr(V));return new vn(pe,P,E)}function Jt(a,d,m){const h={};return Object.entries(a.children).forEach(([E,P])=>{h[E]=P===d?m:Jt(P,d,m)}),new Kt(a.segments,h)}class ni{constructor(d,m,h){if(this.isAbsolute=d,this.numberOfDoubleDots=m,this.commands=h,d&&h.length>0&&ao(h[0]))throw new b.vHH(4003,!1);const E=h.find(Uo);if(E&&E!==Dt(h))throw new b.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class dr{constructor(d,m,h){this.segmentGroup=d,this.processChildren=m,this.index=h}}function Mo(a,d,m){if(a||(a=new Kt([],{})),0===a.segments.length&&a.hasChildren())return fr(a,d,m);const h=function xr(a,d,m){let h=0,E=d;const P={match:!1,pathIndex:0,commandIndex:0};for(;E=m.length)return P;const V=a.segments[E],pe=m[h];if(Uo(pe))break;const Ue="".concat(pe),De=h0&&void 0===Ue)break;if(Ue&&De&&"object"==typeof De&&void 0===De.outlets){if(!zo(Ue,De,V))return P;h+=2}else{if(!zo(Ue,{},V))return P;h++}E++}return{match:!0,pathIndex:E,commandIndex:h}}(a,d,m),E=m.slice(h.commandIndex);if(h.match&&h.pathIndexP!==Ie)&&a.children[Ie]&&1===a.numberOfChildren&&0===a.children[Ie].segments.length){const P=fr(a.children[Ie],d,m);return new Kt(a.segments,P.children)}return Object.entries(h).forEach(([P,V])=>{"string"==typeof V&&(V=[V]),null!==V&&(E[P]=Mo(a.children[P],d,V))}),Object.entries(a.children).forEach(([P,V])=>{void 0===h[P]&&(E[P]=V)}),new Kt(a.segments,E)}}function Ho(a,d,m){const h=a.segments.slice(0,d);let E=0;for(;E{"string"==typeof h&&(h=[h]),null!==h&&(d[m]=Ho(new Kt([],{}),0,h))}),d}function xt(a){const d={};return Object.entries(a).forEach(([m,h])=>d[m]="".concat(h)),d}function zo(a,d,m){return a==m.path&&Ze(d,m.parameters)}const Sr="imperative";class fn{constructor(d,m){this.id=d,this.url=m}}class ir extends fn{constructor(d,m,h="imperative",E=null){super(d,m),this.type=0,this.navigationTrigger=h,this.restoredState=E}toString(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class Fr extends fn{constructor(d,m,h){super(d,m),this.urlAfterRedirects=h,this.type=1}toString(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}class nn extends fn{constructor(d,m,h,E){super(d,m),this.reason=h,this.code=E,this.type=2}toString(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class Wn extends fn{constructor(d,m,h,E){super(d,m),this.reason=h,this.code=E,this.type=16}}class lo extends fn{constructor(d,m,h,E){super(d,m),this.error=h,this.target=E,this.type=3}toString(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}class Vt extends fn{constructor(d,m,h,E){super(d,m),this.urlAfterRedirects=h,this.state=E,this.type=4}toString(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Go extends fn{constructor(d,m,h,E){super(d,m),this.urlAfterRedirects=h,this.state=E,this.type=7}toString(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Wo extends fn{constructor(d,m,h,E,P){super(d,m),this.urlAfterRedirects=h,this.state=E,this.shouldActivate=P,this.type=8}toString(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}class ri extends fn{constructor(d,m,h,E){super(d,m),this.urlAfterRedirects=h,this.state=E,this.type=5}toString(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class wo extends fn{constructor(d,m,h,E){super(d,m),this.urlAfterRedirects=h,this.state=E,this.type=6}toString(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class _i{constructor(d){this.route=d,this.type=9}toString(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}class Io{constructor(d){this.route=d,this.type=10}toString(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}class xi{constructor(d){this.snapshot=d,this.type=11}toString(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class er{constructor(d){this.snapshot=d,this.type=12}toString(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class ts{constructor(d){this.snapshot=d,this.type=13}toString(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class Di{constructor(d){this.snapshot=d,this.type=14}toString(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class br{}class mr{constructor(d){this.url=d}}class Li{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new uo,this.attachRef=null}}let uo=(()=>{var a;class d{constructor(){this.contexts=new Map}onChildOutletCreated(h,E){const P=this.getOrCreateContext(h);P.outlet=E,this.contexts.set(h,P)}onChildOutletDestroyed(h){const E=this.getContext(h);E&&(E.outlet=null,E.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let E=this.getContext(h);return E||(E=new Li,this.contexts.set(h,E)),E}getContext(h){return this.contexts.get(h)||null}}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),d})();class Ko{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const m=this.pathFromRoot(d);return m.length>1?m[m.length-2]:null}children(d){const m=So(d,this._root);return m?m.children.map(h=>h.value):[]}firstChild(d){const m=So(d,this._root);return m&&m.children.length>0?m.children[0].value:null}siblings(d){const m=Lr(d,this._root);return m.length<2?[]:m[m.length-2].children.map(E=>E.value).filter(E=>E!==d)}pathFromRoot(d){return Lr(d,this._root).map(m=>m.value)}}function So(a,d){if(a===d.value)return d;for(const m of d.children){const h=So(a,m);if(h)return h}return null}function Lr(a,d){if(a===d.value)return[d];for(const m of d.children){const h=Lr(a,m);if(h.length)return h.unshift(d),h}return[]}class tr{constructor(d,m){this.value=d,this.children=m}toString(){return"TreeNode(".concat(this.value,")")}}function Kn(a){const d={};return a&&a.children.forEach(m=>d[m.value.outlet]=m),d}class bo extends Ko{constructor(d,m){super(d),this.snapshot=m,co(this,d)}toString(){return this.snapshot.toString()}}function Fn(a,d){const m=function To(a,d){const V=new Tr([],{},{},"",{},Ie,d,null,{});return new kr("",new tr(V,[]))}(0,d),h=new te.X([new Xt("",{})]),E=new te.X({}),P=new te.X({}),V=new te.X({}),pe=new te.X(""),Ue=new Bt(h,E,V,pe,P,Ie,d,m.root);return Ue.snapshot=m.root,new bo(new tr(Ue,[]),m)}class Bt{constructor(d,m,h,E,P,V,pe,Ue){var De,Xe;this.urlSubject=d,this.paramsSubject=m,this.queryParamsSubject=h,this.fragmentSubject=E,this.dataSubject=P,this.outlet=V,this.component=pe,this._futureSnapshot=Ue,this.title=null!==(De=null===(Xe=this.dataSubject)||void 0===Xe?void 0:Xe.pipe((0,me.U)(Mt=>Mt[pt])))&&void 0!==De?De:(0,z.of)(void 0),this.url=d,this.params=m,this.queryParams=h,this.fragment=E,this.data=P}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._paramMap=this.params.pipe((0,me.U)(d=>Ht(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,me.U)(d=>Ht(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}function Yr(a,d,m="emptyOnly"){var h;let E;const{routeConfig:P}=a;var V;return E=null===d||"always"!==m&&""!==(null==P?void 0:P.path)&&(d.component||null!==(h=d.routeConfig)&&void 0!==h&&h.loadComponent)?{params:a.params,data:a.data,resolve:{...a.data,...null!==(V=a._resolvedData)&&void 0!==V?V:{}}}:{params:{...d.params,...a.params},data:{...d.data,...a.data},resolve:{...a.data,...d.data,...null==P?void 0:P.data,...a._resolvedData}},P&&vr(P)&&(E.resolve[pt]=P.title),E}class Tr{get title(){var d;return null===(d=this.data)||void 0===d?void 0:d[pt]}constructor(d,m,h,E,P,V,pe,Ue,De){this.url=d,this.params=m,this.queryParams=h,this.fragment=E,this.data=P,this.outlet=V,this.component=pe,this.routeConfig=Ue,this._resolve=De}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._paramMap=Ht(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ht(this.queryParams)),this._queryParamMap}toString(){const d=this.url.map(h=>h.toString()).join("/"),m=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(d,"', path:'").concat(m,"')")}}class kr extends Ko{constructor(d,m){super(m),this.url=d,co(this,m)}toString(){return oi(this._root)}}function co(a,d){d.value._routerState=a,d.children.forEach(m=>co(a,m))}function oi(a){const d=a.children.length>0?" { ".concat(a.children.map(oi).join(", ")," } "):"";return"".concat(a.value).concat(d)}function fo(a){if(a.snapshot){const d=a.snapshot,m=a._futureSnapshot;a.snapshot=m,Ze(d.queryParams,m.queryParams)||a.queryParamsSubject.next(m.queryParams),d.fragment!==m.fragment&&a.fragmentSubject.next(m.fragment),Ze(d.params,m.params)||a.paramsSubject.next(m.params),function rt(a,d){if(a.length!==d.length)return!1;for(let m=0;mZe(m.parameters,d[h].parameters))}(a.url,d.url);return m&&!(!a.parent!=!d.parent)&&(!a.parent||zn(a.parent,d.parent))}function vr(a){return"string"==typeof a.title||null===a.title}let Tn=(()=>{var a;class d{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ie,this.activateEvents=new b.vpe,this.deactivateEvents=new b.vpe,this.attachEvents=new b.vpe,this.detachEvents=new b.vpe,this.parentContexts=(0,b.f3M)(uo),this.location=(0,b.f3M)(b.s_b),this.changeDetector=(0,b.f3M)(b.sBO),this.environmentInjector=(0,b.f3M)(b.lqb),this.inputBinder=(0,b.f3M)(Ft,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(h){if(h.name){const{firstChange:E,previousValue:P}=h.name;if(E)return;this.isTrackedInParentContexts(P)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(P)),this.initializeOutletWithName()}}ngOnDestroy(){var h;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(h=this.inputBinder)||void 0===h||h.unsubscribeFromRouteData(this)}isTrackedInParentContexts(h){var E;return(null===(E=this.parentContexts.getContext(h))||void 0===E?void 0:E.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const h=this.parentContexts.getContext(this.name);null!=h&&h.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new b.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b.vHH(4012,!1);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,E){var P;this.activated=h,this._activatedRoute=E,this.location.insert(h.hostView),null===(P=this.inputBinder)||void 0===P||P.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,E){var P;if(this.isActivated)throw new b.vHH(4013,!1);this._activatedRoute=h;const V=this.location,Ue=h.snapshot.component,De=this.parentContexts.getOrCreateContext(this.name).children,Xe=new sr(h,De,V.injector);this.activated=V.createComponent(Ue,{index:V.length,injector:Xe,environmentInjector:null!=E?E:this.environmentInjector}),this.changeDetector.markForCheck(),null===(P=this.inputBinder)||void 0===P||P.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275dir=b.lG2({type:a,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[b.TTD]}),d})();class sr{constructor(d,m,h){this.route=d,this.childContexts=m,this.parent=h}get(d,m){return d===Bt?this.route:d===uo?this.childContexts:this.parent.get(d,m)}}const Ft=new b.OlP("");function Qr(a,d,m){if(m&&a.shouldReuseRoute(d.value,m.value.snapshot)){const h=m.value;h._futureSnapshot=d.value;const E=function Xr(a,d,m){return d.children.map(h=>{for(const E of m.children)if(a.shouldReuseRoute(h.value,E.value.snapshot))return Qr(a,h,E);return Qr(a,h)})}(a,d,m);return new tr(h,E)}{if(a.shouldAttach(d.value)){const P=a.retrieve(d.value);if(null!==P){const V=P.route;return V.value._futureSnapshot=d.value,V.children=d.children.map(pe=>Qr(a,pe)),V}}const h=function ho(a){return new Bt(new te.X(a.url),new te.X(a.params),new te.X(a.queryParams),new te.X(a.fragment),new te.X(a.data),a.outlet,a.component,a)}(d.value),E=d.children.map(P=>Qr(a,P));return new tr(h,E)}}const Oo="ngNavigationCancelingError";function qr(a,d){const{redirectTo:m,navigationBehaviorOptions:h}=Ir(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,E=Ei(!1,0,d);return E.url=m,E.navigationBehaviorOptions=h,E}function Ei(a,d,m){const h=new Error("NavigationCancelingError: "+(a||""));return h[Oo]=!0,h.cancellationCode=d,m&&(h.url=m),h}function Po(a){return a&&a[Oo]}let ii=(()=>{var a;class d{}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275cmp=b.Xpm({type:a,selectors:[["ng-component"]],standalone:!0,features:[b.jDz],decls:1,vars:0,template:function(h,E){1&h&&b._UZ(0,"router-outlet")},dependencies:[Tn],encapsulation:2}),d})();function yr(a){const d=a.children&&a.children.map(yr),m=d?{...a,children:d}:{...a};return!m.component&&!m.loadComponent&&(d||m.loadChildren)&&m.outlet&&m.outlet!==Ie&&(m.component=ii),m}function Yn(a){return a.outlet||Ie}function Br(a){var d;if(!a)return null;if(null!==(d=a.routeConfig)&&void 0!==d&&d._injector)return a.routeConfig._injector;for(let m=a.parent;m;m=m.parent){const h=m.routeConfig;if(null!=h&&h._loadedInjector)return h._loadedInjector;if(null!=h&&h._injector)return h._injector}return null}class Vi{constructor(d,m,h,E,P){this.routeReuseStrategy=d,this.futureState=m,this.currState=h,this.forwardEvent=E,this.inputBindingEnabled=P}activate(d){const m=this.futureState._root,h=this.currState?this.currState._root:null;this.deactivateChildRoutes(m,h,d),fo(this.futureState.root),this.activateChildRoutes(m,h,d)}deactivateChildRoutes(d,m,h){const E=Kn(m);d.children.forEach(P=>{const V=P.value.outlet;this.deactivateRoutes(P,E[V],h),delete E[V]}),Object.values(E).forEach(P=>{this.deactivateRouteAndItsChildren(P,h)})}deactivateRoutes(d,m,h){const E=d.value,P=m?m.value:null;if(E===P)if(E.component){const V=h.getContext(E.outlet);V&&this.deactivateChildRoutes(d,m,V.children)}else this.deactivateChildRoutes(d,m,h);else P&&this.deactivateRouteAndItsChildren(m,h)}deactivateRouteAndItsChildren(d,m){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,m):this.deactivateRouteAndOutlet(d,m)}detachAndStoreRouteSubtree(d,m){const h=m.getContext(d.value.outlet),E=h&&d.value.component?h.children:m,P=Kn(d);for(const V of Object.keys(P))this.deactivateRouteAndItsChildren(P[V],E);if(h&&h.outlet){const V=h.outlet.detach(),pe=h.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:V,route:d,contexts:pe})}}deactivateRouteAndOutlet(d,m){const h=m.getContext(d.value.outlet),E=h&&d.value.component?h.children:m,P=Kn(d);for(const V of Object.keys(P))this.deactivateRouteAndItsChildren(P[V],E);h&&(h.outlet&&(h.outlet.deactivate(),h.children.onOutletDeactivated()),h.attachRef=null,h.route=null)}activateChildRoutes(d,m,h){const E=Kn(m);d.children.forEach(P=>{this.activateRoutes(P,E[P.value.outlet],h),this.forwardEvent(new Di(P.value.snapshot))}),d.children.length&&this.forwardEvent(new er(d.value.snapshot))}activateRoutes(d,m,h){const E=d.value,P=m?m.value:null;if(fo(E),E===P)if(E.component){const V=h.getOrCreateContext(E.outlet);this.activateChildRoutes(d,m,V.children)}else this.activateChildRoutes(d,m,h);else if(E.component){const V=h.getOrCreateContext(E.outlet);if(this.routeReuseStrategy.shouldAttach(E.snapshot)){const pe=this.routeReuseStrategy.retrieve(E.snapshot);this.routeReuseStrategy.store(E.snapshot,null),V.children.onOutletReAttached(pe.contexts),V.attachRef=pe.componentRef,V.route=pe.route.value,V.outlet&&V.outlet.attach(pe.componentRef,pe.route.value),fo(pe.route.value),this.activateChildRoutes(d,null,V.children)}else{const pe=Br(E.snapshot);V.attachRef=null,V.route=E,V.injector=pe,V.outlet&&V.outlet.activateWith(E,V.injector),this.activateChildRoutes(d,null,V.children)}}else this.activateChildRoutes(d,null,h)}}class jr{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class Jr{constructor(d,m){this.component=d,this.route=m}}function At(a,d,m){const h=a._root;return ar(h,d?d._root:null,m,[h.value])}function An(a,d){const m=Symbol(),h=d.get(a,m);return h===m?"function"!=typeof a||(0,b.Z0I)(a)?d.get(a):a:h}function ar(a,d,m,h,E={canDeactivateChecks:[],canActivateChecks:[]}){const P=Kn(d);return a.children.forEach(V=>{(function Un(a,d,m,h,E={canDeactivateChecks:[],canActivateChecks:[]}){const P=a.value,V=d?d.value:null,pe=m?m.getContext(a.value.outlet):null;if(V&&P.routeConfig===V.routeConfig){const Ue=function F(a,d,m){if("function"==typeof m)return m(a,d);switch(m){case"pathParamsChange":return!Nt(a.url,d.url);case"pathParamsOrQueryParamsChange":return!Nt(a.url,d.url)||!Ze(a.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zn(a,d)||!Ze(a.queryParams,d.queryParams);default:return!zn(a,d)}}(V,P,P.routeConfig.runGuardsAndResolvers);Ue?E.canActivateChecks.push(new jr(h)):(P.data=V.data,P._resolvedData=V._resolvedData),ar(a,d,P.component?pe?pe.children:null:m,h,E),Ue&&pe&&pe.outlet&&pe.outlet.isActivated&&E.canDeactivateChecks.push(new Jr(pe.outlet.component,V))}else V&&c(d,pe,E),E.canActivateChecks.push(new jr(h)),ar(a,null,P.component?pe?pe.children:null:m,h,E)})(V,P[V.value.outlet],m,h.concat([V.value]),E),delete P[V.value.outlet]}),Object.entries(P).forEach(([V,pe])=>c(pe,m.getContext(V),E)),E}function c(a,d,m){const h=Kn(a),E=a.value;Object.entries(h).forEach(([P,V])=>{c(V,E.component?d?d.children.getContext(P):null:d,m)}),m.canDeactivateChecks.push(new Jr(E.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,E))}function g(a){return"function"==typeof a}function v(a){return a instanceof ue||"EmptyError"===(null==a?void 0:a.name)}const A=Symbol("INITIAL_VALUE");function C(){return(0,_e.w)(a=>(0,se.a)(a.map(d=>d.pipe((0,q.q)(1),(0,re.O)(A)))).pipe((0,me.U)(d=>{for(const m of d)if(!0!==m){if(m===A)return A;if(!1===m||m instanceof vn)return m}return!0}),(0,x.h)(d=>d!==A),(0,q.q)(1)))}function gn(a){return(0,Y.z)((0,ee.b)(d=>{if(Ir(d))throw qr(0,d)}),(0,me.U)(d=>!0===d))}class xo{constructor(d){this.segmentGroup=d||null}}class kn extends Error{constructor(d){super(),this.urlTree=d}}function Xn(a){return ye(new xo(a))}class Si{constructor(d,m){this.urlSerializer=d,this.urlTree=m}noMatchError(d){return new b.vHH(4002,!1)}lineralizeSegments(d,m){let h=[],E=m.root;for(;;){if(h=h.concat(E.segments),0===E.numberOfChildren)return(0,z.of)(h);if(E.numberOfChildren>1||!E.children[Ie])return ye(new b.vHH(4e3,!1));E=E.children[Ie]}}applyRedirectCommands(d,m,h){const E=this.applyRedirectCreateUrlTree(m,this.urlSerializer.parse(m),d,h);if(m.startsWith("/"))throw new kn(E);return E}applyRedirectCreateUrlTree(d,m,h,E){const P=this.createSegmentGroup(d,m.root,h,E);return new vn(P,this.createQueryParams(m.queryParams,this.urlTree.queryParams),m.fragment)}createQueryParams(d,m){const h={};return Object.entries(d).forEach(([E,P])=>{if("string"==typeof P&&P.startsWith(":")){const pe=P.substring(1);h[E]=m[pe]}else h[E]=P}),h}createSegmentGroup(d,m,h,E){const P=this.createSegments(d,m.segments,h,E);let V={};return Object.entries(m.children).forEach(([pe,Ue])=>{V[pe]=this.createSegmentGroup(d,Ue,h,E)}),new Kt(P,V)}createSegments(d,m,h,E){return m.map(P=>P.path.startsWith(":")?this.findPosParam(d,P,E):this.findOrReturn(P,h))}findPosParam(d,m,h){const E=h[m.path.substring(1)];if(!E)throw new b.vHH(4001,!1);return E}findOrReturn(d,m){let h=0;for(const E of m){if(E.path===d.path)return m.splice(h),E;h++}return d}}const ot={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function st(a,d,m,h,E){const P=gt(a,d,m);return P.matched?(h=function _n(a,d){var m;return a.providers&&!a._injector&&(a._injector=(0,b.MMx)(a.providers,d,"Route: ".concat(a.path))),null!==(m=a._injector)&&void 0!==m?m:d}(d,h),function Nn(a,d,m,h){const E=d.canMatch;if(!E||0===E.length)return(0,z.of)(!0);const P=E.map(V=>{const pe=An(V,a);return bt(function oe(a){return a&&g(a.canMatch)}(pe)?pe.canMatch(d,m):a.runInContext(()=>pe(d,m)))});return(0,z.of)(P).pipe(C(),gn())}(h,d,m).pipe((0,me.U)(V=>!0===V?P:{...ot}))):(0,z.of)(P)}function gt(a,d,m){var h,E;if(""===d.path)return"full"===d.pathMatch&&(a.hasChildren()||m.length>0)?{...ot}:{matched:!0,consumedSegments:[],remainingSegments:m,parameters:{},positionalParamSegments:{}};const V=(d.matcher||ze)(m,a,d);if(!V)return{...ot};const pe={};Object.entries(null!==(h=V.posParams)&&void 0!==h?h:{}).forEach(([De,Xe])=>{pe[De]=Xe.path});const Ue=V.consumed.length>0?{...pe,...V.consumed[V.consumed.length-1].parameters}:pe;return{matched:!0,consumedSegments:V.consumed,remainingSegments:m.slice(V.consumed.length),parameters:Ue,positionalParamSegments:null!==(E=V.posParams)&&void 0!==E?E:{}}}function Lt(a,d,m,h){return m.length>0&&function un(a,d,m){return m.some(h=>pn(a,d,h)&&Yn(h)!==Ie)}(a,m,h)?{segmentGroup:new Kt(d,ln(h,new Kt(m,a.children))),slicedSegments:[]}:0===m.length&&function En(a,d,m){return m.some(h=>pn(a,d,h))}(a,m,h)?{segmentGroup:new Kt(a.segments,Dn(a,0,m,h,a.children)),slicedSegments:m}:{segmentGroup:new Kt(a.segments,a.children),slicedSegments:m}}function Dn(a,d,m,h,E){const P={};for(const V of h)if(pn(a,m,V)&&!E[Yn(V)]){const pe=new Kt([],{});P[Yn(V)]=pe}return{...E,...P}}function ln(a,d){const m={};m[Ie]=d;for(const h of a)if(""===h.path&&Yn(h)!==Ie){const E=new Kt([],{});m[Yn(h)]=E}return m}function pn(a,d,m){return(!(a.hasChildren()||d.length>0)||"full"!==m.pathMatch)&&""===m.path}class Cn{}class bi{constructor(d,m,h,E,P,V,pe){this.injector=d,this.configLoader=m,this.rootComponentType=h,this.config=E,this.urlTree=P,this.paramsInheritanceStrategy=V,this.urlSerializer=pe,this.applyRedirects=new Si(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(d){return new b.vHH(4002,!1)}recognize(){const d=Lt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(d).pipe((0,me.U)(m=>{const h=new Tr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ie,this.rootComponentType,null,{}),E=new tr(h,m),P=new kr("",E),V=function jn(a,d,m=null,h=null){return jo(ht(a),d,m,h)}(h,[],this.urlTree.queryParams,this.urlTree.fragment);return V.queryParams=this.urlTree.queryParams,P.url=this.urlSerializer.serialize(V),this.inheritParamsAndData(P._root,null),{state:P,tree:V}}))}match(d){return this.processSegmentGroup(this.injector,this.config,d,Ie).pipe((0,fe.K)(h=>{if(h instanceof kn)return this.urlTree=h.urlTree,this.match(h.urlTree.root);throw h instanceof xo?this.noMatchError(h):h}))}inheritParamsAndData(d,m){const h=d.value,E=Yr(h,m,this.paramsInheritanceStrategy);h.params=Object.freeze(E.params),h.data=Object.freeze(E.data),d.children.forEach(P=>this.inheritParamsAndData(P,h))}processSegmentGroup(d,m,h,E){return 0===h.segments.length&&h.hasChildren()?this.processChildren(d,m,h):this.processSegment(d,m,h,h.segments,E,!0).pipe((0,me.U)(P=>P instanceof tr?[P]:[]))}processChildren(d,m,h){const E=[];for(const P of Object.keys(h.children))"primary"===P?E.unshift(P):E.push(P);return(0,H.D)(E).pipe(ve(P=>{const V=h.children[P],pe=function wi(a,d){const m=a.filter(h=>Yn(h)===d);return m.push(...a.filter(h=>Yn(h)!==d)),m}(m,P);return this.processSegmentGroup(d,pe,V,P)}),function Se(a,d){return(0,je.e)(function Te(a,d,m,h,E){return(P,V)=>{let pe=m,Ue=d,De=0;P.subscribe((0,Ke.x)(V,Xe=>{const Mt=De++;Ue=pe?a(Ue,Xe,Mt):(pe=!0,Xe),h&&V.next(Ue)},E&&(()=>{pe&&V.next(Ue),V.complete()})))}}(a,d,arguments.length>=2,!0))}((P,V)=>(P.push(...V),P)),Ve(null),function ke(a,d){const m=arguments.length>=2;return h=>h.pipe(a?(0,x.h)((E,P)=>a(E,P,h)):$e.y,Be(1),m?Ve(d):Ye(()=>new ue))}(),(0,ce.z)(P=>{if(null===P)return Xn(h);const V=Ia(P);return function ui(a){a.sort((d,m)=>d.value.outlet===Ie?-1:m.value.outlet===Ie?1:d.value.outlet.localeCompare(m.value.outlet))}(V),(0,z.of)(V)}))}processSegment(d,m,h,E,P,V){return(0,H.D)(m).pipe(ve(pe=>{var Ue;return this.processSegmentAgainstRoute(null!==(Ue=pe._injector)&&void 0!==Ue?Ue:d,m,pe,h,E,P,V).pipe((0,fe.K)(De=>{if(De instanceof xo)return(0,z.of)(null);throw De}))}),nt(pe=>!!pe),(0,fe.K)(pe=>{if(v(pe))return function li(a,d,m){return 0===d.length&&!a.children[m]}(h,E,P)?(0,z.of)(new Cn):Xn(h);throw pe}))}processSegmentAgainstRoute(d,m,h,E,P,V,pe){return function eo(a,d,m,h){return!!(Yn(a)===h||h!==Ie&&pn(d,m,a))&&("**"===a.path||gt(d,a,m).matched)}(h,E,P,V)?void 0===h.redirectTo?this.matchSegmentAgainstRoute(d,E,h,P,V):this.allowRedirects&&pe?this.expandSegmentAgainstRouteUsingRedirect(d,E,m,h,P,V):Xn(E):Xn(E)}expandSegmentAgainstRouteUsingRedirect(d,m,h,E,P,V){const{matched:pe,consumedSegments:Ue,positionalParamSegments:De,remainingSegments:Xe}="**"===E.path?Bi(P):gt(m,E,P);if(!pe)return Xn(m);E.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Mt=this.applyRedirects.applyRedirectCommands(Ue,E.redirectTo,De);return this.applyRedirects.lineralizeSegments(E,Mt).pipe((0,ce.z)(Pn=>this.processSegment(d,h,m,Pn.concat(Xe),V,!1)))}matchSegmentAgainstRoute(d,m,h,E,P){let V;return"**"===h.path?(V=(0,z.of)(Bi(E)),m.children={}):V=st(m,h,E,d),V.pipe((0,_e.w)(pe=>{var Ue;return pe.matched?(d=null!==(Ue=h._injector)&&void 0!==Ue?Ue:d,this.getChildConfig(d,h,E).pipe((0,_e.w)(({routes:De})=>{var Xe,Mt,Pn;const cn=null!==(Xe=h._loadedInjector)&&void 0!==Xe?Xe:d,{consumedSegments:$n,remainingSegments:ro,parameters:Vn}=pe,ls=new Tr($n,Vn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function _c(a){return a.data||{}}(h),Yn(h),null!==(Mt=null!==(Pn=h.component)&&void 0!==Pn?Pn:h._loadedComponent)&&void 0!==Mt?Mt:null,h,function Dc(a){return a.resolve||{}}(h)),{segmentGroup:zi,slicedSegments:Oi}=Lt(m,$n,ro,De);if(0===Oi.length&&zi.hasChildren())return this.processChildren(cn,De,zi).pipe((0,me.U)(Gi=>null===Gi?null:new tr(ls,Gi)));if(0===De.length&&0===Oi.length)return(0,z.of)(new tr(ls,[]));const Zc=Yn(h)===P;return this.processSegment(cn,De,zi,Oi,Zc?Ie:P,!0).pipe((0,me.U)(Gi=>new tr(ls,Gi instanceof tr?[Gi]:[])))}))):Xn(m)}))}getChildConfig(d,m,h){return m.children?(0,z.of)({routes:m.children,injector:d}):m.loadChildren?void 0!==m._loadedRoutes?(0,z.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):function Qn(a,d,m,h){const E=d.canLoad;if(void 0===E||0===E.length)return(0,z.of)(!0);const P=E.map(V=>{const pe=An(V,a);return bt(function T(a){return a&&g(a.canLoad)}(pe)?pe.canLoad(d,m):a.runInContext(()=>pe(d,m)))});return(0,z.of)(P).pipe(C(),gn())}(d,m,h).pipe((0,ce.z)(E=>E?this.configLoader.loadChildren(d,m).pipe((0,ee.b)(P=>{m._loadedRoutes=P.routes,m._loadedInjector=P.injector})):function go(a){return ye(Ei(!1,3))}())):(0,z.of)({routes:[],injector:d})}}function wa(a){const d=a.value.routeConfig;return d&&""===d.path}function Ia(a){const d=[],m=new Set;for(const h of a){if(!wa(h)){d.push(h);continue}const E=d.find(P=>h.value.routeConfig===P.value.routeConfig);void 0!==E?(E.children.push(...h.children),m.add(E)):d.push(h)}for(const h of m){const E=Ia(h.children);d.push(new tr(h.value,E))}return d.filter(h=>!m.has(h))}function Bi(a){return{matched:!0,parameters:a.length>0?Dt(a).parameters:{},consumedSegments:a,remainingSegments:[],positionalParamSegments:{}}}function p(a,d){return(0,ce.z)(m=>{const{targetSnapshot:h,guards:{canActivateChecks:E}}=m;if(!E.length)return(0,z.of)(m);const P=E.map(De=>De.route),V=new Set(P),pe=I(P[0].parent).slice(1);let Ue=0;return(0,H.D)(pe).pipe(ve(De=>V.has(De)?function $(a,d,m,h){const E=a.routeConfig,P=a._resolve;return void 0!==(null==E?void 0:E.title)&&!vr(E)&&(P[pt]=E.title),function M(a,d,m,h){const E=Rt(a);if(0===E.length)return(0,z.of)({});const P={};return(0,H.D)(E).pipe((0,ce.z)(V=>function k(a,d,m,h){var E;const P=null!==(E=Br(d))&&void 0!==E?E:h,V=An(a,P);return bt(V.resolve?V.resolve(d,m):P.runInContext(()=>V(d,m)))}(a[V],d,m,h).pipe(nt(),(0,ee.b)(pe=>{P[V]=pe}))),Be(1),(0,at.h)(P),(0,fe.K)(V=>v(V)?de.E:ye(V)))}(P,a,d,h).pipe((0,me.U)(V=>(a._resolvedData=V,a.data=Yr(a,a.parent,m).resolve,null)))}(De,h,a,d):(De.data=Yr(De,De.parent,a).resolve,(0,z.of)(void 0))),(0,ee.b)(()=>Ue++),Be(1),(0,ce.z)(De=>Ue===pe.length?(0,z.of)(m):de.E))})}function I(a){const d=a.children.map(m=>I(m)).flat();return[a,...d]}function K(a){return(0,_e.w)(d=>{const m=a(d);return m?(0,H.D)(m).pipe((0,me.U)(()=>d)):(0,z.of)(d)})}let Pe=(()=>{var a;class d{buildTitle(h){let E,P=h.root;for(;void 0!==P;){var V;E=null!==(V=this.getResolvedTitleForRoute(P))&&void 0!==V?V:E,P=P.children.find(pe=>pe.outlet===Ie)}return E}getResolvedTitleForRoute(h){return h.data[pt]}}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:()=>(0,b.f3M)(qe),providedIn:"root"}),d})(),qe=(()=>{var a;class d extends Pe{constructor(h){super(),this.title=h}updateTitle(h){const E=this.buildTitle(h);void 0!==E&&this.title.setTitle(E)}}return(a=d).\u0275fac=function(h){return new(h||a)(b.LFG(u.Dx))},a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),d})();const Ot=new b.OlP("",{providedIn:"root",factory:()=>({})}),Ut=new b.OlP("ROUTES");let Qt=(()=>{var a;class d{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,b.f3M)(b.Sil)}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,z.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const E=bt(h.loadComponent()).pipe((0,me.U)(mn),(0,ee.b)(V=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=V}),(0,_t.x)(()=>{this.componentLoaders.delete(h)})),P=new Ee(E,()=>new ae.x).pipe(Re());return this.componentLoaders.set(h,P),P}loadChildren(h,E){if(this.childrenLoaders.get(E))return this.childrenLoaders.get(E);if(E._loadedRoutes)return(0,z.of)({routes:E._loadedRoutes,injector:E._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(E);const V=function jt(a,d,m,h){return bt(a.loadChildren()).pipe((0,me.U)(mn),(0,ce.z)(E=>E instanceof b.YKP||Array.isArray(E)?(0,z.of)(E):(0,H.D)(d.compileModuleAsync(E))),(0,me.U)(E=>{h&&h(a);let P,V,pe=!1;return Array.isArray(E)?(V=E,!0):(P=E.create(m).injector,V=P.get(Ut,[],{optional:!0,self:!0}).flat()),{routes:V.map(yr),injector:P}}))}(E,this.compiler,h,this.onLoadEndListener).pipe((0,_t.x)(()=>{this.childrenLoaders.delete(E)})),pe=new Ee(V,()=>new ae.x).pipe(Re());return this.childrenLoaders.set(E,pe),pe}}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),d})();function mn(a){return function On(a){return a&&"object"==typeof a&&"default"in a}(a)?a.default:a}let Mn=(()=>{var a;class d{}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:()=>(0,b.f3M)(Fo),providedIn:"root"}),d})(),Fo=(()=>{var a;class d{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,E){return h}}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),d})();const Ar=new b.OlP("");let $r=(()=>{var a;class d{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ae.x,this.transitionAbortSubject=new ae.x,this.configLoader=(0,b.f3M)(Qt),this.environmentInjector=(0,b.f3M)(b.lqb),this.urlSerializer=(0,b.f3M)(Je),this.rootContexts=(0,b.f3M)(uo),this.location=(0,b.f3M)(N.Ye),this.inputBindingEnabled=null!==(0,b.f3M)(Ft,{optional:!0}),this.titleStrategy=(0,b.f3M)(Pe),this.options=(0,b.f3M)(Ot,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,b.f3M)(Mn),this.createViewTransition=(0,b.f3M)(Ar,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,z.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=P=>this.events.next(new Io(P)),this.configLoader.onLoadStartListener=P=>this.events.next(new _i(P))}complete(){var h;null===(h=this.transitions)||void 0===h||h.complete()}handleNavigationRequest(h){var E;const P=++this.navigationId;null===(E=this.transitions)||void 0===E||E.next({...this.transitions.value,...h,id:P})}setupNavigations(h,E,P){return this.transitions=new te.X({id:0,currentUrlTree:E,currentRawUrl:E,extractedUrl:this.urlHandlingStrategy.extract(E),urlAfterRedirects:this.urlHandlingStrategy.extract(E),rawUrl:E,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Sr,restoredState:null,currentSnapshot:P.snapshot,targetSnapshot:null,currentRouterState:P,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,x.h)(V=>0!==V.id),(0,me.U)(V=>({...V,extractedUrl:this.urlHandlingStrategy.extract(V.rawUrl)})),(0,_e.w)(V=>{this.currentTransition=V;let pe=!1,Ue=!1;return(0,z.of)(V).pipe((0,ee.b)(De=>{this.currentNavigation={id:De.id,initialUrl:De.rawUrl,extractedUrl:De.extractedUrl,trigger:De.source,extras:De.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,_e.w)(De=>{var Xe;const Mt=!h.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),Pn=null!==(Xe=De.extras.onSameUrlNavigation)&&void 0!==Xe?Xe:h.onSameUrlNavigation;if(!Mt&&"reload"!==Pn){const cn="";return this.events.next(new Wn(De.id,this.urlSerializer.serialize(De.rawUrl),cn,0)),De.resolve(null),de.E}if(this.urlHandlingStrategy.shouldProcessUrl(De.rawUrl))return(0,z.of)(De).pipe((0,_e.w)(cn=>{var $n,ro;const Vn=null===($n=this.transitions)||void 0===$n?void 0:$n.getValue();return this.events.next(new ir(cn.id,this.urlSerializer.serialize(cn.extractedUrl),cn.source,cn.restoredState)),Vn!==(null===(ro=this.transitions)||void 0===ro?void 0:ro.getValue())?de.E:Promise.resolve(cn)}),function Ec(a,d,m,h,E,P){return(0,ce.z)(V=>function to(a,d,m,h,E,P,V="emptyOnly"){return new bi(a,d,m,h,E,V,P).recognize()}(a,d,m,h,V.extractedUrl,E,P).pipe((0,me.U)(({state:pe,tree:Ue})=>({...V,targetSnapshot:pe,urlAfterRedirects:Ue}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,h.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,ee.b)(cn=>{V.targetSnapshot=cn.targetSnapshot,V.urlAfterRedirects=cn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:cn.urlAfterRedirects};const $n=new Vt(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next($n)}));if(Mt&&this.urlHandlingStrategy.shouldProcessUrl(De.currentRawUrl)){const{id:cn,extractedUrl:$n,source:ro,restoredState:Vn,extras:ls}=De,zi=new ir(cn,this.urlSerializer.serialize($n),ro,Vn);this.events.next(zi);const Oi=Fn(0,this.rootComponentType).snapshot;return this.currentTransition=V={...De,targetSnapshot:Oi,urlAfterRedirects:$n,extras:{...ls,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=$n,(0,z.of)(V)}{const cn="";return this.events.next(new Wn(De.id,this.urlSerializer.serialize(De.extractedUrl),cn,1)),De.resolve(null),de.E}}),(0,ee.b)(De=>{const Xe=new Go(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot);this.events.next(Xe)}),(0,me.U)(De=>(this.currentTransition=V={...De,guards:At(De.targetSnapshot,De.currentSnapshot,this.rootContexts)},V)),function R(a,d){return(0,ce.z)(m=>{const{targetSnapshot:h,currentSnapshot:E,guards:{canActivateChecks:P,canDeactivateChecks:V}}=m;return 0===V.length&&0===P.length?(0,z.of)({...m,guardsResult:!0}):function we(a,d,m,h){return(0,H.D)(a).pipe((0,ce.z)(E=>function Zn(a,d,m,h,E){const P=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,z.of)(!0);const V=P.map(pe=>{var Ue;const De=null!==(Ue=Br(d))&&void 0!==Ue?Ue:E,Xe=An(pe,De);return bt(function G(a){return a&&g(a.canDeactivate)}(Xe)?Xe.canDeactivate(a,d,m,h):De.runInContext(()=>Xe(a,d,m,h))).pipe(nt())});return(0,z.of)(V).pipe(C())}(E.component,E.route,m,d,h)),nt(E=>!0!==E,!0))}(V,h,E,a).pipe((0,ce.z)(pe=>pe&&function w(a){return"boolean"==typeof a}(pe)?function Ne(a,d,m,h){return(0,H.D)(d).pipe(ve(E=>(0,Q.z)(function on(a,d){return null!==a&&d&&d(new xi(a)),(0,z.of)(!0)}(E.route.parent,h),function Ct(a,d){return null!==a&&d&&d(new ts(a)),(0,z.of)(!0)}(E.route,h),function yt(a,d,m){const h=d[d.length-1],P=d.slice(0,d.length-1).reverse().map(V=>function Ln(a){const d=a.routeConfig?a.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:a,guards:d}:null}(V)).filter(V=>null!==V).map(V=>(0,j.P)(()=>{const pe=V.guards.map(Ue=>{var De;const Xe=null!==(De=Br(V.node))&&void 0!==De?De:m,Mt=An(Ue,Xe);return bt(function B(a){return a&&g(a.canActivateChild)}(Mt)?Mt.canActivateChild(h,a):Xe.runInContext(()=>Mt(h,a))).pipe(nt())});return(0,z.of)(pe).pipe(C())}));return(0,z.of)(P).pipe(C())}(a,E.path,m),function hn(a,d,m){const h=d.routeConfig?d.routeConfig.canActivate:null;if(!h||0===h.length)return(0,z.of)(!0);const E=h.map(P=>(0,j.P)(()=>{var V;const pe=null!==(V=Br(d))&&void 0!==V?V:m,Ue=An(P,pe);return bt(function L(a){return a&&g(a.canActivate)}(Ue)?Ue.canActivate(d,a):pe.runInContext(()=>Ue(d,a))).pipe(nt())}));return(0,z.of)(E).pipe(C())}(a,E.route,m))),nt(E=>!0!==E,!0))}(h,P,a,d):(0,z.of)(pe)),(0,me.U)(pe=>({...m,guardsResult:pe})))})}(this.environmentInjector,De=>this.events.next(De)),(0,ee.b)(De=>{if(V.guardsResult=De.guardsResult,Ir(De.guardsResult))throw qr(0,De.guardsResult);const Xe=new Wo(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot,!!De.guardsResult);this.events.next(Xe)}),(0,x.h)(De=>!!De.guardsResult||(this.cancelNavigationTransition(De,"",3),!1)),K(De=>{if(De.guards.canActivateChecks.length)return(0,z.of)(De).pipe((0,ee.b)(Xe=>{const Mt=new ri(Xe.id,this.urlSerializer.serialize(Xe.extractedUrl),this.urlSerializer.serialize(Xe.urlAfterRedirects),Xe.targetSnapshot);this.events.next(Mt)}),(0,_e.w)(Xe=>{let Mt=!1;return(0,z.of)(Xe).pipe(p(this.paramsInheritanceStrategy,this.environmentInjector),(0,ee.b)({next:()=>Mt=!0,complete:()=>{Mt||this.cancelNavigationTransition(Xe,"",2)}}))}),(0,ee.b)(Xe=>{const Mt=new wo(Xe.id,this.urlSerializer.serialize(Xe.extractedUrl),this.urlSerializer.serialize(Xe.urlAfterRedirects),Xe.targetSnapshot);this.events.next(Mt)}))}),K(De=>{const Xe=Mt=>{var Pn;const cn=[];null!==(Pn=Mt.routeConfig)&&void 0!==Pn&&Pn.loadComponent&&!Mt.routeConfig._loadedComponent&&cn.push(this.configLoader.loadComponent(Mt.routeConfig).pipe((0,ee.b)($n=>{Mt.component=$n}),(0,me.U)(()=>{})));for(const $n of Mt.children)cn.push(...Xe($n));return cn};return(0,se.a)(Xe(De.targetSnapshot.root)).pipe(Ve(),(0,q.q)(1))}),K(()=>this.afterPreactivation()),(0,_e.w)(()=>{var De;const{currentSnapshot:Xe,targetSnapshot:Mt}=V,Pn=null===(De=this.createViewTransition)||void 0===De?void 0:De.call(this,this.environmentInjector,Xe.root,Mt.root);return Pn?(0,H.D)(Pn).pipe((0,me.U)(()=>V)):(0,z.of)(V)}),(0,me.U)(De=>{const Xe=function Ao(a,d,m){const h=Qr(a,d._root,m?m._root:void 0);return new bo(h,d)}(h.routeReuseStrategy,De.targetSnapshot,De.currentRouterState);return this.currentTransition=V={...De,targetRouterState:Xe},this.currentNavigation.targetRouterState=Xe,V}),(0,ee.b)(()=>{this.events.next(new br)}),((a,d,m,h)=>(0,me.U)(E=>(new Vi(d,E.targetRouterState,E.currentRouterState,m,h).activate(a),E)))(this.rootContexts,h.routeReuseStrategy,De=>this.events.next(De),this.inputBindingEnabled),(0,q.q)(1),(0,ee.b)({next:De=>{var Xe;pe=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Fr(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects))),null===(Xe=this.titleStrategy)||void 0===Xe||Xe.updateTitle(De.targetRouterState.snapshot),De.resolve(!0)},complete:()=>{pe=!0}}),(0,dn.R)(this.transitionAbortSubject.pipe((0,ee.b)(De=>{throw De}))),(0,_t.x)(()=>{var De;pe||Ue||this.cancelNavigationTransition(V,"",1),(null===(De=this.currentNavigation)||void 0===De?void 0:De.id)===V.id&&(this.currentNavigation=null)}),(0,fe.K)(De=>{if(Ue=!0,Po(De))this.events.next(new nn(V.id,this.urlSerializer.serialize(V.extractedUrl),De.message,De.cancellationCode)),function Ci(a){return Po(a)&&Ir(a.url)}(De)?this.events.next(new mr(De.url)):V.resolve(!1);else{var Xe;this.events.next(new lo(V.id,this.urlSerializer.serialize(V.extractedUrl),De,null!==(Xe=V.targetSnapshot)&&void 0!==Xe?Xe:void 0));try{V.resolve(h.errorHandler(De))}catch(Mt){V.reject(Mt)}}return de.E}))}))}cancelNavigationTransition(h,E,P){const V=new nn(h.id,this.urlSerializer.serialize(h.extractedUrl),E,P);this.events.next(V),h.resolve(!1)}isUpdatingInternalState(){var h,E;return(null===(h=this.currentTransition)||void 0===h?void 0:h.extractedUrl.toString())!==(null===(E=this.currentTransition)||void 0===E?void 0:E.currentUrlTree.toString())}isUpdatedBrowserUrl(){var h,E;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==(null===(h=this.currentTransition)||void 0===h?void 0:h.extractedUrl.toString())&&!(null!==(E=this.currentTransition)&&void 0!==E&&E.extras.skipLocationChange)}}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),d})();function Zo(a){return a!==Sr}let Cc=(()=>{var a;class d{}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:()=>(0,b.f3M)(Mc),providedIn:"root"}),d})();class ba{shouldDetach(d){return!1}store(d,m){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,m){return d.routeConfig===m.routeConfig}}let Mc=(()=>{var a;class d extends ba{}return(a=d).\u0275fac=(()=>{let m;return function(E){return(m||(m=b.n5z(a)))(E||a)}})(),a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),d})(),mo=(()=>{var a;class d{}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:()=>(0,b.f3M)(kl),providedIn:"root"}),d})(),kl=(()=>{var a;class d extends mo{constructor(){super(...arguments),this.location=(0,b.f3M)(N.Ye),this.urlSerializer=(0,b.f3M)(Je),this.options=(0,b.f3M)(Ot,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,b.f3M)(Mn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Fn(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var h,E;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(h=null===(E=this.restoredState())||void 0===E?void 0:E.\u0275routerPageId)&&void 0!==h?h:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(h){return this.location.subscribe(E=>{"popstate"===E.type&&h(E.url,E.state)})}handleRouterEvent(h,E){if(h instanceof ir)this.stateMemento=this.createStateMemento();else if(h instanceof Wn)this.rawUrlTree=E.initialUrl;else if(h instanceof Vt){if("eager"===this.urlUpdateStrategy&&!E.extras.skipLocationChange){const P=this.urlHandlingStrategy.merge(E.finalUrl,E.initialUrl);this.setBrowserUrl(P,E)}}else h instanceof br?(this.currentUrlTree=E.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(E.finalUrl,E.initialUrl),this.routerState=E.targetRouterState,"deferred"===this.urlUpdateStrategy&&(E.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,E))):h instanceof nn&&(3===h.code||2===h.code)?this.restoreHistory(E):h instanceof lo?this.restoreHistory(E,!0):h instanceof Fr&&(this.lastSuccessfulId=h.id,this.currentPageId=this.browserPageId)}setBrowserUrl(h,E){const P=this.urlSerializer.serialize(h);if(this.location.isCurrentPathEqualTo(P)||E.extras.replaceUrl){const pe={...E.extras.state,...this.generateNgRouterState(E.id,this.browserPageId)};this.location.replaceState(P,"",pe)}else{const V={...E.extras.state,...this.generateNgRouterState(E.id,this.browserPageId+1)};this.location.go(P,"",V)}}restoreHistory(h,E=!1){if("computed"===this.canceledNavigationResolution){const V=this.currentPageId-this.browserPageId;0!==V?this.location.historyGo(V):this.currentUrlTree===h.finalUrl&&0===V&&(this.resetState(h),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(E&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){var E;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(E=h.finalUrl)&&void 0!==E?E:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(h,E){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:E}:{navigationId:h}}}return(a=d).\u0275fac=(()=>{let m;return function(E){return(m||(m=b.n5z(a)))(E||a)}})(),a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),d})();var ji=function(a){return a[a.COMPLETE=0]="COMPLETE",a[a.FAILED=1]="FAILED",a[a.REDIRECTING=2]="REDIRECTING",a}(ji||{});function Ta(a){throw a}const rs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Er={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Qo=(()=>{var a;class d{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var h,E;this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,b.f3M)(b.c2e),this.stateManager=(0,b.f3M)(mo),this.options=(0,b.f3M)(Ot,{optional:!0})||{},this.pendingTasks=(0,b.f3M)(b.HDt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,b.f3M)($r),this.urlSerializer=(0,b.f3M)(Je),this.location=(0,b.f3M)(N.Ye),this.urlHandlingStrategy=(0,b.f3M)(Mn),this._events=new ae.x,this.errorHandler=this.options.errorHandler||Ta,this.navigated=!1,this.routeReuseStrategy=(0,b.f3M)(Cc),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(h=null===(E=(0,b.f3M)(Ut,{optional:!0}))||void 0===E?void 0:E.flat())&&void 0!==h?h:[],this.componentInputBindingEnabled=!!(0,b.f3M)(Ft,{optional:!0}),this.eventsSubscription=new be.w0,this.isNgZoneEnabled=(0,b.f3M)(b.R0b)instanceof b.R0b&&b.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:P=>{this.console.warn(P)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const h=this.navigationTransitions.events.subscribe(E=>{try{const P=this.navigationTransitions.currentTransition,V=this.navigationTransitions.currentNavigation;if(null!==P&&null!==V)if(this.stateManager.handleRouterEvent(E,V),E instanceof nn&&0!==E.code&&1!==E.code)this.navigated=!0;else if(E instanceof Fr)this.navigated=!0;else if(E instanceof mr){const pe=this.urlHandlingStrategy.merge(E.url,P.currentRawUrl),Ue={skipLocationChange:P.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Zo(P.source)};this.scheduleNavigation(pe,Sr,null,Ue,{resolve:P.resolve,reject:P.reject,promise:P.promise})}(function Ui(a){return!(a instanceof br||a instanceof mr)})(E)&&this._events.next(E)}catch(P){this.navigationTransitions.transitionAbortSubject.next(P)}});this.eventsSubscription.add(h)}resetRootComponentType(h){this.routerState.root.component=h,this.navigationTransitions.rootComponentType=h}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Sr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((h,E)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(h,"popstate",E)},0)}))}navigateToSyncWithBrowser(h,E,P){const V={replaceUrl:!0},pe=null!=P&&P.navigationId?P:null;if(P){const De={...P};delete De.navigationId,delete De.\u0275routerPageId,0!==Object.keys(De).length&&(V.state=De)}const Ue=this.parseUrl(h);this.scheduleNavigation(Ue,E,pe,V)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(h){this.config=h.map(yr),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(h,E={}){const{relativeTo:P,queryParams:V,fragment:pe,queryParamsHandling:Ue,preserveFragment:De}=E,Xe=De?this.currentUrlTree.fragment:pe;let Pn,Mt=null;switch(Ue){case"merge":Mt={...this.currentUrlTree.queryParams,...V};break;case"preserve":Mt=this.currentUrlTree.queryParams;break;default:Mt=V||null}null!==Mt&&(Mt=this.removeEmptyProps(Mt));try{Pn=ht(P?P.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof h[0]||!h[0].startsWith("/"))&&(h=[]),Pn=this.currentUrlTree.root}return jo(Pn,h,Mt,null!=Xe?Xe:null)}navigateByUrl(h,E={skipLocationChange:!1}){const P=Ir(h)?h:this.parseUrl(h),V=this.urlHandlingStrategy.merge(P,this.rawUrlTree);return this.scheduleNavigation(V,Sr,null,E)}navigate(h,E={skipLocationChange:!1}){return function os(a){for(let d=0;d{const V=h[P];return null!=V&&(E[P]=V),E},{})}scheduleNavigation(h,E,P,V,pe){if(this.disposed)return Promise.resolve(!1);let Ue,De,Xe;pe?(Ue=pe.resolve,De=pe.reject,Xe=pe.promise):Xe=new Promise((Pn,cn)=>{Ue=Pn,De=cn});const Mt=this.pendingTasks.add();return function wn(a,d){a.events.pipe((0,x.h)(m=>m instanceof Fr||m instanceof nn||m instanceof lo||m instanceof Wn),(0,me.U)(m=>m instanceof Fr||m instanceof Wn?ji.COMPLETE:m instanceof nn&&(0===m.code||1===m.code)?ji.REDIRECTING:ji.FAILED),(0,x.h)(m=>m!==ji.REDIRECTING),(0,q.q)(1)).subscribe(()=>{d()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Mt))}),this.navigationTransitions.handleNavigationRequest({source:E,restoredState:P,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:h,extras:V,resolve:Ue,reject:De,promise:Xe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Xe.catch(Pn=>Promise.reject(Pn))}}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),d})();const Cs=new b.OlP("");function is(a){return a.routerState.root}function Vl(){const a=(0,b.f3M)(b.zs3);return d=>{var m,h;const E=a.get(b.z2F);if(d!==E.components[0])return;const P=a.get(Qo),V=a.get(Bl);1===a.get(ws)&&P.initialNavigation(),null===(m=a.get(jl,null,b.XFs.Optional))||void 0===m||m.setUpPreloading(),null===(h=a.get(Cs,null,b.XFs.Optional))||void 0===h||h.init(),P.resetRootComponentType(E.componentTypes[0]),V.closed||(V.next(),V.complete(),V.unsubscribe())}}const Bl=new b.OlP("",{factory:()=>new ae.x}),ws=new b.OlP("",{providedIn:"root",factory:()=>1}),jl=new b.OlP("");let Lc=(()=>{var a;class d{}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275cmp=b.Xpm({type:a,selectors:[["app"]],standalone:!0,features:[b.jDz],decls:1,vars:0,template:function(h,E){1&h&&b._UZ(0,"router-outlet")},dependencies:[N.ez,Tn],encapsulation:2,changeDetection:0}),d})();var Or=_(1190);let Pa=(()=>{var a;class d extends Or.Th{constructor(h,E,P,V){super(h,E,P)}ngOnDestroy(){this.flush()}}return(a=d).\u0275fac=function(h){return new(h||a)(b.LFG(N.K0),b.LFG(Or.Vi),b.LFG(Or.NH),b.LFG(b.z2F))},a.\u0275prov=b.Yz7({token:a,factory:a.\u0275fac}),d})();const zl=[{provide:Or.NH,useFactory:function Hl(){return new Or.Ar}},{provide:Or.Th,useClass:Pa},{provide:b.FYo,useFactory:function Ra(a,d,m){return new Or.s$(a,d,m)},deps:[u.se,Or.Th,b.R0b]}],Ss=[{provide:Or.Vi,useFactory:()=>new Or.DT},{provide:b.QbO,useValue:"BrowserAnimations"},...zl],bs=[{provide:Or.Vi,useClass:Or.cB},{provide:b.QbO,useValue:"NoopAnimations"},...zl];let Gl=(()=>{var a;class d{static withConfig(h){return{ngModule:d,providers:h.disableAnimations?bs:Ss}}}return(a=d).\u0275fac=function(h){return new(h||a)},a.\u0275mod=b.oAB({type:a}),a.\u0275inj=b.cJS({providers:Ss,imports:[u.b2]}),d})();var Na=_(5180),Bc=_(214),pr=_(9167),Ti=_(2106);let Kl=(()=>{class a{}return a.\u0275fac=function(m){return new(m||a)},a.\u0275mod=b.oAB({type:a}),a.\u0275inj=b.cJS({}),a})();var Yl=_(1860),xa=_(4478);(0,Bc.JN)((0,z.of)(!1));let Ts=(()=>{class a{}return a.\u0275fac=function(m){return new(m||a)},a.\u0275mod=b.oAB({type:a}),a.\u0275inj=b.cJS({imports:[[N.ez,xa.wq,Ti.e,Kl,Yl.WD,pr.eI]]}),a})();var Va=_(1366);let Hi=(()=>{class a{}return a.\u0275fac=function(m){return new(m||a)},a.\u0275mod=b.oAB({type:a}),a.\u0275inj=b.cJS({imports:[[N.ez,Va.I]]}),a})(),zc=(()=>{class a{}return a.\u0275fac=function(m){return new(m||a)},a.\u0275mod=b.oAB({type:a}),a.\u0275inj=b.cJS({imports:[[N.ez,Yl.WD]]}),a})();var Uh=_(295);let as=(()=>{class a{}return a.\u0275fac=function(m){return new(m||a)},a.\u0275mod=b.oAB({type:a}),a.\u0275inj=b.cJS({imports:[[N.ez,xa.wq,Uh.A]]}),a})();var Ua=_(9005);let Kc=(()=>{class a{}return a.\u0275fac=function(m){return new(m||a)},a.\u0275mod=b.oAB({type:a}),a.\u0275inj=b.cJS({imports:[[N.ez,Ua.X1,Na.mL,zc,as,Ts,Hi,pr.eI]]}),a})();function vo(a,d,m,h,E,P,V){try{var pe=a[P](V),Ue=pe.value}catch(De){return void m(De)}pe.done?d(Ue):Promise.resolve(Ue).then(h,E)}const Os=[{path:"",loadComponent:(a=function Yc(a){return function(){var d=this,m=arguments;return new Promise(function(h,E){var P=a.apply(d,m);function V(Ue){vo(P,h,E,V,pe,"next",Ue)}function pe(Ue){vo(P,h,E,V,pe,"throw",Ue)}V(void 0)})}}(function*(){return(yield _.e(226).then(_.bind(_,5226))).HomeComponent}),function(){return a.apply(this,arguments)})}],Ha={providers:[function Wl(){return[...Ss]}(),function Ms(a,...d){return(0,b.MR2)([{provide:Ut,multi:!0,useValue:a},[],{provide:Bt,useFactory:is,deps:[Qo]},{provide:b.tb,multi:!0,useFactory:Vl},d.map(m=>m.\u0275providers)])}(Os),(0,b.RIp)(u.b2,Gl,Kc)]};var a;(0,u.Cg)(Lc,Ha).catch(a=>console.error(a))},7786:(Ge,le,_)=>{_.d(le,{KS:()=>Ee,L1:()=>Q,m9:()=>se,s5:()=>be,ux:()=>W,yZ:()=>re});var u=_(1582),N=_(1145),b=_(3276),Z=_(9853),H=_(1553),z=_(5990),te=_(8777),he=_(4213),ue=_(3223);const se=new u.OlP("An abstraction over global window object",{factory:()=>{const{defaultView:x}=(0,u.f3M)(ue.K0);if(!x)throw new Error("Window is not available");return x}}),Q=new u.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:x,cancelAnimationFrame:ce}=(0,u.f3M)(se);return new N.y(Ye=>{let mt=NaN;const $e=nt=>{Ye.next(nt),mt=x($e)};return mt=x($e),()=>{ce(mt)}}).pipe((0,Z.B)())}}),W=(new u.OlP("An abstraction over window.caches object",{factory:()=>(0,u.f3M)(se).caches}),new u.OlP("An abstraction over window.crypto object",{factory:()=>(0,u.f3M)(se).crypto}),new u.OlP("An abstraction over window.CSS object",{factory:()=>(0,u.f3M)(se).CSS||{escape:x=>x,supports:()=>!1}})),be=(new u.OlP("An abstraction over window.history object",{factory:()=>(0,u.f3M)(se).history}),new u.OlP("An abstraction over window.localStorage object",{factory:()=>(0,u.f3M)(se).localStorage}),new u.OlP("An abstraction over window.location object",{factory:()=>(0,u.f3M)(se).location}),new u.OlP("An abstraction over window.navigator object",{factory:()=>(0,u.f3M)(se).navigator})),Ee=(new u.OlP("An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,u.f3M)(be).mediaDevices}),new u.OlP("An abstraction over window.navigator.connection object",{factory:()=>(0,u.f3M)(be).connection||null}),new u.OlP("Shared Observable based on `document visibility changed`",{factory:()=>{const x=(0,u.f3M)(ue.K0);return(0,b.R)(x,"visibilitychange").pipe((0,H.O)(0),(0,z.U)(()=>"hidden"!==x.visibilityState),(0,te.x)(),(0,he.d)({refCount:!1,bufferSize:1}))}}),new u.OlP("An abstraction over window.performance object",{factory:()=>(0,u.f3M)(se).performance})),re=(new u.OlP("An abstraction over window.screen object",{factory:()=>(0,u.f3M)(se).screen}),new u.OlP("An abstraction over window.sessionStorage object",{factory:()=>(0,u.f3M)(se).sessionStorage}),new u.OlP("An abstraction over SpeechRecognition class",{factory:()=>{const x=(0,u.f3M)(se);return x.speechRecognition||x.webkitSpeechRecognition||null}}),new u.OlP("An abstraction over window.speechSynthesis object",{factory:()=>(0,u.f3M)(se).speechSynthesis}),new u.OlP("An abstraction over window.navigator.userAgent object",{factory:()=>(0,u.f3M)(be).userAgent}))},7780:(Ge,le,_)=>{_.d(le,{F9:()=>ce,M$:()=>ae,N9:()=>Ve,QJ:()=>_e,Xn:()=>Re,d5:()=>q,m6:()=>x,wB:()=>me});var u=_(1582),N=_(3543),Z=(_(7354),_(9979)),H=_(214),z=_(5992),te=_(3506),he=_(1145),ue=_(8626),se=_(2506),Q=_(1553),j=_(5990),Y=_(9735),W=_(8777),ne=_(3318),ye=_(7701),de=_(4960),be=_(5553);let Re=(()=>{class $e{constructor(){this.pseudoHover=null,this.pseudoActive=null,this.pseudoFocus=null,this.focusable=!0,this.nativeId="",this.focusedChange=new u.vpe,this.focusVisibleChange=new u.vpe,this.focusVisible=!1,this.autoIdString="".concat("tui_interactive_").concat($e.autoId++).concat(Date.now())}get computedDisabled(){return this.disabled}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}get computedFocused(){var ve;return!this.computedDisabled&&(null!==(ve=this.pseudoFocus)&&void 0!==ve?ve:this.focused)}get computedFocusVisible(){var ve;return!this.computedDisabled&&(null!==(ve=this.pseudoFocus)&&void 0!==ve?ve:this.focusVisible)}get id(){return this.nativeId||this.autoIdString}updateFocused(ve){this.focusedChange.emit(ve)}updateFocusVisible(ve){this.focusVisible!==ve&&(this.focusVisible=ve,this.focusVisibleChange.emit(ve))}}return $e.autoId=0,$e.\u0275fac=function(ve){return new(ve||$e)},$e.\u0275dir=u.lG2({type:$e,hostVars:7,hostBindings:function(ve,ee){2&ve&&(u.uIk("data-focused",ee.pseudoFocus),u.ekj("_disabled",ee.computedDisabled)("_focused",ee.computedFocused)("_focus-visible",ee.computedFocusVisible))},inputs:{pseudoHover:"pseudoHover",pseudoActive:"pseudoActive",pseudoFocus:"pseudoFocus",focusable:"focusable",nativeId:"nativeId"},outputs:{focusedChange:"focusedChange",focusVisibleChange:"focusVisibleChange"}}),$e})();class Ee{}let ae=(()=>{class $e extends Re{constructor(ve,ee,fe){super(),this.ngControl=ve,this.cdr=ee,this.valueTransformer=fe,this.refresh$=new z.x,this.onTouched=Z.iD,this.onChange=Z.iD,this.fallbackValue=this.getFallbackValue(),this.destroy$=new z.x,this.readOnly=!1,this.pseudoInvalid=null,this.ngControl&&(this.ngControl.valueAccessor=this)}get computedInvalid(){return this.interactive&&(null!==this.pseudoInvalid?this.pseudoInvalid:this.touched&&this.invalid)}get value(){var ve;return null!==(ve=this.previousInternalValue)&&void 0!==ve?ve:this.fallbackValue}set value(ve){this.updateValue(ve)}get safeCurrentValue(){var ve;return null!==(ve=this.rawValue)&&void 0!==ve?ve:this.fallbackValue}get invalid(){return this.safeNgControlData(({invalid:ve})=>ve,!1)}get valid(){return this.safeNgControlData(({valid:ve})=>ve,!1)}get touched(){return this.safeNgControlData(({touched:ve})=>ve,!1)}get disabled(){return this.safeNgControlData(({disabled:ve})=>ve,!1)}get interactive(){return!this.readOnly&&!this.computedDisabled}get control(){return this.safeNgControlData(({control:ve})=>ve,null)}get computedName(){var ve,ee;return null!==(ee=null===(ve=this.controlName)||void 0===ve?void 0:ve.toString())&&void 0!==ee?ee:null}get controlName(){var ve,ee,fe;return null!==(fe=null===(ee=null===(ve=this.ngControl)||void 0===ve?void 0:ve.name)||void 0===ee?void 0:ee.toString())&&void 0!==fe?fe:null}get rawValue(){const{ngControl:ve}=this;if(null!==ve)return this.fromControlValue(ve instanceof N.On&&void 0===this.previousInternalValue?ve.viewModel:ve.value)}ngOnInit(){this.refresh$.pipe((0,se.g)(0),(0,Q.O)(null),(0,j.U)(()=>{var ve;return null===(ve=this.ngControl)||void 0===ve?void 0:ve.control}),(0,Y.h)(H.Pc),(0,W.x)(),(0,ne.w)(ve=>(0,te.T)(ve.valueChanges,ve.statusChanges)),(0,ye.R)(this.destroy$)).subscribe(()=>{this.refreshLocalValue(this.safeCurrentValue)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(ve){this.onChange=ee=>{ve(this.toControlValue(ee))},this.refresh$.next()}registerOnTouched(ve){this.onTouched=ve}setDisabledState(){this.checkControlUpdate()}writeValue(ve){this.refreshLocalValue(this.fromControlValue(this.ngControl instanceof N.On&&void 0===this.previousInternalValue?this.ngControl.model:ve))}updateFocused(ve){ve||this.controlMarkAsTouched(),super.updateFocused(ve)}updateValue(ve){this.disabled||this.valueIdenticalComparator(this.value,ve)||(this.previousInternalValue=ve,this.controlSetValue(ve))}valueIdenticalComparator(ve,ee){return ve===ee}safeNgControlData(ve,ee){var fe;return null!==(fe=this.ngControl&&ve(this.ngControl))&&void 0!==fe?fe:ee}controlMarkAsTouched(){this.onTouched(),this.checkControlUpdate()}controlSetValue(ve){this.onChange(ve),this.checkControlUpdate()}refreshLocalValue(ve){this.previousInternalValue=ve,this.checkControlUpdate()}fromControlValue(ve){return this.valueTransformer?this.valueTransformer.fromControlValue(ve):ve}toControlValue(ve){return this.valueTransformer?this.valueTransformer.toControlValue(ve):ve}}return $e.\u0275fac=function(ve){return new(ve||$e)(u.Y36(N.a5,8),u.Y36(u.sBO),u.Y36(Ee,8))},$e.\u0275dir=u.lG2({type:$e,hostVars:4,hostBindings:function(ve,ee){2&ve&&u.ekj("_readonly",ee.readOnly)("_invalid",ee.computedInvalid)},inputs:{readOnly:"readOnly",pseudoInvalid:"pseudoInvalid"},features:[u.qOj]}),$e})();function me($e){return{provide:ae,useExisting:$e}}let _e=(()=>{class $e{constructor(){this.change$=new z.x}ngOnChanges(){this.change$.next()}}return $e.\u0275fac=function(ve){return new(ve||$e)},$e.\u0275dir=u.lG2({type:$e,features:[u.TTD]}),$e})(),q=(()=>{class $e extends he.y{constructor(ve){super(ee=>this.dialogs$.subscribe(ee)),this.idService=ve,this.dialogs$=new ue.X([])}open(ve,ee={}){return new he.y(fe=>{const Se=Object.assign(Object.assign(Object.assign({},this.defaultOptions),ee),{content:ve,completeWith:Be=>{fe.next(Be),fe.complete()},$implicit:fe,component:this.component,createdAt:Date.now(),id:this.idService.generate()});return this.dialogs$.next([...this.dialogs$.value,Se]),()=>{this.dialogs$.next(this.dialogs$.value.filter(Be=>Be!==Se))}})}}return $e.\u0275fac=function(ve){return new(ve||$e)(u.LFG(de.ll))},$e.\u0275prov=u.Yz7({token:$e,factory:$e.\u0275fac}),$e})(),x=(()=>{class $e extends ae{clear(){this.value=[]}getFallbackValue(){return[]}}return $e.\u0275fac=(()=>{let nt;return function(ee){return(nt||(nt=u.n5z($e)))(ee||$e)}})(),$e.\u0275dir=u.lG2({type:$e,features:[u.qOj]}),$e})(),ce=(()=>{class $e extends ae{getFallbackValue(){return null}}return $e.\u0275fac=(()=>{let nt;return function(ee){return(nt||(nt=u.n5z($e)))(ee||$e)}})(),$e.\u0275dir=u.lG2({type:$e,features:[u.qOj]}),$e})(),Ve=(()=>{class $e{get safeHost(){if(!this.host)throw new be.ZB;return this.host}attach(ve){this.host=ve}add(ve){return this.safeHost.addComponentChild(ve)}remove({hostView:ve}){ve.destroy()}addTemplate(ve,ee){return this.safeHost.addTemplateChild(ve,ee)}removeTemplate(ve){ve.destroy()}}return $e.\u0275fac=function(ve){return new(ve||$e)},$e.\u0275prov=u.Yz7({token:$e,factory:$e.\u0275fac}),$e})()},7354:(Ge,le,_)=>{_.d(le,{z:()=>N});var u=_(9979);const N={enabled:!1,get assert(){return u.iD}}},5180:(Ge,le,_)=>{_.d(le,{ae:()=>Z,mL:()=>z});var u=_(1582),N=_(7780);let Z=(()=>{class te extends N.N9{}return te.\u0275fac=(()=>{let he;return function(se){return(he||(he=u.n5z(te)))(se||te)}})(),te.\u0275prov=u.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),z=(()=>{class te{}return te.\u0275fac=function(ue){return new(ue||te)},te.\u0275mod=u.oAB({type:te}),te.\u0275inj=u.cJS({}),te})()},9167:(Ge,le,_)=>{_.d(le,{eI:()=>_e,tZ:()=>Ee});var u=_(1582),N=_(7786),b=_(3014),Z=_(2925),H=_(5990),z=_(3318),te=_(7701),he=_(4354),ue=_(1553),se=_(8777),Q=_(3223),j=_(9979),Y=_(4960),W=_(3506);function ne(q,re){if(1&q&&(u.TgZ(0,"div",3),u._UZ(1,"div",4),u.qZA()),2&q){const x=u.oxw().ngIf;u.ekj("t-bar_has-horizontal",x[1])}}function ye(q,re){if(1&q&&(u.TgZ(0,"div",5),u._UZ(1,"div",6),u.qZA()),2&q){const x=u.oxw().ngIf;u.ekj("t-bar_has-vertical",x[0])}}function de(q,re){if(1&q&&(u.ynx(0),u.YNc(1,ne,2,2,"div",1)(2,ye,2,2,"div",2),u.BQk()),2&q){const x=re.ngIf;u.xp6(1),u.Q6J("ngIf",x[0]),u.xp6(1),u.Q6J("ngIf",x[1])}}let je=(()=>{class q{constructor(x,ce,Ve,Ye,mt,$e){this.container=Ye,this.doc=mt,this.el=$e,this.tuiScrollbar="vertical";const{nativeElement:nt}=this.el,ve=(0,b.mL)(nt,"mousedown"),ee=(0,b.mL)(this.doc,"mousemove"),fe=(0,b.mL)(this.doc,"mouseup"),Te=(0,b.mL)(this.wrapper,"mousedown");(0,W.T)(Te.pipe((0,H.U)(Se=>this.getScrolled(Se,.5,.5))),ve.pipe((0,b.vm)(),(0,z.w)(Se=>{const Be=nt.getBoundingClientRect(),ke=function Ke({clientY:q},{top:re,height:x}){return(q-re)/x}(Se,Be),at=function Re({clientX:q},{left:re,width:x}){return(q-re)/x}(Se,Be);return ee.pipe((0,H.U)(_t=>this.getScrolled(_t,ke,at)),(0,te.R)(fe))}))).pipe((0,b.fL)(x),(0,te.R)(ce)).subscribe(([Se,Be])=>{"vertical"===this.tuiScrollbar?this.element.scrollTop=Se:this.element.scrollLeft=Be}),(0,W.T)(Ve.pipe((0,he.p)(j.Yg)),(0,b.pt)(this.element)).pipe((0,b.fL)(x),(0,te.R)(ce)).subscribe(()=>{"vertical"===this.tuiScrollbar?(nt.style.top="".concat(100*this.thumb,"%"),nt.style.height="".concat(100*this.view,"%")):(nt.style.left="".concat(100*this.thumb,"%"),nt.style.width="".concat(100*this.view,"%"))})}get wrapper(){return this.el.nativeElement.parentElement}get scrolled(){const{scrollTop:x,scrollHeight:ce,clientHeight:Ve,scrollLeft:Ye,scrollWidth:mt,clientWidth:$e}=this.element;return"vertical"===this.tuiScrollbar?x/(ce-Ve):Ye/(mt-$e)}get compensation(){const{clientHeight:x,scrollHeight:ce,clientWidth:Ve,scrollWidth:Ye}=this.element;return x*x/ce>24&&"vertical"===this.tuiScrollbar||Ve*Ve/Ye>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/x:24/Ve}get thumb(){return this.scrolled*(1-(this.compensation||this.view))}get view(){const{clientHeight:x,scrollHeight:ce,clientWidth:Ve,scrollWidth:Ye}=this.element;return"vertical"===this.tuiScrollbar?Math.ceil(x/ce*100)/100:Math.ceil(Ve/Ye*100)/100}get element(){return this.container.nativeElement}getScrolled({clientY:x,clientX:ce},Ve,Ye){const{offsetHeight:mt,offsetWidth:$e}=this.el.nativeElement,{top:nt,left:ve,width:ee,height:fe}=this.wrapper.getBoundingClientRect();return[(x-nt-mt*Ve)/(fe-mt)*(this.element.scrollHeight-fe),(ce-ve-$e*Ye)/(ee-$e)*(this.element.scrollWidth-ee)]}}return q.\u0275fac=function(x){return new(x||q)(u.Y36(u.R0b),u.Y36(Y.a3,2),u.Y36(N.L1),u.Y36(Z.$_),u.Y36(Q.K0),u.Y36(u.SBq))},q.\u0275dir=u.lG2({type:q,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[u._Bn([Y.a3])]}),q})(),Ee=(()=>{class q{constructor(x,ce,Ve){this.zone=x,this.scrollRef=ce,this.animationFrame$=Ve,this.refresh$=this.animationFrame$.pipe((0,he.p)(300),(0,H.U)(()=>this.scrollbars),(0,ue.O)([!1,!1]),(0,se.x)((Ye,mt)=>Ye[0]===mt[0]&&Ye[1]===mt[1]),(0,b.Yr)(this.zone))}get scrollbars(){const{clientHeight:x,scrollHeight:ce,clientWidth:Ve,scrollWidth:Ye}=this.scrollRef.nativeElement;return[Math.ceil(x/ce*100)<100,Math.ceil(Ve/Ye*100)<100]}}return q.\u0275fac=function(x){return new(x||q)(u.Y36(u.R0b),u.Y36(Z.$_),u.Y36(N.L1))},q.\u0275cmp=u.Xpm({type:q,selectors:[["tui-scroll-controls"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(x,ce){1&x&&(u.YNc(0,de,3,2,"ng-container",0),u.ALo(1,"async")),2&x&&u.Q6J("ngIf",u.lcZ(1,1,ce.refresh$))},dependencies:[Q.O5,je,Q.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto;animation:tuiFadeIn var(--tui-duration, .3s) ease-in-out}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition:all var(--tui-duration, .3s) ease-in-out;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],changeDetection:0}),q})(),_e=(()=>{class q{}return q.\u0275fac=function(x){return new(x||q)},q.\u0275mod=u.oAB({type:q}),q.\u0275inj=u.cJS({imports:[[Q.ez]]}),q})()},9979:(Ge,le,_)=>{_.d(le,{F:()=>Re,FS:()=>H,Iy:()=>b,Jy:()=>se,LZ:()=>te,Lw:()=>je,Ml:()=>$e,Mm:()=>z,Ye:()=>Z,Yg:()=>be,bg:()=>W,f$:()=>Ke,fv:()=>_e,iD:()=>he,kU:()=>re,yZ:()=>Q});var u=_(1582),N=_(6206);const b=()=>!1,Z=()=>!0,H=79,z=new u.n_E,te=[],he=()=>{},ue={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},se=Object.assign(Object.assign({},ue),{toJSON:()=>ue}),Q=nt=>String(nt),W=(nt,ve)=>nt===ve||function ne(nt,ve){return Array.isArray(nt)&&Array.isArray(ve)&&!nt.length&&!ve.length}(nt,ve);(0,N.X$)("tuiParentAnimation",[(0,N.eR)(":leave",[(0,N.IO)(":scope > *",[(0,N.pV)()],{optional:!0})])]),(0,N.X$)("tuiParentStop",[(0,N.eR)(":enter",[])]);const be=1e3/15,je=nt=>"ownerSVGElement"in nt?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,Ke="\xa0",Re="\u2013",_e="-",re="+",$e="3.53.0"},4847:(Ge,le,_)=>{_.d(le,{UM:()=>ue});var u=_(5553);function he(j,Y,W=!0){return function(){const ye=j.call(this);return Object.defineProperty(this,Y,{enumerable:W,value:ye}),ye}}function ue(j,Y,W){if("function"==typeof j){const Ke=Y;if("getter"===Ke.kind)return he(j,Ke.name);if("method"===Ke.kind)return function te(j){let ne,Y=[],W=!1;return function(...de){return W&&Y.length===de.length&&de.every((je,Ke)=>je===Y[Ke])||(Y=de,ne=j.apply(this,de),W=!0),ne}}(j);throw new u.jw}const{get:ne,enumerable:ye,value:de}=W,be=Y;if(ne)return{configurable:!0,enumerable:ye,get:he(ne,be,ye)};if("function"!=typeof de)throw new u.jw;const je=de;return{configurable:!0,enumerable:ye,get(){let Ee,Ke=[],Re=!1;const ae=(...me)=>(Re&&Ke.length===me.length&&me.every((q,re)=>q===Ke[re])||(Ke=me,Ee=je.apply(this,me),Re=!0),Ee);return Object.defineProperty(this,be,{configurable:!0,value:ae}),ae}}}},295:(Ge,le,_)=>{_.d(le,{A:()=>j,e:()=>Q});var u=_(3449),N=_(1582),b=_(4847),Z=_(3014),H=_(2925),z=_(214),te=_(5990),he=_(1553),ue=_(8777),se=_(6021);let Q=(()=>{class Y{constructor(ne,ye,de,be){var je;this.active$=ne,this.zone=ye,this.el=de,this.directParentActiveZone=be,this.subActiveZones=[],this.tuiActiveZoneParent=null,this.tuiActiveZoneChange=this.active$.pipe((0,te.U)(Ke=>!!Ke&&this.contains(Ke)),(0,he.O)(!1),(0,ue.x)(),(0,se.T)(1),(0,Z.Yr)(this.zone)),null===(je=this.directParentActiveZone)||void 0===je||je.addSubActiveZone(this)}set tuiActiveZoneParentSetter(ne){this.setZone(ne)}ngOnDestroy(){var ne,ye;null===(ne=this.directParentActiveZone)||void 0===ne||ne.removeSubActiveZone(this),null===(ye=this.tuiActiveZoneParent)||void 0===ye||ye.removeSubActiveZone(this)}contains(ne){return this.el.nativeElement.contains(ne)||this.subActiveZones.some((ye,de,be)=>be.indexOf(ye)===de&&ye.contains(ne))}setZone(ne){var ye;null===(ye=this.tuiActiveZoneParent)||void 0===ye||ye.removeSubActiveZone(this),null==ne||ne.addSubActiveZone(this),this.tuiActiveZoneParent=ne}addSubActiveZone(ne){this.subActiveZones=[...this.subActiveZones,ne]}removeSubActiveZone(ne){this.subActiveZones=(0,z.WX)(this.subActiveZones,this.subActiveZones.indexOf(ne))}}return Y.\u0275fac=function(ne){return new(ne||Y)(N.Y36(H.wk),N.Y36(N.R0b),N.Y36(N.SBq),N.Y36(Y,12))},Y.\u0275dir=N.lG2({type:Y,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"]}),(0,u.gn)([b.UM],Y.prototype,"setZone",null),Y})(),j=(()=>{class Y{}return Y.\u0275fac=function(ne){return new(ne||Y)},Y.\u0275mod=N.oAB({type:Y}),Y.\u0275inj=N.cJS({}),Y})()},1860:(Ge,le,_)=>{_.d(le,{Ls:()=>b,WD:()=>Z});var u=_(1582);class N{constructor(z){this.internalDirectiveInstance=z}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let b=(()=>{class H{constructor(te,he){te.createEmbeddedView(he,new N(this))}static ngTemplateContextGuard(te,he){return!0}}return H.\u0275fac=function(te){return new(te||H)(u.Y36(u.s_b),u.Y36(u.Rgc))},H.\u0275dir=u.lG2({type:H,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"}}),H})(),Z=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=u.oAB({type:H}),H.\u0275inj=u.cJS({}),H})()},2106:(Ge,le,_)=>{_.d(le,{W:()=>ue,e:()=>se});var u=_(1582),N=_(3014),b=_(4960),Z=_(1996),H=_(9735),z=_(7701),te=_(3318),he=_(8527);let ue=(()=>{class Q{constructor({nativeElement:Y},W,ne){this.mode="scroll",(0,N.mL)(Y,"wheel",{passive:!1}).pipe((0,H.h)(()=>this.enabled),(0,N.fL)(W),(0,z.R)(ne)).subscribe(ye=>{this.processEvent(ye,!!ye.deltaY,ye.deltaY?ye.deltaY<0:ye.deltaX<0)}),(0,N.mL)(Y,"touchstart",{passive:!0}).pipe((0,te.w)(({touches:ye})=>{let Re,{clientX:de,clientY:be}=ye[0],je=0,Ke=0;return(0,N.mL)(Y,"touchmove",{passive:!1}).pipe((0,H.h)(()=>this.enabled),(0,he.b)(Ee=>{const ae=Ee.changedTouches[0];je=de-ae.clientX,Ke=be-ae.clientY,de=ae.clientX,be=ae.clientY,void 0===Re&&(Re=Math.abs(Ke)>Math.abs(je)),this.processEvent(Ee,Re,Re?Ke<0:je<0)}))}),(0,N.fL)(W),(0,z.R)(ne)).subscribe()}get enabled(){return"none"!==this.mode}get overscrollBehavior(){return this.enabled?"contain":null}processEvent(Y,W,ne){var ye;const{target:de,currentTarget:be,cancelable:je}=Y;if(je&&(0,Z.ve)(de)&&"range"!==(null===(ye=de)||void 0===ye?void 0:ye.type)){if("all"===this.mode&&(W&&!be.contains((0,Z.Hs)(de))||!W&&!be.contains((0,Z.Hs)(de,!1))))return void Y.preventDefault();if(W&&(ne&&!(0,Z.ty)(de,be,!0,!1)||!ne&&!(0,Z.ty)(de,be,!0,!0)))return void Y.preventDefault();!W&&(ne&&!(0,Z.ty)(de,be,!1,!1)||!ne&&!(0,Z.ty)(de,be,!1,!0))&&Y.preventDefault()}}}return Q.\u0275fac=function(Y){return new(Y||Q)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(b.a3,2))},Q.\u0275dir=u.lG2({type:Q,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(Y,W){2&Y&&u.Udp("overscroll-behavior",W.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[u._Bn([b.a3])]}),Q})(),se=(()=>{class Q{}return Q.\u0275fac=function(Y){return new(Y||Q)},Q.\u0275mod=u.oAB({type:Q}),Q.\u0275inj=u.cJS({}),Q})()},5553:(Ge,le,_)=>{_.d(le,{AM:()=>Z,I4:()=>b,JY:()=>H,ZB:()=>z,aq:()=>te,j2:()=>Q,jw:()=>he});class b extends Error{constructor(ne){super("")}}class Z extends Error{constructor(ne){super("")}}class H extends Error{constructor(ne){super("")}}class z extends Error{constructor(){super("")}}class te extends Error{constructor(){super("")}}class he extends Error{constructor(){super("")}}class Q extends Error{constructor(){super("")}}},3014:(Ge,le,_)=>{_.d(le,{EK:()=>ae,NA:()=>at,Xd:()=>$e,Yr:()=>ct,fL:()=>dn,ix:()=>mt,mL:()=>me,mp:()=>Se,pn:()=>Te,pt:()=>Be,vm:()=>ke});var u=_(5553),N=_(1145),b=_(3276),Z=_(3506),H=_(5357),z=_(1297),te=_(8402),he=_(1288),ue=_(1553),se=_(3318),Q=_(5990),j=_(8777),Y=_(4213),W=_(4359),ne=_(9735),ye=_(2176),de=_(7656),be=_(331),je=_(8527),Ke=_(9979),Re=_(214),Ee=_(2659);function ae(Ie){return new N.y(pt=>{if(!Ie.valueChanges)throw new u.j2;Ie.valueChanges.pipe((0,ue.O)(Ie.value)).subscribe(pt)})}function me(Ie,pt,lt={}){return(0,b.R)(Ie,pt,lt)}function ce(Ie=0){return(0,H.z)((0,se.w)(()=>(0,z.H)(Ie).pipe((0,Q.U)(Ke.Iy),(0,ue.O)(!0))),(0,j.x)())}let Ve,Ye;function mt(Ie){const pt=me(Ie,"blur"),{ownerDocument:lt}=Ie;if(!lt)throw new u.aq;return(!Ye||!Ve)&&(Ve=me(lt,"mouseup",{capture:!0}).pipe(ce(),(0,ue.O)(!1),(0,Y.d)({bufferSize:1,refCount:!0})),Ye=me(lt,"mousedown",{capture:!0}).pipe(ce(),(0,ue.O)(!1),(0,Y.d)({bufferSize:1,refCount:!0}))),(0,Z.T)((0,te.z)(me(Ie,"focus").pipe((0,W.q)(1)),pt.pipe((0,ne.h)(()=>!(0,Ee.V8)(Ie)),(0,W.q)(1),(0,ye.l)())).pipe((0,de.r)(),(0,be.M)(Ye,Ve,(Ht,ze,rt)=>ze||rt),(0,ne.h)(Re.Mv))).pipe((0,se.w)(()=>pt.pipe((0,Q.U)(Ke.Iy),(0,W.q)(1),(0,ue.O)(!0))),(0,j.x)())}function $e(Ie,pt=Boolean){return(0,H.z)((0,se.w)(lt=>pt(lt)?Ie(lt):he.E))}function Te(Ie,{onlyTrusted:pt}={onlyTrusted:!0}){const{ownerDocument:lt}=Ie;if(!lt)throw new u.aq;return me(Ie,"mousedown").pipe((0,ne.h)(({isTrusted:Ht})=>Ht||!pt),(0,se.w)(()=>function _e(Ie){return(0,Z.T)(me(Ie,"mouseup"),me(Ie,"dragend"))}(lt).pipe((0,Q.U)(Ke.Iy),(0,W.q)(1),(0,ue.O)(!0))))}function Se(){return(0,je.b)(Ie=>Ie.preventDefault())}function Be(Ie){return me(Ie===Ie.ownerDocument.documentElement?Ie.ownerDocument:Ie,"scroll")}function ke(){return(0,je.b)(Ie=>{Ie.stopPropagation()})}function at(Ie){return(0,je.b)(()=>{Ie.markForCheck()})}function dn(Ie){return pt=>new N.y(lt=>Ie.runOutsideAngular(()=>pt.subscribe(lt)))}function ct(Ie){return(0,H.z)(dn(Ie),function _t(Ie){return pt=>new N.y(lt=>pt.subscribe({next:Ht=>Ie.run(()=>lt.next(Ht)),error:Ht=>Ie.run(()=>lt.error(Ht)),complete:()=>Ie.run(()=>lt.complete())}))}(Ie))}},1366:(Ge,le,_)=>{_.d(le,{I:()=>b,c:()=>N});var u=_(1582);let N=(()=>{class Z{transform(z,te,...he){return te(z,...he)}}return Z.\u0275fac=function(z){return new(z||Z)},Z.\u0275pipe=u.Yjl({name:"tuiMapper",type:Z,pure:!0}),Z})(),b=(()=>{class Z{}return Z.\u0275fac=function(z){return new(z||Z)},Z.\u0275mod=u.oAB({type:Z}),Z.\u0275inj=u.cJS({}),Z})()},4960:(Ge,le,_)=>{_.d(le,{a3:()=>$e,gH:()=>nt,ku:()=>ve,ll:()=>fe,AQ:()=>Se,b0:()=>Te,FY:()=>_t,Fr:()=>Ie});var u=_(1582),N=_(8024),b=_(1145),Z=_(4406),H=_(3506),z=_(3276),te=_(287),he=_(1297),ue=_(3477),se=_(3014),Q=_(7701),j=_(2506),Y=_(4354),W=_(5990),ne=_(1553),ye=_(8777),de=_(3318),be=_(8402),Ke=_(8527),Re=_(4213),Ee=_(7786),ae=_(9979),me=_(1996),_e=_(3223),re=(_(7354),_(5570)),x=_(214),ce=_(3449),Ve=_(8014),Ye=_(9417);let $e=(()=>{class ze extends N.t{constructor(){super(1)}ngOnDestroy(){this.next(),this.complete()}}return ze.\u0275fac=function(Ze){return new(Ze||ze)},ze.\u0275prov=u.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),nt=(()=>{class ze{constructor(Ze,Rt){this.resolver=Ze,this.injector=Rt,this.map=new Map}addComponent(Ze){this.map.has(Ze)||this.map.set(Ze,this.resolver.resolveComponentFactory(Ze).create(this.injector))}}return ze.\u0275fac=function(Ze){return new(Ze||ze)(u.LFG(u._Vd),u.LFG(u.gxx))},ze.\u0275prov=u.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})(),ve=(()=>{class ze extends b.y{constructor({nativeElement:Ze},Rt,zt){super(Dt=>this.focusVisible$.subscribe(Dt)),this.focusVisible$=(0,se.ix)(Ze).pipe((0,se.NA)(Rt),(0,Q.R)(zt))}}return ze.\u0275fac=function(Ze){return new(Ze||ze)(u.LFG(u.SBq),u.LFG(u.sBO),u.LFG($e,2))},ze.\u0275prov=u.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),fe=(()=>{class ze{generate(){return"".concat("tui_").concat(ze.autoId++).concat(Date.now())}}return ze.autoId=0,ze.\u0275fac=function(Ze){return new(Ze||ze)},ze.\u0275prov=u.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})(),Te=(()=>{class ze extends b.y{constructor(Ze,Rt){super(zt=>this.callback$.subscribe(zt)),this.callback$=(0,Z.P)(()=>{let{nativeElement:zt}=Ze;const Dt=[Rt,zt];for(;zt.parentElement;)zt=zt.parentElement,Dt.push(zt);return(0,H.T)(...Dt.map(bt=>(0,se.mL)(bt,"scroll")))})}}return ze.\u0275fac=function(Ze){return new(Ze||ze)(u.LFG(u.SBq),u.LFG(Ee.m9))},ze.\u0275prov=u.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),Se=(()=>{class ze extends b.y{constructor(Ze,{nativeElement:Rt},zt,Dt,bt,dt){super(an=>this.obscured$.subscribe(an)),this.obscured$=(0,H.T)((0,H.T)(Ze,(0,z.R)(Dt,"resize")).pipe((0,j.g)(0)),dt.pipe((0,Y.p)(ae.Yg))).pipe((0,W.U)(()=>(0,me.PU)(Rt)),(0,ne.O)(null),(0,ye.x)(),(0,se.Yr)(zt),(0,Q.R)(bt))}}return ze.\u0275fac=function(Ze){return new(Ze||ze)(u.LFG(Te,2),u.LFG(u.SBq),u.LFG(u.R0b),u.LFG(Ee.m9),u.LFG($e,2),u.LFG(Ee.L1))},ze.\u0275prov=u.Yz7({token:ze,factory:ze.\u0275fac}),ze})(),_t=(()=>{class ze{constructor(Ze,Rt){this.performanceRef=Ze,this.animationFrame$=Rt}scroll$(Ze,Rt,zt=dn(Ze),Dt=300){const bt=function ct(ze){return"scrollY"in ze?ze.scrollY:ze.scrollTop}(Ze),dt=dn(Ze),an=Rt-bt,kt=zt-dt;return(Dt?(0,Z.P)(()=>(0,te.of)(this.performanceRef.now())).pipe((0,de.w)(ft=>this.animationFrame$.pipe((0,W.U)(Jn=>Jn-ft))),(0,W.U)(ft=>(0,x.Xg)((0,re.Ki)(ft/Dt,0,1))),(0,W.U)(ft=>[bt+an*ft,dt+kt*ft]),function je(...ze){return rt=>(0,be.z)(rt,(0,te.of)(...ze))}([Rt,zt]),(0,Q.R)((0,he.H)(Dt))):(0,te.of)([Rt,zt])).pipe((0,Ke.b)(([ft,Jn])=>{var Rn;null===(Rn=Ze.scrollTo)||void 0===Rn||Rn.call(Ze,Jn,ft)}))}}return ze.\u0275fac=function(Ze){return new(Ze||ze)(u.LFG(Ee.KS),u.LFG(Ee.L1))},ze.\u0275prov=u.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();function dn(ze){return"scrollX"in ze?ze.scrollX:ze.scrollLeft}let Ie=(()=>{class ze{constructor(Ze,Rt){this.win=Ze,this.platformId=Rt,this.cache=new Map}request(Ze){const Rt=this.cache.get(Ze);if(Rt)return Rt;const Dt=("AbortController"in this.win||(0,_e.PM)(this.platformId)?function mt(ze,rt={}){const{selector:Ze}=rt,Rt=(0,ce._T)(rt,["selector"]);return new b.y(zt=>{const Dt=new AbortController,{signal:bt}=Dt;let dt=!0;const{signal:an}=Rt;if(an)if(an.aborted)Dt.abort();else{const ft=()=>{bt.aborted||Dt.abort()};an.addEventListener("abort",ft),zt.add(()=>an.removeEventListener("abort",ft))}const kt=Object.assign(Object.assign({},Rt),{signal:bt}),wt=ft=>{dt=!1,zt.error(ft)};return fetch(ze,kt).then(ft=>{Ze?(0,Ye.Xf)(Ze(ft)).subscribe((0,Ve.x)(zt,void 0,()=>{dt=!1,zt.complete()},wt)):(dt=!1,zt.next(ft),zt.complete())}).catch(wt),()=>{dt&&Dt.abort()}})}(Ze):(0,Z.P)(()=>(0,ue.D)(fetch(Ze)))).pipe((0,de.w)(bt=>(0,ce.mG)(this,void 0,void 0,function*(){if(bt.ok)return bt.text();throw new Error("Failed to load ".concat(Ze," (").concat(bt.statusText,")"))})),(0,Re.d)({bufferSize:1,refCount:!1}));return this.cache.set(Ze,Dt),Dt}}return ze.\u0275fac=function(Ze){return new(Ze||ze)(u.LFG(Ee.m9),u.LFG(u.Lbi))},ze.\u0275prov=u.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})()},2925:(Ge,le,_)=>{_.d(le,{wk:()=>ee,I2:()=>ke,KZ:()=>Ie,tS:()=>lt,FA:()=>Ht,fL:()=>Ze,jF:()=>ft,$_:()=>Bn,wx:()=>Kt,FT:()=>pt});var u=_(3223),N=_(1582),b=_(7786),Z=_(3014),H=_(214),z=_(1996);const he=/ipad|iphone|ipod/;function ue(Je){return he.test(Je.userAgent.toLowerCase())||function te(Je){return Je.platform.startsWith("Mac")||"iPhone"===Je.platform}(Je)&&Je.maxTouchPoints>1}const se=/^((?!chrome|android).)*safari/i;var j=_(8626),Y=_(1297),W=_(3506),ne=_(287),ye=_(3477),de=_(1288),be=_(3318),je=_(5990),Ke=_(1553),Re=_(9853),Ee=_(7701),ae=_(9417),me=_(5992),_e=_(4134),q=_(8014);var x=_(331),ce=_(9735),Ve=_(4359),Ye=_(8777),mt=_(4213),$e=_(1190),nt=_(9979);const ve=(0,H.N1)(()=>{const Je={onRemovalComplete:()=>{}},Tt=new j.X(null),Gt=(0,N.f3M)($e.Th,N.XFs.Optional)||Je,{onRemovalComplete:tn=Je.onRemovalComplete}=Gt;return Gt.onRemovalComplete=(qt,Hn)=>{Tt.next(qt),tn.call(Gt,qt,Hn)},Tt.pipe((0,be.w)(qt=>(0,Y.H)(0).pipe((0,je.U)(()=>null),(0,Ke.O)(qt))),(0,Re.B)())}),ee=(0,H.N1)(()=>{const Je=(0,N.f3M)(ve),Tt=(0,N.f3M)(b.m9),Gt=(0,N.f3M)(u.K0),tn=(0,Z.mL)(Tt,"focusout"),qt=(0,Z.mL)(Tt,"focusin"),Hn=(0,Z.mL)(Tt,"blur"),ut=(0,Z.mL)(Tt,"mousedown"),Et=(0,Z.mL)(Tt,"mouseup");return(0,W.T)(tn.pipe((0,Ee.R)(ut),function re(Je){return(0,_e.e)((Tt,Gt)=>{let tn,Hn,qt=!1,ut=!1,Et=!1;const rn=()=>Et&&ut&&(Gt.complete(),!0),Sn=()=>{Et=!1,tn=Tt.subscribe((0,q.x)(Gt,void 0,()=>{Et=!0,!rn()&&(Hn||(Hn=new me.x,(0,ae.Xf)(Je(Hn)).subscribe((0,q.x)(Gt,()=>{tn?Sn():qt=!0},()=>{ut=!0,rn()}))),Hn).next()})),qt&&(tn.unsubscribe(),tn=null,qt=!1,Sn())};Sn()})}(()=>Et),(0,x.M)(Je),(0,ce.h)(([rn,Yt])=>fe((0,z.mA)(rn),Yt)),(0,je.U)(([{relatedTarget:rn}])=>rn)),Hn.pipe((0,je.U)(()=>Gt.activeElement),(0,ce.h)(rn=>!(null==rn||!rn.matches("iframe")))),qt.pipe((0,be.w)(rn=>{const Yt=(0,z.mA)(rn),Sn=(0,z.Wf)(Yt);return Sn===Gt?(0,ne.of)(Yt):function Te(Je){return(0,W.T)((0,Z.mL)(Je,"focusin").pipe((0,je.U)(({target:Tt})=>Tt)),(0,Z.mL)(Je,"focusout").pipe((0,ce.h)(({target:Tt,relatedTarget:Gt})=>!!Gt&&fe(Tt)),(0,je.U)(({relatedTarget:Tt})=>Tt)))}(Sn).pipe((0,Ke.O)(Yt))})),ut.pipe((0,be.w)(rn=>{const Yt=(0,z.mA)(rn);return Gt.activeElement&&Gt.activeElement!==Gt.body?tn.pipe((0,Ve.q)(1),(0,je.U)(()=>Yt),(0,Ee.R)((0,Y.H)(0))):(0,ne.of)(Yt)}))).pipe((0,Ye.x)(),(0,Re.B)())});function fe(Je,Tt=null){return!((0,z.Wf)(Je).activeElement===Je||Je.matches(":disabled")||null!=Tt&&Tt.contains(Je))}(0,H.JN)([]);const ke=(0,H.N1)(()=>{var Je,Tt;return null!==(Tt=null===(Je=(0,N.f3M)(u.K0).querySelector("base"))||void 0===Je?void 0:Je.href)&&void 0!==Tt?Tt:""});(0,H.N1)(()=>(0,N.f3M)(N.FYo).createRenderer(null,null)),(0,H.JN)([]),(0,H.N1)(()=>{var Je;const Tt=null===(Je=(0,N.f3M)(u.K0).querySelector("base"))||void 0===Je?void 0:Je.href;if(Tt)return Tt;const Gt=(0,N.f3M)(u.K0).createElement("a");return Gt.href="",Gt.pathname});const Ie=new N.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function pt(Je){return{provide:Ie,useExisting:Je}}const lt=new N.OlP("[TUI_FONTS_READY]",{factory:()=>{var Je;return(0,ye.D)((null===(Je=(0,N.f3M)(u.K0).fonts)||void 0===Je?void 0:Je.ready)||de.E).pipe((0,mt.d)({bufferSize:1,refCount:!1}))}}),Ht=(0,H.N1)(()=>ue((0,N.f3M)(b.s5))),ze=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,rt=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,Ze=(0,H.N1)(()=>ze.test((0,N.f3M)(b.yZ).toLowerCase())||rt.test((0,N.f3M)(b.yZ).slice(0,4).toLowerCase())),bt=((0,H.N1)(()=>(0,N.f3M)(Ze)&&!(0,N.f3M)(Ht)),(0,H.N1)(()=>function Q(Je){return ue(Je)||se.test(Je.userAgent.toLowerCase())}((0,N.f3M)(b.s5))),(0,H.N1)(()=>!!(0,N.f3M)(b.m9).chrome),(0,H.N1)(()=>!!(0,N.f3M)(b.m9).Cypress)),dt=(0,H.N1)(nt.Iy),ft=((0,H.N1)(()=>(0,N.f3M)(bt)||(0,N.f3M)(dt)),(0,H.N1)(()=>{var Je;return typeof(null===(Je=(0,N.f3M)(b.m9))||void 0===Je?void 0:Je.mozCancelFullScreen)<"u"}),(0,H.N1)(()=>(0,N.f3M)(b.m9).location.host.endsWith("stackblitz.io")),(0,H.N1)(()=>{var Je;return!(null===(Je=(0,N.f3M)(b.m9))||void 0===Je||!Je.webkitConvertPointFromNodeToPage)}));(0,H.JN)("web"),(0,H.N1)(()=>(0,u.NF)((0,N.f3M)(N.Lbi))?new Range:{});const Bn=(0,H.N1)(()=>new N.SBq((0,N.f3M)(u.K0).documentElement)),Kt=((0,H.JN)({timeout:500,threshold:30}),(0,H.N1)(nt.Ye)),tt=((0,H.N1)(()=>(0,N.f3M)(b.m9).matchMedia("(any-pointer: coarse)").matches),new N.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const Je=(0,N.f3M)(b.m9);return(0,Z.mL)(Je,"resize").pipe((0,Ke.O)(null),(0,je.U)(()=>{var Tt,Gt;const tn=Math.max(Je.innerWidth,(null===(Tt=Je.visualViewport)||void 0===Tt?void 0:Tt.width)||0),qt=Math.max(Je.innerHeight,(null===(Gt=Je.visualViewport)||void 0===Gt?void 0:Gt.height)||0);return{width:tn,height:qt,top:0,left:0,right:tn,bottom:qt}}),(0,mt.d)({bufferSize:1,refCount:!0}))}}));(0,H.N1)(()=>(0,N.f3M)(tt).pipe((0,je.U)(({height:Je})=>Je))),(0,H.JN)({wheelSensitivity:.01})},1996:(Ge,le,_)=>{_.d(le,{Hn:()=>ae,Hs:()=>Ke,Nn:()=>ye,PP:()=>te,PU:()=>be,UP:()=>re,Wf:()=>de,YX:()=>je,dD:()=>q,dW:()=>j,mA:()=>W,ty:()=>Z,ve:()=>Q});var u=_(5570),N=_(214);function Z(x,ce,Ve,Ye){return Ve?function H(x,ce,Ve){let Ye=x;for(;Ye!==ce.parentElement;){if(Math.floor(Ye.scrollTop)>0&&!Ve||Math.ceil(Ye.scrollTop+Ye.clientHeight)0&&!Ve||Math.ceil(Ye.scrollLeft+Ye.clientWidth)!x.contains(_t));return 4===at.length?at:null}function je(x,ce){let{offsetTop:Ve,offsetLeft:Ye,offsetParent:mt}=ce;for(;j(mt)&&mt!==x;)Ve+=mt.offsetTop,Ye+=mt.offsetLeft,mt=mt.offsetParent;return{offsetTop:Ve,offsetLeft:Ye}}function Ke(x,ce=!0){return null===x?null:ce&&x.scrollHeight>x.clientHeight||!ce&&x.scrollWidth>x.clientWidth?x:Ke(x.parentElement,ce)}function ae(x){return function se(x){return function he(x){return x.matches("input")}(x)||function ue(x){return x.matches("textarea")}(x)}(x)&&!x.readOnly||!!x.isContentEditable}function q(x=0,ce=0){const Ve={x,y:ce,left:x,right:x,top:ce,bottom:ce,width:0,height:0};return Object.assign(Object.assign({},Ve),{toJSON:()=>Ve})}function re(x){return"explicitOriginalTarget"in x?(null==x?void 0:x.explicitOriginalTarget)!==x.target:"pointerId"in x?-1===x.pointerId:"detail"in x&&"webkitForce"in x&&0===(null==x?void 0:x.detail)}},2659:(Ge,le,_)=>{_.d(le,{BW:()=>te,V8:()=>he,dT:()=>H,hp:()=>Z,zb:()=>ue});var u=_(1996),N=_(9979);function b({activeElement:j}){if(null==j||!j.shadowRoot)return j;let Y=j.shadowRoot.activeElement;for(;null!=Y&&Y.shadowRoot;)Y=Y.shadowRoot.activeElement;return Y}function Z(j){const Y=b(j);(0,u.dW)(Y)&&Y.blur()}function H(j){if(j.hasAttribute("disabled")||"-1"===j.getAttribute("tabIndex"))return!1;if((0,u.dW)(j)&&j.isContentEditable||"0"===j.getAttribute("tabIndex"))return!0;switch(j.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return j.hasAttribute("controls");case"INPUT":return"hidden"!==j.getAttribute("type");case"A":case"LINK":return j.hasAttribute("href");default:return!1}}function z(j){return!j.hasAttribute("disabled")&&("-1"===j.getAttribute("tabIndex")||H(j))}function te({initial:j,root:Y,previous:W=!1,keyboard:ne=!0}){if(!Y.ownerDocument)return null;const ye=ne?H:z,de=Y.ownerDocument.createTreeWalker(Y,NodeFilter.SHOW_ELEMENT,N.Lw);for(de.currentNode=j;W?de.previousNode():de.nextNode();)if((0,u.dW)(de.currentNode)&&(j=de.currentNode),(0,u.dW)(j)&&ye(j))return j;return null}function he(j){return!(null==j||!j.ownerDocument)&&b(j.ownerDocument)===j}function ue(j){if(!j.ownerDocument||!j.contains)return!1;const Y=b(j.ownerDocument);return null!==Y&&j.contains(Y)}},5570:(Ge,le,_)=>{function N(de,be,je){return Math.min(je,Math.max(be,de))}function b(de,be,je){return de>=be&&de=je?je:Math.round(de)}_.d(le,{FG:()=>te,G1:()=>Z,Ki:()=>N,wf:()=>b}),_(7354);const z=292;function te(de,be=0){return function Q(de,be,je){if(de===1/0)return de;be=Math.min(be,z);const Ke="".concat(de,"e").split("e"),Re=je(Number("".concat(Ke[0],"e").concat(Number(Ke[1])+be))),Ee="".concat(Re,"e").split("e");return Number("".concat(Ee[0],"e").concat(Number(Ee[1])-be))}(de,be,Math.round)}},214:(Ge,le,_)=>{_.d(le,{Aj:()=>z,J$:()=>me,JN:()=>ue,Mv:()=>be,N1:()=>se,Pc:()=>Re,WX:()=>b,Xg:()=>W});var u=_(1582);function b(x,ce){return x.slice(0,Math.max(ce,0)).concat(x.slice(Math.max(ce+1,0)))}function z(x){return"string"==typeof x}function ue(x){return se(()=>x)}function se(x){return new u.OlP("",{factory:x})}function W(x){return x<.5?2*x*x:(4-2*x)*x-1}function be(x){return!x}function Re(x){return null!=x}function me(x,ce,Ve){return null===x?null===ce:null!==ce&&Ve(x,ce)}_(7354)},9005:(Ge,le,_)=>{_.d(le,{X1:()=>Ee,uX:()=>Ke});var u=_(5813),N=_(1582),b=_(1288),Z=_(8402),H=_(4406),z=_(4134),te=_(8014);class se{supports(me){return me.includes(this.modifier)}addGlobalEventListener(){return()=>{}}unwrap(me){return me.split(".").filter(_e=>!this.modifier.includes(_e)).join(".")}}let Q=(()=>{class ae extends se{constructor(){super(...arguments),this.modifier="$"}addEventListener(_e,q){_e[q]=_e[q]||b.E;const re=this.getMethod(_e,q),x=this.manager.getZone().onStable,ce=(0,Z.z)(x.pipe(function he(ae,me=!1){return(0,z.e)((_e,q)=>{let re=0;_e.subscribe((0,te.x)(q,x=>{const ce=ae(x,re++);(ce||me)&&q.next(x),!ce&&q.complete()}))})}(()=>_e[q]===b.E)),(0,H.P)(()=>_e[q])).subscribe(re);return()=>ce.unsubscribe()}getMethod(_e,q){const[,re,x,ce=""]=q.split(".");return q.endsWith(".attr")?Ve=>null===Ve?_e.removeAttribute(re):_e.setAttribute(re,String(Ve)):"class"===re?Ve=>_e.classList.toggle(x,!!Ve):"style"===re?Ve=>_e.style.setProperty(function ue(ae){return ae.replace(/[a-z][A-Z]/g,me=>"".concat(me[0],"-").concat(me[1].toLowerCase()))}(x),"".concat(Ve).concat(ce)):Ve=>_e[re]=Ve}}return ae.\u0275fac=(()=>{let me;return function(q){return(me||(me=N.n5z(ae)))(q||ae)}})(),ae.\u0275prov=N.Yz7({token:ae,factory:ae.\u0275fac}),ae})(),j=(()=>{class ae extends se{constructor(){super(...arguments),this.modifier="capture.once.passive"}supports(_e){return _e.includes(".")&&!this.unwrap(_e).includes(".")}addEventListener(_e,q,re){return _e.addEventListener(this.unwrap(q),re,{once:q.includes(".once"),passive:q.includes(".passive"),capture:q.includes(".capture")}),()=>_e.removeEventListener(this.unwrap(q),re)}}return ae.\u0275fac=(()=>{let me;return function(q){return(me||(me=N.n5z(ae)))(q||ae)}})(),ae.\u0275prov=N.Yz7({token:ae,factory:ae.\u0275fac}),ae})(),Y=(()=>{class ae extends se{constructor(){super(...arguments),this.modifier=".prevent"}addEventListener(_e,q,re){return this.manager.addEventListener(_e,this.unwrap(q),ce=>{ce.preventDefault(),re(ce)})}}return ae.\u0275fac=(()=>{let me;return function(q){return(me||(me=N.n5z(ae)))(q||ae)}})(),ae.\u0275prov=N.Yz7({token:ae,factory:ae.\u0275fac}),ae})(),W=(()=>{class ae extends se{constructor(){super(...arguments),this.modifier=".self"}addEventListener(_e,q,re){return this.manager.addEventListener(_e,this.unwrap(q),ce=>{ce.target===ce.currentTarget&&re(ce)})}}return ae.\u0275fac=(()=>{let me;return function(q){return(me||(me=N.n5z(ae)))(q||ae)}})(),ae.\u0275prov=N.Yz7({token:ae,factory:ae.\u0275fac}),ae})(),ne=(()=>{class ae extends se{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(_e,q,re){return ae.ngZone=this.manager.getZone(),ae.ngZone.runOutsideAngular(()=>this.manager.addEventListener(_e,this.unwrap(q),re))}}return ae.\u0275fac=(()=>{let me;return function(q){return(me||(me=N.n5z(ae)))(q||ae)}})(),ae.\u0275prov=N.Yz7({token:ae,factory:ae.\u0275fac}),ae})();const je=[ne,Q,j,Y,W,(()=>{class ae extends se{constructor(){super(...arguments),this.modifier=".stop"}addEventListener(_e,q,re){return this.manager.addEventListener(_e,this.unwrap(q),ce=>{ce.stopPropagation(),re(ce)})}}return ae.\u0275fac=(()=>{let me;return function(q){return(me||(me=N.n5z(ae)))(q||ae)}})(),ae.\u0275prov=N.Yz7({token:ae,factory:ae.\u0275fac}),ae})(),(()=>{class ae extends se{constructor(){super(...arguments),this.modifier=".init"}addEventListener(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),()=>{}}}return ae.\u0275fac=(()=>{let me;return function(q){return(me||(me=N.n5z(ae)))(q||ae)}})(),ae.\u0275prov=N.Yz7({token:ae,factory:ae.\u0275fac}),ae})()].map(ae=>({provide:u.s3,multi:!0,useClass:ae}));function Ke(ae){return(me,_e,q)=>{const{value:re}=q;q.value=function(...x){ae.apply(this,x)&&(ne.ngZone?ne.ngZone.run(()=>re.apply(this,x)):re.apply(this,x))}}}let Ee=(()=>{class ae{constructor([_e]){console.assert(!(_e instanceof ne)||ae.initialized,"EventPluginsModule must come after BrowserModule in imports"),ae.initialized=!0}}return ae.initialized=!1,ae.\u0275fac=function(_e){return new(_e||ae)(N.LFG(u.s3))},ae.\u0275mod=N.oAB({type:ae}),ae.\u0275inj=N.cJS({providers:je}),ae})()},4478:(Ge,le,_)=>{_.d(le,{Al:()=>b,GL:()=>Z,Li:()=>te,wq:()=>Q,yf:()=>N});var u=_(1582);const N=new u.OlP("POLYMORPHEUS_CONTEXT");class b{constructor(Y,W){this.component=Y,this.i=W}createInjector(Y,W){return u.zs3.create({parent:this.i||Y,providers:[{provide:N,useValue:W}]})}}let Z=(()=>{class j{constructor(W,ne){this.template=W,this.cdr=ne,this.polymorpheus=""}check(){this.cdr.markForCheck()}static ngTemplateContextGuard(W,ne){return!0}}return j.\u0275fac=function(W){return new(W||j)(u.Y36(u.Rgc,2),u.Y36(u.sBO))},j.\u0275dir=u.lG2({type:j,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"]}),j})();class H{constructor(Y){this.$implicit=Y}get polymorpheusOutlet(){return this.$implicit}}let te=(()=>{class j{constructor(W,ne,ye){this.vcr=W,this.i=ne,this.t=ye,this.content=""}get template(){return he(this.content)?this.content.template:this.content instanceof u.Rgc?this.content:this.t}ngOnChanges({content:W}){var ne;const ye=this.getContext();this.v&&(this.v.context=ye),null===(ne=this.c)||void 0===ne||ne.injector.get(u.sBO).markForCheck(),W&&(this.vcr.clear(),ue(this.content)?this.process(this.content):null!=(ye instanceof H&&ye.$implicit)&&(this.v=this.vcr.createEmbeddedView(this.template,ye)))}ngDoCheck(){he(this.content)&&this.content.check()}static ngTemplateContextGuard(W,ne){return!0}getContext(){return function se(j){return he(j)||j instanceof u.Rgc}(this.content)||ue(this.content)?this.context:new H("function"==typeof this.content?this.content(this.context):this.content)}process(W){const ne=W.createInjector(this.i,this.context&&new Proxy(this.context,{get:(ye,de)=>{var be;return null===(be=this.context)||void 0===be?void 0:be[de]}}));this.c=this.vcr.createComponent(ne.get(u._Vd).resolveComponentFactory(W.component),0,ne)}}return j.\u0275fac=function(W){return new(W||j)(u.Y36(u.s_b),u.Y36(u.zs3),u.Y36(u.Rgc))},j.\u0275dir=u.lG2({type:j,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},features:[u.TTD]}),j})();function he(j){return j instanceof Z}function ue(j){return j instanceof b}let Q=(()=>{class j{}return j.\u0275fac=function(W){return new(W||j)},j.\u0275mod=u.oAB({type:j}),j.\u0275inj=u.cJS({}),j})()},8626:(Ge,le,_)=>{_.d(le,{X:()=>N});var u=_(5992);class N extends u.x{constructor(Z){super(),this._value=Z}get value(){return this.getValue()}_subscribe(Z){const H=super._subscribe(Z);return!H.closed&&Z.next(this._value),H}getValue(){const{hasError:Z,thrownError:H,_value:z}=this;if(Z)throw H;return this._throwIfClosed(),z}next(Z){super.next(this._value=Z)}}},1145:(Ge,le,_)=>{_.d(le,{y:()=>he});var u=_(6609),N=_(5350),b=_(7649),Z=_(5357),H=_(3667),z=_(89),te=_(9094);let he=(()=>{class j{constructor(W){W&&(this._subscribe=W)}lift(W){const ne=new j;return ne.source=this,ne.operator=W,ne}subscribe(W,ne,ye){const de=function Q(j){return j&&j instanceof u.Lv||function se(j){return j&&(0,z.m)(j.next)&&(0,z.m)(j.error)&&(0,z.m)(j.complete)}(j)&&(0,N.Nn)(j)}(W)?W:new u.Hp(W,ne,ye);return(0,te.x)(()=>{const{operator:be,source:je}=this;de.add(be?be.call(de,je):je?this._subscribe(de):this._trySubscribe(de))}),de}_trySubscribe(W){try{return this._subscribe(W)}catch(ne){W.error(ne)}}forEach(W,ne){return new(ne=ue(ne))((ye,de)=>{const be=new u.Hp({next:je=>{try{W(je)}catch(Ke){de(Ke),be.unsubscribe()}},error:de,complete:ye});this.subscribe(be)})}_subscribe(W){var ne;return null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(W)}[b.L](){return this}pipe(...W){return(0,Z.U)(W)(this)}toPromise(W){return new(W=ue(W))((ne,ye)=>{let de;this.subscribe(be=>de=be,be=>ye(be),()=>ne(de))})}}return j.create=Y=>new j(Y),j})();function ue(j){var Y;return null!==(Y=null!=j?j:H.config.Promise)&&void 0!==Y?Y:Promise}},8024:(Ge,le,_)=>{_.d(le,{t:()=>b});var u=_(5992),N=_(238);class b extends u.x{constructor(H=1/0,z=1/0,te=N.l){super(),this._bufferSize=H,this._windowTime=z,this._timestampProvider=te,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=z===1/0,this._bufferSize=Math.max(1,H),this._windowTime=Math.max(1,z)}next(H){const{isStopped:z,_buffer:te,_infiniteTimeWindow:he,_timestampProvider:ue,_windowTime:se}=this;z||(te.push(H),!he&&te.push(ue.now()+se)),this._trimBuffer(),super.next(H)}_subscribe(H){this._throwIfClosed(),this._trimBuffer();const z=this._innerSubscribe(H),{_infiniteTimeWindow:te,_buffer:he}=this,ue=he.slice();for(let se=0;se{_.d(le,{x:()=>te});var u=_(1145),N=_(5350);const Z=(0,_(8261).d)(ue=>function(){ue(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=_(3647),z=_(9094);let te=(()=>{class ue extends u.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Q){const j=new he(this,this);return j.operator=Q,j}_throwIfClosed(){if(this.closed)throw new Z}next(Q){(0,z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const j of this.currentObservers)j.next(Q)}})}error(Q){(0,z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Q;const{observers:j}=this;for(;j.length;)j.shift().error(Q)}})}complete(){(0,z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Q}=this;for(;Q.length;)Q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Q;return(null===(Q=this.observers)||void 0===Q?void 0:Q.length)>0}_trySubscribe(Q){return this._throwIfClosed(),super._trySubscribe(Q)}_subscribe(Q){return this._throwIfClosed(),this._checkFinalizedStatuses(Q),this._innerSubscribe(Q)}_innerSubscribe(Q){const{hasError:j,isStopped:Y,observers:W}=this;return j||Y?N.Lc:(this.currentObservers=null,W.push(Q),new N.w0(()=>{this.currentObservers=null,(0,H.P)(W,Q)}))}_checkFinalizedStatuses(Q){const{hasError:j,thrownError:Y,isStopped:W}=this;j?Q.error(Y):W&&Q.complete()}asObservable(){const Q=new u.y;return Q.source=this,Q}}return ue.create=(se,Q)=>new he(se,Q),ue})();class he extends te{constructor(se,Q){super(),this.destination=se,this.source=Q}next(se){var Q,j;null===(j=null===(Q=this.destination)||void 0===Q?void 0:Q.next)||void 0===j||j.call(Q,se)}error(se){var Q,j;null===(j=null===(Q=this.destination)||void 0===Q?void 0:Q.error)||void 0===j||j.call(Q,se)}complete(){var se,Q;null===(Q=null===(se=this.destination)||void 0===se?void 0:se.complete)||void 0===Q||Q.call(se)}_subscribe(se){var Q,j;return null!==(j=null===(Q=this.source)||void 0===Q?void 0:Q.subscribe(se))&&void 0!==j?j:N.Lc}}},6609:(Ge,le,_)=>{_.d(le,{Hp:()=>ye,Lv:()=>j});var u=_(89),N=_(5350),b=_(3667),Z=_(3320),H=_(5998);const z=ue("C",void 0,void 0);function ue(Re,Ee,ae){return{kind:Re,value:Ee,error:ae}}var se=_(9877),Q=_(9094);class j extends N.w0{constructor(Ee){super(),this.isStopped=!1,Ee?(this.destination=Ee,(0,N.Nn)(Ee)&&Ee.add(this)):this.destination=Ke}static create(Ee,ae,me){return new ye(Ee,ae,me)}next(Ee){this.isStopped?je(function he(Re){return ue("N",Re,void 0)}(Ee),this):this._next(Ee)}error(Ee){this.isStopped?je(function te(Re){return ue("E",void 0,Re)}(Ee),this):(this.isStopped=!0,this._error(Ee))}complete(){this.isStopped?je(z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ee){this.destination.next(Ee)}_error(Ee){try{this.destination.error(Ee)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Y=Function.prototype.bind;function W(Re,Ee){return Y.call(Re,Ee)}class ne{constructor(Ee){this.partialObserver=Ee}next(Ee){const{partialObserver:ae}=this;if(ae.next)try{ae.next(Ee)}catch(me){de(me)}}error(Ee){const{partialObserver:ae}=this;if(ae.error)try{ae.error(Ee)}catch(me){de(me)}else de(Ee)}complete(){const{partialObserver:Ee}=this;if(Ee.complete)try{Ee.complete()}catch(ae){de(ae)}}}class ye extends j{constructor(Ee,ae,me){let _e;if(super(),(0,u.m)(Ee)||!Ee)_e={next:null!=Ee?Ee:void 0,error:null!=ae?ae:void 0,complete:null!=me?me:void 0};else{let q;this&&b.config.useDeprecatedNextContext?(q=Object.create(Ee),q.unsubscribe=()=>this.unsubscribe(),_e={next:Ee.next&&W(Ee.next,q),error:Ee.error&&W(Ee.error,q),complete:Ee.complete&&W(Ee.complete,q)}):_e=Ee}this.destination=new ne(_e)}}function de(Re){b.config.useDeprecatedSynchronousErrorHandling?(0,Q.O)(Re):(0,Z.h)(Re)}function je(Re,Ee){const{onStoppedNotification:ae}=b.config;ae&&se.z.setTimeout(()=>ae(Re,Ee))}const Ke={closed:!0,next:H.Z,error:function be(Re){throw Re},complete:H.Z}},5350:(Ge,le,_)=>{_.d(le,{Lc:()=>z,w0:()=>H,Nn:()=>te});var u=_(89);const b=(0,_(8261).d)(ue=>function(Q){ue(this),this.message=Q?"".concat(Q.length," errors occurred during unsubscription:\n").concat(Q.map((j,Y)=>"".concat(Y+1,") ").concat(j.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=Q});var Z=_(3647);class H{constructor(se){this.initialTeardown=se,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let se;if(!this.closed){this.closed=!0;const{_parentage:Q}=this;if(Q)if(this._parentage=null,Array.isArray(Q))for(const W of Q)W.remove(this);else Q.remove(this);const{initialTeardown:j}=this;if((0,u.m)(j))try{j()}catch(W){se=W instanceof b?W.errors:[W]}const{_finalizers:Y}=this;if(Y){this._finalizers=null;for(const W of Y)try{he(W)}catch(ne){se=null!=se?se:[],ne instanceof b?se=[...se,...ne.errors]:se.push(ne)}}if(se)throw new b(se)}}add(se){var Q;if(se&&se!==this)if(this.closed)he(se);else{if(se instanceof H){if(se.closed||se._hasParent(this))return;se._addParent(this)}(this._finalizers=null!==(Q=this._finalizers)&&void 0!==Q?Q:[]).push(se)}}_hasParent(se){const{_parentage:Q}=this;return Q===se||Array.isArray(Q)&&Q.includes(se)}_addParent(se){const{_parentage:Q}=this;this._parentage=Array.isArray(Q)?(Q.push(se),Q):Q?[Q,se]:se}_removeParent(se){const{_parentage:Q}=this;Q===se?this._parentage=null:Array.isArray(Q)&&(0,Z.P)(Q,se)}remove(se){const{_finalizers:Q}=this;Q&&(0,Z.P)(Q,se),se instanceof H&&se._removeParent(this)}}H.EMPTY=(()=>{const ue=new H;return ue.closed=!0,ue})();const z=H.EMPTY;function te(ue){return ue instanceof H||ue&&"closed"in ue&&(0,u.m)(ue.remove)&&(0,u.m)(ue.add)&&(0,u.m)(ue.unsubscribe)}function he(ue){(0,u.m)(ue)?ue():ue.unsubscribe()}},3667:(Ge,le,_)=>{_.d(le,{config:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},841:(Ge,le,_)=>{_.d(le,{a:()=>se});var u=_(1145),N=_(302),b=_(3477),Z=_(1106),H=_(8472),z=_(9321),te=_(4407),he=_(8014),ue=_(5797);function se(...Y){const W=(0,z.yG)(Y),ne=(0,z.jO)(Y),{args:ye,keys:de}=(0,N.D)(Y);if(0===ye.length)return(0,b.D)([],W);const be=new u.y(function Q(Y,W,ne=Z.y){return ye=>{j(W,()=>{const{length:de}=Y,be=new Array(de);let je=de,Ke=de;for(let Re=0;Re{const Ee=(0,b.D)(Y[Re],W);let ae=!1;Ee.subscribe((0,he.x)(ye,me=>{be[Re]=me,ae||(ae=!0,Ke--),Ke||ye.next(ne(be.slice()))},()=>{--je||ye.complete()}))},ye)},ye)}}(ye,W,de?je=>(0,te.n)(de,je):Z.y));return ne?be.pipe((0,H.Z)(ne)):be}function j(Y,W,ne){Y?(0,ue.f)(ne,Y,W):W()}},8402:(Ge,le,_)=>{_.d(le,{z:()=>H});var u=_(8563),b=_(9321),Z=_(3477);function H(...z){return function N(){return(0,u.J)(1)}()((0,Z.D)(z,(0,b.yG)(z)))}},4406:(Ge,le,_)=>{_.d(le,{P:()=>b});var u=_(1145),N=_(9417);function b(Z){return new u.y(H=>{(0,N.Xf)(Z()).subscribe(H)})}},1288:(Ge,le,_)=>{_.d(le,{E:()=>N});const N=new(_(1145).y)(H=>H.complete())},3477:(Ge,le,_)=>{_.d(le,{D:()=>me});var u=_(9417),N=_(5797),b=_(4134),Z=_(8014);function H(_e,q=0){return(0,b.e)((re,x)=>{re.subscribe((0,Z.x)(x,ce=>(0,N.f)(x,_e,()=>x.next(ce),q),()=>(0,N.f)(x,_e,()=>x.complete(),q),ce=>(0,N.f)(x,_e,()=>x.error(ce),q)))})}function z(_e,q=0){return(0,b.e)((re,x)=>{x.add(_e.schedule(()=>re.subscribe(x),q))})}var ue=_(1145),Q=_(5395),j=_(89);function W(_e,q){if(!_e)throw new Error("Iterable cannot be null");return new ue.y(re=>{(0,N.f)(re,q,()=>{const x=_e[Symbol.asyncIterator]();(0,N.f)(re,q,()=>{x.next().then(ce=>{ce.done?re.complete():re.next(ce.value)})},0,!0)})})}var ne=_(7298),ye=_(1246),de=_(5859),be=_(4432),je=_(3656),Ke=_(4993),Re=_(4766);function me(_e,q){return q?function ae(_e,q){if(null!=_e){if((0,ne.c)(_e))return function te(_e,q){return(0,u.Xf)(_e).pipe(z(q),H(q))}(_e,q);if((0,de.z)(_e))return function se(_e,q){return new ue.y(re=>{let x=0;return q.schedule(function(){x===_e.length?re.complete():(re.next(_e[x++]),re.closed||this.schedule())})})}(_e,q);if((0,ye.t)(_e))return function he(_e,q){return(0,u.Xf)(_e).pipe(z(q),H(q))}(_e,q);if((0,je.D)(_e))return W(_e,q);if((0,be.T)(_e))return function Y(_e,q){return new ue.y(re=>{let x;return(0,N.f)(re,q,()=>{x=_e[Q.h](),(0,N.f)(re,q,()=>{let ce,Ve;try{({value:ce,done:Ve}=x.next())}catch(Ye){return void re.error(Ye)}Ve?re.complete():re.next(ce)},0,!0)}),()=>(0,j.m)(null==x?void 0:x.return)&&x.return()})}(_e,q);if((0,Re.L)(_e))return function Ee(_e,q){return W((0,Re.Q)(_e),q)}(_e,q)}throw(0,Ke.z)(_e)}(_e,q):(0,u.Xf)(_e)}},3276:(Ge,le,_)=>{_.d(le,{R:()=>se});var u=_(9417),N=_(1145),b=_(2874),Z=_(5859),H=_(89),z=_(8472);const te=["addListener","removeListener"],he=["addEventListener","removeEventListener"],ue=["on","off"];function se(ne,ye,de,be){if((0,H.m)(de)&&(be=de,de=void 0),be)return se(ne,ye,de).pipe((0,z.Z)(be));const[je,Ke]=function W(ne){return(0,H.m)(ne.addEventListener)&&(0,H.m)(ne.removeEventListener)}(ne)?he.map(Re=>Ee=>ne[Re](ye,Ee,de)):function j(ne){return(0,H.m)(ne.addListener)&&(0,H.m)(ne.removeListener)}(ne)?te.map(Q(ne,ye)):function Y(ne){return(0,H.m)(ne.on)&&(0,H.m)(ne.off)}(ne)?ue.map(Q(ne,ye)):[];if(!je&&(0,Z.z)(ne))return(0,b.z)(Re=>se(Re,ye,de))((0,u.Xf)(ne));if(!je)throw new TypeError("Invalid event target");return new N.y(Re=>{const Ee=(...ae)=>Re.next(1Ke(Ee)})}function Q(ne,ye){return de=>be=>ne[de](ye,be)}},9417:(Ge,le,_)=>{_.d(le,{Xf:()=>Y});var u=_(3449),N=_(5859),b=_(1246),Z=_(1145),H=_(7298),z=_(3656),te=_(4993),he=_(4432),ue=_(4766),se=_(89),Q=_(3320),j=_(7649);function Y(Re){if(Re instanceof Z.y)return Re;if(null!=Re){if((0,H.c)(Re))return function W(Re){return new Z.y(Ee=>{const ae=Re[j.L]();if((0,se.m)(ae.subscribe))return ae.subscribe(Ee);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Re);if((0,N.z)(Re))return function ne(Re){return new Z.y(Ee=>{for(let ae=0;ae{Re.then(ae=>{Ee.closed||(Ee.next(ae),Ee.complete())},ae=>Ee.error(ae)).then(null,Q.h)})}(Re);if((0,z.D)(Re))return be(Re);if((0,he.T)(Re))return function de(Re){return new Z.y(Ee=>{for(const ae of Re)if(Ee.next(ae),Ee.closed)return;Ee.complete()})}(Re);if((0,ue.L)(Re))return function je(Re){return be((0,ue.Q)(Re))}(Re)}throw(0,te.z)(Re)}function be(Re){return new Z.y(Ee=>{(function Ke(Re,Ee){var ae,me,_e,q;return(0,u.mG)(this,void 0,void 0,function*(){try{for(ae=(0,u.KL)(Re);!(me=yield ae.next()).done;)if(Ee.next(me.value),Ee.closed)return}catch(re){_e={error:re}}finally{try{me&&!me.done&&(q=ae.return)&&(yield q.call(ae))}finally{if(_e)throw _e.error}}Ee.complete()})})(Re,Ee).catch(ae=>Ee.error(ae))})}},3506:(Ge,le,_)=>{_.d(le,{T:()=>z});var u=_(8563),N=_(9417),b=_(1288),Z=_(9321),H=_(3477);function z(...te){const he=(0,Z.yG)(te),ue=(0,Z._6)(te,1/0),se=te;return se.length?1===se.length?(0,N.Xf)(se[0]):(0,u.J)(ue)((0,H.D)(se,he)):b.E}},287:(Ge,le,_)=>{_.d(le,{of:()=>b});var u=_(9321),N=_(3477);function b(...Z){const H=(0,u.yG)(Z);return(0,N.D)(Z,H)}},1297:(Ge,le,_)=>{_.d(le,{H:()=>H});var u=_(1145),N=_(1845),b=_(625);function H(z=0,te,he=N.P){let ue=-1;return null!=te&&((0,b.K)(te)?he=te:ue=te),new u.y(se=>{let Q=function Z(z){return z instanceof Date&&!isNaN(z)}(z)?+z-he.now():z;Q<0&&(Q=0);let j=0;return he.schedule(function(){se.closed||(se.next(j++),0<=ue?this.schedule(void 0,ue):se.complete())},Q)})}},8014:(Ge,le,_)=>{_.d(le,{x:()=>N});var u=_(6609);function N(Z,H,z,te,he){return new b(Z,H,z,te,he)}class b extends u.Lv{constructor(H,z,te,he,ue,se){super(H),this.onFinalize=ue,this.shouldUnsubscribe=se,this._next=z?function(Q){try{z(Q)}catch(j){H.error(j)}}:super._next,this._error=he?function(Q){try{he(Q)}catch(j){H.error(j)}finally{this.unsubscribe()}}:super._error,this._complete=te?function(){try{te()}catch(Q){H.error(Q)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var H;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:z}=this;super.unsubscribe(),!z&&(null===(H=this.onFinalize)||void 0===H||H.call(this))}}}},3426:(Ge,le,_)=>{_.d(le,{K:()=>Z});var u=_(9417),N=_(8014),b=_(4134);function Z(H){return(0,b.e)((z,te)=>{let se,he=null,ue=!1;he=z.subscribe((0,N.x)(te,void 0,void 0,Q=>{se=(0,u.Xf)(H(Q,Z(H)(z))),he?(he.unsubscribe(),he=null,se.subscribe(te)):ue=!0})),ue&&(he.unsubscribe(),he=null,se.subscribe(te))})}},2506:(Ge,le,_)=>{_.d(le,{g:()=>se});var u=_(1845),N=_(8402),b=_(4359),Z=_(2176),H=_(3197),z=_(2874),te=_(9417);function he(Q,j){return j?Y=>(0,N.z)(j.pipe((0,b.q)(1),(0,Z.l)()),Y.pipe(he(Q))):(0,z.z)((Y,W)=>(0,te.Xf)(Q(Y,W)).pipe((0,b.q)(1),(0,H.h)(Y)))}var ue=_(1297);function se(Q,j=u.z){const Y=(0,ue.H)(Q,j);return he(()=>Y)}},8777:(Ge,le,_)=>{_.d(le,{x:()=>Z});var u=_(1106),N=_(4134),b=_(8014);function Z(z,te=u.y){return z=null!=z?z:H,(0,N.e)((he,ue)=>{let se,Q=!0;he.subscribe((0,b.x)(ue,j=>{const Y=te(j);(Q||!z(se,Y))&&(Q=!1,se=Y,ue.next(j))}))})}function H(z,te){return z===te}},9735:(Ge,le,_)=>{_.d(le,{h:()=>b});var u=_(4134),N=_(8014);function b(Z,H){return(0,u.e)((z,te)=>{let he=0;z.subscribe((0,N.x)(te,ue=>Z.call(H,ue,he++)&&te.next(ue)))})}},5220:(Ge,le,_)=>{_.d(le,{x:()=>N});var u=_(4134);function N(b){return(0,u.e)((Z,H)=>{try{Z.subscribe(H)}finally{H.add(b)}})}},2176:(Ge,le,_)=>{_.d(le,{l:()=>Z});var u=_(4134),N=_(8014),b=_(5998);function Z(){return(0,u.e)((H,z)=>{H.subscribe((0,N.x)(z,b.Z))})}},5990:(Ge,le,_)=>{_.d(le,{U:()=>b});var u=_(4134),N=_(8014);function b(Z,H){return(0,u.e)((z,te)=>{let he=0;z.subscribe((0,N.x)(te,ue=>{te.next(Z.call(H,ue,he++))}))})}},3197:(Ge,le,_)=>{_.d(le,{h:()=>N});var u=_(5990);function N(b){return(0,u.U)(()=>b)}},8563:(Ge,le,_)=>{_.d(le,{J:()=>b});var u=_(2874),N=_(1106);function b(Z=1/0){return(0,u.z)(N.y,Z)}},2874:(Ge,le,_)=>{_.d(le,{z:()=>he});var u=_(5990),N=_(9417),b=_(4134),Z=_(5797),H=_(8014),te=_(89);function he(ue,se,Q=1/0){return(0,te.m)(se)?he((j,Y)=>(0,u.U)((W,ne)=>se(j,W,Y,ne))((0,N.Xf)(ue(j,Y))),Q):("number"==typeof se&&(Q=se),(0,b.e)((j,Y)=>function z(ue,se,Q,j,Y,W,ne,ye){const de=[];let be=0,je=0,Ke=!1;const Re=()=>{Ke&&!de.length&&!be&&se.complete()},Ee=me=>be{W&&se.next(me),be++;let _e=!1;(0,N.Xf)(Q(me,je++)).subscribe((0,H.x)(se,q=>{null==Y||Y(q),W?Ee(q):se.next(q)},()=>{_e=!0},void 0,()=>{if(_e)try{for(be--;de.length&&beae(q)):ae(q)}Re()}catch(q){se.error(q)}}))};return ue.subscribe((0,H.x)(se,Ee,()=>{Ke=!0,Re()})),()=>{null==ye||ye()}}(j,Y,ue,Q)))}},7656:(Ge,le,_)=>{_.d(le,{r:()=>z});var u=_(1288),N=_(4134),b=_(8014),Z=_(9417),H=_(1297);function z(te){let ue,he=1/0;return null!=te&&("object"==typeof te?({count:he=1/0,delay:ue}=te):he=te),he<=0?()=>u.E:(0,N.e)((se,Q)=>{let Y,j=0;const W=()=>{if(null==Y||Y.unsubscribe(),Y=null,null!=ue){const ye="number"==typeof ue?(0,H.H)(ue):(0,Z.Xf)(ue(j)),de=(0,b.x)(Q,()=>{de.unsubscribe(),ne()});ye.subscribe(de)}else ne()},ne=()=>{let ye=!1;Y=se.subscribe((0,b.x)(Q,void 0,()=>{++j{_.d(le,{B:()=>H});var u=_(9417),N=_(5992),b=_(6609),Z=_(4134);function H(te={}){const{connector:he=(()=>new N.x),resetOnError:ue=!0,resetOnComplete:se=!0,resetOnRefCountZero:Q=!0}=te;return j=>{let Y,W,ne,ye=0,de=!1,be=!1;const je=()=>{null==W||W.unsubscribe(),W=void 0},Ke=()=>{je(),Y=ne=void 0,de=be=!1},Re=()=>{const Ee=Y;Ke(),null==Ee||Ee.unsubscribe()};return(0,Z.e)((Ee,ae)=>{ye++,!be&&!de&&je();const me=ne=null!=ne?ne:he();ae.add(()=>{ye--,0===ye&&!be&&!de&&(W=z(Re,Q))}),me.subscribe(ae),!Y&&ye>0&&(Y=new b.Hp({next:_e=>me.next(_e),error:_e=>{be=!0,je(),W=z(Ke,ue,_e),me.error(_e)},complete:()=>{de=!0,je(),W=z(Ke,se),me.complete()}}),(0,u.Xf)(Ee).subscribe(Y))})(j)}}function z(te,he,...ue){if(!0===he)return void te();if(!1===he)return;const se=new b.Hp({next:()=>{se.unsubscribe(),te()}});return(0,u.Xf)(he(...ue)).subscribe(se)}},4213:(Ge,le,_)=>{_.d(le,{d:()=>b});var u=_(8024),N=_(9853);function b(Z,H,z){let te,he=!1;return Z&&"object"==typeof Z?({bufferSize:te=1/0,windowTime:H=1/0,refCount:he=!1,scheduler:z}=Z):te=null!=Z?Z:1/0,(0,N.B)({connector:()=>new u.t(te,H,z),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:he})}},6021:(Ge,le,_)=>{_.d(le,{T:()=>N});var u=_(9735);function N(b){return(0,u.h)((Z,H)=>b<=H)}},1553:(Ge,le,_)=>{_.d(le,{O:()=>Z});var u=_(8402),N=_(9321),b=_(4134);function Z(...H){const z=(0,N.yG)(H);return(0,b.e)((te,he)=>{(z?(0,u.z)(H,te,z):(0,u.z)(H,te)).subscribe(he)})}},3318:(Ge,le,_)=>{_.d(le,{w:()=>Z});var u=_(9417),N=_(4134),b=_(8014);function Z(H,z){return(0,N.e)((te,he)=>{let ue=null,se=0,Q=!1;const j=()=>Q&&!ue&&he.complete();te.subscribe((0,b.x)(he,Y=>{null==ue||ue.unsubscribe();let W=0;const ne=se++;(0,u.Xf)(H(Y,ne)).subscribe(ue=(0,b.x)(he,ye=>he.next(z?z(Y,ye,ne,W++):ye),()=>{ue=null,j()}))},()=>{Q=!0,j()}))})}},4359:(Ge,le,_)=>{_.d(le,{q:()=>Z});var u=_(1288),N=_(4134),b=_(8014);function Z(H){return H<=0?()=>u.E:(0,N.e)((z,te)=>{let he=0;z.subscribe((0,b.x)(te,ue=>{++he<=H&&(te.next(ue),H<=he&&te.complete())}))})}},7701:(Ge,le,_)=>{_.d(le,{R:()=>H});var u=_(4134),N=_(8014),b=_(9417),Z=_(5998);function H(z){return(0,u.e)((te,he)=>{(0,b.Xf)(z).subscribe((0,N.x)(he,()=>he.complete(),Z.Z)),!he.closed&&te.subscribe(he)})}},8527:(Ge,le,_)=>{_.d(le,{b:()=>H});var u=_(89),N=_(4134),b=_(8014),Z=_(1106);function H(z,te,he){const ue=(0,u.m)(z)||te||he?{next:z,error:te,complete:he}:z;return ue?(0,N.e)((se,Q)=>{var j;null===(j=ue.subscribe)||void 0===j||j.call(ue);let Y=!0;se.subscribe((0,b.x)(Q,W=>{var ne;null===(ne=ue.next)||void 0===ne||ne.call(ue,W),Q.next(W)},()=>{var W;Y=!1,null===(W=ue.complete)||void 0===W||W.call(ue),Q.complete()},W=>{var ne;Y=!1,null===(ne=ue.error)||void 0===ne||ne.call(ue,W),Q.error(W)},()=>{var W,ne;Y&&(null===(W=ue.unsubscribe)||void 0===W||W.call(ue)),null===(ne=ue.finalize)||void 0===ne||ne.call(ue)}))}):Z.y}},4354:(Ge,le,_)=>{_.d(le,{p:()=>te});var u=_(1845),N=_(4134),b=_(8014),Z=_(9417),z=_(1297);function te(he,ue=u.z,se){const Q=(0,z.H)(he,ue);return function H(he,ue){return(0,N.e)((se,Q)=>{const{leading:j=!0,trailing:Y=!1}=null!=ue?ue:{};let W=!1,ne=null,ye=null,de=!1;const be=()=>{null==ye||ye.unsubscribe(),ye=null,Y&&(Re(),de&&Q.complete())},je=()=>{ye=null,de&&Q.complete()},Ke=Ee=>ye=(0,Z.Xf)(he(Ee)).subscribe((0,b.x)(Q,be,je)),Re=()=>{if(W){W=!1;const Ee=ne;ne=null,Q.next(Ee),!de&&Ke(Ee)}};se.subscribe((0,b.x)(Q,Ee=>{W=!0,ne=Ee,(!ye||ye.closed)&&(j?Re():Ke(Ee))},()=>{de=!0,(!(Y&&W&&ye)||ye.closed)&&Q.complete()}))})}(()=>Q,se)}},331:(Ge,le,_)=>{_.d(le,{M:()=>te});var u=_(4134),N=_(8014),b=_(9417),Z=_(1106),H=_(5998),z=_(9321);function te(...he){const ue=(0,z.jO)(he);return(0,u.e)((se,Q)=>{const j=he.length,Y=new Array(j);let W=he.map(()=>!1),ne=!1;for(let ye=0;ye{Y[ye]=de,!ne&&!W[ye]&&(W[ye]=!0,(ne=W.every(Z.y))&&(W=null))},H.Z));se.subscribe((0,N.x)(Q,ye=>{if(ne){const de=[ye,...Y];Q.next(ue?ue(...de):de)}}))})}},1845:(Ge,le,_)=>{_.d(le,{P:()=>se,z:()=>ue});var u=_(5350);class N extends u.w0{constructor(j,Y){super()}schedule(j,Y=0){return this}}const b={setInterval(Q,j,...Y){const{delegate:W}=b;return null!=W&&W.setInterval?W.setInterval(Q,j,...Y):setInterval(Q,j,...Y)},clearInterval(Q){const{delegate:j}=b;return((null==j?void 0:j.clearInterval)||clearInterval)(Q)},delegate:void 0};var Z=_(3647),z=_(238);class te{constructor(j,Y=te.now){this.schedulerActionCtor=j,this.now=Y}schedule(j,Y=0,W){return new this.schedulerActionCtor(this,j).schedule(W,Y)}}te.now=z.l.now;const ue=new class he extends te{constructor(j,Y=te.now){super(j,Y),this.actions=[],this._active=!1}flush(j){const{actions:Y}=this;if(this._active)return void Y.push(j);let W;this._active=!0;do{if(W=j.execute(j.state,j.delay))break}while(j=Y.shift());if(this._active=!1,W){for(;j=Y.shift();)j.unsubscribe();throw W}}}(class H extends N{constructor(j,Y){super(j,Y),this.scheduler=j,this.work=Y,this.pending=!1}schedule(j,Y=0){var W;if(this.closed)return this;this.state=j;const ne=this.id,ye=this.scheduler;return null!=ne&&(this.id=this.recycleAsyncId(ye,ne,Y)),this.pending=!0,this.delay=Y,this.id=null!==(W=this.id)&&void 0!==W?W:this.requestAsyncId(ye,this.id,Y),this}requestAsyncId(j,Y,W=0){return b.setInterval(j.flush.bind(j,this),W)}recycleAsyncId(j,Y,W=0){if(null!=W&&this.delay===W&&!1===this.pending)return Y;null!=Y&&b.clearInterval(Y)}execute(j,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const W=this._execute(j,Y);if(W)return W;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(j,Y){let ne,W=!1;try{this.work(j)}catch(ye){W=!0,ne=ye||new Error("Scheduled action threw falsy error")}if(W)return this.unsubscribe(),ne}unsubscribe(){if(!this.closed){const{id:j,scheduler:Y}=this,{actions:W}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Z.P)(W,this),null!=j&&(this.id=this.recycleAsyncId(Y,j,null)),this.delay=null,super.unsubscribe()}}}),se=ue},238:(Ge,le,_)=>{_.d(le,{l:()=>u});const u={now:()=>(u.delegate||Date).now(),delegate:void 0}},9877:(Ge,le,_)=>{_.d(le,{z:()=>u});const u={setTimeout(N,b,...Z){const{delegate:H}=u;return null!=H&&H.setTimeout?H.setTimeout(N,b,...Z):setTimeout(N,b,...Z)},clearTimeout(N){const{delegate:b}=u;return((null==b?void 0:b.clearTimeout)||clearTimeout)(N)},delegate:void 0}},5395:(Ge,le,_)=>{_.d(le,{h:()=>N});const N=function u(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},7649:(Ge,le,_)=>{_.d(le,{L:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},9321:(Ge,le,_)=>{_.d(le,{_6:()=>z,jO:()=>Z,yG:()=>H});var u=_(89),N=_(625);function b(te){return te[te.length-1]}function Z(te){return(0,u.m)(b(te))?te.pop():void 0}function H(te){return(0,N.K)(b(te))?te.pop():void 0}function z(te,he){return"number"==typeof b(te)?te.pop():he}},302:(Ge,le,_)=>{_.d(le,{D:()=>H});const{isArray:u}=Array,{getPrototypeOf:N,prototype:b,keys:Z}=Object;function H(te){if(1===te.length){const he=te[0];if(u(he))return{args:he,keys:null};if(function z(te){return te&&"object"==typeof te&&N(te)===b}(he)){const ue=Z(he);return{args:ue.map(se=>he[se]),keys:ue}}}return{args:te,keys:null}}},3647:(Ge,le,_)=>{function u(N,b){if(N){const Z=N.indexOf(b);0<=Z&&N.splice(Z,1)}}_.d(le,{P:()=>u})},8261:(Ge,le,_)=>{function u(N){const Z=N(H=>{Error.call(H),H.stack=(new Error).stack});return Z.prototype=Object.create(Error.prototype),Z.prototype.constructor=Z,Z}_.d(le,{d:()=>u})},4407:(Ge,le,_)=>{function u(N,b){return N.reduce((Z,H,z)=>(Z[H]=b[z],Z),{})}_.d(le,{n:()=>u})},9094:(Ge,le,_)=>{_.d(le,{O:()=>Z,x:()=>b});var u=_(3667);let N=null;function b(H){if(u.config.useDeprecatedSynchronousErrorHandling){const z=!N;if(z&&(N={errorThrown:!1,error:null}),H(),z){const{errorThrown:te,error:he}=N;if(N=null,te)throw he}}else H()}function Z(H){u.config.useDeprecatedSynchronousErrorHandling&&N&&(N.errorThrown=!0,N.error=H)}},5797:(Ge,le,_)=>{function u(N,b,Z,H=0,z=!1){const te=b.schedule(function(){Z(),z?N.add(this.schedule(null,H)):this.unsubscribe()},H);if(N.add(te),!z)return te}_.d(le,{f:()=>u})},1106:(Ge,le,_)=>{function u(N){return N}_.d(le,{y:()=>u})},5859:(Ge,le,_)=>{_.d(le,{z:()=>u});const u=N=>N&&"number"==typeof N.length&&"function"!=typeof N},3656:(Ge,le,_)=>{_.d(le,{D:()=>N});var u=_(89);function N(b){return Symbol.asyncIterator&&(0,u.m)(null==b?void 0:b[Symbol.asyncIterator])}},89:(Ge,le,_)=>{function u(N){return"function"==typeof N}_.d(le,{m:()=>u})},7298:(Ge,le,_)=>{_.d(le,{c:()=>b});var u=_(7649),N=_(89);function b(Z){return(0,N.m)(Z[u.L])}},4432:(Ge,le,_)=>{_.d(le,{T:()=>b});var u=_(5395),N=_(89);function b(Z){return(0,N.m)(null==Z?void 0:Z[u.h])}},2861:(Ge,le,_)=>{_.d(le,{b:()=>b});var u=_(1145),N=_(89);function b(Z){return!!Z&&(Z instanceof u.y||(0,N.m)(Z.lift)&&(0,N.m)(Z.subscribe))}},1246:(Ge,le,_)=>{_.d(le,{t:()=>N});var u=_(89);function N(b){return(0,u.m)(null==b?void 0:b.then)}},4766:(Ge,le,_)=>{_.d(le,{L:()=>Z,Q:()=>b});var u=_(3449),N=_(89);function b(H){return(0,u.FC)(this,arguments,function*(){const te=H.getReader();try{for(;;){const{value:he,done:ue}=yield(0,u.qq)(te.read());if(ue)return yield(0,u.qq)(void 0);yield yield(0,u.qq)(he)}}finally{te.releaseLock()}})}function Z(H){return(0,N.m)(null==H?void 0:H.getReader)}},625:(Ge,le,_)=>{_.d(le,{K:()=>N});var u=_(89);function N(b){return b&&(0,u.m)(b.schedule)}},4134:(Ge,le,_)=>{_.d(le,{A:()=>N,e:()=>b});var u=_(89);function N(Z){return(0,u.m)(null==Z?void 0:Z.lift)}function b(Z){return H=>{if(N(H))return H.lift(function(z){try{return Z(z,this)}catch(te){this.error(te)}});throw new TypeError("Unable to lift unknown Observable type")}}},8472:(Ge,le,_)=>{_.d(le,{Z:()=>Z});var u=_(5990);const{isArray:N}=Array;function Z(H){return(0,u.U)(z=>function b(H,z){return N(z)?H(...z):H(z)}(H,z))}},5998:(Ge,le,_)=>{function u(){}_.d(le,{Z:()=>u})},5357:(Ge,le,_)=>{_.d(le,{U:()=>b,z:()=>N});var u=_(1106);function N(...Z){return b(Z)}function b(Z){return 0===Z.length?u.y:1===Z.length?Z[0]:function(z){return Z.reduce((te,he)=>he(te),z)}}},3320:(Ge,le,_)=>{_.d(le,{h:()=>b});var u=_(3667),N=_(9877);function b(Z){N.z.setTimeout(()=>{const{onUnhandledError:H}=u.config;if(!H)throw Z;H(Z)})}},4993:(Ge,le,_)=>{function u(N){return new TypeError("You provided ".concat(null!==N&&"object"==typeof N?"an invalid object":"'".concat(N,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}_.d(le,{z:()=>u})},3449:(Ge,le,_)=>{function Z(ee,fe){var Te={};for(var Se in ee)Object.prototype.hasOwnProperty.call(ee,Se)&&fe.indexOf(Se)<0&&(Te[Se]=ee[Se]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols){var Be=0;for(Se=Object.getOwnPropertySymbols(ee);Be=0;_t--)(at=ee[_t])&&(ke=(Be<3?at(ke):Be>3?at(fe,Te,ke):at(fe,Te))||ke);return Be>3&&ke&&Object.defineProperty(fe,Te,ke),ke}function j(ee,fe,Te,Se){return new(Te||(Te=Promise))(function(ke,at){function _t(Ie){try{ct(Se.next(Ie))}catch(pt){at(pt)}}function dn(Ie){try{ct(Se.throw(Ie))}catch(pt){at(pt)}}function ct(Ie){Ie.done?ke(Ie.value):function Be(ke){return ke instanceof Te?ke:new Te(function(at){at(ke)})}(Ie.value).then(_t,dn)}ct((Se=Se.apply(ee,fe||[])).next())})}function Re(ee){return this instanceof Re?(this.v=ee,this):new Re(ee)}function Ee(ee,fe,Te){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Be,Se=Te.apply(ee,fe||[]),ke=[];return Be={},at("next"),at("throw"),at("return"),Be[Symbol.asyncIterator]=function(){return this},Be;function at(lt){Se[lt]&&(Be[lt]=function(Ht){return new Promise(function(ze,rt){ke.push([lt,Ht,ze,rt])>1||_t(lt,Ht)})})}function _t(lt,Ht){try{!function dn(lt){lt.value instanceof Re?Promise.resolve(lt.value.v).then(ct,Ie):pt(ke[0][2],lt)}(Se[lt](Ht))}catch(ze){pt(ke[0][3],ze)}}function ct(lt){_t("next",lt)}function Ie(lt){_t("throw",lt)}function pt(lt,Ht){lt(Ht),ke.shift(),ke.length&&_t(ke[0][0],ke[0][1])}}function me(ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Te,fe=ee[Symbol.asyncIterator];return fe?fe.call(ee):(ee=function ye(ee){var fe="function"==typeof Symbol&&Symbol.iterator,Te=fe&&ee[fe],Se=0;if(Te)return Te.call(ee);if(ee&&"number"==typeof ee.length)return{next:function(){return ee&&Se>=ee.length&&(ee=void 0),{value:ee&&ee[Se++],done:!ee}}};throw new TypeError(fe?"Object is not iterable.":"Symbol.iterator is not defined.")}(ee),Te={},Se("next"),Se("throw"),Se("return"),Te[Symbol.asyncIterator]=function(){return this},Te);function Se(ke){Te[ke]=ee[ke]&&function(at){return new Promise(function(_t,dn){!function Be(ke,at,_t,dn){Promise.resolve(dn).then(function(ct){ke({value:ct,done:_t})},at)}(_t,dn,(at=ee[ke](at)).done,at.value)})}}}_.d(le,{FC:()=>Ee,KL:()=>me,_T:()=>Z,gn:()=>H,mG:()=>j,qq:()=>Re}),"function"==typeof SuppressedError&&SuppressedError},6206:(Ge,le,_)=>{_.d(le,{EY:()=>W,IO:()=>Y,X$:()=>N,ZE:()=>me,ZN:()=>ae,eR:()=>ue,jt:()=>b,k1:()=>_e,l3:()=>u,oB:()=>z,pV:()=>Q,vP:()=>H});const u="*";function N(q,re){return{type:7,name:q,definitions:re,options:{}}}function b(q,re=null){return{type:4,styles:re,timings:q}}function H(q,re=null){return{type:2,steps:q,options:re}}function z(q){return{type:6,styles:q,offset:null}}function ue(q,re,x=null){return{type:1,expr:q,animation:re,options:x}}function Q(q=null){return{type:9,options:q}}function Y(q,re,x=null){return{type:11,selector:q,animation:re,options:x}}function W(q,re){return{type:12,timings:q,animation:re}}class ae{constructor(re=0,x=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=re+x}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}onStart(re){this._originalOnStartFns.push(re),this._onStartFns.push(re)}onDone(re){this._originalOnDoneFns.push(re),this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(re=>re()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(re){this._position=this.totalTime?re*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(re){const x="start"==re?this._onStartFns:this._onDoneFns;x.forEach(ce=>ce()),x.length=0}}class me{constructor(re){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=re;let x=0,ce=0,Ve=0;const Ye=this.players.length;0==Ye?queueMicrotask(()=>this._onFinish()):this.players.forEach(mt=>{mt.onDone(()=>{++x==Ye&&this._onFinish()}),mt.onDestroy(()=>{++ce==Ye&&this._onDestroy()}),mt.onStart(()=>{++Ve==Ye&&this._onStart()})}),this.totalTime=this.players.reduce((mt,$e)=>Math.max(mt,$e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}init(){this.players.forEach(re=>re.init())}onStart(re){this._onStartFns.push(re)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(re=>re()),this._onStartFns=[])}onDone(re){this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(re=>re.play())}pause(){this.players.forEach(re=>re.pause())}restart(){this.players.forEach(re=>re.restart())}finish(){this._onFinish(),this.players.forEach(re=>re.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(re=>re.destroy()),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this.players.forEach(re=>re.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(re){const x=re*this.totalTime;this.players.forEach(ce=>{const Ve=ce.totalTime?Math.min(1,x/ce.totalTime):1;ce.setPosition(Ve)})}getPosition(){const re=this.players.reduce((x,ce)=>null===x||ce.totalTime>x.totalTime?ce:x,null);return null!=re?re.getPosition():0}beforeDestroy(){this.players.forEach(re=>{re.beforeDestroy&&re.beforeDestroy()})}triggerCallback(re){const x="start"==re?this._onStartFns:this._onDoneFns;x.forEach(ce=>ce()),x.length=0}}const _e="!"},1190:(Ge,le,_)=>{_.d(le,{Ar:()=>Nr,DT:()=>Ii,NH:()=>ft,Th:()=>No,Vi:()=>wt,cB:()=>kt,s$:()=>Un});var u=_(6206),N=_(1582);function Z(F){return new N.vHH(3e3,!1)}function ke(F){switch(F.length){case 0:return new u.ZN;case 1:return F[0];default:return new u.ZE(F)}}function at(F,c,g=new Map,w=new Map){const T=[],L=[];let B=-1,G=null;if(c.forEach(oe=>{const Oe=oe.get("offset"),y=Oe==B,v=y&&G||new Map;oe.forEach((A,C)=>{let R=C,we=A;if("offset"!==C)switch(R=F.normalizePropertyName(R,T),we){case u.k1:we=g.get(C);break;case u.l3:we=w.get(C);break;default:we=F.normalizeStyleValue(C,R,we,T)}v.set(R,we)}),y||L.push(v),G=v,B=Oe}),T.length)throw function x(F){return new N.vHH(3502,!1)}();return L}function _t(F,c,g,w){switch(c){case"start":F.onStart(()=>w(g&&dn(g,"start",F)));break;case"done":F.onDone(()=>w(g&&dn(g,"done",F)));break;case"destroy":F.onDestroy(()=>w(g&&dn(g,"destroy",F)))}}function dn(F,c,g){const w=g.totalTime,L=ct(F.element,F.triggerName,F.fromState,F.toState,c||F.phaseName,null==w?F.totalTime:w,!!g.disabled),B=F._data;return null!=B&&(L._data=B),L}function ct(F,c,g,w,T="",L=0,B){return{element:F,triggerName:c,fromState:g,toState:w,phaseName:T,totalTime:L,disabled:!!B}}function Ie(F,c,g){let w=F.get(c);return w||F.set(c,w=g),w}function pt(F){const c=F.indexOf(":");return[F.substring(1,c),F.slice(c+1)]}const lt=(()=>typeof document>"u"?null:document.documentElement)();function Ht(F){const c=F.parentNode||F.host||null;return c===lt?null:c}let rt=null,Ze=!1;function bt(F,c){for(;c;){if(c===F)return!0;c=Ht(c)}return!1}function dt(F,c,g){if(g)return Array.from(F.querySelectorAll(c));const w=F.querySelector(c);return w?[w]:[]}let kt=(()=>{var F;class c{validateStyleProperty(w){return function Rt(F){rt||(rt=function Dt(){return typeof document<"u"?document.body:null}()||{},Ze=!!rt.style&&"WebkitAppearance"in rt.style);let c=!0;return rt.style&&!function ze(F){return"ebkit"==F.substring(1,6)}(F)&&(c=F in rt.style,!c&&Ze&&(c="Webkit"+F.charAt(0).toUpperCase()+F.slice(1)in rt.style)),c}(w)}matchesElement(w,T){return!1}containsElement(w,T){return bt(w,T)}getParentElement(w){return Ht(w)}query(w,T,L){return dt(w,T,L)}computeStyle(w,T,L){return L||""}animate(w,T,L,B,G,oe=[],Oe){return new u.ZN(L,B)}}return(F=c).\u0275fac=function(w){return new(w||F)},F.\u0275prov=N.Yz7({token:F,factory:F.\u0275fac}),c})(),wt=(()=>{class c{}return c.NOOP=new kt,c})();class ft{}const Rn=1e3,vn="ng-enter",Kt="ng-leave",Xt="ng-trigger",tt=".ng-trigger",Nt="ng-animating",Mr=".ng-animating";function Je(F){if("number"==typeof F)return F;const c=F.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:Tt(parseFloat(c[1]),c[2])}function Tt(F,c){return"s"===c?F*Rn:F}function Gt(F,c,g){return F.hasOwnProperty("duration")?F:function tn(F,c,g){let T,L=0,B="";if("string"==typeof F){const G=F.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===G)return c.push(Z()),{duration:0,delay:0,easing:""};T=Tt(parseFloat(G[1]),G[2]);const oe=G[3];null!=oe&&(L=Tt(parseFloat(oe),G[4]));const Oe=G[5];Oe&&(B=Oe)}else T=F;if(!g){let G=!1,oe=c.length;T<0&&(c.push(function H(){return new N.vHH(3100,!1)}()),G=!0),L<0&&(c.push(function z(){return new N.vHH(3101,!1)}()),G=!0),G&&c.splice(oe,0,Z())}return{duration:T,delay:L,easing:B}}(F,c,g)}function qt(F,c={}){return Object.keys(F).forEach(g=>{c[g]=F[g]}),c}function Hn(F){const c=new Map;return Object.keys(F).forEach(g=>{c.set(g,F[g])}),c}function rn(F,c=new Map,g){if(g)for(let[w,T]of g)c.set(w,T);for(let[w,T]of F)c.set(w,T);return c}function Yt(F,c,g){c.forEach((w,T)=>{const L=Qe(T);g&&!g.has(T)&&g.set(T,F.style[L]),F.style[L]=w})}function Sn(F,c){c.forEach((g,w)=>{const T=Qe(w);F.style[T]=""})}function wr(F){return Array.isArray(F)?1==F.length?F[0]:(0,u.vP)(F):F}const ie=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function Ce(F){let c=[];if("string"==typeof F){let g;for(;g=ie.exec(F);)c.push(g[1]);ie.lastIndex=0}return c}function J(F,c,g){const w=F.toString(),T=w.replace(ie,(L,B)=>{let G=c[B];return null==G&&(g.push(function he(F){return new N.vHH(3003,!1)}()),G=""),G.toString()});return T==w?F:T}function ge(F){const c=[];let g=F.next();for(;!g.done;)c.push(g.value),g=F.next();return c}const He=/-+([a-z0-9])/g;function Qe(F){return F.replace(He,(...c)=>c[1].toUpperCase())}function yn(F,c,g){switch(c.type){case 7:return F.visitTrigger(c,g);case 0:return F.visitState(c,g);case 1:return F.visitTransition(c,g);case 2:return F.visitSequence(c,g);case 3:return F.visitGroup(c,g);case 4:return F.visitAnimate(c,g);case 5:return F.visitKeyframes(c,g);case 6:return F.visitStyle(c,g);case 8:return F.visitReference(c,g);case 9:return F.visitAnimateChild(c,g);case 10:return F.visitAnimateRef(c,g);case 11:return F.visitQuery(c,g);case 12:return F.visitStagger(c,g);default:throw function ue(F){return new N.vHH(3004,!1)}()}}function Gn(F,c){return window.getComputedStyle(F)[c]}const Gr=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 Nr extends ft{normalizePropertyName(c,g){return Qe(c)}normalizeStyleValue(c,g,w,T){let L="";const B=w.toString().trim();if(Gr.has(g)&&0!==w&&"0"!==w)if("number"==typeof w)L="px";else{const G=w.match(/^[+-]?[\d\.]+([a-z]*)$/);G&&0==G[1].length&&T.push(function se(F,c){return new N.vHH(3005,!1)}())}return B+L}}const gr="*";function Jt(F,c){const g=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(w=>function ni(F,c,g){if(":"==F[0]){const oe=function Eo(F,c){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(g,w)=>parseFloat(w)>parseFloat(g);case":decrement":return(g,w)=>parseFloat(w) *"}}(F,g);if("function"==typeof oe)return void c.push(oe);F=oe}const w=F.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==w||w.length<4)return g.push(function ae(F){return new N.vHH(3015,!1)}()),c;const T=w[1],L=w[2],B=w[3];c.push(Wr(T,B));"<"==L[0]&&!(T==gr&&B==gr)&&c.push(Wr(B,T))}(w,g,c)):g.push(F),g}const dr=new Set(["true","1"]),Co=new Set(["false","0"]);function Wr(F,c){const g=dr.has(F)||Co.has(F),w=dr.has(c)||Co.has(c);return(T,L)=>{let B=F==gr||F==T,G=c==gr||c==L;return!B&&g&&"boolean"==typeof T&&(B=T?dr.has(F):Co.has(F)),!G&&w&&"boolean"==typeof L&&(G=L?dr.has(c):Co.has(c)),B&&G}}const Mo=new RegExp("s*".concat(":self","s*,?"),"g");function fr(F,c,g,w){return new Ho(F).build(c,g,w)}class Ho{constructor(c){this._driver=c}build(c,g,w){const T=new zo(g);return this._resetContextStyleTimingState(T),yn(this,wr(c),T)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,g){let w=g.queryCount=0,T=g.depCount=0;const L=[],B=[];return"@"==c.name.charAt(0)&&g.errors.push(function Q(){return new N.vHH(3006,!1)}()),c.definitions.forEach(G=>{if(this._resetContextStyleTimingState(g),0==G.type){const oe=G,Oe=oe.name;Oe.toString().split(/\s*,\s*/).forEach(y=>{oe.name=y,L.push(this.visitState(oe,g))}),oe.name=Oe}else if(1==G.type){const oe=this.visitTransition(G,g);w+=oe.queryCount,T+=oe.depCount,B.push(oe)}else g.errors.push(function j(){return new N.vHH(3007,!1)}())}),{type:7,name:c.name,states:L,transitions:B,queryCount:w,depCount:T,options:null}}visitState(c,g){const w=this.visitStyle(c.styles,g),T=c.options&&c.options.params||null;if(w.containsDynamicStyles){const L=new Set,B=T||{};w.styles.forEach(G=>{G instanceof Map&&G.forEach(oe=>{Ce(oe).forEach(Oe=>{B.hasOwnProperty(Oe)||L.add(Oe)})})}),L.size&&(ge(L.values()),g.errors.push(function Y(F,c){return new N.vHH(3008,!1)}()))}return{type:0,name:c.name,style:w,options:T?{params:T}:null}}visitTransition(c,g){g.queryCount=0,g.depCount=0;const w=yn(this,wr(c.animation),g);return{type:1,matchers:Jt(c.expr,g.errors),animation:w,queryCount:g.queryCount,depCount:g.depCount,options:ir(c.options)}}visitSequence(c,g){return{type:2,steps:c.steps.map(w=>yn(this,w,g)),options:ir(c.options)}}visitGroup(c,g){const w=g.currentTime;let T=0;const L=c.steps.map(B=>{g.currentTime=w;const G=yn(this,B,g);return T=Math.max(T,g.currentTime),G});return g.currentTime=T,{type:3,steps:L,options:ir(c.options)}}visitAnimate(c,g){const w=function fn(F,c){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return Fr(Gt(F,c).duration,0,"");const g=F;if(g.split(/\s+/).some(L=>"{"==L.charAt(0)&&"{"==L.charAt(1))){const L=Fr(0,0,"");return L.dynamic=!0,L.strValue=g,L}const T=Gt(g,c);return Fr(T.duration,T.delay,T.easing)}(c.timings,g.errors);g.currentAnimateTimings=w;let T,L=c.styles?c.styles:(0,u.oB)({});if(5==L.type)T=this.visitKeyframes(L,g);else{let B=c.styles,G=!1;if(!B){G=!0;const Oe={};w.easing&&(Oe.easing=w.easing),B=(0,u.oB)(Oe)}g.currentTime+=w.duration+w.delay;const oe=this.visitStyle(B,g);oe.isEmptyStep=G,T=oe}return g.currentAnimateTimings=null,{type:4,timings:w,style:T,options:null}}visitStyle(c,g){const w=this._makeStyleAst(c,g);return this._validateStyleAst(w,g),w}_makeStyleAst(c,g){const w=[],T=Array.isArray(c.styles)?c.styles:[c.styles];for(let G of T)"string"==typeof G?G===u.l3?w.push(G):g.errors.push(new N.vHH(3002,!1)):w.push(Hn(G));let L=!1,B=null;return w.forEach(G=>{if(G instanceof Map&&(G.has("easing")&&(B=G.get("easing"),G.delete("easing")),!L))for(let oe of G.values())if(oe.toString().indexOf("{{")>=0){L=!0;break}}),{type:6,styles:w,easing:B,offset:c.offset,containsDynamicStyles:L,options:null}}_validateStyleAst(c,g){const w=g.currentAnimateTimings;let T=g.currentTime,L=g.currentTime;w&&L>0&&(L-=w.duration+w.delay),c.styles.forEach(B=>{"string"!=typeof B&&B.forEach((G,oe)=>{const Oe=g.collectedStyles.get(g.currentQuerySelector),y=Oe.get(oe);let v=!0;y&&(L!=T&&L>=y.startTime&&T<=y.endTime&&(g.errors.push(function ye(F,c,g,w,T){return new N.vHH(3010,!1)}()),v=!1),L=y.startTime),v&&Oe.set(oe,{startTime:L,endTime:T}),g.options&&function Ae(F,c,g){const w=c.params||{},T=Ce(F);T.length&&T.forEach(L=>{w.hasOwnProperty(L)||g.push(function te(F){return new N.vHH(3001,!1)}())})}(G,g.options,g.errors)})})}visitKeyframes(c,g){const w={type:5,styles:[],options:null};if(!g.currentAnimateTimings)return g.errors.push(function de(){return new N.vHH(3011,!1)}()),w;let L=0;const B=[];let G=!1,oe=!1,Oe=0;const y=c.steps.map(Ct=>{const on=this._makeStyleAst(Ct,g);let hn=null!=on.offset?on.offset:function Sr(F){if("string"==typeof F)return null;let c=null;if(Array.isArray(F))F.forEach(g=>{if(g instanceof Map&&g.has("offset")){const w=g;c=parseFloat(w.get("offset")),w.delete("offset")}});else if(F instanceof Map&&F.has("offset")){const g=F;c=parseFloat(g.get("offset")),g.delete("offset")}return c}(on.styles),yt=0;return null!=hn&&(L++,yt=on.offset=hn),oe=oe||yt<0||yt>1,G=G||yt0&&L{const hn=A>0?on==C?1:A*on:B[on],yt=hn*Ne;g.currentTime=R+we.delay+yt,we.duration=yt,this._validateStyleAst(Ct,g),Ct.offset=hn,w.styles.push(Ct)}),w}visitReference(c,g){return{type:8,animation:yn(this,wr(c.animation),g),options:ir(c.options)}}visitAnimateChild(c,g){return g.depCount++,{type:9,options:ir(c.options)}}visitAnimateRef(c,g){return{type:10,animation:this.visitReference(c.animation,g),options:ir(c.options)}}visitQuery(c,g){const w=g.currentQuerySelector,T=c.options||{};g.queryCount++,g.currentQuery=c;const[L,B]=function yi(F){const c=!!F.split(/\s*,\s*/).find(g=>":self"==g);return c&&(F=F.replace(Mo,"")),F=F.replace(/@\*/g,tt).replace(/@\w+/g,g=>tt+"-"+g.slice(1)).replace(/:animating/g,Mr),[F,c]}(c.selector);g.currentQuerySelector=w.length?w+" "+L:L,Ie(g.collectedStyles,g.currentQuerySelector,new Map);const G=yn(this,wr(c.animation),g);return g.currentQuery=null,g.currentQuerySelector=w,{type:11,selector:L,limit:T.limit||0,optional:!!T.optional,includeSelf:B,animation:G,originalSelector:c.selector,options:ir(c.options)}}visitStagger(c,g){g.currentQuery||g.errors.push(function Re(){return new N.vHH(3013,!1)}());const w="full"===c.timings?{duration:0,delay:0,easing:"full"}:Gt(c.timings,g.errors,!0);return{type:12,animation:yn(this,wr(c.animation),g),timings:w,options:null}}}class zo{constructor(c){this.errors=c,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 ir(F){return F?(F=qt(F)).params&&(F.params=function xt(F){return F?qt(F):null}(F.params)):F={},F}function Fr(F,c,g){return{duration:F,delay:c,easing:g}}function nn(F,c,g,w,T,L,B=null,G=!1){return{type:1,element:F,keyframes:c,preStyleProps:g,postStyleProps:w,duration:T,delay:L,totalTime:T+L,easing:B,subTimeline:G}}class Wn{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,g){let w=this._map.get(c);w||this._map.set(c,w=[]),w.push(...g)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const Go=new RegExp(":enter","g"),ri=new RegExp(":leave","g");function wo(F,c,g,w,T,L=new Map,B=new Map,G,oe,Oe=[]){return(new _i).buildKeyframes(F,c,g,w,T,L,B,G,oe,Oe)}class _i{buildKeyframes(c,g,w,T,L,B,G,oe,Oe,y=[]){Oe=Oe||new Wn;const v=new xi(c,g,Oe,T,L,y,[]);v.options=oe;const A=oe.delay?Je(oe.delay):0;v.currentTimeline.delayNextStep(A),v.currentTimeline.setStyles([B],null,v.errors,oe),yn(this,w,v);const C=v.timelines.filter(R=>R.containsAnimation());if(C.length&&G.size){let R;for(let we=C.length-1;we>=0;we--){const Ne=C[we];if(Ne.element===g){R=Ne;break}}R&&!R.allowOnlyTimelineStyles()&&R.setStyles([G],null,v.errors,oe)}return C.length?C.map(R=>R.buildKeyframes()):[nn(g,[],[],[],0,A,"",!1)]}visitTrigger(c,g){}visitState(c,g){}visitTransition(c,g){}visitAnimateChild(c,g){const w=g.subInstructions.get(g.element);if(w){const T=g.createSubContext(c.options),L=g.currentTimeline.currentTime,B=this._visitSubInstructions(w,T,T.options);L!=B&&g.transformIntoNewTimeline(B)}g.previousNode=c}visitAnimateRef(c,g){const w=g.createSubContext(c.options);w.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],g,w),this.visitReference(c.animation,w),g.transformIntoNewTimeline(w.currentTimeline.currentTime),g.previousNode=c}_applyAnimationRefDelays(c,g,w){for(const L of c){const B=null==L?void 0:L.delay;if(B){var T;const G="number"==typeof B?B:Je(J(B,null!==(T=null==L?void 0:L.params)&&void 0!==T?T:{},g.errors));w.delayNextStep(G)}}}_visitSubInstructions(c,g,w){let L=g.currentTimeline.currentTime;const B=null!=w.duration?Je(w.duration):null,G=null!=w.delay?Je(w.delay):null;return 0!==B&&c.forEach(oe=>{const Oe=g.appendInstructionToTimeline(oe,B,G);L=Math.max(L,Oe.duration+Oe.delay)}),L}visitReference(c,g){g.updateOptions(c.options,!0),yn(this,c.animation,g),g.previousNode=c}visitSequence(c,g){const w=g.subContextCount;let T=g;const L=c.options;if(L&&(L.params||L.delay)&&(T=g.createSubContext(L),T.transformIntoNewTimeline(),null!=L.delay)){6==T.previousNode.type&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=Io);const B=Je(L.delay);T.delayNextStep(B)}c.steps.length&&(c.steps.forEach(B=>yn(this,B,T)),T.currentTimeline.applyStylesToKeyframe(),T.subContextCount>w&&T.transformIntoNewTimeline()),g.previousNode=c}visitGroup(c,g){const w=[];let T=g.currentTimeline.currentTime;const L=c.options&&c.options.delay?Je(c.options.delay):0;c.steps.forEach(B=>{const G=g.createSubContext(c.options);L&&G.delayNextStep(L),yn(this,B,G),T=Math.max(T,G.currentTimeline.currentTime),w.push(G.currentTimeline)}),w.forEach(B=>g.currentTimeline.mergeTimelineCollectedStyles(B)),g.transformIntoNewTimeline(T),g.previousNode=c}_visitTiming(c,g){if(c.dynamic){const w=c.strValue;return Gt(g.params?J(w,g.params,g.errors):w,g.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,g){const w=g.currentAnimateTimings=this._visitTiming(c.timings,g),T=g.currentTimeline;w.delay&&(g.incrementTime(w.delay),T.snapshotCurrentStyles());const L=c.style;5==L.type?this.visitKeyframes(L,g):(g.incrementTime(w.duration),this.visitStyle(L,g),T.applyStylesToKeyframe()),g.currentAnimateTimings=null,g.previousNode=c}visitStyle(c,g){const w=g.currentTimeline,T=g.currentAnimateTimings;!T&&w.hasCurrentStyleProperties()&&w.forwardFrame();const L=T&&T.easing||c.easing;c.isEmptyStep?w.applyEmptyStep(L):w.setStyles(c.styles,L,g.errors,g.options),g.previousNode=c}visitKeyframes(c,g){const w=g.currentAnimateTimings,T=g.currentTimeline.duration,L=w.duration,G=g.createSubContext().currentTimeline;G.easing=w.easing,c.styles.forEach(oe=>{G.forwardTime((oe.offset||0)*L),G.setStyles(oe.styles,oe.easing,g.errors,g.options),G.applyStylesToKeyframe()}),g.currentTimeline.mergeTimelineCollectedStyles(G),g.transformIntoNewTimeline(T+L),g.previousNode=c}visitQuery(c,g){const w=g.currentTimeline.currentTime,T=c.options||{},L=T.delay?Je(T.delay):0;L&&(6===g.previousNode.type||0==w&&g.currentTimeline.hasCurrentStyleProperties())&&(g.currentTimeline.snapshotCurrentStyles(),g.previousNode=Io);let B=w;const G=g.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!T.optional,g.errors);g.currentQueryTotal=G.length;let oe=null;G.forEach((Oe,y)=>{g.currentQueryIndex=y;const v=g.createSubContext(c.options,Oe);L&&v.delayNextStep(L),Oe===g.element&&(oe=v.currentTimeline),yn(this,c.animation,v),v.currentTimeline.applyStylesToKeyframe(),B=Math.max(B,v.currentTimeline.currentTime)}),g.currentQueryIndex=0,g.currentQueryTotal=0,g.transformIntoNewTimeline(B),oe&&(g.currentTimeline.mergeTimelineCollectedStyles(oe),g.currentTimeline.snapshotCurrentStyles()),g.previousNode=c}visitStagger(c,g){const w=g.parentContext,T=g.currentTimeline,L=c.timings,B=Math.abs(L.duration),G=B*(g.currentQueryTotal-1);let oe=B*g.currentQueryIndex;switch(L.duration<0?"reverse":L.easing){case"reverse":oe=G-oe;break;case"full":oe=w.currentStaggerTime}const y=g.currentTimeline;oe&&y.delayNextStep(oe);const v=y.currentTime;yn(this,c.animation,g),g.previousNode=c,w.currentStaggerTime=T.currentTime-v+(T.startTime-w.currentTimeline.startTime)}}const Io={};class xi{constructor(c,g,w,T,L,B,G,oe){this._driver=c,this.element=g,this.subInstructions=w,this._enterClassName=T,this._leaveClassName=L,this.errors=B,this.timelines=G,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Io,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=oe||new er(this._driver,g,0),G.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,g){if(!c)return;const w=c;let T=this.options;null!=w.duration&&(T.duration=Je(w.duration)),null!=w.delay&&(T.delay=Je(w.delay));const L=w.params;if(L){let B=T.params;B||(B=this.options.params={}),Object.keys(L).forEach(G=>{(!g||!B.hasOwnProperty(G))&&(B[G]=J(L[G],B,this.errors))})}}_copyOptions(){const c={};if(this.options){const g=this.options.params;if(g){const w=c.params={};Object.keys(g).forEach(T=>{w[T]=g[T]})}}return c}createSubContext(c=null,g,w){const T=g||this.element,L=new xi(this._driver,T,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(T,w||0));return L.previousNode=this.previousNode,L.currentAnimateTimings=this.currentAnimateTimings,L.options=this._copyOptions(),L.updateOptions(c),L.currentQueryIndex=this.currentQueryIndex,L.currentQueryTotal=this.currentQueryTotal,L.parentContext=this,this.subContextCount++,L}transformIntoNewTimeline(c){return this.previousNode=Io,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,g,w){const T={duration:null!=g?g:c.duration,delay:this.currentTimeline.currentTime+(null!=w?w:0)+c.delay,easing:""},L=new ts(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,T,c.stretchStartingKeyframe);return this.timelines.push(L),T}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,g,w,T,L,B){let G=[];if(T&&G.push(this.element),c.length>0){c=(c=c.replace(Go,"."+this._enterClassName)).replace(ri,"."+this._leaveClassName);let Oe=this._driver.query(this.element,c,1!=w);0!==w&&(Oe=w<0?Oe.slice(Oe.length+w,Oe.length):Oe.slice(0,w)),G.push(...Oe)}return!L&&0==G.length&&B.push(function Ee(F){return new N.vHH(3014,!1)}()),G}}class er{constructor(c,g,w,T){this._driver=c,this.element=g,this.startTime=w,this._elementTimelineStylesLookup=T,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(c){const g=1===this._keyframes.size&&this._pendingStyles.size;this.duration||g?(this.forwardTime(this.currentTime+c),g&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,g){return this.applyStylesToKeyframe(),new er(this._driver,c,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(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,g){this._localTimelineStyles.set(c,g),this._globalTimelineStyles.set(c,g),this._styleSummary.set(c,{time:this.currentTime,value:g})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[g,w]of this._globalTimelineStyles)this._backFill.set(g,w||u.l3),this._currentKeyframe.set(g,u.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,g,w,T){g&&this._previousKeyframe.set("easing",g);const L=T&&T.params||{},B=function Fi(F,c){const g=new Map;let w;return F.forEach(T=>{if("*"===T){w=w||c.keys();for(let L of w)g.set(L,u.l3)}else rn(T,g)}),g}(c,this._globalTimelineStyles);for(let[oe,Oe]of B){const y=J(Oe,L,w);var G;this._pendingStyles.set(oe,y),this._localTimelineStyles.has(oe)||this._backFill.set(oe,null!==(G=this._globalTimelineStyles.get(oe))&&void 0!==G?G:u.l3),this._updateStyle(oe,y)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((c,g)=>{this._currentKeyframe.set(g,c)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((c,g)=>{this._currentKeyframe.has(g)||this._currentKeyframe.set(g,c)}))}snapshotCurrentStyles(){for(let[c,g]of this._localTimelineStyles)this._pendingStyles.set(c,g),this._updateStyle(c,g)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let g in this._currentKeyframe)c.push(g);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach((g,w)=>{const T=this._styleSummary.get(w);(!T||g.time>T.time)&&this._updateStyle(w,g.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,g=new Set,w=1===this._keyframes.size&&0===this.duration;let T=[];this._keyframes.forEach((G,oe)=>{const Oe=rn(G,new Map,this._backFill);Oe.forEach((y,v)=>{y===u.k1?c.add(v):y===u.l3&&g.add(v)}),w||Oe.set("offset",oe/this.duration),T.push(Oe)});const L=c.size?ge(c.values()):[],B=g.size?ge(g.values()):[];if(w){const G=T[0],oe=new Map(G);G.set("offset",0),oe.set("offset",1),T=[G,oe]}return nn(this.element,T,L,B,this.duration,this.startTime,this.easing,!1)}}class ts extends er{constructor(c,g,w,T,L,B,G=!1){super(c,g,B.delay),this.keyframes=w,this.preStyleProps=T,this.postStyleProps=L,this._stretchStartingKeyframe=G,this.timings={duration:B.duration,delay:B.delay,easing:B.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:g,duration:w,easing:T}=this.timings;if(this._stretchStartingKeyframe&&g){const L=[],B=w+g,G=g/B,oe=rn(c[0]);oe.set("offset",0),L.push(oe);const Oe=rn(c[0]);Oe.set("offset",Di(G)),L.push(Oe);const y=c.length-1;for(let v=1;v<=y;v++){let A=rn(c[v]);const C=A.get("offset");A.set("offset",Di((g+C*w)/B)),L.push(A)}w=B,g=0,T="",c=L}return nn(this.element,c,this.preStyleProps,this.postStyleProps,w,g,T,!0)}}function Di(F,c=3){const g=Math.pow(10,c-1);return Math.round(F*g)/g}function br(F,c,g,w,T,L,B,G,oe,Oe,y,v,A){return{type:0,element:F,triggerName:c,isRemovalTransition:T,fromState:g,fromStyles:L,toState:w,toStyles:B,timelines:G,queriedElements:oe,preStyleProps:Oe,postStyleProps:y,totalTime:v,errors:A}}const mr={};class Kr{constructor(c,g,w){this._triggerName=c,this.ast=g,this._stateStyles=w}match(c,g,w,T){return function uo(F,c,g,w,T){return F.some(L=>L(c,g,w,T))}(this.ast.matchers,c,g,w,T)}buildStyles(c,g,w){let T=this._stateStyles.get("*");return void 0!==c&&(T=this._stateStyles.get(null==c?void 0:c.toString())||T),T?T.buildStyles(g,w):new Map}build(c,g,w,T,L,B,G,oe,Oe,y){var v;const A=[],C=this.ast.options&&this.ast.options.params||mr,we=this.buildStyles(w,G&&G.params||mr,A),Ne=oe&&oe.params||mr,Ct=this.buildStyles(T,Ne,A),on=new Set,hn=new Map,yt=new Map,Zn="void"===T,Qn={params:Ko(Ne,C),delay:null===(v=this.ast.options)||void 0===v?void 0:v.delay},gn=y?[]:wo(c,g,this.ast.animation,L,B,we,Ct,Qn,Oe,A);let Nn=0;if(gn.forEach(kn=>{Nn=Math.max(kn.duration+kn.delay,Nn)}),A.length)return br(g,this._triggerName,w,T,Zn,we,Ct,[],[],hn,yt,Nn,A);gn.forEach(kn=>{const Xn=kn.element,_r=Ie(hn,Xn,new Set);kn.preStyleProps.forEach(go=>_r.add(go));const vt=Ie(yt,Xn,new Set);kn.postStyleProps.forEach(go=>vt.add(go)),Xn!==g&&on.add(Xn)});const xo=ge(on.values());return br(g,this._triggerName,w,T,Zn,we,Ct,gn,xo,hn,yt,Nn)}}function Ko(F,c){const g=qt(c);for(const w in F)F.hasOwnProperty(w)&&null!=F[w]&&(g[w]=F[w]);return g}class So{constructor(c,g,w){this.styles=c,this.defaultParams=g,this.normalizer=w}buildStyles(c,g){const w=new Map,T=qt(this.defaultParams);return Object.keys(c).forEach(L=>{const B=c[L];null!==B&&(T[L]=B)}),this.styles.styles.forEach(L=>{"string"!=typeof L&&L.forEach((B,G)=>{B&&(B=J(B,T,g));const oe=this.normalizer.normalizePropertyName(G,g);B=this.normalizer.normalizeStyleValue(G,oe,B,g),w.set(G,B)})}),w}}class tr{constructor(c,g,w){this.name=c,this.ast=g,this._normalizer=w,this.transitionFactories=[],this.states=new Map,g.states.forEach(T=>{this.states.set(T.name,new So(T.style,T.options&&T.options.params||{},w))}),bo(this.states,"true","1"),bo(this.states,"false","0"),g.transitions.forEach(T=>{this.transitionFactories.push(new Kr(c,T,this.states))}),this.fallbackTransition=function Kn(F,c,g){return new Kr(F,{type:1,animation:{type:2,steps:[],options:null},matchers:[(B,G)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,g,w,T){return this.transitionFactories.find(B=>B.match(c,g,w,T))||null}matchStyles(c,g,w){return this.fallbackTransition.buildStyles(c,g,w)}}function bo(F,c,g){F.has(c)?F.has(g)||F.set(g,F.get(c)):F.has(g)&&F.set(c,F.get(g))}const Fn=new Wn;class To{constructor(c,g,w){this.bodyNode=c,this._driver=g,this._normalizer=w,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,g){const w=[],L=fr(this._driver,g,w,[]);if(w.length)throw function ce(F){return new N.vHH(3503,!1)}();this._animations.set(c,L)}_buildPlayer(c,g,w){const T=c.element,L=at(this._normalizer,c.keyframes,g,w);return this._driver.animate(T,L,c.duration,c.delay,c.easing,[],!0)}create(c,g,w={}){const T=[],L=this._animations.get(c);let B;const G=new Map;if(L?(B=wo(this._driver,g,L,vn,Kt,new Map,new Map,w,Fn,T),B.forEach(y=>{const v=Ie(G,y.element,new Map);y.postStyleProps.forEach(A=>v.set(A,null))})):(T.push(function Ve(){return new N.vHH(3300,!1)}()),B=[]),T.length)throw function Ye(F){return new N.vHH(3504,!1)}();G.forEach((y,v)=>{y.forEach((A,C)=>{y.set(C,this._driver.computeStyle(v,C,u.l3))})});const Oe=ke(B.map(y=>{const v=G.get(y.element);return this._buildPlayer(y,new Map,v)}));return this._playersById.set(c,Oe),Oe.onDestroy(()=>this.destroy(c)),this.players.push(Oe),Oe}destroy(c){const g=this._getPlayer(c);g.destroy(),this._playersById.delete(c);const w=this.players.indexOf(g);w>=0&&this.players.splice(w,1)}_getPlayer(c){const g=this._playersById.get(c);if(!g)throw function mt(F){return new N.vHH(3301,!1)}();return g}listen(c,g,w,T){const L=ct(g,"","","");return _t(this._getPlayer(c),w,L,T),()=>{}}command(c,g,w,T){if("register"==w)return void this.register(c,T[0]);if("create"==w)return void this.create(c,g,T[0]||{});const L=this._getPlayer(c);switch(w){case"play":L.play();break;case"pause":L.pause();break;case"reset":L.reset();break;case"restart":L.restart();break;case"finish":L.finish();break;case"init":L.init();break;case"setPosition":L.setPosition(parseFloat(T[0]));break;case"destroy":this.destroy(c)}}}const Bt="ng-animate-queued",Tr="ng-animate-disabled",fo=[],zn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},vr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tn="__ng_removed";class sr{get params(){return this.options.params}constructor(c,g=""){this.namespaceId=g;const w=c&&c.hasOwnProperty("value");if(this.value=function Oo(F){return null!=F?F:null}(w?c.value:c),w){const L=qt(c);delete L.value,this.options=L}else this.options={};this.options.params||(this.options.params={})}absorbOptions(c){const g=c.params;if(g){const w=this.options.params;Object.keys(g).forEach(T=>{null==w[T]&&(w[T]=g[T])})}}}const Ft="void",Zr=new sr(Ft);class Ao{constructor(c,g,w){this.id=c,this.hostElement=g,this._engine=w,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,_n(g,this._hostClassName)}listen(c,g,w,T){if(!this._triggers.has(g))throw function $e(F,c){return new N.vHH(3302,!1)}();if(null==w||0==w.length)throw function nt(F){return new N.vHH(3303,!1)}();if(!function Ei(F){return"start"==F||"done"==F}(w))throw function ve(F,c){return new N.vHH(3400,!1)}();const L=Ie(this._elementListeners,c,[]),B={name:g,phase:w,callback:T};L.push(B);const G=Ie(this._engine.statesByElement,c,new Map);return G.has(g)||(_n(c,Xt),_n(c,Xt+"-"+g),G.set(g,Zr)),()=>{this._engine.afterFlush(()=>{const oe=L.indexOf(B);oe>=0&&L.splice(oe,1),this._triggers.has(g)||G.delete(g)})}}register(c,g){return!this._triggers.has(c)&&(this._triggers.set(c,g),!0)}_getTrigger(c){const g=this._triggers.get(c);if(!g)throw function ee(F){return new N.vHH(3401,!1)}();return g}trigger(c,g,w,T=!0){const L=this._getTrigger(g),B=new Xr(this.id,g,c);let G=this._engine.statesByElement.get(c);G||(_n(c,Xt),_n(c,Xt+"-"+g),this._engine.statesByElement.set(c,G=new Map));let oe=G.get(g);const Oe=new sr(w,this.id);if(!(w&&w.hasOwnProperty("value"))&&oe&&Oe.absorbOptions(oe.options),G.set(g,Oe),oe||(oe=Zr),Oe.value!==Ft&&oe.value===Oe.value){if(!function ki(F,c){const g=Object.keys(F),w=Object.keys(c);if(g.length!=w.length)return!1;for(let T=0;T{Sn(c,Ne),Yt(c,Ct)})}return}const A=Ie(this._engine.playersByElement,c,[]);A.forEach(we=>{we.namespaceId==this.id&&we.triggerName==g&&we.queued&&we.destroy()});let C=L.matchTransition(oe.value,Oe.value,c,Oe.params),R=!1;if(!C){if(!T)return;C=L.fallbackTransition,R=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:g,transition:C,fromState:oe,toState:Oe,player:B,isFallbackTransition:R}),R||(_n(c,Bt),B.onStart(()=>{po(c,Bt)})),B.onDone(()=>{let we=this.players.indexOf(B);we>=0&&this.players.splice(we,1);const Ne=this._engine.playersByElement.get(c);if(Ne){let Ct=Ne.indexOf(B);Ct>=0&&Ne.splice(Ct,1)}}),this.players.push(B),A.push(B),B}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach(g=>g.delete(c)),this._elementListeners.forEach((g,w)=>{this._elementListeners.set(w,g.filter(T=>T.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const g=this._engine.playersByElement.get(c);g&&(g.forEach(w=>w.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,g){const w=this._engine.driver.query(c,tt,!0);w.forEach(T=>{if(T[Tn])return;const L=this._engine.fetchNamespacesByElement(T);L.size?L.forEach(B=>B.triggerLeaveAnimation(T,g,!1,!0)):this.clearElementCache(T)}),this._engine.afterFlushAnimationsDone(()=>w.forEach(T=>this.clearElementCache(T)))}triggerLeaveAnimation(c,g,w,T){const L=this._engine.statesByElement.get(c),B=new Map;if(L){const G=[];if(L.forEach((oe,Oe)=>{if(B.set(Oe,oe.value),this._triggers.has(Oe)){const y=this.trigger(c,Oe,Ft,T);y&&G.push(y)}}),G.length)return this._engine.markElementAsRemoved(this.id,c,!0,g,B),w&&ke(G).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const g=this._elementListeners.get(c),w=this._engine.statesByElement.get(c);if(g&&w){const T=new Set;g.forEach(L=>{const B=L.name;if(T.has(B))return;T.add(B);const oe=this._triggers.get(B).fallbackTransition,Oe=w.get(B)||Zr,y=new sr(Ft),v=new Xr(this.id,B,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:B,transition:oe,fromState:Oe,toState:y,player:v,isFallbackTransition:!0})})}}removeNode(c,g){const w=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,g),this.triggerLeaveAnimation(c,g,!0))return;let T=!1;if(w.totalAnimations){const L=w.players.length?w.playersByQueriedElement.get(c):[];if(L&&L.length)T=!0;else{let B=c;for(;B=B.parentNode;)if(w.statesByElement.get(B)){T=!0;break}}}if(this.prepareLeaveAnimationListeners(c),T)w.markElementAsRemoved(this.id,c,!1,g);else{const L=c[Tn];(!L||L===zn)&&(w.afterFlush(()=>this.clearElementCache(c)),w.destroyInnerAnimations(c),w._onRemovalComplete(c,g))}}insertNode(c,g){_n(c,this._hostClassName)}drainQueuedTransitions(c){const g=[];return this._queue.forEach(w=>{const T=w.player;if(T.destroyed)return;const L=w.element,B=this._elementListeners.get(L);B&&B.forEach(G=>{if(G.name==w.triggerName){const oe=ct(L,w.triggerName,w.fromState.value,w.toState.value);oe._data=c,_t(w.player,G.phase,oe,G.callback)}}),T.markedForDestroy?this._engine.afterFlush(()=>{T.destroy()}):g.push(w)}),this._queue=[],g.sort((w,T)=>{const L=w.transition.ast.depCount,B=T.transition.ast.depCount;return 0==L||0==B?L-B:this._engine.driver.containsElement(w.element,T.element)?1:-1})}destroy(c){this.players.forEach(g=>g.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}}class Qr{_onRemovalComplete(c,g){this.onRemovalComplete(c,g)}constructor(c,g,w){this.bodyNode=c,this.driver=g,this._normalizer=w,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=(T,L)=>{}}get queuedPlayers(){const c=[];return this._namespaceList.forEach(g=>{g.players.forEach(w=>{w.queued&&c.push(w)})}),c}createNamespace(c,g){const w=new Ao(c,g,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,g)?this._balanceNamespaceList(w,g):(this.newHostElements.set(g,w),this.collectEnterElement(g)),this._namespaceLookup[c]=w}_balanceNamespaceList(c,g){const w=this._namespaceList,T=this.namespacesByHostElement;if(w.length-1>=0){let B=!1,G=this.driver.getParentElement(g);for(;G;){const oe=T.get(G);if(oe){const Oe=w.indexOf(oe);w.splice(Oe+1,0,c),B=!0;break}G=this.driver.getParentElement(G)}B||w.unshift(c)}else w.push(c);return T.set(g,c),c}register(c,g){let w=this._namespaceLookup[c];return w||(w=this.createNamespace(c,g)),w}registerTrigger(c,g,w){let T=this._namespaceLookup[c];T&&T.register(g,w)&&this.totalAnimations++}destroy(c,g){c&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const w=this._fetchNamespace(c);this.namespacesByHostElement.delete(w.hostElement);const T=this._namespaceList.indexOf(w);T>=0&&this._namespaceList.splice(T,1),w.destroy(g),delete this._namespaceLookup[c]}))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const g=new Set,w=this.statesByElement.get(c);if(w)for(let T of w.values())if(T.namespaceId){const L=this._fetchNamespace(T.namespaceId);L&&g.add(L)}return g}trigger(c,g,w,T){if(qr(g)){const L=this._fetchNamespace(c);if(L)return L.trigger(g,w,T),!0}return!1}insertNode(c,g,w,T){if(!qr(g))return;const L=g[Tn];if(L&&L.setForRemoval){L.setForRemoval=!1,L.setForMove=!0;const B=this.collectedLeaveElements.indexOf(g);B>=0&&this.collectedLeaveElements.splice(B,1)}if(c){const B=this._fetchNamespace(c);B&&B.insertNode(g,w)}T&&this.collectEnterElement(g)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,g){g?this.disabledNodes.has(c)||(this.disabledNodes.add(c),_n(c,Tr)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),po(c,Tr))}removeNode(c,g,w){if(qr(g)){const T=c?this._fetchNamespace(c):null;T?T.removeNode(g,w):this.markElementAsRemoved(c,g,!1,w);const L=this.namespacesByHostElement.get(g);L&&L.id!==c&&L.removeNode(g,w)}else this._onRemovalComplete(g,w)}markElementAsRemoved(c,g,w,T,L){this.collectedLeaveElements.push(g),g[Tn]={namespaceId:c,setForRemoval:T,hasAnimation:w,removedBeforeQueried:!1,previousTriggersValues:L}}listen(c,g,w,T,L){return qr(g)?this._fetchNamespace(c).listen(g,w,T,L):()=>{}}_buildInstruction(c,g,w,T,L){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,w,T,c.fromState.options,c.toState.options,g,L)}destroyInnerAnimations(c){let g=this.driver.query(c,tt,!0);g.forEach(w=>this.destroyActiveAnimationsForElement(w)),0!=this.playersByQueriedElement.size&&(g=this.driver.query(c,Mr,!0),g.forEach(w=>this.finishActiveQueriedAnimationOnElement(w)))}destroyActiveAnimationsForElement(c){const g=this.playersByElement.get(c);g&&g.forEach(w=>{w.queued?w.markedForDestroy=!0:w.destroy()})}finishActiveQueriedAnimationOnElement(c){const g=this.playersByQueriedElement.get(c);g&&g.forEach(w=>w.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return ke(this.players).onDone(()=>c());c()})}processLeaveNode(c){var g;const w=c[Tn];if(w&&w.setForRemoval){if(c[Tn]=zn,w.namespaceId){this.destroyInnerAnimations(c);const T=this._fetchNamespace(w.namespaceId);T&&T.clearElementCache(c)}this._onRemovalComplete(c,w.setForRemoval)}null!==(g=c.classList)&&void 0!==g&&g.contains(Tr)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(T=>{this.markElementAsDisabled(T,!1)})}flush(c=-1){let g=[];if(this.newHostElements.size&&(this.newHostElements.forEach((w,T)=>this._balanceNamespaceList(w,T)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let w=0;ww()),this._flushFns=[],this._whenQuietFns.length){const w=this._whenQuietFns;this._whenQuietFns=[],g.length?ke(g).onDone(()=>{w.forEach(T=>T())}):w.forEach(T=>T())}}reportError(c){throw function fe(F){return new N.vHH(3402,!1)}()}_flushAnimations(c,g){const w=new Wn,T=[],L=new Map,B=[],G=new Map,oe=new Map,Oe=new Map,y=new Set;this.disabledNodes.forEach(ot=>{y.add(ot);const st=this.driver.query(ot,".ng-animate-queued",!0);for(let gt=0;gt{const gt=vn+we++;R.set(st,gt),ot.forEach(Lt=>_n(Lt,gt))});const Ne=[],Ct=new Set,on=new Set;for(let ot=0;otCt.add(Lt)):on.add(st))}const hn=new Map,yt=ii(A,Array.from(Ct));yt.forEach((ot,st)=>{const gt=Kt+we++;hn.set(st,gt),ot.forEach(Lt=>_n(Lt,gt))}),c.push(()=>{C.forEach((ot,st)=>{const gt=R.get(st);ot.forEach(Lt=>po(Lt,gt))}),yt.forEach((ot,st)=>{const gt=hn.get(st);ot.forEach(Lt=>po(Lt,gt))}),Ne.forEach(ot=>{this.processLeaveNode(ot)})});const Zn=[],Qn=[];for(let ot=this._namespaceList.length-1;ot>=0;ot--)this._namespaceList[ot].drainQueuedTransitions(g).forEach(gt=>{const Lt=gt.player,Dn=gt.element;if(Zn.push(Lt),this.collectedEnterElements.length){const Cn=Dn[Tn];if(Cn&&Cn.setForMove){if(Cn.previousTriggersValues&&Cn.previousTriggersValues.has(gt.triggerName)){const to=Cn.previousTriggersValues.get(gt.triggerName),Dr=this.statesByElement.get(gt.element);if(Dr&&Dr.has(gt.triggerName)){const bi=Dr.get(gt.triggerName);bi.value=to,Dr.set(gt.triggerName,bi)}}return void Lt.destroy()}}const ln=!v||!this.driver.containsElement(v,Dn),un=hn.get(Dn),En=R.get(Dn),pn=this._buildInstruction(gt,w,En,un,ln);if(pn.errors&&pn.errors.length)return void Qn.push(pn);if(ln)return Lt.onStart(()=>Sn(Dn,pn.fromStyles)),Lt.onDestroy(()=>Yt(Dn,pn.toStyles)),void T.push(Lt);if(gt.isFallbackTransition)return Lt.onStart(()=>Sn(Dn,pn.fromStyles)),Lt.onDestroy(()=>Yt(Dn,pn.toStyles)),void T.push(Lt);const eo=[];pn.timelines.forEach(Cn=>{Cn.stretchStartingKeyframe=!0,this.disabledNodes.has(Cn.element)||eo.push(Cn)}),pn.timelines=eo,w.append(Dn,pn.timelines),B.push({instruction:pn,player:Lt,element:Dn}),pn.queriedElements.forEach(Cn=>Ie(G,Cn,[]).push(Lt)),pn.preStyleProps.forEach((Cn,to)=>{if(Cn.size){let Dr=oe.get(to);Dr||oe.set(to,Dr=new Set),Cn.forEach((bi,ui)=>Dr.add(ui))}}),pn.postStyleProps.forEach((Cn,to)=>{let Dr=Oe.get(to);Dr||Oe.set(to,Dr=new Set),Cn.forEach((bi,ui)=>Dr.add(ui))})});if(Qn.length){const ot=[];Qn.forEach(st=>{ot.push(function Se(F,c){return new N.vHH(3505,!1)}())}),Zn.forEach(st=>st.destroy()),this.reportError(ot)}const gn=new Map,Nn=new Map;B.forEach(ot=>{const st=ot.element;w.has(st)&&(Nn.set(st,st),this._beforeAnimationBuild(ot.player.namespaceId,ot.instruction,gn))}),T.forEach(ot=>{const st=ot.element;this._getPreviousPlayers(st,!1,ot.namespaceId,ot.triggerName,null).forEach(Lt=>{Ie(gn,st,[]).push(Lt),Lt.destroy()})});const xo=Ne.filter(ot=>si(ot,oe,Oe)),kn=new Map;Po(kn,this.driver,on,Oe,u.l3).forEach(ot=>{si(ot,oe,Oe)&&xo.push(ot)});const _r=new Map;C.forEach((ot,st)=>{Po(_r,this.driver,new Set(ot),oe,u.k1)}),xo.forEach(ot=>{var st,gt;const Lt=kn.get(ot),Dn=_r.get(ot);kn.set(ot,new Map([...null!==(st=null==Lt?void 0:Lt.entries())&&void 0!==st?st:[],...null!==(gt=null==Dn?void 0:Dn.entries())&&void 0!==gt?gt:[]]))});const vt=[],go=[],Si={};B.forEach(ot=>{const{element:st,player:gt,instruction:Lt}=ot;if(w.has(st)){if(y.has(st))return gt.onDestroy(()=>Yt(st,Lt.toStyles)),gt.disabled=!0,gt.overrideTotalTime(Lt.totalTime),void T.push(gt);let Dn=Si;if(Nn.size>1){let un=st;const En=[];for(;un=un.parentNode;){const pn=Nn.get(un);if(pn){Dn=pn;break}En.push(un)}En.forEach(pn=>Nn.set(pn,Dn))}const ln=this._buildAnimation(gt.namespaceId,Lt,gn,L,_r,kn);if(gt.setRealPlayer(ln),Dn===Si)vt.push(gt);else{const un=this.playersByElement.get(Dn);un&&un.length&&(gt.parentPlayer=ke(un)),T.push(gt)}}else Sn(st,Lt.fromStyles),gt.onDestroy(()=>Yt(st,Lt.toStyles)),go.push(gt),y.has(st)&&T.push(gt)}),go.forEach(ot=>{const st=L.get(ot.element);if(st&&st.length){const gt=ke(st);ot.setRealPlayer(gt)}}),T.forEach(ot=>{ot.parentPlayer?ot.syncPlayerEvents(ot.parentPlayer):ot.destroy()});for(let ot=0;ot!ln.destroyed);Dn.length?Vr(this,st,Dn):this.processLeaveNode(st)}return Ne.length=0,vt.forEach(ot=>{this.players.push(ot),ot.onDone(()=>{ot.destroy();const st=this.players.indexOf(ot);this.players.splice(st,1)}),ot.play()}),vt}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,g,w,T,L){let B=[];if(g){const G=this.playersByQueriedElement.get(c);G&&(B=G)}else{const G=this.playersByElement.get(c);if(G){const oe=!L||L==Ft;G.forEach(Oe=>{Oe.queued||!oe&&Oe.triggerName!=T||B.push(Oe)})}}return(w||T)&&(B=B.filter(G=>!(w&&w!=G.namespaceId||T&&T!=G.triggerName))),B}_beforeAnimationBuild(c,g,w){const L=g.element,B=g.isRemovalTransition?void 0:c,G=g.isRemovalTransition?void 0:g.triggerName;for(const oe of g.timelines){const Oe=oe.element,y=Oe!==L,v=Ie(w,Oe,[]);this._getPreviousPlayers(Oe,y,B,G,g.toState).forEach(C=>{const R=C.getRealPlayer();R.beforeDestroy&&R.beforeDestroy(),C.destroy(),v.push(C)})}Sn(L,g.fromStyles)}_buildAnimation(c,g,w,T,L,B){const G=g.triggerName,oe=g.element,Oe=[],y=new Set,v=new Set,A=g.timelines.map(R=>{const we=R.element;y.add(we);const Ne=we[Tn];if(Ne&&Ne.removedBeforeQueried)return new u.ZN(R.duration,R.delay);const Ct=we!==oe,on=function ns(F){const c=[];return Ro(F,c),c}((w.get(we)||fo).map(gn=>gn.getRealPlayer())).filter(gn=>!!gn.element&&gn.element===we),hn=L.get(we),yt=B.get(we),Zn=at(this._normalizer,R.keyframes,hn,yt),Qn=this._buildPlayer(R,Zn,on);if(R.subTimeline&&T&&v.add(we),Ct){const gn=new Xr(c,G,we);gn.setRealPlayer(Qn),Oe.push(gn)}return Qn});Oe.forEach(R=>{Ie(this.playersByQueriedElement,R.element,[]).push(R),R.onDone(()=>function ho(F,c,g){let w=F.get(c);if(w){if(w.length){const T=w.indexOf(g);w.splice(T,1)}0==w.length&&F.delete(c)}return w}(this.playersByQueriedElement,R.element,R))}),y.forEach(R=>_n(R,Nt));const C=ke(A);return C.onDestroy(()=>{y.forEach(R=>po(R,Nt)),Yt(oe,g.toStyles)}),v.forEach(R=>{Ie(T,R,[]).push(C)}),C}_buildPlayer(c,g,w){return g.length>0?this.driver.animate(c.element,g,c.duration,c.delay,c.easing,w):new u.ZN(c.duration,c.delay)}}class Xr{constructor(c,g,w){this.namespaceId=c,this.triggerName=g,this.element=w,this._player=new u.ZN,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(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach((g,w)=>{g.forEach(T=>_t(c,w,void 0,T))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const g=this._player;g.triggerCallback&&c.onStart(()=>g.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,g){Ie(this._queuedCallbacks,c,[]).push(g)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}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(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const g=this._player;g.triggerCallback&&g.triggerCallback(c)}}function qr(F){return F&&1===F.nodeType}function Ci(F,c){const g=F.style.display;return F.style.display=null!=c?c:"none",g}function Po(F,c,g,w,T){const L=[];g.forEach(oe=>L.push(Ci(oe)));const B=[];w.forEach((oe,Oe)=>{const y=new Map;oe.forEach(v=>{const A=c.computeStyle(Oe,v,T);y.set(v,A),(!A||0==A.length)&&(Oe[Tn]=vr,B.push(Oe))}),F.set(Oe,y)});let G=0;return g.forEach(oe=>Ci(oe,L[G++])),B}function ii(F,c){const g=new Map;if(F.forEach(G=>g.set(G,[])),0==c.length)return g;const T=new Set(c),L=new Map;function B(G){if(!G)return 1;let oe=L.get(G);if(oe)return oe;const Oe=G.parentNode;return oe=g.has(Oe)?Oe:T.has(Oe)?1:B(Oe),L.set(G,oe),oe}return c.forEach(G=>{const oe=B(G);1!==oe&&g.get(oe).push(G)}),g}function _n(F,c){var g;null===(g=F.classList)||void 0===g||g.add(c)}function po(F,c){var g;null===(g=F.classList)||void 0===g||g.remove(c)}function Vr(F,c,g){ke(g).onDone(()=>F.processLeaveNode(c))}function Ro(F,c){for(let g=0;gT.add(L)):c.set(F,w),g.delete(F),!0}class No{constructor(c,g,w){this._driver=g,this._normalizer=w,this._triggerCache={},this.onRemovalComplete=(T,L)=>{},this._transitionEngine=new Qr(c.body,g,w),this._timelineEngine=new To(c.body,g,w),this._transitionEngine.onRemovalComplete=(T,L)=>this.onRemovalComplete(T,L)}registerTrigger(c,g,w,T,L){const B=c+"-"+T;let G=this._triggerCache[B];if(!G){const oe=[],y=fr(this._driver,L,oe,[]);if(oe.length)throw function re(F,c){return new N.vHH(3404,!1)}();G=function Lr(F,c,g){return new tr(F,c,g)}(T,y,this._normalizer),this._triggerCache[B]=G}this._transitionEngine.registerTrigger(g,T,G)}register(c,g){this._transitionEngine.register(c,g)}destroy(c,g){this._transitionEngine.destroy(c,g)}onInsert(c,g,w,T){this._transitionEngine.insertNode(c,g,w,T)}onRemove(c,g,w){this._transitionEngine.removeNode(c,g,w)}disableAnimations(c,g){this._transitionEngine.markElementAsDisabled(c,g)}process(c,g,w,T){if("@"==w.charAt(0)){const[L,B]=pt(w);this._timelineEngine.command(L,g,B,T)}else this._transitionEngine.trigger(c,g,w,T)}listen(c,g,w,T,L){if("@"==w.charAt(0)){const[B,G]=pt(w);return this._timelineEngine.listen(B,g,G,L)}return this._transitionEngine.listen(c,g,w,T,L)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(c){this._transitionEngine.afterFlushAnimationsDone(c)}}let yr=(()=>{class c{constructor(w,T,L){this._element=w,this._startStyles=T,this._endStyles=L,this._state=0;let B=c.initialStylesByElement.get(w);B||c.initialStylesByElement.set(w,B=new Map),this._initialStyles=B}start(){this._state<1&&(this._startStyles&&Yt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Yt(this._element,this._initialStyles),this._endStyles&&(Yt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(c.initialStylesByElement.delete(this._element),this._startStyles&&(Sn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Sn(this._element,this._endStyles),this._endStyles=null),Yt(this._element,this._initialStyles),this._state=3)}}return c.initialStylesByElement=new WeakMap,c})();function Yn(F){let c=null;return F.forEach((g,w)=>{(function wi(F){return"display"===F||"position"===F})(w)&&(c=c||new Map,c.set(w,g))}),c}class Br{constructor(c,g,w,T){this.element=c,this.keyframes=g,this.options=w,this._specialStyles=T,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=w.duration,this._delay=w.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(c=>c()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.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(c){const g=[];return c.forEach(w=>{g.push(Object.fromEntries(w))}),g}_triggerWebAnimation(c,g,w){return c.animate(this._convertKeyframesToObject(g),w)}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(c=>c()),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(c=>c()),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){var c;return+(null!==(c=this.domPlayer.currentTime)&&void 0!==c?c:0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach((w,T)=>{"offset"!==T&&c.set(T,this._finished?w:Gn(this.element,T))}),this.currentSnapshot=c}triggerCallback(c){const g="start"===c?this._onStartFns:this._onDoneFns;g.forEach(w=>w()),g.length=0}}class Ii{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,g){return!1}containsElement(c,g){return bt(c,g)}getParentElement(c){return Ht(c)}query(c,g,w){return dt(c,g,w)}computeStyle(c,g,w){return window.getComputedStyle(c)[g]}animate(c,g,w,T,L,B=[]){const oe={duration:w,delay:T,fill:0==T?"both":"forwards"};L&&(oe.easing=L);const Oe=new Map,y=B.filter(C=>C instanceof Br);(function Zt(F,c){return 0===F||0===c})(w,T)&&y.forEach(C=>{C.currentSnapshot.forEach((R,we)=>Oe.set(we,R))});let v=function ut(F){return F.length?F[0]instanceof Map?F:F.map(c=>Hn(c)):[]}(g).map(C=>rn(C));v=function bn(F,c,g){if(g.size&&c.length){let w=c[0],T=[];if(g.forEach((L,B)=>{w.has(B)||T.push(B),w.set(B,L)}),T.length)for(let L=1;LB.set(G,Gn(F,G)))}}return c}(c,v,Oe);const A=function Mi(F,c){let g=null,w=null;return Array.isArray(c)&&c.length?(g=Yn(c[0]),c.length>1&&(w=Yn(c[c.length-1]))):c instanceof Map&&(g=Yn(c)),g||w?new yr(F,g,w):null}(c,v);return new Br(c,v,oe,A)}}const Jr="@.disabled";class At{constructor(c,g,w,T){this.namespaceId=c,this.delegate=g,this.engine=w,this._onDestroy=T,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(c){var g,w;null===(g=(w=this.delegate).destroyNode)||void 0===g||g.call(w,c)}destroy(){var c;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),null===(c=this._onDestroy)||void 0===c||c.call(this)}createElement(c,g){return this.delegate.createElement(c,g)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,g){this.delegate.appendChild(c,g),this.engine.onInsert(this.namespaceId,g,c,!1)}insertBefore(c,g,w,T=!0){this.delegate.insertBefore(c,g,w),this.engine.onInsert(this.namespaceId,g,c,T)}removeChild(c,g,w){this.engine.onRemove(this.namespaceId,g,this.delegate)}selectRootElement(c,g){return this.delegate.selectRootElement(c,g)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,g,w,T){this.delegate.setAttribute(c,g,w,T)}removeAttribute(c,g,w){this.delegate.removeAttribute(c,g,w)}addClass(c,g){this.delegate.addClass(c,g)}removeClass(c,g){this.delegate.removeClass(c,g)}setStyle(c,g,w,T){this.delegate.setStyle(c,g,w,T)}removeStyle(c,g,w){this.delegate.removeStyle(c,g,w)}setProperty(c,g,w){"@"==g.charAt(0)&&g==Jr?this.disableAnimations(c,!!w):this.delegate.setProperty(c,g,w)}setValue(c,g){this.delegate.setValue(c,g)}listen(c,g,w){return this.delegate.listen(c,g,w)}disableAnimations(c,g){this.engine.disableAnimations(c,g)}}class Ln extends At{constructor(c,g,w,T,L){super(g,w,T,L),this.factory=c,this.namespaceId=g}setProperty(c,g,w){"@"==g.charAt(0)?"."==g.charAt(1)&&g==Jr?this.disableAnimations(c,w=void 0===w||!!w):this.engine.process(this.namespaceId,c,g.slice(1),w):this.delegate.setProperty(c,g,w)}listen(c,g,w){if("@"==g.charAt(0)){const T=function An(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(c);let L=g.slice(1),B="";return"@"!=L.charAt(0)&&([L,B]=function ar(F){const c=F.indexOf(".");return[F.substring(0,c),F.slice(c+1)]}(L)),this.engine.listen(this.namespaceId,T,L,B,G=>{this.factory.scheduleListenerCallback(G._data||-1,w,G)})}return this.delegate.listen(c,g,w)}}class Un{constructor(c,g,w){this.delegate=c,this.engine=g,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,g.onRemovalComplete=(T,L)=>{const B=null==L?void 0:L.parentNode(T);B&&L.removeChild(B,T)}}createRenderer(c,g){var w;const L=this.delegate.createRenderer(c,g);if(!c||null==g||null===(w=g.data)||void 0===w||!w.animation){const y=this._rendererCache;let v=y.get(L);return v||(v=new At("",L,this.engine,()=>y.delete(L)),y.set(L,v)),v}const B=g.id,G=g.id+"-"+this._currentId;this._currentId++,this.engine.register(G,c);const oe=y=>{Array.isArray(y)?y.forEach(oe):this.engine.registerTrigger(B,G,c,y.name,y)};return g.data.animation.forEach(oe),new Ln(this,G,L,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(c,g,w){if(c>=0&&cg(w));const T=this._animationCallbacksBuffer;0==T.length&&queueMicrotask(()=>{this._zone.run(()=>{T.forEach(L=>{const[B,G]=L;B(G)}),this._animationCallbacksBuffer=[]})}),T.push([g,w])}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()}}},3223:(Ge,le,_)=>{_.d(le,{HT:()=>Z,JF:()=>Vr,K0:()=>z,Mx:()=>Co,NF:()=>ho,O5:()=>Sr,Ov:()=>mr,PM:()=>Oo,S$:()=>Y,Ye:()=>de,bD:()=>Zr,ez:()=>Ft,q:()=>b,sg:()=>yi,w_:()=>H});var u=_(1582);let N=null;function b(){return N}function Z(p){N||(N=p)}class H{}const z=new u.OlP("DocumentToken");let te=(()=>{var p;class I{historyGo(M){throw new Error("Not implemented")}}return(p=I).\u0275fac=function(M){return new(M||p)},p.\u0275prov=u.Yz7({token:p,factory:()=>(0,u.f3M)(ue),providedIn:"platform"}),I})(),ue=(()=>{var p;class I extends te{constructor(){super(),this._doc=(0,u.f3M)(z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return b().getBaseHref(this._doc)}onPopState(M){const k=b().getGlobalEventTarget(this._doc,"window");return k.addEventListener("popstate",M,!1),()=>k.removeEventListener("popstate",M)}onHashChange(M){const k=b().getGlobalEventTarget(this._doc,"window");return k.addEventListener("hashchange",M,!1),()=>k.removeEventListener("hashchange",M)}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(M){this._location.pathname=M}pushState(M,k,K){this._history.pushState(M,k,K)}replaceState(M,k,K){this._history.replaceState(M,k,K)}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return(p=I).\u0275fac=function(M){return new(M||p)},p.\u0275prov=u.Yz7({token:p,factory:()=>new p,providedIn:"platform"}),I})();function se(p,I){if(0==p.length)return I;if(0==I.length)return p;let $=0;return p.endsWith("/")&&$++,I.startsWith("/")&&$++,2==$?p+I.substring(1):1==$?p+I:p+"/"+I}function Q(p){const I=p.match(/#|\?|$/),$=I&&I.index||p.length;return p.slice(0,$-("/"===p[$-1]?1:0))+p.slice($)}function j(p){return p&&"?"!==p[0]?"?"+p:p}let Y=(()=>{var p;class I{historyGo(M){throw new Error("Not implemented")}}return(p=I).\u0275fac=function(M){return new(M||p)},p.\u0275prov=u.Yz7({token:p,factory:()=>(0,u.f3M)(ne),providedIn:"root"}),I})();const W=new u.OlP("appBaseHref");let ne=(()=>{var p;class I extends Y{constructor(M,k){var K,Pe,qe;super(),this._platformLocation=M,this._removeListenerFns=[],this._baseHref=null!==(K=null!==(Pe=null!=k?k:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Pe?Pe:null===(qe=(0,u.f3M)(z).location)||void 0===qe?void 0:qe.origin)&&void 0!==K?K:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return se(this._baseHref,M)}path(M=!1){const k=this._platformLocation.pathname+j(this._platformLocation.search),K=this._platformLocation.hash;return K&&M?"".concat(k).concat(K):k}pushState(M,k,K,Pe){const qe=this.prepareExternalUrl(K+j(Pe));this._platformLocation.pushState(M,k,qe)}replaceState(M,k,K,Pe){const qe=this.prepareExternalUrl(K+j(Pe));this._platformLocation.replaceState(M,k,qe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){var k,K;null===(k=(K=this._platformLocation).historyGo)||void 0===k||k.call(K,M)}}return(p=I).\u0275fac=function(M){return new(M||p)(u.LFG(te),u.LFG(W,8))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),I})(),de=(()=>{var p;class I{constructor(M){this._subject=new u.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=M;const k=this._locationStrategy.getBaseHref();this._basePath=function Re(p){if(new RegExp("^(https?:)?//").test(p)){const[,$]=p.split(/\/\/[^\/]+/);return $}return p}(Q(Ke(k))),this._locationStrategy.onPopState(K=>{this._subject.emit({url:this.path(!0),pop:!0,state:K.state,type:K.type})})}ngOnDestroy(){var M;null===(M=this._urlChangeSubscription)||void 0===M||M.unsubscribe(),this._urlChangeListeners=[]}path(M=!1){return this.normalize(this._locationStrategy.path(M))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(M,k=""){return this.path()==this.normalize(M+j(k))}normalize(M){return I.stripTrailingSlash(function je(p,I){if(!p||!I.startsWith(p))return I;const $=I.substring(p.length);return""===$||["/",";","?","#"].includes($[0])?$:I}(this._basePath,Ke(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._locationStrategy.prepareExternalUrl(M)}go(M,k="",K=null){this._locationStrategy.pushState(K,"",M,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+j(k)),K)}replaceState(M,k="",K=null){this._locationStrategy.replaceState(K,"",M,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+j(k)),K)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(M=0){var k,K;null===(k=(K=this._locationStrategy).historyGo)||void 0===k||k.call(K,M)}onUrlChange(M){return this._urlChangeListeners.push(M),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(k=>{this._notifyUrlChangeListeners(k.url,k.state)})),()=>{const k=this._urlChangeListeners.indexOf(M);var K;this._urlChangeListeners.splice(k,1),0===this._urlChangeListeners.length&&(null===(K=this._urlChangeSubscription)||void 0===K||K.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(M="",k){this._urlChangeListeners.forEach(K=>K(M,k))}subscribe(M,k,K){return this._subject.subscribe({next:M,error:k,complete:K})}}return(p=I).normalizeQueryParams=j,p.joinWithSlash=se,p.stripTrailingSlash=Q,p.\u0275fac=function(M){return new(M||p)(u.LFG(Y))},p.\u0275prov=u.Yz7({token:p,factory:()=>function be(){return new de((0,u.LFG)(Y))}(),providedIn:"root"}),I})();function Ke(p){return p.replace(/\/index.html$/,"")}function Co(p,I){I=encodeURIComponent(I);for(const $ of p.split(";")){const M=$.indexOf("="),[k,K]=-1==M?[$,""]:[$.slice(0,M),$.slice(M+1)];if(k.trim()===I)return decodeURIComponent(K)}return null}class Ho{constructor(I,$,M,k){this.$implicit=I,this.ngForOf=$,this.index=M,this.count=k}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 yi=(()=>{var p;class I{set ngForOf(M){this._ngForOf=M,this._ngForOfDirty=!0}set ngForTrackBy(M){this._trackByFn=M}get ngForTrackBy(){return this._trackByFn}constructor(M,k,K){this._viewContainer=M,this._template=k,this._differs=K,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(M){M&&(this._template=M)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const M=this._ngForOf;!this._differ&&M&&(this._differ=this._differs.find(M).create(this.ngForTrackBy))}if(this._differ){const M=this._differ.diff(this._ngForOf);M&&this._applyChanges(M)}}_applyChanges(M){const k=this._viewContainer;M.forEachOperation((K,Pe,qe)=>{if(null==K.previousIndex)k.createEmbeddedView(this._template,new Ho(K.item,this._ngForOf,-1,-1),null===qe?void 0:qe);else if(null==qe)k.remove(null===Pe?void 0:Pe);else if(null!==Pe){const Ot=k.get(Pe);k.move(Ot,qe),xt(Ot,K)}});for(let K=0,Pe=k.length;K{xt(k.get(K.currentIndex),K)})}static ngTemplateContextGuard(M,k){return!0}}return(p=I).\u0275fac=function(M){return new(M||p)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(u.ZZ4))},p.\u0275dir=u.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),I})();function xt(p,I){p.context.$implicit=I.item}let Sr=(()=>{var p;class I{constructor(M,k){this._viewContainer=M,this._context=new fn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=k}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){ir("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){ir("ngIfElse",M),this._elseTemplateRef=M,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(M,k){return!0}}return(p=I).\u0275fac=function(M){return new(M||p)(u.Y36(u.s_b),u.Y36(u.Rgc))},p.\u0275dir=u.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),I})();class fn{constructor(){this.$implicit=null,this.ngIf=null}}function ir(p,I){if(I&&!I.createEmbeddedView)throw new Error("".concat(p," must be a TemplateRef, but received '").concat((0,u.AaK)(I),"'."))}class ts{createSubscription(I,$){return(0,u.rg0)(()=>I.subscribe({next:$,error:M=>{throw M}}))}dispose(I){(0,u.rg0)(()=>I.unsubscribe())}}class Di{createSubscription(I,$){return I.then($,M=>{throw M})}dispose(I){}}const Fi=new Di,br=new ts;let mr=(()=>{var p;class I{constructor(M){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=M}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(M){return this._obj?M!==this._obj?(this._dispose(),this.transform(M)):this._latestValue:(M&&this._subscribe(M),this._latestValue)}_subscribe(M){this._obj=M,this._strategy=this._selectStrategy(M),this._subscription=this._strategy.createSubscription(M,k=>this._updateLatestValue(M,k))}_selectStrategy(M){if((0,u.QGY)(M))return Fi;if((0,u.F4k)(M))return br;throw function er(p,I){return new u.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(M,k){M===this._obj&&(this._latestValue=k,this._ref.markForCheck())}}return(p=I).\u0275fac=function(M){return new(M||p)(u.Y36(u.sBO,16))},p.\u0275pipe=u.Yjl({name:"async",type:p,pure:!1,standalone:!0}),I})(),Ft=(()=>{var p;class I{}return(p=I).\u0275fac=function(M){return new(M||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({}),I})();const Zr="browser",Ao="server";function ho(p){return p===Zr}function Oo(p){return p===Ao}class Vr{}},1582:(Ge,le,_)=>{_.d(le,{QbO:()=>o0,tb:()=>yh,AFp:()=>cp,hGG:()=>FT,z2F:()=>Ea,Ojb:()=>s0,sBO:()=>Zg,Sil:()=>Wb,_Vd:()=>sl,EJc:()=>jb,Xts:()=>Bs,SBq:()=>al,lqb:()=>fi,qLn:()=>Qi,vpe:()=>pi,gxx:()=>nd,XFs:()=>xt,OlP:()=>Vt,zs3:()=>ko,ZZ4:()=>zd,aQg:()=>Gd,soG:()=>cc,YKP:()=>Ly,h0i:()=>Ds,R0b:()=>nr,FiY:()=>Jl,Lbi:()=>pd,g9A:()=>dp,n_E:()=>ac,Qsj:()=>RE,FYo:()=>fg,JOm:()=>fu,q3G:()=>hs,PiD:()=>Yh,tp0:()=>eu,Rgc:()=>Ol,dDg:()=>vT,eoX:()=>V_,GfV:()=>hg,s_b:()=>zu,ifc:()=>Tn,VuI:()=>nA,MMx:()=>Vy,Lck:()=>LS,Gpc:()=>Rn,RIp:()=>qh,f3M:()=>Bt,X6Q:()=>OT,$WT:()=>ar,MR2:()=>od,rg0:()=>kE,c2e:()=>A_,zSh:()=>ad,HDt:()=>P_,wAp:()=>va,vHH:()=>tt,lri:()=>L_,rWj:()=>k_,JZr:()=>Xt,EiD:()=>ng,mCW:()=>Eu,qzn:()=>zs,JVY:()=>eE,pB0:()=>oE,eBb:()=>nE,L6k:()=>tE,LAX:()=>rE,cg1:()=>Gf,kuF:()=>Nt,kL8:()=>wv,dqk:()=>nn,iPO:()=>MT,Z0I:()=>Co,eJc:()=>Wi,QGY:()=>Yf,F4k:()=>Xv,RDi:()=>n0,AaK:()=>kt,z3N:()=>Pi,qOj:()=>df,Xq5:()=>dm,TTD:()=>Ar,_Bn:()=>Fy,jDz:()=>By,xp6:()=>Tg,uIk:()=>ff,ekj:()=>_f,Suo:()=>l_,Xpm:()=>wi,lG2:()=>jr,Yz7:()=>Jt,cJS:()=>Eo,oAB:()=>ai,Yjl:()=>Jr,Y36:()=>Zs,_UZ:()=>Uf,GkF:()=>$f,BQk:()=>Ju,ynx:()=>qu,qZA:()=>Xu,TgZ:()=>Qu,EpF:()=>Mv,n5z:()=>zi,Ikx:()=>Hf,LFG:()=>Fn,$8M:()=>Qc,$Z:()=>Og,NdJ:()=>Zf,CRH:()=>u_,kcU:()=>xa,O4$:()=>Kl,oxw:()=>ny,ALo:()=>e_,lcZ:()=>t_,xi3:()=>n_,gM2:()=>r_,Hsn:()=>oy,F$t:()=>ry,Q6J:()=>mf,VKq:()=>Ky,WLB:()=>Yy,iGM:()=>s_,MAs:()=>py,KtG:()=>Pc,evT:()=>fp,CHM:()=>Oc,oJD:()=>rg,P3R:()=>sg,Udp:()=>yf,d8E:()=>zf,YNc:()=>ua,W1O:()=>h_,_uU:()=>wy,Oqu:()=>Xf,hij:()=>oc,Gf:()=>a_});let N=null,Z=1;function z(e){const t=N;return N=e,t}function Y(e){if((!ae(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Z)){if(!e.producerMustRecompute(e)&&!je(e))return e.dirty=!1,void(e.lastCleanEpoch=Z);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Z}}function je(e){me(e);for(let t=0;t0}function me(e){var t,n,r;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(n=e.producerIndexOfThis)&&void 0!==n||(e.producerIndexOfThis=[]),null!==(r=e.producerLastReadVersion)&&void 0!==r||(e.producerLastReadVersion=[])}let mt=null;var lt=_(5992),Ht=_(5350),ze=_(1145),rt=_(3506),Ze=_(8626),Rt=_(287),zt=_(9853),Dt=_(3318),bt=_(8777);function dt(e){for(let t in e)if(e[t]===dt)return t;throw Error("Could not find renamed property on target object.")}function an(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function kt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(kt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(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 wt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Jn=dt({__forward_ref__:dt});function Rn(e){return e.__forward_ref__=Rn,e.toString=function(){return kt(this())},e}function it(e){return Bn(e)?e():e}function Bn(e){return"function"==typeof e&&e.hasOwnProperty(Jn)&&e.__forward_ref__===Rn}function vn(e){return e&&!!e.\u0275providers}const Xt="https://g.co/ng/security#xss";class tt extends Error{constructor(t,n){super(Nt(t,n)),this.code=t}}function Nt(e,t){const n="NG0".concat(Math.abs(e));return"".concat(n).concat(t?": "+t:"")}const Mr=dt({\u0275cmp:dt}),Je=dt({\u0275dir:dt}),Tt=dt({\u0275pipe:dt}),Gt=dt({\u0275mod:dt}),tn=dt({\u0275fac:dt}),qt=dt({__NG_ELEMENT_ID__:dt}),Hn=dt({__NG_ENV_ID__:dt});function ut(e){return"string"==typeof e?e:null==e?"":String(e)}function ie(e,t){throw t&&" in ".concat(t),new tt(-201,!1)}function jn(e,t){null==e&&function ht(e,t,n,r){throw new Error("ASSERTION ERROR: ".concat(e)+(null==r?"":" [Expected=> ".concat(n," ").concat(r," ").concat(t," <=Actual]")))}(t,e,null,"!=")}function Jt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Eo(e){return{providers:e.providers||[],imports:e.imports||[]}}function dr(e){return Wr(e,fr)||Wr(e,Ho)}function Co(e){return null!==dr(e)}function Wr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Mo(e){return e&&(e.hasOwnProperty(xr)||e.hasOwnProperty(yi))?e[xr]:null}const fr=dt({\u0275prov:dt}),xr=dt({\u0275inj:dt}),Ho=dt({ngInjectableDef:dt}),yi=dt({ngInjectorDef:dt});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 zo;function fn(e){const t=zo;return zo=e,t}function ir(e,t,n){const r=dr(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 ie(kt(e),"Injector")}const nn=globalThis;class Vt{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=Jt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}}const br={},mr="__NG_DI_FLAG__",Kr="ngTempTokenPath",uo=/\n/gm,So="__source";let Lr;function Kn(e){const t=Lr;return Lr=e,t}function bo(e,t=xt.Default){if(void 0===Lr)throw new tt(-203,!1);return null===Lr?ir(e,void 0,t):Lr.get(e,t&xt.Optional?null:void 0,t)}function Fn(e,t=xt.Default){return(function Sr(){return zo}()||bo)(it(e),t)}function Bt(e,t=xt.Default){return Fn(e,Yr(t))}function Yr(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Tr(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[O+1].toLowerCase();const X=8&r?U:null;if(X&&-1!==Zr(X,D,0)||2&r&&D!==U){if(_n(r))return!1;s=!0}}}}else{if(!s&&!_n(r)&&!_n(f))return!1;if(s&&_n(f))continue;s=!1,r=f|1&r}}return _n(r)||s}function _n(e){return 0==(1&e)}function po(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+l+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!_n(s)&&(t+=No(i,o),o=""),r=s,i=i||!_n(r);n++}return""!==o&&(t+=No(i,o)),t}function wi(e){return zn(()=>{var t;const n=F(e),r={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||Tn.Emulated,styles:e.styles||Ft,_:null,schemas:e.schemas||null,tView:null,id:""};c(r);const o=e.dependencies;return r.directiveDefs=g(o,!1),r.pipeDefs=g(o,!0),r.id=function T(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 o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(r),r})}function Br(e){return At(e)||Ln(e)}function Ii(e){return null!==e}function ai(e){return zn(()=>({type:e.type,bootstrap:e.bootstrap||Ft,declarations:e.declarations||Ft,imports:e.imports||Ft,exports:e.exports||Ft,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vi(e,t){if(null==e)return sr;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function jr(e){return zn(()=>{const t=F(e);return c(t),t})}function Jr(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 At(e){return e[Mr]||null}function Ln(e){return e[Je]||null}function An(e){return e[Tt]||null}function ar(e){const t=At(e)||Ln(e)||An(e);return null!==t&&t.standalone}function Un(e,t){const n=e[Gt]||null;if(!n&&!0===t)throw new Error("Type ".concat(kt(e)," does not have '\u0275mod' property."));return n}function F(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||sr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ft,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vi(e.inputs,t),outputs:Vi(e.outputs),debugInfo:null}}function c(e){var t;null===(t=e.features)||void 0===t||t.forEach(n=>n(e))}function g(e,t){if(!e)return null;const n=t?An:Br;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Ii)}const L=0,B=1,G=2,oe=3,Oe=4,y=5,v=6,A=7,C=8,R=9,we=10,Ne=11,Ct=12,on=13,hn=14,yt=15,Zn=16,Qn=17,gn=18,Nn=19,xo=20,kn=21,Xn=22,_r=23,vt=25,go=1,Si=2,ot=6,st=7,Lt=9,ln=11;function un(e){return Array.isArray(e)&&"object"==typeof e[go]}function En(e){return Array.isArray(e)&&!0===e[go]}function pn(e){return 0!=(4&e.flags)}function eo(e){return e.componentOffset>-1}function li(e){return 1==(1&e.flags)}function Cn(e){return!!e.template}function to(e){return 0!=(512&e[G])}function Mn(e,t){return e.hasOwnProperty(tn)?e[tn]:null}class Fo{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ar(){return Lo}function Lo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Yo),Ur}function Ur(){const e=Zo(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===sr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Yo(e,t,n,r){const o=this.declaredInputs[n],i=Zo(e)||function Cc(e,t){return e[$r]=t}(e,{previous:sr,current:null}),s=i.current||(i.current={}),l=i.previous,f=l[o];s[o]=new Fo(f&&f.currentValue,t,l===sr),e[r]=t}Ar.ngInherit=!0;const $r="__ngSimpleChanges__";function Zo(e){return e[$r]||null}const mo=function(e,t,n){},kl="svg";function wn(e){for(;Array.isArray(e);)e=e[L];return e}function rs(e,t){return wn(t[e])}function Er(e,t){return wn(t[e.index])}function os(e,t){return e.data[t]}function Ui(e,t){return e[t]}function Cr(e,t){const n=t[e];return un(n)?n:n[L]}function Aa(e){return 128==(128&e[G])}function Xo(e,t){return null==t?null:e[t]}function Sc(e){e[Qn]=0}function bc(e){1024&e[G]||(e[G]|=1024,Aa(e)&&Ms(e))}function Oa(e){9216&e[G]&&Ms(e)}function Ms(e){let t=e[oe];for(;null!==t&&!(En(t)&&t[ot]||un(t)&&8192&t[G]);){if(En(t))t[ot]=!0;else if(t[G]|=8192,!Aa(t))break;t=t[oe]}}const St={lFrame:Wl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ws(){return St.bindingsEnabled}function $i(){return null!==St.skipHydrationRootTNode}function xe(){return St.lFrame.lView}function sn(){return St.lFrame.tView}function Oc(e){return St.lFrame.contextLView=e,e[C]}function Pc(e){return St.lFrame.contextLView=null,e}function In(){let e=Rc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Rc(){return St.lFrame.currentTNode}function qo(e,t){const n=St.lFrame;n.currentTNode=e,n.isParent=t}function Ul(){return St.lFrame.isParent}function $l(){St.lFrame.isParent=!1}function hr(){const e=St.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Jo(){return St.lFrame.bindingIndex++}function Lh(e,t){const n=St.lFrame;n.bindingIndex=n.bindingRootIndex=e,Or(t)}function Or(e){St.lFrame.currentDirectiveIndex=e}function Pa(e){const t=St.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Hl(){return St.lFrame.currentQueryIndex}function Ra(e){St.lFrame.currentQueryIndex=e}function zl(e){const t=e[B];return 2===t.type?t.declTNode:1===t.type?e[y]:null}function Ss(e,t,n){if(n&xt.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&xt.Host||(o=zl(i),null===o||(i=i[hn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=St.lFrame=Gl();return r.currentTNode=t,r.lView=e,!0}function bs(e){const t=Gl(),n=e[B];St.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gl(){const e=St.lFrame,t=null===e?null:e.child;return null===t?Wl(e):t}function Wl(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 kc(){const e=St.lFrame;return St.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Vc=kc;function Na(){const e=kc();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 pr(){return St.lFrame.selectedIndex}function Ti(e){St.lFrame.selectedIndex=e}function xn(){const e=St.lFrame;return os(e.tView,e.selectedIndex)}function Kl(){St.lFrame.currentNamespace=kl}function xa(){!function jc(){St.lFrame.currentNamespace=null}()}let Uc=!0;function Fa(){return Uc}function Ai(e){Uc=e}function La(e,t){for(let D=t.directiveStart,S=t.directiveEnd;D=r)break}else t[f]<0&&(e[Qn]+=65536),(l>14>16&&(3&e[G])===t&&(e[G]+=16384,Hc(l,i)):Hc(l,i)}const Hi=-1;class ss{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ja(e){return e!==Hi}function As(e){return 32767&e}function as(e,t){let n=function Hh(e){return e>>16}(e),r=t;for(;n>0;)r=r[hn],n--;return r}let Ua=!0;function $a(e){const t=Ua;return Ua=e,t}const Gc=255,Wc=5;let Kc=0;const vo={};function Os(e,t){const n=a(e,t);if(-1!==n)return n;const r=t[B];r.firstCreatePass&&(e.injectorIndex=t.length,Ha(r.data,e),Ha(t,null),Ha(r.blueprint,null));const o=d(e,t),i=e.injectorIndex;if(ja(o)){const s=As(o),l=as(o,t),f=l[B].data;for(let D=0;D<8;D++)t[i+D]=l[s+D]|f[s+D]}return t[i+8]=o,i}function Ha(e,t){e.push(0,0,0,0,0,0,0,0,t)}function a(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function d(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Gi(o),null===r)return Hi;if(n++,o=o[hn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Hi}function m(e,t,n){!function Yc(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(qt)&&(r=n[qt]),null==r&&(r=n[qt]=Kc++);const o=r&Gc;t.data[e+(o>>Wc)]|=1<=0?t&Gc:ls:t}(n);if("function"==typeof i){if(!Ss(t,e,r))return r&xt.Host?E(o,0,r):P(t,n,r,o);try{let s;if(s=i(r),null!=s||r&xt.Optional)return s;ie()}finally{Vc()}}else if("number"==typeof i){let s=null,l=a(e,t),f=Hi,D=r&xt.Host?t[yt][y]:null;for((-1===l||r&xt.SkipSelf)&&(f=-1===l?d(e,t):t[l+8],f!==Hi&&cn(r,!1)?(s=t[B],l=As(f),t=as(f,t)):l=-1);-1!==l;){const S=t[B];if(Pn(i,l,S.data)){const O=Ue(l,t,n,s,r,D);if(O!==vo)return O}f=t[l+8],f!==Hi&&cn(r,t[B].data[l+8]===D)&&Pn(i,l,t)?(s=S,l=As(f),t=as(f,t)):l=-1}}return o}function Ue(e,t,n,r,o,i){const s=t[B],l=s.data[e+8],S=De(l,s,n,null==r?eo(l)&&Ua:r!=s&&0!=(3&l.type),o&xt.Host&&i===l);return null!==S?Xe(t,s,S,l):vo}function De(e,t,n,r,o){const i=e.providerIndexes,s=t.data,l=1048575&i,f=e.directiveStart,S=i>>20,U=o?l+S:e.directiveEnd;for(let X=r?l:l+S;X=f&&Me.type===n)return X}if(o){const X=s[f];if(X&&Cn(X)&&X.type===n)return f}return null}function Xe(e,t,n,r){let o=e[n];const i=t.data;if(function Vh(e){return e instanceof ss}(o)){const s=o;s.resolving&&function Sn(e,t){const n=t?". Dependency path: ".concat(t.join(" > ")," > ").concat(e):"";throw new tt(-200,"Circular dependency in DI detected for ".concat(e).concat(n))}(function Et(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ut(e)}(i[n]));const l=$a(s.canSeeViewProviders);s.resolving=!0;const D=s.injectImpl?fn(s.injectImpl):null;Ss(e,r,xt.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function $c(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){var s,l;const O=Lo(t);(null!==(s=n.preOrderHooks)&&void 0!==s?s:n.preOrderHooks=[]).push(e,O),(null!==(l=n.preOrderCheckHooks)&&void 0!==l?l:n.preOrderCheckHooks=[]).push(e,O)}var f,D,S;o&&(null!==(f=n.preOrderHooks)&&void 0!==f?f:n.preOrderHooks=[]).push(0-e,o),i&&((null!==(D=n.preOrderHooks)&&void 0!==D?D:n.preOrderHooks=[]).push(e,i),(null!==(S=n.preOrderCheckHooks)&&void 0!==S?S:n.preOrderCheckHooks=[]).push(e,i))}(n,i[n],t)}finally{null!==D&&fn(D),$a(l),s.resolving=!1,Vc()}}return o}function Pn(e,t,n){return!!(n[t+(e>>Wc)]&1<{const t=e.prototype.constructor,n=t[tn]||Oi(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[tn]||Oi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Oi(e){return Bn(e)?()=>{const t=Oi(it(e));return t&&t()}:Mn(e)}function Gi(e){const t=e[B],n=t.type;return 2===n?t.declTNode:1===n?e[y]:null}function Qc(e){return function h(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 o=0;for(;o{const r=function Xc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return l.annotation=s,l;function l(f,D,S){const O=f.hasOwnProperty(Rs)?f[Rs]:Object.defineProperty(f,Rs,{value:[]})[Rs];for(;O.length<=S;)O.push(null);return(O[S]=O[S]||[]).push(s),f}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Ls(e,t){e.forEach(n=>Array.isArray(n)?Ls(n,t):t(n))}function Gh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Xl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ga(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function Wh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Jc(e,t){const n=ks(e,t);if(n>=0)return e[1|n]}function ks(e,t){return function Kh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return Ls(t,s=>{const l=s;ru(l,i,[],r)&&(o||(o=[]),o.push(l))}),void 0!==o&&ep(o,i),n}function ep(e,t){for(let n=0;n{t(i,r)})}}function ru(e,t,n,r){if(!(e=it(e)))return!1;let o=null,i=Mo(e);const s=!i&&At(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const f=e.ngModule;if(i=Mo(f),!i)return!1;o=f}const l=r.has(o);if(s){if(l)return!1;if(r.add(o),s.dependencies){const f="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const D of f)ru(D,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!l){let D;r.add(o);try{Ls(i.imports,S=>{ru(S,t,n,r)&&(D||(D=[]),D.push(S))})}finally{}void 0!==D&&ep(D,t)}if(!l){const D=Mn(o)||(()=>new o);t({provide:o,useFactory:D,deps:Ft},o),t({provide:rd,useValue:o,multi:!0},o),t({provide:Bs,useValue:()=>Fn(o),multi:!0},o)}const f=i.providers;if(null!=f&&!l){const D=e;id(f,S=>{t(S,D)})}}}return o!==e&&void 0!==e.providers}function id(e,t){for(let n of e)vn(n)&&(n=n.\u0275providers),Array.isArray(n)?id(n,t):t(n)}const UD=dt({provide:String,useValue:dt});function sd(e){return null!==e&&"object"==typeof e&&UD in e}function us(e){return"function"==typeof e}const ad=new Vt("Set Injector scope."),ou={},HD={};let ld;function iu(){return void 0===ld&&(ld=new nu),ld}class fi{}class cs extends fi{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,cd(t,s=>this.processProvider(s)),this.records.set(nd,js(void 0,this)),o.has("environment")&&this.records.set(fi,js(void 0,this));const i=this.records.get(ad);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rd,Ft,xt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Kn(this),r=fn(void 0);try{return t()}finally{Kn(n),fn(r)}}get(t,n=br,r=xt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Hn))return t[Hn](this);r=Yr(r);const i=Kn(this),s=fn(void 0);try{if(!(r&xt.SkipSelf)){let f=this.records.get(t);if(void 0===f){const D=function YD(e){return"function"==typeof e||"object"==typeof e&&e instanceof Vt}(t)&&dr(t);f=D&&this.injectableDefInScope(D)?js(ud(t),ou):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&xt.Self?iu():this.parent).get(t,n=r&xt.Optional&&n===br?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Kr]=l[Kr]||[]).unshift(kt(t)),i)throw l;return function oi(e,t,n,r){const o=e[Kr];throw t[So]&&o.unshift(t[So]),e.message=function fo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=kt(t);if(Array.isArray(t))o=t.map(kt).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let l=t[s];i.push(s+":"+("string"==typeof l?JSON.stringify(l):kt(l)))}o="{".concat(i.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(o,"]: ").concat(e.replace(uo,"\n "))}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Kr]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{fn(s),Kn(i)}}resolveInjectorInitializers(){const t=Kn(this),n=fn(void 0);try{const o=this.get(Bs,Ft,xt.Self);for(const i of o)i()}finally{Kn(t),fn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(kt(r));return"R3Injector[".concat(t.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new tt(205,!1)}processProvider(t){let n=us(t=it(t))?t:it(t&&t.provide);const r=function GD(e){return sd(e)?js(void 0,e.useValue):js(rp(e),ou)}(t);if(us(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=js(void 0,ou,!0),o.factory=()=>Tr(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ou&&(n.value=HD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function KD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=it(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 ud(e){const t=dr(e),n=null!==t?t.factory:Mn(e);if(null!==n)return n;if(e instanceof Vt)throw new tt(204,!1);if(e instanceof Function)return function zD(e){const t=e.length;if(t>0)throw Ga(t,"?"),new tt(204,!1);const n=function $o(e){return e&&(e[fr]||e[Ho])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new tt(204,!1)}function rp(e,t,n){let r;if(us(e)){const o=it(e);return Mn(o)||ud(o)}if(sd(e))r=()=>it(e.useValue);else if(function np(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Tr(e.deps||[]));else if(function tp(e){return!(!e||!e.useExisting)}(e))r=()=>Fn(it(e.useExisting));else{const o=it(e&&(e.useClass||e.provide));if(!function WD(e){return!!e.deps}(e))return Mn(o)||ud(o);r=()=>new o(...Tr(e.deps))}return r}function js(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function cd(e,t){for(const n of e)Array.isArray(n)?cd(n,t):n&&vn(n)?cd(n.\u0275providers,t):t(n)}function ap(e,t=null,n=null,r){const o=lp(e,t,n,r);return o.resolveInjectorInitializers(),o}function lp(e,t=null,n=null,r,o=new Set){const i=[n||Ft,qh(e)];return r=r||("object"==typeof e?void 0:kt(e)),new cs(i,t||iu(),r||null,o)}let hd,ko=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return ap({name:""},o,r,"");{var i;const s=null!==(i=r.name)&&void 0!==i?i:"";return ap({name:s},r.parent,r.providers,s)}}}return(e=t).THROW_IF_NOT_FOUND=br,e.NULL=new nu,e.\u0275prov=Jt({token:e,providedIn:"any",factory:()=>Fn(nd)}),e.__NG_ELEMENT_ID__=-1,t})();function Wi(e){return!!Un(e)}function n0(e){hd=e}function Ki(){if(void 0!==hd)return hd;if(typeof document<"u")return document;throw new tt(210,!1)}const cp=new Vt("AppId",{providedIn:"root",factory:()=>r0}),r0="ng",dp=new Vt("Platform Initializer"),pd=new Vt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),o0=new Vt("AnimationModuleType"),s0=new Vt("CSP nonce",{providedIn:"root",factory:()=>{var e;return(null===(e=Ki().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});function fp(e){return e.ownerDocument}function _o(e){return e instanceof Function?e():e}function cu(e){return 128==(128&e.flags)}var fu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(fu||{});const g0=/^>|^->||--!>|)/g,v0="\u200b$1\u200b";const _d=new Map;let y0=0;const Ed="__ngContext__";function Pr(e,t){un(t)?(e[Ed]=t[Nn],function D0(e){_d.set(e[Nn],e)}(t)):e[Ed]=t}let Cd;function Md(e,t){return Cd(e,t)}function Xa(e){const t=e[oe];return En(t)?t[oe]:t}function Op(e){return Rp(e[Ct])}function Pp(e){return Rp(e[Oe])}function Rp(e){for(;null!==e&&!En(e);)e=e[Oe];return e}function $s(e,t,n,r,o){if(null!=r){let i,s=!1;En(r)?i=r:un(r)&&(s=!0,r=r[L]);const l=wn(r);0===e&&null!==n?null==o?Lp(t,n,l):ds(t,n,l,o||null,!0):1===e&&null!==n?ds(t,n,l,o||null,!0):2===e?function yu(e,t,n){const r=mu(e,t);r&&function B0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,l,s):3===e&&t.destroyNode(l),null!=i&&function $0(e,t,n,r,o){const i=n[st];i!==wn(n)&&$s(t,e,r,i,o);for(let l=ln;lt.replace(m0,v0))}(t))}function pu(e,t,n){return e.createElement(t,n)}function xp(e,t){const n=e[Lt],r=n.indexOf(t);n.splice(r,1)}function qa(e,t){if(e.length<=ln)return;const n=ln+t,r=e[n];if(r){const o=r[Zn];null!==o&&o!==e&&xp(o,r),t>0&&(e[n-1][Oe]=r[Oe]);const i=Xl(e,ln+t);!function P0(e,t){el(e,t,t[Ne],2,null,null),t[L]=null,t[y]=null}(r[B],r);const s=i[gn];null!==s&&s.detachView(i[B]),r[oe]=null,r[Oe]=null,r[G]&=-129}return r}function gu(e,t){if(!(256&t[G])){const n=t[Ne];t[_r]&&function Ke(e){if(me(e),ae(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[A]=null);const o=t[kn];if(null!==o){t[kn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Tn.None||i===Tn.Emulated)return null}return Er(r,n)}}(e,t.parent,n)}function ds(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Lp(e,t,n){e.appendChild(t,n)}function kp(e,t,n,r,o){null!==r?ds(e,t,n,r,o):Lp(e,t,n)}function mu(e,t){return e.parentNode(t)}function Vp(e,t,n){return jp(e,t,n)}let bd,_u,Du,jp=function Bp(e,t,n){return 40&e.type?Er(e,n):null};function vu(e,t,n,r){const o=Sd(e,r,t),i=t[Ne],l=Vp(r.parent||t[y],r,t);if(null!=o)if(Array.isArray(n))for(let f=0;fe,createScript:e=>e,createScriptURL:e=>e})}catch{}return _u}())||void 0===t?void 0:t.createHTML(e))||e}function Pd(){if(void 0===Du&&(Du=null,nn.trustedTypes))try{Du=nn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Du}function Kp(e){var t;return(null===(t=Pd())||void 0===t?void 0:t.createHTML(e))||e}function Zp(e){var t;return(null===(t=Pd())||void 0===t?void 0:t.createScriptURL(e))||e}class fs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(Xt,")")}}class Y0 extends fs{getTypeName(){return"HTML"}}class Z0 extends fs{getTypeName(){return"Style"}}class Q0 extends fs{getTypeName(){return"Script"}}class X0 extends fs{getTypeName(){return"URL"}}class q0 extends fs{getTypeName(){return"ResourceURL"}}function Pi(e){return e instanceof fs?e.changingThisBreaksApplicationSecurity:e}function zs(e,t){const n=function J0(e){return e instanceof fs&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see ").concat(Xt,")"))}return n===t}function eE(e){return new Y0(e)}function tE(e){return new Z0(e)}function nE(e){return new Q0(e)}function rE(e){return new X0(e)}function oE(e){return new q0(e)}class iE{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Hs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class sE{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Hs(t),n}}const lE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Eu(e){return(e=String(e)).match(lE)?e:"unsafe:"+e}function Ri(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function tl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Xp=Ri("area,br,col,hr,img,wbr"),qp=Ri("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jp=Ri("rp,rt"),Rd=tl(Xp,tl(qp,Ri("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")),tl(Jp,Ri("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")),tl(Jp,qp)),Nd=Ri("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),eg=tl(Nd,Ri("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"),Ri("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")),uE=Ri("script,style,template");class cE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;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)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Rd.hasOwnProperty(n))return this.sanitizedSomething=!0,!uE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();Rd.hasOwnProperty(n)&&!Xp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(tg(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return n}}const dE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fE=/([^\#-~ |!])/g;function tg(e){return e.replace(/&/g,"&").replace(dE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(fE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Cu;function ng(e,t){let n=null;try{Cu=Cu||function Qp(e){const t=new sE(e);return function aE(){try{return!!(new window.DOMParser).parseFromString(Hs(""),"text/html")}catch{return!1}}()?new iE(t):t}(e);let r=t?String(t):"";n=Cu.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Cu.getInertBodyElement(r)}while(r!==i);return Hs((new cE).sanitizeChildren(xd(n)||n))}finally{if(n){const r=xd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function xd(e){return"content"in e&&function hE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var hs=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}(hs||{});function rg(e){const t=nl();return t?Kp(t.sanitize(hs.HTML,e)||""):zs(e,"HTML")?Kp(Pi(e)):ng(Ki(),ut(e))}function og(e){const t=nl();return t?t.sanitize(hs.URL,e)||"":zs(e,"URL")?Pi(e):Eu(ut(e))}function ig(e){const t=nl();if(t)return Zp(t.sanitize(hs.RESOURCE_URL,e)||"");if(zs(e,"ResourceURL"))return Zp(Pi(e));throw new tt(904,!1)}function sg(e,t,n){return function yE(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ig:og}(t,n)(e)}function nl(){const e=xe();return e&&e[we].sanitizer}let ag=(e,t,n)=>null;function Bd(e,t,n=!1){return ag(e,t,n)}class bE{}class cg{}class AE{resolveComponentFactory(t){throw function TE(e){const t=Error("No component factory found for ".concat(kt(e),"."));return t.ngComponent=e,t}(t)}}let sl=(()=>{class t{}return t.NULL=new AE,t})();function OE(){return Ys(In(),xe())}function Ys(e,t){return new al(Er(e,t))}let al=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=OE,t})();function PE(e){return e instanceof al?e.nativeElement:e}class fg{}let RE=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function NE(){const e=xe(),n=Cr(In().index,e);return(un(n)?n:e)[Ne]}(),t})(),xE=(()=>{var e;class t{}return(e=t).\u0275prov=Jt({token:e,providedIn:"root",factory:()=>null}),t})();class hg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const FE=new hg("17.0.1"),$d={};function kE(e){const t=z(null);try{return e()}finally{z(t)}}function Au(e){return!!Hd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Hd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class pg{constructor(){}supports(t){return Au(t)}create(t){return new UE(t)}}const jE=(e,t)=>t;class UE{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||jE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,l),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,l,s,o)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,s,o),r=!0),n=n._next,o++}),this.length=o;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,o){let i;return null===t?i=this._itTail:(i=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,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new $E(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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 o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,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 o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new gg),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 gg),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 $E{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 HE{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 gg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new HE,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 mg(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),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 o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new GE(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 GE{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 yg(){return new zd([new pg])}let zd=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||yg()),deps:[[t,new eu,new Jl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(null!=o)return o;throw new tt(901,!1)}}return(e=t).\u0275prov=Jt({token:e,providedIn:"root",factory:yg}),t})();function _g(){return new Gd([new vg])}let Gd=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||_g()),deps:[[t,new eu,new Jl]]}}find(r){const o=this.factories.find(i=>i.supports(r));if(o)return o;throw new tt(901,!1)}}return(e=t).\u0275prov=Jt({token:e,providedIn:"root",factory:_g}),t})();function ll(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(wn(i)),En(i)&&Dg(i,r);const s=n.type;if(8&s)ll(e,t,n.child,r);else if(32&s){const l=Md(n,t);let f;for(;f=l();)r.push(f)}else if(16&s){const l=$p(t,n);if(Array.isArray(l))r.push(...l);else{const f=Xa(t[yt]);ll(f[B],f,l,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dg(e,t){for(let n=ln;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ms(e.lView)},consumerOnSignalRead(){this.lView[_r]=this}};function Wd(e){return e.ngOriginalError}class Qi{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&&Wd(t);for(;n&&Wd(n);)n=Wd(n);return n||null}}const wg=new Vt("",{providedIn:"root",factory:()=>!1}),$t={};function Tg(e){Ag(sn(),xe(),pr()+e,!1)}function Ag(e,t,n,r){if(!r)if(3==(3&t[G])){const i=e.preOrderCheckHooks;null!==i&&ka(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ts(t,i,0,n)}Ti(n)}function Zs(e,t=xt.Default){const n=xe();return null===n?Fn(e,t):V(In(),n,it(e),t)}function Og(){throw new Error("invalid")}function Pu(e,t,n,r,o,i,s,l,f,D,S){const O=t.blueprint.slice();return O[L]=o,O[G]=140|r,(null!==D||e&&2048&e[G])&&(O[G]|=2048),Sc(O),O[oe]=O[hn]=e,O[C]=n,O[we]=s||e&&e[we],O[Ne]=l||e&&e[Ne],O[R]=f||e&&e[R]||null,O[y]=i,O[Nn]=function _0(){return y0++}(),O[v]=S,O[xo]=D,O[yt]=2==t.type?e[yt]:O,O}function Qs(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Kd(e,t,n,r,o){const i=Rc(),s=Ul(),f=e.data[t]=function uC(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,l=0;return $i()&&(l|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=f),null!==i&&(s?null==i.child&&null!==f.parent&&(i.child=f):null===i.next&&(i.next=f,f.prev=i)),f}(e,t,n,r,o),function Fh(){return St.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Is(){const e=St.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return qo(i,!0),i}function ul(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;ivt&&Ag(e,t,vt,!1),mo(s?2:0,o),n(r,o)}finally{Ti(i),mo(s?3:1,o)}}function Yd(e,t,n){if(pn(t)){const r=z(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function xg(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Fg(n,t,o,i):r.hasOwnProperty(o)&&Fg(n,t,r[o],i)}return n}function Fg(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Do(e,t,n,r,o,i,s,l){const f=Er(t,n);let S,D=t.inputs;!l&&null!=D&&(S=D[r])?(nf(e,n,S,r,o),eo(t)&&function fC(e,t){const n=Cr(t,e);16&n[G]||(n[G]|=64)}(n,t.index)):3&t.type&&(r=function dC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(f,r,o))}function qd(e,t,n,r){if(ws()){const o=null===r?null:{"":-1},i=function yC(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=l&&s.push(l),s.push(n,r,i)}}(e,t,r,ul(e,n,o.hostVars,$t),o)}function hi(e,t,n,r,o,i){const s=Er(e,t);!function ef(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const l=null==s?ut(i):s(i,r||"",o);e.setAttribute(t,o,l,n)}}(t[Ne],s,i,e.value,n,r,o)}function wC(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let l=0;le.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(f,l),function ZE(e){e.lView[_r]!==e&&(e.lView=null,Eg.push(e))}(f)),Na()}}function Gg(e,t){for(let n=Op(e);null!==n;n=Pp(n)){n[ot]=!1;for(let r=ln;r-1&&(qa(t,r),Xl(n,r))}this._attachedToViewContainer=!1}gu(this._lView[B],this._lView)}onDestroy(t){!function is(e,t){if(256==(256&e[G]))throw new tt(911,!1);null===e[kn]&&(e[kn]=[]),e[kn].push(t)}(this._lView,t)}markForCheck(){cl(this._cdRefInjectingView||this._lView)}detach(){this._lView[G]&=-129}reattach(){Oa(this._lView),this._lView[G]|=128}detectChanges(){!function rf(e,t,n,r=!0){const o=t[we],i=o.rendererFactory,s=o.afterRenderEventManager;var f;null===(f=i.begin)||void 0===f||f.call(i),null==s||s.begin();try{zg(e,t,e.template,n),function bC(e){let t=0;for(;9216&e[G]||null!==(n=e[_r])&&void 0!==n&&n.dirty;){var n;if(100===t)throw new tt(103,!1);t++,Kg(e,1)}}(t)}catch(O){throw r&&Nu(t,O),O}finally{var D,S;null===(D=i.end)||void 0===D||D.call(i),null===(S=o.inlineEffectRunner)||void 0===S||S.flush(),null==s||s.end()}}(this._lView[B],this._lView,this.context,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new tt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function N0(e,t){el(e,t,t[Ne],2,null,null)}(this._lView[B],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new tt(902,!1);this._appRef=t}}let Zg=(()=>{class t{}return t.__NG_ELEMENT_ID__=RC,t})();function RC(e){return function NC(e,t,n){if(eo(e)&&!n){const r=Cr(e.index,t);return new dl(r,r)}return 47&e.type?new dl(t[yt],t):null}(In(),xe(),16==(16&e))}function af(e){return t=>{setTimeout(e,void 0,t)}}const pi=class HC extends lt.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){var l,f,D;const O=t;o=null===(l=O.next)||void 0===l?void 0:l.bind(O),i=null===(f=O.error)||void 0===f?void 0:f.bind(O),s=null===(D=O.complete)||void 0===D?void 0:D.bind(O)}this.__isAsync&&(i=af(i),o&&(o=af(o)),s&&(s=af(s)));const S=super.subscribe({next:o,error:i,complete:s});return t instanceof Ht.w0&&t.add(S),S}};function Qg(...e){}class nr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pi(!1),this.onMicrotaskEmpty=new pi(!1),this.onStable=new pi(!1),this.onError=new pi(!1),typeof Zone>"u")throw new tt(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function zC(){const e="function"==typeof nn.requestAnimationFrame;let t=nn[e?"requestAnimationFrame":"setTimeout"],n=nn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function KC(e){const t=()=>{!function WC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(nn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,uf(e),e.isCheckStableRunning=!0,lf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),uf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,l)=>{if(function ZC(e){var t;return!(!Array.isArray(e)||1!==e.length)&&!0===(null===(t=e[0].data)||void 0===t?void 0:t.__ignore_ng_zone__)}(l))return n.invokeTask(o,i,s,l);try{return Xg(e),n.invokeTask(o,i,s,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),qg(e)}},onInvoke:(n,r,o,i,s,l,f)=>{try{return Xg(e),n.invoke(o,i,s,l,f)}finally{e.shouldCoalesceRunChangeDetection&&t(),qg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,uf(e),lf(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!nr.isInAngularZone())throw new tt(909,!1)}static assertNotInAngularZone(){if(nr.isInAngularZone())throw new tt(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,GC,Qg,Qg);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const GC={};function lf(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 uf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qg(e){e._nesting--,lf(e)}const Jg=new Vt("",{providedIn:"root",factory:em});function em(){const e=Bt(nr);let t=!0;const n=new ze.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),r=new ze.y(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{nr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{nr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return(0,rt.T)(n,r.pipe((0,zt.B)()))}let xu=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){var r;null===(r=this.handler)||void 0===r||r.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){var r;for(const o of this.internalCallbacks)o();this.internalCallbacks.length=0,null===(r=this.handler)||void 0===r||r.execute()}}ngOnDestroy(){var r;null===(r=this.handler)||void 0===r||r.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=Jt({token:e,providedIn:"root",factory:()=>new e}),t})();function qC(e,t){const n=Cr(t,e),r=n[B];!function JC(e,t){for(let n=t.length;n0&&Gp(e,n,i.join(" "))}}(X,es,Fe,r),void 0!==n&&function uM(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=ho(o.hostAttrs,n=ho(n,o.hostAttrs))}}(r)}function Lu(e){return e===sr?{}:e===Ft?[]:e}function fM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function hM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function pM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function dm(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function gi(e,t,n){return e[t]=n}function rr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ms(e,t,n,r){const o=rr(e,t,n);return rr(e,t+1,r)||o}function ff(e,t,n,r){const o=xe();return rr(o,Jo(),t)&&(sn(),hi(xn(),o,e,t,n,r)),ff}function Vu(e,t){return e<<17|t<<2}function Xi(e){return e>>17&32767}function hf(e){return 2|e}function vs(e){return(131068&e)>>2}function pf(e,t){return-131069&e|t<<2}function gf(e){return 1|e}function Em(e,t,n,r,o){const i=e[n+1],s=null===t;let l=r?Xi(i):vs(i),f=!1;for(;0!==l&&(!1===f||s);){const S=e[l+1];IM(e[l],t)&&(f=!0,e[l+1]=r?gf(S):hf(S)),l=r?Xi(S):vs(S)}f&&(e[n+1]=r?hf(i):gf(i))}function IM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ks(e,t)>=0}function mf(e,t,n){const r=xe();return rr(r,Jo(),t)&&Do(sn(),xn(),r,e,t,r[Ne],n,!1),mf}function vf(e,t,n,r,o){const s=o?"class":"style";nf(e,n,t.inputs[s],s,r)}function yf(e,t,n){return ei(e,t,n,!1),yf}function _f(e,t){return ei(e,t,null,!0),_f}function ei(e,t,n,r){const o=xe(),i=sn(),s=function di(e){const t=St.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Am(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[pr()],s=function Tm(e,t){return t>=e.expandoStartIndex}(e,n);(function Nm(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function xM(e,t,n,r){const o=Pa(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=pl(n=Df(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Df(o,e,t,n,r),null===i){let f=function FM(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==vs(r))return e[Xi(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=Df(null,e,t,f[1],r),f=pl(f,t.attrs,r),function LM(e,t,n,r){e[Xi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else i=function kM(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(D=!0)):S=n,o)if(0!==f){const U=Xi(e[l+1]);e[r+1]=Vu(U,l),0!==U&&(e[U+1]=pf(e[U+1],r)),e[l+1]=function EM(e,t){return 131071&e|t<<17}(e[l+1],r)}else e[r+1]=Vu(l,0),0!==l&&(e[l+1]=pf(e[l+1],r)),l=r;else e[r+1]=Vu(f,0),0===l?l=r:e[f+1]=pf(e[f+1],r),f=r;D&&(e[r+1]=hf(e[r+1])),Em(e,S,r,!0),Em(e,S,r,!1),function wM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ks(i,t)>=0&&(n[r+1]=gf(n[r+1]))}(t,S,e,r,i),s=Vu(l,f),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==$t&&rr(o,s,t)&&function Pm(e,t,n,r,o,i,s,l){if(!(3&t.type))return;const f=e.data,D=f[l+1],S=function CM(e){return 1==(1&e)}(D)?Rm(f,t,n,o,vs(D),s):void 0;Bu(S)||(Bu(i)||function DM(e){return 2==(2&e)}(D)&&(i=Rm(f,null,n,o,l,s)),function H0(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:fu.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=fu.Important),e.setStyle(n,r,o,i))}}(r,s,rs(pr(),n),o,i))}(i,i.data[pr()],o,o[Ne],e,o[s+1]=function UM(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=kt(Pi(e)))),e}(t,n),r,s)}function Df(e,t,n,r,o){let i=null;const s=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l0;){const f=e[o],D=Array.isArray(f),S=D?f[1]:f,O=null===S;let U=n[o+1];U===$t&&(U=O?Ft:void 0);let X=O?Jc(U,r):S===r?U:void 0;if(D&&!Bu(X)&&(X=Jc(f,r)),Bu(X)&&(l=X,s))return l;const Me=e[o+1];o=s?Xi(Me):vs(Me)}if(null!==t){let f=i?t.residualClasses:t.residualStyles;null!=f&&(l=Jc(f,r))}return l}function Bu(e){return void 0!==e}"^(\\d+)*(".concat("b","|").concat("h",")*(.*)");function la(e,t){return!t||cu(e)}function _l(e,t,n,r=!0){const o=t[B];if(function F0(e,t,n,r){const o=ln+r,i=n.length;r>0&&(n[o-1][Oe]=t),r{class t{}return t.__NG_ELEMENT_ID__=Ew,t})();function Ew(){return Wm(In(),xe())}const Cw=zu,zm=class extends Cw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ys(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){const t=d(this._hostTNode,this._hostLView);if(ja(t)){const n=as(t,this._hostLView),r=As(t);return new Vn(n[B].data[r+8],n)}return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Gm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ln}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const l=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(l,o,la(this._hostTNode,null)),l}createComponent(t,n,r,o,i){var s,f;const D=t&&!function za(e){return"function"==typeof e}(t);let S;if(D)S=n;else{const et=n||{};S=et.index,r=et.injector,o=et.projectableNodes,i=et.environmentInjector||et.ngModuleRef}const O=D?t:new fl(At(t)),U=r||this.parentInjector;if(!i&&null==O.ngModule){const Le=(D?U:this.parentInjector).get(fi,null);Le&&(i=Le)}const X=At(null!==(s=O.componentType)&&void 0!==s?s:{}),Me=(null==X?void 0:X.id,null),Fe=null!==(f=null==Me?void 0:Me.firstChild)&&void 0!==f?f:null,We=O.create(U,o,Fe,i);return this.insertImpl(We.hostView,S,la(this._hostTNode,Me)),We}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function Ic(e){return En(e[oe])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const f=o[oe],D=new zm(f,f[y],f[oe]);D.detach(D.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return _l(s,o,i,r),t.attachToViewContainerRef(),Gh(Af(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Gm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=qa(this._lContainer,n);r&&(Xl(Af(this._lContainer),n),gu(r[B],r))}detach(t){const n=this._adjustIndex(t,-1),r=qa(this._lContainer,n);return r&&null!=Xl(Af(this._lContainer),n)?new dl(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Gm(e){return e[8]}function Af(e){return e[8]||(e[8]=[])}function Wm(e,t){let n;const r=t[e.index];return En(r)?n=r:(n=Bg(r,t,null,e),t[e.index]=n,Ru(t,n)),Km(n,t,e,r),new zm(n,e,t)}let Km=function Zm(e,t,n,r){if(e[st])return;let o;o=8&n.type?wn(r):function Mw(e,t){const n=e[Ne],r=n.createComment(""),o=Er(t,e);return ds(n,mu(n,o),r,function j0(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[st]=o},Of=(e,t,n)=>!1;function ua(e,t,n,r,o,i,s,l){const f=xe(),D=sn(),S=e+vt,O=D.firstCreatePass?function bw(e,t,n,r,o,i,s,l,f){const D=t.consts,S=Qs(t,e,4,s||null,Xo(D,l));qd(t,n,S,Xo(D,f)),La(t,S);const O=S.tView=Xd(2,S,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,S),O.queries=t.queries.embeddedTView(S)),S}(S,D,f,t,n,r,o,i,s):D.data[S];qo(O,!1);const U=Qm(D,f,O,e);Fa()&&vu(D,f,U,O),Pr(U,f);const X=Bg(U,f,U,O);return f[S]=X,Ru(f,X),function Ym(e,t,n){return Of(e,t,n)}(X,O,f),li(O)&&Zd(D,f,O),null!=s&&Qd(f,O,l),ua}let Qm=function Xm(e,t,n,r){return Ai(!0),t[Ne].createComment("")};function Qu(e,t,n,r){const o=xe(),i=sn(),s=vt+e,l=o[Ne],f=i.firstCreatePass?function mI(e,t,n,r,o,i){const s=t.consts,f=Qs(t,e,2,r,Xo(s,o));return qd(t,n,f,Xo(s,i)),null!==f.attrs&&Fu(f,f.attrs,!1),null!==f.mergedAttrs&&Fu(f,f.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,f),f}(s,i,o,t,n,r):i.data[s],D=Ev(i,o,f,l,t,e);o[s]=D;const S=li(f);return qo(f,!0),Wp(l,D,f),32!=(32&f.flags)&&Fa()&&vu(i,o,D,f),0===function Oh(){return St.lFrame.elementDepthCount}()&&Pr(D,o),function Vl(){St.lFrame.elementDepthCount++}(),S&&(Zd(i,o,f),Yd(i,f,o)),null!==r&&Qd(o,f),Qu}function Xu(){let e=In();Ul()?$l():(e=e.parent,qo(e,!1));const t=e;(function Ac(e){return St.skipHydrationRootTNode===e})(t)&&function Nh(){St.skipHydrationRootTNode=null}(),function Bl(){St.lFrame.elementDepthCount--}();const n=sn();return n.firstCreatePass&&(La(n,e),pn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function jh(e){return 0!=(8&e.flags)}(t)&&vf(n,t,xe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function zc(e){return 0!=(16&e.flags)}(t)&&vf(n,t,xe(),t.stylesWithoutHost,!1),Xu}function Uf(e,t,n,r){return Qu(e,t,n,r),Xu(),Uf}let Ev=(e,t,n,r,o,i)=>(Ai(!0),pu(r,o,function Zl(){return St.lFrame.currentNamespace}()));function qu(e,t,n){const r=xe(),o=sn(),i=e+vt,s=o.firstCreatePass?function _I(e,t,n,r,o){const i=t.consts,s=Xo(i,r),l=Qs(t,e,8,"ng-container",s);return null!==s&&Fu(l,s,!0),qd(t,n,l,Xo(i,o)),null!==t.queries&&t.queries.elementStart(t,l),l}(i,o,r,t,n):o.data[i];qo(s,!0);const l=Cv(o,r,s,e);return r[i]=l,Fa()&&vu(o,r,l,s),Pr(l,r),li(s)&&(Zd(o,r,s),Yd(o,s,r)),null!=n&&Qd(r,s),qu}function Ju(){let e=In();const t=sn();return Ul()?$l():(e=e.parent,qo(e,!1)),t.firstCreatePass&&(La(t,e),pn(e)&&t.queries.elementEnd(e)),Ju}function $f(e,t,n){return qu(e,t,n),Ju(),$f}let Cv=(e,t,n,r)=>(Ai(!0),wd(t[Ne],""));function Mv(){return xe()}function Hf(e,t,n){const r=xe();return rr(r,Jo(),t)&&Do(sn(),xn(),r,e,t,r[Ne],n,!0),Hf}function zf(e,t,n){const r=xe();if(rr(r,Jo(),t)){const i=sn(),s=xn();Do(i,s,r,e,t,Hg(Pa(i.data),s,r),n,!0)}return zf}const _s=void 0;var MI=["en",[["a","p"],["AM","PM"],_s],[["AM","PM"],_s,_s],[["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"]],_s,[["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"]],_s,[["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}",_s,"{1} 'at' {0}",_s],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function CI(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ma={};function Gf(e){const t=function wI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Iv(t);if(n)return n;const r=t.split("-")[0];if(n=Iv(r),n)return n;if("en"===r)return MI;throw new tt(701,!1)}function wv(e){return Gf(e)[va.PluralCase]}function Iv(e){return e in ma||(ma[e]=nn.ng&&nn.ng.common&&nn.ng.common.locales&&nn.ng.common.locales[e]),ma[e]}var va=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}(va||{});const ya="en-US";let Sv=ya;function Yf(e){return!!e&&"function"==typeof e.then}function Xv(e){return!!e&&"function"==typeof e.subscribe}function Zf(e,t,n,r){const o=xe(),i=sn(),s=In();return function Jv(e,t,n,r,o,i,s){const l=li(r),D=e.firstCreatePass&&$g(e),S=t[C],O=Ug(t);let U=!0;if(3&r.type||s){const Fe=Er(r,t),We=s?s(Fe):Fe,et=O.length,Le=s?Wt=>s(wn(Wt[r.index])):r.index;let Pt=null;if(!s&&l&&(Pt=function yS(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;if?l[f]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==Pt)(Pt.__ngLastListenerFn__||Pt).__ngNextListenerFn__=i,Pt.__ngLastListenerFn__=i,U=!1;else{i=ty(r,t,S,i,!1);const Wt=n.listen(We,o,i);O.push(i,Wt),D&&D.push(o,Le,et,et+1)}}else i=ty(r,t,S,i,!1);const X=r.outputs;let Me;if(U&&null!==X&&(Me=X[o])){const Fe=Me.length;if(Fe)for(let We=0;We-1?Cr(e.index,t):t);let f=ey(t,n,r,s),D=i.__ngNextListenerFn__;for(;D;)f=ey(t,n,D,s)&&f,D=D.__ngNextListenerFn__;return o&&!1===f&&s.preventDefault(),f}}function ny(e=1){return function Bc(e){return(St.lFrame.contextLView=function Cs(e,t){for(;e>0;)t=t[hn],e--;return t}(e,St.lFrame.contextLView))[C]}(e)}function _S(e,t){let n=null;const r=function ns(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 o=0;o(Ai(!0),function hu(e,t){return e.createText(t)}(t[Ne],r));function Xf(e){return oc("",e,""),Xf}function oc(e,t,n){const r=xe(),o=function qs(e,t,n,r){return rr(e,Jo(),n)?t+ut(n)+r:$t}(r,e,t,n);return o!==$t&&function Ni(e,t,n){const r=rs(t,e);!function Np(e,t,n){e.setValue(t,n)}(e[Ne],r,n)}(r,pr(),o),oc}function qf(e,t,n,r,o){if(e=it(e),Array.isArray(e))for(let i=0;i>20;if(us(e)||!e.multi){const X=new ss(D,o,Zs),Me=eh(f,t,o?S:S+U,O);-1===Me?(m(Os(l,s),i,f),Jf(i,e,t.length),t.push(f),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(X),s.push(X)):(n[Me]=X,s[Me]=X)}else{const X=eh(f,t,S+U,O),Me=eh(f,t,S,S+U),We=Me>=0&&n[Me];if(o&&!We||!o&&!(X>=0&&n[X])){m(Os(l,s),i,f);const et=function FS(e,t,n,r,o){const i=new ss(e,n,Zs);return i.multi=[],i.index=t,i.componentProviders=0,xy(i,o,r&&!n),i}(o?xS:NS,n.length,o,r,D);!o&&We&&(n[Me].providerFactory=et),Jf(i,e,t.length,0),t.push(f),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(et),s.push(et)}else Jf(i,e,X>-1?X:Me,xy(n[o?Me:X],D,!o&&r));!o&&r&&We&&n[Me].componentProviders++}}}function Jf(e,t,n,r){const o=us(t),i=function $D(e){return!!e.useClass}(t);if(o||i){const f=(i?it(t.useClass):t).prototype.ngOnDestroy;if(f){const D=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const S=D.indexOf(n);-1===S?D.push(n,[r,f]):D[S+1].push(r,f)}else D.push(n,f)}}}function xy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function eh(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function RS(e,t,n){const r=sn();if(r.firstCreatePass){const o=Cn(e);qf(n,r.data,r.blueprint,o,!0),qf(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Ds{}class Ly{}function LS(e,t){return new nh(e,null!=t?t:null,[])}class nh extends Ds{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new im(this);const o=Un(t);this._bootstrapComponents=_o(o.bootstrap),this._r3Injector=lp(t,n,[{provide:Ds,useValue:this},{provide:sl,useValue:this.componentFactoryResolver},...r],kt(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 rh extends Ly{constructor(t){super(),this.moduleType=t}create(t){return new nh(this.moduleType,t,[])}}class ky extends Ds{constructor(t){super(),this.componentFactoryResolver=new im(this),this.instance=null;const n=new cs([...t.providers,{provide:Ds,useValue:this},{provide:sl,useValue:this.componentFactoryResolver}],t.parent||iu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Vy(e,t,n=null){return new ky({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let VS=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const o=Jh(0,r.type),i=o.length>0?Vy([o],this._injector,"Standalone[".concat(r.type.name,"]")):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Jt({token:e,providedIn:"environment",factory:()=>new e(Fn(fi))}),t})();const BS={detail:{feature:"NgStandalone"}};function By(e){(function ps(e,t){var n,r;return null===(n=performance)||void 0===n||null===(r=n.mark)||void 0===r?void 0:r.call(n,e,t)})("mark_use_counter",BS),e.getStandaloneInjector=t=>t.get(VS).getOrCreateStandaloneInjector(e)}function Ky(e,t,n,r){return Zy(xe(),hr(),e,t,n,r)}function Yy(e,t,n,r,o){return Qy(xe(),hr(),e,t,n,r,o)}function Tl(e,t){const n=e[t];return n===$t?void 0:n}function Zy(e,t,n,r,o,i){const s=t+n;return rr(e,s,o)?gi(e,s+1,i?r.call(i,o):r(o)):Tl(e,s+1)}function Qy(e,t,n,r,o,i,s){const l=t+n;return ms(e,l,o,i)?gi(e,l+2,s?r.call(s,o,i):r(o,i)):Tl(e,l+2)}function qy(e,t,n,r,o,i,s,l,f){const D=t+n;return function Vo(e,t,n,r,o,i){const s=ms(e,t,n,r);return ms(e,t+2,o,i)||s}(e,D,o,i,s,l)?gi(e,D+4,f?r.call(f,o,i,s,l):r(o,i,s,l)):Tl(e,D+4)}function e_(e,t){const n=sn();let r;const o=e+vt;var i;n.firstCreatePass?(r=function ob(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[o]=r,r.onDestroy&&(null!==(i=n.destroyHooks)&&void 0!==i?i:n.destroyHooks=[]).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=Mn(r.type)),f=fn(Zs);try{const D=$a(!1),S=s();return $a(D),function DS(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,xe(),o,S),S}finally{fn(f)}}function t_(e,t,n){const r=e+vt,o=xe(),i=Ui(o,r);return Al(o,r)?Zy(o,hr(),t,i.transform,n,i):i.transform(n)}function n_(e,t,n,r){const o=e+vt,i=xe(),s=Ui(i,o);return Al(i,o)?Qy(i,hr(),t,s.transform,n,r,s):s.transform(n,r)}function r_(e,t,n,r,o,i){const s=e+vt,l=xe(),f=Ui(l,s);return Al(l,s)?qy(l,hr(),t,f.transform,n,r,o,i,f):f.transform(n,r,o,i)}function Al(e,t){return e[B].data[t].pure}function ab(){return this._results[Symbol.iterator]()}class ac{get changes(){return this._changes||(this._changes=new pi)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ac.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=ab)}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 oo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ID(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class t{}return t.__NG_ELEMENT_ID__=cb,t})();const lb=Ol,ub=class extends lb{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function yl(e,t,n,r){var o,i;const s=t.tView,D=Pu(e,s,n,4096&e[G]?4096:16,null,t,null,null,null,null!==(o=null==r?void 0:r.injector)&&void 0!==o?o:null,null!==(i=null==r?void 0:r.dehydratedView)&&void 0!==i?i:null);D[Zn]=e[t.index];const O=e[gn];return null!==O&&(D[gn]=O.createEmbeddedView(s)),cf(s,D,n),D}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new dl(o)}};function cb(){return lc(In(),xe())}function lc(e,t){return 4&e.type?new ub(t,e,Ys(e,t)):null}class ih{constructor(t){this.queryList=t,this.matches=null}clone(){return new ih(this.queryList)}setDirty(){this.queryList.setDirty()}}class sh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[l/2]);else{const D=i[l+1],S=t[-f];for(let O=ln;O{var e;class t{constructor(){var r;this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,i)=>{this.resolve=o,this.reject=i}),this.appInits=null!==(r=Bt(Vb,{optional:!0}))&&void 0!==r?r:[]}runInitializers(){if(this.initialized)return;const r=[];for(const i of this.appInits){const s=i();if(Yf(s))r.push(s);else if(Xv(s)){const l=new Promise((f,D)=>{s.subscribe({complete:f,error:D})});r.push(l)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Jt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),A_=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Jt({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const cc=new Vt("LocaleId",{providedIn:"root",factory:()=>Bt(cc,xt.Optional|xt.SkipSelf)||function Bb(){return typeof $localize<"u"&&$localize.locale||ya}()}),jb=new Vt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let P_=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ze.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Jt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Gb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Wb=(()=>{var e;class t{compileModuleSync(r){return new rh(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const o=this.compileModuleSync(r),s=_o(Un(r).declarations).reduce((l,f)=>{const D=At(f);return D&&l.push(new fl(D)),l},[]);return new Gb(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Jt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const L_=new Vt(""),k_=new Vt("");let mh,vT=(()=>{var e;class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,mh||(function yT(e){mh=e}(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{nr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,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(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(Fn(nr),Fn(V_),Fn(k_))},e.\u0275prov=Jt({token:e,factory:e.\u0275fac}),t})(),V_=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){var i,s;return null!==(i=null===(s=mh)||void 0===s?void 0:s.findTestabilityInTree(this,r,o))&&void 0!==i?i:null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Jt({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Ji=null;const vh=new Vt("PlatformDestroyListeners"),yh=new Vt("appBootstrapListener");function MT(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,o=function CT(e=[]){if(Ji)return Ji;const t=function $_(e=[],t){return ko.create({name:t,providers:[{provide:ad,useValue:"platform"},{provide:vh,useValue:new Set([()=>Ji=null])},...e]})}(e);return Ji=t,function j_(){!function nt(e){mt=e}(()=>{throw new tt(600,!1)})}(),function U_(e){const t=e.get(dp,null);null==t||t.forEach(n=>n())}(t),t}(r),i=[TT(),...n||[]],l=new ky({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,f=l.get(nr);return f.run(()=>{l.resolveInjectorInitializers();const D=l.get(Qi,null);let S;f.runOutsideAngular(()=>{S=f.onError.subscribe({next:X=>{D.handleError(X)}})});const O=()=>l.destroy(),U=o.get(vh);return U.add(O),l.onDestroy(()=>{S.unsubscribe(),U.delete(O)}),function G_(e,t,n){try{const r=n();return Yf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(D,f,()=>{const X=l.get(ph);return X.runInitializers(),X.donePromise.then(()=>{!function bv(e){jn(e,"Expected localeId to be defined"),"string"==typeof e&&(Sv=e.toLowerCase().replace(/_/g,"-"))}(l.get(cc,ya)||ya);const Fe=l.get(Ea);return void 0!==t&&Fe.bootstrap(t),Fe})})})}catch(t){return Promise.reject(t)}}let Ea=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Bt(Y_),this.zoneIsStable=Bt(Jg),this.componentTypes=[],this.components=[],this.isStable=Bt(P_).hasPendingTasks.pipe((0,Dt.w)(r=>r?(0,Rt.of)(!1):this.zoneIsStable),(0,bt.x)(),(0,zt.B)()),this._injector=Bt(fi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const i=r instanceof cg;if(!this._injector.get(ph).done)throw!i&&ar(r),new tt(405,!1);let l;l=i?r:this._injector.get(sl).resolveComponentFactory(r),this.componentTypes.push(l.componentType);const f=function DT(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Ds),S=l.create(ko.NULL,[],o||l.selector,f),O=S.location.nativeElement,U=S.injector.get(L_,null);return null==U||U.registerApplication(O),S.onDestroy(()=>{this.detachView(S.hostView),fc(this.components,S),null==U||U.unregisterApplication(O)}),this._loadComponent(S),S}tick(){if(this._runningTick)throw new tt(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;fc(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(yh,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>fc(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new tt(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Jt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function fc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Y_=new Vt("",{providedIn:"root",factory:()=>Bt(Qi).handleError.bind(void 0)});function ST(){const e=Bt(nr),t=Bt(Qi);return n=>e.runOutsideAngular(()=>t.handleError(n))}let bT=(()=>{var e;class t{constructor(){this.zone=Bt(nr),this.applicationRef=Bt(Ea)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var r;null===(r=this._onMicrotaskEmptySubscription)||void 0===r||r.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=Jt({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Z_(e){return[{provide:nr,useFactory:e},{provide:Bs,multi:!0,useFactory:()=>{const t=Bt(bT,{optional:!0});return()=>t.initialize()}},{provide:Y_,useFactory:ST},{provide:Jg,useFactory:em}]}function TT(e){return od([[],Z_(()=>new nr(function z_(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(n=null==e?void 0:e.runCoalescing)&&void 0!==n&&n}}(e)))])}function OT(){return!1}let FT=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(Fn(Ea))},e.\u0275mod=ai({type:e}),e.\u0275inj=Eo({}),t})();function nA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3543:(Ge,le,_)=>{_.d(le,{Fj:()=>Re,u5:()=>oe,JU:()=>ne,a5:()=>bt,JJ:()=>wt,On:()=>Kr,eT:()=>To,Q7:()=>yr});var u=_(1582),N=_(3223),b=_(3477),Z=_(1145),H=_(302),z=_(9417),te=_(9321),he=_(8014),ue=_(8472),se=_(4407),j=_(5990);let Y=(()=>{var y;class v{constructor(C,R){this._renderer=C,this._elementRef=R,this.onChange=we=>{},this.onTouched=()=>{}}setProperty(C,R){this._renderer.setProperty(this._elementRef.nativeElement,C,R)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}}return(y=v).\u0275fac=function(C){return new(C||y)(u.Y36(u.Qsj),u.Y36(u.SBq))},y.\u0275dir=u.lG2({type:y}),v})(),W=(()=>{var y;class v extends Y{}return(y=v).\u0275fac=(()=>{let A;return function(R){return(A||(A=u.n5z(y)))(R||y)}})(),y.\u0275dir=u.lG2({type:y,features:[u.qOj]}),v})();const ne=new u.OlP("NgValueAccessor"),be={provide:ne,useExisting:(0,u.Gpc)(()=>Re),multi:!0},Ke=new u.OlP("CompositionEventMode");let Re=(()=>{var y;class v extends Y{constructor(C,R,we){super(C,R),this._compositionMode=we,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function je(){const y=(0,N.q)()?(0,N.q)().getUserAgent():"";return/android (\d+)/.test(y.toLowerCase())}())}writeValue(C){this.setProperty("value",null==C?"":C)}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}}return(y=v).\u0275fac=function(C){return new(C||y)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36(Ke,8))},y.\u0275dir=u.lG2({type:y,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(C,R){1&C&&u.NdJ("input",function(Ne){return R._handleInput(Ne.target.value)})("blur",function(){return R.onTouched()})("compositionstart",function(){return R._compositionStart()})("compositionend",function(Ne){return R._compositionEnd(Ne.target.value)})},features:[u._Bn([be]),u.qOj]}),v})();const me=new u.OlP("NgValidators"),_e=new u.OlP("NgAsyncValidators");function Ve(y){return function Ee(y){return null==y||("string"==typeof y||Array.isArray(y))&&0===y.length}(y.value)?{required:!0}:null}function ee(y){return null}function fe(y){return null!=y}function Te(y){return(0,u.QGY)(y)?(0,b.D)(y):y}function Se(y){let v={};return y.forEach(A=>{v=null!=A?{...v,...A}:v}),0===Object.keys(v).length?null:v}function Be(y,v){return v.map(A=>A(y))}function at(y){return y.map(v=>function ke(y){return!y.validate}(v)?v:A=>v.validate(A))}function dn(y){return null!=y?function _t(y){if(!y)return null;const v=y.filter(fe);return 0==v.length?null:function(A){return Se(Be(A,v))}}(at(y)):null}function Ie(y){return null!=y?function ct(y){if(!y)return null;const v=y.filter(fe);return 0==v.length?null:function(A){return function Q(...y){const v=(0,te.jO)(y),{args:A,keys:C}=(0,H.D)(y),R=new Z.y(we=>{const{length:Ne}=A;if(!Ne)return void we.complete();const Ct=new Array(Ne);let on=Ne,hn=Ne;for(let yt=0;yt{Zn||(Zn=!0,hn--),Ct[yt]=Qn},()=>on--,void 0,()=>{(!on||!Zn)&&(hn||we.next(C?(0,se.n)(C,Ct):Ct),we.complete())}))}});return v?R.pipe((0,ue.Z)(v)):R}(Be(A,v).map(Te)).pipe((0,j.U)(Se))}}(at(y)):null}function pt(y,v){return null===y?[v]:Array.isArray(y)?[...y,v]:[y,v]}function ze(y){return y?Array.isArray(y)?y:[y]:[]}function rt(y,v){return Array.isArray(y)?y.includes(v):y===v}function Ze(y,v){const A=ze(v);return ze(y).forEach(R=>{rt(A,R)||A.push(R)}),A}function Rt(y,v){return ze(v).filter(A=>!rt(y,A))}class zt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(v){this._rawValidators=v||[],this._composedValidatorFn=dn(this._rawValidators)}_setAsyncValidators(v){this._rawAsyncValidators=v||[],this._composedAsyncValidatorFn=Ie(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(v){this._onDestroyCallbacks.push(v)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(v=>v()),this._onDestroyCallbacks=[]}reset(v=void 0){this.control&&this.control.reset(v)}hasError(v,A){return!!this.control&&this.control.hasError(v,A)}getError(v,A){return this.control?this.control.getError(v,A):null}}class Dt extends zt{get formDirective(){return null}get path(){return null}}class bt extends zt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class dt{constructor(v){this._cd=v}get isTouched(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.touched)}get isUntouched(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.untouched)}get isPristine(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.pristine)}get isDirty(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.dirty)}get isValid(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.valid)}get isInvalid(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.invalid)}get isPending(){var v;return!(null===(v=this._cd)||void 0===v||null===(v=v.control)||void 0===v||!v.pending)}get isSubmitted(){var v;return!(null===(v=this._cd)||void 0===v||!v.submitted)}}let wt=(()=>{var y;class v extends dt{constructor(C){super(C)}}return(y=v).\u0275fac=function(C){return new(C||y)(u.Y36(bt,2))},y.\u0275dir=u.lG2({type:y,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(C,R){2&C&&u.ekj("ng-untouched",R.isUntouched)("ng-touched",R.isTouched)("ng-pristine",R.isPristine)("ng-dirty",R.isDirty)("ng-valid",R.isValid)("ng-invalid",R.isInvalid)("ng-pending",R.isPending)},features:[u.qOj]}),v})();const Et="VALID",rn="INVALID",Yt="PENDING",Sn="DISABLED";function J(y){return null!=y&&!Array.isArray(y)&&"object"==typeof y}class Qe{constructor(v,A){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(v),this._assignAsyncValidators(A)}get validator(){return this._composedValidatorFn}set validator(v){this._rawValidators=this._composedValidatorFn=v}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(v){this._rawAsyncValidators=this._composedAsyncValidatorFn=v}get parent(){return this._parent}get valid(){return this.status===Et}get invalid(){return this.status===rn}get pending(){return this.status==Yt}get disabled(){return this.status===Sn}get enabled(){return this.status!==Sn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(v){this._assignValidators(v)}setAsyncValidators(v){this._assignAsyncValidators(v)}addValidators(v){this.setValidators(Ze(v,this._rawValidators))}addAsyncValidators(v){this.setAsyncValidators(Ze(v,this._rawAsyncValidators))}removeValidators(v){this.setValidators(Rt(v,this._rawValidators))}removeAsyncValidators(v){this.setAsyncValidators(Rt(v,this._rawAsyncValidators))}hasValidator(v){return rt(this._rawValidators,v)}hasAsyncValidator(v){return rt(this._rawAsyncValidators,v)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(v={}){this.touched=!0,this._parent&&!v.onlySelf&&this._parent.markAsTouched(v)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(v=>v.markAllAsTouched())}markAsUntouched(v={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(A=>{A.markAsUntouched({onlySelf:!0})}),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}markAsDirty(v={}){this.pristine=!1,this._parent&&!v.onlySelf&&this._parent.markAsDirty(v)}markAsPristine(v={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(A=>{A.markAsPristine({onlySelf:!0})}),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}markAsPending(v={}){this.status=Yt,!1!==v.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!v.onlySelf&&this._parent.markAsPending(v)}disable(v={}){const A=this._parentMarkedDirty(v.onlySelf);this.status=Sn,this.errors=null,this._forEachChild(C=>{C.disable({...v,onlySelf:!0})}),this._updateValue(),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...v,skipPristineCheck:A}),this._onDisabledChange.forEach(C=>C(!0))}enable(v={}){const A=this._parentMarkedDirty(v.onlySelf);this.status=Et,this._forEachChild(C=>{C.enable({...v,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent}),this._updateAncestors({...v,skipPristineCheck:A}),this._onDisabledChange.forEach(C=>C(!1))}_updateAncestors(v){this._parent&&!v.onlySelf&&(this._parent.updateValueAndValidity(v),v.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(v){this._parent=v}getRawValue(){return this.value}updateValueAndValidity(v={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Et||this.status===Yt)&&this._runAsyncValidator(v.emitEvent)),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!v.onlySelf&&this._parent.updateValueAndValidity(v)}_updateTreeValidity(v={emitEvent:!0}){this._forEachChild(A=>A._updateTreeValidity(v)),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Sn:Et}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(v){if(this.asyncValidator){this.status=Yt,this._hasOwnPendingAsyncValidator=!0;const A=Te(this.asyncValidator(this));this._asyncValidationSubscription=A.subscribe(C=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(C,{emitEvent:v})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(v,A={}){this.errors=v,this._updateControlsErrors(!1!==A.emitEvent)}get(v){let A=v;return null==A||(Array.isArray(A)||(A=A.split(".")),0===A.length)?null:A.reduce((C,R)=>C&&C._find(R),this)}getError(v,A){const C=A?this.get(A):this;return C&&C.errors?C.errors[v]:null}hasError(v,A){return!!this.getError(v,A)}get root(){let v=this;for(;v._parent;)v=v._parent;return v}_updateControlsErrors(v){this.status=this._calculateStatus(),v&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(v)}_initObservables(){this.valueChanges=new u.vpe,this.statusChanges=new u.vpe}_calculateStatus(){return this._allControlsDisabled()?Sn:this.errors?rn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Yt)?Yt:this._anyControlsHaveStatus(rn)?rn:Et}_anyControlsHaveStatus(v){return this._anyControls(A=>A.status===v)}_anyControlsDirty(){return this._anyControls(v=>v.dirty)}_anyControlsTouched(){return this._anyControls(v=>v.touched)}_updatePristine(v={}){this.pristine=!this._anyControlsDirty(),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}_updateTouched(v={}){this.touched=this._anyControlsTouched(),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}_registerOnCollectionChange(v){this._onCollectionChange=v}_setUpdateStrategy(v){J(v)&&null!=v.updateOn&&(this._updateOn=v.updateOn)}_parentMarkedDirty(v){return!v&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(v){return null}_assignValidators(v){this._rawValidators=Array.isArray(v)?v.slice():v,this._composedValidatorFn=function Ae(y){return Array.isArray(y)?dn(y):y||null}(this._rawValidators)}_assignAsyncValidators(v){this._rawAsyncValidators=Array.isArray(v)?v.slice():v,this._composedAsyncValidatorFn=function Ce(y){return Array.isArray(y)?Ie(y):y||null}(this._rawAsyncValidators)}}const Nr=new u.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ir}),Ir="always";function ht(y,v,A=Ir){var C,R;(function gr(y,v){const A=function lt(y){return y._rawValidators}(y);null!==v.validator?y.setValidators(pt(A,v.validator)):"function"==typeof A&&y.setValidators([A]);const C=function Ht(y){return y._rawAsyncValidators}(y);null!==v.asyncValidator?y.setAsyncValidators(pt(C,v.asyncValidator)):"function"==typeof C&&y.setAsyncValidators([C]);const R=()=>y.updateValueAndValidity();ao(v._rawValidators,R),ao(v._rawAsyncValidators,R)})(y,v),v.valueAccessor.writeValue(y.value),(y.disabled||"always"===A)&&(null===(C=(R=v.valueAccessor).setDisabledState)||void 0===C||C.call(R,y.disabled)),function ni(y,v){v.valueAccessor.registerOnChange(A=>{y._pendingValue=A,y._pendingChange=!0,y._pendingDirty=!0,"change"===y.updateOn&&dr(y,v)})}(y,v),function Co(y,v){const A=(C,R)=>{v.valueAccessor.writeValue(C),R&&v.viewToModelUpdate(C)};y.registerOnChange(A),v._registerOnDestroy(()=>{y._unregisterOnChange(A)})}(y,v),function Eo(y,v){v.valueAccessor.registerOnTouched(()=>{y._pendingTouched=!0,"blur"===y.updateOn&&y._pendingChange&&dr(y,v),"submit"!==y.updateOn&&y.markAsTouched()})}(y,v),function Uo(y,v){if(v.valueAccessor.setDisabledState){const A=C=>{v.valueAccessor.setDisabledState(C)};y.registerOnDisabledChange(A),v._registerOnDestroy(()=>{y._unregisterOnDisabledChange(A)})}}(y,v)}function ao(y,v){y.forEach(A=>{A.registerOnValidatorChange&&A.registerOnValidatorChange(v)})}function dr(y,v){y._pendingDirty&&y.markAsDirty(),y.setValue(y._pendingValue,{emitModelToViewChange:!1}),v.viewToModelUpdate(y._pendingValue),y._pendingChange=!1}function Vt(y,v){const A=y.indexOf(v);A>-1&&y.splice(A,1)}function Go(y){return"object"==typeof y&&null!==y&&2===Object.keys(y).length&&"value"in y&&"disabled"in y}const Wo=class extends Qe{constructor(v=null,A,C){super(function wr(y){return(J(y)?y.validators:y)||null}(A),function ie(y,v){return(J(v)?v.asyncValidators:y)||null}(C,A)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(v),this._setUpdateStrategy(A),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),J(A)&&(A.nonNullable||A.initialValueIsDefault)&&(this.defaultValue=Go(v)?v.value:v)}setValue(v,A={}){this.value=this._pendingValue=v,this._onChange.length&&!1!==A.emitModelToViewChange&&this._onChange.forEach(C=>C(this.value,!1!==A.emitViewToModelChange)),this.updateValueAndValidity(A)}patchValue(v,A={}){this.setValue(v,A)}reset(v=this.defaultValue,A={}){this._applyFormState(v),this.markAsPristine(A),this.markAsUntouched(A),this.setValue(this.value,A),this._pendingChange=!1}_updateValue(){}_anyControls(v){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(v){this._onChange.push(v)}_unregisterOnChange(v){Vt(this._onChange,v)}registerOnDisabledChange(v){this._onDisabledChange.push(v)}_unregisterOnDisabledChange(v){Vt(this._onDisabledChange,v)}_forEachChild(v){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(v){Go(v)?(this.value=this._pendingValue=v.value,v.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=v}},br={provide:bt,useExisting:(0,u.Gpc)(()=>Kr)},mr=(()=>Promise.resolve())();let Kr=(()=>{var y;class v extends bt{constructor(C,R,we,Ne,Ct,on){super(),this._changeDetectorRef=Ct,this.callSetDisabledState=on,this.control=new Wo,this._registered=!1,this.name="",this.update=new u.vpe,this._parent=C,this._setValidators(R),this._setAsyncValidators(we),this.valueAccessor=function fn(y,v){if(!v)return null;let A,C,R;return Array.isArray(v),v.forEach(we=>{we.constructor===Re?A=we:function zo(y){return Object.getPrototypeOf(y.constructor)===W}(we)?C=we:R=we}),R||C||A||null}(0,Ne)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const R=C.name.previousValue;this.formDirective.removeControl({name:R,path:this._getPath(R)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),function xt(y,v){if(!y.hasOwnProperty("model"))return!1;const A=y.model;return!!A.isFirstChange()||!Object.is(v,A.currentValue)}(C,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ht(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(C){mr.then(()=>{var R;this.control.setValue(C,{emitViewToModelChange:!1}),null===(R=this._changeDetectorRef)||void 0===R||R.markForCheck()})}_updateDisabled(C){const R=C.isDisabled.currentValue,we=0!==R&&(0,u.VuI)(R);mr.then(()=>{var Ne;we&&!this.control.disabled?this.control.disable():!we&&this.control.disabled&&this.control.enable(),null===(Ne=this._changeDetectorRef)||void 0===Ne||Ne.markForCheck()})}_getPath(C){return this._parent?function jn(y,v){return[...v.path,y]}(C,this._parent):[C]}}return(y=v).\u0275fac=function(C){return new(C||y)(u.Y36(Dt,9),u.Y36(me,10),u.Y36(_e,10),u.Y36(ne,10),u.Y36(u.sBO,8),u.Y36(Nr,8))},y.\u0275dir=u.lG2({type:y,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u._Bn([br]),u.qOj,u.TTD]}),v})(),tr=(()=>{var y;class v{}return(y=v).\u0275fac=function(C){return new(C||y)},y.\u0275mod=u.oAB({type:y}),y.\u0275inj=u.cJS({}),v})();const Fn={provide:ne,useExisting:(0,u.Gpc)(()=>To),multi:!0};let To=(()=>{var y;class v extends W{writeValue(C){this.setProperty("value",parseFloat(C))}registerOnChange(C){this.onChange=R=>{C(""==R?null:parseFloat(R))}}}return(y=v).\u0275fac=(()=>{let A;return function(R){return(A||(A=u.n5z(y)))(R||y)}})(),y.\u0275dir=u.lG2({type:y,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(C,R){1&C&&u.NdJ("change",function(Ne){return R.onChange(Ne.target.value)})("input",function(Ne){return R.onChange(Ne.target.value)})("blur",function(){return R.onTouched()})},features:[u._Bn([Fn]),u.qOj]}),v})(),Vr=(()=>{var y;class v{constructor(){this._validator=ee}ngOnChanges(C){if(this.inputName in C){const R=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(R),this._validator=this._enabled?this.createValidator(R):ee,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}}return(y=v).\u0275fac=function(C){return new(C||y)},y.\u0275dir=u.lG2({type:y,features:[u.TTD]}),v})();const No={provide:me,useExisting:(0,u.Gpc)(()=>yr),multi:!0};let yr=(()=>{var y;class v extends Vr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=u.VuI,this.createValidator=C=>Ve}enabled(C){return C}}return(y=v).\u0275fac=(()=>{let A;return function(R){return(A||(A=u.n5z(y)))(R||y)}})(),y.\u0275dir=u.lG2({type:y,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(C,R){2&C&&u.uIk("required",R._enabled?"":null)},inputs:{required:"required"},features:[u._Bn([No]),u.qOj]}),v})(),Un=(()=>{var y;class v{}return(y=v).\u0275fac=function(C){return new(C||y)},y.\u0275mod=u.oAB({type:y}),y.\u0275inj=u.cJS({imports:[tr]}),v})(),oe=(()=>{var y;class v{static withConfig(C){var R;return{ngModule:v,providers:[{provide:Nr,useValue:null!==(R=C.callSetDisabledState)&&void 0!==R?R:Ir}]}}}return(y=v).\u0275fac=function(C){return new(C||y)},y.\u0275mod=u.oAB({type:y}),y.\u0275inj=u.cJS({imports:[Un]}),v})()},5813:(Ge,le,_)=>{_.d(le,{Cg:()=>Se,Dx:()=>bt,H7:()=>Tt,b2:()=>rt,s3:()=>Q,se:()=>q});var u=_(1582),N=_(3223);class b extends N.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Z extends b{static makeCurrent(){(0,N.HT)(new Z)}onAndCancel(ie,Ce,J){return ie.addEventListener(Ce,J),()=>{ie.removeEventListener(Ce,J)}}dispatchEvent(ie,Ce){ie.dispatchEvent(Ce)}remove(ie){ie.parentNode&&ie.parentNode.removeChild(ie)}createElement(ie,Ce){return(Ce=Ce||this.getDefaultDocument()).createElement(ie)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ie){return ie.nodeType===Node.ELEMENT_NODE}isShadowRoot(ie){return ie instanceof DocumentFragment}getGlobalEventTarget(ie,Ce){return"window"===Ce?window:"document"===Ce?ie:"body"===Ce?ie.body:null}getBaseHref(ie){const Ce=function z(){return H=H||document.querySelector("base"),H?H.getAttribute("href"):null}();return null==Ce?null:function he(Ae){te=te||document.createElement("a"),te.setAttribute("href",Ae);const ie=te.pathname;return"/"===ie.charAt(0)?ie:"/".concat(ie)}(Ce)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie(ie){return(0,N.Mx)(document.cookie,ie)}}let te,H=null,se=(()=>{var Ae;class ie{build(){return new XMLHttpRequest}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)},Ae.\u0275prov=u.Yz7({token:Ae,factory:Ae.\u0275fac}),ie})();const Q=new u.OlP("EventManagerPlugins");let j=(()=>{var Ae;class ie{constructor(J,ge){this._zone=ge,this._eventNameToPlugin=new Map,J.forEach(He=>{He.manager=this}),this._plugins=J.slice().reverse()}addEventListener(J,ge,He){return this._findPluginFor(ge).addEventListener(J,ge,He)}getZone(){return this._zone}_findPluginFor(J){let ge=this._eventNameToPlugin.get(J);if(ge)return ge;if(ge=this._plugins.find(Qe=>Qe.supports(J)),!ge)throw new u.vHH(5101,!1);return this._eventNameToPlugin.set(J,ge),ge}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)(u.LFG(Q),u.LFG(u.R0b))},Ae.\u0275prov=u.Yz7({token:Ae,factory:Ae.\u0275fac}),ie})();class Y{constructor(ie){this._doc=ie}}const W="ng-app-id";let ne=(()=>{var Ae;class ie{constructor(J,ge,He,Qe={}){this.doc=J,this.appId=ge,this.nonce=He,this.platformId=Qe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,N.PM)(Qe),this.resetHostNodes()}addStyles(J){for(const ge of J)1===this.changeUsageCount(ge,1)&&this.onStyleAdded(ge)}removeStyles(J){for(const ge of J)this.changeUsageCount(ge,-1)<=0&&this.onStyleRemoved(ge)}ngOnDestroy(){const J=this.styleNodesInDOM;J&&(J.forEach(ge=>ge.remove()),J.clear());for(const ge of this.getAllStyles())this.onStyleRemoved(ge);this.resetHostNodes()}addHost(J){this.hostNodes.add(J);for(const ge of this.getAllStyles())this.addStyleToHost(J,ge)}removeHost(J){this.hostNodes.delete(J)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(J){for(const ge of this.hostNodes)this.addStyleToHost(ge,J)}onStyleRemoved(J){var ge;const He=this.styleRef;null===(ge=He.get(J))||void 0===ge||null===(ge=ge.elements)||void 0===ge||ge.forEach(Qe=>Qe.remove()),He.delete(J)}collectServerRenderedStyles(){var J;const ge=null===(J=this.doc.head)||void 0===J?void 0:J.querySelectorAll("style[".concat(W,'="').concat(this.appId,'"]'));if(null!=ge&&ge.length){const He=new Map;return ge.forEach(Qe=>{null!=Qe.textContent&&He.set(Qe.textContent,Qe)}),He}return null}changeUsageCount(J,ge){const He=this.styleRef;if(He.has(J)){const Qe=He.get(J);return Qe.usage+=ge,Qe.usage}return He.set(J,{usage:ge,elements:[]}),ge}getStyleElement(J,ge){const He=this.styleNodesInDOM,Qe=null==He?void 0:He.get(ge);if((null==Qe?void 0:Qe.parentNode)===J)return He.delete(ge),Qe.removeAttribute(W),Qe;{const It=this.doc.createElement("style");return this.nonce&&It.setAttribute("nonce",this.nonce),It.textContent=ge,this.platformIsServer&&It.setAttribute(W,this.appId),J.appendChild(It),It}}addStyleToHost(J,ge){var He;const Qe=this.getStyleElement(J,ge),It=this.styleRef,Zt=null===(He=It.get(ge))||void 0===He?void 0:He.elements;Zt?Zt.push(Qe):It.set(ge,{elements:[Qe],usage:1})}resetHostNodes(){const J=this.hostNodes;J.clear(),J.add(this.doc.head)}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)(u.LFG(N.K0),u.LFG(u.AFp),u.LFG(u.Ojb,8),u.LFG(u.Lbi))},Ae.\u0275prov=u.Yz7({token:Ae,factory:Ae.\u0275fac}),ie})();const ye={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/MathML/"},de=/%COMP%/g,je="_nghost-".concat("%COMP%"),Ke="_ngcontent-".concat("%COMP%"),Ee=new u.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function _e(Ae,ie){return ie.map(Ce=>Ce.replace(de,Ae))}let q=(()=>{var Ae;class ie{constructor(J,ge,He,Qe,It,Zt,bn,yn=null){this.eventManager=J,this.sharedStylesHost=ge,this.appId=He,this.removeStylesOnCompDestroy=Qe,this.doc=It,this.platformId=Zt,this.ngZone=bn,this.nonce=yn,this.rendererByCompId=new Map,this.platformIsServer=(0,N.PM)(Zt),this.defaultRenderer=new re(J,It,bn,this.platformIsServer)}createRenderer(J,ge){if(!J||!ge)return this.defaultRenderer;this.platformIsServer&&ge.encapsulation===u.ifc.ShadowDom&&(ge={...ge,encapsulation:u.ifc.Emulated});const He=this.getOrCreateRenderer(J,ge);return He instanceof $e?He.applyToHost(J):He instanceof mt&&He.applyStyles(),He}getOrCreateRenderer(J,ge){const He=this.rendererByCompId;let Qe=He.get(ge.id);if(!Qe){const It=this.doc,Zt=this.ngZone,bn=this.eventManager,yn=this.sharedStylesHost,Gn=this.removeStylesOnCompDestroy,Gr=this.platformIsServer;switch(ge.encapsulation){case u.ifc.Emulated:Qe=new $e(bn,yn,ge,this.appId,Gn,It,Zt,Gr);break;case u.ifc.ShadowDom:return new Ye(bn,yn,J,ge,It,Zt,this.nonce,Gr);default:Qe=new mt(bn,yn,ge,Gn,It,Zt,Gr)}He.set(ge.id,Qe)}return Qe}ngOnDestroy(){this.rendererByCompId.clear()}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)(u.LFG(j),u.LFG(ne),u.LFG(u.AFp),u.LFG(Ee),u.LFG(N.K0),u.LFG(u.Lbi),u.LFG(u.R0b),u.LFG(u.Ojb))},Ae.\u0275prov=u.Yz7({token:Ae,factory:Ae.\u0275fac}),ie})();class re{constructor(ie,Ce,J,ge){this.eventManager=ie,this.doc=Ce,this.ngZone=J,this.platformIsServer=ge,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ie,Ce){return Ce?this.doc.createElementNS(ye[Ce]||Ce,ie):this.doc.createElement(ie)}createComment(ie){return this.doc.createComment(ie)}createText(ie){return this.doc.createTextNode(ie)}appendChild(ie,Ce){(Ve(ie)?ie.content:ie).appendChild(Ce)}insertBefore(ie,Ce,J){ie&&(Ve(ie)?ie.content:ie).insertBefore(Ce,J)}removeChild(ie,Ce){ie&&ie.removeChild(Ce)}selectRootElement(ie,Ce){let J="string"==typeof ie?this.doc.querySelector(ie):ie;if(!J)throw new u.vHH(-5104,!1);return Ce||(J.textContent=""),J}parentNode(ie){return ie.parentNode}nextSibling(ie){return ie.nextSibling}setAttribute(ie,Ce,J,ge){if(ge){Ce=ge+":"+Ce;const He=ye[ge];He?ie.setAttributeNS(He,Ce,J):ie.setAttribute(Ce,J)}else ie.setAttribute(Ce,J)}removeAttribute(ie,Ce,J){if(J){const ge=ye[J];ge?ie.removeAttributeNS(ge,Ce):ie.removeAttribute("".concat(J,":").concat(Ce))}else ie.removeAttribute(Ce)}addClass(ie,Ce){ie.classList.add(Ce)}removeClass(ie,Ce){ie.classList.remove(Ce)}setStyle(ie,Ce,J,ge){ge&(u.JOm.DashCase|u.JOm.Important)?ie.style.setProperty(Ce,J,ge&u.JOm.Important?"important":""):ie.style[Ce]=J}removeStyle(ie,Ce,J){J&u.JOm.DashCase?ie.style.removeProperty(Ce):ie.style[Ce]=""}setProperty(ie,Ce,J){ie[Ce]=J}setValue(ie,Ce){ie.nodeValue=Ce}listen(ie,Ce,J){if("string"==typeof ie&&!(ie=(0,N.q)().getGlobalEventTarget(this.doc,ie)))throw new Error("Unsupported event target ".concat(ie," for event ").concat(Ce));return this.eventManager.addEventListener(ie,Ce,this.decoratePreventDefault(J))}decoratePreventDefault(ie){return Ce=>{if("__ngUnwrap__"===Ce)return ie;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ie(Ce)):ie(Ce))&&Ce.preventDefault()}}}function Ve(Ae){return"TEMPLATE"===Ae.tagName&&void 0!==Ae.content}class Ye extends re{constructor(ie,Ce,J,ge,He,Qe,It,Zt){super(ie,He,Qe,Zt),this.sharedStylesHost=Ce,this.hostEl=J,this.shadowRoot=J.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const bn=_e(ge.id,ge.styles);for(const yn of bn){const Gn=document.createElement("style");It&&Gn.setAttribute("nonce",It),Gn.textContent=yn,this.shadowRoot.appendChild(Gn)}}nodeOrShadowRoot(ie){return ie===this.hostEl?this.shadowRoot:ie}appendChild(ie,Ce){return super.appendChild(this.nodeOrShadowRoot(ie),Ce)}insertBefore(ie,Ce,J){return super.insertBefore(this.nodeOrShadowRoot(ie),Ce,J)}removeChild(ie,Ce){return super.removeChild(this.nodeOrShadowRoot(ie),Ce)}parentNode(ie){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ie)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class mt extends re{constructor(ie,Ce,J,ge,He,Qe,It,Zt){super(ie,He,Qe,It),this.sharedStylesHost=Ce,this.removeStylesOnCompDestroy=ge,this.styles=Zt?_e(Zt,J.styles):J.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $e extends mt{constructor(ie,Ce,J,ge,He,Qe,It,Zt){const bn=ge+"-"+J.id;super(ie,Ce,J,He,Qe,It,Zt,bn),this.contentAttr=function ae(Ae){return Ke.replace(de,Ae)}(bn),this.hostAttr=function me(Ae){return je.replace(de,Ae)}(bn)}applyToHost(ie){this.applyStyles(),this.setAttribute(ie,this.hostAttr,"")}createElement(ie,Ce){const J=super.createElement(ie,Ce);return super.setAttribute(J,this.contentAttr,""),J}}let nt=(()=>{var Ae;class ie extends Y{constructor(J){super(J)}supports(J){return!0}addEventListener(J,ge,He){return J.addEventListener(ge,He,!1),()=>this.removeEventListener(J,ge,He)}removeEventListener(J,ge,He){return J.removeEventListener(ge,He)}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)(u.LFG(N.K0))},Ae.\u0275prov=u.Yz7({token:Ae,factory:Ae.\u0275fac}),ie})();const ve=["alt","control","meta","shift"],ee={"\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"},fe={alt:Ae=>Ae.altKey,control:Ae=>Ae.ctrlKey,meta:Ae=>Ae.metaKey,shift:Ae=>Ae.shiftKey};let Te=(()=>{var Ae;class ie extends Y{constructor(J){super(J)}supports(J){return null!=ie.parseEventName(J)}addEventListener(J,ge,He){const Qe=ie.parseEventName(ge),It=ie.eventCallback(Qe.fullKey,He,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,N.q)().onAndCancel(J,Qe.domEventName,It))}static parseEventName(J){const ge=J.toLowerCase().split("."),He=ge.shift();if(0===ge.length||"keydown"!==He&&"keyup"!==He)return null;const Qe=ie._normalizeKey(ge.pop());let It="",Zt=ge.indexOf("code");if(Zt>-1&&(ge.splice(Zt,1),It="code."),ve.forEach(yn=>{const Gn=ge.indexOf(yn);Gn>-1&&(ge.splice(Gn,1),It+=yn+".")}),It+=Qe,0!=ge.length||0===Qe.length)return null;const bn={};return bn.domEventName=He,bn.fullKey=It,bn}static matchEventFullKeyCode(J,ge){let He=ee[J.key]||J.key,Qe="";return ge.indexOf("code.")>-1&&(He=J.code,Qe="code."),!(null==He||!He)&&(He=He.toLowerCase()," "===He?He="space":"."===He&&(He="dot"),ve.forEach(It=>{It!==He&&(0,fe[It])(J)&&(Qe+=It+".")}),Qe+=He,Qe===ge)}static eventCallback(J,ge,He){return Qe=>{ie.matchEventFullKeyCode(Qe,J)&&He.runGuarded(()=>ge(Qe))}}static _normalizeKey(J){return"esc"===J?"escape":J}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)(u.LFG(N.K0))},Ae.\u0275prov=u.Yz7({token:Ae,factory:Ae.\u0275fac}),ie})();function Se(Ae,ie){return(0,u.iPO)({rootComponent:Ae,...ke(ie)})}function ke(Ae){var ie;return{appProviders:[...ze,...null!==(ie=null==Ae?void 0:Ae.providers)&&void 0!==ie?ie:[]],platformProviders:Ie}}const Ie=[{provide:u.Lbi,useValue:N.bD},{provide:u.g9A,useValue:function _t(){Z.makeCurrent()},multi:!0},{provide:N.K0,useFactory:function ct(){return(0,u.RDi)(document),document},deps:[]}],lt=new u.OlP(""),Ht=[{provide:u.rWj,useClass:class ue{addToWindow(ie){u.dqk.getAngularTestability=(J,ge=!0)=>{const He=ie.findTestabilityInTree(J,ge);if(null==He)throw new u.vHH(5103,!1);return He},u.dqk.getAllAngularTestabilities=()=>ie.getAllTestabilities(),u.dqk.getAllAngularRootElements=()=>ie.getAllRootElements(),u.dqk.frameworkStabilizers||(u.dqk.frameworkStabilizers=[]),u.dqk.frameworkStabilizers.push(J=>{const ge=u.dqk.getAllAngularTestabilities();let He=ge.length,Qe=!1;const It=function(Zt){Qe=Qe||Zt,He--,0==He&&J(Qe)};ge.forEach(Zt=>{Zt.whenStable(It)})})}findTestabilityInTree(ie,Ce,J){if(null==Ce)return null;const ge=ie.getTestability(Ce);return null!=ge?ge:J?(0,N.q)().isShadowRoot(Ce)?this.findTestabilityInTree(ie,Ce.host,!0):this.findTestabilityInTree(ie,Ce.parentElement,!0):null}},deps:[]},{provide:u.lri,useClass:u.dDg,deps:[u.R0b,u.eoX,u.rWj]},{provide:u.dDg,useClass:u.dDg,deps:[u.R0b,u.eoX,u.rWj]}],ze=[{provide:u.zSh,useValue:"root"},{provide:u.qLn,useFactory:function dn(){return new u.qLn},deps:[]},{provide:Q,useClass:nt,multi:!0,deps:[N.K0,u.R0b,u.Lbi]},{provide:Q,useClass:Te,multi:!0,deps:[N.K0]},q,ne,j,{provide:u.FYo,useExisting:q},{provide:N.JF,useClass:se,deps:[]},[]];let rt=(()=>{var Ae;class ie{constructor(J){}static withServerTransition(J){return{ngModule:ie,providers:[{provide:u.AFp,useValue:J.appId}]}}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)(u.LFG(lt,12))},Ae.\u0275mod=u.oAB({type:Ae}),Ae.\u0275inj=u.cJS({providers:[...ze,...Ht],imports:[N.ez,u.hGG]}),ie})(),bt=(()=>{var Ae;class ie{constructor(J){this._doc=J}getTitle(){return this._doc.title}setTitle(J){this._doc.title=J||""}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)(u.LFG(N.K0))},Ae.\u0275prov=u.Yz7({token:Ae,factory:function(J){let ge=null;return ge=J?new J:function Dt(){return new bt((0,u.LFG)(N.K0))}(),ge},providedIn:"root"}),ie})();typeof window<"u"&&window;let Tt=(()=>{var Ae;class ie{}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)},Ae.\u0275prov=u.Yz7({token:Ae,factory:function(J){let ge=null;return ge=J?new(J||Ae):u.LFG(tn),ge},providedIn:"root"}),ie})(),tn=(()=>{var Ae;class ie extends Tt{constructor(J){super(),this._doc=J}sanitize(J,ge){if(null==ge)return null;switch(J){case u.q3G.NONE:return ge;case u.q3G.HTML:return(0,u.qzn)(ge,"HTML")?(0,u.z3N)(ge):(0,u.EiD)(this._doc,String(ge)).toString();case u.q3G.STYLE:return(0,u.qzn)(ge,"Style")?(0,u.z3N)(ge):ge;case u.q3G.SCRIPT:if((0,u.qzn)(ge,"Script"))return(0,u.z3N)(ge);throw new u.vHH(5200,!1);case u.q3G.URL:return(0,u.qzn)(ge,"URL")?(0,u.z3N)(ge):(0,u.mCW)(String(ge));case u.q3G.RESOURCE_URL:if((0,u.qzn)(ge,"ResourceURL"))return(0,u.z3N)(ge);throw new u.vHH(5201,!1);default:throw new u.vHH(5202,!1)}}bypassSecurityTrustHtml(J){return(0,u.JVY)(J)}bypassSecurityTrustStyle(J){return(0,u.L6k)(J)}bypassSecurityTrustScript(J){return(0,u.eBb)(J)}bypassSecurityTrustUrl(J){return(0,u.LAX)(J)}bypassSecurityTrustResourceUrl(J){return(0,u.pB0)(J)}}return(Ae=ie).\u0275fac=function(J){return new(J||Ae)(u.LFG(N.K0))},Ae.\u0275prov=u.Yz7({token:Ae,factory:function(J){let ge=null;return ge=J?new J:function Gt(Ae){return new tn(Ae.get(N.K0))}(u.LFG(u.zs3)),ge},providedIn:"root"}),ie})()}},Ge=>{Ge(Ge.s=5156)}]); \ No newline at end of file diff --git a/polyfills.js b/polyfills.js index c630606a..b7f0f8cf 100644 --- a/polyfills.js +++ b/polyfills.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[429],{765:(ie,Ee,de)=>{de(4730)},4730:()=>{!function(e){const n=e.performance;function s(j){n&&n.mark&&n.mark(j)}function r(j,h){n&&n.measure&&n.measure(j,h)}s("Zone");const i=e.__Zone_symbol_prefix||"__zone_symbol__";function l(j){return i+j}const p=!0===e[l("forceDuplicateZoneCheck")];if(e.Zone){if(p||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let E=(()=>{class h{static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return re}static __load_patch(t,_,R=!1){if(oe.hasOwnProperty(t)){if(!R&&p)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const L="Zone:"+t;s(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){const _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const R=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(R,this,arguments,_)}}run(t,_,R,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,R,L)}finally{W=W.parent}}runGuarded(t,_=null,R,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,R,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,R){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===G&&(t.type===Q||t.type===w))return;const L=t.state!=y;L&&t._transitionTo(y,A),t.runCount++;const a=re;re=t,W={parent:W,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,R)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(A,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,re=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let R=this;for(;R;){if(R===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));R=R.parent}}t._transitionTo(z,G);const _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(R){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,R),R}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(A,z),t}scheduleMicroTask(t,_,R,L){return this.scheduleTask(new g(I,t,_,R,L,void 0))}scheduleMacroTask(t,_,R,L,a){return this.scheduleTask(new g(w,t,_,R,L,a))}scheduleEventTask(t,_,R,L,a){return this.scheduleTask(new g(Q,t,_,R,L,a))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===y){t._transitionTo(V,A,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){const R=t._zoneDelegates;-1==_&&(t._zoneDelegates=null);for(let L=0;Lj.hasTask(c,t),onScheduleTask:(j,h,c,t)=>j.scheduleTask(c,t),onInvokeTask:(j,h,c,t,_,R)=>j.invokeTask(c,t,_,R),onCancelTask:(j,h,c,t)=>j.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const _=t&&t.onHasTask;(_||c&&c._hasTaskZS)&&(this._hasTaskZS=_?t:P,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,R){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,R):c.apply(t,_)}handleError(h,c){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c)}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else{if(c.type!=I)throw new Error("Task is missing scheduleFn.");C(c)}return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){const t=this._taskCounts,_=t[h],R=t[h]=_+c;if(R<0)throw new Error("More tasks executed then were scheduled.");0!=_&&0!=R||this.hasTask(this.zone,{microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h})}}class g{constructor(h,c,t,_,R,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=R,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;const a=this;this.invoke=h===Q&&_&&_.useG?g.invokeTask:function(){return g.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{1==ee&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state!==c&&this._state!==t)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(h,"', expecting state '").concat(c,"'").concat(t?" or '"+t+"'":"",", was '").concat(this._state,"'."));this._state=h,h==G&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=l("setTimeout"),Z=l("Promise"),N=l("then");let J,U=[],x=!1;function X(j){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let h=J[N];h||(h=J.then),h.call(J,j)}else e[M](j,0)}function C(j){0===ee&&0===U.length&&X(T),j&&U.push(j)}function T(){if(!x){for(x=!0;U.length;){const j=U;U=[];for(let h=0;hW,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X};let W={parent:null,zone:new E(null,null)},re=null,ee=0;function q(){}r("Zone","Zone"),e.Zone=E}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,s,r,i){return Zone.current.scheduleMacroTask(e,n,s,r,i)}const H=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,$=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let s=e.length-1;s>=0;s--)"function"==typeof e[s]&&(e[s]=Ie(e[s],n+"_"+s));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||$.event))return;let n=Re[e.type];n||(n=Re[e.type]=H("ON_PROPERTY"+e.type));const s=this||e.target||$,r=s[n];let i;return Ae&&s===Te&&"error"===e.type?(i=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=r&&r.apply(this,arguments),null!=i&&!i&&e.preventDefault()),i};function qe(e,n,s){let r=ie(e,n);if(!r&&s&&ie(s,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const i=H("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;const l=r.get,p=r.set,E=n.slice(2);let P=Re[E];P||(P=Re[E]=H("ON_PROPERTY"+E)),r.set=function(v){let g=this;!g&&e===$&&(g=$),g&&("function"==typeof g[P]&&g.removeEventListener(E,We),p&&p.call(g,null),g[P]=v,"function"==typeof v&&g.addEventListener(E,We,!1))},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;const g=v[P];if(g)return g;if(l){let M=l.call(this);if(M)return r.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,r),e[i]=!0}function Xe(e,n,s){if(n)for(let r=0;rfunction(p,E){const P=s(p,E);return P.cbIdx>=0&&"function"==typeof E[P.cbIdx]?Me(P.name,E[P.cbIdx],P,i):l.apply(p,E)})}function ue(e,n){e[H("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,s)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,p=s.symbol,E=[],P=!1!==e[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=p("Promise"),g=p("then"),M="__creationTrace__";s.onUnhandledError=a=>{if(s.showUncaughtError()){const u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},s.microtaskDrainDone=()=>{for(;E.length;){const a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};const Z=p("unhandledPromiseRejectionHandler");function N(a){s.onUnhandledError(a);try{const u=n[Z];"function"==typeof u&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function x(a){return a}function J(a){return c.reject(a)}const X=p("state"),C=p("value"),T=p("finally"),K=p("parentPromiseValue"),G=p("parentPromiseState"),z="Promise.then",A=null,y=!0,V=!1,d=0;function I(a,u){return o=>{try{Y(a,u,o)}catch(f){Y(a,!1,f)}}}const w=function(){let a=!1;return function(o){return function(){a||(a=!0,o.apply(null,arguments))}}},Q="Promise resolved with itself",oe=p("currentTaskTrace");function Y(a,u,o){const f=w();if(a===o)throw new TypeError(Q);if(a[X]===A){let k=null;try{("object"==typeof o||"function"==typeof o)&&(k=o&&o.then)}catch(b){return f(()=>{Y(a,!1,b)})(),a}if(u!==V&&o instanceof c&&o.hasOwnProperty(X)&&o.hasOwnProperty(C)&&o[X]!==A)re(o),Y(a,o[X],o[C]);else if(u!==V&&"function"==typeof k)try{k.call(o,f(I(a,u)),f(I(a,!1)))}catch(b){f(()=>{Y(a,!1,b)})()}else{a[X]=u;const b=a[C];if(a[C]=o,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[K]),u===V&&o instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&i(o,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=a[C],S=!!o&&T===o[T];S&&(o[K]=D,o[G]=b);const O=u.run(m,void 0,S&&m!==J&&m!==x?[]:[D]);Y(o,!0,O)}catch(D){Y(o,!1,D)}},o)}const j=function(){},h=e.AggregateError;class c{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return Y(new this(null),y,u)}static reject(u){return Y(new this(null),V,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new h([],"All promises were rejected"));const o=[];let f=0;try{for(let m of u)f++,o.push(c.resolve(m))}catch{return Promise.reject(new h([],"All promises were rejected"))}if(0===f)return Promise.reject(new h([],"All promises were rejected"));let k=!1;const b=[];return new c((m,D)=>{for(let S=0;S{k||(k=!0,m(O))},O=>{b.push(O),f--,0===f&&(k=!0,D(new h(b,"All promises were rejected")))})})}static race(u){let o,f,k=new this((D,S)=>{o=D,f=S});function b(D){o(D)}function m(D){f(D)}for(let D of u)U(D)||(D=this.resolve(D)),D.then(b,m);return k}static all(u){return c.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof c?this:c).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,o){let f,k,b=new this((O,F)=>{f=O,k=F}),m=2,D=0;const S=[];for(let O of u){U(O)||(O=this.resolve(O));const F=D;try{O.then(B=>{S[F]=o?o.thenCallback(B):B,m--,0===m&&f(S)},B=>{o?(S[F]=o.errorCallback(B),m--,0===m&&f(S)):k(B)})}catch(B){k(B)}m++,D++}return m-=2,0===m&&f(S),b}constructor(u){const o=this;if(!(o instanceof c))throw new Error("Must be an instanceof Promise.");o[X]=A,o[C]=[];try{const f=w();u&&u(f(I(o,y)),f(I(o,V)))}catch(f){Y(o,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return c}then(u,o){var f;let k=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!k||"function"!=typeof k)&&(k=this.constructor||c);const b=new k(j),m=n.current;return this[X]==A?this[C].push(m,b,u,o):ee(this,m,b,u,o),b}catch(u){return this.then(null,u)}finally(u){var o;let f=null===(o=this.constructor)||void 0===o?void 0:o[Symbol.species];(!f||"function"!=typeof f)&&(f=c);const k=new f(j);k[T]=T;const b=n.current;return this[X]==A?this[C].push(b,k,u,u):ee(this,b,k,u,u),k}}c.resolve=c.resolve,c.reject=c.reject,c.race=c.race,c.all=c.all;const t=e[v]=e.Promise;e.Promise=c;const _=p("thenPatched");function R(a){const u=a.prototype,o=r(u,"then");if(o&&(!1===o.writable||!o.configurable))return;const f=u.then;u[g]=f,a.prototype.then=function(k,b){return new c((D,S)=>{f.call(this,D,S)}).then(k,b)},a[_]=!0}return s.patchThen=R,t&&(R(t),le(e,"fetch",a=>function L(a){return function(u,o){let f=a.apply(u,o);if(f instanceof c)return f;let k=f.constructor;return k[_]||R(k),f}}(a))),Promise[n.__symbol__("uncaughtPromiseErrors")]=E,c}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,s=H("OriginalDelegate"),r=H("Promise"),i=H("Error"),l=function(){if("function"==typeof this){const v=this[s];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const g=e[r];if(g)return n.call(g)}if(this===Error){const g=e[i];if(g)return n.call(g)}}return n.call(this)};l[s]=n,Function.prototype.toString=l;const p=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":p.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=H("propagationStopped");function Je(e,n){const s=(n?n(e):e)+ae,r=(n?n(e):e)+ce,i=ke+s,l=ke+r;te[e]={},te[e][ae]=i,te[e][ce]=l}function dt(e,n,s,r){const i=r&&r.add||Se,l=r&&r.rm||Oe,p=r&&r.listeners||"eventListeners",E=r&&r.rmAll||"removeAllListeners",P=H(i),v="."+i+":",g="prependListener",M="."+g+":",Z=function(C,T,K){if(C.isRemoved)return;const G=C.callback;let z;"object"==typeof G&&G.handleEvent&&(C.callback=y=>G.handleEvent(y),C.originalDelegate=G);try{C.invoke(C,T,[K])}catch(y){z=y}const A=C.options;return A&&"object"==typeof A&&A.once&&T[l].call(T,K.type,C.originalDelegate?C.originalDelegate:C.callback,A),z};function N(C,T,K){if(!(T=T||e.event))return;const G=C||T.target||e,z=G[te[T.type][K?ce:ae]];if(z){const A=[];if(1===z.length){const y=Z(z[0],G,T);y&&A.push(y)}else{const y=z.slice();for(let V=0;V{throw V})}}}const U=function(C){return N(this,C,!1)},x=function(C){return N(this,C,!0)};function J(C,T){if(!C)return!1;let K=!0;T&&void 0!==T.useG&&(K=T.useG);const G=T&&T.vh;let z=!0;T&&void 0!==T.chkDup&&(z=T.chkDup);let A=!1;T&&void 0!==T.rt&&(A=T.rt);let y=C;for(;y&&!y.hasOwnProperty(i);)y=de(y);if(!y&&C[i]&&(y=C),!y||y[P])return!1;const V=T&&T.eventNameToString,d={},I=y[P]=y[i],w=y[H(l)]=y[l],Q=y[H(p)]=y[p],oe=y[H(E)]=y[E];let Y;T&&T.prepend&&(Y=y[H(T.prepend)]=y[T.prepend]);const c=K?function(o){if(!d.isExisting)return I.call(d.target,d.eventName,d.capture?x:U,d.options)}:function(o){return I.call(d.target,d.eventName,o.invoke,d.options)},t=K?function(o){if(!o.isRemoved){const f=te[o.eventName];let k;f&&(k=f[o.capture?ce:ae]);const b=k&&o.target[k];if(b)for(let m=0;mfunction(i,l){i[Ke]=!0,r&&r.apply(i,l)})}function Et(e,n,s,r,i){const l=Zone.__symbol__(r);if(n[l])return;const p=n[l]=n[r];n[r]=function(E,P,v){return P&&P.prototype&&i.forEach(function(g){const M="".concat(s,".").concat(r,"::")+g,Z=P.prototype;try{if(Z.hasOwnProperty(g)){const N=e.ObjectGetOwnPropertyDescriptor(Z,g);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(P.prototype,g,N)):Z[g]&&(Z[g]=e.wrapWithCurrentZone(Z[g],M))}else Z[g]&&(Z[g]=e.wrapWithCurrentZone(Z[g],M))}catch{}}),p.call(n,E,P,v)},e.attachOriginToPatched(n[r],p)}function et(e,n,s){if(!s||0===s.length)return n;const r=s.filter(l=>l.target===e);if(!r||0===r.length)return n;const i=r[0].ignoreProperties;return n.filter(l=>-1===i.indexOf(l))}function tt(e,n,s,r){e&&Xe(e,et(e,n,s),r)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,s)=>{const r=He(e);s.patchOnProperties=Xe,s.patchMethod=le,s.bindArguments=Le,s.patchMacroTask=lt;const i=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[i]=e[l]),e[i]&&(n[i]=n[l]=e[i]),s.patchEventPrototype=_t,s.patchEventTarget=dt,s.isIEOrEdge=ft,s.ObjectDefineProperty=Ee,s.ObjectGetOwnPropertyDescriptor=ie,s.ObjectCreate=ge,s.ArraySlice=Ve,s.patchClass=ve,s.wrapWithCurrentZone=Ie,s.filterProperties=et,s.attachOriginToPatched=ue,s._redefineProperty=Object.defineProperty,s.patchCallbacks=Et,s.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=H("zoneTask");function me(e,n,s,r){let i=null,l=null;s+=r;const p={};function E(v){const g=v.data;return g.args[0]=function(){return v.invoke.apply(this,arguments)},g.handleId=i.apply(e,g.args),v}function P(v){return l.call(e,v.data.handleId)}i=le(e,n+=r,v=>function(g,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete p[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const U=Me(n,M[0],Z,E,P);if(!U)return U;const x=U.data.handleId;return"number"==typeof x?p[x]=U:x&&(x[Ce]=U),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(U.ref=x.ref.bind(x),U.unref=x.unref.bind(x)),"number"==typeof x||x?x:U}return v.apply(e,M)}),l=le(e,s,v=>function(g,M){const Z=M[0];let N;"number"==typeof Z?N=p[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete p[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",s="clear";me(e,n,s,"Timeout"),me(e,n,s,"Interval"),me(e,n,s,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{me(e,"request","cancel","AnimationFrame"),me(e,"mozRequest","mozCancel","AnimationFrame"),me(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const s=["alert","prompt","confirm"];for(let r=0;rfunction(P,v){return n.current.run(l,e,v,E)})}),Zone.__load_patch("EventTarget",(e,n,s)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,s),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:s,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p}=n.getGlobalObjects();for(let P=0;P{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,s)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,s)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,s)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const s=n.__Zone_ignore_on_properties;let r=[];if(Ae){const i=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const l=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];tt(i,He(i),s&&s.concat(l),de(i))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{!function mt(e,n){const{isBrowser:s,isMix:r}=n.getGlobalObjects();(s||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,s)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const g=v.XMLHttpRequest;if(!g)return;const M=g.prototype;let N=M[Ze],U=M[Ne];if(!N){const d=v.XMLHttpRequestEventTarget;if(d){const I=d.prototype;N=I[Ze],U=I[Ne]}}const x="readystatechange",J="scheduled";function X(d){const I=d.data,w=I.target;w[l]=!1,w[E]=!1;const Q=w[i];N||(N=w[Ze],U=w[Ne]),Q&&U.call(w,x,Q);const oe=w[i]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[l]&&d.state===J){const W=w[n.__symbol__("loadfalse")];if(0!==w.status&&W&&W.length>0){const re=d.invoke;d.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let q=0;qfunction(d,I){return d[r]=0==I[2],d[p]=I[1],K.apply(d,I)}),z=H("fetchTaskAborting"),A=H("fetchTaskScheduling"),y=le(M,"send",()=>function(d,I){if(!0===n.current[A]||d[r])return y.apply(d,I);{const w={target:d,url:d[p],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",C,w,X,T);d&&!0===d[E]&&!w.aborted&&Q.state===J&&Q.invoke()}}),V=le(M,"abort",()=>function(d,I){const w=function Z(d){return d[s]}(d);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[z])return V.apply(d,I)})}(e);const s=H("xhrTask"),r=H("xhrSync"),i=H("xhrListener"),l=H("xhrScheduled"),p=H("xhrURL"),E=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const s=e.constructor.name;for(let r=0;r{const P=function(){return E.apply(this,Le(arguments,s+"."+i))};return ue(P,E),P})(l)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function s(r){return function(i){Qe(e,r).forEach(p=>{const E=e.PromiseRejectionEvent;if(E){const P=new E(r,{promise:i.promise,reason:i.rejection});p.invoke(P)}})}}e.PromiseRejectionEvent&&(n[H("unhandledPromiseRejectionHandler")]=s("unhandledrejection"),n[H("rejectionHandledHandler")]=s("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,s)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",s=>function(r,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(e,s)})}},ie=>{ie(ie.s=765)}]); \ No newline at end of file +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[429],{6154:(ie,Ee,de)=>{de(810)},810:()=>{!function(e){const n=e.performance;function s(j){n&&n.mark&&n.mark(j)}function r(j,h){n&&n.measure&&n.measure(j,h)}s("Zone");const i=e.__Zone_symbol_prefix||"__zone_symbol__";function l(j){return i+j}const p=!0===e[l("forceDuplicateZoneCheck")];if(e.Zone){if(p||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let E=(()=>{class h{static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return re}static __load_patch(t,_,R=!1){if(oe.hasOwnProperty(t)){if(!R&&p)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const L="Zone:"+t;s(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){const _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const R=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(R,this,arguments,_)}}run(t,_,R,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,R,L)}finally{W=W.parent}}runGuarded(t,_=null,R,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,R,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,R){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===G&&(t.type===Q||t.type===w))return;const L=t.state!=y;L&&t._transitionTo(y,A),t.runCount++;const a=re;re=t,W={parent:W,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,R)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(A,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,re=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let R=this;for(;R;){if(R===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));R=R.parent}}t._transitionTo(z,G);const _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(R){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,R),R}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(A,z),t}scheduleMicroTask(t,_,R,L){return this.scheduleTask(new g(I,t,_,R,L,void 0))}scheduleMacroTask(t,_,R,L,a){return this.scheduleTask(new g(w,t,_,R,L,a))}scheduleEventTask(t,_,R,L,a){return this.scheduleTask(new g(Q,t,_,R,L,a))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===y){t._transitionTo(V,A,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){const R=t._zoneDelegates;-1==_&&(t._zoneDelegates=null);for(let L=0;Lj.hasTask(c,t),onScheduleTask:(j,h,c,t)=>j.scheduleTask(c,t),onInvokeTask:(j,h,c,t,_,R)=>j.invokeTask(c,t,_,R),onCancelTask:(j,h,c,t)=>j.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const _=t&&t.onHasTask;(_||c&&c._hasTaskZS)&&(this._hasTaskZS=_?t:P,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,R){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,R):c.apply(t,_)}handleError(h,c){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c)}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else{if(c.type!=I)throw new Error("Task is missing scheduleFn.");C(c)}return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){const t=this._taskCounts,_=t[h],R=t[h]=_+c;if(R<0)throw new Error("More tasks executed then were scheduled.");0!=_&&0!=R||this.hasTask(this.zone,{microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h})}}class g{constructor(h,c,t,_,R,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=R,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;const a=this;this.invoke=h===Q&&_&&_.useG?g.invokeTask:function(){return g.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{1==ee&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state!==c&&this._state!==t)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(h,"', expecting state '").concat(c,"'").concat(t?" or '"+t+"'":"",", was '").concat(this._state,"'."));this._state=h,h==G&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=l("setTimeout"),Z=l("Promise"),N=l("then");let J,U=[],x=!1;function X(j){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let h=J[N];h||(h=J.then),h.call(J,j)}else e[M](j,0)}function C(j){0===ee&&0===U.length&&X(T),j&&U.push(j)}function T(){if(!x){for(x=!0;U.length;){const j=U;U=[];for(let h=0;hW,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X};let W={parent:null,zone:new E(null,null)},re=null,ee=0;function q(){}r("Zone","Zone"),e.Zone=E}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,s,r,i){return Zone.current.scheduleMacroTask(e,n,s,r,i)}const H=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,$=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let s=e.length-1;s>=0;s--)"function"==typeof e[s]&&(e[s]=Ie(e[s],n+"_"+s));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||$.event))return;let n=Re[e.type];n||(n=Re[e.type]=H("ON_PROPERTY"+e.type));const s=this||e.target||$,r=s[n];let i;return Ae&&s===Te&&"error"===e.type?(i=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=r&&r.apply(this,arguments),null!=i&&!i&&e.preventDefault()),i};function qe(e,n,s){let r=ie(e,n);if(!r&&s&&ie(s,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const i=H("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;const l=r.get,p=r.set,E=n.slice(2);let P=Re[E];P||(P=Re[E]=H("ON_PROPERTY"+E)),r.set=function(v){let g=this;!g&&e===$&&(g=$),g&&("function"==typeof g[P]&&g.removeEventListener(E,We),p&&p.call(g,null),g[P]=v,"function"==typeof v&&g.addEventListener(E,We,!1))},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;const g=v[P];if(g)return g;if(l){let M=l.call(this);if(M)return r.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,r),e[i]=!0}function Xe(e,n,s){if(n)for(let r=0;rfunction(p,E){const P=s(p,E);return P.cbIdx>=0&&"function"==typeof E[P.cbIdx]?Me(P.name,E[P.cbIdx],P,i):l.apply(p,E)})}function ue(e,n){e[H("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,s)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,p=s.symbol,E=[],P=!1!==e[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=p("Promise"),g=p("then"),M="__creationTrace__";s.onUnhandledError=a=>{if(s.showUncaughtError()){const u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},s.microtaskDrainDone=()=>{for(;E.length;){const a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};const Z=p("unhandledPromiseRejectionHandler");function N(a){s.onUnhandledError(a);try{const u=n[Z];"function"==typeof u&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function x(a){return a}function J(a){return c.reject(a)}const X=p("state"),C=p("value"),T=p("finally"),K=p("parentPromiseValue"),G=p("parentPromiseState"),z="Promise.then",A=null,y=!0,V=!1,d=0;function I(a,u){return o=>{try{Y(a,u,o)}catch(f){Y(a,!1,f)}}}const w=function(){let a=!1;return function(o){return function(){a||(a=!0,o.apply(null,arguments))}}},Q="Promise resolved with itself",oe=p("currentTaskTrace");function Y(a,u,o){const f=w();if(a===o)throw new TypeError(Q);if(a[X]===A){let k=null;try{("object"==typeof o||"function"==typeof o)&&(k=o&&o.then)}catch(b){return f(()=>{Y(a,!1,b)})(),a}if(u!==V&&o instanceof c&&o.hasOwnProperty(X)&&o.hasOwnProperty(C)&&o[X]!==A)re(o),Y(a,o[X],o[C]);else if(u!==V&&"function"==typeof k)try{k.call(o,f(I(a,u)),f(I(a,!1)))}catch(b){f(()=>{Y(a,!1,b)})()}else{a[X]=u;const b=a[C];if(a[C]=o,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[K]),u===V&&o instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&i(o,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=a[C],S=!!o&&T===o[T];S&&(o[K]=D,o[G]=b);const O=u.run(m,void 0,S&&m!==J&&m!==x?[]:[D]);Y(o,!0,O)}catch(D){Y(o,!1,D)}},o)}const j=function(){},h=e.AggregateError;class c{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return Y(new this(null),y,u)}static reject(u){return Y(new this(null),V,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new h([],"All promises were rejected"));const o=[];let f=0;try{for(let m of u)f++,o.push(c.resolve(m))}catch{return Promise.reject(new h([],"All promises were rejected"))}if(0===f)return Promise.reject(new h([],"All promises were rejected"));let k=!1;const b=[];return new c((m,D)=>{for(let S=0;S{k||(k=!0,m(O))},O=>{b.push(O),f--,0===f&&(k=!0,D(new h(b,"All promises were rejected")))})})}static race(u){let o,f,k=new this((D,S)=>{o=D,f=S});function b(D){o(D)}function m(D){f(D)}for(let D of u)U(D)||(D=this.resolve(D)),D.then(b,m);return k}static all(u){return c.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof c?this:c).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,o){let f,k,b=new this((O,F)=>{f=O,k=F}),m=2,D=0;const S=[];for(let O of u){U(O)||(O=this.resolve(O));const F=D;try{O.then(B=>{S[F]=o?o.thenCallback(B):B,m--,0===m&&f(S)},B=>{o?(S[F]=o.errorCallback(B),m--,0===m&&f(S)):k(B)})}catch(B){k(B)}m++,D++}return m-=2,0===m&&f(S),b}constructor(u){const o=this;if(!(o instanceof c))throw new Error("Must be an instanceof Promise.");o[X]=A,o[C]=[];try{const f=w();u&&u(f(I(o,y)),f(I(o,V)))}catch(f){Y(o,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return c}then(u,o){var f;let k=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!k||"function"!=typeof k)&&(k=this.constructor||c);const b=new k(j),m=n.current;return this[X]==A?this[C].push(m,b,u,o):ee(this,m,b,u,o),b}catch(u){return this.then(null,u)}finally(u){var o;let f=null===(o=this.constructor)||void 0===o?void 0:o[Symbol.species];(!f||"function"!=typeof f)&&(f=c);const k=new f(j);k[T]=T;const b=n.current;return this[X]==A?this[C].push(b,k,u,u):ee(this,b,k,u,u),k}}c.resolve=c.resolve,c.reject=c.reject,c.race=c.race,c.all=c.all;const t=e[v]=e.Promise;e.Promise=c;const _=p("thenPatched");function R(a){const u=a.prototype,o=r(u,"then");if(o&&(!1===o.writable||!o.configurable))return;const f=u.then;u[g]=f,a.prototype.then=function(k,b){return new c((D,S)=>{f.call(this,D,S)}).then(k,b)},a[_]=!0}return s.patchThen=R,t&&(R(t),le(e,"fetch",a=>function L(a){return function(u,o){let f=a.apply(u,o);if(f instanceof c)return f;let k=f.constructor;return k[_]||R(k),f}}(a))),Promise[n.__symbol__("uncaughtPromiseErrors")]=E,c}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,s=H("OriginalDelegate"),r=H("Promise"),i=H("Error"),l=function(){if("function"==typeof this){const v=this[s];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const g=e[r];if(g)return n.call(g)}if(this===Error){const g=e[i];if(g)return n.call(g)}}return n.call(this)};l[s]=n,Function.prototype.toString=l;const p=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":p.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=H("propagationStopped");function Je(e,n){const s=(n?n(e):e)+ae,r=(n?n(e):e)+ce,i=ke+s,l=ke+r;te[e]={},te[e][ae]=i,te[e][ce]=l}function dt(e,n,s,r){const i=r&&r.add||Se,l=r&&r.rm||Oe,p=r&&r.listeners||"eventListeners",E=r&&r.rmAll||"removeAllListeners",P=H(i),v="."+i+":",g="prependListener",M="."+g+":",Z=function(C,T,K){if(C.isRemoved)return;const G=C.callback;let z;"object"==typeof G&&G.handleEvent&&(C.callback=y=>G.handleEvent(y),C.originalDelegate=G);try{C.invoke(C,T,[K])}catch(y){z=y}const A=C.options;return A&&"object"==typeof A&&A.once&&T[l].call(T,K.type,C.originalDelegate?C.originalDelegate:C.callback,A),z};function N(C,T,K){if(!(T=T||e.event))return;const G=C||T.target||e,z=G[te[T.type][K?ce:ae]];if(z){const A=[];if(1===z.length){const y=Z(z[0],G,T);y&&A.push(y)}else{const y=z.slice();for(let V=0;V{throw V})}}}const U=function(C){return N(this,C,!1)},x=function(C){return N(this,C,!0)};function J(C,T){if(!C)return!1;let K=!0;T&&void 0!==T.useG&&(K=T.useG);const G=T&&T.vh;let z=!0;T&&void 0!==T.chkDup&&(z=T.chkDup);let A=!1;T&&void 0!==T.rt&&(A=T.rt);let y=C;for(;y&&!y.hasOwnProperty(i);)y=de(y);if(!y&&C[i]&&(y=C),!y||y[P])return!1;const V=T&&T.eventNameToString,d={},I=y[P]=y[i],w=y[H(l)]=y[l],Q=y[H(p)]=y[p],oe=y[H(E)]=y[E];let Y;T&&T.prepend&&(Y=y[H(T.prepend)]=y[T.prepend]);const c=K?function(o){if(!d.isExisting)return I.call(d.target,d.eventName,d.capture?x:U,d.options)}:function(o){return I.call(d.target,d.eventName,o.invoke,d.options)},t=K?function(o){if(!o.isRemoved){const f=te[o.eventName];let k;f&&(k=f[o.capture?ce:ae]);const b=k&&o.target[k];if(b)for(let m=0;mfunction(i,l){i[Ke]=!0,r&&r.apply(i,l)})}function Et(e,n,s,r,i){const l=Zone.__symbol__(r);if(n[l])return;const p=n[l]=n[r];n[r]=function(E,P,v){return P&&P.prototype&&i.forEach(function(g){const M="".concat(s,".").concat(r,"::")+g,Z=P.prototype;try{if(Z.hasOwnProperty(g)){const N=e.ObjectGetOwnPropertyDescriptor(Z,g);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(P.prototype,g,N)):Z[g]&&(Z[g]=e.wrapWithCurrentZone(Z[g],M))}else Z[g]&&(Z[g]=e.wrapWithCurrentZone(Z[g],M))}catch{}}),p.call(n,E,P,v)},e.attachOriginToPatched(n[r],p)}function et(e,n,s){if(!s||0===s.length)return n;const r=s.filter(l=>l.target===e);if(!r||0===r.length)return n;const i=r[0].ignoreProperties;return n.filter(l=>-1===i.indexOf(l))}function tt(e,n,s,r){e&&Xe(e,et(e,n,s),r)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,s)=>{const r=He(e);s.patchOnProperties=Xe,s.patchMethod=le,s.bindArguments=Le,s.patchMacroTask=lt;const i=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[i]=e[l]),e[i]&&(n[i]=n[l]=e[i]),s.patchEventPrototype=_t,s.patchEventTarget=dt,s.isIEOrEdge=ft,s.ObjectDefineProperty=Ee,s.ObjectGetOwnPropertyDescriptor=ie,s.ObjectCreate=ge,s.ArraySlice=Ve,s.patchClass=ve,s.wrapWithCurrentZone=Ie,s.filterProperties=et,s.attachOriginToPatched=ue,s._redefineProperty=Object.defineProperty,s.patchCallbacks=Et,s.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=H("zoneTask");function me(e,n,s,r){let i=null,l=null;s+=r;const p={};function E(v){const g=v.data;return g.args[0]=function(){return v.invoke.apply(this,arguments)},g.handleId=i.apply(e,g.args),v}function P(v){return l.call(e,v.data.handleId)}i=le(e,n+=r,v=>function(g,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete p[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const U=Me(n,M[0],Z,E,P);if(!U)return U;const x=U.data.handleId;return"number"==typeof x?p[x]=U:x&&(x[Ce]=U),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(U.ref=x.ref.bind(x),U.unref=x.unref.bind(x)),"number"==typeof x||x?x:U}return v.apply(e,M)}),l=le(e,s,v=>function(g,M){const Z=M[0];let N;"number"==typeof Z?N=p[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete p[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",s="clear";me(e,n,s,"Timeout"),me(e,n,s,"Interval"),me(e,n,s,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{me(e,"request","cancel","AnimationFrame"),me(e,"mozRequest","mozCancel","AnimationFrame"),me(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const s=["alert","prompt","confirm"];for(let r=0;rfunction(P,v){return n.current.run(l,e,v,E)})}),Zone.__load_patch("EventTarget",(e,n,s)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,s),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:s,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p}=n.getGlobalObjects();for(let P=0;P{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,s)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,s)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,s)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const s=n.__Zone_ignore_on_properties;let r=[];if(Ae){const i=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const l=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];tt(i,He(i),s&&s.concat(l),de(i))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{!function mt(e,n){const{isBrowser:s,isMix:r}=n.getGlobalObjects();(s||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,s)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const g=v.XMLHttpRequest;if(!g)return;const M=g.prototype;let N=M[Ze],U=M[Ne];if(!N){const d=v.XMLHttpRequestEventTarget;if(d){const I=d.prototype;N=I[Ze],U=I[Ne]}}const x="readystatechange",J="scheduled";function X(d){const I=d.data,w=I.target;w[l]=!1,w[E]=!1;const Q=w[i];N||(N=w[Ze],U=w[Ne]),Q&&U.call(w,x,Q);const oe=w[i]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[l]&&d.state===J){const W=w[n.__symbol__("loadfalse")];if(0!==w.status&&W&&W.length>0){const re=d.invoke;d.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let q=0;qfunction(d,I){return d[r]=0==I[2],d[p]=I[1],K.apply(d,I)}),z=H("fetchTaskAborting"),A=H("fetchTaskScheduling"),y=le(M,"send",()=>function(d,I){if(!0===n.current[A]||d[r])return y.apply(d,I);{const w={target:d,url:d[p],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",C,w,X,T);d&&!0===d[E]&&!w.aborted&&Q.state===J&&Q.invoke()}}),V=le(M,"abort",()=>function(d,I){const w=function Z(d){return d[s]}(d);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[z])return V.apply(d,I)})}(e);const s=H("xhrTask"),r=H("xhrSync"),i=H("xhrListener"),l=H("xhrScheduled"),p=H("xhrURL"),E=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const s=e.constructor.name;for(let r=0;r{const P=function(){return E.apply(this,Le(arguments,s+"."+i))};return ue(P,E),P})(l)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function s(r){return function(i){Qe(e,r).forEach(p=>{const E=e.PromiseRejectionEvent;if(E){const P=new E(r,{promise:i.promise,reason:i.rejection});p.invoke(P)}})}}e.PromiseRejectionEvent&&(n[H("unhandledPromiseRejectionHandler")]=s("unhandledrejection"),n[H("rejectionHandledHandler")]=s("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,s)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",s=>function(r,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(e,s)})}},ie=>{ie(ie.s=6154)}]); \ No newline at end of file