!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(d){"use strict";var s,l=window.Slick||{};s=0,(l=function(i,e){var t,o=this;o.defaults={adaptiveHeight:!1,appendArrows:d(i),appendDots:d(i),arrows:!0,arrowsPlacement:null,asNavFor:null,prevArrow:'<button class="slick-prev" type="button"><span class="slick-prev-icon" aria-hidden="true"></span><span class="slick-sr-only">Previous</span></button>',nextArrow:'<button class="slick-next" type="button"><span class="slick-next-icon" aria-hidden="true"></span><span class="slick-sr-only">Next</span></button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(i,e){return d('<button type="button"><span class="slick-dot-icon" aria-hidden="true"></span><span class="slick-sr-only">Go to slide '+(e+1)+"</span></button>")},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,infinite:!0,initialSlide:0,instructionsText:null,lazyLoad:"ondemand",mobileFirst:!1,playIcon:'<span class="slick-play-icon" aria-hidden="true"></span>',pauseIcon:'<span class="slick-pause-icon" aria-hidden="true"></span>',pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,regionLabel:"carousel",respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useAutoplayToggleButton:!0,useCSS:!0,useGroupRole:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,$instructionsText:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$pauseButton:null,$pauseIcon:null,$playIcon:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},d.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=d(i),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,t=d(i).data("slick")||{},o.options=d.extend({},o.defaults,e,t),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=d.proxy(o.autoPlay,o),o.autoPlayClear=d.proxy(o.autoPlayClear,o),o.autoPlayIterator=d.proxy(o.autoPlayIterator,o),o.autoPlayToggleHandler=d.proxy(o.autoPlayToggleHandler,o),o.changeSlide=d.proxy(o.changeSlide,o),o.clickHandler=d.proxy(o.clickHandler,o),o.selectHandler=d.proxy(o.selectHandler,o),o.setPosition=d.proxy(o.setPosition,o),o.swipeHandler=d.proxy(o.swipeHandler,o),o.dragHandler=d.proxy(o.dragHandler,o),o.instanceUid=s++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}).prototype.addSlide=l.prototype.slickAdd=function(i,e,t){var o=this;if("boolean"==typeof e)t=e,e=null;else if(e<0||e>=o.slideCount)return!1;o.unload(),"number"==typeof e?0===e&&0===o.$slides.length?d(i).appendTo(o.$slideTrack):t?d(i).insertBefore(o.$slides.eq(e)):d(i).insertAfter(o.$slides.eq(e)):!0===t?d(i).prependTo(o.$slideTrack):d(i).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(i,e){d(e).attr("data-slick-index",i),d(e).attr("role","group"),d(e).attr("aria-label","slide "+i)}),o.$slidesCache=o.$slides,o.reinit()},l.prototype.animateHeight=function(){var i,e=this;1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical&&(i=e.$slides.eq(e.currentSlide).outerHeight(!0),e.$list.animate({height:i},e.options.speed))},l.prototype.animateSlide=function(i,e){var t={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(i=-i),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:i},o.options.speed,o.options.easing,e):o.$slideTrack.animate({top:i},o.options.speed,o.options.easing,e):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),d({animStart:o.currentLeft}).animate({animStart:i},{duration:o.options.speed,easing:o.options.easing,step:function(i){i=Math.ceil(i),!1===o.options.vertical?t[o.animType]="translate("+i+"px, 0px)":t[o.animType]="translate(0px,"+i+"px)",o.$slideTrack.css(t)},complete:function(){e&&e.call()}})):(o.applyTransition(),i=Math.ceil(i),!1===o.options.vertical?t[o.animType]="translate3d("+i+"px, 0px, 0px)":t[o.animType]="translate3d(0px,"+i+"px, 0px)",o.$slideTrack.css(t),e&&setTimeout(function(){o.disableTransition(),e.call()},o.options.speed))},l.prototype.getNavTarget=function(){var i=this.options.asNavFor;return i&&null!==i&&(i=d(i).not(this.$slider)),i},l.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=d(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},l.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},l.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},l.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},l.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},l.prototype.autoPlayToggleHandler=function(){var i=this;i.paused?(i.$playIcon.css("display","none"),i.$pauseIcon.css("display","inline"),i.$pauseButton.find(".slick-play-text").attr("style","display: none"),i.$pauseButton.find(".slick-pause-text").removeAttr("style"),i.slickPlay()):(i.$playIcon.css("display","inline"),i.$pauseIcon.css("display","none"),i.$pauseButton.find(".slick-play-text").removeAttr("style"),i.$pauseButton.find(".slick-pause-text").attr("style","display: none"),i.slickPause())},l.prototype.buildArrows=function(){var i=this;if(!0===i.options.arrows)if(i.$prevArrow=d(i.options.prevArrow).addClass("slick-arrow"),i.$nextArrow=d(i.options.nextArrow).addClass("slick-arrow"),i.slideCount>i.options.slidesToShow){if(i.htmlExpr.test(i.options.prevArrow))if(null!=i.options.arrowsPlacement)switch(i.options.arrowsPlacement){case"beforeSlides":case"split":console.log("test"),i.$prevArrow.prependTo(i.options.appendArrows);break;case"afterSlides":i.$prevArrow.appendTo(i.options.appendArrows)}else i.$prevArrow.prependTo(i.options.appendArrows);if(i.htmlExpr.test(i.options.nextArrow))if(null!=i.options.arrowsPlacement)switch(i.options.arrowsPlacement){case"beforeSlides":console.log("test2"),i.$prevArrow.after(i.$nextArrow);break;case"afterSlides":case"split":i.$nextArrow.appendTo(i.options.appendArrows)}else i.$nextArrow.appendTo(i.options.appendArrows);!0!==i.options.infinite&&i.$prevArrow.addClass("slick-disabled").prop("disabled",!0)}else i.$prevArrow.add(i.$nextArrow).addClass("slick-hidden").prop("disabled",!0)},l.prototype.buildDots=function(){var i,e,t=this;if(!0===t.options.dots&&t.slideCount>t.options.slidesToShow){for(t.$slider.addClass("slick-dotted"),e=d("<ul />").addClass(t.options.dotsClass),i=0;i<=t.getDotCount();i+=1)e.append(d("<li />").append(t.options.customPaging.call(this,t,i)));t.$dots=e.appendTo(t.options.appendDots),t.$dots.find("li").first().addClass("slick-active")}},l.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(i,e){d(e).attr("data-slick-index",i).data("originalStyling",d(e).attr("style")||""),t.options.useGroupRole&&d(e).attr("role","group").attr("aria-label","slide "+(i+1))}),t.$slider.addClass("slick-slider"),t.$slider.attr("role","region"),t.$slider.attr("aria-label",t.options.regionLabel),t.$slideTrack=0===t.slideCount?d('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),d("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable"),t.options.autoplay&&t.options.useAutoplayToggleButton&&(t.$pauseIcon=d(t.options.pauseIcon).attr("aria-hidden",!0),t.$playIcon=d(t.options.playIcon).attr("aria-hidden",!0),t.$pauseButton=d('<button type="button" class="slick-autoplay-toggle-button">'),t.$pauseButton.append(t.$pauseIcon),t.$pauseButton.append(t.$playIcon.css("display","none")),t.$pauseButton.append(d('<span class="slick-pause-text slick-sr-only">Pause</span>')),t.$pauseButton.append(d('<span class="slick-play-text slick-sr-only" style="display: none">Play</span>')),t.$pauseButton.prependTo(t.$slider)),null!=t.options.instructionsText&&""!=t.options.instructionsText&&(t.$instructionsText=d('<p class="slick-instructions slick-sr-only">'+t.options.instructionsText+"</p>"),t.$instructionsText.prependTo(t.$slider))},l.prototype.buildRows=function(){var i,e,t,o=this,s=document.createDocumentFragment(),n=o.$slider.children();if(0<o.options.rows){for(t=o.options.slidesPerRow*o.options.rows,e=Math.ceil(n.length/t),i=0;i<e;i++){for(var l=document.createElement("div"),r=0;r<o.options.rows;r++){for(var a=document.createElement("div"),d=0;d<o.options.slidesPerRow;d++){var p=i*t+(r*o.options.slidesPerRow+d);n.get(p)&&a.appendChild(n.get(p))}l.appendChild(a)}s.appendChild(l)}o.$slider.empty().append(s),o.$slider.children().children().children().css({width:100/o.options.slidesPerRow+"%",display:"inline-block"})}},l.prototype.checkResponsive=function(i,e){var t,o,s,n=this,l=!1,r=n.$slider.width(),a=window.innerWidth||d(window).width();if("window"===n.respondTo?s=a:"slider"===n.respondTo?s=r:"min"===n.respondTo&&(s=Math.min(a,r)),n.options.responsive&&n.options.responsive.length&&null!==n.options.responsive){for(t in o=null,n.breakpoints)n.breakpoints.hasOwnProperty(t)&&(!1===n.originalSettings.mobileFirst?s<n.breakpoints[t]&&(o=n.breakpoints[t]):s>n.breakpoints[t]&&(o=n.breakpoints[t]));null!==o?null!==n.activeBreakpoint&&o===n.activeBreakpoint&&!e||(n.activeBreakpoint=o,"unslick"===n.breakpointSettings[o]?n.unslick(o):(n.options=d.extend({},n.originalSettings,n.breakpointSettings[o]),!0===i&&(n.currentSlide=n.options.initialSlide),n.refresh(i)),l=o):null!==n.activeBreakpoint&&(n.activeBreakpoint=null,n.options=n.originalSettings,!0===i&&(n.currentSlide=n.options.initialSlide),n.refresh(i),l=o),i||!1===l||n.$slider.trigger("breakpoint",[n,l])}},l.prototype.changeSlide=function(i,e){var t,o,s=this,n=d(i.currentTarget);switch(n.is("a")&&i.preventDefault(),n.is("li")||(n=n.closest("li")),t=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,i.data.message){case"previous":o=0==t?s.options.slidesToScroll:s.options.slidesToShow-t,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,e);break;case"next":o=0==t?s.options.slidesToScroll:t,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,e);break;case"index":var l=0===i.data.index?0:i.data.index||n.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(l),!1,e),n.children().trigger("focus");break;default:return}},l.prototype.checkNavigable=function(i){var e=this.getNavigableIndexes(),t=0;if(i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}t=e[o]}return i},l.prototype.cleanUpEvents=function(){var i=this;i.options.autoplay&&i.options.useAutoplayToggleButton&&i.$pauseButton.off("click.slick",i.autoPlayToggleHandler),i.options.dots&&null!==i.$dots&&d("li",i.$dots).off("click.slick",i.changeSlide).off("mouseenter.slick",d.proxy(i.interrupt,i,!0)).off("mouseleave.slick",d.proxy(i.interrupt,i,!1)),i.$slider.off("focus.slick blur.slick"),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow&&i.$prevArrow.off("click.slick",i.changeSlide),i.$nextArrow&&i.$nextArrow.off("click.slick",i.changeSlide)),i.$list.off("touchstart.slick mousedown.slick",i.swipeHandler),i.$list.off("touchmove.slick mousemove.slick",i.swipeHandler),i.$list.off("touchend.slick mouseup.slick",i.swipeHandler),i.$list.off("touchcancel.slick mouseleave.slick",i.swipeHandler),i.$list.off("click.slick",i.clickHandler),d(document).off(i.visibilityChange,i.visibility),i.cleanUpSlideEvents(),d(window).off("orientationchange.slick.slick-"+i.instanceUid,i.orientationChange),d(window).off("resize.slick.slick-"+i.instanceUid,i.resize),d("[draggable!=true]",i.$slideTrack).off("dragstart",i.preventDefault),d(window).off("load.slick.slick-"+i.instanceUid,i.setPosition)},l.prototype.cleanUpSlideEvents=function(){var i=this;i.$list.off("mouseenter.slick",d.proxy(i.interrupt,i,!0)),i.$list.off("mouseleave.slick",d.proxy(i.interrupt,i,!1))},l.prototype.cleanUpRows=function(){var i;0<this.options.rows&&((i=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(i))},l.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},l.prototype.destroy=function(i){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),d(".slick-cloned",e.$slider).detach(),e.options.autoplay&&e.options.useAutoplayToggleButton&&e.$pauseButton.remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").prop("disabled",!1).css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").prop("disabled",!1).css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){d(this).attr("style",d(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,i||e.$slider.trigger("destroy",[e])},l.prototype.disableTransition=function(i){var e={};e[this.transitionType]="",!1===this.options.fade?this.$slideTrack.css(e):this.$slides.eq(i).css(e)},l.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},l.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},l.prototype.filterSlides=l.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},l.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(i){var e=d(this);setTimeout(function(){t.options.pauseOnFocus&&e.is(":focus")&&(t.focussed=!0,t.autoPlay())},0)}).on("blur.slick","*",function(i){d(this);t.options.pauseOnFocus&&(t.focussed=!1,t.autoPlay())})},l.prototype.getCurrent=l.prototype.slickCurrentSlide=function(){return this.currentSlide},l.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},l.prototype.getLeft=function(i){var e,t,o,s,n=this,l=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),l=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(l=i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,l=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(l=n.slideOffset=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+l,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},l.prototype.getOption=l.prototype.slickGetOption=function(i){return this.options[i]},l.prototype.getNavigableIndexes=function(){for(var i=this,e=0,t=0,o=[],s=!1===i.options.infinite?i.slideCount:(e=-1*i.options.slidesToScroll,t=-1*i.options.slidesToScroll,2*i.slideCount);e<s;)o.push(e),e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;return o},l.prototype.getSlick=function(){return this},l.prototype.getSlideCount=function(){var s,n=this,i=!0===n.options.centerMode?Math.floor(n.$list.width()/2):0,l=-1*n.swipeLeft+i;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(i,e){var t=d(e).outerWidth(),o=e.offsetLeft;if(!0!==n.options.centerMode&&(o+=t/2),l<o+t)return s=e,!1}),Math.abs(d(s).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},l.prototype.goTo=l.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},l.prototype.init=function(i){var e=this;d(e.$slider).hasClass("slick-initialized")||(d(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),i&&e.$slider.trigger("init",[e]),e.options.autoplay&&(e.paused=!1,e.autoPlay()),e.updateSlideVisibility(),null!=e.options.accessibility&&console.warn("accessibility setting is no longer supported."),null!=e.options.focusOnChange&&console.warn("focusOnChange is no longer supported."),null!=e.options.focusOnSelect&&console.warn("focusOnSelect is no longer supported.")},l.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide))},l.prototype.initDotEvents=function(){var i=this;!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&d("li",i.$dots).on("click.slick",{message:"index"},i.changeSlide),!0===i.options.dots&&!0===i.options.pauseOnDotsHover&&i.slideCount>i.options.slidesToShow&&d("li",i.$dots).on("mouseenter.slick",d.proxy(i.interrupt,i,!0)).on("mouseleave.slick",d.proxy(i.interrupt,i,!1))},l.prototype.initSlideEvents=function(){var i=this;i.options.pauseOnHover&&(i.$list.on("mouseenter.slick",d.proxy(i.interrupt,i,!0)),i.$list.on("mouseleave.slick",d.proxy(i.interrupt,i,!1)))},l.prototype.initializeEvents=function(){var i=this;i.initArrowEvents(),i.initDotEvents(),i.initSlideEvents(),i.options.autoplay&&i.options.useAutoplayToggleButton&&i.$pauseButton.on("click.slick",i.autoPlayToggleHandler),i.$list.on("touchstart.slick mousedown.slick",{action:"start"},i.swipeHandler),i.$list.on("touchmove.slick mousemove.slick",{action:"move"},i.swipeHandler),i.$list.on("touchend.slick mouseup.slick",{action:"end"},i.swipeHandler),i.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},i.swipeHandler),i.$list.on("click.slick",i.clickHandler),d(document).on(i.visibilityChange,d.proxy(i.visibility,i)),d(window).on("orientationchange.slick.slick-"+i.instanceUid,d.proxy(i.orientationChange,i)),d(window).on("resize.slick.slick-"+i.instanceUid,d.proxy(i.resize,i)),d("[draggable!=true]",i.$slideTrack).on("dragstart",i.preventDefault),d(window).on("load.slick.slick-"+i.instanceUid,i.setPosition),d(i.setPosition)},l.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},l.prototype.lazyLoad=function(){var i,e,t,n=this;function o(i){d("img[data-lazy]",i).each(function(){var i=d(this),e=d(this).attr("data-lazy"),t=d(this).attr("data-srcset"),o=d(this).attr("data-sizes")||n.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){i.animate({opacity:0},100,function(){t&&(i.attr("srcset",t),o&&i.attr("sizes",o)),i.attr("src",e).animate({opacity:1},200,function(){i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,i,e])})},s.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,i,e])},s.src=e})}if(!0===n.options.centerMode?t=!0===n.options.infinite?(e=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(e=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),n.options.slidesToShow/2+1+2+n.currentSlide):(e=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,t=Math.ceil(e+n.options.slidesToShow),!0===n.options.fade&&(0<e&&e--,t<=n.slideCount&&t++)),i=n.$slider.find(".slick-slide").slice(e,t),"anticipated"===n.options.lazyLoad)for(var s=e-1,l=t,r=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)s<0&&(s=n.slideCount-1),i=(i=i.add(r.eq(s))).add(r.eq(l)),s--,l++;o(i),n.slideCount<=n.options.slidesToShow?o(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?o(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&o(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},l.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},l.prototype.next=l.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},l.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},l.prototype.pause=l.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},l.prototype.play=l.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},l.prototype.postSlide=function(i){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,i]),e.animating=!1,e.slideCount>e.options.slidesToShow&&e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),e.updateSlideVisibility())},l.prototype.prev=l.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},l.prototype.preventDefault=function(i){i.preventDefault()},l.prototype.progressiveLazyLoad=function(i){i=i||1;var e,t,o,s,n,l=this,r=d("img[data-lazy]",l.$slider);r.length?(e=r.first(),t=e.attr("data-lazy"),o=e.attr("data-srcset"),s=e.attr("data-sizes")||l.$slider.attr("data-sizes"),(n=document.createElement("img")).onload=function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,e,t]),l.progressiveLazyLoad()},n.onerror=function(){i<3?setTimeout(function(){l.progressiveLazyLoad(i+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,e,t]),l.progressiveLazyLoad())},n.src=t):l.$slider.trigger("allImagesLoaded",[l])},l.prototype.refresh=function(i){var e,t=this,o=t.slideCount-t.options.slidesToShow;!t.options.infinite&&t.currentSlide>o&&(t.currentSlide=o),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),e=t.currentSlide,t.destroy(!0),d.extend(t,t.initials,{currentSlide:e}),t.init(),i||t.changeSlide({data:{message:"index",index:e}},!1)},l.prototype.registerBreakpoints=function(){var i,e,t,o=this,s=o.options.responsive||null;if("array"===d.type(s)&&s.length){for(i in o.respondTo=o.options.respondTo||"window",s)if(t=o.breakpoints.length-1,s.hasOwnProperty(i)){for(e=s[i].breakpoint;0<=t;)o.breakpoints[t]&&o.breakpoints[t]===e&&o.breakpoints.splice(t,1),t--;o.breakpoints.push(e),o.breakpointSettings[e]=s[i].settings}o.breakpoints.sort(function(i,e){return o.options.mobileFirst?i-e:e-i})}},l.prototype.reinit=function(){var i=this;i.$slides=i.$slideTrack.children(i.options.slide).addClass("slick-slide"),i.slideCount=i.$slides.length,i.currentSlide>=i.slideCount&&0!==i.currentSlide&&(i.currentSlide=i.currentSlide-i.options.slidesToScroll),i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0),i.registerBreakpoints(),i.setProps(),i.setupInfinite(),i.buildArrows(),i.updateArrows(),i.initArrowEvents(),i.buildDots(),i.updateDots(),i.initDotEvents(),i.cleanUpSlideEvents(),i.initSlideEvents(),i.checkResponsive(!1,!0),i.setSlideClasses("number"==typeof i.currentSlide?i.currentSlide:0),i.setPosition(),i.focusHandler(),i.paused=!i.options.autoplay,i.autoPlay(),i.$slider.trigger("reInit",[i])},l.prototype.resize=function(){var i=this;d(window).width()!==i.windowWidth&&(clearTimeout(i.windowDelay),i.windowDelay=window.setTimeout(function(){i.windowWidth=d(window).width(),i.checkResponsive(),i.unslicked||i.setPosition()},50))},l.prototype.removeSlide=l.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},l.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled||(!(s={})===o.cssTransitions?s[o.animType]="translate("+e+", "+t+")":s[o.animType]="translate3d("+e+", "+t+", 0px)"),o.$slideTrack.css(s)},l.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},l.prototype.setFade=function(){var t,o=this;o.$slides.each(function(i,e){t=o.slideWidth*i*-1,!0===o.options.rtl?d(e).css({position:"relative",right:t,top:0,zIndex:o.options.zIndex-2,opacity:0}):d(e).css({position:"relative",left:t,top:0,zIndex:o.options.zIndex-2,opacity:0})}),o.$slides.eq(o.currentSlide).css({zIndex:o.options.zIndex-1,opacity:1})},l.prototype.setHeight=function(){var i,e=this;1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical&&(i=e.$slides.eq(e.currentSlide).outerHeight(!0),e.$list.css("height",i))},l.prototype.setOption=l.prototype.slickSetOption=function(){var i,e,t,o,s,n=this,l=!1;if("object"===d.type(arguments[0])?(t=arguments[0],l=arguments[1],s="multiple"):"string"===d.type(arguments[0])&&(o=arguments[1],l=arguments[2],"responsive"===(t=arguments[0])&&"array"===d.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)n.options[t]=o;else if("multiple"===s)d.each(t,function(i,e){n.options[i]=e});else if("responsive"===s)for(e in o)if("array"!==d.type(n.options.responsive))n.options.responsive=[o[e]];else{for(i=n.options.responsive.length-1;0<=i;)n.options.responsive[i].breakpoint===o[e].breakpoint&&n.options.responsive.splice(i,1),i--;n.options.responsive.push(o[e])}l&&(n.unload(),n.reinit())},l.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},l.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},l.prototype.setSlideClasses=function(i){var e,t,o,s,n=this,l=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true").attr("aria-label",function(){return d(this).attr("aria-label").replace(" (centered)","")});n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode?(o=n.options.slidesToShow%2==0?1:0,s=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(s<=i&&i<=n.slideCount-1-s?n.$slides.slice(i-s+o,i+s+1).addClass("slick-active").removeAttr("aria-hidden"):(e=n.options.slidesToShow+i,l.slice(e-s+1+o,e+s+2).addClass("slick-active").removeAttr("aria-hidden")),0===i?l.eq(n.options.slidesToShow+n.slideCount+1).addClass("slick-center").attr("aria-label",function(){return d(this).attr("aria-label")+" (centered)"}):i===n.slideCount-1&&l.eq(n.options.slidesToShow).addClass("slick-center").attr("aria-label",function(){return d(this).attr("aria-label")+" (centered)"})),n.$slides.eq(i).addClass("slick-center").attr("aria-label",function(){return d(this).attr("aria-label")+" (centered)"})):0<=i&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").removeAttr("aria-hidden"):l.length<=n.options.slidesToShow?l.addClass("slick-active").removeAttr("aria-hidden"):(t=n.slideCount%n.options.slidesToShow,e=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?l.slice(e-(n.options.slidesToShow-t),e+t).addClass("slick-active").removeAttr("aria-hidden"):l.slice(e,e+n.options.slidesToShow).addClass("slick-active").removeAttr("aria-hidden")),"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},l.prototype.setupInfinite=function(){var i,e,t,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(e=null,o.slideCount>o.options.slidesToShow)){for(t=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,i=o.slideCount;i>o.slideCount-t;--i)e=i-1,d(o.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(i=0;i<t+o.slideCount;i+=1)e=i,d(o.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){d(this).attr("id","")})}},l.prototype.interrupt=function(i){i||this.autoPlay(),this.interrupted=i},l.prototype.selectHandler=function(i){var e=d(i.target).is(".slick-slide")?d(i.target):d(i.target).parents(".slick-slide"),t=(t=parseInt(e.attr("data-slick-index")))||0;this.slideCount<=this.options.slidesToShow?this.slideHandler(t,!1,!0):this.slideHandler(t)},l.prototype.slideHandler=function(i,e,t){var o,s,n,l,r,a,d=this;if(e=e||!1,!(!0===d.animating&&!0===d.options.waitForAnimate||!0===d.options.fade&&d.currentSlide===i))if(!1===e&&d.asNavFor(i),o=i,r=d.getLeft(o),l=d.getLeft(d.currentSlide),d.currentLeft=null===d.swipeLeft?l:d.swipeLeft,!1===d.options.infinite&&!1===d.options.centerMode&&(i<0||i>d.getDotCount()*d.options.slidesToScroll))!1===d.options.fade&&(o=d.currentSlide,!0!==t&&d.slideCount>d.options.slidesToShow?d.animateSlide(l,function(){d.postSlide(o)}):d.postSlide(o));else if(!1===d.options.infinite&&!0===d.options.centerMode&&(i<0||i>d.slideCount-d.options.slidesToScroll))!1===d.options.fade&&(o=d.currentSlide,!0!==t&&d.slideCount>d.options.slidesToShow?d.animateSlide(l,function(){d.postSlide(o)}):d.postSlide(o));else{if(d.options.autoplay&&clearInterval(d.autoPlayTimer),s=o<0?d.slideCount%d.options.slidesToScroll!=0?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+o:o>=d.slideCount?d.slideCount%d.options.slidesToScroll!=0?0:o-d.slideCount:o,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,s]),n=d.currentSlide,d.currentSlide=s,d.setSlideClasses(d.currentSlide),d.options.asNavFor&&(a=(a=d.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(d.currentSlide),d.updateDots(),d.updateArrows(),!0===d.options.fade)return!0!==t?(d.fadeSlideOut(n),d.fadeSlide(s,function(){d.postSlide(s)})):d.postSlide(s),void d.animateHeight();!0!==t&&d.slideCount>d.options.slidesToShow?d.animateSlide(r,function(){d.postSlide(s)}):d.postSlide(s)}},l.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},l.prototype.swipeDirection=function(){var i=this,e=i.touchObject.startX-i.touchObject.curX,t=i.touchObject.startY-i.touchObject.curY,o=Math.atan2(t,e),s=Math.round(180*o/Math.PI);return s<0&&(s=360-Math.abs(s)),s<=45&&0<=s||s<=360&&315<=s?!1===i.options.rtl?"left":"right":135<=s&&s<=225?!1===i.options.rtl?"right":"left":!0===i.options.verticalSwiping?35<=s&&s<=135?"down":"up":"vertical"},l.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1;if(o.interrupted=!1,o.shouldClick=!(10<o.touchObject.swipeLength),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},l.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},l.prototype.swipeMove=function(i){var e,t,o,s,n,l=this,r=void 0!==i.originalEvent?i.originalEvent.touches:null;return!(!l.dragging||l.scrolling||r&&1!==r.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==r?r[0].pageX:i.clientX,l.touchObject.curY=void 0!==r?r[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),n=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&4<n?!(l.scrolling=!0):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=n),t=l.swipeDirection(),void 0!==i.originalEvent&&4<l.touchObject.swipeLength&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,(l.touchObject.edgeHit=!1)===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},l.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return!(t.touchObject={});void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},l.prototype.unfilterSlides=l.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},l.prototype.unload=function(){var i=this;d(".slick-cloned",i.$slider).remove(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove(),i.$nextArrow&&i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove(),i.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},l.prototype.unslick=function(i){this.$slider.trigger("unslick",[this,i]),this.destroy()},l.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2);!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").prop("disabled",!1),i.$nextArrow.removeClass("slick-disabled").prop("disabled",!1),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").prop("disabled",!0),i.$nextArrow.removeClass("slick-disabled").prop("disabled",!1)):(i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode||i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode)&&(i.$nextArrow.addClass("slick-disabled").prop("disabled",!0),i.$prevArrow.removeClass("slick-disabled").prop("disabled",!1)))},l.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").find("button").removeAttr("aria-current").end().end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active").find("button").attr("aria-current",!0).end().end())},l.prototype.updateSlideVisibility=function(){this.$slideTrack.find(".slick-slide").attr("aria-hidden","true").find("a, input, button, select").attr("tabindex","-1"),this.$slideTrack.find(".slick-active").removeAttr("aria-hidden").find("a, input, button, select").removeAttr("tabindex")},l.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},d.fn.slick=function(){for(var i,e=this,t=arguments[0],o=Array.prototype.slice.call(arguments,1),s=e.length,n=0;n<s;n++)if("object"==typeof t||void 0===t?e[n].slick=new l(e[n],t):i=e[n].slick[t].apply(e[n].slick,o),void 0!==i)return i;return e}});;
"use strict";document.addEventListener('DOMContentLoaded',function(event){var datepicker=document.querySelector('.pika-datepicker');if(datepicker){var datepickers=document.querySelectorAll('.pika-datepicker');datepickers.forEach(function(picker){var pikaday=new Pikaday({field:picker,format:'DD-MM-YYYY'});});}});"use strict";document.addEventListener('DOMContentLoaded',function(){var links=document.querySelectorAll('.rte a, .intro-block a');function fileExtensionCheck(input){var regex=/^.*\.(jpg|doc|docx|pptx|zip|xls|xlsx|pdf)$/gim;return regex.test(input.toLowerCase());}
function addExternalIcon(url,type){var hasIcon=url.querySelector('.icon--arrow-right');var hasTextWrapper=url.querySelector('.btn__text');var firstNode=url.childNodes[0];var itemToAppendTo=url;if(hasTextWrapper){firstNode=hasTextWrapper.childNodes[0];}
var textNode=firstNode.nodeValue.trim();var lastWord=textNode.trim().split(' ').at(-1);var lastIndexOfSpace=textNode.lastIndexOf(' ');if(hasIcon){hasIcon.classList.add('hidden');}
var wrapSpan=document.createElement('span');var externalIcon=document.createElementNS('http://www.w3.org/2000/svg','svg');url.classList.add('js-external');externalIcon.setAttribute('aria-hidden',true);externalIcon.setAttribute('viewBox','0 0 24 24');externalIcon.classList.add('js-last-wordwrap__icon');if(type==='external'){externalIcon.innerHTML='<path d="M6.25 4.5A1.75 1.75 0 0 0 4.5 6.25v11.5c0 .966.783 1.75 1.75 1.75h11.5a1.75 1.75 0 0 0 1.75-1.75v-4a.75.75 0 0 1 1.5 0v4A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25A3.25 3.25 0 0 1 6.25 3h4a.75.75 0 0 1 0 1.5h-4ZM13 3.75a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 .75.75v6.5a.75.75 0 0 1-1.5 0V5.56l-5.22 5.22a.75.75 0 0 1-1.06-1.06l5.22-5.22h-4.69a.75.75 0 0 1-.75-.75Z" fill="currentColor"/>';}else if(type==='file'){externalIcon.innerHTML='<path d="M5.25 20.5h13.498a.75.75 0 0 1 .101 1.493l-.101.007H5.25a.75.75 0 0 1-.102-1.494l.102-.006h13.498H5.25Zm6.633-18.498L12 1.995a1 1 0 0 1 .993.883l.007.117v12.59l3.294-3.293a1 1 0 0 1 1.32-.083l.094.084a1 1 0 0 1 .083 1.32l-.083.094-4.997 4.996a1 1 0 0 1-1.32.084l-.094-.083-5.004-4.997a1 1 0 0 1 1.32-1.498l.094.083L11 15.58V2.995a1 1 0 0 1 .883-.993L12 1.995l-.117.007Z" fill="currentColor"/>';}
wrapSpan.classList.add('js-last-wordwrap');if(hasTextWrapper){itemToAppendTo=hasTextWrapper;}
var newContent=document.createTextNode(textNode.substring(0,lastIndexOfSpace+1));itemToAppendTo.prepend(newContent);wrapSpan.prepend(lastWord);wrapSpan.append(externalIcon);itemToAppendTo.append(wrapSpan);itemToAppendTo.removeChild(firstNode);}
function isExternal(url){try{if(url.startsWith('/')||url.startsWith('mailto')||url.startsWith('tel')){return false;}else{return new URL(url).origin!==location.origin;}}catch(error){return true;}}
function addSrOnlyText(){if(translations){var srOnlySpan=document.createElement('span');srOnlySpan.classList.add('sr-only');srOnlySpan.innerHTML=translations.externalLinkDescription;return srOnlySpan;}}
links.forEach(function(link){var linkUrl=link.getAttribute('href');if(isExternal(linkUrl)){if(fileExtensionCheck(linkUrl)){addExternalIcon(link,'file');}else{addExternalIcon(link,'external');}
link.append(addSrOnlyText());}else if(fileExtensionCheck(linkUrl)){addExternalIcon(link,'file');}});});"use strict";document.addEventListener('DOMContentLoaded',function(event){var switcher=document.querySelector('.view-switcher');var newsGrid=document.querySelector('.news-grid');if(switcher&&newsGrid){var viewToggles=document.querySelectorAll('.view-switcher__toggle');var listviewToggle=document.querySelector('.view-switcher__toggle--list');viewToggles.forEach(function(toggle){toggle.addEventListener('click',function(e){viewSwitcher(toggle);});});if(localStorage.getItem('listView')==='true'){listviewToggle.click();}}});function viewSwitcher(toggle){var cardviewToggle=document.querySelector('.view-switcher__toggle--card');var listviewToggle=document.querySelector('.view-switcher__toggle--list');var newsGrid=document.querySelector('.news-grid');if(toggle.classList.contains('view-switcher__toggle--card')){newsGrid.classList.remove('news-grid--list');listviewToggle.classList.remove('js-active');cardviewToggle.classList.add('js-active');listviewToggle.setAttribute('aria-pressed',false);cardviewToggle.setAttribute('aria-pressed',true);localStorage.setItem('listView',false);}else{newsGrid.classList.add('news-grid--list');listviewToggle.classList.add('js-active');cardviewToggle.classList.remove('js-active');listviewToggle.setAttribute('aria-pressed',true);cardviewToggle.setAttribute('aria-pressed',false);localStorage.setItem('listView',true);}}"use strict";$(document).ready(function(){$('.carousel-for').slick({slidesToShow:1,slidesToScroll:1,arrows:true,fade:false,infinite:false,asNavFor:'.carousel-nav',regionLabel:'Hoofdslider met afbeeldingen'});$('.carousel-nav').slick({slidesToShow:6,slidesToScroll:1,draggable:false,swipe:false,infinite:false,arrows:false,touchMove:false,asNavFor:'.carousel-for',dots:false,centerMode:false,regionLabel:'Navigatieslider'});});$('button[data-slide]').click(function(e){var slideno=$(this).data('slide');$('.carousel-nav').slick('slickGoTo',slideno-1);});"use strict";function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function e(_e){throw _e;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o);},n:function n(){var step=it.next();normalCompletion=step.done;return step;},e:function e(_e2){didErr=true;err=_e2;},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]();}finally{if(didErr)throw err;}}};}
function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}
function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}
document.addEventListener('DOMContentLoaded',function(){var cookieConsent=document.querySelector('.cookie-consent');var cookieConsentOpenBtns=document.querySelectorAll('[data-cookie-consent="open"]');var allowEmbedCookiesBtns=document.querySelectorAll('.cookie-placeholder [data-cookie-consent="allow-cookies"]');var cookieConsentObj={};function trapFocusCookieConsent(element){var focusableEls=element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), input[type="checkbox"]:not([disabled])');var firstFocusableEl=focusableEls[0];var lastFocusableEl=focusableEls[focusableEls.length-1];var KEYCODE_TAB=9;element.addEventListener('keydown',function(e){var isTabPressed=e.key==='Tab'||e.keyCode===KEYCODE_TAB;if(!isTabPressed){return;}
if(e.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focus();e.preventDefault();}}else if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();e.preventDefault();}});}
function writeCookie(cName,cValue,expDays){var date=new Date();date.setTime(date.getTime()+expDays*24*60*60*1000);var expires="expires=".concat(date.toUTCString());document.cookie="".concat(cName,"=").concat(cValue,"; ").concat(expires,"; path=/; SameSite = Lax; Secure = true");}
function getCookieCategories(){var cookieCategories=document.querySelectorAll('[data-cookie-consent="options"] input[type="checkbox"]');cookieCategories.forEach(function(checkbox){var checked=checkbox.checked;var cookieCategory=checkbox.dataset.cookieCategory;cookieConsentObj[cookieCategory]=checked;});}
function getCookie(cName){var name="".concat(cName,"=");var cDecoded=decodeURIComponent(document.cookie);var cArr=cDecoded.split('; ');var res;cArr.forEach(function(val){if(val.indexOf(name)===0)res=val.substring(name.length);});return res;}
function setCookies(setToTrue){if(setToTrue==='all'){for(var keyName in cookieConsentObj){if(Object.prototype.hasOwnProperty.call(cookieConsentObj,keyName)){cookieConsentObj[keyName]=true;}}}else if(setToTrue==='required'){var cookieCategories=document.querySelectorAll('[data-cookie-consent="options"] input[type="checkbox"]');cookieCategories.forEach(function(checkbox){var cookieRequired=checkbox.dataset.cookieRequired;var cookieCategory=checkbox.dataset.cookieCategory;cookieConsentObj[cookieCategory]=cookieRequired;if(cookieRequired){cookieConsentObj[cookieCategory]=true;}else{cookieConsentObj[cookieCategory]=false;}});}else{for(var _keyName in cookieConsentObj){if(Object.prototype.hasOwnProperty.call(cookieConsentObj,_keyName)){cookieConsentObj[_keyName]=_keyName===setToTrue;}}}
writeCookie('CookieConsentDNB',modifyJson(cookieConsentObj),365);if(cookieConsent){cookieConsent.classList.add('js-hidden');}
window.location.reload();}
function modifyJson(cookieConsentObj){return encodeURIComponent(JSON.stringify(cookieConsentObj));}
function setActiveCheckbox(){var cookieConsentJson=getCookie('CookieConsentDNB');if(!cookieConsentJson){return;}
var cookieConsentJsonObj=JSON.parse(cookieConsentJson);var cookieCategories=document.querySelectorAll('[data-cookie-consent="options"] input[type="checkbox"]');var _iterator=_createForOfIteratorHelper(cookieCategories),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var cookieCategory=_step.value;var keyName=cookieCategory.value;if(Object.prototype.hasOwnProperty.call(cookieConsentObj,keyName)){cookieCategory.checked=cookieConsentJsonObj[keyName];}}}catch(err){_iterator.e(err);}finally{_iterator.f();}}
function saveCookieSettings(){setCookies('required');var checkedCookies=cookieConsent.querySelectorAll('.cookie-consent__options input[type="checkbox"]:checked');checkedCookies.forEach(function(checkbox){var checked=checkbox.checked;var cookieCategory=checkbox.dataset.cookieCategory;cookieConsentObj[cookieCategory]=checked;});writeCookie('CookieConsentDNB',modifyJson(cookieConsentObj),365);}
function openCookieConsent(){cookieConsent.classList.remove('js-hidden');trapFocusCookieConsent(cookieConsent);}
if(cookieConsentOpenBtns){var _iterator2=_createForOfIteratorHelper(cookieConsentOpenBtns),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var cookieConsentOpenBtn=_step2.value;cookieConsentOpenBtn.addEventListener('click',function(){openCookieConsent();});}}catch(err){_iterator2.e(err);}finally{_iterator2.f();}}
if(allowEmbedCookiesBtns){var _iterator3=_createForOfIteratorHelper(allowEmbedCookiesBtns),_step3;try{var _loop=function _loop(){var embedBlockBtn=_step3.value;embedBlockBtn.addEventListener('click',function(){var cookieType=embedBlockBtn.getAttribute('data-cookie-consent-category');var checkedCookies=cookieConsent.querySelectorAll('.cookie-consent__options input[type="checkbox"]:checked');checkedCookies.forEach(function(_ref){var value=_ref.value,checked=_ref.checked;cookieConsentObj[value]=checked;});cookieConsentObj[cookieType]=true;writeCookie('CookieConsentDNB',modifyJson(cookieConsentObj),365);window.location.reload();});};for(_iterator3.s();!(_step3=_iterator3.n()).done;){_loop();}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}}
if(cookieConsent){getCookieCategories();setActiveCheckbox();var basicWrapper=cookieConsent.querySelector('.cookie-consent__basic');var advancedWrapper=cookieConsent.querySelector('.cookie-consent__advanced');var showSettingsBtn=cookieConsent.querySelector('.js-cookie-consent-settings');var closeSettingsBtn=cookieConsent.querySelector('.js-btn-close-settings');var saveSettingsBtn=cookieConsent.querySelector('[data-cookie-consent="save-settings"]');var acceptAllBtn=cookieConsent.querySelector('[data-cookie-consent="accept-all"]');var acceptNecessary=cookieConsent.querySelector('[data-cookie-consent="accept-necessary"]');trapFocusCookieConsent(basicWrapper);setTimeout(function(){acceptAllBtn.focus();},0);acceptAllBtn.addEventListener('click',function(){setCookies('all');});acceptNecessary.addEventListener('click',function(){setCookies('required');});showSettingsBtn.addEventListener('click',function(){cookieConsent.classList.add('js-advanced-open');trapFocusCookieConsent(advancedWrapper);});saveSettingsBtn.addEventListener('click',function(){saveCookieSettings();});closeSettingsBtn.addEventListener('click',function(){cookieConsent.classList.remove('js-advanced-open');trapFocusCookieConsent(basicWrapper);acceptAllBtn.focus();});if(!getCookie('CookieConsentDNB')){cookieConsent.classList.remove('js-hidden');}}});"use strict";document.addEventListener('DOMContentLoaded',function(event){var inPageNav=document.querySelector('.inpage-nav');var ID=function ID(){return'id'+Math.random().toString(36).substr(2,9);};if(inPageNav){var headings=document.querySelectorAll('.main-grid-layout__content h2:not(.related-articles h2):not(.sidebar-components h2)');if(!headings.length==0){var navList=document.createElement('ul');document.querySelector('#inpage-nav').appendChild(navList);headings.forEach(function(heading){var headingText=heading.innerHTML;var uniqueID=ID();heading.setAttribute('id',uniqueID);heading.classList.add('scroll-top');var navListItem=document.createElement('li');navListItem.classList.add('inpage-nav__listitem');var navListLink=document.createElement('a');navListLink.innerHTML=headingText;navListLink.setAttribute('href','#'+uniqueID);navListLink.setAttribute('data-id',uniqueID);navListItem.appendChild(navListLink);document.querySelector('#inpage-nav ul').appendChild(navListItem);});var inPageTrigger=inPageNav.querySelector('.inpage-nav__trigger');inPageTrigger.addEventListener('click',function(){var hasClass=inPageNav.classList.contains('js-active');inPageNav.classList.toggle('js-active');document.querySelector('body').classList.toggle('js-overlay');inPageTrigger.setAttribute('aria-expanded',!hasClass);});var inPageNavListLinks=document.querySelectorAll('.inpage-nav__listitem a');inPageNavListLinks.forEach(function(item){item.addEventListener('click',function(){closeMobileInPageNav();var itemHref=item.getAttribute('data-id');document.getElementById(itemHref).focus();});});document.addEventListener('click',function(event){var targetElement=inPageNav.contains(event.target);if(!targetElement){closeMobileInPageNav();}});inPageNav.addEventListener('focusout',function(event){if(inPageNav.contains(event.relatedTarget))return;closeMobileInPageNav();});}else{inPageNav.classList.add('hidden');}}});function closeMobileInPageNav(){var inPageNav=document.querySelector('.inpage-nav');var inPageTrigger=inPageNav.querySelector('.inpage-nav__trigger');inPageNav.classList.remove('js-active');inPageTrigger.setAttribute('aria-expanded','false');document.querySelector('body').classList.remove('js-overlay');}"use strict";document.addEventListener('DOMContentLoaded',function(){var navbar=document.querySelector('.main-navigation');if(navbar){var navbarHeight=navbar.offsetHeight;var navbarTop=document.querySelector('.main-navigation__top-wrapper');if(navbarTop){var navbarHiding=function navbarHiding(fn){var lastScrollTop=0;var ticking=false;window.addEventListener('scroll',function(){var currentScrollTop=lastScrollTop;lastScrollTop=window.scrollY;if(!ticking){window.requestAnimationFrame(function(){fn(lastScrollTop,currentScrollTop);ticking=false;});ticking=true;}});};var navbarTopHeight=navbarTop.offsetHeight;var root=document.documentElement;root.style.setProperty('--navbarTopHeight',navbarTopHeight+'px');window.addEventListener('resize',function(){var navbarTop=document.querySelector('.main-navigation__top-wrapper');if(navbarTop){var _navbarTopHeight=navbarTop.offsetHeight;root.style.setProperty('--navbarTopHeight',_navbarTopHeight+'px');}});navbarHiding(function(currentScrollTop,lastScrollTop){if(currentScrollTop>lastScrollTop&&currentScrollTop>navbarHeight*2){navbar.classList.add('js-fade-up');}else{navbar.classList.remove('js-fade-up');}});}}});"use strict";document.addEventListener('DOMContentLoaded',function(event){var navigation=document.querySelector('.main-navigation');if(navigation){var hamburger=navigation.querySelector('.mobile-menu-trigger');var mainNavigation=navigation.querySelector('.main-navigation__list');var mainNavigationItems=navigation.querySelectorAll('.main-navigation__list .main-navigation__listitem');hamburger.addEventListener('click',function(){if(hamburger.classList.contains('js-active')){closeMenu();}else{hamburger.classList.add('js-active');hamburger.setAttribute('aria-expanded',true);mainNavigation.classList.add('js-visible');checkIfActive();}});window.addEventListener('click',function(e){var target=e.target;if(!target.closest('.main-navigation__listwrapper, .mobile-menu-trigger, .util-nav__item, .main-navigation__go-back')&&navigation.classList.contains('js-nav-open')){closeMenu();}});mainNavigationItems.forEach(function(item){var hasChildren=item.querySelector('ul');item.setAttribute('id',generateId());if(hasChildren){var toggleMenuItemOnClick=function toggleMenuItemOnClick(){var parentElement=item.parentNode.parentNode;var siblings=parentElement.querySelector('ul').children;var children=item.querySelectorAll('.has-sub');closeUtilItems();for(var i=siblings.length-1;i>=0;i--){if(siblings[i].classList.contains('has-sub')&&siblings[i]!==item){setSubmenuState(siblings[i],'hide');siblings[i].querySelectorAll('.has-sub').forEach(function(child){setSubmenuState(child,'hide');});}}
if(item.classList.contains('js-active')){setSubmenuState(item,'hide');children.forEach(function(child){setSubmenuState(child,'hide');});}else{setSubmenuState(item,'show');}
backButton.addEventListener('click',function(){setSubmenuState(item,'hide');if(hasChildren.classList.contains('main-navigation__3rd-level')){mainNavigation.classList.remove('js-active--3rd-level');mainNavigation.classList.add('js-active--sub-sub','js-sub-open');backButton.closest('.main-navigation__sub-navigation').querySelector('.main-navigation__prev-level button').focus();}else if(hasChildren.classList.contains('main-navigation__sub-sub-navigation')){mainNavigation.classList.remove('js-active--sub-sub');mainNavigation.classList.add('js-active--sub','js-sub-open');backButton.closest('.main-navigation__sub-navigation').querySelector('.main-navigation__prev-level button').focus();}else{mainNavigation.classList.remove('js-sub-open','js-active--sub');backButton.closest('.main-navigation__list').querySelector('.main-navigation__listitem > *').focus();}
checkIfActive();});if(hasChildren.classList.contains('main-navigation__3rd-level')){mainNavigation.classList.remove('js-active--sub-sub');mainNavigation.classList.add('js-active--3rd-level','js-sub-open');}else if(hasChildren.classList.contains('main-navigation__sub-navigation')){mainNavigation.classList.remove('js-active--sub-sub','js-active--3rd-level');mainNavigation.classList.add('js-active--sub','js-sub-open');}else{mainNavigation.classList.remove('js-active--sub','.js-active--3rd-level');mainNavigation.classList.add('js-active--sub-sub');}
checkIfActive();};item.classList.add('has-sub');var button=item.querySelector('button');var id=item.getAttribute('id');var backButton=item.querySelector('.main-navigation__prev-level button');button.addEventListener('click',function(){toggleMenuItemOnClick();});}});}});function generateId(){return'_'+Math.random().toString(36).substr(2,9);}
function resetMenuItems(){var mainNavigation=document.querySelector('.main-navigation__list');var mainNavigationItems=mainNavigation.querySelectorAll('.main-navigation__list .main-navigation__listitem');mainNavigationItems.forEach(function(item){var submenu=item.querySelector('ul');if(submenu){setSubmenuState(item,'hide');mainNavigation.classList.remove('js-active--sub','js-active--sub-sub','js-sub-open');}});}
function checkIfActive(){var navigation=document.querySelector('.main-navigation');var mainNavigation=navigation.querySelector('.main-navigation__list');var mainNavigationItems=mainNavigation.querySelectorAll('.main-navigation__list .main-navigation__listitem');var hamburger=navigation.querySelector('.mobile-menu-trigger');var totalActiveItems=0;mainNavigationItems.forEach(function(item){if(item.classList.contains('js-active')){totalActiveItems++;}});if(totalActiveItems>0||hamburger.classList.contains('js-active')){closeUtilItems();if(hamburger.classList.contains('js-active')){var activeListItems=document.querySelectorAll('.main-navigation__listitem.js-active');if(activeListItems.length>0){var deepestActiveItem=activeListItems[activeListItems.length-1];trapFocus(deepestActiveItem);}else{trapFocus(document.querySelector('.main-navigation__listwrapper'));}}
navigation.classList.add('js-nav-open');document.querySelector('body').classList.add('js-overlay');}else{navigation.classList.remove('js-nav-open');document.querySelector('body').classList.remove('js-overlay');if(document.querySelector('.main-navigation').classList.contains('js-nav-open-search')){document.querySelector('.main-navigation').classList.remove('js-nav-open-search');}}}
function setSubmenuState(element,state){var button=element.querySelector('button');var submenu=element.querySelector('ul');if(state=='hide'){element.classList.remove('js-active');button.setAttribute('aria-expanded',false);submenu.setAttribute('aria-hidden',true);}else{element.classList.add('js-active');button.setAttribute('aria-expanded',true);submenu.setAttribute('aria-hidden',false);}}
function closeMenu(){var navigation=document.querySelector('.main-navigation');var mainNavigation=navigation.querySelector('.main-navigation__list');var hamburger=navigation.querySelector('.mobile-menu-trigger');hamburger.classList.remove('js-active');hamburger.setAttribute('aria-expanded',false);mainNavigation.classList.remove('js-visible');resetMenuItems();checkIfActive();}
function trapFocus(element){var mainNavigationList=document.querySelector('.main-navigation__list');var focusableEls='';if(mainNavigationList.classList.contains('js-active--sub')){focusableEls=element.querySelectorAll('.main-navigation__sub-navigation > li > a[href]:not([disabled]), .main-navigation__sub-navigation > li > ul > li > a[href]:not([disabled]), .main-navigation__sub-navigation > li > button:not([disabled]):not(.js-hidden), .main-navigation__sub-navigation > li > ul > li > button:not([disabled]):not(.js-hidden)');}else if(mainNavigationList.classList.contains('js-active--sub-sub')){focusableEls=element.querySelectorAll('.main-navigation__sub-sub-navigation > li > a[href]:not([disabled]), .main-navigation__sub-sub-navigation > li > ul > li > a[href]:not([disabled]), .main-navigation__sub-sub-navigation > li > button:not([disabled]):not(.js-hidden), .main-navigation__sub-sub-navigation > li > ul > li > button:not([disabled]):not(.js-hidden)');}else{focusableEls=element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]):not(.js-hidden)');}
var firstFocusableEl=focusableEls[0];var lastFocusableEl=focusableEls[focusableEls.length-1];var KEYCODE_TAB=9;element.addEventListener('keydown',function(e){var isTabPressed=e.key==='Tab'||e.keyCode===KEYCODE_TAB;if(!isTabPressed){return;}
if(e.shiftKey){if(document.activeElement===firstFocusableEl&&!mainNavigationList.classList.contains('js-sub-open')){closeMenu();}else if(document.activeElement===firstFocusableEl&&mainNavigationList.classList.contains('js-sub-open')){firstFocusableEl.focus();e.preventDefault();}}else{if(document.activeElement===lastFocusableEl&&!mainNavigationList.classList.contains('js-sub-open')){closeMenu();}else if(document.activeElement===lastFocusableEl&&mainNavigationList.classList.contains('js-sub-open')){firstFocusableEl.focus();e.preventDefault();}}});}"use strict";document.addEventListener('DOMContentLoaded',function(){var searchBox=document.querySelector('.main-navigation__search');var searchTrigger=document.querySelector('.main-navigation__search__trigger');var closeSearchTrigger=document.querySelector('.main-navigation__search__trigger--close');function openSearchDesktop(){var mainNav=document.querySelector('.main-navigation');var searchInput=searchBox.querySelector('.prominent-searchbox__input');searchBox.classList.add('js-search-open');mainNav.classList.add('js-menu-overlay');searchTrigger.setAttribute('aria-expanded','true');searchInput.focus();document.querySelector('body').classList.add('js-search-overlay');}
function closeSearchDesktop(){var mainNav=document.querySelector('.main-navigation');var searchInput=searchBox.querySelector('.prominent-searchbox__input');if(searchBox.classList.contains('js-search-open')){searchBox.classList.remove('js-search-open');mainNav.classList.remove('js-menu-overlay');searchTrigger.setAttribute('aria-expanded','false');searchInput.blur();document.querySelector('body').classList.remove('js-search-overlay');}}
if(searchTrigger){window.addEventListener('click',function(e){var target=e.target;if(!target.closest('.main-navigation__search')){closeSearchDesktop();}});searchTrigger.addEventListener('click',function(){if(!searchBox.classList.contains('js-search-open')){openSearchDesktop();}else{closeSearchDesktop();}});closeSearchTrigger.addEventListener('click',function(){closeSearchDesktop();});searchTrigger.addEventListener('focus',function(){closeMenu();});searchBox.addEventListener('focusout',function(e){if(!searchBox.contains(e.relatedTarget||e.target)){closeSearchDesktop();}});document.addEventListener('keydown',function(e){if(e.key==='Escape'){closeSearchDesktop();}});}});"use strict";document.addEventListener('DOMContentLoaded',function(event){var newsBanner=document.querySelector('.news-banner');if(newsBanner){var setCookie=function setCookie(){localStorage.setItem(uniqueId,true);newsBanner.classList.add('js-hidden');};var triggerButtons=document.querySelectorAll('.news-banner__close, .news-banner__deny, .news-banner__cta');var uniqueId=newsBanner.dataset.id;if(localStorage.getItem(uniqueId)==='true'){newsBanner.classList.add('js-hidden');};triggerButtons.forEach(function(button){button.addEventListener('click',function(){setCookie();});});}});"use strict";document.addEventListener('DOMContentLoaded',function(){var overflowMenus=document.querySelectorAll('.overflow-menu');var currentOpenMenu=null;var currentOpenMenuTrigger=null;function closeOverflowMenu(){currentOpenMenu.classList.remove('js-open');currentOpenMenuTrigger.setAttribute('aria-expanded',false);currentOpenMenu=null;currentOpenMenuTrigger=null;}
function toggleOverflowMenu(menu,trigger){var isOpen=menu.classList.contains('js-open');if(currentOpenMenu===null){currentOpenMenu=menu;currentOpenMenuTrigger=trigger;}else{currentOpenMenu=null;currentOpenMenuTrigger=null;}
menu.classList.toggle('js-open');trigger.setAttribute('aria-expanded',!isOpen);}
if(overflowMenus){overflowMenus.forEach(function(overflowMenu){var overflowMenuTrigger=overflowMenu.querySelector('.overflow-menu__trigger');overflowMenuTrigger.addEventListener('click',function(){return toggleOverflowMenu(overflowMenu,overflowMenuTrigger);});overflowMenu.addEventListener('focusout',function(e){if(!overflowMenu.contains(e.relatedTarget||e.target)){closeOverflowMenu(overflowMenu,overflowMenuTrigger);}});});document.addEventListener('click',function(e){if(currentOpenMenu!==null&&!currentOpenMenu.contains(e.target)){closeOverflowMenu();}});document.addEventListener('keydown',function(e){if(e.key==='Escape'&&currentOpenMenu!==null){closeOverflowMenu();}});}});"use strict";document.addEventListener('DOMContentLoaded',function(){var today=new Date();var currentHour=today.getHours();var prominentSearchbox=document.querySelector('.prominent-searchbox');var morningMessage=document.querySelector('.prominent-searchbox__title.morning');if(morningMessage){var afternoonMessage=document.querySelector('.prominent-searchbox__title.afternoon');var eveningMessage=document.querySelector('.prominent-searchbox__title.evening');if(currentHour<12){morningMessage.classList.remove('hidden');morningMessage.classList.remove('rs_skip');}else if(currentHour<18){afternoonMessage.classList.remove('hidden');morningMessage.classList.remove('rs_skip');}else{eveningMessage.classList.remove('hidden');morningMessage.classList.remove('rs_skip');}}});"use strict";document.addEventListener('DOMContentLoaded',function(){var filters=document.querySelector('.filters-wrapper');var filterItems=document.querySelectorAll('.filter__item');if(filters){var initSearchBox=function initSearchBox(searchBox){searchBox.forEach(function(element){element.classList.add('js-active');});};filterItems.forEach(function(element){var filtersEl=element.querySelector('.filter__item__foldout');var items=filtersEl.querySelectorAll('.form-group--checkbox');var searchBox=filtersEl.querySelectorAll('.searchbox__filter');if(items.length>8){initSearchBox(searchBox);}});var searchBoxFilters=document.querySelectorAll('.searchbox__filter');if(searchBoxFilters.length>0){var filterResults=function filterResults(filterValue,item){var navIndex=0;for(var i=0;i<item.length;i++){var label=item[i].getElementsByTagName('label')[0];if(label.innerHTML.toUpperCase().indexOf(filterValue)>-1){navIndex++;item[i].classList.remove('js-hidden');item[i].classList.add('js-active');item[i].setAttribute('data-filter',navIndex);}else{item[i].classList.add('js-hidden');item[i].classList.remove('js-active');item[i].removeAttribute('data-filter');}}};searchBoxFilters.forEach(function(searchForm){var input=searchForm.querySelector('input');var parent=input.closest('.filter__item__foldout');var items=parent.querySelectorAll('.form-group--checkbox');input.addEventListener('input',function(e){var filterValue=e.target.value.toUpperCase();filterResults(filterValue,items);if(input.value.length==0){resetSuggestions();}});input.addEventListener('keydown',function(e){if(input.value.length!==0){if(e.key=='ArrowDown'){e.preventDefault();getActiveCheckbox(parent,'down',input);}
if(e.key=='Escape'){e.preventDefault();resetSuggestions();}}});document.addEventListener('click',function(e){if(e.target.closest('.filter__item.js-active'))return;filterResults(input.value='',items);resetSuggestions();});});}}});function getActiveCheckbox(parent,direction,input){var items=parent.querySelectorAll('[data-filter]');if(direction=='down'&&items.length!==0){items[0].querySelector('input').focus();}
items.forEach(function(element,index){element.querySelector('input').addEventListener('keydown',function(e){if(e.key=='ArrowDown'&&index<=items.length-2){document.activeElement===items[index+1].querySelector('label').focus();e.preventDefault();}
if(e.key=='ArrowUp'){if(index===0){input.focus();return;}
document.activeElement===items[index-1].querySelector('label').focus();e.preventDefault();}});});}
function resetSuggestions(){var searchBoxes=document.querySelectorAll('.searchbox__filter');var items=document.querySelectorAll('.form-group--checkbox');items.forEach(function(item){item.classList.remove('js-focus','js-hidden');});searchBoxes.forEach(function(searchForm){var input=searchForm.querySelector('input');input.value='';});}"use strict";document.addEventListener('DOMContentLoaded',function(){var socialSharing=document.querySelector('.social-sharing');if(!socialSharing)return;var copyButton=socialSharing.querySelector('.social-sharing__item--copy');if(!copyButton)return;var popover=copyButton.querySelector('.copy-link-popover');if(!popover)return;var isVisible=false;var togglePopover=function togglePopover(){isVisible=!isVisible;popover.hidden=!isVisible;if(isVisible){var url=window.location.href;navigator.clipboard.writeText(url)["catch"](function(){});setTimeout(function(){isVisible=false;popover.hidden=true;},1000);}};copyButton.addEventListener('click',togglePopover);});"use strict";document.addEventListener('DOMContentLoaded',function(event){var tabPanels=document.querySelectorAll('.tab-panel');var tabs=document.querySelectorAll('[role="tab"]');var tabList=document.querySelector('[role="tablist"]');if(tabList){tabs.forEach(function(tab){tab.addEventListener('click',changeTabs);});tabs[0].click();var tabFocus=0;tabList.addEventListener('keydown',function(e){if(e.keyCode===39||e.keyCode===37||e.keyCode===40||e.keyCode===38){tabs[tabFocus].setAttribute('tabindex',-1);if(e.keyCode===39||e.keyCode===40){tabFocus++;if(tabFocus>=tabs.length){tabFocus=0;}}else if(e.keyCode===37||e.keyCode===38){tabFocus--;if(tabFocus<0){tabFocus=tabs.length-1;}}
tabs[tabFocus].setAttribute('tabindex',0);tabs[tabFocus].focus();}});}});function changeTabs(e){var target=e.target;var parent=target.parentNode;var grandparent=parent.parentNode;parent.querySelectorAll('[aria-selected="true"]').forEach(function(tab){return tab.setAttribute('aria-selected',false);});target.setAttribute('aria-selected',true);grandparent.querySelectorAll('[role="tabpanel"]').forEach(function(panel){panel.setAttribute('hidden',true);panel.classList.remove('js-active');});grandparent.parentNode.querySelector("#".concat(target.getAttribute("aria-controls"))).removeAttribute('hidden');grandparent.parentNode.querySelector("#".concat(target.getAttribute("aria-controls"))).classList.add('js-active');}"use strict";document.addEventListener('DOMContentLoaded',function(event){var poll=document.querySelector('.poll-block');if(poll){var pollVoting=poll.querySelector('.poll-block__voting');var pollResults=poll.querySelector('.poll-block__results');var pollSubmit=poll.querySelector('.poll-block__submit');pollSubmit.addEventListener('click',function(e){pollVoting.classList.add('js-inactive');pollResults.classList.add('js-active');});}});"use strict";document.addEventListener('DOMContentLoaded',function(event){var sortableTable=document.querySelector('.datatable');if(sortableTable){var sortableTables=document.querySelectorAll('.datatable');sortableTables.forEach(function(table){var tableSelector=table.querySelector('table');if(table.classList.contains('datatable--paged')){$(tableSelector).DataTable();}else{$(tableSelector).DataTable({paging:false,info:false,searching:false});}});}});"use strict";window.onload=function(){if(typeof Tobii!=='undefined'){var tobii=new Tobii({zoomText:'<svg width="157px" height="159px" aria-hidden="true" viewBox="0 0 157 159" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g fill="currentColor" fill-rule="nonzero"><path d="M67.4049928,78.2421299 L78.8550072,89.4178701 L26.869,142.67913 L65.9,142.68 L65.9,158.68 L0,158.68 L0,92.78 L16,92.78 L16,130.90813 L67.4049928,78.2421299 Z"></path><path d="M156.34,0 L156.34,65.9 L140.34,65.9 L140.339146,27.573 L89.0668542,78.8468542 L77.7531458,67.5331458 L129.286146,16 L90.44,16 L90.44,0 L156.34,0 Z"></path></g></g></svg>',autoplayVideo:true});}};"use strict";document.addEventListener('DOMContentLoaded',function(event){var videoBlock=document.querySelector('.video-block .js-video-trigger');if(videoBlock){var videoBlocks=document.querySelectorAll('.video-block__video-wrapper');videoBlocks.forEach(function(videoItem){var videoTrigger=videoItem.querySelector('.js-video-trigger');var videoContainer=videoItem.querySelector('.video-container');var inCampaignHero=videoItem.closest('.campaign-hero');if(videoTrigger){videoTrigger.addEventListener('click',function(e){e.preventDefault();videoTrigger.setAttribute('disabled','disabled');if(videoItem.classList.contains('iframe')){var iFrameSrc=videoContainer.dataset.src;var iFramesrcAutoplay=iFrameSrc+(iFrameSrc.indexOf('?')>=0?'&':'?')+'autoplay=1';var iFrame=document.createElement('iframe');iFrame.setAttribute('allowFullScreen','true');iFrame.setAttribute('webkitallowfullscreen','true');iFrame.setAttribute('mozallowfullscreen','true');iFrame.setAttribute('src',iFramesrcAutoplay);videoTrigger.classList.add('js-is-loading');videoContainer.appendChild(iFrame);iFrame.addEventListener('load',function(){videoTrigger.classList.add('js-fade-out');videoContainer.classList.remove('hidden');videoContainer.querySelector('iframe').focus();if(inCampaignHero){inCampaignHero.querySelector('h2').classList.add('hidden');}});}
else{videoTrigger.classList.add('js-fade-out');videoContainer.classList.remove('hidden');videoContainer.querySelector('video').focus();videoContainer.querySelector('video').play();}
videoTrigger.setAttribute('aria-hidden','true');});}});}});"use strict";document.addEventListener('DOMContentLoaded',function(){var accordion=document.querySelector('.accordion');if(accordion){var accordionItems=document.querySelectorAll('.accordion__item');accordionItems.forEach(function(accordionItem){var accordionButton=accordionItem.querySelector('.accordion__trigger button');var accordionAnswer=accordionItem.querySelector('.accordion__answer');accordionButton.addEventListener('click',function(e){var target=e.target;var hasClass=accordionItem.classList.contains('js-active');accordionItem.classList.toggle('js-active');target.setAttribute('aria-expanded',!hasClass);accordionAnswer.setAttribute('aria-hidden',hasClass);});});}});"use strict";function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}
function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}
function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value" in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}
function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}
function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}
function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}
document.addEventListener('DOMContentLoaded',function(){var accordionCategoriesBlock=document.querySelector('.accordion-categories-block');if(accordionCategoriesBlock){var tabs=document.querySelectorAll('.accordion-filters__listitem__button');var mobileSelect=document.querySelector('.accordion-filters .form-control-select');var tabPanels=document.querySelectorAll('.accordion-items__set');mobileSelect.addEventListener('change',function(){var selectedOption=mobileSelect.value;tabPanels.forEach(function(panel){panel.classList.remove('js-active');});document.getElementById(selectedOption).classList.add('js-active');});tabs.forEach(function(tab){tab.addEventListener('click',function(el){tabs.forEach(function(tab){tab.setAttribute('aria-selected','false');});this.setAttribute('aria-selected','true');var tabPanelToOpen=this.getAttribute('data-faq-cat');tabPanels.forEach(function(panel){panel.classList.remove('js-active');});document.getElementById(tabPanelToOpen).classList.add('js-active');});});}
var TabsManual=function(){function TabsManual(groupNode){_classCallCheck(this,TabsManual);this.tablistNode=groupNode;this.tabs=[];this.firstTab=null;this.lastTab=null;this.tabs=Array.from(this.tablistNode.querySelectorAll('[role=tab]'));this.tabpanels=[];for(var i=0;i<this.tabs.length;i+=1){var tab=this.tabs[i];var tabpanel=document.getElementById(tab.getAttribute('aria-controls'));tab.tabIndex=-1;tab.setAttribute('aria-selected','false');this.tabpanels.push(tabpanel);tab.addEventListener('keydown',this.onKeydown.bind(this));tab.addEventListener('click',this.onClick.bind(this));if(!this.firstTab){this.firstTab=tab;}
this.lastTab=tab;}
this.setSelectedTab(this.firstTab);}
return _createClass(TabsManual,[{key:"setSelectedTab",value:function setSelectedTab(currentTab){for(var i=0;i<this.tabs.length;i+=1){var tab=this.tabs[i];var tabpanel=document.getElementById(tab.getAttribute('aria-controls'));if(currentTab===tab){tab.setAttribute('aria-selected','true');tab.removeAttribute('tabindex');tabpanel.classList.add('js-active');}else{tab.setAttribute('aria-selected','false');tab.tabIndex=-1;tabpanel.classList.remove('js-active');}}}},{key:"moveFocusToTab",value:function moveFocusToTab(currentTab){currentTab.focus();}},{key:"moveFocusToPreviousTab",value:function moveFocusToPreviousTab(currentTab){var index;if(currentTab===this.firstTab){this.moveFocusToTab(this.lastTab);}else{index=this.tabs.indexOf(currentTab);this.moveFocusToTab(this.tabs[index-1]);}}},{key:"moveFocusToNextTab",value:function moveFocusToNextTab(currentTab){var index;if(currentTab===this.lastTab){this.moveFocusToTab(this.firstTab);}else{index=this.tabs.indexOf(currentTab);this.moveFocusToTab(this.tabs[index+1]);}}},{key:"onKeydown",value:function onKeydown(event){var tgt=event.currentTarget,flag=false;switch(event.key){case'ArrowLeft':this.moveFocusToPreviousTab(tgt);flag=true;break;case'ArrowRight':this.moveFocusToNextTab(tgt);flag=true;break;case'Home':this.moveFocusToTab(this.firstTab);flag=true;break;case'End':this.moveFocusToTab(this.lastTab);flag=true;break;default:break;}
if(flag){event.stopPropagation();event.preventDefault();}}},{key:"onClick",value:function onClick(event){this.setSelectedTab(event.currentTarget);}}]);}();var accordionFiltersList=document.querySelector('.accordion-filters__list');if(accordionFiltersList){new TabsManual(accordionFiltersList);}});"use strict";document.addEventListener('DOMContentLoaded',function(){var queryParams=new URLSearchParams(window.location.search);var faqId=queryParams.get('faq');var faqElement=document.querySelector("[data-accordion-id=\"".concat(faqId,"\"]"));if(faqElement&&faqId){var faqCategorySet=faqElement.closest('.accordion-items__set').id;var faqCategoryButton=document.querySelector('[data-faq-cat='+faqCategorySet+']');if(faqCategoryButton){faqCategoryButton.click();}
faqElement.querySelector('.accordion__trigger button').click();faqElement.scrollIntoView();}});"use strict";document.addEventListener('DOMContentLoaded',function(){var utilNav=document.querySelector('.util-nav');if(!utilNav)return;var mainNav=document.querySelector('.main-navigation');var utilNavItems=utilNav.querySelectorAll('.util-nav__item');window.addEventListener('click',function(e){if(!e.target.closest('.util-nav__item'))closeUtilItems();});utilNavItems.forEach(function(item){var button=item.querySelector('.util-item__button');var dropdown=item.querySelector('.util-nav__dropdown');if(!dropdown)return;button.addEventListener('click',function(e){openUtil(item,mainNav,dropdown,button);});item.addEventListener('focusout',function(e){focusOutOverflowMenu(e,item,mainNav,dropdown,button);});});});function openUtil(item,mainNav,dropdown,button){var topNav=document.querySelector('.main-navigation__top-wrapper');var bottomNav=document.querySelector('.main-navigation__bottom-wrapper');if(mainNav.classList.contains('js-nav-open'))closeMenu();if(item.classList.contains('js-active')){deactivateUtil(item,mainNav,dropdown,button,bottomNav);}else{closeUtilItems();closeSearch();activateUtil(item,mainNav,dropdown,button,topNav,bottomNav);}}
function activateUtil(item,mainNav,dropdown,button,topNav,bottomNav){item.classList.add('js-active');bottomNav.classList.add('js-menu-overlay');if(item.classList.contains('search')){mainNav.classList.add('js-nav-open-search');item.querySelector('.prominent-searchbox__input').focus();}
dropdown.style.setProperty('--topOffsetDesktop',"".concat(topNav.offsetHeight,"px"));button.setAttribute('aria-expanded',true);dropdown.setAttribute('aria-hidden',false);document.body.classList.add('js-overlay');focusCheck(dropdown);}
function deactivateUtil(item,mainNav,dropdown,button,bottomNav){item.classList.remove('js-active');button.setAttribute('aria-expanded',false);dropdown.setAttribute('aria-hidden',true);if(item.classList.contains('search')){mainNav.classList.remove('js-nav-open-search');item.querySelector('.prominent-searchbox__input').blur();}
document.body.classList.remove('js-overlay');mainNav.classList.remove('js-nav-open');bottomNav.classList.remove('js-menu-overlay');}
function closeUtilItems(){var utilItems=document.querySelectorAll('.util-nav .util-nav__item');utilItems.forEach(function(item){if(item.classList.contains('js-active')){deactivateUtil(item,document.querySelector('.main-navigation'),item.querySelector('.util-nav__dropdown'),item.querySelector('.util-item__button'),document.querySelector('.main-navigation__bottom-wrapper'));}});}
function closeSearch(){var navigation=document.querySelector('.main-navigation');var searchWrapper=navigation.querySelector('.main-navigation__search');searchWrapper.classList.remove('js-search-open');navigation.classList.remove('js-menu-overlay');document.body.classList.remove('js-overlay');}
function focusCheck(dropdown){var focusableEls=dropdown.querySelectorAll('a[href]:not([disabled]), button:not([disabled]):not(.js-hidden), textarea:not([disabled]), input:not([disabled]), select:not([disabled])');var firstFocusableEl=focusableEls[0];var lastFocusableEl=focusableEls[focusableEls.length-1];dropdown.addEventListener('keydown',function(e){if(e.key!=='Tab'&&e.keyCode!==9)return;if(e.shiftKey&&document.activeElement===firstFocusableEl){closeUtilItems();}else if(document.activeElement===lastFocusableEl){closeUtilItems();}});}
function focusOutOverflowMenu(event,item,mainNav,dropdown,button){if(!dropdown.contains(event.relatedTarget||event.target)){deactivateUtil(item,mainNav,dropdown,button,document.querySelector('.main-navigation__bottom-wrapper'));}}"use strict";document.addEventListener('DOMContentLoaded',function(event){var readspeakerTrigger=document.querySelector('.util-item__button--speaker');if(readspeakerTrigger){var pageURL=readspeakerTrigger.getAttribute('href');readspeakerTrigger.addEventListener('click',function(e){var readspeakerPlayer=document.querySelector('#readspeaker-player');e.preventDefault();readpage(pageURL,'readspeaker-player');readspeakerPlayer.focus();});}});;;
window.rsConf={general:{usePost:true}};;;
(()=>{"use strict";var e,_={},b={};function n(e){var a=b[e];if(void 0!==a)return a.exports;var r=b[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,s,u)=>{if(!r){var o=1/0;for(t=0;t<e.length;t++){for(var[r,s,u]=e[t],c=!0,f=0;f<r.length;f++)(!1&u||o>=u)&&Object.keys(n.O).every(i=>n.O[i](r[f]))?r.splice(f--,1):(c=!1,u<o&&(o=u));if(c){e.splice(t--,1);var l=s();void 0!==l&&(a=l)}}return a}u=u||0;for(var t=e.length;t>0&&e[t-1][2]>u;t--)e[t]=e[t-1];e[t]=[r,s,u]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=s=>0===e[s];var a=(s,u)=>{var f,l,[t,o,c]=u,v=0;if(t.some(h=>0!==e[h])){for(f in o)n.o(o,f)&&(n.m[f]=o[f]);if(c)var d=c(n)}for(s&&s(u);v<t.length;v++)n.o(e,l=t[v])&&e[l]&&e[l][0](),e[l]=0;return n.O(d)},r=self.webpackChunkAutosuggest=self.webpackChunkAutosuggest||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();;;
"use strict";(self.webpackChunkAutosuggest=self.webpackChunkAutosuggest||[]).push([[461],{579:(ce,Ee,de)=>{de(935)},935:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.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 e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,X),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,A),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(A,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(z,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==z&&e._transitionTo(A,z),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===A||e.state===E){e._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(e.type,r)}}return L})();const b={name:"",onHasTask:(L,T,e,r)=>L.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(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=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;T<L.length;T++){const e=L[T];try{e.zone.runTask(e,null,null)}catch(r){X.onUnhandledError(r)}}}X.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",z="scheduling",A="scheduled",E="running",G="canceling",h="unknown",I="microTask",P="macroTask",Q="eventTask",se={},X={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const ce=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,me=Object.create,Fe=Array.prototype.slice,Oe="addEventListener",Ze="removeEventListener",Ne=Zone.__symbol__(Oe),Ie=Zone.__symbol__(Ze),ae="true",le="false",ke=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const j=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,at="removeAttribute";function Ae(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Be(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw" in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!Re&&!Ue&&!(!we||!Te.HTMLElement),We=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Ue&&!(!we||!Te.HTMLElement),Ce={},qe=function(t){if(!(t=t||Y.event))return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return je&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function ze(t,n,i){let o=ce(t,n);if(!o&&i&&ce(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Ce[d];b||(b=Ce[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,qe),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,qe,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;o<n.length;o++)ze(t,"on"+n[o],i);else{const o=[];for(const c in t)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)ze(t,o[c],i)}}const re=j("originalInstance");function ve(t){const n=Y[t];if(!n)return;Y[j(t)]=n,Y[t]=function(){const c=Ae(arguments,t);switch(c.length){case 0:this[re]=new n;break;case 1:this[re]=new n(c[0]);break;case 2:this[re]=new n(c[0],c[1]);break;case 3:this[re]=new n(c[0],c[1],c[2]);break;case 4:this[re]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},fe(Y[t],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===t&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[t].prototype[c]=function(){return this[re][c].apply(this[re],arguments)}:Ee(Y[t].prototype,c,{set:function(a){"function"==typeof a?(this[re][c]=Me(a,t+"."+c),fe(this[re][c],a)):this[re][c]=a},get:function(){return this[re][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[t][o]=n[o])}function ue(t,n,i){let o=t;for(;o&&!o.hasOwnProperty(n);)o=de(o);!o&&t[n]&&(o=t);const c=j(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Be(o&&ce(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},fe(o[n],a)}return a}function ut(t,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=ue(t,n,a=>function(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function fe(t,n){t[j("OriginalDelegate")]=n}let Ye=!1,He=!1;function ht(){if(Ye)return He;Ye=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const Z=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[Z];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function J(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),z="Promise.then",A=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{X(u,l,s)}catch(f){X(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function X(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===A){let m=null;try{("object"==typeof s||"function"==typeof s)&&(m=s&&s.then)}catch(w){return f(()=>{X(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)oe(s),X(u,s[q],s[R]);else if(l!==G&&"function"==typeof m)try{m.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{X(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[K]),l===G&&s instanceof Error){const g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g<w.length;)te(u,w[g++],w[g++],w[g++],w[g++]);if(0==w.length&&l==G){u[q]=h;let g=s;try{throw new Error("Uncaught (in promise): "+function a(u){return u&&u.toString===Object.prototype.toString?(u.constructor&&u.constructor.name||"")+": "+JSON.stringify(u):u?u.toString():Object.prototype.toString.call(u)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(D){g=D}b&&(g.throwOriginal=!0),g.rejection=s,g.promise=u,g.zone=n.current,g.task=n.currentTask,d.push(g),i.scheduleMicroTask()}}}return u}const U=y("rejectionHandledHandler");function oe(u){if(u[q]===h){try{const l=n[U];l&&"function"==typeof l&&l.call(this,{rejection:u[R],promise:u})}catch{}u[q]=G;for(let l=0;l<d.length;l++)u===d[l].promise&&d.splice(l,1)}}function te(u,l,s,f,m){oe(u);const w=u[q],g=w?"function"==typeof f?f:H:"function"==typeof m?m:J;l.scheduleMicroTask(z,()=>{try{const D=u[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=l.run(g,void 0,S&&g!==J&&g!==H?[]:[D]);X(s,!0,O)}catch(D){X(s,!1,D)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:X(new this(null),E,l)}static reject(l){return X(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let g of l)f++,s.push(e.resolve(g))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let m=!1;const w=[];return new e((g,D)=>{for(let S=0;S<s.length;S++)s[S].then(O=>{m||(m=!0,g(O))},O=>{w.push(O),f--,0===f&&(m=!0,D(new T(w,"All promises were rejected")))})})}static race(l){let s,f,m=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function g(D){f(D)}for(let D of l)B(D)||(D=this.resolve(D)),D.then(w,g);return m}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,m,w=new this((O,V)=>{f=O,m=V}),g=2,D=0;const S=[];for(let O of l){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,g--,0===g&&f(S)},F=>{s?(S[V]=s.errorCallback(F),g--,0===g&&f(S)):m(F)})}catch(F){m(F)}g++,D++}return g-=2,0===g&&f(S),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){X(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const m=new f(L),w=n.current;return this[q]==A?this[R].push(w,m,l,s):te(this,w,m,l,s),m}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const m=n.current;return this[q]==A?this[R].push(m,f,l,l):te(this,m,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(m,w){return new e((D,S)=>{f.call(this,D,S)}).then(m,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),ue(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let m=f.constructor;return m[k]||C(m),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const dt={useG:!0},ne={},$e={},Ke=new RegExp("^"+ke+"(\\w+)(true|false)$"),Je=j("propagationStopped");function Qe(t,n){const i=(n?n(t):t)+le,o=(n?n(t):t)+ae,c=ke+i,a=ke+o;ne[t]={},ne[t][le]=c,ne[t][ae]=a}function _t(t,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Ze,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let z;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){z=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),z};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,z=x[ne[_.type][K?ae:le]];if(z){const A=[];if(1===z.length){const E=Z(z[0],x,_);E&&A.push(E)}else{const E=z.slice();for(let G=0;G<E.length&&(!_||!0!==_[Je]);G++){const h=Z(E[G],x,_);h&&A.push(h)}}if(1===A.length)throw A[0];for(let E=0;E<A.length;E++){const G=A[E];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let z=!0;_&&void 0!==_.chkDup&&(z=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],se=E[j(d)]=E[d];let X;_&&_.prepend&&(X=E[j(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=ne[s.eventName];let m;f&&(m=f[s.capture?ae:le]);const w=m&&s.target[m];if(w)for(let g=0;g<w.length;g++)if(w[g]===s){w.splice(g,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[m]=null);break}}if(s.allRemoved)return P.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return P.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const m=typeof f;return"function"===m&&s.callback===f||"object"===m&&s.originalDelegate===f},$=Zone[j("UNPATCHED_EVENTS")],u=t[j("PASSIVE_EVENTS")],l=function(s,f,m,w,g=!1,D=!1){return function(){const S=this||t;let O=arguments[0];_&&_.transferEventName&&(O=_.transferEventName(O));let V=arguments[1];if(!V)return s.apply(this,arguments);if(Re&&"uncaughtException"===O)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,S,arguments))return;const he=ye&&!!u&&-1!==u.indexOf(O),ee=function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],he),be=ee&&"object"==typeof ee&&ee.signal&&"object"==typeof ee.signal?ee.signal:void 0;if(be?.aborted)return;if($)for(let _e=0;_e<$.length;_e++)if(O===$[_e])return he?s.call(S,O,V,ee):s.apply(this,arguments);const Ge=!!ee&&("boolean"==typeof ee||ee.capture),rt=!(!ee||"object"!=typeof ee)&&ee.once,vt=Zone.current;let Ve=ne[O];Ve||(Qe(O,G),Ve=ne[O]);const ot=Ve[Ge?ae:le];let Se,ge=S[ot],st=!1;if(ge){if(st=!0,z)for(let _e=0;_e<ge.length;_e++)if(C(ge[_e],V))return}else ge=S[ot]=[];const it=S.constructor.name,ct=$e[it];ct&&(Se=ct[O]),Se||(Se=it+f+(G?G(O):O)),h.options=ee,rt&&(h.options.once=!1),h.target=S,h.capture=Ge,h.eventName=O,h.isExisting=st;const Pe=K?dt:void 0;Pe&&(Pe.taskData=h),be&&(h.options.signal=void 0);const ie=vt.scheduleEventTask(Se,V,Pe,m,w);return be&&(h.options.signal=be,s.call(be,"abort",()=>{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,Pe&&(Pe.taskData=null),rt&&(ee.once=!0),!ye&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=S,ie.capture=Ge,ie.eventName=O,F&&(ie.originalDelegate=V),D?ge.unshift(ie):ge.push(ie),g?S:void 0}};return E[c]=l(I,v,e,r,A),X&&(E[p]=l(X,M,function(s){return X.call(h.target,h.eventName,s.invoke,h.options)},r,A,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const m=arguments[2],w=!!m&&("boolean"==typeof m||m.capture),g=arguments[1];if(!g)return P.apply(this,arguments);if(x&&!x(P,g,s,arguments))return;const D=ne[f];let S;D&&(S=D[w?ae:le]);const O=S&&s[S];if(O)for(let V=0;V<O.length;V++){const F=O[V];if(C(F,g))return O.splice(V,1),F.isRemoved=!0,0===O.length&&(F.allRemoved=!0,s[S]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),A?s:void 0}return P.apply(this,arguments)},E[y]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const m=[],w=et(s,G?G(f):f);for(let g=0;g<w.length;g++){const D=w[g];m.push(D.originalDelegate?D.originalDelegate:D.callback)}return m},E[d]=function(){const s=this||t;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const m=ne[f];if(m){const D=s[m[le]],S=s[m[ae]];if(D){const O=D.slice();for(let V=0;V<O.length;V++){const F=O[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(S){const O=S.slice();for(let V=0;V<O.length;V++){const F=O[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const m=Object.keys(s);for(let w=0;w<m.length;w++){const D=Ke.exec(m[w]);let S=D&&D[1];S&&"removeListener"!==S&&this[d].call(this,S)}this[d].call(this,"removeListener")}if(A)return this},fe(E[c],I),fe(E[a],P),se&&fe(E[d],se),Q&&fe(E[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=J(i[R],o);return q}function et(t,n){if(!n){const a=[];for(let y in t){const d=Ke.exec(y);let b=d&&d[1];if(b&&(!n||b===n)){const v=t[y];if(v)for(let p=0;p<v.length;p++)a.push(v[p])}}return a}let i=ne[n];i||(Qe(n),i=ne[n]);const o=t[i[le]],c=t[i[ae]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function Et(t,n){const i=t.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function tt(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function nt(t,n,i,o){t&&Xe(t,tt(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=ue,i.bindArguments=Ae,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ce,i.ObjectCreate=me,i.ArraySlice=Fe,i.patchClass=ve,i.wrapWithCurrentZone=Me,i.filterProperties=tt,i.attachOriginToPatched=fe,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:$e,zoneSymbolEventNames:ne,eventNames:o,isBrowser:je,isMix:We,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Ze})});const De=j("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=ue(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?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 y[Z.handleId]:Z.handleId&&(Z.handleId[De]=null))}};const B=Le(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[De]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=ue(t,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[De],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[De]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)ue(t,i[o],(a,y,d)=>function(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function mt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b<i.length;b++){const v=i[b],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=t.EventTarget;d&&d.prototype&&n.patchEventTarget(t,n,[d&&d.prototype])}(t,i);const o=t.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(t,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(t,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(Re&&!We||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];nt(c,xe(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&nt(a.prototype,xe(a.prototype),i)}}(i,t)}),Zone.__load_patch("customElements",(t,n,i)=>{!function gt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements" in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;W<te.length;W++)te[W]===h&&te.splice(W,1);!I.aborted&&h.state===J&&oe.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===P[a]&&(P[d]=!0)};return N.call(P,H,se),P[i]||(P[i]=h),E.apply(P,I.args),P[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const K=ue(M,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),z=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ue(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=ue(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return G.apply(h,I)})}(t);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=t[c];if(a){if(!Be(ce(t,c)))continue;t[c]=(d=>{const b=function(){return d.apply(this,Ae(arguments,i+"."+c))};return fe(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){et(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},ce=>{ce(ce.s=579)}]);;;
"use strict";(self.webpackChunkAutosuggest=self.webpackChunkAutosuggest||[]).push([[792],{475:()=>{let de=null,Xi=1;const xn=Symbol("SIGNAL");function V(e){const t=de;return de=e,t}function ah(e){if((!yo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Xi)){if(!e.producerMustRecompute(e)&&!Tu(e))return e.dirty=!1,void(e.lastCleanEpoch=Xi);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Xi}}function Tu(e){sr(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(ah(n),r!==n.version))return!0}return!1}function Ji(e,t){if(function gh(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),sr(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Ji(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];sr(o),o.producerIndexOfThis[r]=t}}function yo(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function sr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let mh=null;function fe(e){return"function"==typeof e}function Dh(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Au=Dh(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Ki(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class at{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(fe(r))try{r()}catch(i){t=i instanceof Au?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Ch(i)}catch(s){t=t??[],s instanceof Au?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Au(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ch(t);else{if(t instanceof at){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ki(n,t)}remove(t){const{_finalizers:n}=this;n&&Ki(n,t),t instanceof at&&t._removeParent(this)}}at.EMPTY=(()=>{const e=new at;return e.closed=!0,e})();const _h=at.EMPTY;function wh(e){return e instanceof at||e&&"closed" in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function Ch(e){fe(e)?e():e.unsubscribe()}const On={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},es={setTimeout(e,t,...n){const{delegate:r}=es;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=es;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Eh(e){es.setTimeout(()=>{const{onUnhandledError:t}=On;if(!t)throw e;t(e)})}function xu(){}const aI=Ou("C",void 0,void 0);function Ou(e,t,n){return{kind:e,value:t,error:n}}let Rn=null;function ts(e){if(On.useDeprecatedSynchronousErrorHandling){const t=!Rn;if(t&&(Rn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Rn;if(Rn=null,n)throw r}}else e()}class Ru extends at{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,wh(t)&&t.add(this)):this.destination=pI}static create(t,n,r){return new Pu(t,n,r)}next(t){this.isStopped?ku(function lI(e){return Ou("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ku(function uI(e){return Ou("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ku(aI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const dI=Function.prototype.bind;function Fu(e,t){return dI.call(e,t)}class fI{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ns(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ns(r)}else ns(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ns(n)}}}class Pu extends Ru{constructor(t,n,r){let o;if(super(),fe(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&On.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Fu(t.next,i),error:t.error&&Fu(t.error,i),complete:t.complete&&Fu(t.complete,i)}):o=t}this.destination=new fI(o)}}function ns(e){On.useDeprecatedSynchronousErrorHandling?function cI(e){On.useDeprecatedSynchronousErrorHandling&&Rn&&(Rn.errorThrown=!0,Rn.error=e)}(e):Eh(e)}function ku(e,t){const{onStoppedNotification:n}=On;n&&es.setTimeout(()=>n(e,t))}const pI={closed:!0,next:xu,error:function hI(e){throw e},complete:xu},Lu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vu(e){return e}let Ve=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function mI(e){return e&&e instanceof Ru||function gI(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}(e)&&wh(e)}(n)?n:new Pu(n,r,o);return ts(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=bh(r))((o,i)=>{const s=new Pu({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Lu](){return this}pipe(...n){return function Ih(e){return 0===e.length?Vu:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=bh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function bh(e){var t;return null!==(t=e??On.Promise)&&void 0!==t?t:Promise}const yI=Dh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Fn=(()=>{class e extends Ve{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Mh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new yI}next(n){ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?_h:(this.currentObservers=null,i.push(n),new at(()=>{this.currentObservers=null,Ki(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Ve;return n.source=this,n}}return e.create=(t,n)=>new Mh(t,n),e})();class Mh extends Fn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:_h}}class vI extends Fn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Tt(e){return t=>{if(function DI(e){return fe(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function pt(e,t,n,r,o){return new _I(e,t,n,r,o)}class _I extends Ru{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function qt(e,t){return Tt((n,r)=>{let o=0;n.subscribe(pt(r,i=>{r.next(e.call(t,i,o++))}))})}const Sh="https://g.co/ng/security#xss";class _ extends Error{constructor(t,n){super(function ar(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Wt(e){return{toString:e}.toString()}const lr="__parameters__";function dr(e,t,n){return Wt(()=>{const r=function ju(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 a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(lr)?u[lr]:Object.defineProperty(u,lr,{value:[]})[lr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Z=globalThis;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 wI(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _e(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(_e).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Bu(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const CI=Q({__forward_ref__:Q});function te(e){return e.__forward_ref__=te,e.toString=function(){return _e(this())},e}function N(e){return os(e)?e():e}function os(e){return"function"==typeof e&&e.hasOwnProperty(CI)&&e.__forward_ref__===te}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function is(e){return xh(e,as)||xh(e,Oh)}function xh(e,t){return e.hasOwnProperty(t)?e[t]:null}function ss(e){return e&&(e.hasOwnProperty(Hu)||e.hasOwnProperty(SI))?e[Hu]:null}const as=Q({\u0275prov:Q}),Hu=Q({\u0275inj:Q}),Oh=Q({ngInjectableDef:Q}),SI=Q({ngInjectorDef:Q});class I{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=L({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qu(e){return e&&!!e.\u0275providers}const vo=Q({\u0275cmp:Q}),Wu=Q({\u0275dir:Q}),Zu=Q({\u0275pipe:Q}),Fh=Q({\u0275mod:Q}),Qt=Q({\u0275fac:Q}),Do=Q({__NG_ELEMENT_ID__:Q}),Ph=Q({__NG_ENV_ID__:Q});function O(e){return"string"==typeof e?e:null==e?"":String(e)}function Qu(e,t){throw new _(-201,!1)}var $=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}($||{});let Yu;function kh(){return Yu}function We(e){const t=Yu;return Yu=e,t}function Lh(e,t,n){const r=is(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&$.Optional?null:void 0!==t?t:void Qu()}const _o={},Xu="__NG_DI_FLAG__",us="ngTempTokenPath",RI=/\n/gm,Vh="__source";let fr;function ln(e){const t=fr;return fr=e,t}function kI(e,t=$.Default){if(void 0===fr)throw new _(-203,!1);return null===fr?Lh(e,void 0,t):fr.get(e,t&$.Optional?null:void 0,t)}function k(e,t=$.Default){return(kh()||kI)(N(e),t)}function M(e,t=$.Default){return k(e,ls(t))}function ls(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ju(e){const t=[];for(let n=0;n<e.length;n++){const r=N(e[n]);if(Array.isArray(r)){if(0===r.length)throw new _(900,!1);let o,i=$.Default;for(let s=0;s<r.length;s++){const a=r[s],u=LI(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(k(o,i))}else t.push(k(r))}return t}function wo(e,t){return e[Xu]=t,e.prototype[Xu]=t,e}function LI(e){return e[Xu]}const Ku=wo(dr("Optional"),8),el=wo(dr("SkipSelf"),4);function Pn(e,t){return e.hasOwnProperty(Qt)?e[Qt]:null}function hr(e,t){e.forEach(n=>Array.isArray(n)?hr(n,t):t(n))}function Bh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function cs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function tt(e,t,n){let r=pr(e,t);return r>=0?e[1|r]=n:(r=~r,function Hh(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 nl(e,t){const n=pr(e,t);if(n>=0)return e[1|n]}function pr(e,t){return function $h(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const Nt={},U=[],gr=new I(""),Uh=new I("",-1),rl=new I("");class fs{get(t,n=_o){if(n===_o){const r=new Error(`NullInjectorError: No provider for ${_e(t)}!`);throw r.name="NullInjectorError",r}return n}}var hs=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(hs||{}),gt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(gt||{}),ce=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ce||{});function GI(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function ol(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];zh(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Gh(e){return 3===e||4===e||6===e}function zh(e){return 64===e.charCodeAt(0)}function Co(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||qh(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function qh(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const Wh="ng-template";function zI(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==GI(t[o+1].toLowerCase(),n,0))return!0}else if(il(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&"string"==typeof(i=t[o]);)if(i.toLowerCase()===n)return!0}return!1}function il(e){return 4===e.type&&e.value!==Wh}function qI(e,t,n){return t===(4!==e.type||n?e.value:Wh)}function WI(e,t,n){let r=4;const o=e.attrs,i=null!==o?function YI(e){for(let t=0;t<e.length;t++)if(Gh(e[t]))return t;return e.length}(o):0;let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!qI(e,u,n)||""===u&&1===t.length){if(mt(r))return!1;s=!0}}else if(8&r){if(null===o||!zI(e,o,u,n)){if(mt(r))return!1;s=!0}}else{const l=t[++a],c=ZI(u,o,il(e),n);if(-1===c){if(mt(r))return!1;s=!0;continue}if(""!==l){let d;if(d=c>i?"":o[c+1].toLowerCase(),2&r&&l!==d){if(mt(r))return!1;s=!0}}}}else{if(!s&&!mt(r)&&!mt(u))return!1;if(s&&mt(u))continue;s=!1,r=u|1&r}}return mt(r)||s}function mt(e){return!(1&e)}function ZI(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function XI(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Zh(e,t,n=!1){for(let r=0;r<t.length;r++)if(WI(e,t[r],n))return!0;return!1}function Qh(e,t){return e?":not("+t.trim()+")":t}function KI(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!mt(s)&&(t+=Qh(i,o),o=""),r=s,i=i||!mt(r);n++}return""!==o&&(t+=Qh(i,o)),t}function Yh(e){return Wt(()=>{const t=Jh(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===hs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||gt.Emulated,styles:e.styles||U,_:null,schemas:e.schemas||null,tView:null,id:""};Kh(n);const r=e.dependencies;return n.directiveDefs=ps(r,!1),n.pipeDefs=ps(r,!0),n.id=function ib(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}(n),n})}function nb(e){return j(e)||we(e)}function rb(e){return null!==e}function cn(e){return Wt(()=>({type:e.type,bootstrap:e.bootstrap||U,declarations:e.declarations||U,imports:e.imports||U,exports:e.exports||U,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xh(e,t){if(null==e)return Nt;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=ce.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==ce.None?[r,a]:r,t[i]=s):n[i]=r}return n}function F(e){return Wt(()=>{const t=Jh(e);return Kh(t),t})}function je(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 j(e){return e[vo]||null}function we(e){return e[Wu]||null}function Se(e){return e[Zu]||null}function Jh(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||Nt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||U,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xh(e.inputs,t),outputs:Xh(e.outputs),debugInfo:null}}function Kh(e){e.features?.forEach(t=>t(e))}function ps(e,t){if(!e)return null;const n=t?Se:nb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(rb)}function sb(...e){return{\u0275providers:sl(0,e),\u0275fromNgModule:!0}}function sl(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return hr(t,s=>{const a=s;gs(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&ep(o,i),n}function ep(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];al(o,i=>{t(i,r)})}}function gs(e,t,n,r){if(!(e=N(e)))return!1;let o=null,i=ss(e);const s=!i&&j(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=ss(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)gs(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{hr(i.imports,c=>{gs(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&ep(l,t)}if(!a){const l=Pn(o)||(()=>new o);t({provide:o,useFactory:l,deps:U},o),t({provide:rl,useValue:o,multi:!0},o),t({provide:gr,useValue:()=>k(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;al(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function al(e,t){for(let n of e)qu(n)&&(n=n.\u0275providers),Array.isArray(n)?al(n,t):t(n)}const ab=Q({provide:String,useValue:Q});function ul(e){return null!==e&&"object"==typeof e&&ab in e}function Ln(e){return"function"==typeof e}const ll=new I(""),ms={},lb={};let cl;function ys(){return void 0===cl&&(cl=new fs),cl}class yt{}class mr extends yt{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,fl(t,s=>this.processProvider(s)),this.records.set(Uh,yr(void 0,this)),o.has("environment")&&this.records.set(yt,yr(void 0,this));const i=this.records.get(ll);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rl,U,$.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=V(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),V(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ln(this),r=We(void 0);try{return t()}finally{ln(n),We(r)}}get(t,n=_o,r=$.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ph))return t[Ph](this);r=ls(r);const i=ln(this),s=We(void 0);try{if(!(r&$.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function pb(e){return"function"==typeof e||"object"==typeof e&&e instanceof I}(t)&&is(t);u=l&&this.injectableDefInScope(l)?yr(dl(t),ms):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&$.Self?ys():this.parent).get(t,n=r&$.Optional&&n===_o?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[us]=a[us]||[]).unshift(_e(t)),i)throw a;return function VI(e,t,n,r){const o=e[us];throw t[Vh]&&o.unshift(t[Vh]),e.message=function jI(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=_e(t);if(Array.isArray(t))o=t.map(_e).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):_e(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(RI,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[us]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{We(s),ln(i)}}resolveInjectorInitializers(){const t=V(null),n=ln(this),r=We(void 0);try{const i=this.get(gr,U,$.Self);for(const s of i)s()}finally{ln(n),We(r),V(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(_e(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){let n=Ln(t=N(t))?t:N(t&&t.provide);const r=function db(e){return ul(e)?yr(void 0,e.useValue):yr(rp(e),ms)}(t);if(!Ln(t)&&!0===t.multi){let o=this.records.get(n);o||(o=yr(void 0,ms,!0),o.factory=()=>Ju(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=V(null);try{return n.value===ms&&(n.value=lb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function hb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{V(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=N(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 dl(e){const t=is(e),n=null!==t?t.factory:Pn(e);if(null!==n)return n;if(e instanceof I)throw new _(204,!1);if(e instanceof Function)return function cb(e){if(e.length>0)throw new _(204,!1);const n=function MI(e){return e&&(e[as]||e[Oh])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _(204,!1)}function rp(e,t,n){let r;if(Ln(e)){const o=N(e);return Pn(o)||dl(o)}if(ul(e))r=()=>N(e.useValue);else if(function np(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ju(e.deps||[]));else if(function tp(e){return!(!e||!e.useExisting)}(e))r=()=>k(N(e.useExisting));else{const o=N(e&&(e.useClass||e.provide));if(!function fb(e){return!!e.deps}(e))return Pn(o)||dl(o);r=()=>new o(...Ju(e.deps))}return r}function yr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function fl(e,t){for(const n of e)Array.isArray(n)?fl(n,t):n&&qu(n)?fl(n.\u0275providers,t):t(n)}const ae=0,w=1,b=2,he=3,vt=4,Oe=5,nt=6,Dr=7,ne=8,Te=9,Dt=10,A=11,bo=12,sp=13,_r=14,le=15,Mo=16,wr=17,Yt=18,So=19,ap=20,dn=21,_s=22,Vn=23,R=25,gl=1,At=7,Cr=9,pe=10;var ml=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ml||{});function Re(e){return Array.isArray(e)&&"object"==typeof e[gl]}function Fe(e){return Array.isArray(e)&&!0===e[gl]}function yl(e){return!!(4&e.flags)}function jn(e){return e.componentOffset>-1}function Cs(e){return!(1&~e.flags)}function _t(e){return!!e.template}function vl(e){return!!(512&e[b])}class dp{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fp(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function xt(){return hp}function hp(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tb),Sb}function Sb(){const e=gp(this),t=e?.current;if(t){const n=e.previous;if(n===Nt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Tb(e,t,n,r,o){const i=this.declaredInputs[r],s=gp(e)||function Nb(e,t){return e[pp]=t}(e,{previous:Nt,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[i];a[i]=new dp(l&&l.currentValue,n,u===Nt),fp(e,t,o,n)}xt.ngInherit=!0;const pp="__ngSimpleChanges__";function gp(e){return e[pp]||null}const Ot=function(e,t,n){},mp="svg";let vp=!1;function J(e){for(;Array.isArray(e);)e=e[ae];return e}function No(e,t){return J(t[e])}function Be(e,t){return J(t[e.index])}function Ao(e,t){return e.data[t]}function Er(e,t){return e[t]}function rt(e,t){const n=t[e];return Re(n)?n:n[ae]}function El(e){return!(128&~e[b])}function Rt(e,t){return null==t?null:e[t]}function Dp(e){e[wr]=0}function Pb(e){1024&e[b]||(e[b]|=1024,El(e)&&xo(e))}function Il(e){return!!(9216&e[b]||e[Vn]?.dirty)}function bl(e){e[Dt].changeDetectionScheduler?.notify(1),Il(e)?xo(e):64&e[b]&&(function xb(){return vp}()?(e[b]|=1024,xo(e)):e[Dt].changeDetectionScheduler?.notify())}function xo(e){e[Dt].changeDetectionScheduler?.notify();let t=Bn(e);for(;null!==t&&!(8192&t[b])&&(t[b]|=8192,El(t));)t=Bn(t)}function Es(e,t){if(!(256&~e[b]))throw new _(911,!1);null===e[dn]&&(e[dn]=[]),e[dn].push(t)}function Bn(e){const t=e[he];return Fe(t)?t[he]:t}const x={lFrame:Np(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Cp(){return x.bindingsEnabled}function y(){return x.lFrame.lView}function H(){return x.lFrame.tView}function Sl(e){return x.lFrame.contextLView=e,e[ne]}function Tl(e){return x.lFrame.contextLView=null,e}function Y(){let e=Ep();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ep(){return x.lFrame.currentTNode}function Ft(e,t){const n=x.lFrame;n.currentTNode=e,n.isParent=t}function Nl(){return x.lFrame.isParent}function Al(){x.lFrame.isParent=!1}function wt(){return x.lFrame.bindingIndex++}function qb(e,t){const n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,xl(t)}function xl(e){x.lFrame.currentDirectiveIndex=e}function Rl(){return x.lFrame.currentQueryIndex}function Is(e){x.lFrame.currentQueryIndex=e}function Zb(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[Oe]:null}function Sp(e,t,n){if(n&$.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&$.Host||(o=Zb(i),null===o||(i=i[_r],10&o.type))););if(null===o)return!1;t=o,e=i}const r=x.lFrame=Tp();return r.currentTNode=t,r.lView=e,!0}function Fl(e){const t=Tp(),n=e[w];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tp(){const e=x.lFrame,t=null===e?null:e.child;return null===t?Np(e):t}function Np(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 Ap(){const e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const xp=Ap;function Pl(){const e=Ap();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 Pe(){return x.lFrame.selectedIndex}function Hn(e){x.lFrame.selectedIndex=e}function re(){const e=x.lFrame;return Ao(e.tView,e.selectedIndex)}let Fp=!0;function Ro(){return Fp}function Pt(e){Fp=e}function bs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=c&&(e.destroyHooks??=[]).push(n,c)}}function Ms(e,t,n){Pp(e,t,3,n)}function Ss(e,t,n,r){(3&e[b])===n&&Pp(e,t,n,r)}function kl(e,t){let n=e[b];(3&n)===t&&(n&=16383,n+=1,e[b]=n)}function Pp(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[wr]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[wr]+=65536),(a<i||-1==i)&&(eM(e,n,t,u),e[wr]=(4294901760&e[wr])+u+2),u++}function kp(e,t){Ot(4,e,t);const n=V(null);try{t.call(e)}finally{V(n),Ot(5,e,t)}}function eM(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[b]>>14<e[wr]>>16&&(3&e[b])===t&&(e[b]+=16384,kp(a,i)):kp(a,i)}const br=-1;class Fo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Vl(e){return e!==br}function Po(e){return 32767&e}function ko(e,t){let n=function iM(e){return e>>16}(e),r=t;for(;n>0;)r=r[_r],n--;return r}let jl=!0;function Ts(e){const t=jl;return jl=e,t}const Lp=255,Vp=5;let sM=0;const kt={};function Ns(e,t){const n=jp(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Bl(r.data,e),Bl(t,null),Bl(r.blueprint,null));const o=As(e,t),i=e.injectorIndex;if(Vl(o)){const s=Po(o),a=ko(o,t),u=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Bl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function As(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=qp(o),null===r)return br;if(n++,o=o[_r],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return br}function Hl(e,t,n){!function aM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Do)&&(r=n[Do]),null==r&&(r=n[Do]=sM++);const o=r&Lp;t.data[e+(o>>Vp)]|=1<<o}(e,t,n)}function Bp(e,t,n){if(n&$.Optional||void 0!==e)return e;Qu()}function Hp(e,t,n,r){if(n&$.Optional&&void 0===r&&(r=null),!(n&($.Self|$.Host))){const o=e[Te],i=We(void 0);try{return o?o.get(t,r,n&$.Optional):Lh(t,r,n&$.Optional)}finally{We(i)}}return Bp(r,0,n)}function $p(e,t,n,r=$.Default,o){if(null!==e){if(2048&t[b]&&!(r&$.Self)){const s=function fM(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[b]&&!(512&s[b]);){const a=Up(i,s,n,r|$.Self,kt);if(a!==kt)return a;let u=i.parent;if(!u){const l=s[ap];if(l){const c=l.get(n,kt,r);if(c!==kt)return c}u=qp(s),s=s[_r]}i=u}return o}(e,t,n,r,kt);if(s!==kt)return s}const i=Up(e,t,n,r,kt);if(i!==kt)return i}return Hp(t,n,r,o)}function Up(e,t,n,r,o){const i=function cM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Do)?e[Do]:void 0;return"number"==typeof t?t>=0?t&Lp:dM:t}(n);if("function"==typeof i){if(!Sp(t,e,r))return r&$.Host?Bp(o,0,r):Hp(t,n,r,o);try{let s;if(s=i(r),null!=s||r&$.Optional)return s;Qu()}finally{xp()}}else if("number"==typeof i){let s=null,a=jp(e,t),u=br,l=r&$.Host?t[le][Oe]:null;for((-1===a||r&$.SkipSelf)&&(u=-1===a?As(e,t):t[a+8],u!==br&&zp(r,!1)?(s=t[w],a=Po(u),t=ko(u,t)):a=-1);-1!==a;){const c=t[w];if(Gp(i,a,c.data)){const d=lM(a,t,n,s,r,l);if(d!==kt)return d}u=t[a+8],u!==br&&zp(r,t[w].data[a+8]===l)&&Gp(i,a,t)?(s=c,a=Po(u),t=ko(u,t)):a=-1}}return o}function lM(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],c=xs(a,s,n,null==r?jn(a)&&jl:r!=s&&!!(3&a.type),o&$.Host&&i===a);return null!==c?$n(t,s,c,a):kt}function xs(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&_t(h)&&h.type===n)return u}return null}function $n(e,t,n,r){let o=e[n];const i=t.data;if(function tM(e){return e instanceof Fo}(o)){const s=o;s.resolving&&function AI(e,t){throw t&&t.join(" > "),new _(-200,e)}(function G(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():O(e)}(i[n]));const a=Ts(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?We(s.injectImpl):null;Sp(e,r,$.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Kb(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=hp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&We(l),Ts(a),s.resolving=!1,xp()}}return o}function Gp(e,t,n){return!!(n[t+(e>>Vp)]&1<<e)}function zp(e,t){return!(e&$.Self||e&$.Host&&t)}class Ee{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $p(this._tNode,this._lView,t,ls(r),n)}}function dM(){return new Ee(Y(),y())}function Ne(e){return Wt(()=>{const t=e.prototype.constructor,n=t[Qt]||$l(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Qt]||$l(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function $l(e){return os(e)?()=>{const t=$l(N(e));return t&&t()}:Pn(e)}function qp(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[Oe]:null}function Xp(e,t=null,n=null,r){const o=Jp(e,t,n,r);return o.resolveInjectorInitializers(),o}function Jp(e,t=null,n=null,r,o=new Set){const i=[n||U,sb(e)];return r=r||("object"==typeof e?void 0:_e(e)),new mr(i,t||ys(),r||null,o)}let $e=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=_o;static#t=this.NULL=new fs;static create(n,r){if(Array.isArray(n))return Xp({name:""},r,n,"");{const o=n.name??"";return Xp({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=L({token:e,providedIn:"any",factory:()=>k(Uh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Gl(e){return e.ngOriginalError}class Lt{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&&Gl(t);for(;n&&Gl(n);)n=Gl(n);return n||null}}const eg=new I("",{providedIn:"root",factory:()=>M(Lt).handleError.bind(void 0)});let Tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wM;static#t=this.__NG_ENV_ID__=n=>n}return e})();class _M extends Tr{constructor(t){super(),this._lView=t}onDestroy(t){return Es(this._lView,t),()=>function Ml(e,t){if(null===e[dn])return;const n=e[dn].indexOf(t);-1!==n&&e[dn].splice(n,1)}(this._lView,t)}}function wM(){return new _M(y())}function CM(){return Nr(Y(),y())}function Nr(e,t){return new ut(Be(e,t))}let ut=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=CM}return e})();function ng(e){return e instanceof ut?e.nativeElement:e}function zl(e){return t=>{setTimeout(e,void 0,t)}}const Ae=class EM extends Fn{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,function op(){return void 0!==kh()||null!=function PI(){return fr}()}()&&(this.destroyRef=M(Tr,{optional:!0})??void 0)}emit(t){const n=V(null);try{super.next(t)}finally{V(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=zl(i),o&&(o=zl(o)),s&&(s=zl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof at&&t.add(a),a}};function IM(){return this._results[Symbol.iterator]()}class ql{static#e=Symbol.iterator;get changes(){return this._changes??=new Ae}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=ql.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=IM)}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 Ze(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function UI(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Fs(e){return!(128&~e.flags)}const Wl=new Map;let MM=0;const Ql="__ngContext__";function ke(e,t){Re(t)?(e[Ql]=t[So],function TM(e){Wl.set(e[So],e)}(t)):e[Ql]=t}function fg(e){return pg(e[bo])}function hg(e){return pg(e[vt])}function pg(e){for(;null!==e&&!Fe(e);)e=e[vt];return e}let Yl;const Ls=new I("",{providedIn:"root",factory:()=>qM}),qM="ng",Cg=new I(""),Un=new I("",{providedIn:"platform",factory:()=>"unknown"}),Eg=new I("",{providedIn:"root",factory:()=>function fn(){if(void 0!==Yl)return Yl;if(typeof document<"u")return document;throw new _(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ig=()=>null;function oc(e,t,n=!1){return Ig(e,t,n)}const Ng=new I("",{providedIn:"root",factory:()=>!1});class Fg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Sh})`}}function hn(e){return e instanceof Fg?e.changingThisBreaksApplicationSecurity:e}const gS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Rr=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}(Rr||{});function pc(e){const t=function zo(){const e=y();return e&&e[Dt].sanitizer}();return t?t.sanitize(Rr.URL,e)||"":function Uo(e,t){const n=function dS(e){return e instanceof Fg&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Sh})`)}return n===t}(e,"URL")?hn(e):function cc(e){return(e=String(e)).match(gS)?e:"unsafe:"+e}(O(e))}const OS=/^>|^->|<!--|-->|--!>|<!-$/g,RS=/(<|>)/g,FS="\u200b$1\u200b";function Wg(e){return e.ownerDocument}var gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(gn||{});let vc;function Dc(e,t){return vc(e,t)}function Pr(e,t,n,r,o){if(null!=r){let i,s=!1;Fe(r)?i=r:Re(r)&&(s=!0,r=r[ae]);const a=J(r);0===e&&null!==n?null==o?nm(t,n,a):Gn(t,n,a,o||null,!0):1===e&&null!==n?Gn(t,n,a,o||null,!0):2===e?function Zo(e,t,n){const r=Xs(e,t);r&&function JS(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function tT(e,t,n,r,o){const i=n[At];i!==J(n)&&Pr(t,e,r,i,o);for(let a=pe;a<n.length;a++){const u=n[a];Ks(u[w],u,e,t,r,i)}}(t,e,i,n,o)}}function wc(e,t){return e.createComment(function Gg(e){return e.replace(OS,t=>t.replace(RS,FS))}(t))}function Qs(e,t,n){return e.createElement(t,n)}function Kg(e,t){t[Dt].changeDetectionScheduler?.notify(1),Ks(e,t,t[A],2,null,null)}function em(e,t){const n=e[Cr],r=n.indexOf(t);n.splice(r,1)}function qo(e,t){if(e.length<=pe)return;const n=pe+t,r=e[n];if(r){const o=r[Mo];null!==o&&o!==e&&em(o,r),t>0&&(e[n-1][vt]=r[vt]);const i=cs(e,pe+t);!function zS(e,t){Kg(e,t),t[ae]=null,t[Oe]=null}(r[w],r);const s=i[Yt];null!==s&&s.detachView(i[w]),r[he]=null,r[vt]=null,r[b]&=-129}return r}function Ys(e,t){if(!(256&t[b])){const n=t[A];n.destroyNode&&Ks(e,t,n,3,null,null),function WS(e){let t=e[bo];if(!t)return Cc(e[w],e);for(;t;){let n=null;if(Re(t))n=t[bo];else{const r=t[pe];r&&(n=r)}if(!n){for(;t&&!t[vt]&&t!==e;)Re(t)&&Cc(t[w],t),t=t[he];null===t&&(t=e),Re(t)&&Cc(t[w],t),n=t&&t[vt]}t=n}}(t)}}function Cc(e,t){if(256&t[b])return;const n=V(null);try{t[b]&=-129,t[b]|=256,t[Vn]&&function hh(e){if(sr(e),yo(e))for(let t=0;t<e.producerNode.length;t++)Ji(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[Vn]),function XS(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Fo)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];Ot(4,a,u);try{u.call(a)}finally{Ot(5,a,u)}}else{Ot(4,o,i);try{i.call(o)}finally{Ot(5,o,i)}}}}}(e,t),function YS(e,t){const n=e.cleanup,r=t[Dr];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Dr]=null);const o=t[dn];if(null!==o){t[dn]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,t),1===t[w].type&&t[A].destroy();const r=t[Mo];if(null!==r&&Fe(t[he])){r!==t[he]&&em(r,t);const o=t[Yt];null!==o&&o.detachView(e)}!function NM(e){Wl.delete(e[So])}(t)}finally{V(n)}}function Ec(e,t,n){return function tm(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ae];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===gt.None||i===gt.Emulated)return null}return Be(r,n)}}(e,t.parent,n)}function Gn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function nm(e,t,n){e.appendChild(t,n)}function rm(e,t,n,r,o){null!==r?Gn(e,t,n,r,o):nm(e,t,n)}function Xs(e,t){return e.parentNode(t)}let Ic,sm=function im(e,t,n){return 40&e.type?Be(e,n):null};function Js(e,t,n,r){const o=Ec(e,r,t),i=t[A],a=function om(e,t,n){return sm(e,t,n)}(r.parent||t[Oe],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)rm(i,o,n[u],a,!1);else rm(i,o,n,a,!1);void 0!==Ic&&Ic(i,r,t,n,o)}function Wo(e,t){if(null!==t){const n=t.type;if(3&n)return Be(t,e);if(4&n)return bc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Wo(e,r);{const o=e[t.index];return Fe(o)?bc(-1,o):J(o)}}if(32&n)return Dc(t,e)()||J(e[t.index]);{const r=um(e,t);return null!==r?Array.isArray(r)?r[0]:Wo(Bn(e[le]),r):Wo(e,t.next)}}return null}function um(e,t){return null!==t?e[le][Oe].projection[t.projection]:null}function bc(e,t){const n=pe+e+1;if(n<t.length){const r=t[n],o=r[w].firstChild;if(null!==o)return Wo(r,o)}return t[At]}function Mc(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&ke(J(a),r),n.flags|=2),32&~n.flags)if(8&u)Mc(e,t,n.child,r,o,i,!1),Pr(t,e,o,a,i);else if(32&u){const l=Dc(n,r);let c;for(;c=l();)Pr(t,e,o,c,i);Pr(t,e,o,a,i)}else 16&u?cm(e,t,r,n,o,i):Pr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ks(e,t,n,r,o,i){Mc(n,r,e.firstChild,t,o,i,!1)}function cm(e,t,n,r,o,i){const s=n[le],u=s[Oe].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Pr(t,e,o,u[l],i);else{let l=u;const c=s[he];Fs(r)&&(l.flags|=128),Mc(e,t,l,c,o,i,!0)}}function dm(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function fm(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&ol(e,t,r),null!==o&&dm(e,t,o),null!==i&&function rT(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}const P={};function Ct(e=1){hm(H(),y(),Pe()+e,!1)}function hm(e,t,n,r){if(!r)if(3&~t[b]){const i=e.preOrderHooks;null!==i&&Ss(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&Ms(t,i,n)}Hn(n)}function C(e,t=$.Default){const n=y();return null===n?k(e,t):$p(Y(),n,N(e),t)}function pm(e,t,n,r,o,i){const s=V(null);try{let a=null;o&ce.SignalBased&&(a=t[r][xn]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&ce.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),null!==e.setInput?e.setInput(t,a,i,n,r):fp(t,a,r,i)}finally{V(s)}}function ea(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[ae]=o,d[b]=204|r,(null!==l||e&&2048&e[b])&&(d[b]|=2048),Dp(d),d[he]=d[_r]=e,d[ne]=n,d[Dt]=s||e&&e[Dt],d[A]=a||e&&e[A],d[Te]=u||e&&e[Te]||null,d[Oe]=i,d[So]=function SM(){return MM++}(),d[nt]=c,d[ap]=l,d[le]=2==t.type?e[le]:d,d}function kr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Sc(e,t,n,r,o){const i=Ep(),s=Nl(),u=e.data[t]=function fT(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Ir(){return null!==x.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,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=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function zb(){return x.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Oo(){const e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ft(i,!0),i}function Qo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function gm(e,t,n,r,o){const i=Pe(),s=2&r;try{Hn(-1),s&&t.length>R&&hm(e,t,R,!1),Ot(s?2:0,o),n(r,o)}finally{Hn(i),Ot(s?3:1,o)}}function Tc(e,t,n){if(yl(t)){const r=V(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{V(r)}}}function Nc(e,t,n){Cp()&&(function DT(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;jn(n)&&function MT(e,t,n){const r=Be(t,e),o=mm(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=ta(e,ea(e,o,null,s,r,t,null,e[Dt].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ns(n,t),ke(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=$n(t,e,a,n);ke(l,t),null!==s&&ST(0,a-o,l,u,0,s),_t(u)&&(rt(n.index,t)[ne]=$n(t,e,a,n))}}(e,t,n,Be(n,t)),!(64&~n.flags)&&wm(e,t,n))}function Ac(e,t,n=Be){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function mm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=xc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function xc(e,t,n,r,o,i,s,a,u,l,c){const d=R+r,f=d+o,h=function sT(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:P);return n}(d,f),p="function"==typeof l?l():l;return h[w]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:c}}let ym=()=>null;function vm(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,u=ce.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?Dm(r,n,l,a,u):Dm(r,n,l,a)}return r}function Dm(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Ye(e,t,n,r,o,i,s,a){const u=Be(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(kc(e,n,c,r,o),jn(t)&&function gT(e,t){const n=rt(t,e);16&n[b]||(n[b]|=64)}(n,t.index)):3&t.type&&(r=function pT(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(u,r,o))}function Oc(e,t,n,r){if(Cp()){const o=null===r?null:{"":-1},i=function wT(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(Zh(t,s.selectors,!1))if(r||(r=[]),_t(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Rc(e,t,a.length)}else r.unshift(s),Rc(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&_m(e,t,n,s,o,a),o&&function CT(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new _(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=Co(n.mergedAttrs,n.attrs)}function _m(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Hl(Ns(n,t),e,r[l].type);!function IT(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,u=Qo(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=Co(n.mergedAttrs,c.hostAttrs),bT(e,n,t,u,c),ET(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}!function hT(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;u=vm(0,d.inputs,c,u,f?f.inputs:null),l=vm(1,d.outputs,c,l,p);const g=null===u||null===s||il(t)?null:TT(u,c,s);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,i)}function wm(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function Wb(){return x.lFrame.currentDirectiveIndex}();try{Hn(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];xl(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&_T(u,l)}}finally{Hn(-1),xl(s)}}function _T(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Rc(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ET(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;_t(t)&&(n[""]=e)}}function bT(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=Pn(o.type)),s=new Fo(i,_t(o),C);e.blueprint[r]=s,n[r]=s,function yT(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function vT(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Qo(e,n,o.hostVars,P),o)}function Vt(e,t,n,r,o,i){const s=Be(e,t);!function Fc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?O(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[A],s,i,e.value,n,r,o)}function ST(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;)pm(r,n,s[a++],s[a++],s[a++],s[a++])}function TT(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function Cm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Em(e,t){const n=e.contentQueries;if(null!==n){const r=V(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];Is(n[o]),a.contentQueries(2,t[s],s)}}}finally{V(r)}}}function ta(e,t){return e[bo]?e[sp][vt]=t:e[bo]=t,e[sp]=t,t}function Pc(e,t,n){Is(0);const r=V(null);try{t(e,n)}finally{V(r)}}function Im(e){return e[Dr]||(e[Dr]=[])}function bm(e){return e.cleanup||(e.cleanup=[])}function na(e,t){const n=e[Te],r=n?n.get(Lt,null):null;r&&r.handleError(t)}function kc(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=n[i++];pm(e.data[s],t[s],r,a,u,o)}}function NT(e,t){const n=rt(t,e),r=n[w];!function AT(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[ae];null!==o&&null===n[nt]&&(n[nt]=oc(o,n[Te])),Lc(r,n,n[ne])}function Lc(e,t,n){Fl(t);try{const r=e.viewQuery;null!==r&&Pc(1,r,n);const o=e.template;null!==o&&gm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Yt]?.finishViewCreation(e),e.staticContentQueries&&Em(e,t),e.staticViewQueries&&Pc(2,e.viewQuery,n);const i=e.components;null!==i&&function xT(e,t){for(let n=0;n<t.length;n++)NT(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[b]&=-5,Pl()}}function Lr(e,t){return!t||null===t.firstChild||Fs(e)}function Xo(e,t,n,r=!0){const o=t[w];if(function ZS(e,t,n,r){const o=pe+r,i=n.length;r>0&&(n[o-1][vt]=t),r<i-pe?(t[vt]=n[o],Bh(n,pe+r,t)):(n.push(t),t[vt]=null),t[he]=n;const s=t[Mo];null!==s&&n!==s&&function QS(e,t){const n=e[Cr];t[le]!==t[he][he][le]&&(e[b]|=ml.HasTransplantedViews),null===n?e[Cr]=[t]:n.push(t)}(s,t);const a=t[Yt];null!==a&&a.insertView(e),bl(t),t[b]|=128}(o,t,e,n),r){const s=bc(n,e),a=t[A],u=Xs(a,e[At]);null!==u&&function qS(e,t,n,r,o,i){r[ae]=o,r[Oe]=t,Ks(e,r,n,1,o,i)}(o,e[Oe],a,t,u,s)}const i=t[nt];null!==i&&null!==i.firstChild&&(i.firstChild=null)}function Jo(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(J(i)),Fe(i)&&Tm(i,r);const s=n.type;if(8&s)Jo(e,t,n.child,r);else if(32&s){const a=Dc(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=um(t,n);if(Array.isArray(a))r.push(...a);else{const u=Bn(t[le]);Jo(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Tm(e,t){for(let n=pe;n<e.length;n++){const r=e[n],o=r[w].firstChild;null!==o&&Jo(r[w],r,o,t)}e[At]!==e[ae]&&t.push(e[At])}let Nm=[];const PT={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{xo(e.lView)},consumerOnSignalRead(){this.lView[Vn]=this}},Am=100;function ra(e,t=!0,n=0){const r=e[Dt],o=r.rendererFactory;o.begin?.();try{!function kT(e,t){jc(e,t);let n=0;for(;Il(e);){if(n===Am)throw new _(103,!1);n++,jc(e,1)}}(e,n)}catch(s){throw t&&na(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function LT(e,t,n,r){const o=t[b];if(!(256&~o))return;t[Dt].inlineEffectRunner?.flush(),Fl(t);let s=null,a=null;(function VT(e){return 2!==e.type})(e)&&(a=function OT(e){return e[Vn]??function RT(e){const t=Nm.pop()??Object.create(PT);return t.lView=e,t}(e)}(t),s=function dh(e){return e&&(e.nextProducerIndex=0),V(e)}(a));try{Dp(t),function bp(e){return x.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&gm(e,t,n,2,r);const u=!(3&~o);if(u){const d=e.preOrderCheckHooks;null!==d&&Ms(t,d,null)}else{const d=e.preOrderHooks;null!==d&&Ss(t,d,0,null),kl(t,0)}if(function jT(e){for(let t=fg(e);null!==t;t=hg(t)){if(!(t[b]&ml.HasTransplantedViews))continue;const n=t[Cr];for(let r=0;r<n.length;r++){Pb(n[r])}}}(t),xm(t,0),null!==e.contentQueries&&Em(e,t),u){const d=e.contentCheckHooks;null!==d&&Ms(t,d)}else{const d=e.contentHooks;null!==d&&Ss(t,d,1),kl(t,1)}!function iT(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Hn(~o);else{const i=o,s=n[++r],a=n[++r];qb(s,i),a(2,t[i])}}}finally{Hn(-1)}}(e,t);const l=e.components;null!==l&&Rm(t,l,0);const c=e.viewQuery;if(null!==c&&Pc(2,c,r),u){const d=e.viewCheckHooks;null!==d&&Ms(t,d)}else{const d=e.viewHooks;null!==d&&Ss(t,d,2),kl(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[_s]){for(const d of t[_s])d();t[_s]=null}t[b]&=-73}catch(u){throw xo(t),u}finally{null!==a&&(function fh(e,t){if(V(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(yo(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ji(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function FT(e){e.lView[Vn]!==e&&(e.lView=null,Nm.push(e))}(a)),Pl()}}function xm(e,t){for(let n=fg(e);null!==n;n=hg(n))for(let r=pe;r<n.length;r++)Om(n[r],t)}function BT(e,t,n){Om(rt(t,e),n)}function Om(e,t){El(e)&&jc(e,t)}function jc(e,t){const r=e[w],o=e[b],i=e[Vn];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!Tu(i)),i&&(i.dirty=!1),e[b]&=-9217,s)LT(r,e,r.template,e[ne]);else if(8192&o){xm(e,1);const a=r.components;null!==a&&Rm(e,a,1)}}function Rm(e,t,n){for(let r=0;r<t.length;r++)BT(e,t[r],n)}function Ko(e){for(e[Dt].changeDetectionScheduler?.notify();e;){e[b]|=64;const t=Bn(e);if(vl(e)&&!t)return e;e=t}return null}class ei{get rootNodes(){const t=this._lView,n=t[w];return Jo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ne]}set context(t){this._lView[ne]=t}get destroyed(){return!(256&~this._lView[b])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[he];if(Fe(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(qo(t,r),cs(n,r))}this._attachedToViewContainer=!1}Ys(this._lView[w],this._lView)}onDestroy(t){Es(this._lView,t)}markForCheck(){Ko(this._cdRefInjectingView||this._lView)}detach(){this._lView[b]&=-129}reattach(){bl(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,ra(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Kg(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t,bl(this._lView)}}let tn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=UT}return e})();const HT=tn,$T=class extends HT{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function Yo(e,t,n,r){const o=V(null);try{const i=t.tView,u=ea(e,i,n,4096&e[b]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);u[Mo]=e[t.index];const c=e[Yt];return null!==c&&(u[Yt]=c.createEmbeddedView(i)),Lc(i,u,n),u}finally{V(o)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ei(o)}};function UT(){return oa(Y(),y())}function oa(e,t){return 4&e.type?new $T(t,e,Nr(e,t)):null}class zc{}class p0{}class Bm{}class m0{resolveComponentFactory(t){throw function g0(e){const t=Error(`No component factory found for ${_e(e)}.`);return t.ngComponent=e,t}(t)}}let jr=(()=>{class e{static#e=this.NULL=new m0}return e})();class $m{}let zn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function y0(){const e=y(),n=rt(Y().index,e);return(Re(n)?n:e)[A]}()}return e})(),v0=(()=>{class e{static#e=this.\u0275prov=L({token:e,providedIn:"root",factory:()=>null})}return e})();const qc={};function Gm(...e){}class K{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ae(!1),this.onMicrotaskEmpty=new Ae(!1),this.onStable=new Ae(!1),this.onError=new Ae(!1),typeof Zone>"u")throw new _(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 D0(){const e="function"==typeof Z.requestAnimationFrame;let t=Z[e?"requestAnimationFrame":"setTimeout"],n=Z[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 C0(e){const t=()=>{!function w0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Z,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Zc(e),e.isCheckStableRunning=!0,Wc(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,a)=>{if(function E0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return zm(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),qm(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return zm(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),qm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Zc(e),Wc(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(!K.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(K.isInAngularZone())throw new _(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,_0,Gm,Gm);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 _0={};function Wc(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 zm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qm(e){e._nesting--,Wc(e)}class Wm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ae,this.onMicrotaskEmpty=new Ae,this.onStable=new Ae,this.onError=new Ae}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let ii=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=L({token:e,providedIn:"root",factory:()=>new e})}return e})();function ca(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Bu(o,a):2==i&&(r=Bu(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}class Km extends jr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=j(t);return new ui(n,this.ngModule)}}function ey(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];void 0!==r&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}class da{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ls(r);const o=this.injector.get(t,qc,r);return o!==qc||n===qc?o:this.parentInjector.get(t,n,r)}}class ui extends Bm{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=ey(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return ey(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function eb(e){return e.map(KI).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){const i=V(null);try{let s=(o=o||this.ngModule)instanceof yt?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new da(t,s):t,u=a.get($m,null);if(null===u)throw new _(407,!1);const l=a.get(v0,null),f={rendererFactory:u,sanitizer:l,inlineEffectRunner:null,afterRenderEventManager:a.get(ii,null),changeDetectionScheduler:a.get(zc,null)},h=u.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",g=r?function aT(e,t,n,r){const i=r.get(Ng,!1)||n===gt.ShadowDom,s=e.selectRootElement(t,i);return function uT(e){ym(e)}(s),s}(h,r,this.componentDef.encapsulation,a):Qs(h,p,function N0(e){const t=e.toLowerCase();return"svg"===t?mp:"math"===t?"math":null}(p));let m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let D=null;null!==g&&(D=oc(g,a,!0));const v=xc(0,null,null,1,0,null,null,null,null,null,null),E=ea(null,v,null,m,null,null,f,h,a,null,D);let T,B;Fl(E);try{const W=this.componentDef;let Me,an=null;W.findHostDirectiveDefs?(Me=[],an=new Map,W.findHostDirectiveDefs(W,Me,an),Me.push(W)):Me=[W];const ZE=function x0(e,t){const n=e[w],r=R;return e[r]=t,kr(n,r,2,"#host",null)}(E,g),Ej=function O0(e,t,n,r,o,i,s){const a=o[w];!function R0(e,t,n,r){for(const o of e)t.mergedAttrs=Co(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ca(t,t.mergedAttrs,!0),null!==n&&fm(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=oc(t,o[Te]));const l=i.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=ea(o,mm(n),null,c,o[e.index],e,i,l,null,null,u);return a.firstCreatePass&&Rc(a,e,r.length-1),ta(o,d),o[e.index]=d}(ZE,g,W,Me,E,f,h);B=Ao(v,R),g&&function P0(e,t,n,r){if(r)ol(e,n,["ng-version","17.3.3"]);else{const{attrs:o,classes:i}=function tb(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!mt(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&ol(e,n,o),i&&i.length>0&&dm(e,n,i.join(" "))}}(h,W,g,r),void 0!==n&&function k0(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(B,this.ngContentSelectors,n),T=function F0(e,t,n,r,o,i){const s=Y(),a=o[w],u=Be(s,o);_m(a,o,s,n,null,r);for(let c=0;c<n.length;c++)ke($n(o,a,s.directiveStart+c,s),o);wm(a,o,s),u&&ke(u,o);const l=$n(o,a,s.directiveStart+s.componentOffset,s);if(e[ne]=o[ne]=l,null!==i)for(const c of i)c(l,t);return Tc(a,s,o),l}(Ej,W,Me,an,E,[L0]),Lc(v,E,null)}finally{Pl()}return new A0(this.componentType,T,Nr(B,E),E,B)}finally{V(i)}}}class A0 extends p0{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new ei(o,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;kc(i[w],i,o,t,n),this.previousInputValues.set(t,n),Ko(rt(this._tNode.index,i))}}get injector(){return new Ee(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function L0(){const e=Y();bs(y()[w],e)}let Bt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=V0}return e})();function V0(){return ry(Y(),y())}const j0=Bt,ty=class extends j0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Nr(this._hostTNode,this._hostLView)}get injector(){return new Ee(this._hostTNode,this._hostLView)}get parentInjector(){const t=As(this._hostTNode,this._hostLView);if(Vl(t)){const n=ko(t,this._hostLView),r=Po(t);return new Ee(n[w].data[r+8],n)}return new Ee(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ny(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-pe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Lr(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function Io(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const u=s?t:new ui(j(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const g=(s?l:this.parentInjector).get(yt,null);g&&(i=g)}j(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,Lr(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function Fb(e){return Fe(e[he])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const u=o[he],l=new ty(u,u[Oe],u[he]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Xo(s,o,i,r),t.attachToViewContainerRef(),Bh(Jc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ny(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=qo(this._lContainer,n);r&&(cs(Jc(this._lContainer),n),Ys(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=qo(this._lContainer,n);return r&&null!=cs(Jc(this._lContainer),n)?new ei(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ny(e){return e[8]}function Jc(e){return e[8]||(e[8]=[])}function ry(e,t){let n;const r=t[e.index];return Fe(r)?n=r:(n=Cm(r,t,null,e),t[e.index]=n,ta(t,n)),oy(n,t,e,r),new ty(n,e,t)}let oy=function sy(e,t,n,r){if(e[At])return;let o;o=8&n.type?J(r):function B0(e,t){const n=e[A],r=n.createComment(""),o=Be(t,e);return Gn(n,Xs(n,o),r,function KS(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[At]=o},Kc=()=>!1;class ed{constructor(t){this.queryList=t,this.matches=null}clone(){return new ed(this.queryList)}setDirty(){this.queryList.setDirty()}}class td{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;i<r;i++){const s=n.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new td(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==sd(t,n).matches&&this.queries[n].setDirty()}}class ay{constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function Z0(e){return e.split(",").map(t=>t.trim())}(t):t}}class nd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new nd(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class rd{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new rd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(t,n,G0(n,i)),this.matchTNodeWithReadOption(t,n,xs(n,t,i,!1,!1))}else r===tn?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,xs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===ut||o===Bt||o===tn&&4&n.type)this.addMatch(n.index,-2);else{const i=xs(n,t,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function G0(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function q0(e,t,n,r){return-1===n?function z0(e,t){return 11&e.type?Nr(e,t):4&e.type?oa(e,t):null}(t,e):-2===n?function W0(e,t,n){return n===ut?Nr(t,e):n===tn?oa(t,e):n===Bt?ry(t,e):void 0}(e,t,r):$n(e,e[w],n,t)}function uy(e,t,n,r){const o=t[Yt].queries[r];if(null===o.matches){const i=e.data,s=n.matches,a=[];for(let u=0;null!==s&&u<s.length;u+=2){const l=s[u];a.push(l<0?null:q0(t,i[l],s[u+1],n.metadata.read))}o.matches=a}return o.matches}function od(e,t,n,r){const o=e.queries.getByIndex(n),i=o.matches;if(null!==i){const s=uy(e,t,o,n);for(let a=0;a<i.length;a+=2){const u=i[a];if(u>0)r.push(s[a/2]);else{const l=i[a+1],c=t[-u];for(let d=pe;d<c.length;d++){const f=c[d];f[Mo]===f[he]&&od(f[w],f,l,r)}if(null!==c[Cr]){const d=c[Cr];for(let f=0;f<d.length;f++){const h=d[f];od(h[w],h,l,r)}}}}}return r}function cy(e,t,n){const r=H();return r.firstCreatePass&&(function fy(e,t,n){null===e.queries&&(e.queries=new nd),e.queries.track(new rd(t,n))}(r,new ay(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),function ly(e,t,n){const r=new ql(!(4&~n));return function dT(e,t,n,r){const o=Im(t);o.push(n),e.firstCreatePass&&bm(e).push(r,o.length-1)}(e,t,r,r.destroy),(t[Yt]??=new td).queries.push(new ed(r))-1}(r,y(),t)}function sd(e,t){return e.queries.getByIndex(t)}function hy(e,t){const n=e[w],r=sd(n,t);return r.crossesNgTemplate?od(n,e,t,[]):uy(n,e,r,t)}function X(e){let t=function Sy(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(_t(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=ha(e.inputs),s.inputTransforms=ha(e.inputTransforms),s.declaredInputs=ha(e.declaredInputs),s.outputs=ha(e.outputs);const a=o.hostBindings;a&&cN(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&uN(e,u),l&&lN(e,l),sN(e,o),wI(e.outputs,o.outputs),_t(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===X&&(n=!1)}}t=Object.getPrototypeOf(t)}!function aN(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Co(o.hostAttrs,n=Co(n,o.hostAttrs))}}(r)}function sN(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function ha(e){return e===Nt?{}:e===U?[]:e}function uN(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function lN(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function cN(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}class Zn{}class yN{}class ud extends Zn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Km(this);const o=function xe(e,t){const n=e[Fh]||null;if(!n&&!0===t)throw new Error(`Type ${_e(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function ot(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Jp(t,n,[{provide:Zn,useValue:this},{provide:jr,useValue:this.componentFactoryResolver},...r],_e(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 ld extends yN{constructor(t){super(),this.moduleType=t}create(t){return new ud(this.moduleType,t,[])}}let Qn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new vI(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ga(e){return!!function cd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ge(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function yn(e,t,n,r,o,i,s,a){const u=y(),l=H(),c=e+R,d=l.firstCreatePass?function bN(e,t,n,r,o,i,s,a,u){const l=t.consts,c=kr(t,e,4,s||null,Rt(l,a));Oc(t,n,c,Rt(l,u)),bs(t,c);const d=c.tView=xc(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];Ft(d,!1);const f=Ry(l,u,d,e);Ro()&&Js(l,u,f,d),ke(f,u);const h=Cm(f,u,f,d);return u[c]=h,ta(u,h),function iy(e,t,n){return Kc(e,t,n)}(h,d,u),Cs(d)&&Nc(l,u,d),null!=s&&Ac(u,d,a),yn}let Ry=function Fy(e,t,n,r){return Pt(!0),t[A].createComment("")};function Et(e,t,n,r){const o=y();return ge(o,wt(),t)&&(H(),Vt(re(),o,e,t,n,r)),Et}function Zr(e,t,n,r){return ge(e,wt(),n)?t+O(n)+r:P}function Ca(e,t){return e<<17|t<<2}function Dn(e){return e>>17&32767}function _d(e){return 2|e}function Jn(e){return(131068&e)>>2}function wd(e,t){return-131069&e|t<<2}function Cd(e){return 1|e}function dv(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Dn(o):Jn(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];cA(e[s],t)&&(a=!0,e[s+1]=r?Cd(l):_d(l)),s=r?Dn(l):Jn(l)}a&&(e[n+1]=r?_d(o):Cd(o))}function cA(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&pr(e,t)>=0}function Kn(e,t,n){const r=y();return ge(r,wt(),t)&&Ye(H(),re(),r,e,t,r[A],n,!1),Kn}function Ed(e,t,n,r,o){const s=o?"class":"style";kc(e,n,t.inputs[s],s,r)}function ro(e,t){return function It(e,t,n,r){const o=y(),i=H(),s=function Jt(e){const t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function _v(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Pe()],s=function Dv(e,t){return t>=e.expandoStartIndex}(e,n);(function Iv(e,t){return!!(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function DA(e,t,n,r){const o=function Ol(e){const t=x.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=gi(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 u=function _A(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Jn(r))return e[Dn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Id(null,e,t,u[1],r),u=gi(u,t.attrs,r),function wA(e,t,n,r){e[Dn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function CA(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=gi(r,e[i].hostAttrs,n);return gi(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function uA(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Dn(s),u=Jn(s);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||pr(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=Dn(e[a+1]);e[r+1]=Ca(f,a),0!==f&&(e[f+1]=wd(e[f+1],r)),e[a+1]=function sA(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ca(a,0),0!==a&&(e[a+1]=wd(e[a+1],r)),a=r;else e[r+1]=Ca(u,0),0===a?a=r:e[u+1]=wd(e[u+1],r),u=r;l&&(e[r+1]=_d(e[r+1])),dv(e,c,r,!0),dv(e,c,r,!1),function lA(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&pr(i,t)>=0&&(n[r+1]=Cd(n[r+1]))}(t,c,e,r,i),s=Ca(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==P&&ge(o,s,t)&&function Cv(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function aA(e){return!(1&~e)}(l)?Ev(u,t,n,o,Jn(l),s):void 0;Ea(c)||(Ea(i)||function iA(e){return!(2&~e)}(l)&&(i=Ev(u,null,n,o,a,s)),function nT(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:gn.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=gn.Important),e.setStyle(n,r,o,i))}}(r,s,No(Pe(),n),o,i))}(i,i.data[Pe()],o,o[A],e,o[s+1]=function MA(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=_e(hn(e)))),e}(t,n),r,s)}(e,t,null,!0),ro}function Id(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=gi(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function gi(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),tt(e,s,!!n||t[++i]))}return void 0===e?null:e}function Ev(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===P&&(f=d?U:void 0);let h=d?nl(f,r):c===r?f:void 0;if(l&&!Ea(h)&&(h=nl(u,r)),Ea(h)&&(a=h,s))return a;const p=e[o+1];o=s?Dn(p):Jn(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=nl(u,r))}return a}function Ea(e){return void 0!==e}function ct(e,t,n,r){const o=y(),i=H(),s=R+e,a=o[A],u=i.firstCreatePass?function QA(e,t,n,r,o,i){const s=t.consts,u=kr(t,e,2,r,Rt(s,o));return Oc(t,n,u,Rt(s,i)),null!==u.attrs&&ca(u,u.attrs,!1),null!==u.mergedAttrs&&ca(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=Tv(i,o,u,a,t,e);o[s]=l;const c=Cs(u);return Ft(u,!0),fm(a,l,u),!function di(e){return!(32&~e.flags)}(u)&&Ro()&&Js(i,o,l,u),0===function kb(){return x.lFrame.elementDepthCount}()&&ke(l,o),function Lb(){x.lFrame.elementDepthCount++}(),c&&(Nc(i,o,u),Tc(i,u,o)),null!==r&&Ac(o,u),ct}function Gt(){let e=Y();Nl()?Al():(e=e.parent,Ft(e,!1));const t=e;(function jb(e){return x.skipHydrationRootTNode===e})(t)&&function Ub(){x.skipHydrationRootTNode=null}(),function Vb(){x.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(bs(n,e),yl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function rM(e){return!!(8&e.flags)}(t)&&Ed(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function oM(e){return!!(16&e.flags)}(t)&&Ed(n,t,y(),t.stylesWithoutHost,!1),Gt}function Nd(e,t,n,r){return ct(e,t,n,r),Gt(),Nd}let Tv=(e,t,n,r,o,i)=>(Pt(!0),Qs(r,o,function Rp(){return x.lFrame.currentNamespace}()));function mi(e,t,n){const r=y(),o=H(),i=e+R,s=o.firstCreatePass?function JA(e,t,n,r,o){const i=t.consts,s=Rt(i,r),a=kr(t,e,8,"ng-container",s);return null!==s&&ca(a,s,!0),Oc(t,n,a,Rt(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Ft(s,!0);const a=Av(o,r,s,e);return r[i]=a,Ro()&&Js(o,r,a,s),ke(a,r),Cs(s)&&(Nc(o,r,s),Tc(o,s,r)),null!=n&&Ac(r,s),mi}function yi(){let e=Y();const t=H();return Nl()?Al():(e=e.parent,Ft(e,!1)),t.firstCreatePass&&(bs(t,e),yl(e)&&t.queries.elementEnd(e)),yi}let Av=(e,t,n,r)=>(Pt(!0),wc(t[A],""));function Ad(){return y()}const io="en-US";let Pv=io;function Je(e,t,n,r){const o=y(),i=H(),s=Y();return function Rd(e,t,n,r,o,i,s){const a=Cs(r),l=e.firstCreatePass&&bm(e),c=t[ne],d=Im(t);let f=!0;if(3&r.type||s){const g=Be(r,t),m=s?s(g):g,D=d.length,v=s?T=>s(J(T[r.index])):r.index;let E=null;if(!s&&a&&(E=function Kx(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[Dr],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=i,E.__ngLastListenerFn__=i,f=!1;else{i=lD(r,t,c,i,!1);const T=n.listen(m,o,i);d.push(i,T),l&&l.push(o,v,D,D+1)}}else i=lD(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let m=0;m<g;m+=2){const B=t[p[m]][p[m+1]].subscribe(i),W=d.length;d.push(i,B),l&&l.push(o,r.index,W,-(W+1))}}}(i,o,o[A],s,e,t,r),Je}function uD(e,t,n,r){const o=V(null);try{return Ot(6,t,n),!1!==n(r)}catch(i){return na(e,i),!1}finally{Ot(7,t,n),V(o)}}function lD(e,t,n,r,o){return function i(s){if(s===Function)return r;Ko(e.componentOffset>-1?rt(e.index,t):t);let u=uD(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=uD(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function Ii(e=1){return function Qb(e){return(x.lFrame.contextLView=function _p(e,t){for(;e>0;)t=t[_r],e--;return t}(e,x.lFrame.contextLView))[ne]}(e)}function Fd(e,t,n){return bi(e,"",t,"",n),Fd}function bi(e,t,n,r,o){const i=y(),s=Zr(i,t,n,r);return s!==P&&Ye(H(),re(),i,e,s,i[A],o,!1),bi}function _D(){return function id(e,t){return e[Yt].queries[t].queryList}(y(),Rl())}function Mi(e,t=""){const n=y(),r=H(),o=e+R,i=r.firstCreatePass?kr(r,o,1,t,null):r.data[o],s=xD(r,n,i,t,e);n[o]=s,Ro()&&Js(r,n,s,i),Ft(i,!1)}let xD=(e,t,n,r,o)=>(Pt(!0),function _c(e,t){return e.createText(t)}(t[A],r));function Ta(e){return Si("",e,""),Ta}function Si(e,t,n){const r=y(),o=Zr(r,e,t,n);return o!==P&&function en(e,t,n){const r=No(t,e);!function Jg(e,t,n){e.setValue(t,n)}(e[A],r,n)}(r,Pe(),o),Si}function Pd(e,t,n,r,o){if(e=N(e),Array.isArray(e))for(let i=0;i<e.length;i++)Pd(e[i],t,n,r,o);else{const i=H(),s=y(),a=Y();let u=Ln(e)?e:N(e.provide);const l=rp(e),c=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(Ln(e)||!e.multi){const h=new Fo(l,o,C),p=Ld(u,t,o?c:c+f,d);-1===p?(Hl(Ns(a,s),i,u),kd(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Ld(u,t,c+f,d),p=Ld(u,t,c,c+f),m=p>=0&&n[p];if(o&&!m||!o&&!(h>=0&&n[h])){Hl(Ns(a,s),i,u);const D=function EO(e,t,n,r,o){const i=new Fo(e,n,C);return i.multi=[],i.index=t,i.componentProviders=0,$D(i,o,r&&!n),i}(o?CO:wO,n.length,o,r,l);!o&&m&&(n[p].providerFactory=D),kd(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else kd(i,e,h>-1?h:p,$D(n[o?p:h],l,!o&&r));!o&&r&&m&&n[p].componentProviders++}}}function kd(e,t,n,r){const o=Ln(t),i=function ub(e){return!!e.useClass}(t);if(o||i){const u=(i?N(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function $D(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ld(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function wO(e,t,n,r){return Vd(this.multi,[])}function CO(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=$n(n,n[w],this.providerFactory.index,r);i=a.slice(0,s),Vd(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Vd(o,i);return i}function Vd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ue(e,t=[]){return n=>{n.providersResolver=(r,o)=>function _O(e,t,n){const r=H();if(r.firstCreatePass){const o=_t(e);Pd(n,r.data,r.blueprint,o,!0),Pd(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}function GD(e,t,n,r,o,i){const s=t+n;return ge(e,s,o)?function Ht(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function Ti(e,t){const n=e[t];return n===P?void 0:n}(e,s+1)}function YD(e,t,n){const r=e+R,o=y(),i=Er(o,r);return function Ni(e,t){return e[w].data[t].pure}(o,r)?GD(o,function He(){const e=x.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,i.transform,n,i):i.transform(n)}const m_=new I(""),Oa=new I("");let qd,Gd=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,qd||(function LR(e){qd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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 n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(k(K),k(zd),k(Oa))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})(),zd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return qd?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ra(e){return!!e&&"function"==typeof e.then}function y_(e){return!!e&&"function"==typeof e.subscribe}const VR=new I("");let Wd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=M(VR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Ra(i))n.push(i);else if(y_(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const v_=new I("");function w_(e,t){return Array.isArray(t)?t.reduce(w_,e):{...e,...t}}let _n=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=M(eg),this.afterRenderEffectManager=M(ii),this.externalTestViews=new Set,this.beforeRender=new Fn,this.afterTick=new Fn,this.componentTypes=[],this.components=[],this.isStable=M(Qn).hasPendingTasks.pipe(qt(n=>!n)),this._injector=M(yt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Bm;if(!this._injector.get(Wd).done)throw!o&&function kn(e){const t=j(e)||we(e)||Se(e);return null!==t&&t.standalone}(n),new _(405,!1);let s;s=o?n:this._injector.get(jr).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function jR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Zn),l=s.create($e.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(m_,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Fa(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new _(101,!1);const r=V(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,V(r)}}detectChangesInAttachedViews(n){let r=0;const o=this.afterRenderEffectManager;for(;;){if(r===Am)throw new _(103,!1);if(n){const i=0===r;this.beforeRender.next(i);for(let{_lView:s,notifyErrorHandler:a}of this._views)HR(s,i,a)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Zd(i))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Zd(i))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Fa(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(v_,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Fa(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Fa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function HR(e,t,n){!t&&!Zd(e)||function $R(e,t,n){let r;n?(r=0,e[b]|=1024):r=64&e[b]?0:1,ra(e,t,r)}(e,n,t)}function Zd(e){return Il(e)}let qR=(()=>{class e{constructor(){this.zone=M(K),this.applicationRef=M(_n)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function WR(){const e=M(K),t=M(Lt);return n=>e.runOutsideAngular(()=>t.handleError(n))}let QR=(()=>{class e{constructor(){this.subscription=new at,this.initialized=!1,this.zone=M(K),this.pendingTasks=M(Qn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{K.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const nn=new I("",{providedIn:"root",factory:()=>M(nn,$.Optional|$.SkipSelf)||function YR(){return typeof $localize<"u"&&$localize.locale||io}()}),Qd=new I("");let b_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function I0(e="zone.js",t){return"noop"===e?new Wm:"zone.js"===e?new K(t):e}(r?.ngZone,function I_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function DN(e,t,n){return new ud(e,t,n)}(n.moduleType,this.injector,function E_(e){return[{provide:K,useFactory:e},{provide:gr,multi:!0,useFactory:()=>{const t=M(qR,{optional:!0});return()=>t.initialize()}},{provide:gr,multi:!0,useFactory:()=>{const t=M(QR);return()=>{t.initialize()}}},{provide:eg,useFactory:WR}]}(()=>o)),s=i.injector.get(Lt,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Fa(this._modules,i),a.unsubscribe()})}),function __(e,t,n){try{const r=n();return Ra(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Wd);return a.runInitializers(),a.donePromise.then(()=>(function kv(e){"string"==typeof e&&(Pv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(nn,io)||io),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=w_({},r);return function zR(e,t,n){const r=new ld(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(_n);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new _(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Qd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(k($e))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),wn=null;const M_=new I("");function S_(e,t,n=[]){const r=`Platform: ${t}`,o=new I(r);return(i=[])=>{let s=Yd();if(!s||s.injector.get(M_,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function KR(e){if(wn&&!wn.get(M_,!1))throw new _(400,!1);(function D_(){!function nI(e){mh=e}(()=>{throw new _(600,!1)})})(),wn=e;const t=e.get(b_);(function N_(e){e.get(Cg,null)?.forEach(n=>n())})(e)}(function T_(e=[],t){return $e.create({name:t,providers:[{provide:ll,useValue:"platform"},{provide:Qd,useValue:new Set([()=>wn=null])},...e]})}(a,r))}return function eF(e){const t=Yd();if(!t)throw new _(401,!1);return t}()}}function Yd(){return wn?.get(b_)??null}let ka=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=nF}return e})();function nF(e){return function rF(e,t,n){if(jn(e)&&!n){const r=rt(e.index,t);return new ei(r,r)}return 47&e.type?new ei(t[le],t):null}(Y(),y(),!(16&~e))}class F_{constructor(){}supports(t){return ga(t)}create(t){return new uF(t)}}const aF=(e,t)=>t;class uF{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||aF}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<k_(r,o,i)?n:r,a=k_(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ga(t))throw new _(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function EN(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,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 lF(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 P_),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 P_),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 lF{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 cF{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 P_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new cF,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 k_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function V_(){return new tf([new F_])}let tf=(()=>{class e{static#e=this.\u0275prov=L({token:e,providedIn:"root",factory:V_});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||V_()),deps:[[e,new el,new Ku]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new _(901,!1)}}return e})();const gF=S_(null,"core",[]);let mF=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(k(_n))};static#t=this.\u0275mod=cn({type:e});static#n=this.\u0275inj=Zt({})}return e})(),uw=null;function Pi(){return uw}class JF{}const Cn=new I("");function yw(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class BP{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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 _w=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new BP(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),ww(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{ww(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(Bt),C(tn),C(tf))};static#t=this.\u0275dir=F({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function ww(e,t){e.context.$implicit=t.item}let Cw=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new HP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Ew("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Ew("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(Bt),C(tn))};static#t=this.\u0275dir=F({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class HP{constructor(){this.$implicit=null,this.ngIf=null}}function Ew(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${_e(t)}'.`)}let hk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cn({type:e});static#n=this.\u0275inj=Zt({})}return e})();function Sw(e){return"server"===e}class Tw{}class zk extends JF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Cf extends zk{static makeCurrent(){!function XF(e){uw??=e}(new Cf)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function qk(){return ji=ji||document.querySelector("base"),ji?ji.getAttribute("href"):null}();return null==n?null:function Wk(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){ji=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return yw(document.cookie,t)}}let ji=null,Qk=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const Ef=new I("");let Lw=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(k(Ef),k(K))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();class Vw{constructor(t){this._doc=t}}const If="ng-app-id";let jw=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Sw(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${If}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(If),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(If,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(k(Cn),k(Ls),k(Eg,8),k(Un))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const bf={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/"},Mf=/%COMP%/g,Kk=new I("",{providedIn:"root",factory:()=>!0});function Hw(e,t){return t.map(n=>n.replace(Mf,e))}let $w=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Sw(a),this.defaultRenderer=new Sf(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===gt.ShadowDom&&(r={...r,encapsulation:gt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof Gw?o.applyToHost(n):o instanceof Tf&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case gt.Emulated:i=new Gw(u,l,r,this.appId,c,s,a,d);break;case gt.ShadowDom:return new r1(u,l,n,r,s,a,this.nonce,d);default:i=new Tf(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(k(Lw),k(jw),k(Ls),k(Kk),k(Cn),k(Un),k(K),k(Eg))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();class Sf{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(bf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Uw(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Uw(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new _(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=bf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=bf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(gn.DashCase|gn.Important)?t.style.setProperty(n,r,o&gn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&gn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Pi().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function Uw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class r1 extends Sf{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Hw(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Tf extends Sf{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Hw(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Gw extends Tf{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function e1(e){return"_ngcontent-%COMP%".replace(Mf,e)}(l),this.hostAttr=function t1(e){return"_nghost-%COMP%".replace(Mf,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let o1=(()=>{class e extends Vw{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(k(Cn))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const zw=["alt","control","meta","shift"],i1={"\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"},s1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let a1=(()=>{class e extends Vw{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pi().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),zw.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=i1[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),zw.forEach(s=>{s!==o&&(0,s1[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(k(Cn))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const d1=S_(gF,"browser",[{provide:Un,useValue:"browser"},{provide:Cg,useValue:function u1(){Cf.makeCurrent()},multi:!0},{provide:Cn,useFactory:function c1(){return function zM(e){Yl=e}(document),document},deps:[]}]),f1=new I(""),Zw=[{provide:Oa,useClass:class Zk{addToWindow(t){Z.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new _(5103,!1);return i},Z.getAllAngularTestabilities=()=>t.getAllTestabilities(),Z.getAllAngularRootElements=()=>t.getAllRootElements(),Z.frameworkStabilizers||(Z.frameworkStabilizers=[]),Z.frameworkStabilizers.push(r=>{const o=Z.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Pi().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:m_,useClass:Gd,deps:[K,zd,Oa]},{provide:Gd,useClass:Gd,deps:[K,zd,Oa]}],Qw=[{provide:ll,useValue:"root"},{provide:Lt,useFactory:function l1(){return new Lt},deps:[]},{provide:Ef,useClass:o1,multi:!0,deps:[Cn,K,Un]},{provide:Ef,useClass:a1,multi:!0,deps:[Cn]},$w,jw,Lw,{provide:$m,useExisting:$w},{provide:Tw,useClass:Qk,deps:[]},[]];let h1=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ls,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(k(f1,12))};static#t=this.\u0275mod=cn({type:e});static#n=this.\u0275inj=Zt({providers:[...Qw,...Zw],imports:[hk,mF]})}return e})();function En(e){return this instanceof En?(this.v=e,this):new En(e)}function nC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Of(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const rC=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function oC(e){return fe(e?.then)}function iC(e){return fe(e[Lu])}function sC(e){return Symbol.asyncIterator&&fe(e?.[Symbol.asyncIterator])}function aC(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const uC=function V1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function lC(e){return fe(e?.[uC])}function cC(e){return function tC(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof En?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield En(n.read());if(o)return yield En(void 0);yield yield En(r)}}finally{n.releaseLock()}})}function dC(e){return fe(e?.getReader)}function sn(e){if(e instanceof Ve)return e;if(null!=e){if(iC(e))return function j1(e){return new Ve(t=>{const n=e[Lu]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(rC(e))return function B1(e){return new Ve(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(oC(e))return function H1(e){return new Ve(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Eh)})}(e);if(sC(e))return fC(e);if(lC(e))return function $1(e){return new Ve(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(dC(e))return function U1(e){return fC(cC(e))}(e)}throw aC(e)}function fC(e){return new Ve(t=>{(function G1(e,t){var n,r,o,i;return function Kw(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=nC(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function In(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function hC(e,t=0){return Tt((n,r)=>{n.subscribe(pt(r,o=>In(r,e,()=>r.next(o),t),()=>In(r,e,()=>r.complete(),t),o=>In(r,e,()=>r.error(o),t)))})}function pC(e,t=0){return Tt((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function gC(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ve(n=>{In(n,t,()=>{const r=e[Symbol.asyncIterator]();In(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function iu(e,t){return t?function Y1(e,t){if(null!=e){if(iC(e))return function z1(e,t){return sn(e).pipe(pC(t),hC(t))}(e,t);if(rC(e))return function W1(e,t){return new Ve(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(oC(e))return function q1(e,t){return sn(e).pipe(pC(t),hC(t))}(e,t);if(sC(e))return gC(e,t);if(lC(e))return function Z1(e,t){return new Ve(n=>{let r;return In(n,t,()=>{r=e[uC](),In(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>fe(r?.return)&&r.return()})}(e,t);if(dC(e))return function Q1(e,t){return gC(cC(e),t)}(e,t)}throw aC(e)}(e,t):sn(e)}const{isArray:X1}=Array,{getPrototypeOf:J1,prototype:K1,keys:eL}=Object;function Rf(e){return e[e.length-1]}function mC(e){return function rL(e){return e&&fe(e.schedule)}(Rf(e))?e.pop():void 0}const{isArray:sL}=Array;function lL(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function cL(...e){const t=function oL(e){return fe(Rf(e))?e.pop():void 0}(e),{args:n,keys:r}=function tL(e){if(1===e.length){const t=e[0];if(X1(t))return{args:t,keys:null};if(function nL(e){return e&&"object"==typeof e&&J1(e)===K1}(t)){const n=eL(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new Ve(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;sn(n[c]).subscribe(pt(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?lL(r,a):a),i.complete())}))}});return t?o.pipe(function uL(e){return qt(t=>function aL(e,t){return sL(t)?e(...t):e(t)}(e,t))}(t)):o}let yC=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(zn),C(ut))};static#t=this.\u0275dir=F({type:e})}return e})(),nr=(()=>{class e extends yC{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ne(e)))(o||e)}})();static#t=this.\u0275dir=F({type:e,features:[X]})}return e})();const zt=new I(""),fL={provide:zt,useExisting:te(()=>su),multi:!0},pL=new I("");let su=(()=>{class e extends yC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function hL(){const e=Pi()?Pi().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(zn),C(ut),C(pL,8))};static#t=this.\u0275dir=F({type:e,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(r,o){1&r&&Je("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ue([fL]),X]})}return e})();const Le=new I(""),Mn=new I("");function TC(e){return null!=e}function NC(e){return Ra(e)?iu(e):e}function AC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function xC(e,t){return t.map(n=>n(e))}function OC(e){return e.map(t=>function mL(e){return!e.validate}(t)?t:n=>t.validate(n))}function Ff(e){return null!=e?function RC(e){if(!e)return null;const t=e.filter(TC);return 0==t.length?null:function(n){return AC(xC(n,t))}}(OC(e)):null}function Pf(e){return null!=e?function FC(e){if(!e)return null;const t=e.filter(TC);return 0==t.length?null:function(n){return cL(xC(n,t).map(NC)).pipe(qt(AC))}}(OC(e)):null}function PC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function kC(e){return e._rawValidators}function LC(e){return e._rawAsyncValidators}function kf(e){return e?Array.isArray(e)?e:[e]:[]}function uu(e,t){return Array.isArray(e)?e.includes(t):e===t}function VC(e,t){const n=kf(t);return kf(e).forEach(o=>{uu(n,o)||n.push(o)}),n}function jC(e,t){return kf(t).filter(n=>!uu(e,n))}class BC{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(t){this._rawValidators=t||[],this._composedValidatorFn=Ff(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Pf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class qe extends BC{get formDirective(){return null}get path(){return null}}class Sn extends BC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class HC{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let $C=(()=>{class e extends HC{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Sn,2))};static#t=this.\u0275dir=F({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&ro("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[X]})}return e})(),UC=(()=>{class e extends HC{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(qe,10))};static#t=this.\u0275dir=F({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&ro("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[X]})}return e})();const Hi="VALID",cu="INVALID",co="PENDING",$i="DISABLED";function jf(e){return(du(e)?e.validators:e)||null}function Bf(e,t){return(du(t)?t.asyncValidators:e)||null}function du(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function zC(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new _(1e3,"");if(!r[n])throw new _(1001,"")}function qC(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new _(1002,"")})}class fu{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Hi}get invalid(){return this.status===cu}get pending(){return this.status==co}get disabled(){return this.status===$i}get enabled(){return this.status!==$i}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(VC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(VC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(jC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(jC(t,this._rawAsyncValidators))}hasValidator(t){return uu(this._rawValidators,t)}hasAsyncValidator(t){return uu(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=co,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=$i,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Hi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Hi||this.status===co)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$i:Hi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=co,this._hasOwnPendingAsyncValidator=!0;const n=NC(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ae,this.statusChanges=new Ae}_calculateStatus(){return this._allControlsDisabled()?$i:this.errors?cu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(co)?co:this._anyControlsHaveStatus(cu)?cu:Hi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){du(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function _L(e){return Array.isArray(e)?Ff(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function wL(e){return Array.isArray(e)?Pf(e):e||null}(this._rawAsyncValidators)}}class Ui extends fu{constructor(t,n,r){super(jf(n),Bf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){qC(this,0,t),Object.keys(t).forEach(r=>{zC(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class WC extends Ui{}const fo=new I("CallSetDisabledState",{providedIn:"root",factory:()=>hu}),hu="always";function Gi(e,t,n=hu){Hf(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function EL(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ZC(e,t)})}(e,t),function bL(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function IL(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ZC(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function CL(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function gu(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),yu(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function mu(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Hf(e,t){const n=kC(e);null!==t.validator?e.setValidators(PC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=LC(e);null!==t.asyncValidator?e.setAsyncValidators(PC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();mu(t._rawValidators,o),mu(t._rawAsyncValidators,o)}function yu(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=kC(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=LC(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return mu(t._rawValidators,r),mu(t._rawAsyncValidators,r),n}function ZC(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function XC(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function JC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value" in e&&"disabled" in e}Promise.resolve();const qi=class extends fu{constructor(t=null,n,r){super(jf(n),Bf(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),du(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=JC(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){XC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){XC(this._onDisabledChange,t)}_forEachChild(t){}_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(t){JC(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};Promise.resolve();const qf=new I(""),BL={provide:qe,useExisting:te(()=>vu)};let vu=(()=>{class e extends qe{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ae,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(yu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Gi(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){gu(n.control||null,n,!1),function NL(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,function YC(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(gu(r||null,n),(e=>e instanceof qi)(o)&&(Gi(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function QC(e,t){Hf(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function ML(e,t){return yu(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Hf(this.form,this),this._oldForm&&yu(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(C(Le,10),C(Mn,10),C(fo,8))};static#t=this.\u0275dir=F({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&Je("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[ce.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ue([BL]),X,xt]})}return e})();const UL={provide:Sn,useExisting:te(()=>Qf)};let Qf=(()=>{class e extends Sn{set isDisabled(n){}static#e=this._ngModelWarningSentOnce=!1;constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Ae,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Gf(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===su?n=i:function TL(e){return Object.getPrototypeOf(e.constructor)===nr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function Uf(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function pu(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(C(qe,13),C(Le,10),C(Mn,10),C(zt,10),C(qf,8))};static#n=this.\u0275dir=F({type:e,selectors:[["","formControlName",""]],inputs:{name:[ce.None,"formControlName","name"],isDisabled:[ce.None,"disabled","isDisabled"],model:[ce.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[ue([UL]),X,xt]})}return e})(),oV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cn({type:e});static#n=this.\u0275inj=Zt({})}return e})();class DE extends fu{constructor(t,n,r){super(jf(n),Bf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){qC(this,0,t),t.forEach((r,o)=>{zC(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function _E(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let iV=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const n=new e;return n.useNonNullable=!0,n}group(n,r=null){const o=this._reduceControls(n);let i={};return _E(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Ui(o,i)}record(n,r=null){const o=this._reduceControls(n);return new WC(o,r)}control(n,r,o){let i={};return this.useNonNullable?(_E(r)?i=r:(i.validators=r,i.asyncValidators=o),new qi(n,{...i,nonNullable:!0})):new qi(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new DE(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return n instanceof qi||n instanceof fu?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sV=(()=>{class e extends iV{group(n,r=null){return super.group(n,r)}control(n,r,o){return super.control(n,r,o)}array(n,r,o){return super.array(n,r,o)}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ne(e)))(o||e)}})();static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aV=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:qf,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:fo,useValue:n.callSetDisabledState??hu}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cn({type:e});static#n=this.\u0275inj=Zt({imports:[oV]})}return e})();const Kf={now:()=>(Kf.delegate||Date).now(),delegate:void 0};class uV extends Fn{constructor(t=1/0,n=1/0,r=Kf){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=n.now();let a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}}function Du(e,t,n=1/0){return fe(t)?Du((r,o)=>qt((i,s)=>t(r,i,o,s))(sn(e(r,o))),n):("number"==typeof t&&(n=t),Tt((r,o)=>function lV(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let m=!1;sn(n(g,c++)).subscribe(pt(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{m=!0},void 0,()=>{if(m)try{for(l--;u.length&&l<r;){const D=u.shift();s?In(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(pt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const wE=new Ve(e=>e.complete());function CE(e,t){return Tt((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(pt(r,u=>{o?.unsubscribe();let l=0;const c=i++;sn(e(u,c)).subscribe(o=pt(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const _u={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return _u.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return _u.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let eh;function wV(e,t,n){let r=n;return function pV(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function mV(e,t){if(!eh){const n=Element.prototype;eh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&eh.call(e,t)}(e,o)||(r=i,0))),r}class EV{constructor(t,n){this.componentFactory=n.get(jr).resolveComponentFactory(t)}create(t){return new IV(this.componentFactory,t)}}class IV{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new uV(1),this.events=this.eventEmitters.pipe(CE(r=>function fV(...e){const t=mC(e),n=function iL(e,t){return"number"==typeof Rf(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?sn(r[0]):function cV(e=1/0){return Du(Vu,e)}(n)(iu(r,t)):wE}(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(K),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=_u.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n,r){this.runInZone(()=>{r&&(n=r.call(this.componentRef?.instance,n)),null!==this.componentRef?function yV(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=$e.create({providers:[],parent:this.injector}),r=function _V(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i<s;++i){const a=n[i],u=wV(a,t,o);-1!==u&&r[u].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.viewChangeDetectorRef=this.componentRef.injector.get(ka),this.implementsOnChanges=function gV(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(_n).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t,transform:n})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),n)}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>t.instance[r].pipe(qt(s=>({name:o,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=_u.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[t];if(r)return void(r.currentValue=n);const o=this.unchangedInputs.has(t),i=o?void 0:this.getInputValue(t);this.inputChanges[t]=new dp(i,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class bV extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function th(e){return Tt((t,n)=>{sn(e).subscribe(pt(n,()=>n.complete(),xu)),!n.closed&&t.subscribe(n)})}class SV extends at{constructor(t,n){super()}schedule(t,n=0){return this}}const wu={setInterval(e,t,...n){const{delegate:r}=wu;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=wu;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class Wi{constructor(t,n=Wi.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Wi.now=Kf.now;const AV=new class NV extends Wi{constructor(t,n=Wi.now){super(t,n),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}(class TV extends SV{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return wu.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;wu.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Ki(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}});function RV(e,t){return e===t}function EE(...e){return iu(e,mC(e))}function IE(e){return Tt((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class Cu{}class Eu{}class ht{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof ht?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new ht;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof ht?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class kV{encodeKey(t){return bE(t)}encodeValue(t){return bE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const VV=/%(\d[a-f0-9])/gi,jV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function bE(e){return encodeURIComponent(e).replace(VV,(t,n)=>jV[n]??t)}function Iu(e){return`${e}`}class Tn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new kV,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function LV(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Iu):[Iu(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Tn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Iu(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Iu(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class BV{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function ME(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function SE(e){return typeof Blob<"u"&&e instanceof Blob}function TE(e){return typeof FormData<"u"&&e instanceof FormData}class Zi{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function HV(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new ht,this.context??=new BV,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Tn,this.urlWithParams=n}serializeBody(){return null===this.body?null:"string"==typeof this.body||ME(this.body)||SE(this.body)||TE(this.body)||function $V(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Tn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||TE(this.body)?null:SE(this.body)?this.body.type||null:ME(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Tn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.transferCache??this.transferCache,s=void 0!==t.body?t.body:this.body,a=t.withCredentials??this.withCredentials,u=t.reportProgress??this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const d=t.context??this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new Zi(n,r,s,{params:c,headers:l,context:d,reportProgress:u,responseType:o,withCredentials:a,transferCache:i})}}var Nn=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Nn||{});class nh{constructor(t,n=Qi.Ok,r="OK"){this.headers=t.headers||new ht,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class bu extends nh{constructor(t={}){super(t),this.type=Nn.ResponseHeader}clone(t={}){return new bu({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class or extends nh{constructor(t={}){super(t),this.type=Nn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new or({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ho extends nh{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var Qi=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Qi||{});function rh(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let NE=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Zi)i=n;else{let u,l;u=o.headers instanceof ht?o.headers:new ht(o.headers),o.params&&(l=o.params instanceof Tn?o.params:new Tn({fromObject:o.params})),i=new Zi(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=EE(i).pipe(function FV(e,t){return fe(t)?Du(e,t,1):Du(e,1)}(u=>this.handler.handle(u)));if(n instanceof Zi||"events"===o.observe)return s;const a=s.pipe(function PV(e,t){return Tt((n,r)=>{let o=0;n.subscribe(pt(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof or));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(qt(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(qt(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(qt(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(qt(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Tn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,rh(o,r))}post(n,r,o={}){return this.request("POST",n,rh(o,r))}put(n,r,o={}){return this.request("PUT",n,rh(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(k(Cu))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();function xE(e,t){return t(e)}function WV(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const QV=new I(""),Yi=new I(""),OE=new I(""),RE=new I("");function YV(){let e=null;return(t,n)=>{null===e&&(e=(M(QV,{optional:!0})??[]).reduceRight(WV,xE));const r=M(Qn),o=r.add();return e(t,n).pipe(IE(()=>r.remove(o)))}}let FE=(()=>{class e extends Cu{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=M(Qn);const o=M(RE,{optional:!0});this.backend=o??n}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Yi),...this.injector.get(OE,[])]));this.chain=o.reduceRight((i,s)=>function ZV(e,t,n){return(r,o)=>function hl(e,t){e instanceof mr&&e.assertNotDestroyed();const r=ln(e),o=We(void 0);try{return t()}finally{ln(r),We(o)}}(n,()=>t(r,i=>e(i,o)))}(i,s,this.injector),xE)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(IE(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(k(Eu),k(yt))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const tj=/^\)\]\}',?\n/;let kE=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new _(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?iu(r.\u0275loadImpl()):EE(null)).pipe(CE(()=>new Ve(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const l=()=>{if(null!==u)return u;const g=s.statusText||"OK",m=new ht(s.getAllResponseHeaders()),D=function nj(e){return"responseURL" in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new bu({headers:m,status:s.status,statusText:g,url:D}),u},c=()=>{let{headers:g,status:m,statusText:D,url:v}=l(),E=null;m!==Qi.NoContent&&(E=typeof s.response>"u"?s.responseText:s.response),0===m&&(m=E?Qi.Ok:0);let T=m>=200&&m<300;if("json"===n.responseType&&"string"==typeof E){const B=E;E=E.replace(tj,"");try{E=""!==E?JSON.parse(E):null}catch(W){E=B,T&&(T=!1,E={error:W,text:E})}}T?(i.next(new or({body:E,headers:g,status:m,statusText:D,url:v||void 0})),i.complete()):i.error(new ho({error:E,headers:g,status:m,statusText:D,url:v||void 0}))},d=g=>{const{url:m}=l(),D=new ho({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(D)};let f=!1;const h=g=>{f||(i.next(l()),f=!0);let m={type:Nn.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),"text"===n.responseType&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:Nn.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Nn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(k(Tw))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();const sh=new I(""),LE=new I("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),VE=new I("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class jE{}let ij=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=yw(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(k(Cn),k(Un),k(LE))};static#t=this.\u0275prov=L({token:e,factory:e.\u0275fac})}return e})();function sj(e,t){const n=e.url.toLowerCase();if(!M(sh)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=M(jE).getToken(),o=M(VE);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var An=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(An||{});function aj(...e){const t=[NE,kE,FE,{provide:Cu,useExisting:FE},{provide:Eu,useExisting:kE},{provide:Yi,useValue:sj,multi:!0},{provide:sh,useValue:!0},{provide:jE,useClass:ij}];for(const n of e)t.push(...n.\u0275providers);return function Eo(e){return{\u0275providers:e}}(t)}const BE=new I("");function uj(){return function ir(e,t){return{\u0275kind:e,\u0275providers:t}}(An.LegacyInterceptors,[{provide:BE,useFactory:YV},{provide:Yi,useExisting:BE,multi:!0}])}let lj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cn({type:e});static#n=this.\u0275inj=Zt({providers:[aj(uj())]})}return e})(),gj=(()=>{class e{static#e=this.apiSuggestionsUrl="/api/suggestion";constructor(n){this.http=n,this.query={identifier:"",phrase:"",filterData:{},language:"nl",page:"1"}}setIdentifierAndLanguage(n,r){this.query.identifier=n,this.query.language=r}getSuggestionResults(n){return this.http.post(e.apiSuggestionsUrl,{...this.query,phrase:n})}static#t=this.\u0275fac=function(r){return new(r||e)(k(NE))};static#n=this.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mj=(()=>{class e{transform(n){return n.replace(/<.*?>/g,"")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=je({name:"stripHtml",type:e,pure:!0})}return e})();const yj=["termInput"];function vj(e,t){if(1&e&&(ct(0,"li",15)(1,"a",16),Mi(2),Gt()()),2&e){const n=t.$implicit,r=t.index,o=Ii(3);ro("js-focus",o.currentFocusedSuggestion===r),bi("id","result-item-",r,""),Et("aria-focused",o.currentFocusedSuggestion===r),Ct(),Kn("href",n.url,pc),Ct(),Ta(n.name)}}function Dj(e,t){if(1&e&&(mi(0),ct(1,"h2",12),Mi(2),Gt(),ct(3,"ul",13),yn(4,vj,3,7,"li",14),Gt(),yi()),2&e){const n=Ii(2);Ct(2),Ta(null==n.labels?null:n.labels.results),Ct(2),Kn("ngForOf",n.suggestions$)}}function _j(e,t){if(1&e){const n=Ad();mi(0),ct(1,"div",5),yn(2,Dj,5,2,"ng-container",4),ct(3,"button",6),Je("click",function(o){return Sl(n),Tl(Ii().handleSearchClick(o))}),ct(4,"p"),Mi(5),ct(6,"span",7),Mi(7),function QD(e,t){const n=H();let r;const o=e+R;n.firstCreatePass?(r=function VO(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&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Pn(r.type)),a=We(C);try{const u=Ts(!1),l=i();return Ts(u),function aO(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,y(),o,l),l}finally{We(a)}}(8,"stripHtml"),Gt()(),function Op(){x.lFrame.currentNamespace=mp}(),ct(9,"svg",8)(10,"g",9),Nd(11,"path",10)(12,"path",11),Gt()()()(),yi()}if(2&e){const n=Ii(),r=function wD(e){return Er(function Gb(){return x.lFrame.contextLView}(),R+e)}(3);Ct(),ro("js-hidden",!n.showSuggestions),bi("id","",n.componentId,"_autocomplete-suggestions"),Ct(),Kn("ngIf",n.suggestions$.length>0),Ct(3),Si(" ",null==n.labels?null:n.labels.search," "),Ct(2),Si('"',YD(8,7,r.value),'"')}}let wj=(()=>{class e{documentClick(n){this.elementRef.nativeElement.contains(n)||(this.showSuggestions=!1)}constructor(n,r,o,i){this.window=n,this.autosuggestService=r,this.formBuilder=o,this.elementRef=i,this.destroy=new Fn,this.componentId=self.crypto.randomUUID(),this.autosuggestEnabled=!0,this.searchType="search",this.changeEvent=new Ae,this.showSuggestions=!1,this.currentFocusedSuggestion=-1,this.searchForm=this.formBuilder.group({term:""}),this.suggestions$=[],this.enterKeyPressed=!1}get labels(){if(this.localizedLabels)return{placeholder:this.localizedLabels[this.searchType+"_searchbox_placeholder"],results:this.localizedLabels[this.searchType+"_autosuggest_results"],search:this.localizedLabels[this.searchType+"_autosuggest_search"]}}ngOnInit(){this.autosuggestService.setIdentifierAndLanguage(this.identifier,document.querySelector("html")?.getAttribute("lang")??"nl"),this.initialTerm&&this.searchForm.setValue({term:this.initialTerm}),this.searchForm.valueChanges.pipe(th(this.destroy)).subscribe(({term:n})=>{this.changeEvent.emit(n)}),this.autosuggestEnabled&&this.searchForm.valueChanges.pipe(th(this.destroy),function xV(e,t=AV){return Tt((n,r)=>{let o=null,i=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const l=i;i=null,r.next(l)}};function u(){const l=s+e,c=t.now();if(c<l)return o=this.schedule(void 0,l-c),void r.add(o);a()}n.subscribe(pt(r,l=>{i=l,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}(250),function OV(e,t=Vu){return e=e??RV,Tt((n,r)=>{let o,i=!0;n.subscribe(pt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}((n,r)=>n.term===r.term)).subscribe(({term:n})=>{this.enterKeyPressed||(this.showSuggestions=n.length>0),this.autosuggestService.getSuggestionResults(n).pipe(th(this.destroy)).subscribe(r=>{this.currentFocusedSuggestion=-1,this.suggestions$=r.resultData})}),"string"==typeof this.localizedLabels&&(this.localizedLabels=JSON.parse(this.localizedLabels))}ngOnChanges(n){n.initialTerm.previousValue!==n.initialTerm.currentValue&&(this.showSuggestions=!1,this.searchForm.setValue({term:n.initialTerm.currentValue}))}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}onKeyUp(n){const r="ArrowUp"===n.key||38===n.keyCode,i="Enter"===n.key||13===n.keyCode,s="Escape"===n.key||27===n.keyCode;(r||"ArrowDown"===n.key||40===n.keyCode)&&(this.handleSuggestionFocus(r?"up":"down"),n.preventDefault()),s&&(this.showSuggestions=!1,this.currentFocusedSuggestion=-1),i&&-1!==this.currentFocusedSuggestion?(n.preventDefault(),this.window.location.href=this.suggestions$[this.currentFocusedSuggestion].url):i&&(this.showSuggestions=!1,this.enterKeyPressed=!0),i||(this.enterKeyPressed=!1)}handleSearchClick(n){this.showSuggestions=!1}handleSuggestionFocus(n){this.termInput.nativeElement&&("up"===n&&(0===this.currentFocusedSuggestion?(this.currentFocusedSuggestion=-1,this.termInput.nativeElement.focus()):-1===this.currentFocusedSuggestion?this.currentFocusedSuggestion=this.suggestions$.length-1:this.currentFocusedSuggestion-=1),"down"===n&&(this.currentFocusedSuggestion===this.suggestions$.length-1?(this.currentFocusedSuggestion=-1,this.termInput.nativeElement.focus()):this.currentFocusedSuggestion+=1))}static#e=this.\u0275fac=function(r){return new(r||e)(C(Window),C(gj),C(sV),C(ut))};static#t=this.\u0275cmp=Yh({type:e,selectors:[["app-searchbox-autosuggest"]],viewQuery:function(r,o){if(1&r&&function vD(e,t,n){cy(e,t,n)}(yj,5),2&r){let i;(function DD(e){const t=y(),n=H(),r=Rl();Is(r+1);const o=sd(n,r);if(e.dirty&&function Rb(e){return!(4&~e[b])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=hy(t,r);e.reset(i,ng),e.notifyOnChanges()}return!0}return!1})(i=_D())&&(o.termInput=i.first)}},hostBindings:function(r,o){1&r&&Je("click",function(s){return o.documentClick(s.target)},0,Wg)},inputs:{autosuggestEnabled:"autosuggestEnabled",searchType:"searchType",ariaLabelledby:"ariaLabelledby",localizedLabels:"localizedLabels",initialTerm:"initialTerm",identifier:"identifier"},outputs:{changeEvent:"changeEvent"},features:[xt],decls:5,vars:8,consts:[["termInput",""],[1,"autocomplete-wrapper",3,"formGroup"],[1,"autocomplete-input"],["formControlName","term","type","search","name","s","autocomplete","off",1,"prominent-searchbox__input",3,"keydown","placeholder"],[4,"ngIf"],["aria-labelledby","menu-searchbox-title","role","listbox",1,"autocomplete-wrapper__suggestions",3,"id"],["type","submit",1,"autocomplete-wrapper__suggestions__footer",3,"click"],[1,"bold"],["height","21","aria-hidden","true","viewBox","0 0 21 21","width","21","xmlns","http://www.w3.org/2000/svg",1,"icon"],["fill","none","fill-rule","evenodd","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","transform","translate(4 6)"],["d","m9.5.497 4 4.002-4 4.001"],["d","m.5 4.5h13"],[1,"autocomplete-wrapper__suggestions__heading"],[1,"autocomplete-wrapper__suggestions__list"],["role","option",3,"id","js-focus",4,"ngFor","ngForOf"],["role","option",3,"id"],[3,"href"]],template:function(r,o){if(1&r){const i=Ad();ct(0,"div",1)(1,"div",2)(2,"input",3,0),Je("keydown",function(a){return Sl(i),Tl(o.onKeyUp(a))}),Gt()(),yn(4,_j,13,9,"ng-container",4),Gt()}if(2&r){let i,s;Kn("formGroup",o.searchForm),Ct(2),Fd("placeholder",null!==(i=null==o.labels?null:o.labels.placeholder)&&void 0!==i?i:""),Et("aria-activedescendant",o.autosuggestEnabled&&o.currentFocusedSuggestion>=0?"result-item-"+o.currentFocusedSuggestion:null)("role",o.autosuggestEnabled?"combobox":null)("aria-labelledby",null!==(s=o.ariaLabelledby)&&void 0!==s?s:"")("aria-controls",o.autosuggestEnabled?o.componentId+"_autocomplete-suggestions":null)("aria-expanded",o.autosuggestEnabled?o.showSuggestions?"true":"false":null),Ct(2),Kn("ngIf",o.autosuggestEnabled)}},dependencies:[_w,Cw,su,$C,UC,vu,Qf,mj],encapsulation:2})}return e})(),Cj=(()=>{class e{constructor(n){this.injector=n;const r=function MV(e,t){const n=function DV(e,t){return t.get(jr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new EV(e,t.injector),o=function vV(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function hV(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends bV{static#e=this.observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:u,transform:l})=>{if(!this.hasOwnProperty(u))return;const c=this[u];delete this[u],a.setInputValue(u,c,l)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,u,l,c){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,l,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const u=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(u)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),i}(wj,{injector:n});customElements.define("auto-suggest",r)}ngDoBootstrap(){}static#e=this.\u0275fac=function(r){return new(r||e)(k($e))};static#t=this.\u0275mod=cn({type:e});static#n=this.\u0275inj=Zt({providers:[{provide:Window,useValue:window}],imports:[h1,aV,lj]})}return e})();d1().bootstrapModule(Cj).catch(e=>console.error(e))}},po=>{po(po.s=475)}]);;;
