!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,v={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(a,r,u,l)=>{if(!r){var s=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],o=!0,t=0;t<r.length;t++)(!1&l||s>=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(o=!1,l<s&&(s=l));if(o){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},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=u=>0===e[u];var a=(u,l)=>{var t,c,[f,s,o]=l,_=0;if(f.some(d=>0!==e[d])){for(t in s)n.o(s,t)&&(n.m[t]=s[t]);if(o)var b=o(n)}for(u&&u(l);_<f.length;_++)n.o(e,c=f[_])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunkdnb_search_app=self.webpackChunkdnb_search_app||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();;;
(self.webpackChunkdnb_search_app=self.webpackChunkdnb_search_app||[]).push([[461],{50:(X,ve,De)=>{"use strict";De(935),De(195)},195:()=>{!function(X,ve){"use strict";function De(){var n=Ke.splice(0,Ke.length);for(N=0;n.length;)n.shift().call(null,n.shift())}function Ue(n,o){for(var u=0,f=n.length;u<f;u++)je(n[u],o)}function Be(n){return function(o){Pe(o)&&(je(o,n),r.length&&Ue(o.querySelectorAll(r),n))}}function We(n){var o=s.call(n,"is"),u=n.nodeName.toUpperCase(),f=i.call(Ge,o?Ae+o.toUpperCase():xe+u);return o&&-1<f&&!tt(u,o)?-1:f}function tt(n,o){return-1<r.indexOf(n+'[is="'+o+'"]')}function nt(n){var o=n.currentTarget,u=n.attrChange,f=n.attrName,T=n.target,C=n[et]||2,w=n[lt]||3;!K||T&&T!==o||!o[He]||"style"===f||n.prevValue===n.newValue&&(""!==n.newValue||u!==C&&u!==w)||o[He](f,u===C?null:n.prevValue,u===w?null:n.newValue)}function Oe(n){var o=Be(n);return function(u){Ke.push(o,u.target),N&&clearTimeout(N),N=setTimeout(De,1)}}function Le(n){J&&(J=!1,n.currentTarget.removeEventListener(_t,Le)),r.length&&Ue((n.target||U).querySelectorAll(r),n.detail===we?we:Se),te&&function Y(){for(var n,o=0,u=Ee.length;o<u;o++)a.contains(n=Ee[o])||(u--,Ee.splice(o--,1),je(n,we))}()}function ze(n,o){var u=this;de.call(u,n,o),ct.call(u,{target:u})}function rt(n,o,u){var f=o.apply(n,u),T=We(f);return-1<T&&be(f,e[T]),u.pop()&&r.length&&function ht(n){for(var o,u=0,f=n.length;u<f;u++)be(o=n[u],e[We(o)])}(f.querySelectorAll(r)),f}function Xe(n,o){B(n,o),Fe?Fe.observe(n,E):(S&&(n.setAttribute=ze,n[Re]=ke(n),n[ye](yt,ct)),n[ye](Ie,nt)),n[Qe]&&K&&(n.created=!0,n[Qe](),n.created=!1)}function Ye(n){throw new Error("A "+n+" type is already registered")}function je(n,o){var u,f,T=We(n);-1<T&&!k.call(n,"TEMPLATE")&&(at(n,e[T]),T=0,o!==Se||n[Se]?o!==we||n[we]||(n[Se]=!1,n[we]=!0,f="disconnected",T=1):(n[we]=!1,n[Se]=!0,f="connected",T=1,te&&i.call(Ee,n)<0&&Ee.push(n)),T&&(u=n[o+he]||n[f+he])&&u.call(n))}function fe(){}function dt(n,o,u){var f=u&&u[qe]||"",T=o.prototype,C=p(T),w=o.observedAttributes||D,ae={prototype:C};ne(C,Qe,{value:function(){if(z)z=!1;else if(!this[q]){this[q]=!0,new o(this),T[Qe]&&T[Qe].call(this);var j=se[g.get(o)];(!ee||j.create.length>1)&&ut(this)}}}),ne(C,He,{value:function(j){-1<i.call(w,j)&&T[He]&&T[He].apply(this,arguments)}}),T[pt]&&ne(C,Tt,{value:T[pt]}),T[ft]&&ne(C,gt,{value:T[ft]}),f&&(ae[qe]=f),n=n.toUpperCase(),se[n]={constructor:o,create:f?[f,$(n)]:[n]},g.set(o,n),U[Ve](n.toLowerCase(),ae),st(n),x[n].r()}function ot(n){var o=se[n.toUpperCase()];return o&&o.constructor}function mt(n){return"string"==typeof n?n:n&&n.is||""}function ut(n){for(var o,u=n[He],f=u?n.attributes:D,T=f.length;T--;)u.call(n,(o=f[T]).name||o.nodeName,null,o.value||o.nodeValue)}function st(n){return(n=n.toUpperCase())in x||(x[n]={},x[n].p=new me(function(o){x[n].r=o})),x[n].p}function $e(){oe&&delete X.customElements,_(X,"customElements",{configurable:!0,value:new fe}),_(X,"CustomElementRegistry",{configurable:!0,value:fe});for(var n=it.get(/^HTML[A-Z]*[a-z]/),o=n.length;o--;function(u){var f=X[u];if(f){X[u]=function(T){var C,w;return T||(T=this),T[q]||(z=!0,C=se[g.get(T.constructor)],(T=(w=ee&&1===C.create.length)?Reflect.construct(f,D,C.constructor):U.createElement.apply(U,C.create))[q]=!0,z=!1,w||ut(T)),T},X[u].prototype=f.prototype;try{f.prototype.constructor=X[u]}catch{_(f,q,{value:X[u]})}}}(n[o]));U.createElement=function(u,f){var T=mt(f);return T?c.call(this,u,$(T)):c.call(this,u)},M||(Z=!0,U[Ve](""))}var U=X.document,ge=X.Object,it=function(n){var o,u,f,T,C=/^[A-Z]+[a-z]/,ae=function(le,ue){(ue=ue.toLowerCase())in j||(j[le]=(j[le]||[]).concat(ue),j[ue]=j[ue.toUpperCase()]=le)},j=(ge.create||ge)(null),ie={};for(u in n)for(T in n[u])for(j[T]=f=n[u][T],o=0;o<f.length;o++)j[f[o].toLowerCase()]=j[f[o].toUpperCase()]=T;return ie.get=function(le){return"string"==typeof le?j[le]||(C.test(le)?[]:""):function(le){var ue,Te=[];for(ue in j)le.test(ue)&&Te.push(ue);return Te}(le)},ie.set=function(le,ue){return C.test(le)?ae(le,ue):ae(ue,le),ie},ie}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof ve&&(ve={type:ve||"auto"});var Ke,ct,Je,ke,Fe,Ce,at,be,Ne,n,o,u,f,T,Ve="registerElement",Et=1e5*X.Math.random()|0,Re="__"+Ve+Et,ye="addEventListener",Se="attached",he="Callback",we="detached",qe="extends",He="attributeChanged"+he,Tt=Se+he,pt="connected"+he,ft="disconnected"+he,Qe="created"+he,gt=we+he,et="ADDITION",lt="REMOVAL",Ie="DOMAttrModified",_t="DOMContentLoaded",yt="DOMSubtreeModified",xe="<",Ae="=",vt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,kt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],Ge=[],e=[],r="",a=U.documentElement,i=Ge.indexOf||function(n){for(var o=this.length;o--&&this[o]!==n;);return o},l=ge.prototype,h=l.hasOwnProperty,y=l.isPrototypeOf,_=ge.defineProperty,D=[],P=ge.getOwnPropertyDescriptor,b=ge.getOwnPropertyNames,W=ge.getPrototypeOf,F=ge.setPrototypeOf,V=!!ge.__proto__,q="__dreCEv1",oe=X.customElements,ee=!/^force/.test(ve.type)&&!!(oe&&oe.define&&oe.get&&oe.whenDefined),R=ge.create||ge,v=X.Map||function(){var n,o=[],u=[];return{get:function(f){return u[i.call(o,f)]},set:function(f,T){(n=i.call(o,f))<0?u[o.push(f)-1]=T:u[n]=T}}},me=X.Promise||function(n){function o(C){for(f=!0;u.length;)u.shift()(C)}var u=[],f=!1,T={catch:function(){return T},then:function(C){return u.push(C),f&&setTimeout(o,1),T}};return n(o),T},z=!1,se=R(null),x=R(null),g=new v,$=function(n){return n.toLowerCase()},p=ge.create||function n(o){return o?(n.prototype=o,new n):this},B=F||(V?function(n,o){return n.__proto__=o,n}:b&&P?function(){function n(o,u){for(var f,T=b(u),C=0,w=T.length;C<w;C++)h.call(o,f=T[C])||_(o,f,P(u,f))}return function(o,u){do{n(o,u)}while((u=W(u))&&!y.call(u,o));return o}}():function(n,o){for(var u in o)n[u]=o[u];return n}),O=X.MutationObserver||X.WebKitMutationObserver,pe=X.HTMLAnchorElement,Q=(X.HTMLElement||X.Element||X.Node).prototype,te=!y.call(Q,a),ne=te?function(n,o,u){return n[o]=u.value,n}:_,Pe=te?function(n){return 1===n.nodeType}:function(n){return y.call(Q,n)},Ee=te&&[],ce=Q.attachShadow,G=Q.cloneNode,k=Q.closest||function(n){for(var o=this;o&&o.nodeName!==n;)o=o.parentNode;return o},t=Q.dispatchEvent,s=Q.getAttribute,H=Q.hasAttribute,I=Q.removeAttribute,de=Q.setAttribute,d=U.createElement,m=U.importNode,c=d,E=O&&{attributes:!0,characterData:!0,attributeOldValue:!0},L=O||function(n){S=!1,a.removeEventListener(Ie,L)},N=0,M=Ve in U&&!/^force-all/.test(ve.type),A=!0,Z=!1,S=!0,J=!0,K=!0;if(O&&((Ne=U.createElement("div")).innerHTML="<div><div></div></div>",new O(function(n,o){if(n[0]&&"childList"==n[0].type&&!n[0].removedNodes[0].childNodes.length){var u=(Ne=P(Q,"innerHTML"))&&Ne.set;u&&_(Q,"innerHTML",{set:function(f){for(;this.lastChild;)this.removeChild(this.lastChild);u.call(this,f)}})}o.disconnect(),Ne=null}).observe(Ne,{childList:!0,subtree:!0}),Ne.innerHTML=""),M||(F||V?(at=function(n,o){y.call(o,n)||Xe(n,o)},be=Xe):(at=function(n,o){n[Re]||(n[Re]=ge(!0),Xe(n,o))},be=at),te?(S=!1,n=P(Q,ye),o=n.value,u=function(C){var w=new CustomEvent(Ie,{bubbles:!0});w.attrName=C,w.prevValue=s.call(this,C),w.newValue=null,w[lt]=w.attrChange=2,I.call(this,C),t.call(this,w)},f=function(C,w){var ae=H.call(this,C),j=ae&&s.call(this,C),ie=new CustomEvent(Ie,{bubbles:!0});de.call(this,C,w),ie.attrName=C,ie.prevValue=ae?j:null,ie.newValue=w,ae?ie.MODIFICATION=ie.attrChange=1:ie[et]=ie.attrChange=0,t.call(this,ie)},T=function(C){var w,ae=C.currentTarget,j=ae[Re],ie=C.propertyName;j.hasOwnProperty(ie)&&(j=j[ie],(w=new CustomEvent(Ie,{bubbles:!0})).attrName=j.name,w.prevValue=j.value||null,w.newValue=j.value=ae[ie]||null,null==w.prevValue?w[et]=w.attrChange=0:w.MODIFICATION=w.attrChange=1,t.call(ae,w))},n.value=function(C,w,ae){C===Ie&&this[He]&&this.setAttribute!==f&&(this[Re]={className:{name:"class",value:this.className}},this.setAttribute=f,this.removeAttribute=u,o.call(this,"propertychange",T)),o.call(this,C,w,ae)},_(Q,ye,n)):O||(a[ye](Ie,L),a.setAttribute(Re,1),a.removeAttribute(Re),S&&(ct=function(n){var o,u,f,T=this;if(T===n.target){for(f in o=T[Re],T[Re]=u=ke(T),u){if(!(f in o))return Je(0,T,f,o[f],u[f],et);if(u[f]!==o[f])return Je(1,T,f,o[f],u[f],"MODIFICATION")}for(f in o)if(!(f in u))return Je(2,T,f,o[f],u[f],lt)}},Je=function(n,o,u,f,T,C){var w={attrChange:n,currentTarget:o,attrName:u,prevValue:f,newValue:T};w[C]=n,nt(w)},ke=function(n){for(var o,u,f={},T=n.attributes,C=0,w=T.length;C<w;C++)"setAttribute"!==(u=(o=T[C]).name)&&(f[u]=o.value);return f})),U[Ve]=function(n,o){if(u=n.toUpperCase(),A&&(A=!1,O?(Fe=function(j,ie){function le(ue,Te){for(var _e=0,Me=ue.length;_e<Me;Te(ue[_e++]));}return new O(function(ue){for(var Te,_e,Me,Ze=0,bt=ue.length;Ze<bt;Ze++)"childList"===(Te=ue[Ze]).type?(le(Te.addedNodes,j),le(Te.removedNodes,ie)):(_e=Te.target,K&&_e[He]&&"style"!==Te.attributeName&&(Me=s.call(_e,Te.attributeName))!==Te.oldValue&&_e[He](Te.attributeName,Te.oldValue,Me))})}(Be(Se),Be(we)),(Ce=function(j){return Fe.observe(j,{childList:!0,subtree:!0}),j})(U),ce&&(Q.attachShadow=function(){return Ce(ce.apply(this,arguments))})):(Ke=[],U[ye]("DOMNodeInserted",Oe(Se)),U[ye]("DOMNodeRemoved",Oe(we))),U[ye](_t,Le),U[ye]("readystatechange",Le),U.importNode=function(j,ie){switch(j.nodeType){case 1:return rt(U,m,[j,!!ie]);case 11:for(var le=U.createDocumentFragment(),ue=j.childNodes,Te=ue.length,_e=0;_e<Te;_e++)le.appendChild(U.importNode(ue[_e],!!ie));return le;default:return G.call(j,!!ie)}},Q.cloneNode=function(j){return rt(this,G,[!!j])}),Z)return Z=!1;if(-2<i.call(Ge,Ae+u)+i.call(Ge,xe+u)&&Ye(n),!vt.test(u)||-1<i.call(kt,u))throw new Error("The type "+n+" is invalid");var u,f,T=function(){return w?U.createElement(ae,u):U.createElement(ae)},C=o||l,w=h.call(C,qe),ae=w?o[qe].toUpperCase():u;return w&&-1<i.call(Ge,xe+ae)&&Ye(ae),f=Ge.push((w?Ae:xe)+u)-1,r=r.concat(r.length?",":"",w?ae+'[is="'+n.toLowerCase()+'"]':ae),T.prototype=e[f]=h.call(C,"prototype")?C.prototype:p(Q),r.length&&Ue(U.querySelectorAll(r),Se),T},U.createElement=c=function(n,o){var u=mt(o),f=u?d.call(U,n,$(u)):d.call(U,n),T=""+n,C=i.call(Ge,(u?Ae:xe)+(u||T).toUpperCase()),w=-1<C;return u&&(f.setAttribute("is",u=u.toLowerCase()),w&&(w=tt(T.toUpperCase(),u))),K=!U.createElement.innerHTMLHelper,w&&be(f,e[C]),f}),addEventListener("beforeunload",function(){delete U.createElement,delete U.importNode,delete U[Ve]},!1),fe.prototype={constructor:fe,define:ee?function(n,o,u){if(u)dt(n,o,u);else{var f=n.toUpperCase();se[f]={constructor:o,create:[f]},g.set(o,f),oe.define(n,o)}}:dt,get:ee?function(n){return oe.get(n)||ot(n)}:ot,whenDefined:ee?function(n){return me.race([oe.whenDefined(n),st(n)])}:st},!oe||/^force/.test(ve.type))$e();else if(!ve.noBuiltIn)try{!function(n,o,u){var f=new RegExp("^<a\\s+is=('|\")"+u+"\\1></a>$");if(o[qe]="a",(n.prototype=p(pe.prototype)).constructor=n,X.customElements.define(u,n,o),!f.test(U.createElement("a",{is:u}).outerHTML)||!f.test((new n).outerHTML))throw o}(function n(){return Reflect.construct(pe,[],n)},{},"document-register-element-a"+Et)}catch{$e()}if(!ve.noBuiltIn)try{if(d.call(U,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{$=function(o){return{is:o.toLowerCase()}}}}(window)},935:()=>{"use strict";!function(e){const r=e.performance;function a(G){r&&r.mark&&r.mark(G)}function i(G,k){r&&r.measure&&r.measure(G,k)}a("Zone");const l=e.__Zone_symbol_prefix||"__zone_symbol__";function h(G){return l+G}const y=!0===e[h("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class G{static#e=this.__symbol__=h;static assertZonePatched(){if(e.Promise!==Q.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=G.current;for(;t.parent;)t=t.parent;return t}static get current(){return ne.zone}static get currentTask(){return Pe}static __load_patch(t,s,H=!1){if(Q.hasOwnProperty(t)){if(!H&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const I="Zone:"+t;a(I),Q[t]=s(e,G,te),i(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"<root>",this._properties=s&&s.properties||{},this._zoneDelegate=new P(this,this._parent&&this._parent._zoneDelegate,s)}get(t){const s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const H=this._zoneDelegate.intercept(this,t,s),I=this;return function(){return I.runGuarded(H,this,arguments,s)}}run(t,s,H,I){ne={parent:ne,zone:this};try{return this._zoneDelegate.invoke(this,t,s,H,I)}finally{ne=ne.parent}}runGuarded(t,s=null,H,I){ne={parent:ne,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,H,I)}catch(de){if(this._zoneDelegate.handleError(this,de))throw de}}finally{ne=ne.parent}}runTask(t,s,H){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||me).name+"; Execution: "+this.name+")");if(t.state===z&&(t.type===pe||t.type===O))return;const I=t.state!=g;I&&t._transitionTo(g,x),t.runCount++;const de=Pe;Pe=t,ne={parent:ne,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,H)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{t.state!==z&&t.state!==p&&(t.type==pe||t.data&&t.data.isPeriodic?I&&t._transitionTo(x,g):(t.runCount=0,this._updateTaskCount(t,-1),I&&t._transitionTo(z,g,z))),ne=ne.parent,Pe=de}}scheduleTask(t){if(t.zone&&t.zone!==this){let H=this;for(;H;){if(H===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);H=H.parent}}t._transitionTo(se,z);const s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(H){throw t._transitionTo(p,se,z),this._zoneDelegate.handleError(this,H),H}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==se&&t._transitionTo(x,se),t}scheduleMicroTask(t,s,H,I){return this.scheduleTask(new b(B,t,s,H,I,void 0))}scheduleMacroTask(t,s,H,I,de){return this.scheduleTask(new b(O,t,s,H,I,de))}scheduleEventTask(t,s,H,I,de){return this.scheduleTask(new b(pe,t,s,H,I,de))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||me).name+"; Execution: "+this.name+")");if(t.state===x||t.state===g){t._transitionTo($,x,g);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(p,$),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(z,$),t.runCount=0,t}}_updateTaskCount(t,s){const H=t._zoneDelegates;-1==s&&(t._zoneDelegates=null);for(let I=0;I<H.length;I++)H[I]._updateTaskCount(t.type,s)}}return G})();const D={name:"",onHasTask:(G,k,t,s)=>G.hasTask(t,s),onScheduleTask:(G,k,t,s)=>G.scheduleTask(t,s),onInvokeTask:(G,k,t,s,H,I)=>G.invokeTask(t,s,H,I),onCancelTask:(G,k,t,s)=>G.cancelTask(t,s)};class P{constructor(k,t,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=k,this._parentDelegate=t,this._forkZS=s&&(s&&s.onFork?s:t._forkZS),this._forkDlgt=s&&(s.onFork?t:t._forkDlgt),this._forkCurrZone=s&&(s.onFork?this.zone:t._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:t._interceptZS),this._interceptDlgt=s&&(s.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:t._invokeZS),this._invokeDlgt=s&&(s.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:t._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:t._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:t._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:t._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const H=s&&s.onHasTask;(H||t&&t._hasTaskZS)&&(this._hasTaskZS=H?s:D,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=k,s.onScheduleTask||(this._scheduleTaskZS=D,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),s.onInvokeTask||(this._invokeTaskZS=D,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),s.onCancelTask||(this._cancelTaskZS=D,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(k,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,k,t):new _(k,t)}intercept(k,t,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,k,t,s):t}invoke(k,t,s,H,I){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,k,t,s,H,I):t.apply(s,H)}handleError(k,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,k,t)}scheduleTask(k,t){let s=t;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,k,t),s||(s=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=B)throw new Error("Task is missing scheduleFn.");R(t)}return s}invokeTask(k,t,s,H){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,k,t,s,H):t.callback.apply(s,H)}cancelTask(k,t){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,k,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");s=t.cancelFn(t)}return s}hasTask(k,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,k,t)}catch(s){this.handleError(k,s)}}_updateTaskCount(k,t){const s=this._taskCounts,H=s[k],I=s[k]=H+t;if(I<0)throw new Error("More tasks executed then were scheduled.");0!=H&&0!=I||this.hasTask(this.zone,{microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:k})}}class b{constructor(k,t,s,H,I,de){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=k,this.source=t,this.data=H,this.scheduleFn=I,this.cancelFn=de,!s)throw new Error("callback is not defined");this.callback=s;const d=this;this.invoke=k===pe&&H&&H.useG?b.invokeTask:function(){return b.invokeTask.call(e,d,this,arguments)}}static invokeTask(k,t,s){k||(k=this),Ee++;try{return k.runCount++,k.zone.runTask(k,t,s)}finally{1==Ee&&v(),Ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(z,se)}_transitionTo(k,t,s){if(this._state!==t&&this._state!==s)throw new Error(`${this.type} '${this.source}': can not transition to '${k}', expecting state '${t}'${s?" or '"+s+"'":""}, was '${this._state}'.`);this._state=k,k==z&&(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 W=h("setTimeout"),F=h("Promise"),V=h("then");let oe,re=[],q=!1;function ee(G){if(oe||e[F]&&(oe=e[F].resolve(0)),oe){let k=oe[V];k||(k=oe.then),k.call(oe,G)}else e[W](G,0)}function R(G){0===Ee&&0===re.length&&ee(v),G&&re.push(G)}function v(){if(!q){for(q=!0;re.length;){const G=re;re=[];for(let k=0;k<G.length;k++){const t=G[k];try{t.zone.runTask(t,null,null)}catch(s){te.onUnhandledError(s)}}}te.microtaskDrainDone(),q=!1}}const me={name:"NO ZONE"},z="notScheduled",se="scheduling",x="scheduled",g="running",$="canceling",p="unknown",B="microTask",O="macroTask",pe="eventTask",Q={},te={symbol:h,currentZoneFrame:()=>ne,onUnhandledError:ce,microtaskDrainDone:ce,scheduleMicroTask:R,showUncaughtError:()=>!_[h("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ce,patchMethod:()=>ce,bindArguments:()=>[],patchThen:()=>ce,patchMacroTask:()=>ce,patchEventPrototype:()=>ce,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ce,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ce,wrapWithCurrentZone:()=>ce,filterProperties:()=>[],attachOriginToPatched:()=>ce,_redefineProperty:()=>ce,patchCallbacks:()=>ce,nativeScheduleMicroTask:ee};let ne={parent:null,zone:new _(null,null)},Pe=null,Ee=0;function ce(){}i("Zone","Zone"),e.Zone=_}(globalThis);const X=Object.getOwnPropertyDescriptor,ve=Object.defineProperty,De=Object.getPrototypeOf,Ue=Object.create,ht=Array.prototype.slice,Be="addEventListener",We="removeEventListener",tt=Zone.__symbol__(Be),nt=Zone.__symbol__(We),Oe="true",Le="false",ze=Zone.__symbol__("");function rt(e,r){return Zone.current.wrap(e,r)}function Xe(e,r,a,i,l){return Zone.current.scheduleMacroTask(e,r,a,i,l)}const Y=Zone.__symbol__,Ye=typeof window<"u",je=Ye?window:void 0,fe=Ye&&je||globalThis,dt="removeAttribute";function ot(e,r){for(let a=e.length-1;a>=0;a--)"function"==typeof e[a]&&(e[a]=rt(e[a],r+"_"+a));return e}function ut(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const st=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,$e=!("nw" in fe)&&typeof fe.process<"u"&&"[object process]"==={}.toString.call(fe.process),U=!$e&&!st&&!(!Ye||!je.HTMLElement),ge=typeof fe.process<"u"&&"[object process]"==={}.toString.call(fe.process)&&!st&&!(!Ye||!je.HTMLElement),it={},Ke=function(e){if(!(e=e||fe.event))return;let r=it[e.type];r||(r=it[e.type]=Y("ON_PROPERTY"+e.type));const a=this||e.target||fe,i=a[r];let l;return U&&a===je&&"error"===e.type?(l=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===l&&e.preventDefault()):(l=i&&i.apply(this,arguments),null!=l&&!l&&e.preventDefault()),l};function ct(e,r,a){let i=X(e,r);if(!i&&a&&X(a,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const l=Y("on"+r+"patched");if(e.hasOwnProperty(l)&&e[l])return;delete i.writable,delete i.value;const h=i.get,y=i.set,_=r.slice(2);let D=it[_];D||(D=it[_]=Y("ON_PROPERTY"+_)),i.set=function(P){let b=this;!b&&e===fe&&(b=fe),b&&("function"==typeof b[D]&&b.removeEventListener(_,Ke),y&&y.call(b,null),b[D]=P,"function"==typeof P&&b.addEventListener(_,Ke,!1))},i.get=function(){let P=this;if(!P&&e===fe&&(P=fe),!P)return null;const b=P[D];if(b)return b;if(h){let W=h.call(this);if(W)return i.set.call(this,W),"function"==typeof P[dt]&&P.removeAttribute(r),W}return null},ve(e,r,i),e[l]=!0}function Je(e,r,a){if(r)for(let i=0;i<r.length;i++)ct(e,"on"+r[i],a);else{const i=[];for(const l in e)"on"==l.slice(0,2)&&i.push(l);for(let l=0;l<i.length;l++)ct(e,i[l],a)}}const ke=Y("originalInstance");function Fe(e){const r=fe[e];if(!r)return;fe[Y(e)]=r,fe[e]=function(){const l=ot(arguments,e);switch(l.length){case 0:this[ke]=new r;break;case 1:this[ke]=new r(l[0]);break;case 2:this[ke]=new r(l[0],l[1]);break;case 3:this[ke]=new r(l[0],l[1],l[2]);break;case 4:this[ke]=new r(l[0],l[1],l[2],l[3]);break;default:throw new Error("Arg list too long.")}},be(fe[e],r);const a=new r(function(){});let i;for(i in a)"XMLHttpRequest"===e&&"responseBlob"===i||function(l){"function"==typeof a[l]?fe[e].prototype[l]=function(){return this[ke][l].apply(this[ke],arguments)}:ve(fe[e].prototype,l,{set:function(h){"function"==typeof h?(this[ke][l]=rt(h,e+"."+l),be(this[ke][l],h)):this[ke][l]=h},get:function(){return this[ke][l]}})}(i);for(i in r)"prototype"!==i&&r.hasOwnProperty(i)&&(fe[e][i]=r[i])}function Ce(e,r,a){let i=e;for(;i&&!i.hasOwnProperty(r);)i=De(i);!i&&e[r]&&(i=e);const l=Y(r);let h=null;if(i&&(!(h=i[l])||!i.hasOwnProperty(l))&&(h=i[l]=i[r],ut(i&&X(i,r)))){const _=a(h,l,r);i[r]=function(){return _(this,arguments)},be(i[r],h)}return h}function at(e,r,a){let i=null;function l(h){const y=h.data;return y.args[y.cbIdx]=function(){h.invoke.apply(this,arguments)},i.apply(y.target,y.args),h}i=Ce(e,r,h=>function(y,_){const D=a(y,_);return D.cbIdx>=0&&"function"==typeof _[D.cbIdx]?Xe(D.name,_[D.cbIdx],D,l):h.apply(y,_)})}function be(e,r){e[Y("OriginalDelegate")]=r}let Ne=!1,Ve=!1;function Re(){if(Ne)return Ve;Ne=!0;try{const e=je.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ve=!0)}catch{}return Ve}Zone.__load_patch("ZoneAwarePromise",(e,r,a)=>{const i=Object.getOwnPropertyDescriptor,l=Object.defineProperty,y=a.symbol,_=[],D=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],P=y("Promise"),b=y("then"),W="__creationTrace__";a.onUnhandledError=d=>{if(a.showUncaughtError()){const m=d&&d.rejection;m?console.error("Unhandled Promise rejection:",m instanceof Error?m.message:m,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",m,m instanceof Error?m.stack:void 0):console.error(d)}},a.microtaskDrainDone=()=>{for(;_.length;){const d=_.shift();try{d.zone.runGuarded(()=>{throw d.throwOriginal?d.rejection:d})}catch(m){V(m)}}};const F=y("unhandledPromiseRejectionHandler");function V(d){a.onUnhandledError(d);try{const m=r[F];"function"==typeof m&&m.call(this,d)}catch{}}function re(d){return d&&d.then}function q(d){return d}function oe(d){return t.reject(d)}const ee=y("state"),R=y("value"),v=y("finally"),me=y("parentPromiseValue"),z=y("parentPromiseState"),se="Promise.then",x=null,g=!0,$=!1,p=0;function B(d,m){return c=>{try{te(d,m,c)}catch(E){te(d,!1,E)}}}const O=function(){let d=!1;return function(c){return function(){d||(d=!0,c.apply(null,arguments))}}},pe="Promise resolved with itself",Q=y("currentTaskTrace");function te(d,m,c){const E=O();if(d===c)throw new TypeError(pe);if(d[ee]===x){let L=null;try{("object"==typeof c||"function"==typeof c)&&(L=c&&c.then)}catch(N){return E(()=>{te(d,!1,N)})(),d}if(m!==$&&c instanceof t&&c.hasOwnProperty(ee)&&c.hasOwnProperty(R)&&c[ee]!==x)Pe(c),te(d,c[ee],c[R]);else if(m!==$&&"function"==typeof L)try{L.call(c,E(B(d,m)),E(B(d,!1)))}catch(N){E(()=>{te(d,!1,N)})()}else{d[ee]=m;const N=d[R];if(d[R]=c,d[v]===v&&m===g&&(d[ee]=d[z],d[R]=d[me]),m===$&&c instanceof Error){const M=r.currentTask&&r.currentTask.data&&r.currentTask.data[W];M&&l(c,Q,{configurable:!0,enumerable:!1,writable:!0,value:M})}for(let M=0;M<N.length;)Ee(d,N[M++],N[M++],N[M++],N[M++]);if(0==N.length&&m==$){d[ee]=p;let M=c;try{throw new Error("Uncaught (in promise): "+function h(d){return d&&d.toString===Object.prototype.toString?(d.constructor&&d.constructor.name||"")+": "+JSON.stringify(d):d?d.toString():Object.prototype.toString.call(d)}(c)+(c&&c.stack?"\n"+c.stack:""))}catch(A){M=A}D&&(M.throwOriginal=!0),M.rejection=c,M.promise=d,M.zone=r.current,M.task=r.currentTask,_.push(M),a.scheduleMicroTask()}}}return d}const ne=y("rejectionHandledHandler");function Pe(d){if(d[ee]===p){try{const m=r[ne];m&&"function"==typeof m&&m.call(this,{rejection:d[R],promise:d})}catch{}d[ee]=$;for(let m=0;m<_.length;m++)d===_[m].promise&&_.splice(m,1)}}function Ee(d,m,c,E,L){Pe(d);const N=d[ee],M=N?"function"==typeof E?E:q:"function"==typeof L?L:oe;m.scheduleMicroTask(se,()=>{try{const A=d[R],Z=!!c&&v===c[v];Z&&(c[me]=A,c[z]=N);const S=m.run(M,void 0,Z&&M!==oe&&M!==q?[]:[A]);te(c,!0,S)}catch(A){te(c,!1,A)}},c)}const G=function(){},k=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(m){return m instanceof t?m:te(new this(null),g,m)}static reject(m){return te(new this(null),$,m)}static withResolvers(){const m={};return m.promise=new t((c,E)=>{m.resolve=c,m.reject=E}),m}static any(m){if(!m||"function"!=typeof m[Symbol.iterator])return Promise.reject(new k([],"All promises were rejected"));const c=[];let E=0;try{for(let M of m)E++,c.push(t.resolve(M))}catch{return Promise.reject(new k([],"All promises were rejected"))}if(0===E)return Promise.reject(new k([],"All promises were rejected"));let L=!1;const N=[];return new t((M,A)=>{for(let Z=0;Z<c.length;Z++)c[Z].then(S=>{L||(L=!0,M(S))},S=>{N.push(S),E--,0===E&&(L=!0,A(new k(N,"All promises were rejected")))})})}static race(m){let c,E,L=new this((A,Z)=>{c=A,E=Z});function N(A){c(A)}function M(A){E(A)}for(let A of m)re(A)||(A=this.resolve(A)),A.then(N,M);return L}static all(m){return t.allWithCallback(m)}static allSettled(m){return(this&&this.prototype instanceof t?this:t).allWithCallback(m,{thenCallback:E=>({status:"fulfilled",value:E}),errorCallback:E=>({status:"rejected",reason:E})})}static allWithCallback(m,c){let E,L,N=new this((S,J)=>{E=S,L=J}),M=2,A=0;const Z=[];for(let S of m){re(S)||(S=this.resolve(S));const J=A;try{S.then(K=>{Z[J]=c?c.thenCallback(K):K,M--,0===M&&E(Z)},K=>{c?(Z[J]=c.errorCallback(K),M--,0===M&&E(Z)):L(K)})}catch(K){L(K)}M++,A++}return M-=2,0===M&&E(Z),N}constructor(m){const c=this;if(!(c instanceof t))throw new Error("Must be an instanceof Promise.");c[ee]=x,c[R]=[];try{const E=O();m&&m(E(B(c,g)),E(B(c,$)))}catch(E){te(c,!1,E)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(m,c){let E=this.constructor?.[Symbol.species];(!E||"function"!=typeof E)&&(E=this.constructor||t);const L=new E(G),N=r.current;return this[ee]==x?this[R].push(N,L,m,c):Ee(this,N,L,m,c),L}catch(m){return this.then(null,m)}finally(m){let c=this.constructor?.[Symbol.species];(!c||"function"!=typeof c)&&(c=t);const E=new c(G);E[v]=v;const L=r.current;return this[ee]==x?this[R].push(L,E,m,m):Ee(this,L,E,m,m),E}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const s=e[P]=e.Promise;e.Promise=t;const H=y("thenPatched");function I(d){const m=d.prototype,c=i(m,"then");if(c&&(!1===c.writable||!c.configurable))return;const E=m.then;m[b]=E,d.prototype.then=function(L,N){return new t((A,Z)=>{E.call(this,A,Z)}).then(L,N)},d[H]=!0}return a.patchThen=I,s&&(I(s),Ce(e,"fetch",d=>function de(d){return function(m,c){let E=d.apply(m,c);if(E instanceof t)return E;let L=E.constructor;return L[H]||I(L),E}}(d))),Promise[r.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const r=Function.prototype.toString,a=Y("OriginalDelegate"),i=Y("Promise"),l=Y("Error"),h=function(){if("function"==typeof this){const P=this[a];if(P)return"function"==typeof P?r.call(P):Object.prototype.toString.call(P);if(this===Promise){const b=e[i];if(b)return r.call(b)}if(this===Error){const b=e[l];if(b)return r.call(b)}}return r.call(this)};h[a]=r,Function.prototype.toString=h;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 e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const Se={useG:!0},he={},we={},qe=new RegExp("^"+ze+"(\\w+)(true|false)$"),He=Y("propagationStopped");function Tt(e,r){const a=(r?r(e):e)+Le,i=(r?r(e):e)+Oe,l=ze+a,h=ze+i;he[e]={},he[e][Le]=l,he[e][Oe]=h}function pt(e,r,a,i){const l=i&&i.add||Be,h=i&&i.rm||We,y=i&&i.listeners||"eventListeners",_=i&&i.rmAll||"removeAllListeners",D=Y(l),P="."+l+":",b="prependListener",W="."+b+":",F=function(R,v,me){if(R.isRemoved)return;const z=R.callback;let se;"object"==typeof z&&z.handleEvent&&(R.callback=g=>z.handleEvent(g),R.originalDelegate=z);try{R.invoke(R,v,[me])}catch(g){se=g}const x=R.options;return x&&"object"==typeof x&&x.once&&v[h].call(v,me.type,R.originalDelegate?R.originalDelegate:R.callback,x),se};function V(R,v,me){if(!(v=v||e.event))return;const z=R||v.target||e,se=z[he[v.type][me?Oe:Le]];if(se){const x=[];if(1===se.length){const g=F(se[0],z,v);g&&x.push(g)}else{const g=se.slice();for(let $=0;$<g.length&&(!v||!0!==v[He]);$++){const p=F(g[$],z,v);p&&x.push(p)}}if(1===x.length)throw x[0];for(let g=0;g<x.length;g++){const $=x[g];r.nativeScheduleMicroTask(()=>{throw $})}}}const re=function(R){return V(this,R,!1)},q=function(R){return V(this,R,!0)};function oe(R,v){if(!R)return!1;let me=!0;v&&void 0!==v.useG&&(me=v.useG);const z=v&&v.vh;let se=!0;v&&void 0!==v.chkDup&&(se=v.chkDup);let x=!1;v&&void 0!==v.rt&&(x=v.rt);let g=R;for(;g&&!g.hasOwnProperty(l);)g=De(g);if(!g&&R[l]&&(g=R),!g||g[D])return!1;const $=v&&v.eventNameToString,p={},B=g[D]=g[l],O=g[Y(h)]=g[h],pe=g[Y(y)]=g[y],Q=g[Y(_)]=g[_];let te;v&&v.prepend&&(te=g[Y(v.prepend)]=g[v.prepend]);const t=me?function(c){if(!p.isExisting)return B.call(p.target,p.eventName,p.capture?q:re,p.options)}:function(c){return B.call(p.target,p.eventName,c.invoke,p.options)},s=me?function(c){if(!c.isRemoved){const E=he[c.eventName];let L;E&&(L=E[c.capture?Oe:Le]);const N=L&&c.target[L];if(N)for(let M=0;M<N.length;M++)if(N[M]===c){N.splice(M,1),c.isRemoved=!0,0===N.length&&(c.allRemoved=!0,c.target[L]=null);break}}if(c.allRemoved)return O.call(c.target,c.eventName,c.capture?q:re,c.options)}:function(c){return O.call(c.target,c.eventName,c.invoke,c.options)},I=v&&v.diff?v.diff:function(c,E){const L=typeof E;return"function"===L&&c.callback===E||"object"===L&&c.originalDelegate===E},de=Zone[Y("UNPATCHED_EVENTS")],d=e[Y("PASSIVE_EVENTS")],m=function(c,E,L,N,M=!1,A=!1){return function(){const Z=this||e;let S=arguments[0];v&&v.transferEventName&&(S=v.transferEventName(S));let J=arguments[1];if(!J)return c.apply(this,arguments);if($e&&"uncaughtException"===S)return c.apply(this,arguments);let K=!1;if("function"!=typeof J){if(!J.handleEvent)return c.apply(this,arguments);K=!0}if(z&&!z(c,J,Z,arguments))return;const n=ye&&!!d&&-1!==d.indexOf(S),o=function ne(c,E){return!ye&&"object"==typeof c&&c?!!c.capture:ye&&E?"boolean"==typeof c?{capture:c,passive:!0}:c?"object"==typeof c&&!1!==c.passive?{...c,passive:!0}:c:{passive:!0}:c}(arguments[2],n),u=o&&"object"==typeof o&&o.signal&&"object"==typeof o.signal?o.signal:void 0;if(u?.aborted)return;if(de)for(let Ze=0;Ze<de.length;Ze++)if(S===de[Ze])return n?c.call(Z,S,J,o):c.apply(this,arguments);const f=!!o&&("boolean"==typeof o||o.capture),T=!(!o||"object"!=typeof o)&&o.once,C=Zone.current;let w=he[S];w||(Tt(S,$),w=he[S]);const ae=w[f?Oe:Le];let le,j=Z[ae],ie=!1;if(j){if(ie=!0,se)for(let Ze=0;Ze<j.length;Ze++)if(I(j[Ze],J))return}else j=Z[ae]=[];const ue=Z.constructor.name,Te=we[ue];Te&&(le=Te[S]),le||(le=ue+E+($?$(S):S)),p.options=o,T&&(p.options.once=!1),p.target=Z,p.capture=f,p.eventName=S,p.isExisting=ie;const _e=me?Se:void 0;_e&&(_e.taskData=p),u&&(p.options.signal=void 0);const Me=C.scheduleEventTask(le,J,_e,L,N);return u&&(p.options.signal=u,c.call(u,"abort",()=>{Me.zone.cancelTask(Me)},{once:!0})),p.target=null,_e&&(_e.taskData=null),T&&(o.once=!0),!ye&&"boolean"==typeof Me.options||(Me.options=o),Me.target=Z,Me.capture=f,Me.eventName=S,K&&(Me.originalDelegate=J),A?j.unshift(Me):j.push(Me),M?Z:void 0}};return g[l]=m(B,P,t,s,x),te&&(g[b]=m(te,W,function(c){return te.call(p.target,p.eventName,c.invoke,p.options)},s,x,!0)),g[h]=function(){const c=this||e;let E=arguments[0];v&&v.transferEventName&&(E=v.transferEventName(E));const L=arguments[2],N=!!L&&("boolean"==typeof L||L.capture),M=arguments[1];if(!M)return O.apply(this,arguments);if(z&&!z(O,M,c,arguments))return;const A=he[E];let Z;A&&(Z=A[N?Oe:Le]);const S=Z&&c[Z];if(S)for(let J=0;J<S.length;J++){const K=S[J];if(I(K,M))return S.splice(J,1),K.isRemoved=!0,0===S.length&&(K.allRemoved=!0,c[Z]=null,"string"==typeof E)&&(c[ze+"ON_PROPERTY"+E]=null),K.zone.cancelTask(K),x?c:void 0}return O.apply(this,arguments)},g[y]=function(){const c=this||e;let E=arguments[0];v&&v.transferEventName&&(E=v.transferEventName(E));const L=[],N=ft(c,$?$(E):E);for(let M=0;M<N.length;M++){const A=N[M];L.push(A.originalDelegate?A.originalDelegate:A.callback)}return L},g[_]=function(){const c=this||e;let E=arguments[0];if(E){v&&v.transferEventName&&(E=v.transferEventName(E));const L=he[E];if(L){const A=c[L[Le]],Z=c[L[Oe]];if(A){const S=A.slice();for(let J=0;J<S.length;J++){const K=S[J];this[h].call(this,E,K.originalDelegate?K.originalDelegate:K.callback,K.options)}}if(Z){const S=Z.slice();for(let J=0;J<S.length;J++){const K=S[J];this[h].call(this,E,K.originalDelegate?K.originalDelegate:K.callback,K.options)}}}}else{const L=Object.keys(c);for(let N=0;N<L.length;N++){const A=qe.exec(L[N]);let Z=A&&A[1];Z&&"removeListener"!==Z&&this[_].call(this,Z)}this[_].call(this,"removeListener")}if(x)return this},be(g[l],B),be(g[h],O),Q&&be(g[_],Q),pe&&be(g[y],pe),!0}let ee=[];for(let R=0;R<a.length;R++)ee[R]=oe(a[R],i);return ee}function ft(e,r){if(!r){const h=[];for(let y in e){const _=qe.exec(y);let D=_&&_[1];if(D&&(!r||D===r)){const P=e[y];if(P)for(let b=0;b<P.length;b++)h.push(P[b])}}return h}let a=he[r];a||(Tt(r),a=he[r]);const i=e[a[Le]],l=e[a[Oe]];return i?l?i.concat(l):i.slice():l?l.slice():[]}function Qe(e,r){const a=e.Event;a&&a.prototype&&r.patchMethod(a.prototype,"stopImmediatePropagation",i=>function(l,h){l[He]=!0,i&&i.apply(l,h)})}function gt(e,r,a,i,l){const h=Zone.__symbol__(i);if(r[h])return;const y=r[h]=r[i];r[i]=function(_,D,P){return D&&D.prototype&&l.forEach(function(b){const W=`${a}.${i}::`+b,F=D.prototype;try{if(F.hasOwnProperty(b)){const V=e.ObjectGetOwnPropertyDescriptor(F,b);V&&V.value?(V.value=e.wrapWithCurrentZone(V.value,W),e._redefineProperty(D.prototype,b,V)):F[b]&&(F[b]=e.wrapWithCurrentZone(F[b],W))}else F[b]&&(F[b]=e.wrapWithCurrentZone(F[b],W))}catch{}}),y.call(r,_,D,P)},e.attachOriginToPatched(r[i],y)}function et(e,r,a){if(!a||0===a.length)return r;const i=a.filter(h=>h.target===e);if(!i||0===i.length)return r;const l=i[0].ignoreProperties;return r.filter(h=>-1===l.indexOf(h))}function lt(e,r,a,i){e&&Je(e,et(e,r,a),i)}function Ie(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}Zone.__load_patch("util",(e,r,a)=>{const i=Ie(e);a.patchOnProperties=Je,a.patchMethod=Ce,a.bindArguments=ot,a.patchMacroTask=at;const l=r.__symbol__("BLACK_LISTED_EVENTS"),h=r.__symbol__("UNPATCHED_EVENTS");e[h]&&(e[l]=e[h]),e[l]&&(r[l]=r[h]=e[l]),a.patchEventPrototype=Qe,a.patchEventTarget=pt,a.isIEOrEdge=Re,a.ObjectDefineProperty=ve,a.ObjectGetOwnPropertyDescriptor=X,a.ObjectCreate=Ue,a.ArraySlice=ht,a.patchClass=Fe,a.wrapWithCurrentZone=rt,a.filterProperties=et,a.attachOriginToPatched=be,a._redefineProperty=Object.defineProperty,a.patchCallbacks=gt,a.getGlobalObjects=()=>({globalSources:we,zoneSymbolEventNames:he,eventNames:i,isBrowser:U,isMix:ge,isNode:$e,TRUE_STR:Oe,FALSE_STR:Le,ZONE_SYMBOL_PREFIX:ze,ADD_EVENT_LISTENER_STR:Be,REMOVE_EVENT_LISTENER_STR:We})});const xe=Y("zoneTask");function Ae(e,r,a,i){let l=null,h=null;a+=i;const y={};function _(P){const b=P.data;return b.args[0]=function(){return P.invoke.apply(this,arguments)},b.handleId=l.apply(e,b.args),P}function D(P){return h.call(e,P.data.handleId)}l=Ce(e,r+=i,P=>function(b,W){if("function"==typeof W[0]){const F={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?W[1]||0:void 0,args:W},V=W[0];W[0]=function(){try{return V.apply(this,arguments)}finally{F.isPeriodic||("number"==typeof F.handleId?delete y[F.handleId]:F.handleId&&(F.handleId[xe]=null))}};const re=Xe(r,W[0],F,_,D);if(!re)return re;const q=re.data.handleId;return"number"==typeof q?y[q]=re:q&&(q[xe]=re),q&&q.ref&&q.unref&&"function"==typeof q.ref&&"function"==typeof q.unref&&(re.ref=q.ref.bind(q),re.unref=q.unref.bind(q)),"number"==typeof q||q?q:re}return P.apply(e,W)}),h=Ce(e,a,P=>function(b,W){const F=W[0];let V;"number"==typeof F?V=y[F]:(V=F&&F[xe],V||(V=F)),V&&"string"==typeof V.type?"notScheduled"!==V.state&&(V.cancelFn&&V.data.isPeriodic||0===V.runCount)&&("number"==typeof F?delete y[F]:F&&(F[xe]=null),V.zone.cancelTask(V)):P.apply(e,W)})}Zone.__load_patch("legacy",e=>{const r=e[Zone.__symbol__("legacyPatch")];r&&r()}),Zone.__load_patch("timers",e=>{const r="set",a="clear";Ae(e,r,a,"Timeout"),Ae(e,r,a,"Interval"),Ae(e,r,a,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Ae(e,"request","cancel","AnimationFrame"),Ae(e,"mozRequest","mozCancel","AnimationFrame"),Ae(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,r)=>{const a=["alert","prompt","confirm"];for(let i=0;i<a.length;i++)Ce(e,a[i],(h,y,_)=>function(D,P){return r.current.run(h,e,P,_)})}),Zone.__load_patch("EventTarget",(e,r,a)=>{(function Ge(e,r){r.patchEventPrototype(e,r)})(e,a),function kt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:a,zoneSymbolEventNames:i,TRUE_STR:l,FALSE_STR:h,ZONE_SYMBOL_PREFIX:y}=r.getGlobalObjects();for(let D=0;D<a.length;D++){const P=a[D],F=y+(P+h),V=y+(P+l);i[P]={},i[P][h]=F,i[P][l]=V}const _=e.EventTarget;_&&_.prototype&&r.patchEventTarget(e,r,[_&&_.prototype])}(e,a);const i=e.XMLHttpRequestEventTarget;i&&i.prototype&&a.patchEventTarget(e,a,[i.prototype])}),Zone.__load_patch("MutationObserver",(e,r,a)=>{Fe("MutationObserver"),Fe("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,r,a)=>{Fe("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,r,a)=>{Fe("FileReader")}),Zone.__load_patch("on_property",(e,r,a)=>{!function _t(e,r){if($e&&!ge||Zone[e.symbol("patchEvents")])return;const a=r.__Zone_ignore_on_properties;let i=[];if(U){const l=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const h=function Et(){try{const e=je.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:l,ignoreProperties:["error"]}]:[];lt(l,Ie(l),a&&a.concat(h),De(l))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let l=0;l<i.length;l++){const h=r[i[l]];h&&h.prototype&&lt(h.prototype,Ie(h.prototype),a)}}(a,e)}),Zone.__load_patch("customElements",(e,r,a)=>{!function vt(e,r){const{isBrowser:a,isMix:i}=r.getGlobalObjects();(a||i)&&e.customElements&&"customElements" in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(e,a)}),Zone.__load_patch("XHR",(e,r)=>{!function D(P){const b=P.XMLHttpRequest;if(!b)return;const W=b.prototype;let V=W[tt],re=W[nt];if(!V){const p=P.XMLHttpRequestEventTarget;if(p){const B=p.prototype;V=B[tt],re=B[nt]}}const q="readystatechange",oe="scheduled";function ee(p){const B=p.data,O=B.target;O[h]=!1,O[_]=!1;const pe=O[l];V||(V=O[tt],re=O[nt]),pe&&re.call(O,q,pe);const Q=O[l]=()=>{if(O.readyState===O.DONE)if(!B.aborted&&O[h]&&p.state===oe){const ne=O[r.__symbol__("loadfalse")];if(0!==O.status&&ne&&ne.length>0){const Pe=p.invoke;p.invoke=function(){const Ee=O[r.__symbol__("loadfalse")];for(let ce=0;ce<Ee.length;ce++)Ee[ce]===p&&Ee.splice(ce,1);!B.aborted&&p.state===oe&&Pe.call(p)},ne.push(p)}else p.invoke()}else!B.aborted&&!1===O[h]&&(O[_]=!0)};return V.call(O,q,Q),O[a]||(O[a]=p),g.apply(O,B.args),O[h]=!0,p}function R(){}function v(p){const B=p.data;return B.aborted=!0,$.apply(B.target,B.args)}const me=Ce(W,"open",()=>function(p,B){return p[i]=0==B[2],p[y]=B[1],me.apply(p,B)}),se=Y("fetchTaskAborting"),x=Y("fetchTaskScheduling"),g=Ce(W,"send",()=>function(p,B){if(!0===r.current[x]||p[i])return g.apply(p,B);{const O={target:p,url:p[y],isPeriodic:!1,args:B,aborted:!1},pe=Xe("XMLHttpRequest.send",R,O,ee,v);p&&!0===p[_]&&!O.aborted&&pe.state===oe&&pe.invoke()}}),$=Ce(W,"abort",()=>function(p,B){const O=function F(p){return p[a]}(p);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===r.current[se])return $.apply(p,B)})}(e);const a=Y("xhrTask"),i=Y("xhrSync"),l=Y("xhrListener"),h=Y("xhrScheduled"),y=Y("xhrURL"),_=Y("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function mt(e,r){const a=e.constructor.name;for(let i=0;i<r.length;i++){const l=r[i],h=e[l];if(h){if(!ut(X(e,l)))continue;e[l]=(_=>{const D=function(){return _.apply(this,ot(arguments,a+"."+l))};return be(D,_),D})(h)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,r)=>{function a(i){return function(l){ft(e,i).forEach(y=>{const _=e.PromiseRejectionEvent;if(_){const D=new _(i,{promise:l.promise,reason:l.rejection});y.invoke(D)}})}}e.PromiseRejectionEvent&&(r[Y("unhandledPromiseRejectionHandler")]=a("unhandledrejection"),r[Y("rejectionHandledHandler")]=a("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,r,a)=>{!function yt(e,r){r.patchMethod(e,"queueMicrotask",a=>function(i,l){Zone.current.scheduleMicroTask("queueMicrotask",l[0])})}(e,a)})}},X=>{X(X.s=50)}]);;;
"use strict";(self.webpackChunkdnb_search_app=self.webpackChunkdnb_search_app||[]).push([[792],{936:()=>{let Fe=null,$s=1;const lr=Symbol("SIGNAL");function K(e){const n=Fe;return Fe=e,n}function yp(e){if((!si(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==$s)){if(!e.producerMustRecompute(e)&&!Sc(e))return e.dirty=!1,void(e.lastCleanEpoch=$s);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=$s}}function Sc(e){$r(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(yp(t),r!==t.version))return!0}return!1}function Gs(e,n){if(function Tp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),$r(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Gs(e.producerNode[r],e.producerIndexOfThis[r]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];$r(o),o.producerIndexOfThis[r]=n}}function si(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function $r(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Mp=null;function Oe(e){return"function"==typeof e}function Ac(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const xc=Ac(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t});function zs(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class kt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(Oe(r))try{r()}catch(i){n=i instanceof xc?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Fp(i)}catch(s){n=n??[],s instanceof xc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new xc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Fp(n);else{if(n instanceof kt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&zs(t,n)}remove(n){const{_finalizers:t}=this;t&&zs(t,n),n instanceof kt&&n._removeParent(this)}}kt.EMPTY=(()=>{const e=new kt;return e.closed=!0,e})();const Ap=kt.EMPTY;function xp(e){return e instanceof kt||e&&"closed" in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function Fp(e){Oe(e)?e():e.unsubscribe()}const cr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},qs={setTimeout(e,n,...t){const{delegate:r}=qs;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=qs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Op(e){qs.setTimeout(()=>{const{onUnhandledError:n}=cr;if(!n)throw e;n(e)})}function Fc(){}const NI=Oc("C",void 0,void 0);function Oc(e,n,t){return{kind:e,value:n,error:t}}let ur=null;function Ws(e){if(cr.useDeprecatedSynchronousErrorHandling){const n=!ur;if(n&&(ur={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=ur;if(ur=null,t)throw r}}else e()}class Rc extends kt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,xp(n)&&n.add(this)):this.destination=kI}static create(n,t,r){return new kc(n,t,r)}next(n){this.isStopped?Lc(function xI(e){return Oc("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Lc(function AI(e){return Oc("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Lc(NI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const OI=Function.prototype.bind;function Pc(e,n){return OI.call(e,n)}class RI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Qs(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Qs(r)}else Qs(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Qs(t)}}}class kc extends Rc{constructor(n,t,r){let o;if(super(),Oe(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&cr.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Pc(n.next,i),error:n.error&&Pc(n.error,i),complete:n.complete&&Pc(n.complete,i)}):o=n}this.destination=new RI(o)}}function Qs(e){cr.useDeprecatedSynchronousErrorHandling?function FI(e){cr.useDeprecatedSynchronousErrorHandling&&ur&&(ur.errorThrown=!0,ur.error=e)}(e):Op(e)}function Lc(e,n){const{onStoppedNotification:t}=cr;t&&qs.setTimeout(()=>t(e,n))}const kI={closed:!0,next:Fc,error:function PI(e){throw e},complete:Fc},Vc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Gr(e){return e}let Xe=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function VI(e){return e&&e instanceof Rc||function LI(e){return e&&Oe(e.next)&&Oe(e.error)&&Oe(e.complete)}(e)&&xp(e)}(t)?t:new kc(t,r,o);return Ws(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Pp(r))((o,i)=>{const s=new kc({next:a=>{try{t(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Vc](){return this}pipe(...t){return function Rp(e){return 0===e.length?Gr:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}(t)(this)}toPromise(t){return new(t=Pp(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Pp(e){var n;return null!==(n=e??cr.Promise)&&void 0!==n?n:Promise}const jI=Ac(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vt=(()=>{class e extends Xe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new kp(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new jI}next(t){Ws(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Ws(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Ws(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Ap:(this.currentObservers=null,i.push(t),new kt(()=>{this.currentObservers=null,zs(i,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new Xe;return t.source=this,t}}return e.create=(n,t)=>new kp(n,t),e})();class kp extends vt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Ap}}class jc extends vt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function dt(e){return n=>{if(function BI(e){return Oe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function nt(e,n,t,r,o){return new HI(e,n,t,r,o)}class HI extends Rc{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Lt(e,n){return dt((t,r)=>{let o=0;t.subscribe(nt(r,i=>{r.next(e.call(n,i,o++))}))})}const Lp="https://g.co/ng/security#xss";class N extends Error{constructor(n,t){super(function zr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function En(e){return{toString:e}.toString()}const Wr="__parameters__";function Zr(e,n,t){return En(()=>{const r=function Bc(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);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(l,c,u){const d=l.hasOwnProperty(Wr)?l[Wr]:Object.defineProperty(l,Wr,{value:[]})[Wr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const ue=globalThis;function de(e){for(let n in e)if(e[n]===de)return n;throw Error("Could not find renamed property on target object.")}function UI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ue).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Hc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const $I=de({__forward_ref__:de});function pe(e){return e.__forward_ref__=pe,e.toString=function(){return Ue(this())},e}function U(e){return Ys(e)?e():e}function Ys(e){return"function"==typeof e&&e.hasOwnProperty($I)&&e.__forward_ref__===pe}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ks(e){return Hp(e,Js)||Hp(e,Up)}function Hp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Xs(e){return e&&(e.hasOwnProperty(Uc)||e.hasOwnProperty(QI))?e[Uc]:null}const Js=de({\u0275prov:de}),Uc=de({\u0275inj:de}),Up=de({ngInjectableDef:de}),QI=de({ngInjectorDef:de});class O{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=B({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wc(e){return e&&!!e.\u0275providers}const ai=de({\u0275cmp:de}),Qc=de({\u0275dir:de}),Zc=de({\u0275pipe:de}),Gp=de({\u0275mod:de}),In=de({\u0275fac:de}),li=de({__NG_ELEMENT_ID__:de}),zp=de({__NG_ENV_ID__:de});function z(e){return"string"==typeof e?e:null==e?"":String(e)}function Yc(e,n){throw new N(-201,!1)}var ne=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}(ne||{});let Kc;function qp(){return Kc}function Dt(e){const n=Kc;return Kc=e,n}function Wp(e,n,t){const r=Ks(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&ne.Optional?null:void 0!==n?n:void Yc()}const ci={},Xc="__NG_DI_FLAG__",ea="ngTempTokenPath",e1=/\n/gm,Qp="__source";let Yr;function Un(e){const n=Yr;return Yr=e,n}function r1(e,n=ne.Default){if(void 0===Yr)throw new N(-203,!1);return null===Yr?Wp(e,void 0,n):Yr.get(e,n&ne.Optional?null:void 0,n)}function L(e,n=ne.Default){return(qp()||r1)(U(e),n)}function k(e,n=ne.Default){return L(e,ta(n))}function ta(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Jc(e){const n=[];for(let t=0;t<e.length;t++){const r=U(e[t]);if(Array.isArray(r)){if(0===r.length)throw new N(900,!1);let o,i=ne.Default;for(let s=0;s<r.length;s++){const a=r[s],l=o1(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}n.push(L(o,i))}else n.push(L(r))}return n}function ui(e,n){return e[Xc]=n,e.prototype[Xc]=n,e}function o1(e){return e[Xc]}const eu=ui(Zr("Optional"),8),tu=ui(Zr("SkipSelf"),4);function dr(e,n){return e.hasOwnProperty(In)?e[In]:null}function Kr(e,n){e.forEach(t=>Array.isArray(t)?Kr(t,n):n(t))}function Yp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function na(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Nt(e,n,t){let r=Xr(e,n);return r>=0?e[1|r]=t:(r=~r,function Kp(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function ru(e,n){const t=Xr(e,n);if(t>=0)return e[1|t]}function Xr(e,n){return function Xp(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}(e,n,1)}const an={},ie=[],Jr=new O(""),Jp=new O("",-1),ou=new O("");class oa{get(n,t=ci){if(t===ci){const r=new Error(`NullInjectorError: No provider for ${Ue(n)}!`);throw r.name="NullInjectorError",r}return t}}var ia=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ia||{}),Qt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Qt||{}),Se=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Se||{});function d1(e,n,t){let r=e.length;for(;;){const o=e.indexOf(n,t);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}function iu(e,n,t){let r=0;for(;r<t.length;){const o=t[r];if("number"==typeof o){if(0!==o)break;r++;const i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{const i=o,s=t[++r];tg(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function eg(e){return 3===e||4===e||6===e}function tg(e){return 64===e.charCodeAt(0)}function di(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){const o=n[r];"number"==typeof o?t=o:0===t||ng(e,t,o,null,-1===t||2===t?n[++r]:null)}}return e}function ng(e,n,t,r,o){let i=0,s=e.length;if(-1===n)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===t){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,n),i=s+1),e.splice(i++,0,t),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const rg="ng-template";function f1(e,n,t,r){let o=0;if(r){for(;o<n.length&&"string"==typeof n[o];o+=2)if("class"===n[o]&&-1!==d1(n[o+1].toLowerCase(),t,0))return!0}else if(su(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&"string"==typeof(i=n[o]);)if(i.toLowerCase()===t)return!0}return!1}function su(e){return 4===e.type&&e.value!==rg}function h1(e,n,t){return n===(4!==e.type||t?e.value:rg)}function p1(e,n,t){let r=4;const o=e.attrs,i=null!==o?function _1(e){for(let n=0;n<e.length;n++)if(eg(e[n]))return n;return e.length}(o):0;let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!h1(e,l,t)||""===l&&1===n.length){if(Zt(r))return!1;s=!0}}else if(8&r){if(null===o||!f1(e,o,l,t)){if(Zt(r))return!1;s=!0}}else{const c=n[++a],u=g1(l,o,su(e),t);if(-1===u){if(Zt(r))return!1;s=!0;continue}if(""!==c){let d;if(d=u>i?"":o[u+1].toLowerCase(),2&r&&c!==d){if(Zt(r))return!1;s=!0}}}}else{if(!s&&!Zt(r)&&!Zt(l))return!1;if(s&&Zt(l))continue;s=!1,r=l|1&r}}return Zt(r)||s}function Zt(e){return!(1&e)}function g1(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){const s=n[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=n[++o];for(;"string"==typeof a;)a=n[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function y1(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function og(e,n,t=!1){for(let r=0;r<n.length;r++)if(p1(e,n[r],t))return!0;return!1}function v1(e,n){e:for(let t=0;t<n.length;t++){const r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ig(e,n){return e?":not("+n.trim()+")":n}function D1(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Zt(s)&&(n+=ig(i,o),o=""),r=s,i=i||!Zt(r);t++}return""!==o&&(n+=ig(i,o)),n}function te(e){return En(()=>{const n=ag(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ia.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Qt.Emulated,styles:e.styles||ie,_:null,schemas:e.schemas||null,tView:null,id:""};lg(t);const r=e.dependencies;return t.directiveDefs=sa(r,!1),t.pipeDefs=sa(r,!0),t.id=function T1(e){let n=0;const t=[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 t)n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function w1(e){return X(e)||$e(e)}function E1(e){return null!==e}function Yt(e){return En(()=>({type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function sg(e,n){if(null==e)return an;const t={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=Se.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),n?(t[i]=a!==Se.None?[r,a]:r,n[i]=s):t[i]=r}return t}function W(e){return En(()=>{const n=ag(e);return lg(n),n})}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 X(e){return e[ai]||null}function $e(e){return e[Qc]||null}function et(e){return e[Zc]||null}function ag(e){const n={};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:n,inputTransforms:null,inputConfig:e.inputs||an,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:sg(e.inputs,n),outputs:sg(e.outputs),debugInfo:null}}function lg(e){e.features?.forEach(n=>n(e))}function sa(e,n){if(!e)return null;const t=n?et:w1;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(E1)}function M1(...e){return{\u0275providers:au(0,e),\u0275fromNgModule:!0}}function au(e,...n){const t=[],r=new Set;let o;const i=s=>{t.push(s)};return Kr(n,s=>{const a=s;aa(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&cg(o,i),t}function cg(e,n){for(let t=0;t<e.length;t++){const{ngModule:r,providers:o}=e[t];lu(o,i=>{n(i,r)})}}function aa(e,n,t,r){if(!(e=U(e)))return!1;let o=null,i=Xs(e);const s=!i&&X(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Xs(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)aa(c,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Kr(i.imports,u=>{aa(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&cg(c,n)}if(!a){const c=dr(o)||(()=>new o);n({provide:o,useFactory:c,deps:ie},o),n({provide:ou,useValue:o,multi:!0},o),n({provide:Jr,useValue:()=>L(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;lu(l,u=>{n(u,c)})}}}return o!==e&&void 0!==e.providers}function lu(e,n){for(let t of e)Wc(t)&&(t=t.\u0275providers),Array.isArray(t)?lu(t,n):n(t)}const S1=de({provide:String,useValue:de});function cu(e){return null!==e&&"object"==typeof e&&S1 in e}function hr(e){return"function"==typeof e}const uu=new O(""),la={},A1={};let du;function ca(){return void 0===du&&(du=new oa),du}class Kt{}class eo extends Kt{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hu(n,s=>this.processProvider(s)),this.records.set(Jp,to(void 0,this)),o.has("environment")&&this.records.set(Kt,to(void 0,this));const i=this.records.get(uu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ou,ie,ne.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=K(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),K(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Un(this),r=Dt(void 0);try{return n()}finally{Un(t),Dt(r)}}get(n,t=ci,r=ne.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(zp))return n[zp](this);r=ta(r);const i=Un(this),s=Dt(void 0);try{if(!(r&ne.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function P1(e){return"function"==typeof e||"object"==typeof e&&e instanceof O}(n)&&Ks(n);l=c&&this.injectableDefInScope(c)?to(fu(n),la):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(r&ne.Self?ca():this.parent).get(n,t=r&ne.Optional&&t===ci?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[ea]=a[ea]||[]).unshift(Ue(n)),i)throw a;return function i1(e,n,t,r){const o=e[ea];throw n[Qp]&&o.unshift(n[Qp]),e.message=function s1(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ue(n);if(Array.isArray(n))o=n.map(Ue).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Ue(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(e1,"\n  ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[ea]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Dt(s),Un(i)}}resolveInjectorInitializers(){const n=K(null),t=Un(this),r=Dt(void 0);try{const i=this.get(Jr,ie,ne.Self);for(const s of i)s()}finally{Un(t),Dt(r),K(n)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Ue(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(n){let t=hr(n=U(n))?n:U(n&&n.provide);const r=function F1(e){return cu(e)?to(void 0,e.useValue):to(fg(e),la)}(n);if(!hr(n)&&!0===n.multi){let o=this.records.get(t);o||(o=to(void 0,la,!0),o.factory=()=>Jc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){const r=K(null);try{return t.value===la&&(t.value=A1,t.value=t.factory()),"object"==typeof t.value&&t.value&&function R1(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{K(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=U(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function fu(e){const n=Ks(e),t=null!==n?n.factory:dr(e);if(null!==t)return t;if(e instanceof O)throw new N(204,!1);if(e instanceof Function)return function x1(e){if(e.length>0)throw new N(204,!1);const t=function WI(e){return e&&(e[Js]||e[Up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new N(204,!1)}function fg(e,n,t){let r;if(hr(e)){const o=U(e);return dr(o)||fu(o)}if(cu(e))r=()=>U(e.useValue);else if(function dg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Jc(e.deps||[]));else if(function ug(e){return!(!e||!e.useExisting)}(e))r=()=>L(U(e.useExisting));else{const o=U(e&&(e.useClass||e.provide));if(!function O1(e){return!!e.deps}(e))return dr(o)||fu(o);r=()=>new o(...Jc(e.deps))}return r}function to(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function hu(e,n){for(const t of e)Array.isArray(t)?hu(t,n):t&&Wc(t)?hu(t.\u0275providers,n):n(t)}const Te=0,A=1,P=2,Re=3,Xt=4,ot=5,At=6,ro=7,ve=8,tt=9,Jt=10,$=11,pi=12,gg=13,oo=14,Me=15,gi=16,io=17,Tn=18,mi=19,mg=20,$n=21,fa=22,pr=23,q=25,mu=1,ln=7,so=9,Pe=10;var _u=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(_u||{});function it(e){return Array.isArray(e)&&"object"==typeof e[mu]}function st(e){return Array.isArray(e)&&!0===e[mu]}function yu(e){return!!(4&e.flags)}function gr(e){return e.componentOffset>-1}function pa(e){return!(1&~e.flags)}function en(e){return!!e.template}function vu(e){return!!(512&e[P])}class Dg{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Cg(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}function at(){return bg}function bg(e){return e.type.prototype.ngOnChanges&&(e.setInput=Z1),Q1}function Q1(){const e=Eg(this),n=e?.current;if(n){const t=e.previous;if(t===an)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Z1(e,n,t,r,o){const i=this.declaredInputs[r],s=Eg(e)||function Y1(e,n){return e[wg]=n}(e,{previous:an,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new Dg(c&&c.currentValue,t,l===an),Cg(e,n,o,t)}at.ngInherit=!0;const wg="__ngSimpleChanges__";function Eg(e){return e[wg]||null}const cn=function(e,n,t){},Ig="svg";let Mg=!1;function ge(e){for(;Array.isArray(e);)e=e[Te];return e}function yi(e,n){return ge(n[e])}function ft(e,n){return ge(n[e.index])}function vi(e,n){return e.data[n]}function ao(e,n){return e[n]}function xt(e,n){const t=n[e];return it(t)?t:t[Te]}function Eu(e){return!(128&~e[P])}function un(e,n){return null==n?null:e[n]}function Sg(e){e[io]=0}function n0(e){1024&e[P]||(e[P]|=1024,Eu(e)&&Di(e))}function Iu(e){return!!(9216&e[P]||e[pr]?.dirty)}function Tu(e){e[Jt].changeDetectionScheduler?.notify(1),Iu(e)?Di(e):64&e[P]&&(function X1(){return Mg}()?(e[P]|=1024,Di(e)):e[Jt].changeDetectionScheduler?.notify())}function Di(e){e[Jt].changeDetectionScheduler?.notify();let n=mr(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Eu(n));)n=mr(n)}function ga(e,n){if(!(256&~e[P]))throw new N(911,!1);null===e[$n]&&(e[$n]=[]),e[$n].push(n)}function mr(e){const n=e[Re];return st(n)?n[Re]:n}const G={lFrame:Vg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xg(){return G.bindingsEnabled}function lo(){return null!==G.skipHydrationRootTNode}function w(){return G.lFrame.lView}function ee(){return G.lFrame.tView}function Z(e){return G.lFrame.contextLView=e,e[ve]}function Y(e){return G.lFrame.contextLView=null,e}function fe(){let e=Fg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fg(){return G.lFrame.currentTNode}function dn(e,n){const t=G.lFrame;t.currentTNode=e,t.isParent=n}function Su(){return G.lFrame.isParent}function Nu(){G.lFrame.isParent=!1}function ht(){const e=G.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Mn(){return G.lFrame.bindingIndex}function tn(){return G.lFrame.bindingIndex++}function Sn(e){const n=G.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function p0(e,n){const t=G.lFrame;t.bindingIndex=t.bindingRootIndex=e,Au(n)}function Au(e){G.lFrame.currentDirectiveIndex=e}function Fu(){return G.lFrame.currentQueryIndex}function ma(e){G.lFrame.currentQueryIndex=e}function m0(e){const n=e[A];return 2===n.type?n.declTNode:1===n.type?e[ot]:null}function kg(e,n,t){if(t&ne.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&ne.Host||(o=m0(i),null===o||(i=i[oo],10&o.type))););if(null===o)return!1;n=o,e=i}const r=G.lFrame=Lg();return r.currentTNode=n,r.lView=e,!0}function Ou(e){const n=Lg(),t=e[A];G.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Lg(){const e=G.lFrame,n=null===e?null:e.child;return null===n?Vg(e):n}function Vg(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function jg(){const e=G.lFrame;return G.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Bg=jg;function Ru(){const e=jg();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 lt(){return G.lFrame.selectedIndex}function _r(e){G.lFrame.selectedIndex=e}function De(){const e=G.lFrame;return vi(e.tView,e.selectedIndex)}function yr(){G.lFrame.currentNamespace=Ig}let Ug=!0;function bi(){return Ug}function fn(e){Ug=e}function _a(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=u&&(e.destroyHooks??=[]).push(t,u)}}function ya(e,n,t){$g(e,n,3,t)}function va(e,n,t,r){(3&e[P])===t&&$g(e,n,t,r)}function Pu(e,n){let t=e[P];(3&t)===n&&(t&=16383,t+=1,e[P]=t)}function $g(e,n,t,r){const i=r??-1,s=n.length-1;let a=0;for(let l=void 0!==r?65535&e[io]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=r&&a>=r)break}else n[l]<0&&(e[io]+=65536),(a<i||-1==i)&&(b0(e,t,n,l),e[io]=(4294901760&e[io])+l+2),l++}function Gg(e,n){cn(4,e,n);const t=K(null);try{n.call(e)}finally{K(t),cn(5,e,n)}}function b0(e,n,t,r){const o=t[r]<0,i=t[r+1],a=e[o?-t[r]:t[r]];o?e[P]>>14<e[io]>>16&&(3&e[P])===n&&(e[P]+=16384,Gg(a,i)):Gg(a,i)}const co=-1;class wi{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Lu(e){return e!==co}function Ei(e){return 32767&e}function Ii(e,n){let t=function M0(e){return e>>16}(e),r=n;for(;t>0;)r=r[oo],t--;return r}let Vu=!0;function Da(e){const n=Vu;return Vu=e,n}const zg=255,qg=5;let S0=0;const hn={};function Ca(e,n){const t=Wg(e,n);if(-1!==t)return t;const r=n[A];r.firstCreatePass&&(e.injectorIndex=n.length,ju(r.data,e),ju(n,null),ju(r.blueprint,null));const o=ba(e,n),i=e.injectorIndex;if(Lu(o)){const s=Ei(o),a=Ii(o,n),l=a[A].data;for(let c=0;c<8;c++)n[i+c]=a[s+c]|l[s+c]}return n[i+8]=o,i}function ju(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Wg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function ba(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=em(o),null===r)return co;if(t++,o=o[oo],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return co}function Bu(e,n,t){!function N0(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(li)&&(r=t[li]),null==r&&(r=t[li]=S0++);const o=r&zg;n.data[e+(o>>qg)]|=1<<o}(e,n,t)}function Qg(e,n,t){if(t&ne.Optional||void 0!==e)return e;Yc()}function Zg(e,n,t,r){if(t&ne.Optional&&void 0===r&&(r=null),!(t&(ne.Self|ne.Host))){const o=e[tt],i=Dt(void 0);try{return o?o.get(n,r,t&ne.Optional):Wp(n,r,t&ne.Optional)}finally{Dt(i)}}return Qg(r,0,t)}function Yg(e,n,t,r=ne.Default,o){if(null!==e){if(2048&n[P]&&!(r&ne.Self)){const s=function R0(e,n,t,r,o){let i=e,s=n;for(;null!==i&&null!==s&&2048&s[P]&&!(512&s[P]);){const a=Kg(i,s,t,r|ne.Self,hn);if(a!==hn)return a;let l=i.parent;if(!l){const c=s[mg];if(c){const u=c.get(t,hn,r);if(u!==hn)return u}l=em(s),s=s[oo]}i=l}return o}(e,n,t,r,hn);if(s!==hn)return s}const i=Kg(e,n,t,r,hn);if(i!==hn)return i}return Zg(n,t,r,o)}function Kg(e,n,t,r,o){const i=function F0(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(li)?e[li]:void 0;return"number"==typeof n?n>=0?n&zg:O0:n}(t);if("function"==typeof i){if(!kg(n,e,r))return r&ne.Host?Qg(o,0,r):Zg(n,t,r,o);try{let s;if(s=i(r),null!=s||r&ne.Optional)return s;Yc()}finally{Bg()}}else if("number"==typeof i){let s=null,a=Wg(e,n),l=co,c=r&ne.Host?n[Me][ot]:null;for((-1===a||r&ne.SkipSelf)&&(l=-1===a?ba(e,n):n[a+8],l!==co&&Jg(r,!1)?(s=n[A],a=Ei(l),n=Ii(l,n)):a=-1);-1!==a;){const u=n[A];if(Xg(i,a,u.data)){const d=x0(a,n,t,s,r,c);if(d!==hn)return d}l=n[a+8],l!==co&&Jg(r,n[A].data[a+8]===c)&&Xg(i,a,n)?(s=u,a=Ei(l),n=Ii(l,n)):a=-1}}return o}function x0(e,n,t,r,o,i){const s=n[A],a=s.data[e+8],u=wa(a,s,t,null==r?gr(a)&&Vu:r!=s&&!!(3&a.type),o&ne.Host&&i===a);return null!==u?vr(n,s,u,a):hn}function wa(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let g=r?a:a+u;g<h;g++){const y=s[g];if(g<l&&t===y||g>=l&&y.type===t)return g}if(o){const g=s[l];if(g&&en(g)&&g.type===t)return l}return null}function vr(e,n,t,r){let o=e[t];const i=n.data;if(function w0(e){return e instanceof wi}(o)){const s=o;s.resolving&&function KI(e,n){throw n&&n.join(" > "),new N(-200,e)}(function se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():z(e)}(i[t]));const a=Da(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Dt(s.injectImpl):null;kg(e,r,ne.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function C0(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=bg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==c&&Dt(c),Da(a),s.resolving=!1,Bg()}}return o}function Xg(e,n,t){return!!(t[n+(e>>qg)]&1<<e)}function Jg(e,n){return!(e&ne.Self||e&ne.Host&&n)}class ze{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Yg(this._tNode,this._lView,n,ta(r),t)}}function O0(){return new ze(fe(),w())}function Qe(e){return En(()=>{const n=e.prototype.constructor,t=n[In]||Hu(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[In]||Hu(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Hu(e){return Ys(e)?()=>{const n=Hu(U(e));return n&&n()}:dr(e)}function em(e){const n=e[A],t=n.type;return 2===t?n.declTNode:1===t?e[ot]:null}function im(e,n=null,t=null,r){const o=sm(e,n,t,r);return o.resolveInjectorInitializers(),o}function sm(e,n=null,t=null,r,o=new Set){const i=[t||ie,M1(e)];return r=r||("object"==typeof e?void 0:Ue(e)),new eo(i,n||ca(),r||null,o)}let pt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=ci;static#t=this.NULL=new oa;static create(t,r){if(Array.isArray(t))return im({name:""},r,t,"");{const o=t.name??"";return im({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=B({token:e,providedIn:"any",factory:()=>L(Jp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function $u(e){return e.ngOriginalError}class pn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&$u(n);for(;t&&$u(t);)t=$u(t);return t||null}}const lm=new O("",{providedIn:"root",factory:()=>k(pn).handleError.bind(void 0)});let ho=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=$0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class U0 extends ho{constructor(n){super(),this._lView=n}onDestroy(n){return ga(this._lView,n),()=>function Mu(e,n){if(null===e[$n])return;const t=e[$n].indexOf(n);-1!==t&&e[$n].splice(t,1)}(this._lView,n)}}function $0(){return new U0(w())}function G0(){return po(fe(),w())}function po(e,n){return new Ft(ft(e,n))}let Ft=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=G0}return e})();function um(e){return e instanceof Ft?e.nativeElement:e}function Gu(e){return n=>{setTimeout(e,void 0,n)}}const Ne=class z0 extends vt{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function hg(){return void 0!==qp()||null!=function n1(){return Yr}()}()&&(this.destroyRef=k(ho,{optional:!0})??void 0)}emit(n){const t=K(null);try{super.next(n)}finally{K(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Gu(i),o&&(o=Gu(o)),s&&(s=Gu(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof kt&&n.add(a),a}};function q0(){return this._results[Symbol.iterator]()}class zu{static#e=Symbol.iterator;get changes(){return this._changes??=new Ne}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=zu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=q0)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const r=function Ct(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function u1(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}(this._results,r,t))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Ta(e){return!(128&~e.flags)}const qu=new Map;let Q0=0;const Qu="__ngContext__";function ct(e,n){it(n)?(e[Qu]=n[mi],function Y0(e){qu.set(e[mi],e)}(n)):e[Qu]=n}function Dm(e){return bm(e[pi])}function Cm(e){return bm(e[Xt])}function bm(e){for(;null!==e&&!st(e);)e=e[Xt];return e}let Zu;function Gn(){if(void 0!==Zu)return Zu;if(typeof document<"u")return document;throw new N(210,!1)}const Na=new O("",{providedIn:"root",factory:()=>pT}),pT="ng",Am=new O(""),Nn=new O("",{providedIn:"platform",factory:()=>"unknown"}),Yu=new O("",{providedIn:"root",factory:()=>Gn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let xm=()=>null;function od(e,n,t=!1){return xm(e,n,t)}const km=new O("",{providedIn:"root",factory:()=>!1});let ka,La;function _o(e){return function ld(){if(void 0===ka&&(ka=null,ue.trustedTypes))try{ka=ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ka}()?.createHTML(e)||e}function Vm(e){return function cd(){if(void 0===La&&(La=null,ue.trustedTypes))try{La=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return La}()?.createHTML(e)||e}class Hm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lp})`}}function zn(e){return e instanceof Hm?e.changingThisBreaksApplicationSecurity:e}function Fi(e,n){const t=function OT(e){return e instanceof Hm&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Lp})`)}return t===n}class RT{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(_o(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class PT{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=_o(n),t}}const LT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ud(e){return(e=String(e)).match(LT)?e:"unsafe:"+e}function An(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Oi(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const $m=An("area,br,col,hr,img,wbr"),Gm=An("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),zm=An("rp,rt"),dd=Oi($m,Oi(Gm,An("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Oi(zm,An("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Oi(zm,Gm)),fd=An("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qm=Oi(fd,An("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),An("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),VT=An("script,style,template");class jT{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)o.push(t),t=UT(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=HT(t);if(i){t=i;break}t=o.pop()}return this.buf.join("")}startElement(n){const t=Wm(n).toLowerCase();if(!dd.hasOwnProperty(t))return this.sanitizedSomething=!0,!VT.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let o=0;o<r.length;o++){const i=r.item(o),s=i.name,a=s.toLowerCase();if(!qm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=i.value;fd[a]&&(l=ud(l)),this.buf.push(" ",s,'="',Zm(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=Wm(n).toLowerCase();dd.hasOwnProperty(t)&&!$m.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Zm(n))}}function HT(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw Qm(n);return n}function UT(e){const n=e.firstChild;if(n&&function BT(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw Qm(n);return n}function Wm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function Qm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const $T=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GT=/([^\#-~ |!])/g;function Zm(e){return e.replace(/&/g,"&amp;").replace($T,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(GT,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Va;function hd(e){return"content" in e&&function qT(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var yo=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}(yo||{});function wt(e){const n=Ri();return n?Vm(n.sanitize(yo.HTML,e)||""):Fi(e,"HTML")?Vm(zn(e)):function zT(e,n){let t=null;try{Va=Va||function Um(e){const n=new PT(e);return function kT(){try{return!!(new window.DOMParser).parseFromString(_o(""),"text/html")}catch{return!1}}()?new RT(n):n}(e);let r=n?String(n):"";t=Va.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Va.getInertBodyElement(r)}while(r!==i);return _o((new jT).sanitizeChildren(hd(t)||t))}finally{if(t){const r=hd(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Gn(),z(e))}function Ze(e){const n=Ri();return n?n.sanitize(yo.URL,e)||"":Fi(e,"URL")?zn(e):ud(z(e))}function Ri(){const e=w();return e&&e[Jt].sanitizer}const JT=/^>|^->|<!--|-->|--!>|<!-$/g,eM=/(<|>)/g,tM="\u200b$1\u200b";function e_(e){return e.ownerDocument}var Wn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Wn||{});let _d;function yd(e,n){return _d(e,n)}function Do(e,n,t,r,o){if(null!=r){let i,s=!1;st(r)?i=r:it(r)&&(s=!0,r=r[Te]);const a=ge(r);0===e&&null!==t?null==o?c_(n,t,a):Dr(n,t,a,o||null,!0):1===e&&null!==t?Dr(n,t,a,o||null,!0):2===e?function Li(e,n,t){const r=$a(e,n);r&&function vM(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function bM(e,n,t,r,o){const i=t[ln];i!==ge(t)&&Do(n,e,r,i,o);for(let a=Pe;a<t.length;a++){const l=t[a];za(l[A],l,e,n,r,i)}}(n,e,i,t,o)}}function Dd(e,n){return e.createComment(function Km(e){return e.replace(JT,n=>n.replace(eM,tM))}(n))}function Ha(e,n,t){return e.createElement(n,t)}function s_(e,n){n[Jt].changeDetectionScheduler?.notify(1),za(e,n,n[$],2,null,null)}function a_(e,n){const t=e[so],r=t.indexOf(n);t.splice(r,1)}function Pi(e,n){if(e.length<=Pe)return;const t=Pe+n,r=e[t];if(r){const o=r[gi];null!==o&&o!==e&&a_(o,r),n>0&&(e[t-1][Xt]=r[Xt]);const i=na(e,Pe+n);!function fM(e,n){s_(e,n),n[Te]=null,n[ot]=null}(r[A],r);const s=i[Tn];null!==s&&s.detachView(i[A]),r[Re]=null,r[Xt]=null,r[P]&=-129}return r}function Ua(e,n){if(!(256&n[P])){const t=n[$];t.destroyNode&&za(e,n,t,3,null,null),function pM(e){let n=e[pi];if(!n)return Cd(e[A],e);for(;n;){let t=null;if(it(n))t=n[pi];else{const r=n[Pe];r&&(t=r)}if(!t){for(;n&&!n[Xt]&&n!==e;)it(n)&&Cd(n[A],n),n=n[Re];null===n&&(n=e),it(n)&&Cd(n[A],n),t=n&&n[Xt]}n=t}}(n)}}function Cd(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[pr]&&function Ep(e){if($r(e),si(e))for(let n=0;n<e.producerNode.length;n++)Gs(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(n[pr]),function yM(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const o=n[t[r]];if(!(o instanceof wi)){const i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];cn(4,a,l);try{l.call(a)}finally{cn(5,a,l)}}else{cn(4,o,i);try{i.call(o)}finally{cn(5,o,i)}}}}}(e,n),function _M(e,n){const t=e.cleanup,r=n[ro];if(null!==t)for(let i=0;i<t.length-1;i+=2)if("string"==typeof t[i]){const s=t[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[ro]=null);const o=n[$n];if(null!==o){n[$n]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,n),1===n[A].type&&n[$].destroy();const r=n[gi];if(null!==r&&st(n[Re])){r!==n[Re]&&a_(r,n);const o=n[Tn];null!==o&&o.detachView(e)}!function K0(e){qu.delete(e[mi])}(n)}finally{K(t)}}function bd(e,n,t){return function l_(e,n,t){let r=n;for(;null!==r&&40&r.type;)r=(n=r).parent;if(null===r)return t[Te];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Qt.None||i===Qt.Emulated)return null}return ft(r,t)}}(e,n.parent,t)}function Dr(e,n,t,r,o){e.insertBefore(n,t,r,o)}function c_(e,n,t){e.appendChild(n,t)}function u_(e,n,t,r,o){null!==r?Dr(e,n,t,r,o):c_(e,n,t)}function $a(e,n){return e.parentNode(n)}function d_(e,n,t){return h_(e,n,t)}let wd,h_=function f_(e,n,t){return 40&e.type?ft(e,t):null};function Ga(e,n,t,r){const o=bd(e,r,n),i=n[$],a=d_(r.parent||n[ot],r,n);if(null!=o)if(Array.isArray(t))for(let l=0;l<t.length;l++)u_(i,o,t[l],a,!1);else u_(i,o,t,a,!1);void 0!==wd&&wd(i,r,n,t,o)}function ki(e,n){if(null!==n){const t=n.type;if(3&t)return ft(n,e);if(4&t)return Ed(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return ki(e,r);{const o=e[n.index];return st(o)?Ed(-1,o):ge(o)}}if(32&t)return yd(n,e)()||ge(e[n.index]);{const r=g_(e,n);return null!==r?Array.isArray(r)?r[0]:ki(mr(e[Me]),r):ki(e,n.next)}}return null}function g_(e,n){return null!==n?e[Me][ot].projection[n.projection]:null}function Ed(e,n){const t=Pe+e+1;if(t<n.length){const r=n[t],o=r[A].firstChild;if(null!==o)return ki(r,o)}return n[ln]}function Id(e,n,t,r,o,i,s){for(;null!=t;){const a=r[t.index],l=t.type;if(s&&0===n&&(a&&ct(ge(a),r),t.flags|=2),32&~t.flags)if(8&l)Id(e,n,t.child,r,o,i,!1),Do(n,e,o,a,i);else if(32&l){const c=yd(t,r);let u;for(;u=c();)Do(n,e,o,u,i);Do(n,e,o,a,i)}else 16&l?__(e,n,r,t,o,i):Do(n,e,o,a,i);t=s?t.projectionNext:t.next}}function za(e,n,t,r,o,i){Id(t,r,e.firstChild,n,o,i,!1)}function __(e,n,t,r,o,i){const s=t[Me],l=s[ot].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Do(n,e,o,l[c],i);else{let c=l;const u=s[Re];Ta(r)&&(c.flags|=128),Id(e,n,c,u,o,i,!0)}}function y_(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function v_(e,n,t){const{mergedAttrs:r,classes:o,styles:i}=t;null!==r&&iu(e,n,r),null!==o&&y_(e,n,o),null!==i&&function EM(e,n,t){e.setAttribute(n,"style",t)}(e,n,i)}const Q={};function f(e=1){D_(ee(),w(),lt()+e,!1)}function D_(e,n,t,r){if(!r)if(3&~n[P]){const i=e.preOrderHooks;null!==i&&va(n,i,0,t)}else{const i=e.preOrderCheckHooks;null!==i&&ya(n,i,t)}_r(t)}function E(e,n=ne.Default){const t=w();return null===t?L(e,n):Yg(fe(),t,U(e),n)}function C_(e,n,t,r,o,i){const s=K(null);try{let a=null;o&Se.SignalBased&&(a=n[r][lr]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&Se.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(n,i)),null!==e.setInput?e.setInput(n,a,i,t,r):Cg(n,a,r,i)}finally{K(s)}}function qa(e,n,t,r,o,i,s,a,l,c,u){const d=n.blueprint.slice();return d[Te]=o,d[P]=204|r,(null!==c||e&&2048&e[P])&&(d[P]|=2048),Sg(d),d[Re]=d[oo]=e,d[ve]=t,d[Jt]=s||e&&e[Jt],d[$]=a||e&&e[$],d[tt]=l||e&&e[tt]||null,d[ot]=i,d[mi]=function Z0(){return Q0++}(),d[At]=u,d[mg]=c,d[Me]=2==n.type?e[Me]:d,d}function Co(e,n,t,r,o){let i=e.data[n];if(null===i)i=function Td(e,n,t,r,o){const i=Fg(),s=Su(),l=e.data[n]=function OM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return lo()&&(a|=128),{type:t,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:n,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,t,n,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,n,t,r,o),function h0(){return G.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function Ci(){const e=G.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return dn(i,!0),i}function Vi(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function b_(e,n,t,r,o){const i=lt(),s=2&r;try{_r(-1),s&&n.length>q&&D_(e,n,q,!1),cn(s?2:0,o),t(r,o)}finally{_r(i),cn(s?3:1,o)}}function Md(e,n,t){if(yu(n)){const r=K(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{K(r)}}}function Sd(e,n,t){xg()&&(function BM(e,n,t,r){const o=t.directiveStart,i=t.directiveEnd;gr(t)&&function WM(e,n,t){const r=ft(n,e),o=w_(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const a=Wa(e,qa(e,o,null,s,r,n,null,e[Jt].rendererFactory.createRenderer(r,t),null,null,null));e[n.index]=a}(n,t,e.data[o+t.componentOffset]),e.firstCreatePass||Ca(t,n),ct(r,n);const s=t.initialInputs;for(let a=o;a<i;a++){const l=e.data[a],c=vr(n,e,a,t);ct(c,n),null!==s&&QM(0,a-o,c,l,0,s),en(l)&&(xt(t.index,n)[ve]=vr(n,e,a,t))}}(e,n,t,ft(t,n)),!(64&~t.flags)&&S_(e,n,t))}function Nd(e,n,t=ft){const r=n.localNames;if(null!==r){let o=n.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?t(n,e):e[s];e[o++]=a}}}function w_(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Ad(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Ad(e,n,t,r,o,i,s,a,l,c,u){const d=q+r,h=d+o,g=function MM(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:Q);return t}(d,h),y="function"==typeof c?c():c;return g[A]={type:e,blueprint:g,template:t,queries:null,viewQuery:a,declTNode:n,data:g.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:l,consts:y,incompleteFirstPass:!1,ssrId:u}}let E_=()=>null;function I_(e,n,t,r,o){for(let i in n){if(!n.hasOwnProperty(i))continue;const s=n[i];if(void 0===s)continue;r??={};let a,l=Se.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=i;if(null!==o){if(!o.hasOwnProperty(i))continue;c=o[i]}0===e?T_(r,t,c,a,l):T_(r,t,c,a)}return r}function T_(e,n,t,r,o){let i;e.hasOwnProperty(t)?(i=e[t]).push(n,r):i=e[t]=[n,r],void 0!==o&&i.push(o)}function Et(e,n,t,r,o,i,s,a){const l=ft(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(Pd(e,t,u,r,o),gr(n)&&function kM(e,n){const t=xt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(r=function PM(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,n.value||"",r):o,i.setProperty(l,r,o))}function xd(e,n,t,r){if(xg()){const o=null===r?null:{"":-1},i=function UM(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i<t.length;i++){const s=t[i];if(og(n,s.selectors,!1))if(r||(r=[]),en(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Fd(e,n,a.length)}else r.unshift(s),Fd(e,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,t);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&M_(e,n,t,s,o,a),o&&function $M(e,n,t){if(n){const r=e.localNames=[];for(let o=0;o<n.length;o+=2){const i=t[n[o+1]];if(null==i)throw new N(-301,!1);r.push(n[o],i)}}}(t,r,o)}t.mergedAttrs=di(t.mergedAttrs,t.attrs)}function M_(e,n,t,r,o,i){for(let c=0;c<r.length;c++)Bu(Ca(t,n),e,r[c].type);!function zM(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,r.length);for(let c=0;c<r.length;c++){const u=r[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Vi(e,n,r.length,null);for(let c=0;c<r.length;c++){const u=r[c];t.mergedAttrs=di(t.mergedAttrs,u.hostAttrs),qM(e,t,n,l,u),GM(l,u,o),null!==u.contentQueries&&(t.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(t.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function RM(e,n,t){const o=n.directiveEnd,i=e.data,s=n.attrs,a=[];let l=null,c=null;for(let u=n.directiveStart;u<o;u++){const d=i[u],h=t?t.get(d):null,y=h?h.outputs:null;l=I_(0,d.inputs,u,l,h?h.inputs:null),c=I_(1,d.outputs,u,c,y);const v=null===l||null===s||su(n)?null:ZM(l,u,s);a.push(v)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,i)}function S_(e,n,t){const r=t.directiveStart,o=t.directiveEnd,i=t.index,s=function g0(){return G.lFrame.currentDirectiveIndex}();try{_r(i);for(let a=r;a<o;a++){const l=e.data[a],c=n[a];Au(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&HM(l,c)}}finally{_r(-1),Au(s)}}function HM(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Fd(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function GM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;en(n)&&(t[""]=e)}}function qM(e,n,t,r,o){e.data[r]=o;const i=o.factory||(o.factory=dr(o.type)),s=new wi(i,en(o),E);e.blueprint[r]=s,t[r]=s,function VM(e,n,t,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function jM(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,Vi(e,t,o.hostVars,Q),o)}function gn(e,n,t,r,o,i){const s=ft(e,n);!function Od(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?z(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[$],s,i,e.value,t,r,o)}function QM(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;a<s.length;)C_(r,t,s[a++],s[a++],s[a++],s[a++])}function ZM(e,n,t){let r=null,o=0;for(;o<t.length;){const i=t[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]===n){r.push(i,s[a+1],s[a+2],t[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function N_(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function A_(e,n){const t=e.contentQueries;if(null!==t){const r=K(null);try{for(let o=0;o<t.length;o+=2){const s=t[o+1];if(-1!==s){const a=e.data[s];ma(t[o]),a.contentQueries(2,n[s],s)}}}finally{K(r)}}}function Wa(e,n){return e[pi]?e[gg][Xt]=n:e[pi]=n,e[gg]=n,n}function Rd(e,n,t){ma(0);const r=K(null);try{n(e,t)}finally{K(r)}}function x_(e){return e[ro]||(e[ro]=[])}function F_(e){return e.cleanup||(e.cleanup=[])}function Qa(e,n){const t=e[tt],r=t?t.get(pn,null):null;r&&r.handleError(n)}function Pd(e,n,t,r,o){for(let i=0;i<t.length;){const s=t[i++],a=t[i++],l=t[i++];C_(e.data[s],n[s],r,a,l,o)}}function xn(e,n,t){const r=yi(n,e);!function i_(e,n,t){e.setValue(n,t)}(e[$],r,t)}function YM(e,n){const t=xt(n,e),r=t[A];!function KM(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);const o=t[Te];null!==o&&null===t[At]&&(t[At]=od(o,t[tt])),kd(r,t,t[ve])}function kd(e,n,t){Ou(n);try{const r=e.viewQuery;null!==r&&Rd(1,r,t);const o=e.template;null!==o&&b_(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Tn]?.finishViewCreation(e),e.staticContentQueries&&A_(e,n),e.staticViewQueries&&Rd(2,e.viewQuery,t);const i=e.components;null!==i&&function XM(e,n){for(let t=0;t<n.length;t++)YM(e,n[t])}(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[P]&=-5,Ru()}}function ji(e,n,t,r){const o=K(null);try{const i=n.tView,l=qa(e,i,t,4096&e[P]?4096:16,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);l[gi]=e[n.index];const u=e[Tn];return null!==u&&(l[Tn]=u.createEmbeddedView(i)),kd(i,l,t),l}finally{K(o)}}function bo(e,n){return!n||null===n.firstChild||Ta(e)}function Bi(e,n,t,r=!0){const o=n[A];if(function gM(e,n,t,r){const o=Pe+r,i=t.length;r>0&&(t[o-1][Xt]=n),r<i-Pe?(n[Xt]=t[o],Yp(t,Pe+r,n)):(t.push(n),n[Xt]=null),n[Re]=t;const s=n[gi];null!==s&&t!==s&&function mM(e,n){const t=e[so];n[Me]!==n[Re][Re][Me]&&(e[P]|=_u.HasTransplantedViews),null===t?e[so]=[n]:t.push(n)}(s,n);const a=n[Tn];null!==a&&a.insertView(e),Tu(n),n[P]|=128}(o,n,e,t),r){const s=Ed(t,e),a=n[$],l=$a(a,e[ln]);null!==l&&function hM(e,n,t,r,o,i){r[Te]=o,r[ot]=n,za(e,r,t,1,o,i)}(o,e[ot],a,n,l,s)}const i=n[At];null!==i&&null!==i.firstChild&&(i.firstChild=null)}function Hi(e,n,t,r,o=!1){for(;null!==t;){const i=n[t.index];null!==i&&r.push(ge(i)),st(i)&&P_(i,r);const s=t.type;if(8&s)Hi(e,n,t.child,r);else if(32&s){const a=yd(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=g_(n,t);if(Array.isArray(a))r.push(...a);else{const l=mr(n[Me]);Hi(l[A],l,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function P_(e,n){for(let t=Pe;t<e.length;t++){const r=e[t],o=r[A].firstChild;null!==o&&Hi(r[A],r,o,n)}e[ln]!==e[Te]&&n.push(e[ln])}let k_=[];const nS={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=>{Di(e.lView)},consumerOnSignalRead(){this.lView[pr]=this}},L_=100;function Za(e,n=!0,t=0){const r=e[Jt],o=r.rendererFactory;o.begin?.();try{!function rS(e,n){Vd(e,n);let t=0;for(;Iu(e);){if(t===L_)throw new N(103,!1);t++,Vd(e,1)}}(e,t)}catch(s){throw n&&Qa(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function oS(e,n,t,r){const o=n[P];if(!(256&~o))return;n[Jt].inlineEffectRunner?.flush(),Ou(n);let s=null,a=null;(function iS(e){return 2!==e.type})(e)&&(a=function JM(e){return e[pr]??function eS(e){const n=k_.pop()??Object.create(nS);return n.lView=e,n}(e)}(n),s=function bp(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Sg(n),function Rg(e){return G.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&b_(e,n,t,2,r);const l=!(3&~o);if(l){const d=e.preOrderCheckHooks;null!==d&&ya(n,d,null)}else{const d=e.preOrderHooks;null!==d&&va(n,d,0,null),Pu(n,0)}if(function sS(e){for(let n=Dm(e);null!==n;n=Cm(n)){if(!(n[P]&_u.HasTransplantedViews))continue;const t=n[so];for(let r=0;r<t.length;r++){n0(t[r])}}}(n),V_(n,0),null!==e.contentQueries&&A_(e,n),l){const d=e.contentCheckHooks;null!==d&&ya(n,d)}else{const d=e.contentHooks;null!==d&&va(n,d,1),Pu(n,1)}!function TM(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const o=t[r];if(o<0)_r(~o);else{const i=o,s=t[++r],a=t[++r];p0(s,i),a(2,n[i])}}}finally{_r(-1)}}(e,n);const c=e.components;null!==c&&B_(n,c,0);const u=e.viewQuery;if(null!==u&&Rd(2,u,r),l){const d=e.viewCheckHooks;null!==d&&ya(n,d)}else{const d=e.viewHooks;null!==d&&va(n,d,2),Pu(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[fa]){for(const d of n[fa])d();n[fa]=null}n[P]&=-73}catch(l){throw Di(n),l}finally{null!==a&&(function wp(e,n){if(K(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(si(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Gs(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function tS(e){e.lView[pr]!==e&&(e.lView=null,k_.push(e))}(a)),Ru()}}function V_(e,n){for(let t=Dm(e);null!==t;t=Cm(t))for(let r=Pe;r<t.length;r++)j_(t[r],n)}function aS(e,n,t){j_(xt(n,e),t)}function j_(e,n){Eu(e)&&Vd(e,n)}function Vd(e,n){const r=e[A],o=e[P],i=e[pr];let s=!!(0===n&&16&o);if(s||=!!(64&o&&0===n),s||=!!(1024&o),s||=!(!i?.dirty||!Sc(i)),i&&(i.dirty=!1),e[P]&=-9217,s)oS(r,e,r.template,e[ve]);else if(8192&o){V_(e,1);const a=r.components;null!==a&&B_(e,a,1)}}function B_(e,n,t){for(let r=0;r<n.length;r++)aS(e,n[r],t)}function Ui(e){for(e[Jt].changeDetectionScheduler?.notify();e;){e[P]|=64;const n=mr(e);if(vu(e)&&!n)return e;e=n}return null}class $i{get rootNodes(){const n=this._lView,t=n[A];return Hi(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ve]}set context(n){this._lView[ve]=n}get destroyed(){return!(256&~this._lView[P])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Re];if(st(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(Pi(n,r),na(t,r))}this._attachedToViewContainer=!1}Ua(this._lView[A],this._lView)}onDestroy(n){ga(this._lView,n)}markForCheck(){Ui(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Tu(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Za(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,s_(this._lView[A],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=n,Tu(this._lView)}}let Fn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uS}return e})();const lS=Fn,cS=class extends lS{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=ji(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new $i(o)}};function uS(){return Ya(fe(),w())}function Ya(e,n){return 4&e.type?new cS(n,e,po(e,n)):null}let q_=()=>null;function wo(e,n){return q_(e,n)}class Gd{}class RS{}class W_{}class kS{resolveComponentFactory(n){throw function PS(e){const n=Error(`No component factory found for ${Ue(e)}.`);return n.ngComponent=e,n}(n)}}let Eo=(()=>{class e{static#e=this.NULL=new kS}return e})();class Z_{}let Cr=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function LS(){const e=w(),t=xt(fe().index,e);return(it(t)?t:e)[$]}()}return e})(),VS=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();const zd={},Y_=new Set;function mn(e){Y_.has(e)||(Y_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function K_(...e){}class me{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ne(!1),this.onMicrotaskEmpty=new Ne(!1),this.onStable=new Ne(!1),this.onError=new Ne(!1),typeof Zone>"u")throw new N(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)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function jS(){const e="function"==typeof ue.requestAnimationFrame;let n=ue[e?"requestAnimationFrame":"setTimeout"],t=ue[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function US(e){const n=()=>{!function HS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Wd(e),e.isCheckStableRunning=!0,qd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Wd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function $S(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return X_(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),J_(e)}},onInvoke:(t,r,o,i,s,a,l)=>{try{return X_(e),t.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),J_(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Wd(e),qd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.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(!me.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(me.isInAngularZone())throw new N(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,BS,K_,K_);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const BS={};function qd(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 Wd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function X_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function J_(e){e._nesting--,qd(e)}class ey{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ne,this.onMicrotaskEmpty=new Ne,this.onStable=new Ne,this.onError=new Ne}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}let Qi=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of t)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function nl(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?i=a:1==i?o=Hc(o,a):2==i&&(r=Hc(r,a+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}class sy extends Eo{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=X(n);return new Ki(t,this.ngModule)}}function ay(e){const n=[];for(const t in e){if(!e.hasOwnProperty(t))continue;const r=e[t];void 0!==r&&n.push({propName:Array.isArray(r)?r[0]:r,templateName:t})}return n}class rl{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=ta(r);const o=this.injector.get(n,zd,r);return o!==zd||t===zd?o:this.parentInjector.get(n,t,r)}}class Ki extends W_{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=ay(n.inputs);if(null!==t)for(const o of r)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return r}get outputs(){return ay(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function C1(e){return e.map(D1).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,o){const i=K(null);try{let s=(o=o||this.ngModule)instanceof Kt?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new rl(n,s):n,l=a.get(Z_,null);if(null===l)throw new N(407,!1);const c=a.get(VS,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:a.get(Qi,null),changeDetectionScheduler:a.get(Gd,null)},g=l.createRenderer(null,this.componentDef),y=this.componentDef.selectors[0][0]||"div",v=r?function SM(e,n,t,r){const i=r.get(km,!1)||t===Qt.ShadowDom,s=e.selectRootElement(n,i);return function NM(e){E_(e)}(s),s}(g,r,this.componentDef.encapsulation,a):Ha(g,y,function ZS(e){const n=e.toLowerCase();return"svg"===n?Ig:"math"===n?"math":null}(y));let C=512;this.componentDef.signals?C|=4096:this.componentDef.onPush||(C|=16);let T=null;null!==v&&(T=od(v,a,!0));const I=Ad(0,null,null,1,0,null,null,null,null,null,null),F=qa(null,I,null,C,null,null,h,g,a,null,T);let H,J;Ou(F);try{const ce=this.componentDef;let Ke,Bn=null;ce.findHostDirectiveDefs?(Ke=[],Bn=new Map,ce.findHostDirectiveDefs(ce,Ke,Bn),Ke.push(ce)):Ke=[ce];const mI=function KS(e,n){const t=e[A],r=q;return e[r]=n,Co(t,r,2,"#host",null)}(F,v),G4=function XS(e,n,t,r,o,i,s){const a=o[A];!function JS(e,n,t,r){for(const o of e)n.mergedAttrs=di(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(nl(n,n.mergedAttrs,!0),null!==t&&v_(r,t,n))}(r,e,n,s);let l=null;null!==n&&(l=od(n,o[tt]));const c=i.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=qa(o,w_(t),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&Fd(a,e,r.length-1),Wa(o,d),o[e.index]=d}(mI,v,ce,Ke,F,h,g);J=vi(I,q),v&&function tN(e,n,t,r){if(r)iu(e,t,["ng-version","17.3.3"]);else{const{attrs:o,classes:i}=function b1(e){const n=[],t=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&n.push(i,e[++r]):8===o&&t.push(i);else{if(!Zt(o))break;o=i}r++}return{attrs:n,classes:t}}(n.selectors[0]);o&&iu(e,t,o),i&&i.length>0&&y_(e,t,i.join(" "))}}(g,ce,v,r),void 0!==t&&function nN(e,n,t){const r=e.projection=[];for(let o=0;o<n.length;o++){const i=t[o];r.push(null!=i?Array.from(i):null)}}(J,this.ngContentSelectors,t),H=function eN(e,n,t,r,o,i){const s=fe(),a=o[A],l=ft(s,o);M_(a,o,s,t,null,r);for(let u=0;u<t.length;u++)ct(vr(o,a,s.directiveStart+u,s),o);S_(a,o,s),l&&ct(l,o);const c=vr(o,a,s.directiveStart+s.componentOffset,s);if(e[ve]=o[ve]=c,null!==i)for(const u of i)u(c,n);return Md(a,s,o),c}(G4,ce,Ke,Bn,F,[rN]),kd(I,F,null)}finally{Ru()}return new YS(this.componentType,H,po(J,F),F,J)}finally{K(i)}}}class YS extends RS{constructor(n,t,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new $i(o,void 0,!1),this.componentType=n}setInput(n,t){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const i=this._rootLView;Pd(i[A],i,o,n,t),this.previousInputValues.set(n,t),Ui(xt(this._tNode.index,i))}}get injector(){return new ze(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function rN(){const e=fe();_a(w()[A],e)}let _n=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=oN}return e})();function oN(){return uy(fe(),w())}const iN=_n,ly=class extends iN{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return po(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=ba(this._hostTNode,this._hostLView);if(Lu(n)){const t=Ii(n,this._hostLView),r=Ei(n);return new ze(t[A].data[r+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=cy(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Pe}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=wo(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,bo(this._hostTNode,s)),a}createComponent(n,t,r,o,i){const s=n&&!function hi(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const y=t||{};a=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef}const l=s?n:new Ki(X(n)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const v=(s?c:this.parentInjector).get(Kt,null);v&&(i=v)}const u=X(l.componentType??{}),d=wo(this._lContainer,u?.id??null),g=l.create(c,o,d?.firstChild??null,i);return this.insertImpl(g.hostView,a,bo(this._hostTNode,d)),g}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const o=n._lView;if(function t0(e){return st(e[Re])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=o[Re],c=new ly(l,l[ot],l[Re]);c.detach(c.indexOf(n))}}const i=this._adjustIndex(t),s=this._lContainer;return Bi(s,o,i,r),n.attachToViewContainerRef(),Yp(Kd(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=cy(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Pi(this._lContainer,t);r&&(na(Kd(this._lContainer),t),Ua(r[A],r))}detach(n){const t=this._adjustIndex(n,-1),r=Pi(this._lContainer,t);return r&&null!=na(Kd(this._lContainer),t)?new $i(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function cy(e){return e[8]}function Kd(e){return e[8]||(e[8]=[])}function uy(e,n){let t;const r=n[e.index];return st(r)?t=r:(t=N_(r,n,null,e),n[e.index]=t,Wa(n,t)),dy(t,n,e,r),new ly(t,e,n)}let dy=function hy(e,n,t,r){if(e[ln])return;let o;o=8&t.type?ge(r):function sN(e,n){const t=e[$],r=t.createComment(""),o=ft(n,e);return Dr(t,$a(t,o),r,function DM(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[ln]=o},Xd=()=>!1;class Jd{constructor(n){this.queryList=n,this.matches=null}clone(){return new Jd(this.queryList)}setDirty(){this.queryList.setDirty()}}class ef{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){const s=t.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new ef(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==af(n,t).matches&&this.queries[t].setDirty()}}class py{constructor(n,t,r=null){this.flags=t,this.read=r,this.predicate="string"==typeof n?function pN(e){return e.split(",").map(n=>n.trim())}(n):n}}class tf{constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){const o=null!==t?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,null!==t?t.push(i):t=[i])}return null!==t?new tf(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class nf{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new nf(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let r=n.parent;for(;null!==r&&8&r.type&&r.index!==t;)r=r.parent;return t===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(n,t,uN(t,i)),this.matchTNodeWithReadOption(n,t,wa(t,n,i,!1,!1))}else r===Fn?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,wa(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Ft||o===_n||o===Fn&&4&t.type)this.addMatch(t.index,-2);else{const i=wa(t,n,o,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function uN(e,n){const t=e.localNames;if(null!==t)for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1];return null}function fN(e,n,t,r){return-1===t?function dN(e,n){return 11&e.type?po(e,n):4&e.type?Ya(e,n):null}(n,e):-2===t?function hN(e,n,t){return t===Ft?po(n,e):t===Fn?Ya(n,e):t===_n?uy(n,e):void 0}(e,n,r):vr(e,e[A],t,n)}function gy(e,n,t,r){const o=n[Tn].queries[r];if(null===o.matches){const i=e.data,s=t.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:fN(n,i[c],s[l+1],t.metadata.read))}o.matches=a}return o.matches}function rf(e,n,t,r){const o=e.queries.getByIndex(t),i=o.matches;if(null!==i){const s=gy(e,n,o,t);for(let a=0;a<i.length;a+=2){const l=i[a];if(l>0)r.push(s[a/2]);else{const c=i[a+1],u=n[-l];for(let d=Pe;d<u.length;d++){const h=u[d];h[gi]===h[Re]&&rf(h[A],h,c,r)}if(null!==u[so]){const d=u[so];for(let h=0;h<d.length;h++){const g=d[h];rf(g[A],g,c,r)}}}}}return r}function _y(e,n,t){const r=ee();return r.firstCreatePass&&(function vy(e,n,t){null===e.queries&&(e.queries=new tf),e.queries.track(new nf(n,t))}(r,new py(e,n,t),-1),!(2&~n)&&(r.staticViewQueries=!0)),function my(e,n,t){const r=new zu(!(4&~t));return function FM(e,n,t,r){const o=x_(n);o.push(t),e.firstCreatePass&&F_(e).push(r,o.length-1)}(e,n,r,r.destroy),(n[Tn]??=new ef).queries.push(new Jd(r))-1}(r,w(),n)}function af(e,n){return e.queries.getByIndex(n)}function Dy(e,n){const t=e[A],r=af(t,n);return r.crossesNgTemplate?rf(t,e,n,[]):gy(t,e,r,n)}function wy(e){return function Cy(e){return"function"==typeof e&&void 0!==e[lr]}(e)&&"function"==typeof e.set}function he(e){let n=function Ry(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let o;if(en(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new N(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);const s=e;s.inputs=il(e.inputs),s.inputTransforms=il(e.inputTransforms),s.declaredInputs=il(e.declaredInputs),s.outputs=il(e.outputs);const a=o.hostBindings;a&&AN(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&SN(e,l),c&&NN(e,c),TN(e,o),UI(e.outputs,o.outputs),en(o)&&o.data.animation){const u=e.data;u.animation=(u.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===he&&(t=!1)}}n=Object.getPrototypeOf(n)}!function MN(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=di(o.hostAttrs,t=di(t,o.hostAttrs))}}(r)}function TN(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];if(void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=n.inputTransforms[o]}}}function il(e){return e===an?{}:e===ie?[]:e}function SN(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function NN(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function AN(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}class Er{}class LN{}class cf extends Er{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new sy(this);const o=function rt(e,n){const t=e[Gp]||null;if(!t&&!0===n)throw new Error(`Type ${Ue(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Ot(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=sm(n,t,[{provide:Er,useValue:this},{provide:Eo,useValue:this.componentFactoryResolver},...r],Ue(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class uf extends LN{constructor(n){super(),this.moduleType=n}create(n){return new cf(this.moduleType,n,[])}}class Vy extends Er{constructor(n){super(),this.componentFactoryResolver=new sy(this),this.instance=null;const t=new eo([...n.providers,{provide:Er,useValue:this},{provide:Eo,useValue:this.componentFactoryResolver}],n.parent||ca(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let Ir=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new jc(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function al(e){return!!function df(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function yn(e,n,t){return e[n]=t}function ke(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Tr(e,n,t,r){const o=ke(e,n,t);return ke(e,n+1,r)||o}function ll(e,n,t,r,o){const i=Tr(e,n,t,r);return ke(e,n+2,o)||i}function M(e,n,t,r,o,i,s,a){const l=w(),c=ee(),u=e+q,d=c.firstCreatePass?function zN(e,n,t,r,o,i,s,a,l){const c=n.consts,u=Co(n,e,4,s||null,un(c,a));xd(n,t,u,un(c,l)),_a(n,u);const d=u.tView=Ad(2,u,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,o,i,s):c.data[u];dn(d,!1);const h=By(c,l,d,e);bi()&&Ga(c,l,h,d),ct(h,l);const g=N_(h,l,h,d);return l[u]=g,Wa(l,g),function fy(e,n,t){return Xd(e,n,t)}(g,d,l),pa(d)&&Sd(c,l,d),null!=s&&Nd(l,d,a),M}let By=function Hy(e,n,t,r){return fn(!0),n[$].createComment("")};function re(e,n,t,r){const o=w();return ke(o,tn(),n)&&(ee(),gn(De(),o,e,n,t,r)),re}function Oo(e,n,t,r){return ke(e,tn(),t)?n+z(t)+r:Q}function Ro(e,n,t,r,o,i){const a=Tr(e,Mn(),t,o);return Sn(2),a?n+z(t)+r+z(o)+i:Q}function ko(e,n,t,r,o,i,s,a,l,c){const d=function jt(e,n,t,r,o,i){const s=Tr(e,n,t,r);return Tr(e,n+2,o,i)||s}(e,Mn(),t,o,s,l);return Sn(4),d?n+z(t)+r+z(o)+i+z(s)+a+z(l)+c:Q}function pl(e,n){return e<<17|n<<2}function Yn(e){return e>>17&32767}function Cf(e){return 2|e}function Sr(e){return(131068&e)>>2}function bf(e,n){return-131069&e|n<<2}function wf(e){return 1|e}function yv(e,n,t,r){const o=e[t+1],i=null===n;let s=r?Yn(o):Sr(o),a=!1;for(;0!==s&&(!1===a||i);){const c=e[s+1];AA(e[s],n)&&(a=!0,e[s+1]=r?wf(c):Cf(c)),s=r?Yn(c):Sr(c)}a&&(e[t+1]=r?Cf(o):wf(o))}function AA(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Xr(e,n)>=0}const qe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vv(e){return e.substring(qe.key,qe.keyEnd)}function Dv(e,n){const t=qe.textEnd;return t===n?-1:(n=qe.keyEnd=function RA(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,qe.key=n,t),Ho(e,n,t))}function Ho(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function p(e,n,t){const r=w();return ke(r,tn(),n)&&Et(ee(),De(),r,e,n,r[$],t,!1),p}function Ef(e,n,t,r,o){const s=o?"class":"style";Pd(e,t,n.inputs[s],s,r)}function _e(e,n){return function nn(e,n,t,r){const o=w(),i=ee(),s=Sn(2);i.firstUpdatePass&&Mv(i,e,s,r),n!==Q&&ke(o,s,n)&&Nv(i,i.data[lt()],o,o[$],e,o[s+1]=function qA(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Ue(zn(e)))),e}(n,t),r,s)}(e,n,null,!0),_e}function Dn(e,n){for(let t=function FA(e){return function bv(e){qe.key=0,qe.keyEnd=0,qe.value=0,qe.valueEnd=0,qe.textEnd=e.length}(e),Dv(e,Ho(e,0,qe.textEnd))}(n);t>=0;t=Dv(n,t))Nt(e,vv(n),!0)}function Tv(e,n){return n>=e.expandoStartIndex}function Mv(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[lt()],s=Tv(e,t);xv(i,r)&&null===n&&!s&&(n=!1),n=function jA(e,n,t,r){const o=function xu(e){const n=G.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=os(t=If(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=If(o,e,n,t,r),null===i){let l=function BA(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Sr(r))return e[Yn(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=If(null,e,n,l[1],r),l=os(l,n.attrs,r),function HA(e,n,t,r){e[Yn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else i=function UA(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++)r=os(r,e[i].hostAttrs,t);return os(r,n.attrs,t)}(e,n,r)}return void 0!==i&&(r?n.residualClasses=i:n.residualStyles=i),t}(o,i,n,r),function SA(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Yn(s),l=Sr(s);e[r]=t;let u,c=!1;if(Array.isArray(t)?(u=t[1],(null===u||Xr(t,u)>0)&&(c=!0)):u=t,o)if(0!==l){const h=Yn(e[a+1]);e[r+1]=pl(h,a),0!==h&&(e[h+1]=bf(e[h+1],r)),e[a+1]=function TA(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=pl(a,0),0!==a&&(e[a+1]=bf(e[a+1],r)),a=r;else e[r+1]=pl(l,0),0===a?a=r:e[l+1]=bf(e[l+1],r),l=r;c&&(e[r+1]=Cf(e[r+1])),yv(e,u,r,!0),yv(e,u,r,!1),function NA(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Xr(i,n)>=0&&(t[r+1]=wf(t[r+1]))}(n,u,e,r,i),s=pl(a,l),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}function If(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(i=n[a],r=os(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(t.directiveStylingLast=a),r}function os(e,n,t){const r=t?1:2;let o=-1;if(null!==n)for(let i=0;i<n.length;i++){const s=n[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Nt(e,s,!!t||n[++i]))}return void 0===e?null:e}function Nv(e,n,t,r,o,i,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],u=function MA(e){return!(1&~e)}(c)?Av(l,n,t,o,Sr(c),s):void 0;gl(u)||(gl(i)||function IA(e){return!(2&~e)}(c)&&(i=Av(l,null,t,o,a,s)),function wM(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=-1===r.indexOf("-")?void 0:Wn.DashCase;null==o?e.removeStyle(t,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Wn.Important),e.setStyle(t,r,o,i))}}(r,s,yi(lt(),t),o,i))}function Av(e,n,t,r,o,i){const s=null===n;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[o+1];h===Q&&(h=d?ie:void 0);let g=d?ru(h,r):u===r?h:void 0;if(c&&!gl(g)&&(g=ru(l,r)),gl(g)&&(a=g,s))return a;const y=e[o+1];o=s?Yn(y):Sr(y)}if(null!==n){let l=i?n.residualClasses:n.residualStyles;null!=l&&(a=ru(l,r))}return a}function gl(e){return void 0!==e}function xv(e,n){return!!(e.flags&(n?8:16))}function Fv(e,n,t,r,o){!function rn(e,n,t,r){const o=ee(),i=Sn(2);o.firstUpdatePass&&Mv(o,null,i,r);const s=w();if(t!==Q&&ke(s,i,t)){const a=o.data[lt()];if(xv(a,r)&&!Tv(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Hc(l,t||"")),Ef(o,a,s,t,r)}else!function zA(e,n,t,r,o,i,s,a){o===Q&&(o=ie);let l=0,c=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==u||null!==d;){const h=l<o.length?o[l+1]:void 0,g=c<i.length?i[c+1]:void 0;let v,y=null;u===d?(l+=2,c+=2,h!==g&&(y=d,v=g)):null===d||null!==u&&u<d?(l+=2,y=u):(c+=2,y=d,v=g),null!==y&&Nv(e,n,t,r,y,v,s,a),u=l<o.length?o[l]:null,d=c<i.length?i[c]:null}}(o,a,s,s[$],s[i+1],s[i+1]=function $A(e,n,t){if(null==t||""===t)return ie;const r=[],o=zn(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&n(r,o);return r}(e,n,t),r,i)}}(Nt,Dn,Ro(w(),e,n,t,r,o),!0)}function kv(e,n,t){mn("NgControlFlow");const r=w(),o=tn(),i=function Sf(e,n){return e[n]}(r,q+e);if(ke(r,o,n)){const a=K(null);try{if(function Ld(e,n){const t=Pi(e,n);return void 0!==t&&Ua(t[A],t),t}(i,0),-1!==n){const l=function Nf(e,n){return vi(e,n)}(r[A],q+n),c=wo(i,l.tView.ssrId);Bi(i,ji(r,l,t,{dehydratedView:c}),0,bo(l,c))}}finally{K(a)}}else{const a=function R_(e,n){const t=Pe+n;if(t<e.length)return e[t]}(i,0);void 0!==a&&(a[ve]=t)}}function m(e,n,t,r){const o=w(),i=ee(),s=q+e,a=o[$],l=i.firstCreatePass?function hx(e,n,t,r,o,i){const s=n.consts,l=Co(n,e,2,r,un(s,o));return xd(n,t,l,un(s,i)),null!==l.attrs&&nl(l,l.attrs,!1),null!==l.mergedAttrs&&nl(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,i,o,n,t,r):i.data[s],c=Lv(i,o,l,a,n,e);o[s]=c;const u=pa(l);return dn(l,!0),v_(a,c,l),!function es(e){return!(32&~e.flags)}(l)&&bi()&&Ga(i,o,c,l),0===function r0(){return G.lFrame.elementDepthCount}()&&ct(c,o),function o0(){G.lFrame.elementDepthCount++}(),u&&(Sd(i,o,l),Md(i,l,o)),null!==r&&Nd(o,l),m}function _(){let e=fe();Su()?Nu():(e=e.parent,dn(e,!1));const n=e;(function a0(e){return G.skipHydrationRootTNode===e})(n)&&function d0(){G.skipHydrationRootTNode=null}(),function s0(){G.lFrame.elementDepthCount--}();const t=ee();return t.firstCreatePass&&(_a(t,e),yu(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function I0(e){return!!(8&e.flags)}(n)&&Ef(t,n,w(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function T0(e){return!!(16&e.flags)}(n)&&Ef(t,n,w(),n.stylesWithoutHost,!1),_}function S(e,n,t,r){return m(e,n,t,r),_(),S}let Lv=(e,n,t,r,o,i)=>(fn(!0),Ha(r,o,function Hg(){return G.lFrame.currentNamespace}()));function Ae(e,n,t){const r=w(),o=ee(),i=e+q,s=o.firstCreatePass?function mx(e,n,t,r,o){const i=n.consts,s=un(i,r),a=Co(n,e,8,"ng-container",s);return null!==s&&nl(a,s,!0),xd(n,t,a,un(i,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(i,o,r,n,t):o.data[i];dn(s,!0);const a=jv(o,r,s,e);return r[i]=a,bi()&&Ga(o,r,a,s),ct(a,r),pa(s)&&(Sd(o,r,s),Md(o,s,r)),null!=t&&Nd(r,s),Ae}function xe(){let e=fe();const n=ee();return Su()?Nu():(e=e.parent,dn(e,!1)),n.firstCreatePass&&(_a(n,e),yu(e)&&n.queries.elementEnd(e)),xe}let jv=(e,n,t,r)=>(fn(!0),Dd(n[$],""));function oe(){return w()}const $o="en-US";let Gv=$o;function R(e,n,t,r){const o=w(),i=ee(),s=fe();return Ff(i,o,o[$],s,e,n,r),R}function Ff(e,n,t,r,o,i,s){const a=pa(r),c=e.firstCreatePass&&F_(e),u=n[ve],d=x_(n);let h=!0;if(3&r.type||s){const v=ft(r,n),C=s?s(v):v,T=d.length,I=s?H=>s(ge(H[r.index])):r.index;let F=null;if(!s&&a&&(F=function _2(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===t&&o[i+1]===r){const a=n[ro],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==F)(F.__ngLastListenerFn__||F).__ngNextListenerFn__=i,F.__ngLastListenerFn__=i,h=!1;else{i=yD(r,n,u,i,!1);const H=t.listen(C,o,i);d.push(i,H),c&&c.push(o,I,T,T+1)}}else i=yD(r,n,u,i,!1);const g=r.outputs;let y;if(h&&null!==g&&(y=g[o])){const v=y.length;if(v)for(let C=0;C<v;C+=2){const J=n[y[C]][y[C+1]].subscribe(i),ce=d.length;d.push(i,J),c&&c.push(o,r.index,ce,-(ce+1))}}}function _D(e,n,t,r){const o=K(null);try{return cn(6,n,t),!1!==t(r)}catch(i){return Qa(e,i),!1}finally{cn(7,n,t),K(o)}}function yD(e,n,t,r,o){return function i(s){if(s===Function)return r;Ui(e.componentOffset>-1?xt(e.index,n):n);let l=_D(n,t,r,s),c=i.__ngNextListenerFn__;for(;c;)l=_D(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function D(e=1){return function _0(e){return(G.lFrame.contextLView=function Ng(e,n){for(;e>0;)n=n[oo],e--;return n}(e,G.lFrame.contextLView))[ve]}(e)}function y2(e,n){let t=null;const r=function m1(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let o=0;o<n.length;o++){const i=n[o];if("*"!==i){if(null===r?og(e,i,!0):v1(r,i))return o}else t=o}return t}function Dl(e){const n=w()[Me][ot];if(!n.projection){const r=n.projection=function ra(e,n){const t=[];for(let r=0;r<e;r++)t.push(n);return t}(e?e.length:1,null),o=r.slice();let i=n.child;for(;null!==i;){const s=e?y2(i,e):0;null!==s&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}function Cl(e,n=0,t){const r=w(),o=ee(),i=Co(o,q+e,16,null,t||null);null===i.projection&&(i.projection=n),Nu(),(!r[At]||lo())&&32&~i.flags&&function CM(e,n,t){__(n[$],0,n,t,bd(e,t,n),d_(t.parent||n[ot],t,n))}(o,r,i)}function Kn(e,n,t){return ds(e,"",n,"",t),Kn}function ds(e,n,t,r,o){const i=w(),s=Oo(i,n,t,r);return s!==Q&&Et(ee(),De(),i,e,s,i[$],o,!1),ds}function Bt(e,n,t){_y(e,n,t)}function Ht(e){const n=w(),t=ee(),r=Fu();ma(r+1);const o=af(t,r);if(e.dirty&&function e0(e){return!(4&~e[P])}(n)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=Dy(n,r);e.reset(i,um),e.notifyOnChanges()}return!0}return!1}function Ut(){return function sf(e,n){return e[Tn].queries[n].queryList}(w(),Fu())}function b(e,n=""){const t=w(),r=ee(),o=e+q,i=r.firstCreatePass?Co(r,o,1,n,null):r.data[o],s=LD(r,t,i,n,e);t[o]=s,bi()&&Ga(r,t,s,i),dn(i,!1)}let LD=(e,n,t,r,o)=>(fn(!0),function vd(e,n){return e.createText(n)}(n[$],r));function x(e){return V("",e,""),x}function V(e,n,t){const r=w(),o=Oo(r,e,n,t);return o!==Q&&xn(r,lt(),o),V}function Cn(e,n,t,r,o){const i=w(),s=Ro(i,e,n,t,r,o);return s!==Q&&xn(i,lt(),s),Cn}function bl(e,n,t,r,o,i,s){const a=w(),l=function Po(e,n,t,r,o,i,s,a){const c=ll(e,Mn(),t,o,s);return Sn(3),c?n+z(t)+r+z(o)+i+z(s)+a:Q}(a,e,n,t,r,o,i,s);return l!==Q&&xn(a,lt(),l),bl}function Of(e,n,t,r,o,i,s,a,l){const c=w(),u=ko(c,e,n,t,r,o,i,s,a,l);return u!==Q&&xn(c,lt(),u),Of}function wl(e,n,t){wy(n)&&(n=n());const r=w();return ke(r,tn(),n)&&Et(ee(),De(),r,e,n,r[$],t,!1),wl}function Rf(e,n){const t=wy(e);return t&&e.set(n),t}function El(e,n){const t=w(),r=ee(),o=fe();return Ff(r,t,t[$],o,e,n),El}function Pf(e,n,t,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)Pf(e[i],n,t,r,o);else{const i=ee(),s=w(),a=fe();let l=hr(e)?e:U(e.provide);const c=fg(e),u=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(hr(e)||!e.multi){const g=new wi(c,o,E),y=Lf(l,n,o?u:u+h,d);-1===y?(Bu(Ca(a,s),i,l),kf(i,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(g),s.push(g)):(t[y]=g,s[y]=g)}else{const g=Lf(l,n,u+h,d),y=Lf(l,n,u,u+h),C=y>=0&&t[y];if(o&&!C||!o&&!(g>=0&&t[g])){Bu(Ca(a,s),i,l);const T=function V2(e,n,t,r,o){const i=new wi(e,t,E);return i.multi=[],i.index=n,i.componentProviders=0,$D(i,o,r&&!t),i}(o?L2:k2,t.length,o,r,c);!o&&C&&(t[y].providerFactory=T),kf(i,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(T),s.push(T)}else kf(i,e,g>-1?g:y,$D(t[o?y:g],c,!o&&r));!o&&r&&C&&t[y].componentProviders++}}}function kf(e,n,t,r){const o=hr(n),i=function N1(e){return!!e.useClass}(n);if(o||i){const l=(i?U(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function $D(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Lf(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function k2(e,n,t,r){return Vf(this.multi,[])}function L2(e,n,t,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=vr(t,t[A],this.providerFactory.index,r);i=a.slice(0,s),Vf(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],Vf(o,i);return i}function Vf(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function be(e,n=[]){return t=>{t.providersResolver=(r,o)=>function P2(e,n,t){const r=ee();if(r.firstCreatePass){const o=en(e);Pf(t,r.data,r.blueprint,o,!0),Pf(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}let j2=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=au(0,t.type),o=r.length>0?function jy(e,n,t=null){return new Vy({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=B({token:e,providedIn:"environment",factory:()=>new e(L(Kt))})}return e})();function GD(e){mn("NgStandalone"),e.getStandaloneInjector=n=>n.get(j2).getOrCreateStandaloneInjector(e)}function QD(e,n,t,r,o){return function YD(e,n,t,r,o,i,s){const a=n+t;return Tr(e,a,o,i)?yn(e,a+2,s?r.call(s,o,i):r(o,i)):fs(e,a+2)}(w(),ht(),e,n,t,r,o)}function fs(e,n){const t=e[n];return t===Q?void 0:t}function ZD(e,n,t,r,o,i){const s=n+t;return ke(e,s,o)?yn(e,s+1,i?r.call(i,o):r(o)):fs(e,s+1)}function bn(e,n){const t=ee();let r;const o=e+q;t.firstCreatePass?(r=function Z2(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];const i=r.factory||(r.factory=dr(r.type)),a=Dt(E);try{const l=Da(!1),c=i();return Da(l),function w2(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,w(),o,c),c}finally{Dt(a)}}function On(e,n,t){const r=e+q,o=w(),i=ao(o,r);return hs(o,r)?ZD(o,ht(),n,i.transform,t,i):i.transform(t)}function eC(e,n,t,r,o){const i=e+q,s=w(),a=ao(s,i);return hs(s,i)?function KD(e,n,t,r,o,i,s,a){const l=n+t;return ll(e,l,o,i,s)?yn(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):fs(e,l+3)}(s,ht(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function hs(e,n){return e[A].data[n].pure}const DC=new O(""),Sl=new O("");let qf,Gf=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,qf||(function WF(e){qf=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.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:()=>{me.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 t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,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(t,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(L(me),L(zf),L(Sl))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),zf=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return qf?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Nl(e){return!!e&&"function"==typeof e.then}function CC(e){return!!e&&"function"==typeof e.subscribe}const QF=new O("");let Wf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=k(QF,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(Nl(i))t.push(i);else if(CC(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const bC=new O("");function IC(e,n){return Array.isArray(n)?n.reduce(IC,e):{...e,...n}}let Xn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(lm),this.afterRenderEffectManager=k(Qi),this.externalTestViews=new Set,this.beforeRender=new vt,this.afterTick=new vt,this.componentTypes=[],this.components=[],this.isStable=k(Ir).hasPendingTasks.pipe(Lt(t=>!t)),this._injector=k(Kt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof W_;if(!this._injector.get(Wf).done)throw!o&&function fr(e){const n=X(e)||$e(e)||et(e);return null!==n&&n.standalone}(t),new N(405,!1);let s;s=o?t:this._injector.get(Eo).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function ZF(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Er),c=s.create(pt.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(DC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Al(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new N(101,!1);const r=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,K(r)}}detectChangesInAttachedViews(t){let r=0;const o=this.afterRenderEffectManager;for(;;){if(r===L_)throw new N(103,!1);if(t){const i=0===r;this.beforeRender.next(i);for(let{_lView:s,notifyErrorHandler:a}of this._views)KF(s,i,a)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Qf(i))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Qf(i))))break}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Al(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(bC,[]);[...this._bootstrapListeners,...r].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Al(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new N(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Al(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function KF(e,n,t){!n&&!Qf(e)||function XF(e,n,t){let r;t?(r=0,e[P]|=1024):r=64&e[P]?0:1,Za(e,n,r)}(e,t,n)}function Qf(e){return Iu(e)}let nO=(()=>{class e{constructor(){this.zone=k(me),this.applicationRef=k(Xn)}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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rO(){const e=k(me),n=k(pn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let iO=(()=>{class e{constructor(){this.subscription=new kt,this.initialized=!1,this.zone=k(me),this.pendingTasks=k(Ir)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{me.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{me.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Rn=new O("",{providedIn:"root",factory:()=>k(Rn,ne.Optional|ne.SkipSelf)||function sO(){return typeof $localize<"u"&&$localize.locale||$o}()}),Zf=new O("");let NC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function GS(e="zone.js",n){return"noop"===e?new ey:"zone.js"===e?new me(n):e}(r?.ngZone,function SC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function jN(e,n,t){return new cf(e,n,t)}(t.moduleType,this.injector,function MC(e){return[{provide:me,useFactory:e},{provide:Jr,multi:!0,useFactory:()=>{const n=k(nO,{optional:!0});return()=>n.initialize()}},{provide:Jr,multi:!0,useFactory:()=>{const n=k(iO);return()=>{n.initialize()}}},{provide:lm,useFactory:rO}]}(()=>o)),s=i.injector.get(pn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Al(this._modules,i),a.unsubscribe()})}),function EC(e,n,t){try{const r=t();return Nl(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Wf);return a.runInitializers(),a.donePromise.then(()=>(function zv(e){"string"==typeof e&&(Gv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Rn,$o)||$o),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=IC({},r);return function tO(e,n,t){const r=new uf(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(Xn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new N(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new N(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Zf,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(L(pt))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Jn=null;const AC=new O("");function xC(e,n,t=[]){const r=`Platform: ${n}`,o=new O(r);return(i=[])=>{let s=Yf();if(!s||s.injector.get(AC,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function cO(e){if(Jn&&!Jn.get(AC,!1))throw new N(400,!1);(function wC(){!function EI(e){Mp=e}(()=>{throw new N(600,!1)})})(),Jn=e;const n=e.get(NC);(function OC(e){e.get(Am,null)?.forEach(t=>t())})(e)}(function FC(e=[],n){return pt.create({name:n,providers:[{provide:uu,useValue:"platform"},{provide:Zf,useValue:new Set([()=>Jn=null])},...e]})}(a,r))}return function uO(e){const n=Yf();if(!n)throw new N(401,!1);return n}()}}function Yf(){return Jn?.get(NC)??null}let Fl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fO}return e})();function fO(e){return function hO(e,n,t){if(gr(e)&&!t){const r=xt(e.index,n);return new $i(r,r)}return 47&e.type?new $i(n[Me],n):null}(fe(),w(),!(16&~e))}class VC{constructor(){}supports(n){return al(n)}create(n){return new yO(n)}}const _O=(e,n)=>n;class yO{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||_O}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex<BC(r,o,i)?t:r,a=BC(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,null==s.previousIndex)o++;else{i||(i=[]);const c=a-o,u=l-o;if(c!=u){for(let h=0;h<c;h++){const g=h<i.length?i[h]:i[h]=0,y=g+h;u<=y&&y<c&&(i[h]=g+1)}i[s.previousIndex]=u-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!al(n))throw new N(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o,i,s,t=this._itHead,r=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)):(t=this._mismatch(t,i,s,a),r=!0),t=t._next}else o=0,function $N(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let r;for(;!(r=t.next()).done;)n(r.value)}}(n,a=>{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new vO(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new jC),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new jC),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class vO{constructor(n,t){this.item=n,this.trackById=t,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 DO{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class jC{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new DO,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function BC(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}function UC(){return new th([new VC])}let th=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:UC});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||UC()),deps:[[e,new tu,new eu]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new N(901,!1)}}return e})();const IO=xC(null,"core",[]);let TO=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(L(Xn))};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({})}return e})();function db(e){const n=K(null);try{return e()}finally{K(n)}}let fb=null;function vs(){return fb}class lR{}const Pn=new O("");function Cb(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}const ph=/\s+/,bb=[];let gh=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=bb,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(ph):bb}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(ph):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(ph).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(E(Ft),E(Cr))};static#t=this.\u0275dir=W({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Se.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class ZR{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,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 He=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new ZR(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),Eb(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}t.forEachIdentityChange(o=>{Eb(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(E(_n),E(Fn),E(th))};static#t=this.\u0275dir=W({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function Eb(e,n){e.context.$implicit=n.item}let Ee=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new YR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Ib("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ib("ngIfElse",t),this._elseTemplateRef=t,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(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(E(_n),E(Fn))};static#t=this.\u0275dir=W({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class YR{constructor(){this.$implicit=null,this.ngIf=null}}function Ib(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ue(n)}'.`)}class mh{constructor(n,t){this._viewContainerRef=n,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let xr=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){const r=t===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const r of this._defaultViews)r.enforceState(t)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=W({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return e})(),Cs=(()=>{class e{constructor(t,r,o){this.ngSwitch=o,o._addCase(),this._view=new mh(t,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(r){return new(r||e)(E(_n),E(Fn),E(xr,9))};static#t=this.\u0275dir=W({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return e})(),Xl=(()=>{class e{constructor(t,r,o){o._addDefault(new mh(t,r))}static#e=this.\u0275fac=function(r){return new(r||e)(E(_n),E(Fn),E(xr,9))};static#t=this.\u0275dir=W({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return e})();function sn(e,n){return new N(2100,!1)}class XR{createSubscription(n,t){return db(()=>n.subscribe({next:t,error:r=>{throw r}}))}dispose(n){db(()=>n.unsubscribe())}}class JR{createSubscription(n,t){return n.then(t,r=>{throw r})}dispose(n){}}const eP=new JR,tP=new XR;let _h=(()=>{class e{constructor(t){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(Nl(t))return eP;if(CC(t))return tP;throw sn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(E(Fl,16))};static#t=this.\u0275pipe=Je({name:"async",type:e,pure:!1,standalone:!0})}return e})(),Mb=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw sn();return t.toLowerCase()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Je({name:"lowercase",type:e,pure:!0,standalone:!0})}return e})();const nP=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Sb=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw sn();return t.replace(nP,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Je({name:"titlecase",type:e,pure:!0,standalone:!0})}return e})(),_P=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({})}return e})();const Ab="browser";function xb(e){return e===Ab}function Fb(e){return"server"===e}let Dh=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>xb(k(Nn))?new CP(k(Pn),window):new wP})}return e})();class CP{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){const t=function bP(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}}class wP{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class Ob{}class KP extends lR{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class bh extends KP{static makeCurrent(){!function aR(e){fb??=e}(new bh)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function XP(){return Es=Es||document.querySelector("base"),Es?Es.getAttribute("href"):null}();return null==t?null:function JP(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Es=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Cb(document.cookie,n)}}let Es=null,tk=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const wh=new O("");let Ub=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new N(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(L(wh),L(me))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class $b{constructor(n){this._doc=n}}const Eh="ng-app-id";let Gb=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Fb(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Eh}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Eh),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Eh,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(L(Pn),L(Na),L(Yu,8),L(Nn))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const Ih={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/"},Th=/%COMP%/g,ik=new O("",{providedIn:"root",factory:()=>!0});function qb(e,n){return n.map(t=>t.replace(Th,e))}let Wb=(()=>{class e{constructor(t,r,o,i,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Fb(a),this.defaultRenderer=new Mh(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Qt.ShadowDom&&(r={...r,encapsulation:Qt.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof Zb?o.applyToHost(t):o instanceof Sh&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Qt.Emulated:i=new Zb(l,c,r,this.appId,u,s,a,d);break;case Qt.ShadowDom:return new ck(l,c,t,r,s,a,this.nonce,d);default:i=new Sh(l,c,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(L(Ub),L(Gb),L(Na),L(ik),L(Pn),L(Nn),L(me),L(Yu))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class Mh{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Ih[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Qb(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Qb(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new N(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=Ih[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=Ih[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Wn.DashCase|Wn.Important)?n.style.setProperty(t,r,o&Wn.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Wn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=vs().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function Qb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ck extends Mh{constructor(n,t,r,o,i,s,a,l){super(n,i,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=qb(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Sh extends Mh{constructor(n,t,r,o,i,s,a,l){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=l?qb(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Zb extends Sh{constructor(n,t,r,o,i,s,a,l){const c=o+"-"+r.id;super(n,t,r,i,s,a,l,c),this.contentAttr=function sk(e){return"_ngcontent-%COMP%".replace(Th,e)}(c),this.hostAttr=function ak(e){return"_nghost-%COMP%".replace(Th,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let uk=(()=>{class e extends $b{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(L(Pn))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const Yb=["alt","control","meta","shift"],dk={"\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"},fk={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let hk=(()=>{class e extends $b{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vs().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.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."),Yb.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let o=dk[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Yb.forEach(s=>{s!==o&&(0,fk[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(L(Pn))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const _k=xC(IO,"browser",[{provide:Nn,useValue:Ab},{provide:Am,useValue:function pk(){bh.makeCurrent()},multi:!0},{provide:Pn,useFactory:function mk(){return function hT(e){Zu=e}(document),document},deps:[]}]),yk=new O(""),Jb=[{provide:Sl,useClass:class ek{addToWindow(n){ue.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new N(5103,!1);return i},ue.getAllAngularTestabilities=()=>n.getAllTestabilities(),ue.getAllAngularRootElements=()=>n.getAllRootElements(),ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(r=>{const o=ue.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?vs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:DC,useClass:Gf,deps:[me,zf,Sl]},{provide:Gf,useClass:Gf,deps:[me,zf,Sl]}],ew=[{provide:uu,useValue:"root"},{provide:pn,useFactory:function gk(){return new pn},deps:[]},{provide:wh,useClass:uk,multi:!0,deps:[Pn,me,Nn]},{provide:wh,useClass:hk,multi:!0,deps:[Pn]},Wb,Gb,Ub,{provide:Z_,useExisting:Wb},{provide:Ob,useClass:tk,deps:[]},[]];let tw=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Na,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(L(yk,12))};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({providers:[...ew,...Jb],imports:[_P,TO]})}return e})();function er(e){return this instanceof er?(this.v=e,this):new er(e)}function lw(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Fh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const cw=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function uw(e){return Oe(e?.then)}function dw(e){return Oe(e[Vc])}function fw(e){return Symbol.asyncIterator&&Oe(e?.[Symbol.asyncIterator])}function hw(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 pw=function $k(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function gw(e){return Oe(e?.[pw])}function mw(e){return function aw(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(g){return new Promise(function(y,v){i.push([h,g,y,v])>1||a(h,g)})})}function a(h,g){try{!function l(h){h.value instanceof er?Promise.resolve(h.value.v).then(c,u):d(i[0][2],h)}(r[h](g))}catch(y){d(i[0][3],y)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,g){h(g),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield er(t.read());if(o)return yield er(void 0);yield yield er(r)}}finally{t.releaseLock()}})}function _w(e){return Oe(e?.getReader)}function wn(e){if(e instanceof Xe)return e;if(null!=e){if(dw(e))return function Gk(e){return new Xe(n=>{const t=e[Vc]();if(Oe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(cw(e))return function zk(e){return new Xe(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(uw(e))return function qk(e){return new Xe(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Op)})}(e);if(fw(e))return yw(e);if(gw(e))return function Wk(e){return new Xe(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(_w(e))return function Qk(e){return yw(mw(e))}(e)}throw hw(e)}function yw(e){return new Xe(n=>{(function Zk(e,n){var t,r,o,i;return function iw(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=lw(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Vn(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function vw(e,n=0){return dt((t,r)=>{t.subscribe(nt(r,o=>Vn(r,e,()=>r.next(o),n),()=>Vn(r,e,()=>r.complete(),n),o=>Vn(r,e,()=>r.error(o),n)))})}function Dw(e,n=0){return dt((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Cw(e,n){if(!e)throw new Error("Iterable cannot be null");return new Xe(t=>{Vn(t,n,()=>{const r=e[Symbol.asyncIterator]();Vn(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Fr(e,n){return n?function tL(e,n){if(null!=e){if(dw(e))return function Yk(e,n){return wn(e).pipe(Dw(n),vw(n))}(e,n);if(cw(e))return function Xk(e,n){return new Xe(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(uw(e))return function Kk(e,n){return wn(e).pipe(Dw(n),vw(n))}(e,n);if(fw(e))return Cw(e,n);if(gw(e))return function Jk(e,n){return new Xe(t=>{let r;return Vn(t,n,()=>{r=e[pw](),Vn(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>Oe(r?.return)&&r.return()})}(e,n);if(_w(e))return function eL(e,n){return Cw(mw(e),n)}(e,n)}throw hw(e)}(e,n):wn(e)}const{isArray:nL}=Array,{getPrototypeOf:rL,prototype:oL,keys:iL}=Object;function bw(e){if(1===e.length){const n=e[0];if(nL(n))return{args:n,keys:null};if(function sL(e){return e&&"object"==typeof e&&rL(e)===oL}(n)){const t=iL(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Oh(e){return e[e.length-1]}function ww(e){return Oe(Oh(e))?e.pop():void 0}function Ts(e){return function aL(e){return e&&Oe(e.schedule)}(Oh(e))?e.pop():void 0}const{isArray:cL}=Array;function Ew(e){return Lt(n=>function uL(e,n){return cL(n)?e(...n):e(n)}(e,n))}function Iw(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Rh(...e){const n=ww(e),{args:t,keys:r}=bw(e),o=new Xe(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;wn(t[u]).subscribe(nt(i,h=>{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?Iw(r,a):a),i.complete())}))}});return n?o.pipe(Ew(n)):o}let Tw=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(E(Cr),E(Ft))};static#t=this.\u0275dir=W({type:e})}return e})(),Or=(()=>{class e extends Tw{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=W({type:e,features:[he]})}return e})();const zt=new O(""),dL={provide:zt,useExisting:pe(()=>Ph),multi:!0};let Ph=(()=>{class e extends Or{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=W({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&R("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[be([dL]),he]})}return e})();const fL={provide:zt,useExisting:pe(()=>Qo),multi:!0},pL=new O("");let Qo=(()=>{class e extends Tw{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function hL(){const e=vs()?vs().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(E(Cr),E(Ft),E(pL,8))};static#t=this.\u0275dir=W({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&&R("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:[be([fL]),he]})}return e})();const ut=new O(""),nr=new O("");function kw(e){return null!=e}function Lw(e){return Nl(e)?Fr(e):e}function Vw(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function jw(e,n){return n.map(t=>t(e))}function Bw(e){return e.map(n=>function mL(e){return!e.validate}(n)?n:t=>n.validate(t))}function kh(e){return null!=e?function Hw(e){if(!e)return null;const n=e.filter(kw);return 0==n.length?null:function(t){return Vw(jw(t,n))}}(Bw(e)):null}function Lh(e){return null!=e?function Uw(e){if(!e)return null;const n=e.filter(kw);return 0==n.length?null:function(t){return Rh(jw(t,n).map(Lw)).pipe(Lt(Vw))}}(Bw(e)):null}function $w(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Gw(e){return e._rawValidators}function zw(e){return e._rawAsyncValidators}function Vh(e){return e?Array.isArray(e)?e:[e]:[]}function rc(e,n){return Array.isArray(e)?e.includes(n):e===n}function qw(e,n){const t=Vh(n);return Vh(e).forEach(o=>{rc(t,o)||t.push(o)}),t}function Ww(e,n){return Vh(n).filter(t=>!rc(e,t))}class Qw{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=kh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Lh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class yt extends Qw{get formDirective(){return null}get path(){return null}}class rr extends Qw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Zw{constructor(n){this._cd=n}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 jn=(()=>{class e extends Zw{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(E(rr,2))};static#t=this.\u0275dir=W({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&_e("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:[he]})}return e})(),Rr=(()=>{class e extends Zw{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(E(yt,10))};static#t=this.\u0275dir=W({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&_e("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:[he]})}return e})();const Ms="VALID",ic="INVALID",Zo="PENDING",Ss="DISABLED";function Hh(e){return(sc(e)?e.validators:e)||null}function Uh(e,n){return(sc(n)?n.asyncValidators:e)||null}function sc(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Kw(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new N(1e3,"");if(!r[t])throw new N(1001,"")}function Xw(e,n,t){e._forEachChild((r,o)=>{if(void 0===t[o])throw new N(1002,"")})}class ac{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Ms}get invalid(){return this.status===ic}get pending(){return this.status==Zo}get disabled(){return this.status===Ss}get enabled(){return this.status!==Ss}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(qw(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(qw(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Ww(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Ww(n,this._rawAsyncValidators))}hasValidator(n){return rc(this._rawValidators,n)}hasAsyncValidator(n){return rc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Zo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ss,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ms,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ms||this.status===Zo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ss:Ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Zo,this._hasOwnPendingAsyncValidator=!0;const t=Lw(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Ne,this.statusChanges=new Ne}_calculateStatus(){return this._allControlsDisabled()?Ss:this.errors?ic:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Zo)?Zo:this._anyControlsHaveStatus(ic)?ic:Ms}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){sc(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function DL(e){return Array.isArray(e)?kh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function CL(e){return Array.isArray(e)?Lh(e):e||null}(this._rawAsyncValidators)}}class Yo extends ac{constructor(n,t,r){super(Hh(t),Uh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){Xw(this,0,n),Object.keys(n).forEach(r=>{Kw(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const $h=Yo;class Jw extends Yo{}const Pr=new O("CallSetDisabledState",{providedIn:"root",factory:()=>Ns}),Ns="always";function lc(e,n){return[...n.path,e]}function As(e,n,t=Ns){Gh(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function wL(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&eE(e,n)})}(e,n),function IL(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function EL(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&eE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function bL(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function cc(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),dc(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function uc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Gh(e,n){const t=Gw(e);null!==n.validator?e.setValidators($w(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=zw(e);null!==n.asyncValidator?e.setAsyncValidators($w(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();uc(n._rawValidators,o),uc(n._rawAsyncValidators,o)}function dc(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=Gw(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(null!==n.asyncValidator){const o=zw(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}const r=()=>{};return uc(n._rawValidators,r),uc(n._rawAsyncValidators,r),t}function eE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function tE(e,n){Gh(e,n)}function qh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function nE(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Wh(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Qo?t=i:function SL(e){return Object.getPrototypeOf(e.constructor)===Or}(i)?r=i:o=i}),o||r||t||null}const AL={provide:yt,useExisting:pe(()=>Fs)},xs=Promise.resolve();let Fs=(()=>{class e extends yt{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ne,this.form=new Yo({},kh(t),Lh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){xs.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),As(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){xs.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){xs.then(()=>{const r=this._findContainer(t.path),o=new Yo({});tE(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){xs.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){xs.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,nE(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(r){return new(r||e)(E(ut,10),E(nr,10),E(Pr,8))};static#t=this.\u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[Se.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([AL]),he]})}return e})();function rE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function oE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value" in e&&"disabled" in e}const Ko=class extends ac{constructor(n=null,t,r){super(Hh(t),Uh(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sc(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=oE(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){rE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){rE(this._onDisabledChange,n)}_forEachChild(n){}_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(n){oE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},iE=Ko,OL={provide:rr,useExisting:pe(()=>fc)},lE=Promise.resolve();let fc=(()=>{class e extends rr{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Ko,this._registered=!1,this.name="",this.update=new Ne,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Wh(0,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name" in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled" in t&&this._updateDisabled(t),qh(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){As(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){lE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&function oh(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);lE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?lc(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(E(yt,9),E(ut,10),E(nr,10),E(zt,10),E(Fl,8),E(Pr,8))};static#t=this.\u0275dir=W({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Se.None,"disabled","isDisabled"],model:[Se.None,"ngModel","model"],options:[Se.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[be([OL]),he,at]})}return e})(),hc=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const Qh=new O(""),VL={provide:rr,useExisting:pe(()=>Os)};let Os=(()=>{class e extends rr{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this.update=new Ne,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=Wh(0,o)}ngOnChanges(t){if(this._isControlChanged(t)){const r=t.form.previousValue;r&&cc(r,this,!1),As(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}qh(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&cc(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static#t=this.\u0275fac=function(r){return new(r||e)(E(ut,10),E(nr,10),E(zt,10),E(Qh,8),E(Pr,8))};static#n=this.\u0275dir=W({type:e,selectors:[["","formControl",""]],inputs:{form:[Se.None,"formControl","form"],isDisabled:[Se.None,"disabled","isDisabled"],model:[Se.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[be([VL]),he,at]})}return e})();const jL={provide:yt,useExisting:pe(()=>or)};let or=(()=>{class e extends yt{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ne,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(dc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return As(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){cc(t.control||null,t,!1),function NL(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,nE(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,o=this.form.get(t.path);r!==o&&(cc(r||null,t),(e=>e instanceof Ko)(o)&&(As(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);tE(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function TL(e,n){return dc(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Gh(this.form,this),this._oldForm&&dc(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(E(ut,10),E(nr,10),E(Pr,8))};static#t=this.\u0275dir=W({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[Se.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([jL]),he,at]})}return e})();const UL={provide:rr,useExisting:pe(()=>Xo)};let Xo=(()=>{class e extends rr{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Ne,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Wh(0,i)}ngOnChanges(t){this._added||this._setUpControl(),qh(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return lc(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)(E(yt,13),E(ut,10),E(nr,10),E(zt,10),E(Qh,8))};static#n=this.\u0275dir=W({type:e,selectors:[["","formControlName",""]],inputs:{name:[Se.None,"formControlName","name"],isDisabled:[Se.None,"disabled","isDisabled"],model:[Se.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[be([UL]),he,at]})}return e})();const $L={provide:zt,useExisting:pe(()=>kr),multi:!0};function hE(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let kr=(()=>{class e extends Or{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const o=hE(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function GL(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=W({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&R("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[be([$L]),he]})}return e})(),Jo=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(hE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(E(Ft),E(Cr),E(kr,9))};static#t=this.\u0275dir=W({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const zL={provide:zt,useExisting:pe(()=>Kh),multi:!0};function pE(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Kh=(()=>{class e extends Or{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a<s.length;a++){const c=this._getOptionValue(s[a].value);o.push(c)}}else{const s=r.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const c=this._getOptionValue(l.value);o.push(c)}}}this.value=o,t(o)}}_registerOption(t){const r=(this._idCounter++).toString();return this._optionMap.set(r,t),r}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,t))return r;return null}_getOptionValue(t){const r=function qL(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r)._value:t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275dir=W({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&R("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[be([zL]),he]})}return e})(),ei=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(pE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(pE(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(E(Ft),E(Cr),E(Kh,9))};static#t=this.\u0275dir=W({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),EE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({})}return e})();class IE extends ac{constructor(n,t,r){super(Hh(t),Uh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){Xw(this,0,n),n.forEach((r,o)=>{Kw(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,o)=>{r.reset(n[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function TE(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let tV=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const o=this._reduceControls(t);let i={};return TE(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Yo(o,i)}record(t,r=null){const o=this._reduceControls(t);return new Jw(o,r)}control(t,r,o){let i={};return this.useNonNullable?(TE(r)?i=r:(i.validators=r,i.asyncValidators=o),new Ko(t,{...i,nonNullable:!0})):new Ko(t,r,o)}array(t,r,o){const i=t.map(s=>this._createControl(s));return new IE(i,r,o)}_reduceControls(t){const r={};return Object.keys(t).forEach(o=>{r[o]=this._createControl(t[o])}),r}_createControl(t){return t instanceof Ko||t instanceof ac?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rs=(()=>{class e extends tV{group(t,r=null){return super.group(t,r)}control(t,r,o){return super.control(t,r,o)}array(t,r,o){return super.array(t,r,o)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Pr,useValue:t.callSetDisabledState??Ns}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({imports:[EE]})}return e})(),ME=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Qh,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Pr,useValue:t.callSetDisabledState??Ns}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({imports:[EE]})}return e})(),Tt=(()=>{class e extends jc{constructor(){super({identifier:"",language:"nl",page:"1",limit:"10"})}setIdentifierAndLanguage(t,r){this.next({...this.value,identifier:t,language:r})}setPhraseAndFilterData(t,r,o){this.next({...this.value,phrase:t,filterData:r,page:o??this.value.page})}setPhrase(t){this.next({...this.value,phrase:t,filterData:{},page:"1",sortBy:""})}setPage(t){this.next({...this.value,page:t})}setLimit(t){this.next({...this.value,limit:t,page:"1"})}setSortBy(t){this.next({...this.value,sortBy:t,page:"1"})}setFilterData(t,r){this.next({...this.value,filterData:t,page:r??this.value.page})}setQuery(t){t&&this.next({...t})}removeFilter(t,r,o){if(this.value.filterData)if("daterange"===o)this.next({...this.value,filterData:{...this.value.filterData,dt:null,df:null}});else{const i=(this.value.filterData[t]??[]).filter(a=>a!==r);this.next({...this.value,filterData:{...this.value.filterData,[t]:i.length>0?i:null}})}}updateFromQueryParams(t){const r={};t.forEach((o,i)=>{!["s","p","t","l","sb"].includes(i)&&o&&(r[i]=o.split("%2C"))}),this.next({...this.value,phrase:t.get("s")??"",page:t.get("p")??"1",type:t.get("t")??"",limit:t.get("l")??"10",sortBy:t.get("sb")??"",filterData:r})}toQueryParams(){return this.pipe(Lt(t=>{let r=new URLSearchParams;t.phrase&&r.set("s",t.phrase),t.page&&r.set("p",t.page),t.type&&r.set("t",t.type),t.limit&&r.set("l",t.limit),t.sortBy&&r.set("sb",t.sortBy);for(const[o,i]of Object.entries(t.filterData??[]))i&&r.set(o,i.join("%2C"));return r}))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qt(e){return dt((n,t)=>{wn(e).subscribe(nt(t,()=>t.complete(),Fc)),!t.closed&&n.subscribe(t)})}let Ye=(()=>{class e{constructor(){this.icon=""}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-icon"]],inputs:{icon:"icon"},standalone:!0,features:[GD],decls:2,vars:2,consts:[["aria-hidden","true"]],template:function(r,o){1&r&&(yr(),m(0,"svg",0),S(1,"use"),_()),2&r&&(re("class","icon icon--"+o.icon),f(),re("href","#icon-"+o.icon,null,"xlink"))},styles:["[_nghost-%COMP%] {\n  display: contents;\n}"]})}return e})();function rV(e,n){1&e&&S(0,"app-icon",6)}function oV(e,n){if(1&e&&(m(0,"li",4)(1,"span"),b(2),_(),M(3,rV,1,0,"app-icon",5),_()),2&e){const t=n.$implicit,r=n.index,o=D();f(2),x(t.name),f(),p("ngIf",r!==o.breadcrumbs.length-1)}}let iV=(()=>{class e{constructor(){this.breadcrumbs=[]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-breadcrumb"]],inputs:{breadcrumbs:"breadcrumbs"},decls:5,vars:1,consts:[[1,"breadcrumb-list","breadcrumb-list--readonly"],[1,"sr-only"],[1,"breadcrumb-list"],["class","breadcrumb-list__item",4,"ngFor","ngForOf"],[1,"breadcrumb-list__item"],["icon","chevron-right",4,"ngIf"],["icon","chevron-right"]],template:function(r,o){1&r&&(m(0,"div",0)(1,"span",1),b(2,"Afkomstig van"),_(),m(3,"ul",2),M(4,oV,4,2,"li",3),_()()),2&r&&(f(4),p("ngForOf",o.breadcrumbs))},dependencies:[He,Ee,Ye],encapsulation:2})}return e})();function sV(e,n){if(1&e){const t=oe();m(0,"button",6),R("click",function(){Z(t);const o=D().$implicit;return Y(D().setLabelFilterEvent.emit(o))}),b(1),_()}if(2&e){const t=D().$implicit;f(),V(" ",t," ")}}function aV(e,n){if(1&e&&(Ae(0),M(1,sV,2,1,"button",5),xe()),2&e){const t=n.index,r=D();f(),p("ngIf",t<6||r.showAllTags)}}function lV(e,n){if(1&e){const t=oe();m(0,"button",7),R("click",function(){return Z(t),Y(D().showAllTags=!0)}),b(1),S(2,"app-icon",8),_()}if(2&e){const t=D();f(),V(" ",t.showAllLabel," ")}}let SE=(()=>{class e{constructor(){this.setLabelFilterEvent=new Ne,this.showAllTags=!1}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-tags-list"]],inputs:{screenreaderTitle:"screenreaderTitle",showAllLabel:"showAllLabel",tags:"tags"},outputs:{setLabelFilterEvent:"setLabelFilterEvent"},decls:6,vars:3,consts:[[1,"tags-list"],[1,"tags-list__label","sr-only"],[1,"tags"],[4,"ngFor","ngForOf"],["class","tags__overflow-trigger","type","button","aria-expanded","false",3,"click",4,"ngIf"],["type","button","class","tag-pill",3,"click",4,"ngIf"],["type","button",1,"tag-pill",3,"click"],["type","button","aria-expanded","false",1,"tags__overflow-trigger",3,"click"],["icon","chevron-down"]],template:function(r,o){1&r&&(m(0,"div",0)(1,"h4",1),b(2),_(),m(3,"div",2),M(4,aV,2,1,"ng-container",3)(5,lV,3,1,"button",4),_()()),2&r&&(f(2),x(o.screenreaderTitle),f(2),p("ngForOf",o.tags),f(),p("ngIf",o.tags.length>6&&!o.showAllTags))},dependencies:[He,Ee,Ye],encapsulation:2})}return e})();function cV(e,n){1&e&&(yr(),m(0,"svg",5)(1,"g",6),S(2,"path",7)(3,"path",8),_()())}function uV(e,n){1&e&&(yr(),m(0,"svg",5),S(1,"path",9)(2,"path",10)(3,"path",11),_())}function dV(e,n){if(1&e&&(m(0,"div",12)(1,"dt",13),b(2),_(),m(3,"dd",14),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.statistics_frequency_label),f(2),x(t.frequency)}}function fV(e,n){if(1&e&&(m(0,"div",12)(1,"dt",13),b(2),_(),m(3,"dd",14),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.statistics_lastupdate_label),f(2),x(t.lastUpdate)}}function hV(e,n){if(1&e&&(m(0,"div",12)(1,"dt",13),b(2),_(),m(3,"dd",14),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.statistics_nextupdate_label),f(2),x(t.nextUpdate)}}let pV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-dataset-metadata"]],inputs:{placeholders:"placeholders",frequency:"frequency",lastUpdate:"lastUpdate",nextUpdate:"nextUpdate",format:"format"},decls:8,vars:6,consts:[[1,"dataset-metadata"],[1,"dataset-metadata__list"],[3,"ngSwitch"],["class","dataset-metadata__icon","xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","none","aria-hidden","true","viewBox","0 0 16 16",4,"ngSwitchCase"],["class","dataset-metadata__listitem",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","none","aria-hidden","true","viewBox","0 0 16 16",1,"dataset-metadata__icon"],["stroke","#0C8754","stroke-linecap","round","stroke-linejoin","round"],["d","m15.499 12.998-.01-10a2 2 0 0 0-2-1.998h-10a2 2 0 0 0-1.995 1.85l-.006.152.01 10a2 2 0 0 0 2 1.998h10a2 2 0 0 0 1.995-1.85l.006-.152Z","clip-rule","evenodd"],["d","M5.5 1v13.817M15.5 5h-14"],["fill","#207245","fill-rule","evenodd","d","M11.268 2.992h2.464v1.233h-2.464V2.992Zm0 1.937h2.464V6.16h-2.464V4.93Zm0 1.937h2.464v1.232h-2.464V6.866Zm0 1.936h2.464v1.233h-2.464V8.802Zm0 1.937h2.464v1.232h-2.464V10.74Z","clip-rule","evenodd"],["fill","#207245","fill-rule","evenodd","d","M8.099 0h1.056v1.408h5.282c.3 0 .634 0 .88.177.176.246.176.58.176.88v9.155c0 .528.053 1.056-.07 1.55-.07.351-.528.351-.792.387H9.155v1.584H8.064c-2.694-.493-5.37-.933-8.064-1.408V1.408L8.099 0Zm1.056 1.937h5.81v11.091h-5.81v-1.056h1.409V10.74H9.155v-.704h1.409V8.803H9.155v-.704h1.409V6.866H9.155v-.704h1.409V4.93H9.155v-.705h1.409V2.993H9.155V1.937Z","clip-rule","evenodd"],["fill","#fff","fill-rule","evenodd","d","m5.212 4.649 1.197-.07L5 7.465l1.462 2.922c-.423 0-.845-.035-1.286-.07-.281-.705-.651-1.444-.88-2.201-.229.704-.563 1.408-.845 2.113H2.29c.458-.88.88-1.76 1.356-2.641L2.412 4.948c.388 0 .775-.035 1.162-.07.264.704.528 1.355.757 2.06.247-.775.599-1.48.88-2.219v-.07Z","clip-rule","evenodd"],[1,"dataset-metadata__listitem"],[1,"dataset-metadata__key"],[1,"dataset-metadata__value"]],template:function(r,o){1&r&&(m(0,"div",0)(1,"dl",1),Ae(2,2),M(3,cV,4,0,"svg",3)(4,uV,4,0,"svg",3),xe(),M(5,dV,5,2,"div",4)(6,fV,5,2,"div",4)(7,hV,5,2,"div",4),_()()),2&r&&(f(2),p("ngSwitch",o.format),f(),p("ngSwitchCase","table"),f(),p("ngSwitchCase","spreadsheet"),f(),p("ngIf",o.frequency),f(),p("ngIf",o.lastUpdate),f(),p("ngIf",o.nextUpdate))},dependencies:[Ee,xr,Cs],encapsulation:2})}return e})(),gV=(()=>{class e{transform(t,r=25,o=!1,i="..."){return t.length<r?t:(o&&(r=t.substr(0,r).lastIndexOf(" ")),t.length>r?t.substr(0,r)+i:t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Je({name:"truncate",type:e,pure:!0})}return e})();const mV=["titleLink"];function _V(e,n){if(1&e&&(m(0,"a",12,0),b(2),_()),2&e){const t=D(2);p("href",t.result.url,Ze),f(2),x(t.model.name)}}function yV(e,n){if(1&e&&(m(0,"span",14),b(1),_(),S(2,"app-icon",15)),2&e){const t=D(3);f(),x(t.placeholders.external_link_description)}}function vV(e,n){if(1&e&&(m(0,"a",13,0),b(2),M(3,yV,3,1),_()),2&e){const t=D(2);p("href",t.result.url,Ze)("target",t.model.isExternalContent?"_blank":"_self"),f(2),V(" ",t.model.name," "),f(),kv(3,t.model.isExternalContent?3:-1)}}function DV(e,n){if(1&e&&(m(0,"span",16),b(1),_()),2&e){const t=D(2);f(),x(t.model.type)}}function CV(e,n){if(1&e&&(m(0,"span",16),S(1,"app-icon",17),b(2),_()),2&e){const t=D(2);f(2),V(" ",t.model.type," ")}}function bV(e,n){if(1&e&&S(0,"app-dataset-metadata",18),2&e){const t=D(2);p("placeholders",t.placeholders)("frequency",t.model.frequency)("format",t.model.format)("lastUpdate",t.model.lastUpdate)("nextUpdate",t.model.nextUpdate)("tags",t.model.tags)}}function wV(e,n){1&e&&S(0,"app-breadcrumb",19),2&e&&p("breadcrumbs",D(2).model.breadcrumbs)}function EV(e,n){if(1&e&&(m(0,"time",24),b(1),_()),2&e){const t=D(3);f(),x(t.model.date)}}function IV(e,n){1&e&&(S(0,"p",25),bn(1,"truncate")),2&e&&p("innerHtml",eC(1,1,D(3).model.preview,500,!0),wt)}function TV(e,n){1&e&&S(0,"app-breadcrumb",19),2&e&&p("breadcrumbs",D(4).model.breadcrumbs)}function MV(e,n){if(1&e&&(m(0,"div",26)(1,"a",27),b(2),_(),M(3,TV,1,1,"app-breadcrumb",28),_()),2&e){const t=D(3);f(),p("href",t.model.url,Ze),f(),V("",t.faqLabel," "),f(),p("ngif",t.model.breadcrumbs)}}function SV(e,n){if(1&e&&(m(0,"div",20),M(1,EV,2,1,"time",21)(2,IV,2,5,"p",22)(3,MV,4,3,"div",23),_()),2&e){const t=D(2);f(),p("ngIf","FAQ"!==t.model.type&&t.model.date),f(),p("ngIf",t.model.preview),f(),p("ngIf","FAQ"===t.model.type)}}function NV(e,n){if(1&e){const t=oe();m(0,"app-tags-list",29),R("setLabelFilterEvent",function(o){return Z(t),Y(D(2).setLabelFilter(o))}),_()}if(2&e){const t=D(2);p("tags",t.model.tags)("screenreaderTitle",t.placeholders.search_tags_screenreader_title)("showAllLabel",t.placeholders.search_show_all_tags)}}function AV(e,n){if(1&e&&(m(0,"article")(1,"header",2)(2,"h3",3),Ae(3,4),M(4,_V,3,2,"a",5)(5,vV,4,4,"a",6),xe(),_(),M(6,DV,2,1,"span",7)(7,CV,3,1,"span",7),_(),M(8,bV,1,6,"app-dataset-metadata",8)(9,wV,1,1,"app-breadcrumb",9)(10,SV,4,3,"div",10)(11,NV,1,3,"app-tags-list",11),_()),2&e){const t=D();Fv("searchresult-card ",!0===t.isFeaturedResult?"searchresult-card--boosted":""," ","datasets"===t.searchResultType?"searchresult-card--dataset":"",""),f(3),p("ngSwitch",t.searchResultType),f(),p("ngSwitchCase","documents"),f(2),p("ngIf","pages"===t.searchResultType&&t.model.type),f(),p("ngIf","documents"===t.searchResultType&&t.model.type),f(),p("ngIf","datasets"===t.searchResultType),f(),p("ngIf","FAQ"!==t.model.type&&t.model.breadcrumbs),f(),p("ngIf","datasets"!==t.searchResultType),f(),p("ngIf",t.model.tags&&t.model.tags.length>0)}}class xV{isDataSet(n){return void 0!==n.format}constructor(n){this.url="",this.name="",this.isExternalContent=!1,this.isDataSet(n)?(this.name=n.title,this.url=n.url,this.frequency=n.frequency,this.lastUpdate=n.lastUpdate,this.nextUpdate=n.nextUpdate,this.format=n.format,this.tags=n.combinedTags):(this.name=n.name,this.url=n.url,this.type=n.type,this.preview=n.preview,this.date=n.date,this.breadcrumbs=n.breadcrumbs,this.isExternalContent=n.isExternalContent)}}let NE=(()=>{class e{constructor(t,r){this.activeSearchQuery=t,this.viewPortScroller=r}ngOnInit(){this.model=new xV(this.result)}ngAfterViewInit(){}focus(){this.titleLink&&this.titleLink.nativeElement.focus()}get faqLabel(){const t=this.result;return 0===t?.breadcrumbs?.length?void 0:t.breadcrumbs[t.breadcrumbs.length-1].name}setLabelFilter(t){const r=this.getFacetFilterData(t);r&&(this.activeSearchQuery.setFilterData(r,"1"),this.viewPortScroller.scrollToPosition([0,0]))}getFacetFilterData(t){if(this.facetData)for(let r=0;r<this.facetData.length;r++){const o=this.facetData[r];for(let i=0;i<o.hits.length;i++){const s=o.hits[i];if(s.value===t)return{...this.currentFilterData,[o.parameters[0]]:[s.key]}}}}static#e=this.\u0275fac=function(r){return new(r||e)(E(Tt),E(Dh))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-searchresult-card"]],viewQuery:function(r,o){if(1&r&&Bt(mV,5),2&r){let i;Ht(i=Ut())&&(o.titleLink=i.first)}},inputs:{placeholders:"placeholders",result:"result",searchResultType:"searchResultType",isFeaturedResult:"isFeaturedResult",facetData:"facetData"},decls:1,vars:1,consts:[["titleLink",""],[3,"class",4,"ngIf"],[1,"searchresult-card__header"],[1,"searchresult-card__title"],[3,"ngSwitch"],["class","block-link-overlay","target","_blank","rel","noopener noreferrer",3,"href",4,"ngSwitchCase"],["class","block-link-overlay",3,"href","target",4,"ngSwitchDefault"],["class","searchresult-card__label",4,"ngIf"],[3,"placeholders","frequency","format","lastUpdate","nextUpdate","tags",4,"ngIf"],[3,"breadcrumbs",4,"ngIf"],["class","searchresult-card__content",4,"ngIf"],[3,"tags","screenreaderTitle","showAllLabel","setLabelFilterEvent",4,"ngIf"],["target","_blank","rel","noopener noreferrer",1,"block-link-overlay",3,"href"],[1,"block-link-overlay",3,"href","target"],[1,"sr-only"],["icon","open"],[1,"searchresult-card__label"],["icon","download"],[3,"placeholders","frequency","format","lastUpdate","nextUpdate","tags"],[3,"breadcrumbs"],[1,"searchresult-card__content"],["class","searchresult-card__date",4,"ngIf"],[3,"innerHtml",4,"ngIf"],["class","searchresult-card__faqfooter",4,"ngIf"],[1,"searchresult-card__date"],[3,"innerHtml"],[1,"searchresult-card__faqfooter"],[3,"href"],[3,"breadcrumbs",4,"ngif"],[3,"setLabelFilterEvent","tags","screenreaderTitle","showAllLabel"]],template:function(r,o){1&r&&M(0,AV,12,12,"article",1),2&r&&p("ngIf",o.model)},dependencies:[Ee,xr,Cs,Xl,Ye,iV,SE,pV,gV],encapsulation:2})}return e})(),Ps=(()=>{class e extends vt{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qe(e)))(o||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ks(e,n){return dt((t,r)=>{let o=0;t.subscribe(nt(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Jh(e,n){return dt((t,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();t.subscribe(nt(r,l=>{o?.unsubscribe();let c=0;const u=i++;wn(e(l,u)).subscribe(o=nt(r,d=>r.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}let pc=(()=>{class e{constructor(t,r){this.activeSearchQuery=t,this.activeSearchResults=r,this.isUpdatingQueryFromResults=!1}initialise(t){this.initialiseSearchQueryFromUrlParams(),this.updateUrlParamsOnSearchQueryChanged(),this.updateSearchResultsOnQueryChanged(t),this.updateSearchQueryOnSearchResultsChanged()}initialiseSearchQueryFromUrlParams(){this.activeSearchQuery.updateFromQueryParams(new URLSearchParams(window.location.search))}updateUrlParamsOnSearchQueryChanged(){this.activeSearchQuery.toQueryParams().pipe(ks(()=>!this.isUpdatingQueryFromResults)).subscribe(t=>{history.replaceState(null,"",window.location.pathname+"?"+t.toString())})}updateSearchResultsOnQueryChanged(t){this.activeSearchQuery.pipe(ks(()=>!this.isUpdatingQueryFromResults),Jh(r=>t(r))).subscribe(this.activeSearchResults)}getActiveSearchTab(){return new URLSearchParams(window.location.search).get("t")??"pages"}updateSearchQueryOnSearchResultsChanged(){this.activeSearchResults.subscribe(t=>{if(!t)return;this.isUpdatingQueryFromResults=!0;const r=t;this.filterInvalidKeys(r?.pages||r?.documents||r?.datasets?r[this.getActiveSearchTab()]:t),this.isUpdatingQueryFromResults=!1})}filterInvalidKeys(t){const r=this.activeSearchQuery.value.filterData||{},o={};for(const[i]of Object.entries(r)){const s=t?.facetData.find(a=>a.parameters[0]===i);if("df"===i||"dt"===i||"daterange"===s?.type)o[i]=r[i];else{const a=s?.hits.map(l=>l.key)||[];o[i]=r[i]?.filter(l=>a.includes(l))}}this.activeSearchQuery.setFilterData(o)}static#e=this.\u0275fac=function(r){return new(r||e)(L(Tt),L(Ps))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ep(...e){return Fr(e,Ts(e))}function gc(e,n,t=1/0){return Oe(n)?gc((r,o)=>Lt((i,s)=>n(r,i,o,s))(wn(e(r,o))),t):("number"==typeof n&&(t=n),dt((r,o)=>function FV(e,n,t,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&n.complete()},g=v=>c<r?y(v):l.push(v),y=v=>{i&&n.next(v),c++;let C=!1;wn(t(v,u++)).subscribe(nt(n,T=>{o?.(T),i?g(T):n.next(T)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;l.length&&c<r;){const T=l.shift();s?Vn(n,s,()=>y(T)):y(T)}h()}catch(T){n.error(T)}}))};return e.subscribe(nt(n,g,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,t)))}function tp(e){return dt((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}class mc{}class _c{}class Wt{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const o=t.slice(0,r),i=o.toLowerCase(),s=t.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"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Wt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Wt;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Wt?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const o=("a"===n.op?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":const i=n.value;if(i){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class RV{encodeKey(n){return AE(n)}encodeValue(n){return AE(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const kV=/%(\d[a-f0-9])/gi,LV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function AE(e){return encodeURIComponent(e).replace(kV,(n,t)=>LV[t]??n)}function yc(e){return`${e}`}class ir{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new RV,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function PV(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],o=Array.isArray(r)?r.map(yc):[yc(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new ir({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(yc(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const o=r.indexOf(yc(n.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class VV{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function xE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function FE(e){return typeof Blob<"u"&&e instanceof Blob}function OE(e){return typeof FormData<"u"&&e instanceof FormData}class Ls{constructor(n,t,r,o){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function jV(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 Wt,this.context??=new VV,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new ir,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||xE(this.body)||FE(this.body)||OE(this.body)||function BV(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof ir?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||OE(this.body)?null:FE(this.body)?this.body.type||null:xE(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ir?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress;let c=n.headers||this.headers,u=n.params||this.params;const d=n.context??this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((h,g)=>h.set(g,n.setHeaders[g]),c)),n.setParams&&(u=Object.keys(n.setParams).reduce((h,g)=>h.set(g,n.setParams[g]),u)),new Ls(t,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:o,withCredentials:a,transferCache:i})}}var sr=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}(sr||{});class np{constructor(n,t=Vs.Ok,r="OK"){this.headers=n.headers||new Wt,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class vc extends np{constructor(n={}){super(n),this.type=sr.ResponseHeader}clone(n={}){return new vc({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Vr extends np{constructor(n={}){super(n),this.type=sr.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Vr({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ti extends np{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}var Vs=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}(Vs||{});function rp(e,n){return{body:n,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 op=(()=>{class e{constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Ls)i=t;else{let l,c;l=o.headers instanceof Wt?o.headers:new Wt(o.headers),o.params&&(c=o.params instanceof ir?o.params:new ir({fromObject:o.params})),i=new Ls(t,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=ep(i).pipe(function OV(e,n){return Oe(n)?gc(e,n,1):gc(e,1)}(l=>this.handler.handle(l)));if(t instanceof Ls||"events"===o.observe)return s;const a=s.pipe(ks(l=>l instanceof Vr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Lt(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Lt(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Lt(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Lt(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new ir).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,rp(o,r))}post(t,r,o={}){return this.request("POST",t,rp(o,r))}put(t,r,o={}){return this.request("PUT",t,rp(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(L(mc))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function PE(e,n){return n(e)}function zV(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}const WV=new O(""),js=new O(""),kE=new O(""),LE=new O("");function QV(){let e=null;return(n,t)=>{null===e&&(e=(k(WV,{optional:!0})??[]).reduceRight(zV,PE));const r=k(Ir),o=r.add();return e(n,t).pipe(tp(()=>r.remove(o)))}}let VE=(()=>{class e extends mc{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=k(Ir);const o=k(LE,{optional:!0});this.backend=o??t}handle(t){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(js),...this.injector.get(kE,[])]));this.chain=o.reduceRight((i,s)=>function qV(e,n,t){return(r,o)=>function pu(e,n){e instanceof eo&&e.assertNotDestroyed();const r=Un(e),o=Dt(void 0);try{return n()}finally{Un(r),Dt(o)}}(t,()=>n(r,i=>e(i,o)))}(i,s,this.injector),PE)}const r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(tp(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(L(_c),L(Kt))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const JV=/^\)\]\}',?\n/;let BE=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new N(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Fr(r.\u0275loadImpl()):ep(null)).pipe(Jh(()=>new Xe(i=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,C)=>s.setRequestHeader(v,C.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const v=t.detectContentTypeHeader();null!==v&&s.setRequestHeader("Content-Type",v)}if(t.responseType){const v=t.responseType.toLowerCase();s.responseType="json"!==v?v:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const v=s.statusText||"OK",C=new Wt(s.getAllResponseHeaders()),T=function e3(e){return"responseURL" in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new vc({headers:C,status:s.status,statusText:v,url:T}),l},u=()=>{let{headers:v,status:C,statusText:T,url:I}=c(),F=null;C!==Vs.NoContent&&(F=typeof s.response>"u"?s.responseText:s.response),0===C&&(C=F?Vs.Ok:0);let H=C>=200&&C<300;if("json"===t.responseType&&"string"==typeof F){const J=F;F=F.replace(JV,"");try{F=""!==F?JSON.parse(F):null}catch(ce){F=J,H&&(H=!1,F={error:ce,text:F})}}H?(i.next(new Vr({body:F,headers:v,status:C,statusText:T,url:I||void 0})),i.complete()):i.error(new ti({error:F,headers:v,status:C,statusText:T,url:I||void 0}))},d=v=>{const{url:C}=c(),T=new ti({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error(T)};let h=!1;const g=v=>{h||(i.next(c()),h=!0);let C={type:sr.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),"text"===t.responseType&&s.responseText&&(C.partialText=s.responseText),i.next(C)},y=v=>{let C={type:sr.UploadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),i.next(C)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",g),null!==a&&s.upload&&s.upload.addEventListener("progress",y)),s.send(a),i.next({type:sr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",g),null!==a&&s.upload&&s.upload.removeEventListener("progress",y)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(L(Ob))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const ap=new O(""),HE=new O("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),UE=new O("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class $E{}let r3=(()=>{class e{constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Cb(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(L(Pn),L(Nn),L(HE))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function o3(e,n){const t=e.url.toLowerCase();if(!k(ap)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=k($E).getToken(),o=k(UE);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var ar=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}(ar||{});function i3(...e){const n=[op,BE,VE,{provide:mc,useExisting:VE},{provide:_c,useExisting:BE},{provide:js,useValue:o3,multi:!0},{provide:ap,useValue:!0},{provide:$E,useClass:r3}];for(const t of e)n.push(...t.\u0275providers);return function fi(e){return{\u0275providers:e}}(n)}const GE=new O("");function s3(){return function jr(e,n){return{\u0275kind:e,\u0275providers:n}}(ar.LegacyInterceptors,[{provide:GE,useFactory:QV},{provide:js,useExisting:GE,multi:!0}])}let zE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({providers:[i3(s3())]})}return e})(),Br=(()=>{class e{static#e=this.searchUrls={pages:"/api/search/content",documents:"/api/search/document",datasets:"/api/search/datasets"};static#t=this.apiPublicationUrl="/api/publication";static#n=this.apiNewsUrl="/api/news";static#r=this.apiRegisterUrl="/api/publicregister/search";static#o=this.apiRegisterFacetsUrl="/api/publicregister/facets";constructor(t){this.http=t,this.isLoading$=new jc(!1),this.initialRequestDone=!1}getCombinedSearchResults(t){this.startLoading();const r={...t,phrase:t.phrase,page:"1",filterData:{}},o=t.type?t.type:"pages";return Rh(this.initialRequestDone?{[o]:this.getSearchResults(o,t)}:{pages:this.getSearchResults("pages","pages"===o?t:r),documents:this.getSearchResults("documents","documents"===o?t:r),datasets:this.getSearchResults("datasets","datasets"===o?t:r)})}getSearchResults(t,r){return this.http.post(e.searchUrls[t],r)}getPublicationResults(t){return this.startLoading(),this.http.post(e.apiPublicationUrl,t)}getNewsResults(t){return this.startLoading(),this.http.post(e.apiNewsUrl,t)}getPublicRegisterFacets(t){return this.http.get(e.apiRegisterFacetsUrl,{params:t})}getPublicRegisterResults(t){return this.startLoading(),this.http.post(e.apiRegisterUrl,t)}startLoading(){this.isLoading$.next(!0)}static#i=this.\u0275fac=function(r){return new(r||e)(L(op))};static#s=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lp=(()=>{class e{transform(t){return t.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})();class f3 extends kt{constructor(n,t){super()}schedule(n,t=0){return this}}const Cc={setInterval(e,n,...t){const{delegate:r}=Cc;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Cc;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},cp={now:()=>(cp.delegate||Date).now(),delegate:void 0};class Bs{constructor(n,t=Bs.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}}Bs.now=cp.now;const g3=new class p3 extends Bs{constructor(n,t=Bs.now){super(n,t),this.actions=[],this._active=!1,this._scheduled=void 0}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let r;this._active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}(class h3 extends f3{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return Cc.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;Cc.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let o,r=!1;try{this.work(n)}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:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,zs(r,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}});function JE(e,n=g3){return dt((t,r)=>{let o=null,i=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=i;i=null,r.next(c)}};function l(){const c=s+e,u=n.now();if(u<c)return o=this.schedule(void 0,c-u),void r.add(o);a()}t.subscribe(nt(r,c=>{i=c,s=n.now(),o||(o=n.schedule(l,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function _3(e,n){return e===n}let y3=(()=>{class e{static#e=this.apiSuggestionsUrl="/api/suggestion";constructor(t){this.http=t,this.query={identifier:"",phrase:"",filterData:{},language:"nl",page:"1"}}setIdentifierAndLanguage(t,r){this.query.identifier=t,this.query.language=r}getSuggestionResults(t){return this.http.post(e.apiSuggestionsUrl,{...this.query,phrase:t})}static#t=this.\u0275fac=function(r){return new(r||e)(L(op))};static#n=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),v3=(()=>{class e{transform(t){return t.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 D3=["termInput"];function C3(e,n){if(1&e&&(m(0,"li",12)(1,"a",13),b(2),_()()),2&e){const t=n.$implicit,r=n.index,o=D(3);_e("js-focus",o.currentFocusedSuggestion===r),ds("id","result-item-",r,""),re("aria-focused",o.currentFocusedSuggestion===r),f(),p("href",t.url,Ze),f(),x(t.name)}}function b3(e,n){if(1&e&&(Ae(0),m(1,"h2",9),b(2),_(),m(3,"ul",10),M(4,C3,3,7,"li",11),_(),xe()),2&e){const t=D(2);f(2),x(null==t.labels?null:t.labels.results),f(2),p("ngForOf",t.suggestions$)}}function w3(e,n){if(1&e){const t=oe();Ae(0),m(1,"div",5),M(2,b3,5,2,"ng-container",4),m(3,"button",6),R("click",function(o){return Z(t),Y(D().handleSearchClick(o))}),m(4,"p"),b(5),m(6,"span",7),b(7),bn(8,"stripHtml"),_()(),S(9,"app-icon",8),_()(),xe()}if(2&e){const t=D(),r=function MD(e){return ao(function f0(){return G.lFrame.contextLView}(),q+e)}(3);f(),_e("js-hidden",!t.showSuggestions),ds("id","",t.componentId,"_autocomplete-suggestions"),f(),p("ngIf",t.suggestions$.length>0),f(3),V(" ",null==t.labels?null:t.labels.search," "),f(2),V('"',On(8,7,r.value),'"')}}let eI=(()=>{class e{documentClick(t){this.elementRef.nativeElement.contains(t)||(this.showSuggestions=!1)}constructor(t,r,o,i){this.window=t,this.autosuggestService=r,this.formBuilder=o,this.elementRef=i,this.destroy=new vt,this.componentId=self.crypto.randomUUID(),this.autosuggestEnabled=!0,this.searchType="search",this.changeEvent=new Ne,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(qt(this.destroy)).subscribe(({term:t})=>{this.changeEvent.emit(t)}),this.autosuggestEnabled&&this.searchForm.valueChanges.pipe(qt(this.destroy),JE(250),function m3(e,n=Gr){return e=e??_3,dt((t,r)=>{let o,i=!0;t.subscribe(nt(r,s=>{const a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}((t,r)=>t.term===r.term)).subscribe(({term:t})=>{this.enterKeyPressed||(this.showSuggestions=t.length>0),this.autosuggestService.getSuggestionResults(t).pipe(qt(this.destroy)).subscribe(r=>{this.currentFocusedSuggestion=-1,this.suggestions$=r.resultData})}),"string"==typeof this.localizedLabels&&(this.localizedLabels=JSON.parse(this.localizedLabels))}ngOnChanges(t){t.initialTerm.previousValue!==t.initialTerm.currentValue&&(this.showSuggestions=!1,this.searchForm.setValue({term:t.initialTerm.currentValue}))}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}onKeyUp(t){const r="ArrowUp"===t.key||38===t.keyCode,i="Enter"===t.key||13===t.keyCode,s="Escape"===t.key||27===t.keyCode;(r||"ArrowDown"===t.key||40===t.keyCode)&&(this.handleSuggestionFocus(r?"up":"down"),t.preventDefault()),s&&(this.showSuggestions=!1,this.currentFocusedSuggestion=-1),i&&-1!==this.currentFocusedSuggestion?(t.preventDefault(),this.window.location.href=this.suggestions$[this.currentFocusedSuggestion].url):i&&(this.showSuggestions=!1,this.enterKeyPressed=!0),i||(this.enterKeyPressed=!1)}handleSearchClick(t){this.showSuggestions=!1}handleSuggestionFocus(t){this.termInput.nativeElement&&("up"===t&&(0===this.currentFocusedSuggestion?(this.currentFocusedSuggestion=-1,this.termInput.nativeElement.focus()):-1===this.currentFocusedSuggestion?this.currentFocusedSuggestion=this.suggestions$.length-1:this.currentFocusedSuggestion-=1),"down"===t&&(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)(E(Window),E(y3),E(Rs),E(Ft))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-searchbox-autosuggest"]],viewQuery:function(r,o){if(1&r&&Bt(D3,5),2&r){let i;Ht(i=Ut())&&(o.termInput=i.first)}},hostBindings:function(r,o){1&r&&R("click",function(s){return o.documentClick(s.target)},0,e_)},inputs:{autosuggestEnabled:"autosuggestEnabled",searchType:"searchType",ariaLabelledby:"ariaLabelledby",localizedLabels:"localizedLabels",initialTerm:"initialTerm",identifier:"identifier"},outputs:{changeEvent:"changeEvent"},features:[at],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"],["icon","arrow-right"],[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=oe();m(0,"div",1)(1,"div",2)(2,"input",3,0),R("keydown",function(a){return Z(i),Y(o.onKeyUp(a))}),_()(),M(4,w3,10,9,"ng-container",4),_()}if(2&r){let i,s;p("formGroup",o.searchForm),f(2),Kn("placeholder",null!==(i=null==o.labels?null:o.labels.placeholder)&&void 0!==i?i:""),re("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),f(2),p("ngIf",o.autosuggestEnabled)}},dependencies:[He,Ee,Qo,jn,Rr,or,Xo,Ye,v3],encapsulation:2})}return e})();const E3=["*"];function I3(e,n){if(1&e){const t=oe();m(0,"li")(1,"button",12),R("click",function(){const o=Z(t).$implicit;return Y(D(2).navigateToSuggestion(o))}),b(2),_()()}if(2&e){const t=n.$implicit;f(),p("title",t),f(),V(" ",t," ")}}function T3(e,n){if(1&e&&(m(0,"div",10),b(1),m(2,"ul"),M(3,I3,3,2,"li",11),_()()),2&e){const t=D();f(),V(" ",t.suggestionsLabel," "),f(2),p("ngForOf",t.suggestions)}}let up=(()=>{class e{constructor(t,r){this.activeSearchQuery=t,this.apiHttpService=r,this.autosuggestEnabled=!0,this.searchType="search",this.destroy=new vt,this.term="",this.initialTerm="",this.identifier=""}ngOnInit(){this.activeSearchQuery.pipe(qt(this.destroy)).subscribe(t=>{t.phrase&&(this.initialTerm=t.phrase,this.term=t.phrase),this.identifier=t.identifier})}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}onChange(t){this.term=t}onSubmit(){this.apiHttpService.initialRequestDone=!1,this.activeSearchQuery.setPhrase(this.term)}navigateToSuggestion(t){this.onChange(t),this.activeSearchQuery.setPhrase(t)}static#e=this.\u0275fac=function(r){return new(r||e)(E(Tt),E(Br))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-prominent-searchbox"]],inputs:{autosuggestEnabled:"autosuggestEnabled",searchType:"searchType",ariaLabelledby:"ariaLabelledby",placeholders:"placeholders",label:"label",suggestions:"suggestions",suggestionsLabel:"suggestionsLabel"},ngContentSelectors:E3,decls:13,vars:8,consts:[["form",""],[1,"prominent-searchbox","prominent-searchbox--searchresults"],["aria-hidden","true",1,"prominent-searchbox__bg"],["action","","method","get","role","search",1,"prominent-searchbox__formwrapper",3,"submit"],[1,"prominent-searchbox__inputwrapper"],["icon","search"],[3,"changeEvent","autosuggestEnabled","searchType","ariaLabelledby","identifier","initialTerm","localizedLabels"],["type","submit",1,"btn","prominent-searchbox__btn","searchbox-btn"],[1,"prominent-searchbox__btn__text","searchbox-btn__text"],["class","prominent-searchbox__popular-terms",4,"ngIf"],[1,"prominent-searchbox__popular-terms"],[4,"ngFor","ngForOf"],["type","button",3,"click","title"]],template:function(r,o){if(1&r){const i=oe();Dl(),m(0,"section",1),S(1,"span",2),Cl(2),m(3,"form",3,0),R("submit",function(){return Z(i),Y(o.onSubmit())}),m(5,"div",4),S(6,"app-icon",5),m(7,"app-searchbox-autosuggest",6),R("changeEvent",function(a){return Z(i),Y(o.onChange(a))}),_()(),m(8,"button",7),S(9,"app-icon",5),m(10,"span",8),b(11),_()()(),M(12,T3,4,2,"div",9),_()}2&r&&(f(7),p("autosuggestEnabled",o.autosuggestEnabled)("searchType",o.searchType)("ariaLabelledby",o.ariaLabelledby)("identifier",o.identifier)("initialTerm",o.initialTerm)("localizedLabels",o.placeholders),f(4),x(o.label),f(),p("ngIf",o.suggestions&&o.suggestions.length>0))},dependencies:[He,Ee,hc,Rr,Fs,eI,Ye],encapsulation:2})}return e})();function M3(e,n){if(1&e&&(m(0,"span",2),b(1),_()),2&e){const t=D();f(),x(t.placeholders["filter_"+t.filter.name])}}function S3(e,n){if(1&e&&(Ae(0),S(1,"input",11),m(2,"div",12)(3,"label"),b(4),_()(),xe()),2&e){const t=D().$implicit,r=D();f(),p("formControlName",t.key)("value",t.value),re("id",r.componentId+t.key)("name",t.key),f(2),re("for",r.componentId+t.key),f(),Cn("",t.value," (",t.hitCount,")")}}function N3(e,n){if(1&e&&(m(0,"div",9),M(1,S3,5,7,"ng-container",10),_()),2&e){const t=n.$implicit,r=D();f(),p("ngIf",!r.searchBoxControl.value||t.value.toLocaleLowerCase().includes(r.searchBoxControl.value.toLocaleLowerCase()))}}let A3=(()=>{class e{constructor(t){this.fb=t,this.form=new $h({}),this.searchBoxControl=new iE,this.componentId=self.crypto.randomUUID()}ngOnChanges(t){if(t.filter){const r={};if(this.filter)for(const{key:o}of this.filter.hits)r[o]=this.form.value[o];this.form=this.fb.group(r),this.subscription?.unsubscribe(),this.detectFormChanges()}}ngOnDestroy(){this.subscription?.unsubscribe()}registerOnChange(t){this.onChange=t}registerOnTouched(t){}writeValue(t){this.subscription?.unsubscribe();const r={};for(const{key:o}of this.filter?.hits??[])r[o]=t?.includes(o)??!1;this.form.setValue(r),this.detectFormChanges()}detectFormChanges(){this.subscription=this.form.valueChanges.subscribe(t=>{if(this.onChange&&this.filter){const r=this.filter.hits.map(o=>o.key).filter(o=>t[o]);this.onChange(r.length>0?r:null)}})}trackBy(t,r){return r.key}static#e=this.\u0275fac=function(r){return new(r||e)(E(Rs))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-checkbox"]],inputs:{filter:"filter",placeholders:"placeholders"},features:[be([{provide:zt,useExisting:pe(()=>e),multi:!0}]),at],decls:11,vars:11,consts:[["role","search",1,"searchbox__filter"],[1,"searchbox__inputwrapper-label"],[1,"sr-only"],[1,"searchbox__inputwrapper"],["icon","search"],["type","search","autocomplete","off",1,"searchbox__input",3,"id","placeholder","formControl"],["role","status",3,"formGroup"],["class","sr-only",4,"ngIf"],["class","form-group form-group--checkbox",4,"ngFor","ngForOf","ngForTrackBy"],[1,"form-group","form-group--checkbox"],[4,"ngIf"],["type","checkbox",3,"formControlName","value"],[1,"form-group__label-wrapper"]],template:function(r,o){1&r&&(m(0,"form",0)(1,"label",1)(2,"span",2),b(3),_(),m(4,"div",3),S(5,"app-icon",4)(6,"input",5),_()()(),m(7,"fieldset",6)(8,"legend"),M(9,M3,2,1,"span",7),_(),M(10,N3,2,1,"div",8),_()),2&r&&(_e("js-active",o.filter.hits.length>8||o.searchBoxControl.value),f(3),x(null==o.placeholders?null:o.placeholders.filters_search),f(3),Kn("id",o.filter.name),p("placeholder",null==o.placeholders?null:o.placeholders.filters_search)("formControl",o.searchBoxControl),re("aria-label",null==o.placeholders?null:o.placeholders.filters_search),f(),p("formGroup",o.form),f(2),p("ngIf",o.placeholders),f(),p("ngForOf",null==o.filter?null:o.filter.hits)("ngForTrackBy",o.trackBy))},dependencies:[He,Ee,hc,Qo,Ph,jn,Rr,Fs,Os,or,Xo,Ye],encapsulation:2})}return e})();function x3(e,n){if(1&e&&(m(0,"option",10),b(1),_()),2&e){const t=n.$implicit;p("value",t.key),f(),V(" ",t.value," ")}}function F3(e,n){if(1&e&&(m(0,"option",11),b(1),_()),2&e){const t=n.$implicit,r=D(2);p("disabled",r.selectedToYear&&"from"===r.fieldType&&t.value>r.selectedToYear||r.selectedFromYear&&"to"===r.fieldType&&t.value<r.selectedFromYear)("value",t.key),f(),V(" ",t.value," ")}}function O3(e,n){if(1&e&&(m(0,"fieldset",1)(1,"legend"),b(2),_(),m(3,"div",2)(4,"label",3),b(5),_(),m(6,"div",4)(7,"select",5),M(8,x3,2,2,"option",6),_()()(),m(9,"div",2)(10,"label",3),b(11),_(),m(12,"div",4)(13,"select",7)(14,"option",8),b(15),_(),M(16,F3,2,3,"option",9),_()()()()),2&e){const t=D();p("formGroup",t.form),f(2),V(" ","from"===t.fieldType?null==t.placeholders?null:t.placeholders.filter_daterange_datefrom:null==t.placeholders?null:t.placeholders.filter_daterange_dateto," "),f(2),p("for",t.filter.name),f(),x(null==t.placeholders?null:t.placeholders.filter_daterange_month),f(2),p("id",("from"===t.fieldType?"df":"dt")+"-month")("name",("from"===t.fieldType?"df":"dt")+"-month"),f(),p("ngForOf",t.filter.preValues),f(2),p("for",t.filter.name),f(),x(null==t.placeholders?null:t.placeholders.filter_daterange_year_defaultvalue),f(2),p("id",("from"===t.fieldType?"df":"dt")+"-year")("name",("from"===t.fieldType?"df":"dt")+"-year"),f(2),x(null==t.placeholders?null:t.placeholders.filter_daterange_year_defaultvalue),f(),p("ngForOf",t.filter.hits)}}let R3=(()=>{class e{constructor(t){this.fb=t,this.form=this.fb.group({"date-month":"","date-year":""})}ngOnInit(){this.detectFormChanges()}registerOnChange(t){this.onChange=t}registerOnTouched(t){}writeValue(t){if(this.subscription?.unsubscribe(),t&&t.length>0){const[r,o]=t[0].split("-");this.form.setValue({"date-month":r??this.filter?.preValues[0].key,"date-year":o??""})}else this.form.setValue({"date-month":this.filter?.preValues[0].key,"date-year":""});this.detectFormChanges()}detectFormChanges(){this.subscription=this.form.valueChanges.subscribe(t=>{if(this.onChange&&this.filter){if(!t["date-year"])return;this.onChange(t["date-month"]||t["date-year"]?[`${t["date-month"]}-${t["date-year"]}`]:null)}})}static#e=this.\u0275fac=function(r){return new(r||e)(E(Rs))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-date-range-field"]],inputs:{fieldType:"fieldType",filter:"filter",placeholders:"placeholders",selectedFromYear:"selectedFromYear",selectedToYear:"selectedToYear"},features:[be([{provide:zt,useExisting:pe(()=>e),multi:!0}])],decls:1,vars:1,consts:[["data-filter-type","range",3,"formGroup",4,"ngIf"],["data-filter-type","range",3,"formGroup"],[1,"umbraco-forms-field","dropdown"],[1,"umbraco-forms-label",3,"for"],[1,"umbraco-forms-field-wrapper"],["formControlName","date-month",1,"form-control-select",3,"id","name"],[3,"value",4,"ngFor","ngForOf"],["formControlName","date-year",1,"form-control-select",3,"id","name"],["value",""],[3,"disabled","value",4,"ngFor","ngForOf"],[3,"value"],[3,"disabled","value"]],template:function(r,o){1&r&&M(0,O3,17,13,"fieldset",0),2&r&&p("ngIf",o.filter)},dependencies:[He,Ee,Jo,ei,kr,jn,Rr,or,Xo],encapsulation:2})}return e})();function P3(e,n){if(1&e){const t=oe();m(0,"button",7),R("click",function(){const o=Z(t).$implicit;return Y(D(2).onPillClick(o))}),m(1,"span")(2,"span",2),b(3),_(),m(4,"span",8),b(5),_()(),S(6,"app-icon",9),_()}if(2&e){const t=n.$implicit,r=D(2);f(3),x(null==r.placeholders?null:r.placeholders.filters_delete),f(2),x(t.label)}}function k3(e,n){if(1&e&&(m(0,"span",2),b(1),_()),2&e){const t=D(2);f(),x(null==t.placeholders?null:t.placeholders.filters_all)}}function L3(e,n){if(1&e){const t=oe();m(0,"div",1)(1,"span",2),b(2),_(),m(3,"div",3),M(4,P3,7,2,"button",4),m(5,"button",5),R("click",function(){return Z(t),Y(D().onReset())}),b(6),M(7,k3,2,1,"span",6),_()()()}if(2&e){const t=D();_e("selected-filters--detached",t.isDetached),f(2),x(null==t.placeholders?null:t.placeholders.filters_active),f(2),p("ngForOf",t.pills),f(2),V(" ",t.isDetached?"Reset":null==t.placeholders?null:t.placeholders.filters_reset," "),f(),p("ngIf",t.isDetached)}}let bc=(()=>{class e{constructor(t){this.searchQuery=t,this.isDetached=!1,this.pills=[]}ngOnChanges(t){this.determinePills(this.searchQuery.getValue().filterData)}onPillClick(t){this.searchQuery.removeFilter(t.filterName,t.hitKey,t.type)}onReset(){this.searchQuery.setFilterData({})}determinePills(t){this.pills=this.pills.filter(r=>!!t&&t[r.filterName]?.includes(r.hitKey));for(const r of this.filterOptions??[]){const[o,i]=r.parameters;for(const s of r.hits){const a=!!t&&t[o]?.includes(s.key),l=!!this.pills.find(c=>c.filterName==o&&c.hitKey===s.key);a&&!l&&(this.pills=[...this.pills,{filterName:o,hitKey:s.key,label:s.value,type:r.type}])}if("daterange"===r.type&&r.preValues){const s=!!t&&t[o],a=!!t&&t[i],l=!!this.pills.find(h=>h.filterName==o);let c={},u={},d="";if(s&&s.length>0){const[h,g]=s[0].split("-"),y=r.preValues.find(C=>C.key===h)?.value??"",v=r.hits.find(C=>C.key===g)?.value??"";c={single:`${y} ${v}`,multi:`${this.placeholders?.filter_daterange_datefrom} ${y} ${v}`},d=c.multi}if(a&&a.length>0){const[h,g]=a[0].split("-"),y=r.preValues.find(C=>C.key===h)?.value??"",v=r.hits.find(C=>C.key===g)?.value??"";u={single:`${y} ${v}`,multi:`${this.placeholders?.filter_daterange_dateto} ${y} ${v}`},d=u.multi}s&&a&&(d=`${c.single} - ${u.single}`),d&&!l&&(this.pills=[...this.pills,{filterName:o,hitKey:"df",label:d,type:r.type}])}}}static#e=this.\u0275fac=function(r){return new(r||e)(E(Tt))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-pill-group"]],inputs:{isDetached:"isDetached",filterOptions:"filterOptions",placeholders:"placeholders"},features:[at],decls:1,vars:1,consts:[["class","selected-filters",3,"selected-filters--detached",4,"ngIf"],[1,"selected-filters"],[1,"sr-only"],[1,"pill-container"],["class","pill","type","button",3,"click",4,"ngFor","ngForOf"],["type","button",1,"btn","btn--reset",3,"click"],["class","sr-only",4,"ngIf"],["type","button",1,"pill",3,"click"],[1,"pill__content"],["icon","dismiss"]],template:function(r,o){1&r&&M(0,L3,8,6,"div",0),2&r&&p("ngIf",o.pills.length>0)},dependencies:[He,Ee,Ye],encapsulation:2})}return e})();const V3=["*"];let j3=(()=>{class e{constructor(t){this.apiHttpService=t,this.filterItemTrigger=new Ne}onFilterItemClick(t){t.stopPropagation(),this.filterItemTrigger.emit()}onClick(t){t.stopPropagation()}static#e=this.\u0275fac=function(r){return new(r||e)(E(Br))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-filter-wrapper"]],inputs:{selected:"selected",placeholders:"placeholders",selectedItems:"selectedItems",filterName:"filterName",filterType:"filterType",hasHits:"hasHits"},outputs:{filterItemTrigger:"filterItemTrigger"},ngContentSelectors:V3,decls:16,vars:12,consts:[["type","button",1,"filter__item__trigger",3,"click"],[1,"sr-only"],["role","status",1,"count-bubble"],[1,"count-bubble__number"],["icon","chevron-down"],[1,"filter__item__foldout"],["tabindex","-1",1,"filter__item__foldout__content",3,"click"]],template:function(r,o){1&r&&(Dl(),m(0,"h3")(1,"button",0),R("click",function(s){return o.onFilterItemClick(s)}),m(2,"span"),b(3),m(4,"span",1),b(5," - "),_()(),m(6,"span",2)(7,"span",3),b(8),_(),m(9,"span",1),b(10),_()(),S(11,"app-icon",4),_()(),m(12,"div",5),bn(13,"async"),m(14,"div",6),R("click",function(s){return o.onClick(s)}),Cl(15),_()()),2&r&&(f(),re("disabled",!o.hasHits||null)("aria-expanded",o.selected?"true":"false"),f(2),x(o.placeholders["filter_"+o.filterName]),f(3),_e("js-hidden",!o.selectedItems||0===o.selectedItems),f(2),x(o.selectedItems),f(2),V(" ",o.placeholders.filters_active,""),f(2),_e("js-is-loading",On(13,10,o.apiHttpService.isLoading$)),re("aria-hidden",o.selected?"false":"true"))},dependencies:[Ye,_h],encapsulation:2})}return e})();const B3=["filterWrapper"],H3=()=>[],U3=e=>({"js-active":e});function $3(e,n){if(1&e&&S(0,"app-date-range-field",27),2&e){const t=D().$implicit,r=D();p("formControlName",t.parameters[0])("filter",t)("placeholders",r.placeholders)("selectedToYear",r.selectedToYear)}}function G3(e,n){if(1&e&&S(0,"app-date-range-field",28),2&e){const t=D().$implicit,r=D();p("formControlName",t.parameters[1])("filter",t)("placeholders",r.placeholders)("selectedFromYear",r.selectedFromYear)}}function z3(e,n){if(1&e&&S(0,"app-checkbox",29),2&e){const t=D().$implicit,r=D();p("formControlName",t.parameters[0])("placeholders",r.placeholders)("filter",t)}}function q3(e,n){if(1&e){const t=oe();Ae(0),m(1,"li",22)(2,"app-filter-wrapper",23),R("filterItemTrigger",function(){const o=Z(t).$implicit;return Y(D().onFilterItemTrigger(o))}),M(3,$3,1,4,"app-date-range-field",24)(4,G3,1,4,"app-date-range-field",25)(5,z3,1,3,"app-checkbox",26),_()(),xe()}if(2&e){const t=n.$implicit,r=D();f(),p("ngClass",function WD(e,n,t,r){return ZD(w(),ht(),e,n,t,r)}(12,U3,t.isOpen)),re("data-filter-type",t.type)("data-filter-param",t.type),f(),p("selected",t.isOpen)("selectedItems",r.selectedFilterItems[t.parameters[0]])("filterName",t.name)("filterType",t.type)("hasHits",t.hits.length>0)("placeholders",r.placeholders),f(),p("ngIf","daterange"===t.type),f(),p("ngIf","daterange"===t.type),f(),p("ngIf","tag"===t.type||"date"===t.type)}}function W3(e,n){if(1&e&&(m(0,"h3",39),b(1),_()),2&e){const t=D(2);f(),x(t.teaserTitle)}}function Q3(e,n){if(1&e&&(m(0,"div",30)(1,"div",31),M(2,W3,2,1,"h3",32),m(3,"a",33),b(4),_()(),yr(),m(5,"svg",34),S(6,"path",35)(7,"path",36)(8,"path",37)(9,"path",38),_()()),2&e){const t=D();f(2),p("ngIf",t.teaserTitle),f(),p("href",t.teaserUrl,Ze),f(),x(t.placeholders.inform_me_label)}}let dp=(()=>{class e{constructor(t,r){this.fb=t,this.activeSearchQuery=r,this.formGroup=new $h({}),this.selectedFilterItems={},this.totalSelectedFilterItems=0,this.filtersWrapperActive=!1,this.selectedFromYear="",this.selectedToYear="",this.destroy=new vt,this.activeSearchQuery.pipe(qt(this.destroy)).subscribe(o=>{this.renderFilters()})}onKeyDown(t){("tab"===t.key||9===t.keyCode)&&(t.shiftKey?document.activeElement===this.firstFocusableElement&&(this.lastFocusableElement?.focus(),t.preventDefault()):document.activeElement===this.lastFocusableElement&&(this.firstFocusableElement?.focus(),t.preventDefault()))}ngAfterViewChecked(){this.trapFocus()}ngOnChanges(t){this.renderFilters(),this.determineTotalSelectedFilters()}ngOnDestroy(){this.subscription?.unsubscribe(),this.destroy.next(),this.destroy.complete()}onFilterItemTrigger(t){t.isOpen=!t.isOpen}onFilterMenuToggle(t){this.filtersWrapperActive=t}renderFilters(){const t={},r=this.activeSearchQuery.getValue().filterData??{};for(const o of this.filterOptions??[]){const[i,s]=o.parameters;t[i]=[r[i]],"daterange"===o.type&&(t[s]=[r[s]])}for(const o in t??{})this.selectedFilterItems[o]=t[o][0]?t[o][0].length:0,0===this.selectedFilterItems.df&&1===this.selectedFilterItems.dt&&(this.selectedFilterItems.df=this.selectedFilterItems.dt);if(this.formGroup=this.fb.group(t),this.subscription?.unsubscribe(),this.setSelectedDateRange(),this.subscription=this.formGroup.valueChanges.subscribe(o=>this.activeSearchQuery.setFilterData(o,"1")),this.filterOptions)if(Object.entries(this.selectedFilterItems).every(o=>0===o[1]))for(const o of this.filterOptions.filter(i=>i.hits.length>0).slice(0,1))o.isOpen=!0;else for(const o in this.selectedFilterItems){if(0===this.selectedFilterItems[o])continue;const i=this.filterOptions.find(s=>s.parameters.indexOf(o)>-1);i&&(i.isOpen=!0)}}setSelectedDateRange(){if(!this.filterOptions)return;const t=this.filterOptions.find(r=>"daterange"===r.type);if(this.formGroup.get("df")&&this.formGroup.get("df")?.value){const[r,o]=this.formGroup.get("df")?.value[0].split("-")??[],i=t?.hits.find(s=>s.key===o);i&&(this.selectedFromYear=i.value)}if(this.formGroup.get("dt")&&this.formGroup.get("dt")?.value){const[r,o]=this.formGroup.get("dt")?.value[0].split("-")??[],i=t?.hits.find(s=>s.key===o);i&&(this.selectedToYear=i.value)}}determineTotalSelectedFilters(){let t=0;for(const r in this.selectedFilterItems)t+=this.selectedFilterItems[r];this.totalSelectedFilterItems=t}onReset(){this.activeSearchQuery.setFilterData({},"1"),this.filtersWrapperActive=!1}trackBy(t,r){return r.name}trapFocus(){if(this.filterWrapper.nativeElement.classList.contains("js-active")){const t=this.filterWrapper.nativeElement.querySelectorAll('a[href]:not([disabled]):not(.teaser__link), button:not([disabled]):not(.js-hidden):not(.pill--original-child), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])');this.firstFocusableElement=t[0],this.lastFocusableElement=t[t.length-1]}}static#e=this.\u0275fac=function(r){return new(r||e)(E(Rs),E(Tt))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-filters"]],viewQuery:function(r,o){if(1&r&&Bt(B3,5),2&r){let i;Ht(i=Ut())&&(o.filterWrapper=i.first)}},hostBindings:function(r,o){1&r&&R("keydown",function(s){return o.onKeyDown(s)})},inputs:{filterOptions:"filterOptions",placeholders:"placeholders",teaserUrl:"teaserUrl",teaserTitle:"teaserTitle"},features:[at],decls:32,vars:16,consts:[["filterWrapper",""],[1,"filters-bar"],["type","button","aria-haspopup","true",1,"filter-menu-toggle",3,"click"],[1,"filter-menu-toggle__content"],["role","status",1,"count-bubble"],[1,"count-bubble__number"],[1,"sr-only"],["icon","filter"],[1,"filters-wrapper"],[1,"filters-wrapper__header"],["type","button",1,"btn--close-filter",3,"click"],["icon","dismiss"],[1,"filters-wrapper__header__title"],["type","button",1,"btn--reset",3,"click"],[1,"filters-wrapper__body",3,"formGroup"],[1,"scroll-wrapper"],[1,"filter"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"filterOptions","placeholders"],["class","teaser",4,"ngIf"],[1,"filters-wrapper__footer"],["type","button",1,"btn","btn--primary","btn--filter",3,"click"],[1,"filter__item",3,"ngClass"],[3,"filterItemTrigger","selected","selectedItems","filterName","filterType","hasHits","placeholders"],["fieldType","from",3,"formControlName","filter","placeholders","selectedToYear",4,"ngIf"],["fieldType","to",3,"formControlName","filter","placeholders","selectedFromYear",4,"ngIf"],[3,"formControlName","placeholders","filter",4,"ngIf"],["fieldType","from",3,"formControlName","filter","placeholders","selectedToYear"],["fieldType","to",3,"formControlName","filter","placeholders","selectedFromYear"],[3,"formControlName","placeholders","filter"],[1,"teaser"],[1,"teaser__content"],["class","teaser__title",4,"ngIf"],[1,"teaser__link",3,"href"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","56","height","53","fill","none","viewBox","0 0 56 53",1,"teaser__icon"],["fill","#1226AA","d","M48.96 12.5h-3.031v32.206h3.035a2.194 2.194 0 0 0 1.535-.629c.407-.401.637-.945.638-1.513V14.642a2.114 2.114 0 0 0-.638-1.516 2.176 2.176 0 0 0-1.54-.626Z"],["fill","#73C2FA","d","M46.876 42.563V10.441c0-.568-.23-1.113-.637-1.515a2.19 2.19 0 0 0-1.537-.627H7.85a2.196 2.196 0 0 0-1.535.628 2.136 2.136 0 0 0-.633 1.514v32.122c0 .569.229 1.113.636 1.515.408.402.96.628 1.537.628h41.194a2.19 2.19 0 0 1-1.537-.628 2.127 2.127 0 0 1-.636-1.515Z"],["fill","#3B54F5","d","M43.561 19.035H8.996v-4.201h34.565v4.2Z"],["fill","#fff","d","M24.148 25.568H8.996v-2.334h15.152v2.334ZM24.148 29.302H8.996V26.97h15.152v2.333ZM24.148 33.037H8.996v-2.334h15.152v2.334ZM24.148 36.771H8.996v-2.334h15.152v2.334ZM24.148 40.506H8.996v-2.334h15.152v2.334ZM43.561 40.506H28.409v-2.334h15.152v2.334ZM43.561 35.837H28.409V23.234h15.152v12.603Z"],[1,"teaser__title"]],template:function(r,o){if(1&r){const i=oe();m(0,"div",1)(1,"button",2),R("click",function(){return Z(i),Y(o.onFilterMenuToggle(!0))}),m(2,"div",3),b(3," Filters "),m(4,"span",4)(5,"span",5),b(6),_(),m(7,"span",6),b(8),_()()(),S(9,"app-icon",7),_(),m(10,"div",8,0)(12,"div",9)(13,"button",10),R("click",function(){return Z(i),Y(o.onFilterMenuToggle(!1))}),m(14,"span",6),b(15),_(),S(16,"app-icon",11),_(),m(17,"h2",12),b(18,"Filters"),_(),m(19,"button",13),R("click",function(){return Z(i),Y(o.onReset())}),b(20,"Reset"),_()(),m(21,"div",14)(22,"div",15)(23,"h2",6),b(24,"Filters"),_(),m(25,"ul",16),M(26,q3,6,14,"ng-container",17),_(),S(27,"app-pill-group",18),M(28,Q3,10,3,"div",19),_(),m(29,"div",20)(30,"button",21),R("click",function(){return Z(i),Y(o.onFilterMenuToggle(!1))}),b(31),_()()()()()}if(2&r){let i;f(),re("aria-expanded",o.filtersWrapperActive),f(3),_e("js-hidden",!o.totalSelectedFilterItems||0===o.totalSelectedFilterItems),f(2),x(o.totalSelectedFilterItems),f(2),x(o.placeholders.filters_active),f(2),_e("js-active",o.filtersWrapperActive),f(5),x(o.placeholders.filters_close),f(6),p("formGroup",o.formGroup),f(5),p("ngForOf",null!==(i=o.filterOptions)&&void 0!==i?i:function qD(e,n,t){const r=ht()+e,o=w();return o[r]===Q?yn(o,r,t?n.call(t):n()):function Ji(e,n){return e[n]}(o,r)}(15,H3))("ngForTrackBy",o.trackBy),f(),p("filterOptions",o.filterOptions)("placeholders",o.placeholders),f(),p("ngIf",o.teaserUrl),f(3),V(" ",o.placeholders.filters_apply," ")}},dependencies:[gh,He,Ee,jn,Rr,or,Xo,Ye,A3,R3,bc,j3],encapsulation:2})}return e})();function tI(e){return Array.isArray(e)?e:[e]}function nI(e,n,t){e?Vn(t,e,n):n()}function rI(e=1/0){return gc(Gr,e)}function fp(...e){return function X3(){return rI(1)}()(Fr(e,Ts(e)))}const hp=new Xe(e=>e.complete());function oI(e){return e<=0?()=>hp:dt((n,t)=>{let r=0;n.subscribe(nt(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function tj(...e){const n=Ts(e);return dt((t,r)=>{(n?fp(e,t,n):fp(e,t)).subscribe(r)})}let pp;try{pp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{pp=!1}let nj=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?xb(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!pp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream" in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(r){return new(r||e)(L(Nn))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ij=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({})}return e})();const sI=new Set;let Ur,sj=(()=>{class e{constructor(t,r){this._platform=t,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):lj}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function aj(e,n){if(!sI.has(e))try{Ur||(Ur=document.createElement("style"),n&&Ur.setAttribute("nonce",n),Ur.setAttribute("type","text/css"),document.head.appendChild(Ur)),Ur.sheet&&(Ur.sheet.insertRule(`@media ${e} {body{ }}`,0),sI.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static#e=this.\u0275fac=function(r){return new(r||e)(L(nj),L(Yu,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lj(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let cj=(()=>{class e{constructor(t,r){this._mediaMatcher=t,this._zone=r,this._queries=new Map,this._destroySubject=new vt}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return aI(tI(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let i=function Y3(...e){const n=Ts(e),t=ww(e),{args:r,keys:o}=bw(e);if(0===r.length)return Fr([],n);const i=new Xe(function K3(e,n,t=Gr){return r=>{nI(n,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)nI(n,()=>{const c=Fr(e[l],n);let u=!1;c.subscribe(nt(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,o?s=>Iw(o,s):Gr));return t?i.pipe(Ew(t)):i}(aI(tI(t)).map(s=>this._registerQuery(s).observable));return i=fp(i.pipe(oI(1)),i.pipe(function ej(e){return ks((n,t)=>e<=t)}(1),JE(0))),i.pipe(Lt(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const r=this._mediaMatcher.matchMedia(t),i={observable:new Xe(s=>{const a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(tj(r),Lt(({matches:s})=>({query:t,matches:s})),qt(this._destroySubject)),mql:r};return this._queries.set(t,i),i}static#e=this.\u0275fac=function(r){return new(r||e)(L(sj),L(me))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function aI(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function uj(e,n){if(1&e){const t=oe();m(0,"li",5)(1,"button",6),R("click",function(){Z(t);const o=D();return Y(o.navigateToPage(o.pager.currentPage-1))}),S(2,"app-icon",7),m(3,"span",8),b(4),_()()()}if(2&e){const t=D();f(4),V(" ",t.placeholders.pager_previous_page," ")}}function dj(e,n){if(1&e&&(m(0,"option",14),b(1),_()),2&e){const t=n.$implicit,r=D(2);p("value",t+1),re("selected",r.pager.currentPage===t+1),f(),V(" ",t+1," ")}}function fj(e,n){if(1&e){const t=oe();Ae(0),m(1,"li")(2,"label",9),b(3),bn(4,"lowercase"),_(),m(5,"div",10)(6,"span",11),b(7),bn(8,"lowercase"),_(),m(9,"select",12),R("change",function(o){return Z(t),Y(D().navigateToPageBySelect(o))}),M(10,dj,2,3,"option",13),_()()(),xe()}if(2&e){const t=D();f(3),Of("",t.placeholders.pager_go_to_page,": ",t.pager.currentPage," ",On(4,8,t.placeholders.pager_from)," ",t.pager.totalPages,""),f(4),bl("",t.pager.currentPage," ",On(8,10,t.placeholders.pager_from)," ",t.pager.totalPages,""),f(3),p("ngForOf",t.totalPagesAsArray)}}function hj(e,n){if(1&e){const t=oe();Ae(0),m(1,"li",16)(2,"button",6),R("click",function(){return Z(t),Y(D(2).navigateToPage(1))}),m(3,"span",8),b(4),_(),b(5,"1 "),_()(),xe()}if(2&e){const t=D(2);f(4),V("",t.placeholders.pager_go_to_page," ")}}function pj(e,n){1&e&&(Ae(0),m(1,"li",17),S(2,"app-icon",18),_(),xe())}function gj(e,n){if(1&e){const t=oe();m(0,"li",16)(1,"button",6),R("click",function(){const o=Z(t).$implicit;return Y(D(2).navigateToPage(o))}),m(2,"span",8),b(3),_(),b(4),_()()}if(2&e){const t=n.$implicit,r=D(2);_e("pagination__item--is-active",r.pager.currentPage===t),f(),re("aria-current",r.pager.currentPage===t?"page":null),f(2),V("",r.placeholders.pager_go_to_page," "),f(),V("",t," ")}}function mj(e,n){1&e&&(Ae(0),m(1,"li",17),S(2,"app-icon",18),_(),xe())}function _j(e,n){if(1&e){const t=oe();Ae(0),m(1,"li",16)(2,"button",6),R("click",function(){Z(t);const o=D(2);return Y(o.navigateToPage(o.pager.totalPages))}),m(3,"span",8),b(4),_(),b(5),_()(),xe()}if(2&e){const t=D(2);f(4),V("",t.placeholders.pager_go_to_page," "),f(),V("",t.pager.totalPages," ")}}function yj(e,n){if(1&e&&(Ae(0),M(1,hj,6,1,"ng-container",3)(2,pj,3,0,"ng-container",3)(3,gj,5,5,"li",15)(4,mj,3,0,"ng-container",3)(5,_j,6,2,"ng-container",3),xe()),2&e){const t=D();f(),p("ngIf",t.pager.pagesToShow.indexOf(1)<0),f(),p("ngIf",t.pager.currentPage-2>1),f(),p("ngForOf",t.pager.pagesToShow),f(),p("ngIf",t.pager.currentPage+2<t.pager.totalPages),f(),p("ngIf",t.pager.pagesToShow.indexOf(t.pager.totalPages)<0)}}function vj(e,n){if(1&e){const t=oe();m(0,"li",19)(1,"button",6),R("click",function(){Z(t);const o=D();return Y(o.navigateToPage(o.pager.currentPage+1))}),S(2,"app-icon",20),m(3,"span",8),b(4),_()()()}if(2&e){const t=D();f(4),x(t.placeholders.pager_next_page)}}let Ec=(()=>{class e{constructor(t,r,o){this.activeSearchQuery=t,this.viewPortScroller=r,this.breakpointerObserver=o,this.pageChanged=new Ne,this.isDesktop=!0}get totalPagesAsArray(){return[...Array(this.pager.totalPages).keys()]}ngOnInit(){this.breakpointerObserver.observe(["(min-width: 768px)"]).subscribe(t=>{this.isDesktop=t.matches})}ngOnChanges(t){const r=t?.pager?.previousValue?.currentPage,o=t?.pager?.currentValue?.currentPage;r&&r!==o&&(this.viewPortScroller.setOffset([0,185]),setTimeout(()=>this.viewPortScroller.scrollToAnchor("search-root"),0))}navigateToPage(t){this.activeSearchQuery.setPage(`${t}`),this.pageChanged.emit()}navigateToPageBySelect(t){const r=t.target;r.value&&this.navigateToPage(Number(r.value))}static#e=this.\u0275fac=function(r){return new(r||e)(E(Tt),E(Dh),E(cj))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-pagination"]],inputs:{placeholders:"placeholders",pager:"pager"},outputs:{pageChanged:"pageChanged"},features:[at],decls:6,vars:4,consts:[["aria-label","Paginering Navigatie",1,"pagination-wrapper"],[1,"pagination"],["class","pagination__item pagination__item--previous-page",4,"ngIf"],[4,"ngIf"],["class","pagination__item pagination__item--next-page",4,"ngIf"],[1,"pagination__item","pagination__item--previous-page"],["type","button",1,"pagination__link",3,"click"],["icon","chevron-left"],[1,"sr-only"],["for","paginationSelect",1,"sr-only"],[1,"pagination__selectwrapper"],[1,"pagination__selectwrapper__fakelabel"],["name","Pagina selectie","id","paginationSelect",1,"pagination__select",3,"change"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","pagination__item",3,"pagination__item--is-active",4,"ngFor","ngForOf"],[1,"pagination__item"],["aria-hidden","true",1,"pagination__item"],["icon","more-horizontal"],[1,"pagination__item","pagination__item--next-page"],["icon","chevron-right"]],template:function(r,o){1&r&&(m(0,"nav",0)(1,"ul",1),M(2,uj,5,1,"li",2)(3,fj,11,12,"ng-container",3)(4,yj,6,5,"ng-container",3)(5,vj,5,1,"li",4),_()()),2&r&&(f(2),p("ngIf",o.pager.currentPage>1),f(),p("ngIf",!o.isDesktop),f(),p("ngIf",o.isDesktop),f(),p("ngIf",o.pager.currentPage<o.pager.totalPages))},dependencies:[He,Ee,Jo,ei,Ye,Mb],encapsulation:2})}return e})();function Dj(e,n){if(1&e&&(m(0,"h2"),b(1),_()),2&e){const t=D();f(),x(t.title)}}let Ic=(()=>{class e{constructor(){this.title="",this.message=""}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-ng-error"]],inputs:{title:"title",message:"message"},decls:4,vars:2,consts:[[1,"ng-error"],[4,"ngIf"]],template:function(r,o){1&r&&(m(0,"div",0),M(1,Dj,2,1,"h2",1),m(2,"p"),b(3),_()()),2&r&&(f(),p("ngIf",o.title),f(2),x(o.message))},dependencies:[Ee],encapsulation:2})}return e})(),Cj=(()=>{class e{constructor(){this.resultCount=0,this.tabChange=new Ne}getResultLabel(){let t="";switch(this.searchResultType){case"pages":t="search_resulttype_content";break;case"documents":t="search_resulttype_media";break;case"datasets":t="search_resulttype_statistics"}return 1===this.resultCount&&(t=`${t}_singular`),this.placeholders[t]}toggleTab(t){this.tabChange.emit(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-totals-button"]],inputs:{placeholders:"placeholders",searchResultType:"searchResultType",resultCount:"resultCount"},outputs:{tabChange:"tabChange"},decls:5,vars:2,consts:[["type","button",1,"total-results__link",3,"click"]],template:function(r,o){1&r&&(m(0,"button",0),R("click",function(){return o.toggleTab(o.searchResultType)}),m(1,"strong"),b(2),_(),m(3,"span"),b(4),_()()),2&r&&(f(2),x(o.resultCount),f(2),V(" ",o.getResultLabel(),""))},encapsulation:2})}return e})();function bj(e,n){if(1&e&&(m(0,"option",4),b(1),_()),2&e){const t=n.$implicit,r=D();p("value",t),f(),Cn(" ",t," ",r.placeholders.pager_pageSizeSuffix," ")}}let mp=(()=>{class e{constructor(t){this.activeQuery=t,this.resultsLabel="",this.options=["10","20","50","100"]}ngOnInit(){this.limit&&this.updateLimit(),this.activeQuery.subscribe(t=>{t.limit&&(this.limit=t.limit)})}updateLimit(){this.activeQuery.setLimit(this.limit??"10")}static#e=this.\u0275fac=function(r){return new(r||e)(E(Tt))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-page-size-select"]],inputs:{resultsLabel:"resultsLabel",placeholders:"placeholders",limit:"limit"},decls:6,vars:3,consts:[[1,"c-select-dropdown","c-select-dropdown--flat","page-size-selector"],["for","page-size-selector",1,"sr-only"],["id","page-size-selector",1,"form-control-select",3,"ngModelChange","change","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(r,o){1&r&&(m(0,"div",0)(1,"label",1)(2,"span"),b(3),_()(),m(4,"select",2),El("ngModelChange",function(s){return Rf(o.limit,s)||(o.limit=s),s}),R("change",function(){return o.updateLimit()}),M(5,bj,2,3,"option",3),_()()),2&r&&(f(3),x(o.placeholders.pager_description),f(),wl("ngModel",o.limit),f(),p("ngForOf",o.options))},dependencies:[He,Jo,ei,kr,jn,fc],encapsulation:2})}return e})();function wj(e,n){if(1&e&&(m(0,"option",7),b(1),_()),2&e){const t=n.$implicit;p("value",t.value),f(),V(" ",t.name," ")}}let lI=(()=>{class e{constructor(t){this.activeQuery=t,this.resultsLabel="",this.sortOptions=[]}ngOnInit(){this.sortBy||(this.sortBy=this.sortOptions[0].value),this.activeQuery.subscribe(t=>{t.type===this.searchResultType&&t.sortBy&&(this.sortBy=t.sortBy)})}updateSortBy(){this.activeQuery.setSortBy(this.sortBy??"")}get selectedSortOptionName(){return this.sortOptions&&0!==this.sortOptions.length?this.sortOptions.find(r=>r.value===this.sortBy)?.name:void 0}static#e=this.\u0275fac=function(r){return new(r||e)(E(Tt))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-sort-options-select"]],inputs:{resultsLabel:"resultsLabel",sortOptions:"sortOptions",placeholders:"placeholders",sortBy:"sortBy",searchResultType:"searchResultType"},decls:9,vars:4,consts:[[1,"c-select-dropdown","c-select-dropdown--flat","page-sort-selector"],["for","page-sort-selector"],[1,"sr-only"],[1,"c-select-dropdown__selected-value"],["icon","arrow-sort"],["id","page-sort-selector",1,"form-control-select",3,"ngModelChange","change","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(r,o){1&r&&(m(0,"div",0)(1,"label",1)(2,"span",2),b(3),m(4,"span",3),b(5),_()(),S(6,"app-icon",4),_(),m(7,"select",5),El("ngModelChange",function(s){return Rf(o.sortBy,s)||(o.sortBy=s),s}),R("change",function(){return o.updateSortBy()}),M(8,wj,2,2,"option",6),_()()),2&r&&(f(3),V("",o.placeholders.pager_description," "),f(2),V(" ",o.selectedSortOptionName," "),f(2),wl("ngModel",o.sortBy),f(),p("ngForOf",o.sortOptions))},dependencies:[He,Jo,ei,kr,jn,fc,Ye],encapsulation:2})}return e})();function Ej(e,n){if(1&e&&(m(0,"span",10),b(1),_()),2&e){const t=D(2);f(),V('"',t.phrase,'"')}}function Ij(e,n){if(1&e){const t=oe();m(0,"app-totals-button",11),R("tabChange",function(o){return Z(t),Y(D(2).toggleTab(o))}),_()}if(2&e){let t;const r=D().$implicit,o=D();p("placeholders",o.placeholders)("resultCount",null==(t=o.results[o.getSearchResultType(r)])?null:t.resultCount)("searchResultType",o.getSearchResultType(r))}}function Tj(e,n){if(1&e&&(Ae(0),b(1),xe()),2&e){const t=D().$implicit;f(),x(t)}}function Mj(e,n){if(1&e&&(Ae(0)(1,6),M(2,Ej,2,1,"span",7)(3,Ij,1,3,"app-totals-button",8)(4,Tj,2,1,"ng-container",9),xe()()),2&e){const t=n.$implicit;f(),p("ngSwitch",!0),f(),p("ngSwitchCase","%phrase%"===t),f(),p("ngSwitchCase","%pages%"===t||"%documents%"===t||"%datasets%"===t)}}function Sj(e,n){if(1&e&&S(0,"app-sort-options-select",12),2&e){const t=D();p("sortOptions",t.sortOptions)("searchResultType",t.searchResultType)("sortBy",t.sortBy)("placeholders",t.placeholders)}}let Nj=(()=>{class e{constructor(){this.results={},this.phrase="",this.tabChange=new Ne,this.labelParts=[]}ngOnChanges(){this.labelParts=(this.phrase?this.placeholders.search_results:this.placeholders.search_results_no_phrase).split(/(%\w+%)/),this.searchResultType&&(this.sortOptions=this.results[this.searchResultType]?.sortOptions,this.sortBy=this.results[this.searchResultType]?.query.sortBy)}toggleTab(t){this.tabChange.emit(t)}getSearchResultType(t){return t.replaceAll("%","")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-searchresults-totals"]],inputs:{placeholders:"placeholders",results:"results",phrase:"phrase",searchResultType:"searchResultType"},outputs:{tabChange:"tabChange"},features:[at],decls:6,vars:3,consts:[[1,"searchresults-totals"],["aria-live","polite",1,"total-results"],[4,"ngFor","ngForOf"],[1,"searchresults-totals__filters"],[3,"sortOptions","searchResultType","sortBy","placeholders",4,"ngIf"],[3,"placeholders"],[3,"ngSwitch"],["class","bold",4,"ngSwitchCase"],[3,"placeholders","resultCount","searchResultType","tabChange",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"bold"],[3,"tabChange","placeholders","resultCount","searchResultType"],[3,"sortOptions","searchResultType","sortBy","placeholders"]],template:function(r,o){1&r&&(m(0,"div",0)(1,"div",1),M(2,Mj,5,3,"ng-container",2),_(),m(3,"div",3),M(4,Sj,1,4,"app-sort-options-select",4),S(5,"app-page-size-select",5),_()()),2&r&&(f(2),p("ngForOf",o.labelParts),f(2),p("ngIf",o.sortOptions&&o.sortOptions.length>0),f(),p("placeholders",o.placeholders))},dependencies:[He,Ee,xr,Cs,Xl,Cj,mp,lI],encapsulation:2})}return e})();function Aj(e,n){1&e&&S(0,"div",8)}function xj(e,n){if(1&e&&S(0,"app-filters",24),2&e){const t=D(3);p("filterOptions",t.results.pages.facetData)("placeholders",t.placeholders)}}function Fj(e,n){if(1&e&&(m(0,"li"),S(1,"app-searchresult-card",38),_()),2&e){const t=n.$implicit,r=D(5);f(),p("placeholders",r.placeholders)("result",t)("searchResultType","pages")("isFeaturedResult",!0)}}function Oj(e,n){if(1&e){const t=oe();m(0,"div",29)(1,"div",30)(2,"h2",31),b(3),_(),m(4,"div",32)(5,"button",33),R("click",function(o){return Z(t),Y(D(4).toggleTooltip(o))}),m(6,"span"),b(7),_(),S(8,"app-icon",34),_(),m(9,"span",35),b(10),_()()(),m(11,"ul",36),M(12,Fj,2,4,"li",37),_()()}if(2&e){const t=D(4);f(3),V(" ",t.placeholders.search_featuredresults_title," "),f(2),re("aria-expanded",t.isTooltipVisible),f(2),x(t.placeholders.search_featuredresults_hint),f(2),_e("js-visible",t.isTooltipVisible),f(),x(t.placeholders.search_featuredresults_hint_description),f(2),p("ngForOf",t.results.pages.featuredResults)}}function Rj(e,n){if(1&e&&S(0,"app-searchresult-card",39),2&e){const t=n.$implicit;p("placeholders",D(4).placeholders)("result",t)("searchResultType","pages")}}function Pj(e,n){if(1&e&&(m(0,"div",25)(1,"h2",26),b(2),_(),M(3,Oj,13,7,"div",27)(4,Rj,1,3,"app-searchresult-card",28),_()),2&e){const t=D(3);_e("js-is-loading",t.isLoading),f(2),x(t.placeholders.search_results_label),f(),p("ngIf",t.results.pages.featuredResults.length>0&&1===t.results.pages.pager.currentPage),f(),p("ngForOf",t.results.pages.resultData)}}function kj(e,n){if(1&e){const t=oe();m(0,"app-pagination",40),R("pageChanged",function(){return Z(t),Y(D(3).onPageChanged())}),_()}if(2&e){const t=D(3);p("placeholders",t.placeholders)("pager",t.results.pages.pager)}}function Lj(e,n){if(1&e&&(Ae(0),S(1,"div",41),xe()),2&e){const t=D(3);f(),p("innerHtml",t.placeholders.search_noresults,wt)}}function Vj(e,n){if(1&e){const t=oe();m(0,"div",15)(1,"div",1)(2,"div",2)(3,"app-searchresults-totals",16),R("tabChange",function(o){return Z(t),Y(D(2).toggleTab(o))}),_()()(),m(4,"div",1)(5,"div",17),M(6,xj,1,2,"app-filters",18),_(),m(7,"div",19),S(8,"app-pill-group",20),M(9,Pj,5,5,"div",21)(10,kj,1,2,"app-pagination",22)(11,Lj,2,1,"ng-container",23),_()()()}if(2&e){const t=D(2);_e("js-active","pages"===t.selectedTab),p("id","result-pages"),re("aria-labelledby","pages-tab"),f(3),p("phrase",t.resultsLabel)("placeholders",t.placeholders)("results",t.results)("searchResultType","pages"),f(3),p("ngIf",t.results.pages.facetData&&t.results.pages.facetData.length>0),f(2),p("filterOptions",t.results.pages.facetData)("placeholders",t.placeholders)("isDetached",!0),f(),p("ngIf",t.results.pages.resultCount>0),f(),p("ngIf",t.results.pages.pager&&t.results.pages.pager.totalPages>1),f(),p("ngIf",!t.isLoading&&0===t.results.pages.resultCount)}}function jj(e,n){if(1&e&&S(0,"app-filters",24),2&e){const t=D(3);p("filterOptions",t.results.documents.facetData)("placeholders",t.placeholders)}}function Bj(e,n){if(1&e&&S(0,"app-searchresult-card",39),2&e){const t=n.$implicit;p("placeholders",D(4).placeholders)("result",t)("searchResultType","documents")}}function Hj(e,n){if(1&e&&(m(0,"div",25),M(1,Bj,1,3,"app-searchresult-card",28),_()),2&e){const t=D(3);_e("js-is-loading",t.isLoading),f(),p("ngForOf",t.results.documents.resultData)}}function Uj(e,n){if(1&e){const t=oe();m(0,"app-pagination",40),R("pageChanged",function(){return Z(t),Y(D(3).onPageChanged())}),_()}if(2&e){const t=D(3);p("placeholders",t.placeholders)("pager",t.results.documents.pager)}}function $j(e,n){if(1&e&&(Ae(0),S(1,"div",41),xe()),2&e){const t=D(3);f(),p("innerHtml",t.placeholders.search_noresults,wt)}}function Gj(e,n){if(1&e){const t=oe();m(0,"div",15)(1,"div",1)(2,"div",2)(3,"app-searchresults-totals",16),R("tabChange",function(o){return Z(t),Y(D(2).toggleTab(o))}),_()()(),m(4,"div",1)(5,"div",17),M(6,jj,1,2,"app-filters",18),_(),m(7,"div",19),S(8,"app-pill-group",20),M(9,Hj,2,3,"div",21)(10,Uj,1,2,"app-pagination",22)(11,$j,2,1,"ng-container",23),_()()()}if(2&e){const t=D(2);_e("js-active","documents"===t.selectedTab),p("id","result-documents"),re("aria-labelledby","documents-tab"),f(3),p("phrase",t.resultsLabel)("placeholders",t.placeholders)("results",t.results)("searchResultType","documents"),f(3),p("ngIf",t.results.documents.facetData&&t.results.documents.facetData.length>0),f(2),p("filterOptions",t.results.documents.facetData)("placeholders",t.placeholders)("isDetached",!0),f(),p("ngIf",t.results.documents.resultCount>0),f(),p("ngIf",t.results.documents.pager&&t.results.documents.pager.totalPages>1),f(),p("ngIf",!t.isLoading&&0===t.results.documents.resultCount)}}function zj(e,n){if(1&e&&S(0,"app-filters",24),2&e){const t=D(3);p("filterOptions",t.results.datasets.facetData)("placeholders",t.placeholders)}}function qj(e,n){if(1&e&&S(0,"app-searchresult-card",43),2&e){const t=n.$implicit,r=D(4);p("placeholders",r.placeholders)("result",t)("searchResultType","datasets")("facetData",r.results.datasets.facetData)}}function Wj(e,n){if(1&e&&(m(0,"div",25),M(1,qj,1,4,"app-searchresult-card",42),_()),2&e){const t=D(3);_e("js-is-loading",t.isLoading),f(),p("ngForOf",t.results.datasets.resultData)}}function Qj(e,n){if(1&e){const t=oe();m(0,"app-pagination",40),R("pageChanged",function(){return Z(t),Y(D(3).onPageChanged())}),_()}if(2&e){const t=D(3);p("placeholders",t.placeholders)("pager",t.results.datasets.pager)}}function Zj(e,n){if(1&e&&(Ae(0),S(1,"div",41),xe()),2&e){const t=D(3);f(),p("innerHtml",t.placeholders.search_noresults,wt)}}function Yj(e,n){if(1&e){const t=oe();m(0,"div",15)(1,"div",1)(2,"div",2)(3,"app-searchresults-totals",16),R("tabChange",function(o){return Z(t),Y(D(2).toggleTab(o))}),_()()(),m(4,"div",1)(5,"div",17),M(6,zj,1,2,"app-filters",18),_(),m(7,"div",19),S(8,"app-pill-group",20),M(9,Wj,2,3,"div",21)(10,Qj,1,2,"app-pagination",22)(11,Zj,2,1,"ng-container",23),_()()()}if(2&e){const t=D(2);_e("js-active","datasets"===t.selectedTab),p("id","result-datasets"),re("aria-labelledby","datasets-tab"),f(3),p("phrase",t.resultsLabel)("placeholders",t.placeholders)("results",t.results)("searchResultType","datasets"),f(3),p("ngIf",t.results.datasets.facetData&&t.results.datasets.facetData.length>0),f(2),p("filterOptions",t.results.datasets.facetData)("placeholders",t.placeholders)("isDetached",!0),f(),p("ngIf",t.results.datasets.resultCount>0),f(),p("ngIf",t.results.datasets.pager&&t.results.datasets.pager.totalPages>1),f(),p("ngIf",!t.isLoading&&0===t.results.datasets.resultCount)}}function Kj(e,n){if(1&e){const t=oe();m(0,"div",1)(1,"div",2)(2,"div",9)(3,"div",10)(4,"button",11),R("click",function(){return Z(t),Y(D().toggleTab("pages"))}),b(5),bn(6,"titlecase"),_(),m(7,"button",12),R("click",function(){return Z(t),Y(D().toggleTab("documents"))}),b(8),bn(9,"titlecase"),_(),m(10,"button",13),R("click",function(){return Z(t),Y(D().toggleTab("datasets"))}),b(11),bn(12,"titlecase"),_()(),M(13,Vj,12,15,"div",14)(14,Gj,12,15,"div",14)(15,Yj,12,15,"div",14),_()()()}if(2&e){const t=D();f(3),re("aria-label",t.placeholders.search_resulttypes),f(),re("aria-selected","pages"===t.selectedTab),f(),V(" ",On(6,10,t.placeholders.search_resulttype_content)," "),f(2),re("aria-selected","documents"===t.selectedTab),f(),V(" ",On(9,12,t.placeholders.search_resulttype_media)," "),f(2),re("aria-selected","datasets"===t.selectedTab),f(),V(" ",On(12,14,t.placeholders.search_resulttype_statistics)," "),f(2),p("ngIf",t.results.pages),f(),p("ngIf",t.results.documents),f(),p("ngIf",t.results.datasets)}}function Xj(e,n){if(1&e&&S(0,"app-ng-error",44),2&e){const t=D();p("title",t.placeholders.error_title)("message",t.placeholders.error_message)}}let Jj=(()=>{class e{constructor(t,r,o,i,s){this.activeSearchResults=t,this.activeSearchQuery=r,this.searchService=o,this.apiHttpService=i,this.stripHtmlPipe=s,this.destroy=new vt,this.tabQueryState={pages:void 0,documents:void 0,datasets:void 0},this.selectedTab="pages",this.results={},this.isLoading=!1,this.error=!1,this.isTooltipVisible=!1,this.isPaginated=!1,o.initialise(a=>i.getCombinedSearchResults(a))}get tabQueryValue(){return new URLSearchParams(window.location.search).get("t")??this.selectedTab}get resultsLabel(){return this.stripHtmlPipe.transform(this.results[this.selectedTab]?.query?.phrase??"")}ngOnInit(){this.apiHttpService.isLoading$.pipe(qt(this.destroy)).subscribe(t=>this.isLoading=t),this.activeSearchResults.pipe(qt(this.destroy)).subscribe(t=>{if(t){const r=t,o=r.pages?.query??r.documents?.query??r.datasets?.query??"";this.results={pages:r?.pages??this.results.pages,documents:r?.documents??this.results.documents,datasets:r?.datasets??this.results.datasets},this.error=!1,this.apiHttpService.isLoading$.next(!1),this.apiHttpService.initialRequestDone=!0,o&&this.saveTabState(o),setTimeout(()=>{this.isPaginated&&this.searchResultCards&&this.searchResultCards.first&&(this.searchResultCards.first.focus(),this.isPaginated=!1)},0)}},t=>{this.error=!0,this.apiHttpService.isLoading$.next(!1)}),this.toggleTab(this.tabQueryValue),document.addEventListener("click",this.handleDocumentClick.bind(this)),document.addEventListener("keydown",this.handleEscapeKey.bind(this))}ngOnDestroy(){this.destroy.next(),this.destroy.complete(),document.removeEventListener("click",this.handleDocumentClick.bind(this)),document.removeEventListener("keydown",this.handleEscapeKey.bind(this))}toggleTab(t){if(this.selectedTab=t,void 0!==this.tabQueryState[this.selectedTab]){const r=this.tabQueryState[this.selectedTab];r&&(r.type=this.selectedTab,this.activeSearchQuery.setQuery(this.tabQueryState[this.selectedTab]))}}saveTabState(t){const r={...t,phrase:t.phrase,page:"1",sortBy:"",filterData:{}};t.type&&(this.selectedTab=t.type),this.prevQuery!==t.phrase?(this.tabQueryState.pages=r,this.tabQueryState.documents=r,this.tabQueryState.datasets=r):this.tabQueryState[this.selectedTab]=t,this.tabQueryState.pages&&this.tabQueryState.documents&&this.tabQueryState.datasets&&(this.tabQueryState.pages.phrase=t.phrase,this.tabQueryState.documents.phrase=t.phrase,this.tabQueryState.datasets.phrase=t.phrase),this.prevQuery=t.phrase}toggleTooltip(t){t.stopPropagation(),this.isTooltipVisible=!this.isTooltipVisible}closeTooltip(){this.isTooltipVisible=!1}handleDocumentClick(t){const r=document.querySelector(".boosted-results__hint"),o=document.querySelector(".boosted-results__tooltip");r&&o&&!r.contains(t.target)&&!o.contains(t.target)&&this.closeTooltip()}handleEscapeKey(t){"Escape"===t.key&&this.closeTooltip()}onPageChanged(){this.isPaginated=!0}static#e=this.\u0275fac=function(r){return new(r||e)(E(Ps),E(Tt),E(pc),E(Br),E(lp))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-search"]],viewQuery:function(r,o){if(1&r&&Bt(NE,5),2&r){let i;Ht(i=Ut())&&(o.searchResultCards=i)}},inputs:{placeholders:"placeholders",suggestions:"suggestions"},decls:9,vars:9,consts:[[1,"strip-section"],[1,"row"],[1,"col-xs-12"],["searchType","search","ariaLabelledby","ng-searchbox-title",3,"autosuggestEnabled","placeholders","label","suggestionsLabel","suggestions"],["id","ng-searchbox-title",1,"prominent-searchbox__results-title"],["class","search-loader js-is-loading",4,"ngIf"],["class","row",4,"ngIf"],[3,"title","message",4,"ngIf"],[1,"search-loader","js-is-loading"],[1,"tab-panel","tab-panel--searchresults"],["role","tablist","aria-orientation","horizontal",1,"tab-panel__tablist"],["role","tab","id","pages-tab","aria-controls","result-pages",3,"click"],["role","tab","id","documents-tab","aria-controls","result-documents",3,"click"],["role","tab","id","datasets-tab","aria-controls","result-datasets",3,"click"],["role","tabpanel",3,"id","js-active",4,"ngIf"],["role","tabpanel",3,"id"],[3,"tabChange","phrase","placeholders","results","searchResultType"],[1,"col-lg-3","col-xs-12"],[3,"filterOptions","placeholders",4,"ngIf"],[1,"col-lg-9","col-xs-12","layout-with-sidebar"],[3,"filterOptions","placeholders","isDetached"],["class","search-results-container",3,"js-is-loading",4,"ngIf"],[3,"placeholders","pager","pageChanged",4,"ngIf"],[4,"ngIf"],[3,"filterOptions","placeholders"],[1,"search-results-container"],[1,"sr-only"],["class","boosted-results",4,"ngIf"],[3,"placeholders","result","searchResultType",4,"ngFor","ngForOf"],[1,"boosted-results"],[1,"boosted-results__header"],[1,"boosted-results__title"],[1,"boosted-results__hint-wrapper"],["aria-haspopup","true","aria-controls","boosted-results-tooltip",1,"boosted-results__hint",3,"click"],["icon","question-circle"],["id","boosted-results-tooltip",1,"boosted-results__tooltip"],[1,"boosted-results__list"],[4,"ngFor","ngForOf"],[3,"placeholders","result","searchResultType","isFeaturedResult"],[3,"placeholders","result","searchResultType"],[3,"pageChanged","placeholders","pager"],[3,"innerHtml"],[3,"placeholders","result","searchResultType","facetData",4,"ngFor","ngForOf"],[3,"placeholders","result","searchResultType","facetData"],[3,"title","message"]],template:function(r,o){1&r&&(m(0,"section",0)(1,"div",1)(2,"div",2)(3,"app-prominent-searchbox",3)(4,"h2",4),b(5),_()()()(),M(6,Aj,1,0,"div",5)(7,Kj,16,16,"div",6),_(),M(8,Xj,1,2,"app-ng-error",7)),2&r&&(f(3),p("autosuggestEnabled",!0)("placeholders",o.placeholders)("label",o.placeholders.search_searchbox_search)("suggestionsLabel",o.placeholders.search_term_suggestions)("suggestions",o.suggestions),f(2),V(" ",o.placeholders.search_searchbox_title," "),f(),p("ngIf",o.isLoading&&!o.apiHttpService.initialRequestDone),f(),p("ngIf",o.apiHttpService.initialRequestDone&&!o.error),f(),p("ngIf",!o.isLoading&&o.error))},dependencies:[He,Ee,Ye,up,dp,NE,Ec,bc,Ic,Nj,Sb],encapsulation:2})}return e})();function eB(e,n){if(1&e&&(m(0,"span"),b(1),_()),2&e){const t=D();f(),Cn("",t.placeholders.publication_version," ",t.download.version," - ")}}function tB(e,n){if(1&e&&(m(0,"time",7),b(1),_()),2&e){const t=D();f(),V("",t.download.date," |")}}let nB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-button-download"]],inputs:{download:"download",placeholders:"placeholders"},decls:11,vars:9,consts:[[3,"href","title","target","rel"],["icon","download"],[1,"btn__text"],[4,"ngIf"],[1,"download-list__item__meta"],["class","download-block__date",4,"ngIf"],[1,"download-block__filesize"],[1,"download-block__date"]],template:function(r,o){if(1&r&&(m(0,"a",0),S(1,"app-icon",1),m(2,"span",2),M(3,eB,2,2,"span",3),b(4),_()(),m(5,"div",4),b(6," ("),M(7,tB,2,1,"time",5),m(8,"span",6),b(9),_(),b(10,")\n"),_()),2&r){let i;p("href",o.download.url,Ze)("title",o.download.fileName)("target",o.download.targetNewWindow?"_blank":"_self")("rel",o.download.targetNewWindow?"noreferrer noopener":""),f(3),p("ngIf",o.download.version),f(),x(null!==(i=o.download.name)&&void 0!==i?i:o.download.fileName),f(3),p("ngIf",o.download.date),f(2),Cn("",o.download.size," ",o.download.extension,"")}},dependencies:[Ee,Ye],encapsulation:2})}return e})(),rB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-download-block"]],inputs:{placeholders:"placeholders",download:"download"},decls:1,vars:2,consts:[[3,"download","placeholders"]],template:function(r,o){1&r&&S(0,"app-button-download",0),2&r&&p("download",o.download)("placeholders",o.placeholders)},dependencies:[nB],encapsulation:2})}return e})();function oB(e,n){if(1&e&&(m(0,"li",2),S(1,"app-download-block",3),_()),2&e){const t=n.$implicit,r=D();f(),p("download",t)("placeholders",r.placeholders)}}let iB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-download-block-group"]],inputs:{placeholders:"placeholders",downloads:"downloads"},decls:2,vars:1,consts:[[1,"download-list"],["class","download-list__item",4,"ngFor","ngForOf"],[1,"download-list__item"],[3,"download","placeholders"]],template:function(r,o){1&r&&(m(0,"ul",0),M(1,oB,2,2,"li",1),_()),2&r&&(f(),p("ngForOf",o.downloads))},dependencies:[He,rB],encapsulation:2})}return e})();function sB(e,n){if(1&e&&(m(0,"a",1)(1,"span",2),b(2),_()()),2&e){const t=D();p("href",t.button.url,Ze)("target",t.button.targetNewWindow?"_blank":"_self")("rel",t.button.targetNewWindow?"noreferrer noopener":"")("title",t.button.title),f(2),x(t.button.linkName?t.button.linkName:t.button.title)}}let aB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-button"]],inputs:{button:"button"},decls:1,vars:1,consts:[["class","btn btn--primary",3,"href","target","rel","title",4,"ngIf"],[1,"btn","btn--primary",3,"href","target","rel","title"],[1,"btn__text"]],template:function(r,o){1&r&&M(0,sB,3,5,"a",0),2&r&&p("ngIf",o.button.displayButton)},dependencies:[Ee],encapsulation:2})}return e})();const lB=["titleLink"],cB=(e,n)=>({"publication-status-open":e,"publication-status-closed":n});function uB(e,n){if(1&e&&(m(0,"p",22)(1,"span",17),b(2),_(),b(3),_()),2&e){const t=D();f(2),x(t.placeholders.publication_supervision_label),f(),V(" ",t.result.label," ")}}function dB(e,n){if(1&e&&(m(0,"p",23),b(1),_()),2&e){const t=D();f(),bl(" ",t.placeholders.publication_volume," ",t.result.volumeNumber," - ",t.result.followUpNumber," ")}}function fB(e,n){if(1&e&&(m(0,"span"),b(1),_()),2&e){const t=D(2);f(),V(" ",t.placeholders.supervision_status_open," ")}}function hB(e,n){if(1&e&&(m(0,"span"),b(1),_()),2&e){const t=D(2);f(),V(" ",t.placeholders.supervision_status_closed," ")}}function pB(e,n){if(1&e&&(m(0,"p",24)(1,"span",17),b(2),_(),M(3,fB,2,1,"span",25)(4,hB,2,1,"span",25),_()),2&e){const t=D();f(2),V("Status ",t.result.label,""),f(),p("ngIf",!0===t.result.isOpen),f(),p("ngIf",!1===t.result.isOpen)}}function gB(e,n){if(1&e&&(m(0,"p",26),b(1),_()),2&e){const t=D();f(),Cn(" ",t.placeholders.search_lastupdated_label," ",t.result.lastUpdateDate," ")}}function mB(e,n){if(1&e){const t=oe();m(0,"li")(1,"button",31),R("click",function(){const o=Z(t).$implicit;return Y(D(2).setLabelFilter(o.name))}),b(2),_()()}if(2&e){const t=n.$implicit;f(2),V(" ",t.name," ")}}function _B(e,n){if(1&e&&(m(0,"div",27)(1,"h4",17),b(2),_(),m(3,"div",28)(4,"span",29),b(5),_(),m(6,"ul"),M(7,mB,3,1,"li",30),_()()()),2&e){const t=D();f(2),x(t.placeholders.filter_authors),f(3),x(t.placeholders.publication_author_label),f(2),p("ngForOf",t.result.authors)}}function yB(e,n){1&e&&S(0,"div",32),2&e&&p("innerHtml",D().result.summary,wt)}function vB(e,n){1&e&&S(0,"app-button",35),2&e&&p("button",n.$implicit)}function DB(e,n){if(1&e&&(m(0,"div",33),M(1,vB,1,1,"app-button",34),_()),2&e){const t=D();f(),p("ngForOf",t.result.links)}}function CB(e,n){if(1&e&&S(0,"app-download-block-group",36),2&e){const t=D();p("downloads",t.result.fileResults)("placeholders",t.placeholders)}}function bB(e,n){if(1&e){const t=oe();m(0,"app-tags-list",37),R("setLabelFilterEvent",function(o){return Z(t),Y(D().setLabelFilter(o))}),_()}if(2&e){const t=D();p("tags",t.result.tags)("screenreaderTitle",t.placeholders.search_tags_screenreader_title)("showAllLabel",t.placeholders.search_show_all_tags)}}let cI=(()=>{class e{constructor(t,r){this.activeSearchQuery=t,this.viewPortScroller=r}ngOnInit(){this.activeSearchQuery.subscribe(t=>{t.filterData&&(this.currentFilterData=t.filterData)})}ngAfterViewInit(){}setLabelFilter(t){const r=this.getFacetFilterData(t);r&&(this.activeSearchQuery.setFilterData(r,"1"),this.viewPortScroller.scrollToPosition([0,0]))}getFacetFilterData(t){if(this.facetData)for(let r=0;r<this.facetData.length;r++){const o=this.facetData[r];for(let i=0;i<o.hits.length;i++){const s=o.hits[i];if(s.value===t)return{...this.currentFilterData,[o.parameters[0]]:[s.key]}}}}focus(){this.titleLink&&this.titleLink.nativeElement.focus()}static#e=this.\u0275fac=function(r){return new(r||e)(E(Tt),E(Dh))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-publication-card"]],viewQuery:function(r,o){if(1&r&&Bt(lB,5),2&r){let i;Ht(i=Ut())&&(o.titleLink=i.first)}},inputs:{placeholders:"placeholders",result:"result",facetData:"facetData"},decls:27,vars:21,consts:[["titleLink",""],[1,"publication-card",3,"ngClass"],[1,"publication-card__header"],[1,"publication-card__title"],[3,"href"],["role","doc-subtitle","class","publication-card__label",4,"ngIf"],["class","publication-card__repac",4,"ngIf"],["class","publication-card__status",4,"ngIf"],[1,"publication-card__content"],[1,"publication-card__meta"],[1,"publication-card__date"],[1,"publication-card__date__posted"],["class","publication-card__date__modified",4,"ngIf"],["class","publication-card__authors",4,"ngIf"],[1,"publication-card__snippet"],["class","rte",3,"innerHtml",4,"ngIf"],[1,"publication-card__readmore","readmore-link",3,"href"],[1,"sr-only"],["icon","arrow-right"],["class","content-component link-block rte",4,"ngIf"],[3,"downloads","placeholders",4,"ngIf"],[3,"tags","screenreaderTitle","showAllLabel","setLabelFilterEvent",4,"ngIf"],["role","doc-subtitle",1,"publication-card__label"],[1,"publication-card__repac"],[1,"publication-card__status"],[4,"ngIf"],[1,"publication-card__date__modified"],[1,"publication-card__authors"],[1,"authors-list"],[1,"authors-list__label"],[4,"ngFor","ngForOf"],["type","button",3,"click"],[1,"rte",3,"innerHtml"],[1,"content-component","link-block","rte"],[3,"button",4,"ngFor","ngForOf"],[3,"button"],[3,"downloads","placeholders"],[3,"setLabelFilterEvent","tags","screenreaderTitle","showAllLabel"]],template:function(r,o){1&r&&(m(0,"article",1)(1,"header",2)(2,"h3",3)(3,"a",4,0),b(5),_()(),M(6,uB,4,2,"p",5)(7,dB,2,3,"p",6)(8,pB,5,3,"p",7),_(),m(9,"div",8)(10,"div",9)(11,"div",10)(12,"p",11),b(13),_(),M(14,gB,2,2,"p",12),_(),M(15,_B,8,3,"div",13),_(),m(16,"div",14),M(17,yB,1,1,"div",15),m(18,"a",16)(19,"span"),b(20),m(21,"span",17),b(22),_()(),S(23,"app-icon",18),_(),M(24,DB,2,1,"div",19),_(),M(25,CB,1,2,"app-download-block-group",20)(26,bB,1,3,"app-tags-list",21),_()()),2&r&&(p("ngClass",QD(18,cB,!0===o.result.isOpen,!1===o.result.isOpen)),f(3),p("href",o.result.url,Ze),f(2),x(o.result.name),f(),p("ngIf",o.result.label),f(),p("ngIf",o.result.volumeNumber&&o.result.followUpNumber),f(),p("ngIf",!0===o.result.isOpen||!1===o.result.isOpen),f(5),Cn(" ",o.placeholders.search_published_label," ",o.result.date," "),f(),p("ngIf",o.result.lastUpdateDate),f(),p("ngIf",o.result.authors&&o.result.authors.length>0),f(2),p("ngIf",o.result.summary&&o.result.summary.length>0),f(),p("href",o.result.url,Ze),f(2),V(" ",o.placeholders.publication_read_more_alt," "),f(2),Cn("",o.placeholders.publication_about," ",o.result.name,""),f(2),p("ngIf",o.result.links&&o.result.links.length>0),f(),p("ngIf",o.result.fileResults.length>0),f(),p("ngIf",o.result.tags&&o.result.tags.length>0))},dependencies:[gh,He,Ee,Ye,iB,aB,SE],encapsulation:2})}return e})();const wB=["*"];function EB(e,n){if(1&e&&S(0,"app-sort-options-select",5),2&e){const t=D();p("sortOptions",t.sortOptions)("sortBy",t.sortBy)("placeholders",t.placeholders)}}let uI=(()=>{class e{constructor(){this.label="",this.labelParts=[],this.fullResultsMessage=""}ngOnChanges(t){this.labelParts=this.resultsLabel.split(/(%\w+%)/),(t.resultCount||t.resultsLabel)&&this.updateFullResultsMessage()}updateFullResultsMessage(){this.fullResultsMessage=this.resultsLabel.replace("%results%",`<span class="bold">${this.resultCount}</span>`)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-overview-totals"]],inputs:{label:"label",placeholders:"placeholders",sortOptions:"sortOptions",sortBy:"sortBy",resultsLabel:"resultsLabel",resultCount:"resultCount"},features:[at],ngContentSelectors:wB,decls:6,vars:3,consts:[[1,"searchresults-totals"],["aria-live","polite",1,"total-results",3,"innerHTML"],[1,"searchresults-totals__filters"],[3,"sortOptions","sortBy","placeholders",4,"ngIf"],[3,"placeholders"],[3,"sortOptions","sortBy","placeholders"]],template:function(r,o){1&r&&(Dl(),m(0,"div",0),S(1,"div",1),m(2,"div",2),M(3,EB,1,3,"app-sort-options-select",3),S(4,"app-page-size-select",4),Cl(5),_()()),2&r&&(f(),p("innerHTML",o.fullResultsMessage,wt),f(2),p("ngIf",o.sortOptions&&o.sortOptions.length>0),f(),p("placeholders",o.placeholders))},dependencies:[Ee,mp,lI],encapsulation:2})}return e})();function IB(e,n){if(1&e&&S(0,"app-overview-totals",16),2&e){const t=D();p("placeholders",t.placeholders)("resultCount",t.resultCount)("sortOptions",t.sortOptions)("sortBy",t.sortBy)("resultsLabel",t.placeholders.search_publications_results)}}function TB(e,n){if(1&e&&S(0,"app-filters",17),2&e){const t=D();p("filterOptions",t.facetData)("placeholders",t.placeholders)("teaserUrl",t.teaserUrl)("teaserTitle",t.teaserTitle)}}function MB(e,n){1&e&&S(0,"div",18),2&e&&p("innerHtml",D().placeholders.filter_noresults,wt)}function SB(e,n){if(1&e&&S(0,"app-publication-card",19),2&e){const t=n.$implicit,r=D();p("result",t)("facetData",r.facetData)("placeholders",r.placeholders)}}function NB(e,n){if(1&e&&(m(0,"h3",29),b(1),_()),2&e){const t=D(2);f(),x(t.teaserTitle)}}function AB(e,n){if(1&e&&(m(0,"div",20)(1,"div",21),M(2,NB,2,1,"h3",22),m(3,"a",23),b(4),_()(),yr(),m(5,"svg",24),S(6,"path",25)(7,"path",26)(8,"path",27)(9,"path",28),_()()),2&e){const t=D();f(2),p("ngIf",t.teaserTitle),f(),p("href",t.teaserUrl,Ze),f(),x(t.placeholders.inform_me_label)}}function xB(e,n){if(1&e){const t=oe();m(0,"app-pagination",30),R("pageChanged",function(){return Z(t),Y(D().onPageChanged())}),_()}if(2&e){const t=D();p("placeholders",t.placeholders)("pager",t.pager)}}function FB(e,n){if(1&e&&S(0,"app-ng-error",31),2&e){const t=D();p("title",t.placeholders.error_title)("message",t.placeholders.error_message)}}let OB=(()=>{class e{constructor(t,r,o){this.searchService=t,this.apiHttpService=r,this.activeSearchResults=o,this.destroy=new vt,this.results=[],this.isLoading=!1,this.error=!1,this.isPaginated=!1,t.initialise(i=>r.getPublicationResults(i))}ngOnInit(){this.apiHttpService.isLoading$.pipe(qt(this.destroy)).subscribe(t=>this.isLoading=t),this.activeSearchResults.pipe(qt(this.destroy)).subscribe(t=>{const r=t;t&&(this.facetData=r.facetData,this.sortOptions=r.sortOptions,this.sortBy=r.query.sortBy,this.resultCount=r.resultCount,this.results=r.resultData,this.pager=r.pager,this.apiHttpService.isLoading$.next(!1),setTimeout(()=>{this.isPaginated&&this.publicationCards&&this.publicationCards.first&&(this.publicationCards.first.focus(),this.isPaginated=!1)},0))},t=>{this.error=!0,this.apiHttpService.isLoading$.next(!1)})}ngAfterViewInit(){}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}onPageChanged(){this.isPaginated=!0}static#e=this.\u0275fac=function(r){return new(r||e)(E(pc),E(Br),E(Ps))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-publications"]],viewQuery:function(r,o){if(1&r&&Bt(cI,5),2&r){let i;Ht(i=Ut())&&(o.publicationCards=i)}},inputs:{placeholders:"placeholders",teaserUrl:"teaserUrl",teaserTitle:"teaserTitle",suggestions:"suggestions"},decls:20,vars:18,consts:[[1,"strip-section"],[1,"row"],[1,"col-xs-12"],["searchType","search_publications","ariaLabelledby","ng-searchbox-title",3,"autosuggestEnabled","placeholders","label","suggestionsLabel","suggestions"],["id","ng-searchbox-title",1,"prominent-searchbox__results-title"],[3,"placeholders","resultCount","sortOptions","sortBy","resultsLabel",4,"ngIf"],[1,"col-lg-3","col-xs-12"],[3,"filterOptions","placeholders","teaserUrl","teaserTitle",4,"ngIf"],[1,"col-lg-9","col-xs-12","layout-with-sidebar"],[3,"filterOptions","placeholders","isDetached"],[3,"innerHtml",4,"ngIf"],[1,"search-results-container"],[3,"result","facetData","placeholders",4,"ngFor","ngForOf"],["class","teaser",4,"ngIf"],[3,"placeholders","pager","pageChanged",4,"ngIf"],[3,"title","message",4,"ngIf"],[3,"placeholders","resultCount","sortOptions","sortBy","resultsLabel"],[3,"filterOptions","placeholders","teaserUrl","teaserTitle"],[3,"innerHtml"],[3,"result","facetData","placeholders"],[1,"teaser"],[1,"teaser__content"],["class","teaser__title",4,"ngIf"],[1,"teaser__link",3,"href"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","56","height","53","fill","none","viewBox","0 0 56 53",1,"teaser__icon"],["fill","#1226AA","d","M48.96 12.5h-3.031v32.206h3.035a2.194 2.194 0 0 0 1.535-.629c.407-.401.637-.945.638-1.513V14.642a2.114 2.114 0 0 0-.638-1.516 2.176 2.176 0 0 0-1.54-.626Z"],["fill","#73C2FA","d","M46.876 42.563V10.441c0-.568-.23-1.113-.637-1.515a2.19 2.19 0 0 0-1.537-.627H7.85a2.196 2.196 0 0 0-1.535.628 2.136 2.136 0 0 0-.633 1.514v32.122c0 .569.229 1.113.636 1.515.408.402.96.628 1.537.628h41.194a2.19 2.19 0 0 1-1.537-.628 2.127 2.127 0 0 1-.636-1.515Z"],["fill","#3B54F5","d","M43.561 19.035H8.996v-4.201h34.565v4.2Z"],["fill","#fff","d","M24.148 25.568H8.996v-2.334h15.152v2.334ZM24.148 29.302H8.996V26.97h15.152v2.333ZM24.148 33.037H8.996v-2.334h15.152v2.334ZM24.148 36.771H8.996v-2.334h15.152v2.334ZM24.148 40.506H8.996v-2.334h15.152v2.334ZM43.561 40.506H28.409v-2.334h15.152v2.334ZM43.561 35.837H28.409V23.234h15.152v12.603Z"],[1,"teaser__title"],[3,"pageChanged","placeholders","pager"],[3,"title","message"]],template:function(r,o){1&r&&(m(0,"section",0)(1,"div",1)(2,"div",2)(3,"app-prominent-searchbox",3)(4,"h2",4),b(5),_()()()(),m(6,"div",1)(7,"div",2),M(8,IB,1,5,"app-overview-totals",5),_()(),m(9,"div",1)(10,"div",6),M(11,TB,1,4,"app-filters",7),_(),m(12,"div",8),S(13,"app-pill-group",9),M(14,MB,1,1,"div",10),m(15,"div",11),M(16,SB,1,3,"app-publication-card",12)(17,AB,10,3,"div",13),_(),M(18,xB,1,2,"app-pagination",14),_()()(),M(19,FB,1,2,"app-ng-error",15)),2&r&&(f(3),p("autosuggestEnabled",!1)("placeholders",o.placeholders)("label",o.placeholders.search_publications_searchbox_search)("suggestionsLabel",o.placeholders.search_publications_suggestions)("suggestions",o.suggestions),f(2),V(" ",o.placeholders.search_publications_searchbox_title," "),f(3),p("ngIf",void 0!==o.resultCount),f(3),p("ngIf",o.facetData&&o.facetData.length>0),f(2),p("filterOptions",o.facetData)("placeholders",o.placeholders)("isDetached",!0),f(),p("ngIf",0===o.resultCount&&!o.isLoading),f(),_e("js-is-loading",o.isLoading),f(),p("ngForOf",o.results),f(),p("ngIf",o.teaserUrl&&!o.isLoading),f(),p("ngIf",o.pager&&o.pager.totalPages>1),f(),p("ngIf",!o.isLoading&&o.error))},dependencies:[He,Ee,up,dp,Ec,cI,bc,Ic,uI],encapsulation:2})}return e})(),RB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-author-snippet"]],inputs:{author:"author"},decls:7,vars:5,consts:[[1,"author-snippet"],["width","68","height","68","loading","lazy","decoding","async",1,"author-snippet__img",3,"src","alt"],[1,"author-snippet__details"],[1,"author-snippet__name"],[1,"author-snippet__job"]],template:function(r,o){1&r&&(m(0,"div",0),S(1,"img",1),m(2,"div",2)(3,"a",3),b(4),_(),m(5,"p",4),b(6),_()()()),2&r&&(f(),p("src",o.author.imageUrl,Ze)("alt",o.author.name),f(3),x(o.author.name),f(2),Cn("",o.author.function,", ",o.author.company,""))},encapsulation:2})}return e})();const PB=["titleLink"];function kB(e,n){1&e&&S(0,"p",15),2&e&&p("innerHtml",D().result.summary,wt)}function LB(e,n){1&e&&S(0,"app-author-snippet",16),2&e&&p("author",D().result.author)}function VB(e,n){if(1&e&&S(0,"img",17),2&e){const t=D();p("src",t.result.imageUrl,Ze)("alt",t.result.imageAltText)}}let dI=(()=>{class e{ngAfterViewInit(){}focus(){this.titleLink&&this.titleLink.nativeElement.focus()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-news-article-single"]],viewQuery:function(r,o){if(1&r&&Bt(PB,5),2&r){let i;Ht(i=Ut())&&(o.titleLink=i.first)}},inputs:{placeholders:"placeholders",result:"result",layout:"layout"},decls:23,vars:17,consts:[["titleLink",""],[1,"news-article"],[1,"news-article__content"],[1,"news-article__title",3,"id"],[3,"href"],[1,"sr-only"],["class","news-article__lead",3,"innerHtml",4,"ngIf"],[1,"news-article__readmore","readmore-link","block-link-overlay",3,"href"],["icon","arrow-right"],[3,"author",4,"ngIf"],[1,"news-article__header"],["class","news-article__header__img","height","375","width","600",3,"src","alt",4,"ngIf"],["aria-hidden","true",1,"news-article__details"],[1,"news-article__type"],[1,"news-article__date"],[1,"news-article__lead",3,"innerHtml"],[3,"author"],["height","375","width","600",1,"news-article__header__img",3,"src","alt"]],template:function(r,o){1&r&&(m(0,"article",1)(1,"div",2)(2,"h3",3)(3,"a",4,0),b(5),_()(),m(6,"p",5),b(7),_(),m(8,"p",5),b(9),_(),M(10,kB,1,1,"p",6),m(11,"a",7)(12,"span"),b(13),_(),S(14,"app-icon",8),_(),M(15,LB,1,1,"app-author-snippet",9),_(),m(16,"div",10),M(17,VB,1,2,"img",11),m(18,"span",12)(19,"span",13),b(20),_(),m(21,"p",14),b(22),_()()()()),2&r&&(_e("news-article--horizontal","list"===o.layout)("news-article--noimg",!o.result.imageUrl),f(2),Kn("id",o.result.identifier),f(),p("href",o.result.url,Ze),f(2),x(o.result.name),f(2),x(o.result.date),f(2),x(o.result.type),f(),p("ngIf",o.result.summary),f(),p("href",o.result.url,Ze),re("aria-label",o.placeholders.news_read_more+" "+o.result.name),f(2),V(" ",o.placeholders.news_read_more," "),f(2),p("ngIf",o.result.author),f(2),p("ngIf",o.result.imageUrl),f(3),V(" ",o.result.type," "),f(2),x(o.result.date))},dependencies:[Ee,Ye,RB],encapsulation:2})}return e})();function jB(e,n){if(1&e&&(m(0,"li"),S(1,"app-news-article-single",3),_()),2&e){const t=n.$implicit,r=D(2);f(),p("result",t)("layout",r.layout)("placeholders",r.placeholders)}}function BB(e,n){if(1&e&&(m(0,"ul",1),M(1,jB,2,3,"li",2),_()),2&e){const t=D();_e("news-grid--list","list"===t.layout),f(),p("ngForOf",t.results)}}let fI=(()=>{class e{ngAfterViewInit(){this.focusFirstArticle()}focusFirstArticle(){this.articleComponents&&this.articleComponents.first&&this.articleComponents.first.focus()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-news-article-grid"]],viewQuery:function(r,o){if(1&r&&Bt(dI,5),2&r){let i;Ht(i=Ut())&&(o.articleComponents=i)}},inputs:{results:"results",placeholders:"placeholders",layout:"layout",teaserUrl:"teaserUrl",teaserTitle:"teaserTitle"},decls:1,vars:1,consts:[["class","news-grid",3,"news-grid--list",4,"ngIf"],[1,"news-grid"],[4,"ngFor","ngForOf"],[3,"result","layout","placeholders"]],template:function(r,o){1&r&&M(0,BB,2,3,"ul",0),2&r&&p("ngIf",o.results.length)},dependencies:[He,Ee,dI],encapsulation:2})}return e})();function HB(e,n){if(1&e){const t=oe();m(0,"app-overview-totals",17)(1,"div",18)(2,"button",19),R("click",function(){return Z(t),Y(D().setLayout("columns"))}),S(3,"app-icon",20),m(4,"span",21),b(5),_()(),m(6,"button",22),R("click",function(){return Z(t),Y(D().setLayout("list"))}),S(7,"app-icon",23),m(8,"span",21),b(9),_()()()()}if(2&e){const t=D();p("placeholders",t.placeholders)("resultCount",t.resultCount)("sortOptions",t.sortOptions)("sortBy",t.sortBy)("resultsLabel",t.placeholders.search_news_results),f(2),_e("js-active","columns"===t.layout),re("aria-pressed","columns"===t.layout),f(3),x(t.placeholders.search_news_cardview_title),f(),_e("js-active","list"===t.layout),re("aria-pressed","list"===t.layout),f(3),x(t.placeholders.search_news_listview_title)}}function UB(e,n){if(1&e&&S(0,"app-filters",24),2&e){const t=D();p("filterOptions",t.facetData)("placeholders",t.placeholders)("teaserUrl",t.teaserUrl)("teaserTitle",t.teaserTitle)}}function $B(e,n){1&e&&S(0,"div",25),2&e&&p("innerHtml",D().placeholders.filter_noresults,wt)}function GB(e,n){if(1&e&&(m(0,"h3",35),b(1),_()),2&e){const t=D(2);f(),x(t.teaserTitle)}}function zB(e,n){if(1&e&&(m(0,"div",26)(1,"div",27),M(2,GB,2,1,"h3",28),m(3,"a",29),b(4),_()(),yr(),m(5,"svg",30),S(6,"path",31)(7,"path",32)(8,"path",33)(9,"path",34),_()()),2&e){const t=D();f(2),p("ngIf",t.teaserTitle),f(),p("href",t.teaserUrl,Ze),f(),x(t.placeholders.inform_me_label)}}function qB(e,n){if(1&e){const t=oe();m(0,"app-pagination",36),R("pageChanged",function(){return Z(t),Y(D().onPageChanged())}),_()}if(2&e){const t=D();p("placeholders",t.placeholders)("pager",t.pager)}}function WB(e,n){if(1&e&&S(0,"app-ng-error",37),2&e){const t=D();p("title",t.placeholders.error_title)("message",t.placeholders.error_message)}}let QB=(()=>{class e{constructor(t,r,o){this.searchService=t,this.apiHttpService=r,this.activeSearchResults=o,this.destroy=new vt,this.results=[],this.layout="columns",this.isLoading=!1,this.error=!1,this.isPaginated=!1,t.initialise(i=>r.getNewsResults(i))}ngOnInit(){this.apiHttpService.isLoading$.pipe(qt(this.destroy)).subscribe(t=>this.isLoading=t),this.activeSearchResults.pipe(qt(this.destroy)).subscribe(t=>{const r=t;t&&(this.facetData=r.facetData,this.sortOptions=r.sortOptions,this.sortBy=r.query.sortBy,this.resultCount=r.resultCount,this.results=r.resultData,this.pager=r.pager,this.apiHttpService.isLoading$.next(!1),setTimeout(()=>{this.isPaginated&&this.newsArticleGrid&&(this.newsArticleGrid.focusFirstArticle(),this.isPaginated=!1)},0))},t=>{this.error=!0,this.apiHttpService.isLoading$.next(!1)}),this.layout=localStorage.getItem("newsLayout")??"columns"}ngAfterViewInit(){}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}setLayout(t){this.layout=t,localStorage.setItem("newsLayout",t)}onPageChanged(){this.isPaginated=!0}static#e=this.\u0275fac=function(r){return new(r||e)(E(pc),E(Br),E(Ps))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-news"]],viewQuery:function(r,o){if(1&r&&Bt(fI,5),2&r){let i;Ht(i=Ut())&&(o.newsArticleGrid=i.first)}},inputs:{placeholders:"placeholders",teaserUrl:"teaserUrl",teaserTitle:"teaserTitle",suggestions:"suggestions"},decls:21,vars:20,consts:[["newsArticleGrid",""],[1,"strip-section"],[1,"row"],[1,"col-xs-12"],["searchType","search_news","ariaLabelledby","ng-searchbox-title",3,"autosuggestEnabled","placeholders","label","suggestionsLabel","suggestions"],["id","ng-searchbox-title",1,"prominent-searchbox__results-title"],[3,"placeholders","resultCount","sortOptions","sortBy","resultsLabel",4,"ngIf"],[1,"col-lg-3","col-xs-12"],[3,"filterOptions","placeholders","teaserUrl","teaserTitle",4,"ngIf"],[1,"col-lg-9","col-xs-12","layout-with-sidebar"],[3,"filterOptions","placeholders","isDetached"],[3,"innerHtml",4,"ngIf"],[1,"search-results-container"],[3,"results","placeholders","layout"],["class","teaser",4,"ngIf"],[3,"placeholders","pager","pageChanged",4,"ngIf"],[3,"title","message",4,"ngIf"],[3,"placeholders","resultCount","sortOptions","sortBy","resultsLabel"],[1,"view-switcher"],["type","button",1,"view-switcher__toggle","view-switcher__toggle--card",3,"click"],["icon","grid-dots"],[1,"sr-only"],["type","button",1,"view-switcher__toggle","view-switcher__toggle--list",3,"click"],["icon","text-bullet-list"],[3,"filterOptions","placeholders","teaserUrl","teaserTitle"],[3,"innerHtml"],[1,"teaser"],[1,"teaser__content"],["class","teaser__title",4,"ngIf"],[1,"teaser__link",3,"href"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","56","height","53","fill","none","viewBox","0 0 56 53",1,"teaser__icon"],["fill","#1226AA","d","M48.96 12.5h-3.031v32.206h3.035a2.194 2.194 0 0 0 1.535-.629c.407-.401.637-.945.638-1.513V14.642a2.114 2.114 0 0 0-.638-1.516 2.176 2.176 0 0 0-1.54-.626Z"],["fill","#73C2FA","d","M46.876 42.563V10.441c0-.568-.23-1.113-.637-1.515a2.19 2.19 0 0 0-1.537-.627H7.85a2.196 2.196 0 0 0-1.535.628 2.136 2.136 0 0 0-.633 1.514v32.122c0 .569.229 1.113.636 1.515.408.402.96.628 1.537.628h41.194a2.19 2.19 0 0 1-1.537-.628 2.127 2.127 0 0 1-.636-1.515Z"],["fill","#3B54F5","d","M43.561 19.035H8.996v-4.201h34.565v4.2Z"],["fill","#fff","d","M24.148 25.568H8.996v-2.334h15.152v2.334ZM24.148 29.302H8.996V26.97h15.152v2.333ZM24.148 33.037H8.996v-2.334h15.152v2.334ZM24.148 36.771H8.996v-2.334h15.152v2.334ZM24.148 40.506H8.996v-2.334h15.152v2.334ZM43.561 40.506H28.409v-2.334h15.152v2.334ZM43.561 35.837H28.409V23.234h15.152v12.603Z"],[1,"teaser__title"],[3,"pageChanged","placeholders","pager"],[3,"title","message"]],template:function(r,o){1&r&&(m(0,"section",1)(1,"div",2)(2,"div",3)(3,"app-prominent-searchbox",4)(4,"h2",5),b(5),_()()()(),m(6,"div",2)(7,"div",3),M(8,HB,10,13,"app-overview-totals",6),_()(),m(9,"div",2)(10,"div",7),M(11,UB,1,4,"app-filters",8),_(),m(12,"div",9),S(13,"app-pill-group",10),M(14,$B,1,1,"div",11),m(15,"div",12),S(16,"app-news-article-grid",13,0),M(18,zB,10,3,"div",14),_(),M(19,qB,1,2,"app-pagination",15),_()()(),M(20,WB,1,2,"app-ng-error",16)),2&r&&(f(3),p("autosuggestEnabled",!1)("placeholders",o.placeholders)("label",o.placeholders.search_news_searchbox_search)("suggestionsLabel",o.placeholders.search_news_suggestions)("suggestions",o.suggestions),f(2),V(" ",o.placeholders.search_news_searchbox_title," "),f(3),p("ngIf",void 0!==o.resultCount),f(3),p("ngIf",o.facetData&&o.facetData.length>0),f(2),p("filterOptions",o.facetData)("placeholders",o.placeholders)("isDetached",!0),f(),p("ngIf",0===o.resultCount&&!o.isLoading),f(),_e("js-is-loading",o.isLoading),f(),p("results",o.results)("placeholders",o.placeholders)("layout",o.layout),f(2),p("ngIf",o.teaserUrl&&!o.isLoading),f(),p("ngIf",o.pager&&o.pager.totalPages>1),f(),p("ngIf",!o.isLoading&&o.error))},dependencies:[Ee,Ye,up,dp,Ec,fI,bc,Ic,uI],encapsulation:2})}return e})();const ZB=["titleLink"];function YB(e,n){if(1&e&&(m(0,"div",14)(1,"span",15),b(2),_(),S(3,"p",16),_()),2&e){const t=D();f(2),x(t.placeholders.trade_name),f(),p("innerHtml",t.resultData.tradeNames,wt)}}function KB(e,n){if(1&e&&(m(0,"div",17)(1,"span",15),b(2),_(),S(3,"p",16),_()),2&e){const t=D();f(2),x(t.placeholders.register),f(),p("innerHtml",t.resultData.registerName,wt)}}function XB(e,n){if(1&e&&(m(0,"div",18)(1,"span",15),b(2),_(),m(3,"p",19),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.statutory_country),f(2),x(t.resultData.statutoryCountry)}}function JB(e,n){if(1&e&&(m(0,"li",20)(1,"span",21),b(2),_(),m(3,"span",22),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.statutory_seat),f(2),x(t.resultData.statutorySeat)}}function e4(e,n){if(1&e&&(m(0,"li",20)(1,"span",21),b(2),_(),m(3,"span",22),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.chamber_of_commerce),f(2),x(t.resultData.chamberOfCommerce)}}function t4(e,n){if(1&e&&(m(0,"li",20)(1,"span",21),b(2),_(),m(3,"span",22),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.lei_code),f(2),x(t.resultData.leiCode)}}function n4(e,n){if(1&e&&(m(0,"li",20)(1,"span",21),b(2),_(),m(3,"span",22),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.relation_number_dnb),f(2),x(t.resultData.relationNumber)}}function r4(e,n){if(1&e&&(m(0,"li",20)(1,"span",21),b(2),_(),m(3,"span",22),b(4),_()()),2&e){const t=D();f(2),x(t.placeholders.company_classification),f(2),x(t.resultData.classifications)}}let hI=(()=>{class e{constructor(){this.foldoutOpen=!1}ngOnInit(){}ngAfterViewInit(){}focus(){this.titleLink&&this.titleLink.nativeElement.focus()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-register-result"]],viewQuery:function(r,o){if(1&r&&Bt(ZB,5),2&r){let i;Ht(i=Ut())&&(o.titleLink=i.first)}},inputs:{resultData:"resultData",placeholders:"placeholders"},decls:23,vars:16,consts:[["titleLink",""],[1,"register-result"],[1,"register-result__statutory-name"],[1,"sr-only","register-result__label"],[1,"register-result__title"],[3,"href"],["class","register-result__trade-name",4,"ngIf"],["class","register-result__register",4,"ngIf"],["class","register-result__country",4,"ngIf"],["type","button",1,"register-result__foldout-trigger",3,"click"],[1,"sr-only"],["icon","chevron-down"],[1,"register-result__foldout"],["class","register-result__foldout__item",4,"ngIf"],[1,"register-result__trade-name"],[1,"register-result__label"],[1,"register-result__value",3,"innerHtml"],[1,"register-result__register"],[1,"register-result__country"],[1,"register-result__value"],[1,"register-result__foldout__item"],[1,"register-result__foldout__label"],[1,"register-result__foldout__value"]],template:function(r,o){if(1&r){const i=oe();m(0,"article",1)(1,"div",2)(2,"span",3),b(3),_(),m(4,"h3",4)(5,"a",5,0),b(7),_()()(),M(8,YB,4,2,"div",6)(9,KB,4,2,"div",7)(10,XB,5,2,"div",8),m(11,"button",9),R("click",function(){return Z(i),Y(o.foldoutOpen=!o.foldoutOpen)}),m(12,"span"),b(13),_(),m(14,"span",10),b(15),_(),S(16,"app-icon",11),_(),m(17,"ul",12),M(18,JB,5,2,"li",13)(19,e4,5,2,"li",13)(20,t4,5,2,"li",13)(21,n4,5,2,"li",13)(22,r4,5,2,"li",13),_()()}2&r&&(_e("js-open",o.foldoutOpen),f(3),x(o.placeholders.statutory_name),f(2),p("href",o.resultData.url,Ze),f(2),x(o.resultData.statutoryName),f(),p("ngIf",o.resultData.tradeNames),f(),p("ngIf",o.resultData.registerName),f(),p("ngIf",o.resultData.statutoryCountry),f(),re("aria-expanded",o.foldoutOpen),f(2),x(o.placeholders.more_information_label),f(2),x(o.resultData.statutoryName),f(3),p("ngIf",o.resultData.statutorySeat),f(),p("ngIf",o.resultData.chamberOfCommerce),f(),p("ngIf",o.resultData.leiCode),f(),p("ngIf",o.resultData.relationNumber),f(),p("ngIf",o.resultData.classifications))},dependencies:[Ee,Ye],encapsulation:2})}return e})();const pI=Ac(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function i4(e=s4){return dt((n,t)=>{let r=!1;n.subscribe(nt(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function s4(){return new pI}function gI(e){return dt((n,t)=>{let i,r=null,o=!1;r=n.subscribe(nt(t,void 0,void 0,s=>{i=wn(e(s,gI(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function l4(e,n){if(1&e&&S(0,"option",7),2&e){const t=n.$implicit;p("value",t.key)("innerHtml",t.value,wt)}}function c4(e,n){if(1&e){const t=oe();m(0,"div",2)(1,"label",3),b(2),_(),m(3,"select",4),R("change",function(){Z(t);const o=D();return Y(o.filterChange(o.registerFilter))}),m(4,"option",5),b(5),_(),M(6,l4,1,2,"option",6),_()()}if(2&e){const t=D();f(),Kn("for",t.registerFilter.name),f(),V(" ",t.placeholders.filter_dropdown_register_defaultvalue," "),f(),p("id",t.registerFilter.name)("name",t.registerFilter.name)("formControl",t.registerFormControl),f(),p("ngValue",null),f(),V(" ",t.placeholders.filter_dropdown_register_defaultvalue," "),f(),p("ngForOf",t.registerFilter.hits)}}function u4(e,n){if(1&e&&(m(0,"option",10),b(1),_()),2&e){const t=n.$implicit;p("value",t.key),f(),V(" ",t.value," ")}}function d4(e,n){if(1&e){const t=oe();m(0,"div",8)(1,"label",3),b(2),_(),m(3,"select",4),R("change",function(){Z(t);const o=D();return Y(o.filterChange(o.articleFilter))}),m(4,"option",5),b(5),_(),M(6,u4,2,2,"option",9),_()()}if(2&e){const t=D();f(),Kn("for",t.articleFilter.name),f(),V(" ",t.placeholders.filter_dropdown_article_defaultvalue," "),f(),p("id",t.articleFilter.name)("name",t.articleFilter.name)("formControl",t.articleFormControl),re("disabled",t.facetsLoading||null),f(),p("ngValue",null),f(),V(" ",t.placeholders.filter_dropdown_article_defaultvalue," "),f(),p("ngForOf",t.articleFilter.hits)}}let f4=(()=>{class e{constructor(t,r){this.apiHttpService=t,this.activeQuery=r,this.facetsLoading=!1}ngOnInit(){const{language:t}=this.activeQuery.getValue();this.getFacets(t,this.registerCode)}getFacets(t,r){this.facetsLoading=!0,this.apiHttpService.getPublicRegisterFacets({identifier:this.activeQuery.value.identifier,language:t,registerCode:r}).pipe(tp(()=>this.facetsLoading=!1),gI(()=>ep([]))).subscribe(o=>{if(o){const[i,s]=o;this.registerFilter=this.registerFilter?this.registerFilter:i,this.articleFilter=s,this.registerFormControl=this.formGroup.get(this.registerFilter.parameters[0]),this.articleFormControl=this.formGroup.get(this.articleFilter.parameters[0])}})}fetchArticles(){const{language:t="nl"}=this.activeQuery.getValue();this.getFacets(t,this.registerFormControl.value??"")}filterChange(t){t===this.registerFilter&&(this.fetchArticles(),this.articleFormControl.setValue(null,{emitEvent:!1})),this.activeQuery.setFilterData({[this.registerFilter.parameters[0]]:this.registerFormControl.value?[this.registerFormControl.value]:null,[this.articleFilter.parameters[0]]:this.articleFormControl.value?[this.articleFormControl.value]:null}??{},"1")}static#e=this.\u0275fac=function(r){return new(r||e)(E(Br),E(Tt))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-filters-register"]],inputs:{formGroup:"formGroup",placeholders:"placeholders",registerCode:"registerCode"},decls:2,vars:2,consts:[["class","c-select-dropdown c-select-dropdown--register",4,"ngIf"],["class","c-select-dropdown c-select-dropdown--law",4,"ngIf"],[1,"c-select-dropdown","c-select-dropdown--register"],[1,"c-select-dropdown__label",3,"for"],[1,"form-control-select",3,"change","id","name","formControl"],["selected","",3,"ngValue"],[3,"value","innerHtml",4,"ngFor","ngForOf"],[3,"value","innerHtml"],[1,"c-select-dropdown","c-select-dropdown--law"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(r,o){1&r&&M(0,c4,7,8,"div",0)(1,d4,7,9,"div",1),2&r&&(p("ngIf",o.registerFilter&&o.placeholders&&!o.registerCode),f(),p("ngIf",o.articleFilter&&o.placeholders))},dependencies:[He,Ee,Jo,ei,kr,jn,Os],encapsulation:2})}return e})(),h4=(()=>{class e{constructor(t,r){this.formBuilder=t,this.activeSearchQuery=r,this.facetData=[],this.searchControl=new iE(""),this.searchForm=new $h({}),this.searchFormValues={}}ngOnInit(){this.createFormGroup(),this.activeSearchQuery.pipe(function a4(e,n){const t=arguments.length>=2;return r=>r.pipe(e?ks((o,i)=>e(o,i,r)):Gr,oI(1),t?function o4(e){return dt((n,t)=>{let r=!1;n.subscribe(nt(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}(n):i4(()=>new pI))}()).subscribe(t=>{this.searchControl.setValue(t.phrase)}),this.searchForm.valueChanges.subscribe(t=>{const r={};for(const o in t){const i=t[o];r[o]=i?[i]:null}this.searchFormValues=r})}createFormGroup(){const t={},r=this.activeSearchQuery.getValue().filterData??{};for(const o of this.facetData??[]){const[i]=o.parameters;t[i]=[r[i]]}this.searchForm=this.formBuilder.group(t)}onSubmit(t){t.preventDefault(),this.activeSearchQuery.setPhraseAndFilterData(this.searchControl.value,this.searchFormValues??{},"1")}static#e=this.\u0275fac=function(r){return new(r||e)(E(Rs),E(Tt))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-prominent-searchbox-register"]],inputs:{placeholders:"placeholders",facetData:"facetData",registerCode:"registerCode"},decls:15,vars:8,consts:[[1,"prominent-searchbox","prominent-searchbox--register"],["aria-hidden","true",1,"prominent-searchbox__bg"],["role","search",3,"submit","formGroup"],[1,"prominent-searchbox__formwrapper"],[3,"placeholders","formGroup","registerCode"],[1,"prominent-searchbox__field-wrapper"],["for","#register-search-input"],[1,"prominent-searchbox__inputwrapper"],["icon","search"],["type","search","id","register-search-input","autocomplete","off",1,"prominent-searchbox__input",3,"placeholder","formControl"],["type","submit",1,"btn","prominent-searchbox__btn","searchbox-btn"],[1,"prominent-searchbox__btn__text","searchbox-btn__text"]],template:function(r,o){if(1&r&&(m(0,"section",0),S(1,"span",1),m(2,"form",2),R("submit",function(s){return o.onSubmit(s)}),m(3,"div",3),S(4,"app-filters-register",4),m(5,"div",5)(6,"label",6),b(7),_(),m(8,"div",7),S(9,"app-icon",8)(10,"input",9),_()(),m(11,"button",10),S(12,"app-icon",8),m(13,"span",11),b(14),_()()()()()),2&r){let i;f(2),p("formGroup",o.searchForm),f(2),p("placeholders",o.placeholders)("formGroup",o.searchForm)("registerCode",null!==(i=o.registerCode)&&void 0!==i?i:""),f(3),x(o.placeholders.searchInput_placeholder),f(3),Kn("placeholder",o.placeholders.searchInput_placeholder),p("formControl",o.searchControl),f(4),x(o.placeholders.filters_search)}},dependencies:[hc,Qo,jn,Rr,Os,or,Ye,f4],encapsulation:2})}return e})();function p4(e,n){if(1&e&&S(0,"app-prominent-searchbox-register",13),2&e){const t=D();p("placeholders",t.placeholders)("facetData",t.facetData)("registerCode",t.registerCode)}}function g4(e,n){1&e&&S(0,"p",14),2&e&&p("innerHtml",D().resultsLabel,wt)}function m4(e,n){if(1&e&&(m(0,"li",17),S(1,"app-register-result",18),_()),2&e){const t=n.$implicit,r=D(2);f(),p("resultData",t)("placeholders",r.placeholders)}}function _4(e,n){if(1&e&&(m(0,"ul",15),M(1,m4,2,2,"li",16),_()),2&e){const t=D();f(),p("ngForOf",t.results)}}function y4(e,n){if(1&e&&S(0,"app-pagination",19),2&e){const t=D();p("placeholders",t.placeholders)("pager",t.pager)}}function v4(e,n){if(1&e&&S(0,"app-ng-error",20),2&e){const t=D();p("title",t.placeholders.error_title)("message",t.placeholders.error_message)}}let D4=(()=>{class e{constructor(t,r,o,i,s){this.apiHttpService=t,this.activeSearchResults=r,this.searchService=o,this.stripHtmlPipe=i,this.activeQuery=s,this.facetData=[],this.error=!1}get resultsLabel(){const t=this.stripHtmlPipe.transform(this.query?.phrase??"");return this.placeholders.search_results.replace("%resultCount%",`<strong>${(this.resultCount??0).toString()}</strong>`).replace("%phrase%",`<strong>\u201c${t}\u201c</strong>`)}ngOnInit(){this.searchService.initialise(t=>{this.registerCode&&(t.filterData||(t.filterData={}),t.filterData.rc=[this.registerCode]);const{limit:r}=this.activeQuery.getValue();return this.apiHttpService.getPublicRegisterResults({...t,limit:r??"10"})}),this.activeSearchResults.subscribe(t=>{const r=t;t&&(this.facetData=0===this.facetData.length?r.facetData:this.facetData,this.resultCount=r.resultCount,this.results=r.resultData,this.pager=r.pager,this.query=r.query,this.apiHttpService.isLoading$.next(!1),this.registerResults&&this.registerResults.first&&setTimeout(()=>{this.registerResults.first.focus()},0))},t=>{this.error=!0,this.apiHttpService.isLoading$.next(!1)})}ngAfterViewInit(){}static#e=this.\u0275fac=function(r){return new(r||e)(E(Br),E(Ps),E(pc),E(lp),E(Tt))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-register"]],viewQuery:function(r,o){if(1&r&&Bt(hI,5),2&r){let i;Ht(i=Ut())&&(o.registerResults=i)}},inputs:{placeholders:"placeholders",registerCode:"registerCode",limit:"limit"},decls:23,vars:17,consts:[[1,"register-search"],["id","register-title"],["role","doc-subtitle"],[3,"placeholders","facetData","registerCode",4,"ngIf"],[1,"register-search__results"],[1,"register-search__results__count"],["class","register-search__results__totalresults",3,"innerHtml",4,"ngIf"],[3,"placeholders","limit"],["aria-hidden","true",1,"register-search__results__header"],[1,"col"],["class","register-search__results__list",4,"ngIf"],[3,"placeholders","pager",4,"ngIf"],[3,"title","message",4,"ngIf"],[3,"placeholders","facetData","registerCode"],[1,"register-search__results__totalresults",3,"innerHtml"],[1,"register-search__results__list"],["class","register-search__results__listitem",4,"ngFor","ngForOf"],[1,"register-search__results__listitem"],[3,"resultData","placeholders"],[3,"placeholders","pager"],[3,"title","message"]],template:function(r,o){1&r&&(m(0,"div",0)(1,"h2",1),b(2),_(),m(3,"div",2),b(4),_(),M(5,p4,1,3,"app-prominent-searchbox-register",3),m(6,"div",4),bn(7,"async"),m(8,"div",5),M(9,g4,1,1,"p",6),S(10,"app-page-size-select",7),_(),m(11,"div",8)(12,"span",9),b(13),_(),m(14,"span",9),b(15),_(),m(16,"span",9),b(17),_(),m(18,"span",9),b(19),_()(),M(20,_4,2,1,"ul",10),_(),M(21,y4,1,2,"app-pagination",11),_(),M(22,v4,1,2,"app-ng-error",12)),2&r&&(f(2),x(o.placeholders.register_search_title),f(2),x(o.placeholders.register_update_notice),f(),p("ngIf",o.facetData.length>0),f(),_e("js-is-loading",On(7,15,o.apiHttpService.isLoading$)),f(3),p("ngIf",""!==(null==o.query?null:o.query.phrase)),f(),p("placeholders",o.placeholders)("limit",o.limit),f(3),x(o.placeholders.statutory_name),f(2),x(o.placeholders.trade_name),f(2),x(o.placeholders.register),f(2),x(o.placeholders.statutory_country),f(),p("ngIf",o.results),f(),p("ngIf",o.pager&&o.pager.totalPages>1),f(),p("ngIf",!o.apiHttpService.isLoading$.value&&o.error))},dependencies:[He,Ee,Ec,Ic,hI,h4,mp,_h],encapsulation:2})}return e})();function C4(e,n){if(1&e&&S(0,"app-news",5),2&e){const t=D();p("placeholders",t.placeholders)("teaserUrl",t.teaserUrl)("teaserTitle",t.teaserTitle)("suggestions",t.suggestions)}}function b4(e,n){if(1&e&&S(0,"app-publications",6),2&e){const t=D();p("placeholders",t.placeholders)("suggestions",t.suggestions)("teaserUrl",t.teaserUrl)("teaserTitle",t.teaserTitle)}}function w4(e,n){if(1&e&&S(0,"app-register",7),2&e){const t=D();p("placeholders",t.placeholders)("registerCode",t.registerCode)("limit",t.limit)}}function E4(e,n){if(1&e&&S(0,"app-search",8),2&e){const t=D();p("placeholders",t.placeholders)("suggestions",t.suggestions)}}let I4=(()=>{class e{constructor(t,r){this.elementRef=t,this.activeSearchQuery=r,this.dataType="search"}ngOnInit(){this.activeSearchQuery.setIdentifierAndLanguage(this.elementRef.nativeElement.getAttribute("dataId"),document.querySelector("html")?.getAttribute("lang")??"nl"),this.suggestions=JSON.parse(this.elementRef.nativeElement.getAttribute("suggestions")),this.placeholders=JSON.parse(this.elementRef.nativeElement.getAttribute("localizedLabels")),this.dataType=this.elementRef.nativeElement.getAttribute("dataType")??"search",this.teaserUrl=this.elementRef.nativeElement.getAttribute("teaserUrl"),this.teaserTitle=this.elementRef.nativeElement.getAttribute("teaserTitle"),this.registerCode=this.elementRef.nativeElement.getAttribute("registerCode"),this.limit=this.elementRef.nativeElement.getAttribute("limit")}static#e=this.\u0275fac=function(r){return new(r||e)(E(Ft),E(Tt))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-root"]],decls:5,vars:4,consts:[[3,"ngSwitch"],["id","search-root",3,"placeholders","teaserUrl","teaserTitle","suggestions",4,"ngSwitchCase"],["id","search-root",3,"placeholders","suggestions","teaserUrl","teaserTitle",4,"ngSwitchCase"],["id","search-root",3,"placeholders","registerCode","limit",4,"ngSwitchCase"],["id","search-root",3,"placeholders","suggestions",4,"ngSwitchDefault"],["id","search-root",3,"placeholders","teaserUrl","teaserTitle","suggestions"],["id","search-root",3,"placeholders","suggestions","teaserUrl","teaserTitle"],["id","search-root",3,"placeholders","registerCode","limit"],["id","search-root",3,"placeholders","suggestions"]],template:function(r,o){1&r&&(Ae(0,0),M(1,C4,1,4,"app-news",1)(2,b4,1,4,"app-publications",2)(3,w4,1,3,"app-register",3)(4,E4,1,2,"app-search",4),xe()),2&r&&(p("ngSwitch",o.dataType),f(),p("ngSwitchCase","news"),f(),p("ngSwitchCase","publications"),f(),p("ngSwitchCase","register"))},dependencies:[xr,Cs,Xl,Jj,OB,QB,D4],encapsulation:2})}return e})();class T4 extends vt{constructor(n=1/0,t=1/0,r=cp){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=t.now();let a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}}const Tc={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)},scheduleBeforeRender(e){if(typeof window>"u")return Tc.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Tc.schedule(e,16);const n=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(n)}};let _p;function k4(e,n,t){let r=t;return function N4(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((o,i)=>!("*"===o||!function x4(e,n){if(!_p){const t=Element.prototype;_p=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&_p.call(e,n)}(e,o)||(r=i,0))),r}class V4{constructor(n,t){this.componentFactory=t.get(Eo).resolveComponentFactory(n)}create(n){return new j4(this.componentFactory,n)}}class j4{constructor(n,t){this.componentFactory=n,this.injector=t,this.eventEmitters=new T4(1),this.events=this.eventEmitters.pipe(Jh(r=>function M4(...e){const n=Ts(e),t=function lL(e,n){return"number"==typeof Oh(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?wn(r[0]):rI(t)(Fr(r,n)):hp}(...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(me),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Tc.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t,r){this.runInZone(()=>{r&&(t=r.call(this.componentRef?.instance,t)),null!==this.componentRef?function F4(e,n){return e===n||e!=e&&n!=n}(t,this.getInputValue(n))&&(void 0!==t||!this.unchangedInputs.has(n))||(this.recordInputChange(n,t),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=t,this.scheduleDetectChanges()):this.initialInputValues.set(n,t)})}initializeComponent(n){const t=pt.create({providers:[],parent:this.injector}),r=function P4(e,n){const t=e.childNodes,r=n.map(()=>[]);let o=-1;n.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=t.length;i<s;++i){const a=t[i],l=k4(a,n,o);-1!==l&&r[l].push(a)}return r}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,n),this.viewChangeDetectorRef=this.componentRef.injector.get(Fl),this.implementsOnChanges=function A4(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Xn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:t})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),t)}),this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:r,templateName:o})=>n.instance[r].pipe(Lt(s=>({name:o,value:s}))));this.eventEmitters.next(t)}callNgOnChanges(n){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(t)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Tc.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[n];if(r)return void(r.currentValue=t);const o=this.unchangedInputs.has(n),i=o?void 0:this.getInputValue(n);this.inputChanges[n]=new Dg(i,t,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class B4 extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let U4=(()=>{class e{constructor(t){this.injector=t;const r=function H4(e,n){const t=function R4(e,n){return n.get(Eo).resolveComponentFactory(e).inputs}(e,n.injector),r=n.strategyFactory||new V4(e,n.injector),o=function O4(e){const n={};return e.forEach(({propName:t,templateName:r,transform:o})=>{n[function S4(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(r)]=[t,o]}),n}(t);class i extends B4{static#e=this.observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||n.injector);t.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const u=this[l];delete this[l],a.setInputValue(l,u,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){const[d,h]=o[a];this.ngElementStrategy.setInputValue(d,c,h)}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 l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return t.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),i}(eI,{injector:t});customElements.define("auto-suggest",r)}ngDoBootstrap(){}static#e=this.\u0275fac=function(r){return new(r||e)(L(pt))};static#t=this.\u0275mod=Yt({type:e});static#n=this.\u0275inj=Vt({providers:[{provide:Window,useValue:window}],imports:[tw,ME,zE]})}return e})(),$4=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Yt({type:e,bootstrap:[I4]});static#n=this.\u0275inj=Vt({providers:[lp],imports:[tw,nV,ME,zE,U4,ij]})}return e})();_k().bootstrapModule($4).catch(e=>console.error(e))}},ri=>{ri(ri.s=936)}]);;;
