PageSourceSearch

https://www.raiffeisenbank.jobs/cachableservlets/cssandjschacheser…/designs/cms/clientlib-all/main.bundle.js

js raiffeisenbank.jobs collected 2026-10-05 02:10:44 UTC 3,094,856 bytes, 1 lines download raw bytes

1!function(){var e,t,n,i,r={3950:function(e,t,n){var i=n(4692);!function(e,t,n,i){"use strict";if(e.console=e.console||{info:function(e){}},n)if(n.fn.fancybox)console.info("fancyBox already initialized");else{var r,s,o,a,l={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaub
vendor: 9,543 bytes, line 1
1ilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},c=n(e),u=n(t),d=0,h=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},p=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},f=function(){var e,n=t.createElement("fakeelement"),r={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in r)if(n.style[e]!==i)return r[e];return"transitionend"}(),m=function(e){return e&&e.length&&e[0].offsetHeight},g=function(e,t){var i=n.extend(!0,{},e,t);return n.each(t,function(e,t){n.isArray(t)&&(i[e]=t)}),i},v=function(e,t,i){var r=this;r.opts=g({index:i},n.fancybox.defaults),n.isPlainObject(t)&&(r.opts=g(r.opts,t)),n.fancybox.isMobile&&(r.opts=g(r.opts,r.opts.mobile)),r.id=r.opts.id||++d,r.currIndex=parseInt(r.opts.index,10)||0,r.prevIndex=null,r.prevPos=null,r.currPos=0,r.firstRun=!0,r.group=[],r.slides={},r.addContent(e),r.group.length&&r.init()};n.extend(v.prototype,{init:function(){var i,r,s=this,o=s.group[s.currIndex].opts;o.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==o.hideScrollbar&&!n.fancybox.isMobile&&t.body.scrollHeight>e.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(e.innerWidth-t.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),r="",n.each(o.buttons,function(e,t){r+=o.btnTpl[t]||""}),i=n(s.translate(s,o.baseTpl.replace("{{buttons}}",r).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+s.id).addClass(o.baseClass).data("FancyBox",s).appendTo(o.parentEl),s.$refs={container:i},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(e){s.$refs[e]=i.find(".fancybox-"+e)}),s.trigger("onInit"),s.activate(),s.jumpTo(s.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,function(e,t){return n[t]===i?e:n[t]})},addContent:function(e){var t,r=this,s=n.makeArray(e);n.each(s,function(e,t){var s,o,a,l,c,u={},d={};n.isPlainObject(t)?(u=t,d=t.opts||t):"object"===n.type(t)&&n(t).length?(d=(s=n(t)).data()||{},(d=n.extend(!0,{},d,d.options)).$orig=s,u.src=r.opts.src||d.src||s.attr("href"),u.type||u.src||(u.type="inline",u.src=t)):u={type:"html",src:t+""},u.opts=n.extend(!0,{},r.opts,d),n.isArray(d.buttons)&&(u.opts.buttons=d.buttons),n.fancybox.isMobile&&u.opts.mobile&&(u.opts=g(u.opts,u.opts.mobile)),o=u.type||u.opts.type,l=u.src||"",!o&&l&&((a=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(o="video",u.opts.video.format||(u.opts.video.format="video/"+("ogv"===a[1]?"ogg":a[1]))):l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?o="image":l.match(/\.(pdf)((\?|#).*)?$/i)?(o="iframe",u=n.extend(!0,u,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===l.charAt(0)&&(o="inline")),o?u.type=o:r.trigger("objectNeedsType",u),u.contentType||(u.contentType=n.inArray(u.type,["html","inline","ajax"])>-1?"html":u.type),u.index=r.group.length,"auto"==u.opts.smallBtn&&(u.opts.smallBtn=n.inArray(u.type,["html","inline","ajax"])>-1),"auto"===u.opts.toolbar&&(u.opts.toolbar=!u.opts.smallBtn),u.$thumb=u.opts.$thumb||null,u.opts.$trigger&&u.index===r.opts.index&&(u.$thumb=u.opts.$trigger.find("img:first"),u.$thumb.length&&(u.opts.$orig=u.opts.$trigger)),u.$thumb&&u.$thumb.length||!u.opts.$orig||(u.$thumb=u.opts.$orig.find("img:first")),u.$thumb&&!u.$thumb.length&&(u.$thumb=null),u.thumb=u.opts.thumb||(u.$thumb?u.$thumb[0].src:null),"function"===n.type(u.opts.caption)&&(u.opts.caption=u.opts.caption.apply(t,[r,u])),"function"===n.type(r.opts.caption)&&(u.opts.caption=r.opts.caption.apply(t,[r,u])),u.opts.caption instanceof n||(u.opts.caption=u.opts.caption===i?"":u.opts.caption+""),"ajax"===u.type&&(c=l.split(/\s+/,2)).length>1&&(u.src=c.shift(),u.opts.filter=c.shift()),u.opts.modal&&(u.opts=n.extend(!0,u.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),r.group.push(u)}),Object.keys(r.slides).length&&(r.updateControls(),(t=r.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",function(e){e.stopPropagation(),e.preventDefault(),t.close(e)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(e){e.stopPropagation(),e.preventDefault(),t.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(e){e.stopPropagation(),e.preventDefault(),t.next()}).on("click.fb","[data-fancybox-zoom]",function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()}),c.on("orientationchange.fb resize.fb",function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&p(t.requestId),t.requestId=h(function(){t.update(e)})):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout(function(){t.$refs.stage.show(),t.update(e)},n.fancybox.isMobile?600:250))}),u.on("keydown.fb",function(e){var i=(n.fancybox?n.fancybox.getInstance():null).current,r=e.keyCode||e.which;if(9!=r){if(!(!i.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||n(e.target).is("input,textarea,video,audio,select")))return 8===r||27===r?(e.preventDefault(),void t.close(e)):37===r||38===r?(e.preventDefault(),void t.previous()):39===r||40===r?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,r)}else i.opts.trapFocus&&t.focus(e)}),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,u.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1}),t.idleInterval=e.setInterval(function(){t.idleSecondsCounter++,t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())},1e3))},removeEvents:function(){var t=this;c.off("orientationchange.fb resize.fb"),u.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),t.idleInterval&&(e.clearInterval(t.idleInterval),t.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t){var r,s,o,a,l,c,u,d,h,p=this,f=p.group.length;if(!(p.isDragging||p.isClosing||p.isAnimating&&p.firstRun)){if(e=parseInt(e,10),!(o=p.current?p.current.opts.loop:p.opts.loop)&&(e<0||e>=f))return!1;if(r=p.firstRun=!Object.keys(p.slides).length,l=p.current,p.prevIndex=p.currIndex,p.prevPos=p.currPos,a=p.createSlide(e),f>1&&((o||a.index<f-1)&&p.createSlide(e+1),(o||a.index>0)&&p.createSlide(e-1)),p.current=a,p.currIndex=a.index,p.currPos=a.pos,p.trigger("beforeShow",r),p.updateControls(),a.forcedDuration=i,n.isNumeric(t)?a.forcedDuration=t:t=a.opts[r?"animationDuration":"transitionDuration"],t=parseInt(t,10),s=p.isMoved(a),a.$slide.addClass("fancybox-slide--current"),r)return a.opts.animationEffect&&t&&p.$refs.container.css("transition-duration",t+"ms"),p.$refs.container.addClass("fancybox-is-open").trigger("focus"),p.loadSlide(a),void p.preload("image");c=n.fancybox.getTranslate(l.$slide),u=n.fancybox.getTranslate(p.$refs.stage),n.each(p.slides,function(e,t){n.fancybox.stop(t.$slide,!0)}),l.pos!==a.pos&&(l.isComplete=!1),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),s?(h=c.left-(l.pos*c.width+l.pos*l.opts.gutter),n.each(p.slides,function(e,i){i.$slide.removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var r=i.pos*c.width+i.pos*i.opts.gutter;n.fancybox.setTranslate(i.$slide,{top:0,left:r-u.left+h}),i.pos!==a.pos&&i.$slide.addClass("fancybox-slide--"+(i.pos>a.pos?"next":"previous")),m(i.$slide),n.fancybox.animate(i.$slide,{top:0,left:(i.pos-a.pos)*c.width+(i.pos-a.pos)*i.opts.gutter},t,function(){i.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===p.currPos&&p.complete()})})):t&&a.opts.transitionEffect&&(d="fancybox-animated fancybox-fx-"+a.opts.transitionEffect,l.$slide.addClass("fancybox-slide--"+(l.pos>a.pos?"next":"previous")),n.fancybox.animate(l.$slide,d,t,function(){l.$slide.removeClass(d).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),a.isLoaded?p.revealContent(a):p.loadSlide(a),p.preload("image")}},createSlide:function(e){var t,i,r=this;return i=(i=e%r.group.length)<0?r.group.length+i:i,!r.slides[e]&&r.group[i]&&(t=n('<div class="fancybox-slide"></div>').appendTo(r.$refs.stage),r.slides[e]=n.extend(!0,{},r.group[i],{pos:e,$slide:t,isLoaded:!1}),r.updateSlide(r.slides[e])),r.slides[e]},scaleToActual:function(e,t,r){var s,o,a,l,c,u=this,d=u.current,h=d.$content,p=n.fancybox.getTranslate(d.$slide).width,f=n.fancybox.getTranslate(d.$slide).height,m=d.width,g=d.height;u.isAnimating||u.isMoved()||!h||"image"!=d.type||!d.isLoaded||d.hasError||(u.isAnimating=!0,n.fancybox.stop(h),e=e===i?.5*p:e,t=t===i?.5*f:t,(s=n.fancybox.getTranslate(h)).top-=n.fancybox.getTranslate(d.$slide).top,s.left-=n.fancybox.getTranslate(d.$slide).left,l=m/s.width,c=g/s.height,o=.5*p-.5*m,a=.5*f-.5*g,m>
1p&&((o=s.left*l-(e*l-e))>0&&(o=0),o<p-m&&(o=p-m)),g>f&&((a=s.top*c-(t*c-t))>0&&(a=0),a<f-g&&(a=f-g)),u.updateCursor(m,g),n.fancybox.animate(h,{top:a,left:o,scaleX:l,scaleY:c},r||366,function(){u.isAnimating=!1}),u.SlideShow&&u.SlideShow.isActive&&u.SlideShow.stop())},scaleToFit:function(e){var t,i=this,r=i.current,s=r.$content;i.isAnimating||i.isMoved()||!s||"image"!=r.type||!r.isLoaded||r.hasError||(i.isAnimating=!0,n.fancybox.stop(s),t=i.getFitPos(r),i.updateCursor(t.width,t.height),n.fancybox.animate(s,{top:t.top,left:t.left,scaleX:t.width/s.width(),scaleY:t.height/s.height()},e||366,function(){i.isAnimating=!1}))},getFitPos:function(e){var t,i,r,s,o=e.$content,a=e.$slide,l=e.width||e.opts.width,c=e.height||e.opts.height,u={};return!!(e.isLoaded&&o&&o.length)&&(t=n.fancybox.getTranslate(this.$refs.stage).width,i=n.fancybox.getTranslate(this.$refs.stage).height,t-=parseFloat(a.css("paddingLeft"))+parseFloat(a.css("paddingRight"))+parseFloat(o.css("marginLeft"))+parseFloat(o.css("marginRight")),i-=parseFloat(a.css("paddingTop"))+parseFloat(a.css("paddingBottom"))+parseFloat(o.css("marginTop"))+parseFloat(o.css("marginBottom")),l&&c||(l=t,c=i),(l*=r=Math.min(1,t/l,i/c))>t-.5&&(l=t),(c*=r)>i-.5&&(c=i),"image"===e.type?(u.top=Math.floor(.5*(i-c))+parseFloat(a.css("paddingTop")),u.left=Math.floor(.5*(t-l))+
vendor: 13,715 bytes, line 1
1parseFloat(a.css("paddingLeft"))):"video"===e.contentType&&(c>l/(s=e.opts.width&&e.opts.height?l/c:e.opts.ratio||16/9)?c=l/s:l>c*s&&(l=c*s)),u.width=l,u.height=c,u)},update:function(e){var t=this;n.each(t.slides,function(n,i){t.updateSlide(i,e)})},updateSlide:function(e,t){var i=this,r=e&&e.$content,s=e.width||e.opts.width,o=e.height||e.opts.height,a=e.$slide;i.adjustCaption(e),r&&(s||o||"video"===e.contentType)&&!e.hasError&&(n.fancybox.stop(r),n.fancybox.setTranslate(r,i.getFitPos(e)),e.pos===i.currPos&&(i.isAnimating=!1,i.updateCursor())),i.adjustLayout(e),a.length&&(a.trigger("refresh"),e.pos===i.currPos&&i.$refs.toolbar.add(i.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",a.get(0).scrollHeight>a.get(0).clientHeight)),i.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,r=t.current,s=r.$slide;!t.isClosing&&r&&(s.siblings().css({transform:"",opacity:""}),s.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(s,{top:0,left:0,opacity:1},e===i?0:e,function(){s.css({transform:"",opacity:""}),r.isComplete||t.complete()},!1))},isMoved:function(e){var t,i,r=e||this.current;return!!r&&(i=n.fancybox.getTranslate(this.$refs.stage),t=n.fancybox.getTranslate(r.$slide),!r.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-i.top)>.5||Math.abs(t.left-i.left)>.5))},updateCursor:function(e,t){var i,r,s=this,o=s.current,a=s.$refs.container;o&&!s.isClosing&&s.Guestures&&(a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),r=!!(i=s.canPan(e,t))||s.isZoomable(),a.toggleClass("fancybox-is-zoomable",r),n("[data-fancybox-zoom]").prop("disabled",!r),i?a.addClass("fancybox-can-pan"):r&&("zoom"===o.opts.clickContent||n.isFunction(o.opts.clickContent)&&"zoom"==o.opts.clickContent(o))?a.addClass("fancybox-can-zoomIn"):o.opts.touch&&(o.opts.touch.vertical||s.group.length>1)&&"video"!==o.contentType&&a.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this,n=t.current;if(n&&!t.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((e=t.getFitPos(n))&&(n.width>e.width||n.height>e.height))return!0}return!1},isScaledDown:function(e,t){var r=!1,s=this.current,o=s.$content;return e!==i&&t!==i?r=e<s.width&&t<s.height:o&&(r=(r=n.fancybox.getTranslate(o)).width<s.width&&r.height<s.height),r},canPan:function(e,t){var r=this.current,s=null,o=!1;return"image"===r.type&&(r.isComplete||e&&t)&&!r.hasError&&(o=this.getFitPos(r),e!==i&&t!==i?s={width:e,height:t}:r.isComplete&&(s=n.fancybox.getTranslate(r.$content)),s&&o&&(o=Math.abs(s.width-o.width)>1.5||Math.abs(s.height-o.height)>1.5)),o},loadSlide:function(e){var t,i,r,s=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===s.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(i=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":s.setImage(e);break;case"iframe":s.setIframe(e);break;case"html":s.setContent(e,e.src||e.content);break;case"video":s.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":n(e.src).length?s.setContent(e,n(e.src)):s.setError(e);break;case"ajax":s.showLoading(e),r=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&s.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&s.setError(e)}})),i.one("onReset",function(){r.abort()});break;default:s.setError(e)}return!0}},setImage:function(e){var i,r=this;setTimeout(function(){var t=e.$image;r.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||r.showLoading(e)},50),r.checkSrcset(e),e.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(i=t.createElement("img")).onerror=function(){n(this).remove(),e.$ghost=null},i.onload=function(){r.afterLoad(e)},e.$ghost=n(i).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),r.setBigImage(e)},checkSrcset:function(t){var n,i,r,s,o=t.opts.srcset||t.opts.image.srcset;if(o){r=e.devicePixelRatio||1,s=e.innerWidth*r,i=o.split(",").map(function(e){var t={};return e.trim().split(/\s+/).forEach(function(e,n){var i=parseInt(e.substring(0,e.length-1),10);if(0===n)return t.url=e;i&&(t.value=i,t.postfix=e[e.length-1])}),t}),i.sort(function(e,t){return e.value-t.value});for(var a=0;a<i.length;a++){var l=i[a];if("w"===l.postfix&&l.value>=s||"x"===l.postfix&&l.value>=r){n=l;break}}!n&&i.length&&(n=i[i.length-1]),n&&(t.src=n.url,t.width&&t.height&&"w"==n.postfix&&(t.height=t.width/t.height*n.value,t.width=n.value),t.opts.srcset=o)}},setBigImage:function(e){var i=this,r=t.createElement("img"),s=n(r);e.$image=s.one("error",function(){i.setError(e)}).one("load",function(){var t;e.$ghost||(i.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),i.afterLoad(e)),i.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&c.width()/c.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),s.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout(function(){e.$ghost&&!i.isClosing&&e.$ghost.hide()},Math.min(300,Math.max(1e3,e.height/1600))),i.hideLoading(e))}).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(r.complete||"complete"==r.readyState)&&s.naturalWidth&&s.naturalHeight?s.trigger("load"):r.error&&s.trigger("error")},resolveImageSlideSize:function(e,t,n){var i=parseInt(e.opts.width,10),r=parseInt(e.opts.height,10);e.width=t,e.height=n,i>0&&(e.width=i,e.height=Math.floor(i*n/t)),r>0&&(e.width=Math.floor(r*t/n),e.height=r)},setIframe:function(e){var t,r=this,s=e.opts.iframe,o=e.$slide;e.$content=n('<div class="fancybox-content'+(s.preload?" fancybox-is-hidden":"")+'"></div>').css(s.css).appendTo(o),o.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=n(s.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(s.attr).appendTo(e.$content),s.preload?(r.showLoading(e),t.on("load.fb error.fb",function(t){this.isReady=1,e.$slide.trigger("refresh"),r.afterLoad(e)}),o.on("refresh.fb",function(){var n,r=e.$content,a=s.css.width,l=s.css.height;if(1===t[0].isReady){try{n=t.contents().find("body")}catch(e){}n&&n.length&&n.children().length&&(o.css("overflow","visible"),r.css({width:"100%","max-width":"100%",height:"9999px"}),a===i&&(a=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),r.css("width",a||"").css("max-width",""),l===i&&(l=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),r.css("height",l||""),o.css("overflow","auto")),r.removeClass("fancybox-is-hidden")}})):r.afterLoad(e),t.attr("src",e.src),o.one("onReset",function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}n(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1})},setContent:function(e,t){var i,r=this;r.isClosing||(r.hideLoading(e),e.$content&&n.fancybox.stop(e.$content),e.$slide.empty(),(i=t)&&i.hasOwnProperty&&i instanceof n&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=n("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===n.type(t)&&(t=n("<div>").append(n.trim(t)).contents()),e.opts.filter&&(t=n("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",function(){n(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(n(this).empty(),e.isLoaded=!1,e.isRevealed=!1)}),n(t).appendTo(e.$slide),n(t).is("video,audio")&&(n(t).addClass("fancybox-video"),n(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||n(t).attr("width"),e.opts.height=e.opts.height||n(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("<div></div>").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),r.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){var t=this;(e=e||t.current)&&!e.$spinner&&(e.$spinner=n(t.translate(t,t.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=n(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",function(e){return 2==e.button&&e.preventDefault(),!0}),"image"===e.type&&n('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(),t.revealContent(e))},adjustCaption:function(e){var t,n=this,i=e||n.current,r=i.opts.caption,s=i.opts.preventCaptionOverlap,o=n.$refs.caption,a=!1;o.toggleClass("fancybox-caption--separate",s),s&&r&&r.length&&(i.pos!==n.currPos?((t=o.clone().appendTo(o.parent())).children().eq(0).empty().html(r),a=t.outerHeight(!0),t.empty().remove()):n.$caption&&(a=n.$caption.outerHeight(!0)),i.$slide.css("padding-bottom",a||""))},adjustLayout:function(e){var t,n,i,r,s=e||this.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(i=s.$slide[0].style["padding-bottom"],r=s.$slide.css("padding-bottom"),parseFloat(r)>0&&(t=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(t-s.$slide[0].scrollHeight)<1&&(n=r),s.$slide.css("padding-bottom",i))),s.$content.css("margin-bottom",n))},revealContent:function(e){var t,r,s,o,a=this,l=e.$slide,c=!1,u=!1,d=a.isMoved(e),h=e.isRevealed;return e.isRevealed=!0,t=e.opts[a.firstRun?"animationEffect":"transitionEffect"],s=e.opts[a.firstRun?"animationDuration":"transitionDuration"],s=parseInt(e.forcedDuration===i?s:e.forcedDuration,10),!d&&e.pos===a.currPos&&s||(t=!1),"zoom"===t&&(e.pos===a.currPos&&s&&"image"===e.type&&!e.hasError&&(u=a.getThumbPos(e))?c=a.getFitPos(e):t="fade"),"zoom"===t?(a.isAnimating=!0,c.scaleX=c.width/u.width,c.scaleY=c.height/u.height,"auto"==(o=e.opts.zoomOpacity)&&(o=Math.abs(e.width/e.height-u.width/u.height)>.1),o&&(u.opacity=.1,c.opacity=1),n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),u),m(e.$content),void n.fancybox.animate(e.$content,c,s,function(){a.isAnimating=!1,a.complete()})):(a.updateSlide(e),t?(n.fancybox.stop(l),r="fancybox-slide--"+(e.pos>=a.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,l.addClass(r).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),m(l),"image"!==e.type&&e.$content.hide().show(0),void n.fancybox.animate(l,"fancybox-slide--current",s,function(){l.removeClass(r).css({transform:"",opacity:""}),e.pos===a.currPos&&a.complete()},!0)):(e.$content.removeClass("fancybox-is-hidden"),h||!d||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===a.currPos&&a.complete())))},getThumbPos:function(e){var i,r,s,o,a,l,c=e.$thumb;return!(!c||!function(e){var i,r;return!(!e||e.ownerDocument!==t)&&(n(".fancybox-container").css("pointer-events","none"),i={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},r=t.elementFromPoint(i.x,i.y)===e,n(".fancybox-container").css("pointer-events",""),r)}(c[0]))&&(r=n.fancybox.getTranslate(c),s=parseFloat(c.css("border-top-width")||0),o=parseFloat(c.css("border-right-width")||0),a=parseFloat(c.css("border-bottom-width")||0),l=parseFloat(c.css("border-left-width")||0),i={top:r.top+s,left:r.left+l,width:r.width-o-l,height:r.height-s-a,scaleX:1,scaleY:1},r.width>0&&r.height>0&&i)},complete:function(){var e,t=this,i=t.current,r={};!t.isMoved()&&i.isLoaded&&(i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),t.preload("inline"),m(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,function(e,i){i.pos>=t.currPos-1&&i.pos<=t.currPos+1?r[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.off().remove())}),t.slides=r),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),i.opts.video.autoStart&&i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()}),i.opts.autoFocus&&"html"===i.contentType&&((e=i.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),i.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n,i=this;i.group.length<2||(n=i.slides[i.currPos+1],(t=i.slides[i.currPos-1])&&t.type===e&&i.loadSlide(t),n&&n.type===e&&i.loadSlide(n))},focus:function(e,i){var r,s,o=this,a=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
1([tabindex^="-"])'].join(",");o.isClosing||((r=(r=!e&&o.current&&o.current.isComplete?o.current.$slide.find("*:visible"+(i?":not(.fancybox-close-small)":"")):o.$refs.container.find("*:visible")).filter(a).filter(function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")})).length?(s=r.index(t.activeElement),e&&e.shiftKey?(s<0||0==s)&&(e.preventDefault(),r.eq(r.length-1).trigger("focus")):(s<0||s==r.length-1)&&(e&&e.preventDefault(),r.eq(0).trigger("focus"))):o.$refs.container.trigger("focus"))},activate:function(){var e=this;n(".fancybox-container").each(function(){var t=n(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)}),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var i,r,s,o,a,l,c,u=this,d=u.current,p=function(){u.cleanUp(e)};return!(u.isClosing||(u.isClosing=!0,!1===u.trigger("beforeClose",e)?(u.isClosing=!1,h(function(){u.update()}),1):(u.removeEvents(),s=d.$content,i=d.opts.animationEffect,r=n.isNumeric(t)?t:i?d.opts.animationDuration:0,d.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?n.fancybox.stop(d.$slide):i=!1,d.$slide.siblings().trigger("onReset").remove(),r&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",r+"ms"),u.hideLoading(d),u.hideControls(!0),u.updateCursor(),"zoom"!==i||s&&r&&"image"===d.type&&!u.isMoved()&&!d.hasError&&(c=u.getThumbPos(d))||(i="fade"),"zoom"===i?(n.fancybox.stop(s),l={top:(o=n.fancybox.getTranslate(s)).top,left:o.left,scaleX:o.width/c.width,scaleY:o.height/c.height,width:c.width,height:c.height},"auto"==(a=d.opts.zoomOpacity)&&(a=Math.abs(d.width/d.height-c.width/c.height)>.1),a&&(c.opacity=0),n.fancybox.setTranslate(s,l),m(s),n.fancybox.animate(s,c,r,p),0):(i&&r?n.fancybox.animate(d.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,r,p):!0===e?setTimeout(p,r):p(),0))))},cleanUp:function(t){var i,r,s,o=this,a=o.current.opts.$orig;o.current.$slide.trigger("onReset"),o.$refs.container.empty().remove(),o.trigger("afterClose",t),o.current.opts.backFocus&&(a&&a.length&&a.is(":visible")||(a=o.$trigger),a&&a.length&&(r=e.scrollX,s=e.scrollY,a.trigger("focus"),n("html, body").scrollTop(s).scrollLeft(r))),o.current=null,(i=n.fancybox.getInstance())?i.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(e,t){var i,r=Array.prototype.slice.call(arguments,1),s=this,o=t&&t.opts?t:s.current;if(o?r.unshift(o):o=s,r.unshift(s),n.isFunction(o.opts[e])&&(i=o.opts[e].apply(o,r)),!1===i)return i;"afterClose"!==e&&s.$refs?s.$refs.container.trigger(e+".fb",r):u.trigger(e+".fb",r)},updateControls:function(){var e=this,i=e.current,r=i.index,s=e.$refs.container,o=e.$refs.caption,a=i.opts.caption;i.$slide.trigger("refresh"),a&&a.length?(e.$caption=o,o.children().eq(0).html(a)):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),s.find("[data-fancybox-count]").html(e.group.length),s.find("[data-fancybox-index]").html(r+1),s.find("[data-fancybox-prev]").prop("disabled",!i.opts.loop&&r<=0),s.find("[data-fancybox-next]").prop("disabled",!i.opts.loop&&r>=e.group.length-1),"image"===i.type?s.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",i.opts.image.src||i.src).show():i.opts.toolbar&&s.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(t.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map(function(e){return"fancybox-show-"+e}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this,t=e.current?e.current.opts:e.opts,n=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&e.group.length>1)).toggleClass("fancybox-show-caption",!!e.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&e.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)}
1,toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:l,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return t instanceof v&&("string"===n.type(e)?t[e].apply(t,i):"function"===n.type(e)&&e.apply(t,i),t)},open:function(e,t,n){return new v(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),u.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(r=t.createElement("div"),e.getComputedStyle&&e.getComputedStyle(r)&&e.getComputedStyle(r).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var n="",r={};if(e&&t)return t.left===i&&t.top===i||(n=(t.left===i?e.position().left:t.left)+"px, "+(t.top===i?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),t.scaleX!==i&&t.scaleY!==i?n+=" scale("+t.scaleX+", "+t.scaleY+")":t.scaleX!==i&&(n+=" scaleX("+t.scaleX+")"),n.length&&(r.transform=n),t.opacity!==i&&(r.opacity=t.opacity),t.width!==i&&(r.width=t.width),t.height!==i&&(r.height=t.height),e.css(r)},animate:function(e,t,r,s,o){var a,l=this;n.isFunction(r)&&(s=r,r=null),l.stop(e),a=l.getTranslate(e),e.on(f,function(c){(!c||!c.originalEvent||e.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(l.stop(e),n.isNumeric(r)&&e.css("transition-duration",""),n.isPlainObject(t)?t.scaleX!==i&&t.scaleY!==i&&l.setTranslate(e,{top:t.top,left:t.left,width:a.width*t.scaleX,height:a.height*t.scaleY,scaleX:1,scaleY:1}):!0!==o&&e.removeClass(t),n.isFunction(s)&&s(c))}),n.isNumeric(r)&&e.css("transition-duration",r+"ms"),n.isPlainObject(t)?(t.scaleX!==i&&t.scaleY!==i&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout(function(){e.trigger(f)},r+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(f),e.off(f).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},y):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},y),this},u.on("click.fb-start","[data-fancybox]",y),u.on("click.fb-start","[data-fancybox-trigger]",function(e){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})}),s=".fancybox-button",o="fancybox-focus",a=null,u.on("mousedown mouseup focus blur",s,function(e){switch(e.type){case"mousedown":a=n(this);break;case"mouseup":a=null;break;case"focusin":n(s).removeClass(o),n(this).is(a)||n(this).is("[disabled]")||n(this).addClass(o);break;case"focusout":n(s).removeClass(o)}})}function y(e,t){var i,r,s,o=[],a=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=g(e.data.options,t)),i=t.$target||n(e.currentTarget).trigger("blur"),(s=n.fancybox.getInstance())&&s.$trigger&&s.$trigger.is(i)||(o=t.selector?n(t.selector):(r=i.attr("data-fancybox")||"")?(o=e.data?e.data.items:[]).length?o.filter('[data-fancybox="'+r+'"]'):n('[data-fancybox="'+r+'"]'):[i],(a=n(o).index(i))<0&&(a=0),(s=n.fancybox.open(o,t,a)).$trigger=i))}}(window,document,i),function(e){"use strict";var t={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(t,n,i){if(t)return i=i||"","object"===e.type(i)&&(i=e.param(i,!0)),e.each(n,function(e,n){t=t.replace("$"+e,n||"")}),i.length&&(t+=(t.indexOf("?")>0?"&":"?")+i),t};e(document).on("objectNeedsType.fb",function(i,r,s){var o,a,l,c,u,d,h,p=s.src||"",f=!1;o=e.extend(!0,{},t,s.opts.media),e.each(o,function(t,i){if(l=p.match(i.matcher)){if(f=i.type,h=t,d={},i.paramPlace&&l[i.paramPlace]){"?"==(u=l[i.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var r=0;r<u.length;++r){var o=u[r].split("=",2);2==o.length&&(d[o[0]]=decodeURIComponent(o[1].replace(/\+/g," ")))}}return c=e.extend(!0,{},i.params,s.opts[t],d),p="function"===e.type(i.url)?i.url.call(this,l,c,s):n(i.url,l,c),a="function"===e.type(i.thumb)?i.thumb.call(this,l,c,s):n(i.thumb,l),"youtube"===t?p=
vendor: 16,172 bytes, line 1
1p.replace(/&t=((\d+)m)?(\d+)s/,function(e,t,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))}):"vimeo"===t&&(p=p.replace("&%23","#")),!1}}),f?(s.opts.thumb||s.opts.$thumb&&s.opts.$thumb.length||(s.opts.thumb=a),"iframe"===f&&(s.opts=e.extend(!0,s.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),e.extend(s,{type:f,src:p,origSrc:s.src,contentSource:h,contentType:"image"===f?"image":"gmap_place"==h||"gmap_search"==h?"map":"video"})):p&&(s.type=s.opts.defaultType)});var i={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(e){var t,n=this;this[e].loaded?setTimeout(function(){n.done(e)}):this[e].loading||(this[e].loading=!0,(t=document.createElement("script")).type="text/javascript",t.src=this[e].src,"youtube"===e?window.onYouTubeIframeAPIReady=function(){n[e].loaded=!0,n.done(e)}:t.onload=function(){n[e].loaded=!0,n.done(e)},document.body.appendChild(t))},done:function(t){var n,i;"youtube"===t&&delete window.onYouTubeIframeAPIReady,(n=e.fancybox.getInstance())&&(i=n.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(e){0==e.data&&n.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",function(){n.next()}))}};e(document).on({"afterShow.fb":function(e,t,n){t.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&i.load(n.contentSource)}})}(i),function(e,t,n){"use strict";var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},s=function(t){var n=[];for(var i in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[i].pageX?n.push({x:t[i].pageX,y:t[i].pageY}):t[i].clientX&&n.push({x:t[i].clientX,y:t[i].clientY});return n},o=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},a=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,i=e[0].attributes,r=i.length;t<r;t++)if("data-fancybox-"===i[t].nodeName.substr(0,14))return!0;return!1},l=function(t){var n=e.getComputedStyle(t)["overflow-y"],i=e.getComputedStyle(t)["overflow-x"],r=("scroll"===n||"auto"===n)&&t.scrollHeight>t.clientHeight,s=("scroll"===i||"auto"===i)&&t.scrollWidth>t.clientWidth;return r||s},c=function(e){for(var t=!1;!(t=l(e.get(0)))&&(e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body"););return t},u=function(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(t,"ontouchstart"))};u.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),n(t).off(".fb.touch"),e.requestId&&(r(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},u.prototype.ontouchstart=function(i){var r=this,l=n(i.target),u=r.instance,d=u.current,h=d.$slide,p=d.$content,f="touchstart"==i.type;if(f&&r.$container.off("mousedown.fb.touch"),(!i.originalEvent||2!=i.originalEvent.button)&&h.length&&l.length&&!a(l)&&!a(l.parent())&&(l.is("img")||!(i.originalEvent.clientX>l[0].clientWidth+l.offset().left))){if(!d||u.isAnimating||d.$slide.hasClass("fancybox-animated"))return i.stopPropagation(),void i.preventDefault();r.realPoints=r.startPoints=s(i),r.startPoints.length&&(d.touch&&i.stopPropagation(),r.startEvent=i,r.canTap=!0,r.$target=l,r.$content=p,r.opts=d.opts.touch,r.isPanning=!1,r.isSwiping=!1,r.isZooming=!1,r.isScrolling=!1,r.canPan=u.canPan(),r.startTime=(new Date).getTime(),r.distanceX=r.distanceY=r.distance=0,r.canvasWidth=Math.round(h[0].clientWidth),r.canvasHeight=Math.round(h[0].clientHeight),r.contentLastPos=null,r.contentStartPos=n.fancybox.getTranslate(r.$content)||{top:0,left:0},r.sliderStartPos=n.fancybox.getTranslate(h),r.stagePos=n.fancybox.getTranslate(u.$refs.stage),r.sliderStartPos.top-=r.stagePos.top,r.sliderStartPos.left-=r.stagePos.left,r.contentStartPos.top-=r.stagePos.top,r.contentStartPos.left-=r.stagePos.left,n(t).off(".fb.touch").on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(r,"ontouchend")).on(f?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(r,"ontouchmove")),n.fancybox.isMobile&&t.addEventListener("scroll",r.onscroll,!0),((r.opts||r.canPan)&&(l.is(r.$stage)||r.$stage.find(l).length)||(l.is(".fancybox-image")&&i.preventDefault(),n.fancybox.isMobile&&l.parents(".fancybox-caption").length))&&(r.isScrollable=c(l)||c(l.parent()),n.fancybox.isMobile&&r.isScrollable||i.preventDefault(),(1===r.startPoints.length||d.hasError)&&(r.canPan?(n.fancybox.stop(r.$content),r.isPanning=!0):r.isSwiping=!0,r.$container.addClass("fancybox-is-grabbing")),2===r.startPoints.length&&"image"===d.type&&(d.isLoaded||d.$ghost)&&(r.canTap=!1,r.isSwiping=!1,r.isPanning=!1,r.isZooming=!0,n.fancybox.stop(r.$content),r.centerPointStartX=.5*(r.startPoints[0].x+r.startPoints[1].x)-n(e).scrollLeft(),r.centerPointStartY=.5*(r.startPoints[0].y+r.startPoints[1].y)-n(e).scrollTop(),r.percentageOfImageAtPinchPointX=(r.centerPointStartX-r.contentStartPos.left)/r.contentStartPos.width,r.percentageOfImageAtPinchPointY=(r.centerPointStartY-r.contentStartPos.top)/r.contentStartPos.height,r.startDistanceBetweenFingers=o(r.startPoints[0],r.startPoints[1]))))}},u.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},u.prototype.ontouchmove=function(e){var t=this;void 0===e.originalEvent.buttons||0!==e.originalEvent.buttons?t.isScrolling?t.canTap=!1:(t.newPoints=s(e),(t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=o(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=o(t.newPoints[0],t.startPoints[0],"y"),t.distance=o(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))):t.ontouchend(e)},u.prototype.onSwipe=function(t){var s,o=this,a=o.instance,l=o.isSwiping,c=o.sliderStartPos.left||0;if(!0!==l)"x"==l&&(o.distanceX>0&&(o.instance.group.length<2||0===o.instance.current.index&&!o.instance.current.opts.loop)?c+=Math.pow(o.distanceX,.8):o.distanceX<0&&(o.instance.group.length<2||o.instance.current.index===o.instance.group.length-1&&!o.instance.current.opts.loop)?c-=Math.pow(-o.distanceX,.8):c+=o.distanceX),o.sliderLastPos={top:"x"==l?0:o.sliderStartPos.top+o.distanceY,left:c},o.requestId&&(r(o.requestId),o.requestId=null),o.requestId=i(function(){o.sliderLastPos&&(n.each(o.instance.slides,function(e,t){var i=t.pos-o.instance.currPos;n.fancybox.setTranslate(t.$slide,{top:o.sliderLastPos.top,left:o.sliderLastPos.left+i*o.canvasWidth+i*t.opts.gutter})}),o.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(o.distance)>10){if(o.canTap=!1,a.group.length<2&&o.opts.vertical?o.isSwiping="y":a.isDragging||!1===o.opts.vertical||"auto"===o.opts.vertical&&n(e).width()>800?o.isSwiping="x":(s=Math.abs(180*Math.atan2(o.distanceY,o.distanceX)/Math.PI),o.isSwiping=s>45&&s<135?"y":"x"),"y"===o.isSwiping&&n.fancybox.isMobile&&o.isScrollable)return void(o.isScrolling=!0);a.isDragging=o.isSwiping,o.startPoints=o.newPoints,n.each(a.slides,function(e,t){var i,r;n.fancybox.stop(t.$slide),i=n.fancybox.getTranslate(t.$slide),r=n.fancybox.getTranslate(a.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),t.pos===a.current.pos&&(o.sliderStartPos.top=i.top-r.top,o.sliderStartPos.left=i.left-r.left),n.fancybox.setTranslate(t.$slide,{top:i.top-r.top,left:i.left-r.left})}),a.SlideShow&&a.SlideShow.isActive&&a.SlideShow.stop()}},u.prototype.onPan=function(){var e=this;o(e.newPoints[0],e.realPoints[0])<(n.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&r(e.requestId),e.requestId=i(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)}))},u.prototype.limitMovement=function(){var e,t,n,i,r,s,o=this,a=o.canvasWidth,l=o.canvasHeight,c=o.distanceX,u=o.distanceY,d=o.contentStartPos,h=d.left,p=d.top,f=d.width,m=d.height;return r=f>a?h+c:h,s=p+u,e=Math.max(0,.5*a-.5*f),t=Math.max(0,.5*l-.5*m),n=Math.min(a-f,.5*a-.5*f),i=Math.min(l-m,.5*l-.5*m),c>0&&r>e&&(r=e-1+Math.pow(-e+h+c,.8)||0),c<0&&r<n&&(r=n+1-Math.pow(n-h-c,.8)||0),u>0&&s>t&&(s=t-1+Math.pow(-t+p+u,.8)||0),u<0&&s<i&&(s=i+1-Math.pow(i-p-u,.8)||0),{top:s,left:r}},u.prototype.limitPosition=function(e,t,n,i){var r=this.canvasWidth,s=this.canvasHeight;return e=n>r?(e=e>0?0:e)<r-n?r-n:e:Math.max(0,r/2-n/2),{top:t=i>s?(t=t>0?0:t)<s-i?s-i:t:Math.max(0,s/2-i/2),left:e}},u.prototype.onZoom=function(){var t=this,s=t.contentStartPos,a=s.width,l=s.height,c=s.left,u=s.top,d=o(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,h=Math.floor(a*d),p=Math.floor(l*d),f=(a-h)*t.percentageOfImageAtPinchPointX,m=(l-p)*t.percentageOfImageAtPinchPointY,g=(t.newPoints[0].x+t.newPoints[1].x)/2-n(e).scrollLeft(),v=(t.newPoints[0].y+t.newPoints[1].y)/2-n(e).scrollTop(),y=g-t.centerPointStartX,b={top:u+(m+(v-t.centerPointStartY)),left:c+(f+y),scaleX:d,scaleY:d};t.canTap=!1,t.newWidth=h,t.newHeight=p,t.contentLastPos=b,t.requestId&&r(t.requestId),t.requestId=i(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})},u.prototype.ontouchend=function(e){var i=this,o=i.isSwiping,a=i.isPanning,l=i.isZooming,c=i.isScrolling;if(i.endPoints=s(e),i.dMs=Math.max((new Date).getTime()-i.startTime,1),i.$container.removeClass("fancybox-is-grabbing"),n(t).off(".fb.touch"),t.removeEventListener("scroll",i.onscroll,!0),i.requestId&&(r(i.requestId),i.requestId=null),i.isSwiping=!1,i.isPanning=!1,i.isZooming=!1,i.isScrolling=!1,i.instance.isDragging=!1,i.canTap)return i.onTap(e);i.speed=100,i.velocityX=i.distanceX/i.dMs*.5,i.velocityY=i.distanceY/i.dMs*.5,a?i.endPanning():l?i.endZooming():i.endSwiping(o,c)},u.prototype.endSwiping=function(e,t){var i=this,r=!1,s=i.instance.group.length,o=Math.abs(i.distanceX),a="x"==e&&s>1&&(i.dMs>130&&o>10||o>50);i.sliderLastPos=null,"y"==e&&!t&&Math.abs(i.distanceY)>50?(n.fancybox.animate(i.instance.current.$slide,{top:i.sliderStartPos.top+i.distanceY+150*i.velocityY,opacity:0},200),r=i.instance.close(!0,250)):a&&i.distanceX>0?r=i.instance.previous(300):a&&i.distanceX<0&&(r=i.instance.next(300)),!1!==r||"x"!=e&&"y"!=e||i.instance.centerSlide(200),i.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var e,t,i,r=this;r.contentLastPos&&(!1===r.opts.momentum||r.dMs>350?(e=r.contentLastPos.left,t=r.contentLastPos.top):(e=r.contentLastPos.left+500*r.velocityX,t=r.contentLastPos.top+500*r.velocityY),(i=r.limitPosition(e,t,r.contentStartPos.width,r.contentStartPos.height)).width=r.contentStartPos.width,i.height=r.contentStartPos.height,n.fancybox.animate(r.$content,i,366))},u.prototype.endZooming=function(){var e,t,i,r,s=this,o=s.instance.current,a=s.newWidth,l=s.newHeight;s.contentLastPos&&(e=s.contentLastPos.left,r={top:t=s.contentLastPos.top,left:e,width:a,height:l,scaleX:1,scaleY:1},n.fancybox.setTranslate(s.$content,r),a<s.canvasWidth&&l<s.canvasHeight?s.instance.scaleToFit(150):a>o.width||l>o.height?s.instance.scaleToActual(s.centerPointStartX,s.centerPointStartY,150):(i=s.limitPosition(e,t,a,l),n.fancybox.animate(s.$content,i,150)))},u.prototype.onTap=function(t){var i,r=this,o=n(t.target),a=r.instance,l=a.current,c=t&&s(t)||r.startPoints,u=c[0]?c[0].x-n(e).scrollLeft()-r.stagePos.left:0,d=c[0]?c[0].y-n(e).scrollTop()-r.stagePos.top:0,h=function(e){var i=l.opts[e];if(n.isFunction(i)&&(i=i.apply(a,[l,t])),i)switch(i){case"close":a.close(r.startEvent);break;case"toggleControls":a.toggleControls();break;case"next":a.next();break;case"nextOrClose":a.group.length>1?a.next():a.close(r.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(a.canPan()?a.scaleToFit():a.isScaledDown()?a.scaleToActual(u,d):a.group.length<2&&a.close(r.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(o.is("img")||!(u>o[0].clientWidth+o.offset().left))){if(o.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(o.is(".fancybox-slide"))i="Slide";else{if(!a.current.$content||!a.current.$content.find(o).addBack().filter(o).length)return;i="Content"}if(r.tapped){if(clearTimeout(r.tapped),r.tapped=null,Math.abs(u-r.tapX)>50||Math.abs(d-r.tapY)>50)return this;h("dblclick"+i)}else r.tapX=u,r.tapY=d,l.opts["dblclick"+i]&&l.opts["dblclick"+i]!==l.opts["click"+i]?r.tapped=setTimeout(function(){r.tapped=null,a.isAnimating||h("click"+i)},500):h("click"+i);return this}},n(t).on("onActivate.fb",function(e,t){t&&!t.Guestures&&(t.Guestures=new u(t))}).on("beforeClose.fb",function(e,t){t&&t.Guestures&&t.Guestures.destroy()})}(window,document,i),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,n=e.instance,i=n.group[n.currIndex].opts.slideShow;e.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){e.toggle()}),n.group.length<2||!i?e.$button.hide():i.progress&&(e.$progress=t('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(e){var n=this,i=n.instance,r=i.current;r&&(!0===e||r.opts.loop||i.currIndex<i.group.length-1)?n.isActive&&"video"!==r.contentType&&(n.$progress&&t.fancybox.animate(n.$progress.show(),{scaleX:1},r.opts.slideShow.speed),n.timer=setTimeout(function(){i.current.opts.loop||i.current.index!=i.group.length-1?i.next():i.jumpTo(0)},r.opts.slideShow.speed)):(n.stop(),i.idleSecondsCounter=0,i.showControls())},clear:function(){var e=this;clearTimeout(e.timer),e.timer=null,e.$progress&&e.$progress.removeAttr("style").hide()},start:function(){var e=this,t=e.instance.current;t&&(e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),e.isActive=!0,t.isComplete&&e.set(!0),e.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this,t=e.instance.current;e.clear(),e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),e.isActive=!1,e.instance.trigger("onSlideShowChange",!1),e.$progress&&e.$progress.removeAttr("style").hide()},toggle:function(){var e=this;e.isActive?e.stop():e.start()}}),t(e).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new n(t))},"beforeShow.fb":function(e,t,n,i){var r=t&&t.SlideShow;i?r&&n.opts.slideShow.autoStart&&r.start():r&&r.isActive&&r.clear()},"afterShow.fb":function(e,t,n){var i=t&&t.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(n,i,r,s,o){var a=i&&i.SlideShow;!a||!r.opts.slideShow||80!==o&&32!==o||t(e.activeElement).is("button,a,input")||(s.preventDefault(),a.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){var n=t&&t.SlideShow;n&&n.stop()}}),t(e).on("visibilitychange",function(){var n=t.fancybox.getInstance(),i=n&&n.SlideShow;i&&i.isActive&&(e.hidden?i.clear():i.set())})}(document,i),function(e,t){"use strict";var n=function(){for(var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
1webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},i=0;i<t.length;i++){var r=t[i];if(r&&r[1]in e){for(var s=0;s<r.length;s++)n[t[0][s]]=r[s];return n}}return!1}();if(n){var i={request:function(t){(t=t||e.documentElement)[n.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[n.exitFullscreen]()},toggle:function(t){t=t||e.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(e[n.fullscreenElement])},enabled:function(){return Boolean(e[n.fullscreenEnabled])}};t.extend(!0,t.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),t(e).on(n.fullscreenchange,function(){var e=i.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",e),n.$refs.container.toggleClass("fancybox-is-fullscreen",e),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))})}t(e).on({"onInit.fb":function(e,t){n?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(e){e.stopPropagation(),e.preventDefault(),i.toggle()}),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&i.request(),t.FullScreen=i):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,i,r){t&&t.FullScreen&&70===r&&(i.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}})}(document,i),function(e,t){"use strict";var n="fancybox-thumbs",i=n+"-active";t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var r=function(e){this.init(e)};t.extend(r.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=e.group,i=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var r=0,s=n.length;r<s&&(n[r].thumb&&i++,!(i>1));r++);i>1&&t.opts?(t.$button.removeAttr("style").on("click",function(){t.toggle()}),t.isActive=!0):t.$button.hide()},create:function(){var e,i=this,r=i.instance,s=i.opts.parentEl,o=[];i.$grid||(i.$grid=t('<div class="'+n+" "+n+"-"+i.opts.axis+'"></div>').appendTo(r.$refs.container.find(s).addBack().filter(s)),i.$grid.on("click","a",function(){r.jumpTo(t(this).attr("data-index"))})),i.$list||(i.$list=t('<div class="'+n+'__list">').appendTo(i.$grid)),t.each(r.group,function(t,n){(e=n.thumb)||"image"!==n.type||(e=n.src),o.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(e&&e.length?' style="background-image:url('+e+')"':'class="fancybox-thumbs-missing"')+"></a>")}),i.$list[0].innerHTML=o.join(""),"x"===i.opts.axis&&i.$list.width(parseInt(i.$grid.css("padding-right"),10)+r.group.length*i.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,r=this,s=r.$list,o=r.$grid;r.instance.current&&(n=(t=s.children().removeClass(i).filter('[data-index="'+r.
vendor: 4,107 bytes, line 1
1instance.current.index+'"]').addClass(i)).position(),"y"===r.opts.axis&&(n.top<0||n.top>s.height()-t.outerHeight())?s.stop().animate({scrollTop:s.scrollTop()+n.top},e):"x"===r.opts.axis&&(n.left<o.scrollLeft()||n.left>o.scrollLeft()+(o.width()-t.outerWidth()))&&s.parent().stop().animate({scrollLeft:n.left},e))},update:function(){var e=this;e.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),e.isVisible?(e.$grid||e.create(),e.instance.trigger("onThumbsShow"),e.focus(0)):e.$grid&&e.instance.trigger("onThumbsHide"),e.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),t(e).on({"onInit.fb":function(e,t){var n;t&&!t.Thumbs&&(n=new r(t)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(e,t,n,i){var r=t&&t.Thumbs;r&&r.isVisible&&r.focus(i?0:250)},"afterKeydown.fb":function(e,t,n,i,r){var s=t&&t.Thumbs;s&&s.isActive&&71===r&&(i.preventDefault(),s.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,i),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),t(e).on("click","[data-fancybox-share]",function(){var e,n,i,r,s=t.fancybox.getInstance(),o=s.current||null;o&&("function"===t.type(o.opts.share.url)&&(e=o.opts.share.url.apply(o,[s,o])),n=o.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===o.type?encodeURIComponent(o.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(i=e,r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},String(i).replace(/[&<>"'`=\/]/g,function(e){return r[e]}))).replace(/\{\{descr\}\}/g,s.$caption?encodeURIComponent(s.$caption.text()):""),t.fancybox.open({src:s.translate(s,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){s.$refs.container.one("beforeClose.fb",function(){e.close(null,0)}),t.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}
1,mobile:{autoFocus:!1}}}))})}(document,i),function(e,t,n){"use strict";function i(){var t=e.location.hash.substr(1),n=t.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:t,index:i<1?1:i,gallery:n.join("-")}}function r(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function s(e){var t,n;return!!e&&""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n}n.escapeSelector||(n.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(t).on({"onInit.fb":function(e,t){var n,r;!1!==t.group[t.currIndex].opts.hash&&(n=i(),(r=s(t))&&n.gallery&&r==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(n,i,r,o){var a;r&&!1!==r.opts.hash&&(a=s(i))&&(i.currentHash=a+(i.group.length>1?"-"+(r.index+1):""),e.location.hash!=="#"+i.currentHash&&(o&&!i.origHash&&(i.origHash=e.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout(function(){"replaceState"in e.history?(e.history[o?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+i.currentHash),o&&(i.hasCreatedHistory=!0)):e.location.hash=i.currentHash,i.hashTimer=null},300)))},"beforeClose.fb":function(n,i,r){r&&!1!==r.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?e.history.back():i.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(i.origHash||"")):e.location.hash=i.origHash),i.currentHash=null)}}),n(e).on("hashchange.fb",function(){var e=i(),t=null;n.each(n(".fancybox-container").get().reverse(),function(e,i){var r=n(i).data("FancyBox");if(r&&r.currentHash)return t=r,!1}),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&r(e)}),setTimeout(function(){n.fancybox.getInstance()||r(i())},50))})}(window,document,i),function(e,t){"use strict";var n=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,i){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(e){var i=t.current,r=(new Date).getTime();t.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(e.preventDefault(),e.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,r-n<250||(n=r,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))})}})}(document,i)},711:function(e,t,n){"use strict";n.d(t,{n4:function(){return _},UD:function(){return w}});var i=n(6354),r=n(222),s=n(8979),o=n(5581),a=n(7604),l=n(793),c=n(9760),u=n(134),d=n(6906);function h(e,t,n){void 0===n&&(n=!1);var h,p,f=(0,o.sb)(t),m=(0,o.sb)(t)&&function(e){var t=e.getBoundingClientRect(),n=(0,d.LI)(t.width)/e.offsetWidth||1,i=(0,d.LI)(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),g=(0,c.A)(t),v=(0,i.A)(e,m,n),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!n)&&(("body"!==(0,a.A)(t)||(0,u.A)(g))&&(y=(h=t)!==(0,s.A)(h)&&(0,o.sb)(h)?{scrollLeft:(p=h).scrollLeft,scrollTop:p.scrollTop}:(0,r.A)(h)),(0,o.sb)(t)?((b=(0,i.A)(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):g&&(b.x=(0,l.A)(g))),{x:v.left+y.scrollLeft-b.x,y:v.top+y.scrollTop-b.y,width:v.width,height:v.height}}var p=n(6979),f=n(5867),m=n(8579),g=n(4278);function v(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||r(e)}),i}var y={placement:"bottom",modifiers:[],strategy:"absolute"};function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function w(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,s=void 0===r?y:r;return function(e,t,n){void 0===n&&(n=s);var r,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},y,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;w(),l.options=Object.assign({},s,l.options,r),l.scrollParents={reference:(0,o.vq)(e)?(0,f.A)(e):e.contextElement?(0,f.A)(e.contextElement):[],popper:(0,f.A)(t)};var a,u,h=function(e){var t=v(e);return g.GM.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(i,l.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}
vendor: 1,087 bytes, line 1
1),Object.keys(u).map(function(e){return u[e]})));return l.orderedModifiers=h.filter(function(e){return e.enabled}),l.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var s=r({state:l,name:t,instance:d,options:i});c.push(s||function(){})}}),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(b(t,n)){l.rects={reference:h(t,(0,m.A)(n),"fixed"===l.options.strategy),popper:(0,p.A)(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(e){return l.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<l.orderedModifiers.length;i++)if(!0!==l.reset){var r=l.orderedModifiers[i],s=r.fn,o=r.options,a=void 0===o?{}:o,c=r.name;"function"==typeof s&&(l=s({state:l,options:a,name:c,instance:d})||l)}else l.reset=!1,i=-1}}},update:(r=function(){return new Promise(function(e){d.forceUpdate(),e(l)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(r())})})),a}),destroy:function(){w(),u=!0}};if(!b(e,t))return d;
1function w(){c.forEach(function(e){return e()}),c=[]}return d.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),d}}var _=w()},5446:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(5581);function r(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,i.Ng)(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},6354:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var i=n(5581),r=n(6906),s=n(8979),o=n(2283);function a(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),l=1,c=1;t&&(0,i.sb)(e)&&(l=e.offsetWidth>0&&(0,r.LI)(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&(0,r.LI)(a.height)/e.offsetHeight||1);var u=((0,i.vq)(e)?(0,s.A)(e):window).visualViewport,d=!(0,o.A)()&&n,h=(a.left+(d&&u?u.offsetLeft:0))/l,p=(a.top+(d&&u?u.offsetTop:0))/c,f=a.width/l,m=a.height/c;return{width:f,height:m,top:p,right:h+f,bottom:p+m,left:h,x:h,y:p}}},271:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(8979);function r(e){return(0,i.A)(e).getComputedStyle(e)}},9760:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(5581);function r(e){return(((0,i.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},6979:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(6354);function r(e){var t=(0,i.A)(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}},7604:function(e,t,n){"use strict";function i(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{A:function(){return i}})},8579:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var i=n(8979),r=n(7604),s=n(271),o=n(5581);function a(e){return["table","td","th"].indexOf((0,r.A)(e))>=0}var l=n(2083),c=n(2398);function u(e){return(0,o.sb)(e)&&"fixed"!==(0,s.A)(e).position?e.offsetParent:null}function d(e){for(var t=(0,i.A)(e),n=u(e);n&&a(n)&&"static"===(0,s.A)(n).position;)n=u(n);return n&&("html"===(0,r.A)(n)||"body"===(0,r.A)(n)&&"static"===(0,s.A)(n).position)?t:n||function(e){var t=/firefox/i.test((0,c.A)());if(/Trident/i.test((0,c.A)())&&(0,o.sb)(e)&&"fixed"===(0,s.A)(e).position)return null;var n=(0,l.A)(e);for((0,o.Ng)(n)&&(n=n.host);(0,o.sb)(n)&&["html","body"].indexOf((0,r.A)(n))<0;){var i=(0,s.A)(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}},2083:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var i=n(7604),r=n(9760),s=n(5581);function o(e){return"html"===(0,i.A)(e)?e:e.assignedSlot||e.parentNode||((0,s.Ng)(e)?e.host:null)||(0,r.A)(e)}},8979:function(e,t,n){"use strict";function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{A:function(){return i}})},222:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(8979);function r(e){var t=(0,i.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},793:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var i=n(6354),r=n(9760),s=n(222);function o(e){return(0,i.A)((0,r.A)(e)).left+(0,s.A)(e).scrollLeft}},5581:function(e,t,n){"use strict";n.d(t,{Ng:function(){return o},sb:function(){return s},vq:function(){return r}});var i=n(8979);function r(e){return e instanceof(0,i.A)(e).Element||e instanceof Element}function s(e){return e instanceof(0,i.A)(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,i.A)(e).ShadowRoot||e instanceof ShadowRoot)}},2283:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(2398);function r(){return!/^((?!chrome|android).)*safari/i.test((0,i.A)())}},134:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(271);function r(e){var t=(0,i.A)(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}},5867:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var i=n(2083),r=n(134),s=n(7604),o=n(5581);function a(e){return["html","body","#document"].indexOf((0,s.A)(e))>=0?e.ownerDocument.body:(0,o.sb)(e)&&(0,r.A)(e)?e:a((0,i.A)(e))}var l=n(8979);function c(e,t){var n;void 0===t&&(t=[]);var s=a(e),o=s===(null==(n=e.ownerDocument)?void 0:n.body),u=(0,l.A)(s),d=o?[u].concat(u.visualVie
1wport||[],(0,r.A)(s)?s:[]):s,h=t.concat(d);return o?h:h.concat(c((0,i.A)(d)))}},4278:function(e,t,n){"use strict";n.d(t,{DD:function(){return g},EP:function(){return x},GM:function(){return T},LF:function(){return y},LG:function(){return w},M9:function(){return C},Mn:function(){return i},OM:function(){return l},Ol:function(){return m},R9:function(){return h},SE:function(){return S},WY:function(){return d},_N:function(){return u},ci:function(){return v},iW:function(){return _},ir:function(){return f},kb:function(){return o},ni:function(){return c},pA:function(){return k},pG:function(){return s},qZ:function(){return a},sQ:function(){return r},v5:function(){return b},xf:function(){return p}});var i="top",r="bottom",s="right",o="left",a="auto",l=[i,r,s,o],c="start",u="end",d="clippingParents",h="viewport",p="popper",f="reference",m=l.reduce(function(e,t){return e.concat([t+"-"+c,t+"-"+u])},[]),g=[].concat(l,[a]).reduce(function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])},[]),v="beforeRead",y="read",b="afterRead",w="beforeMain",_="main",x="afterMain",k="beforeWrite",C="write",S="afterWrite",T=[v,y,b,w,_,x,k,C,S]},3011:function(e,t,n){"use strict";n.r(t),n.d(t,{afterMain:function(){return i.EP},afterRead:function(){return i.v5},afterWrite:function(){return i.SE},applyStyles:function(){return r.A},arrow:function(){return s.A},auto:function(){return i.qZ},basePlacements:function(){return i.OM},beforeMain:function(){return i.LG},beforeRead:function(){return i.ci},beforeWrite:function(){return i.pA},bottom:function(){return i.sQ},clippingParents:function(){return i.WY},computeStyles:function(){return o.A},createPopper:function(){return m.n},createPopperBase:function(){return p.n4},createPopperLite:function(){return v},detectOverflow:function(){return f.A},end:function(){return i._N},eventListeners:function(){return a.A},flip:function(){return l.A},hide:function(){return c.A},left:function(){return i.kb},main:function(){return i.iW},modifierPhases:function(){return i.GM},offset:function(){return u.A},placements:function(){return i.DD},popper:function(){return i.xf},popperGenerator:function(){return p.UD},popperOffsets:function(){return d.A},preventOverflow:function(){return h.A},read:function(){return i.LF},reference:function(){return i.ir},right:function(){return i.pG},start:function(){return i.ni},top:function(){return i.Mn},variationPlacements:function(){return i.Ol},viewport:function(){return i.R9},write:function(){return i.M9}});var i=n(4278),r=n(6607),s=n(8256),o=n(1262),a=n(9068),l=n(644),c=n(9081),u=n(8490),d=n(5059),h=n(192),p=n(711),f=n(6397),m=n(1576),g=[a.A,d.A,o.A,r.A],v=(0,p.UD)({defaultModifiers:g})},6607:function(e,t,n){"use strict";var i=n(7604),r=n(5581);t.A={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},s=t.attributes[e]||{},o=t.elements[e];(0,r.sb)(o)&&(0,i.A)(o)&&(Object.assign(o.style,n),Object.keys(s).forEach(function(e){var t=s[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var s=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});(0,r.sb)(s)&&(0,i.A)(s)&&(Object.assign(s.style,a),Object.keys(o).forEach(function(e){s.removeAttribute(e)}))})}},requires:["computeStyles"]}},8256:function(e,t,n){"use strict";var i=n(2632),r=n(6979),s=n(5446),o=n(8579),a=n(9703),l=n(6523),c=n(4318),u=n(1007),d=n(4278);t.A={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,s=e.name,h=e.options,p=n.elements.arrow,f=n.modifiersData.popperOffsets,m=(0,i.A)(n.placement),g=(0,a.A)(m),v=[d.kb,d.pG].indexOf(m)>=0?"height":"width";if(p&&f){var y=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,c.A)("number"!=typeof e?e:(0,u.A)(e,d.OM))}(h.padding,n),b=(0,r.A)(p),w="y"===g?d.Mn:d.kb,_="y"===g?d.sQ:d.pG,x=n.rects.reference[v]+n.rects.reference[g]-f[g]-n.rects.popper[v],k=f[g]-n.rects.reference[g],C=(0,o.A)(p),S=C?"y"===g?C.clientHeight||0:C.clientWidth||0:0,T=x/2-k/2,E=y[w],I=S-b[v]-y[_],A=S/2-b[v]/2+T,D=(0,l.u)(E,A,I),M=g;n.modifiersData[s]=((t={})[M]=D,t.centerOffset=D-A,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&(0,s.A)(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},1262:function(e,t,n){"use strict";var i=n(4278),r=n(8579),s=n(8979),o=n(9760),a=n(271),l=n(2632),c=n(8101),u=n(6906),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function h(e){var t,n=e.popper,l=e.popperRect,c=e.placement,h=e.variation,p=e.offsets,f=e.position,m=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,y=e.isFixed,b=p.x,w=void 0===b?0:b,_=p.y,x=void 0===_?0:_,k="function"==typeof v?v({x:w,y:x}):{x:w,y:x};w=k.x,x=k.y;
1var C=p.hasOwnProperty("x"),S=p.hasOwnProperty("y"),T=i.kb,E=i.Mn,I=window;if(g){var A=(0,r.A)(n),D="clientHeight",M="clientWidth";A===(0,s.A)(n)&&(A=(0,o.A)(n),"static"!==(0,a.A)(A).position&&"absolute"===f&&(D="scrollHeight",M="scrollWidth")),(c===i.Mn||(c===i.kb||c===i.pG)&&h===i._N)&&(E=i.sQ,x-=(y&&A===I&&I.visualViewport?I.visualViewport.height:A[D])-l.height,x*=m?1:-1),c!==i.kb&&(c!==i.Mn&&c!==i.sQ||h!==i._N)||(T=i.pG,w-=(y&&A===I&&I.visualViewport?I.visualViewport.width:A[M])-l.width,w*=m?1:-1)}var O,P=Object.assign({position:f},g&&d),L=!0===v?function(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:(0,u.LI)(n*r)/r||0,y:(0,u.LI)(i*r)/r||0}}({x:w,y:x},(0,s.A)(n)):{x:w,y:x};return w=L.x,x=L.y,m?Object.assign({},P,((O={})[E]=S?"0":"",O[T]=C?"0":"",O.transform=(I.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",O)):Object.assign({},P,((t={})[E]=S?x+"px":"",t[T]=C?w+"px":"",t.transform="",t))}t.A={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,s=n.adaptive,o=void 0===s||s,a=n.roundOffsets,u=void 0===a||a,d={placement:(0,l.A)(t.placement),variation:(0,c.A)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,h(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,h(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},9068:function(e,t,n){"use strict";var i=n(8979),r={passive:!0};t.A={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,s=e.options,o=s.scroll,a=void 0===o||o,l=s.resize,c=void 0===l||l,u=(0,i.A)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(e){e.addEventListener("scroll",n.update,r)}),c&&u.addEventListener("resize",n.update,r),function(){a&&d.forEach(function(e){e.removeEventListener("scroll",n.update,r)}),c&&u.removeEventListener("resize",n.update,r)}},data:{}}},644:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var i={left:"right",right:"left",bottom:"top",top:"bottom"};function r(e){return e.replace(/left|right|bottom|top/g,function(e){return i[e]})}var s=n(2632),o={start:"end",end:"start"};function a(e){return e.replace(/start|end/g,function(e){return o[e]})}var l=n(6397),c=n(8101),u=n(4278),d={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,d=void 0===o||o,h=n.altAxis,p=void 0===h||h,f=n.fallbackPlacements,m=n.padding,g=n.boundary,v=n.rootBoundary,y=n.altBoundary,b=n.flipVariations,w=void 0===b||b,_=n.allowedAutoPlacements,x=t.options.placement,k=(0,s.A)(x),C=f||(k!==x&&w?function(e){if((0,s.A)(e)===u.qZ)return[];var t=r(e);return[a(e),t,a(t)]}(x):[r(x)]),S=[x].concat(C).reduce(function(e,n){return e.concat((0,s.A)(n)===u.qZ?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,d=n.flipVariations,h=n.allowedAutoPlacements,p=void 0===h?u.DD:h,f=(0,c.A)(i),m=f?d?u.Ol:u.Ol.filter(function(e){return(0,c.A)(e)===f}):u.OM,g=m.filter(function(e){return p.indexOf(e)>=0});0===g.length&&(g=m);var v=g.reduce(function(t,n){return t[n]=(0,l.A)(e,{placement:n,boundary:r,rootBoundary:o,padding:a})[(0,s.A)(n)],t},{});return Object.keys(v).sort(function(e,t){return v[e]-v[t]})}(t,{placement:n,boundary:g,rootBoundary:v,padding:m,flipVariations:w,allowedAutoPlacements:_}):n)},[]),T=t.rects.reference,E=t.rects.popper,I=new Map,A=!0,D=S[0],M=0;M<S.length;M++){var O=S[M],P=(0,s.A)(O),L=(0,c.A)(O)===u.ni,N=[u.Mn,u.sQ].indexOf(P)>=0,R=N?"width":"height",B=(0,l.A)(t,{placement:O,boundary:g,rootBoundary:v,altBoundary:y,padding:m}),F=N?L?u.pG:u.kb:L?u.sQ:u.Mn;T[R]>E[R]&&(F=r(F));var V=r(F),$=[];
1if(d&&$.push(B[P]<=0),p&&$.push(B[F]<=0,B[V]<=0),$.every(function(e){return e})){D=O,A=!1;break}I.set(O,$)}if(A)for(var j=function(e){var t=S.find(function(t){var n=I.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return D=t,"break"},H=w?3:1;H>0&&"break"!==j(H);H--);t.placement!==D&&(t.modifiersData[i]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},9081:function(e,t,n){"use strict";var i=n(4278),r=n(6397);function s(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function o(e){return[i.Mn,i.pG,i.sQ,i.kb].some(function(t){return e[t]>=0})}t.A={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,a=t.rects.popper,l=t.modifiersData.preventOverflow,c=(0,r.A)(t,{elementContext:"reference"}),u=(0,r.A)(t,{altBoundary:!0}),d=s(c,i),h=s(u,a,l),p=o(d),f=o(h);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:h,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}},8490:function(e,t,n){"use strict";var i=n(2632),r=n(4278);t.A={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,s=e.name,o=n.offset,a=void 0===o?[0,0]:o,l=r.DD.reduce(function(e,n){return e[n]=function(e,t,n){var s=(0,i.A)(e),o=[r.kb,r.Mn].indexOf(s)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,l=a[0],c=a[1];return l=l||0,c=(c||0)*o,[r.kb,r.pG].indexOf(s)>=0?{x:c,y:l}:{x:l,y:c}}(n,t.rects,a),e},{}),c=l[t.placement],u=c.x,d=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[s]=l}}},5059:function(e,t,n){"use strict";var i=n(1815);t.A={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,i.A)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},192:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var i=n(4278),r=n(2632),s=n(9703),o=n(6523),a=n(6979),l=n(8579),c=n(6397),u=n(8101),d=n(7364),h=n(6906),p={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,p=e.name,f=n.mainAxis,m=void 0===f||f,g=n.altAxis,v=void 0!==g&&g,y=n.boundary,b=n.rootBoundary,w=n.altBoundary,_=n.padding,x=n.tether,k=void 0===x||x,C=n.tetherOffset,S=void 0===C?0:C,T=(0,c.A)(t,{boundary:y,rootBoundary:b,padding:_,altBoundary:w}),E=(0,r.A)(t.placement),I=(0,u.A)(t.placement),A=!I,D=(0,s.A)(E),M="x"===D?"y":"x",O=t.modifiersData.popperOffsets,P=t.rects.reference,L=t.rects.popper,N="function"==typeof S?S(Object.assign({},t.rects,{placement:t.placement})):S,R="number"==typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(O){if(m){var V,$="y"===D?i.Mn:i.kb,j="y"===D?i.sQ:i.pG,H="y"===D?"height":"width",z=O[D],U=z+T[$],q=z-T[j],W=k?-L[H]/2:0,G=I===i.ni?P[H]:L[H],Z=I===i.ni?-L[H]:-P[H],Y=t.elements.arrow,K=k&&Y?(0,a.A)(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,d.A)(),X=J[$],Q=J[j],ee=(0,o.u)(0,P[H],K[H]),te=A?P[H]/2-W-ee-X-R.mainAxis:G-ee-X-R.mainAxis,ne=A?-P[H]/2+W+ee+Q+R.mainAxis:Z+ee+Q+R.mainAxis,ie=t.elements.arrow&&(0,l.A)(t.elements.arrow),re=ie?"y"===D?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(V=null==B?void 0:B[D])?V:0,oe=z+te-se-re,ae=z+ne-se,le=(0,o.u)(k?(0,h.jk)(U,oe):U,z,k?(0,h.T9)(q,ae):q);O[D]=le,F[D]=le-z}if(v){var ce,ue="x"===D?i.Mn:i.kb,de="x"===D?i.sQ:i.pG,he=O[M],pe="y"===M?"height":"width",fe=he+T[ue],me=he-T[de],ge=-1!==[i.Mn,i.kb].indexOf(E),ve=null!=(ce=null==B?void 0:B[M])?ce:0,ye=ge?fe:he-P[pe]-L[pe]-ve+R.altAxis,be=ge?he+P[pe]+L[pe]-ve-R.altAxis:me,we=k&&ge?(0,o.P)(ye,he,be):(0,o.u)(k?ye:fe,he,k?be:me);O[M]=we,F[M]=we-he}t.modifiersData[p]=F}},requiresIfExists:["offset"]}},1576:function(e,t,n){"use strict";n.d(t,{n:function(){return f}});var i=n(711),r=n(9068),s=n(5059),o=n(1262),a=n(6607),l=n(8490),c=n(644),u=n(192),d=n(8256),h=n(9081),p=[r.A,s.A,o.A,a.A,l.A,c.A,u.A,d.A,h.A],f=(0,i.UD)({defaultModifiers:p})},1815:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var i=n(2632),r=n(8101),s=n(9703),o=n(4278);function a(e){var t,n=e.reference,a=e.element,l=e.placement,c=l?(0,i.A)(l):null,u=l?(0,r.A)(l):null,d=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(c){case o.Mn:t={x:d,y:n.y-a.height};break;case o.sQ:t={x:d,y:n.y+n.height};break;case o.pG:t={x:n.x+n.width,y:h};break;case o.kb:t={x:n.x-a.width,y:h};break;default:t={x:n.x,y:n.y}}var p=c?(0,s.A)(c):null;if(null!=p){var f="y"===p?"height":"width";switch(u){case o.ni:t[p]=t[p]-(n[f]/2-a[f]/2);break;case o._N:t[p]=t[p]+(n[f]/2-a[f]/2)}}return t}},6397:function(e,t,n){"use strict";n.d(t,{A:function(){return k}});var i=n(4278),r=n(8979),s=n(9760),o=n(793),a=n(2283),l=n(271),c=n(222),u=n(6906),d=n(5867),h=n(8579),p=n(5581),f=n(6354),m=n(2083),g=n(5446),v=n(7604);function y(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function b(e,t,n){return t===i.R9?y(function(e,t){var n=(0,r.A)(e),i=(0,s.A)(e),l=n.visualVie
1wport,c=i.clientWidth,u=i.clientHeight,d=0,h=0;if(l){c=l.width,u=l.height;var p=(0,a.A)();(p||!p&&"fixed"===t)&&(d=l.offsetLeft,h=l.offsetTop)}return{width:c,height:u,x:d+(0,o.A)(e),y:h}}(e,n)):(0,p.vq)(t)?function(e,t){var n=(0,f.A)(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):y(function(e){var t,n=(0,s.A)(e),i=(0,c.A)(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=(0,u.T9)(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),d=(0,u.T9)(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),h=-i.scrollLeft+(0,o.A)(e),p=-i.scrollTop;return"rtl"===(0,l.A)(r||n).direction&&(h+=(0,u.T9)(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:d,x:h,y:p}}((0,s.A)(e)))}var w=n(1815),_=n(4318),x=n(1007);function k(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,c=void 0===a?e.strategy:a,k=n.boundary,C=void 0===k?i.WY:k,S=n.rootBoundary,T=void 0===S?i.R9:S,E=n.elementContext,I=void 0===E?i.xf:E,A=n.altBoundary,D=void 0!==A&&A,M=n.padding,O=void 0===M?0:M,P=(0,_.A)("number"!=typeof O?O:(0,x.A)(O,i.OM)),L=I===i.xf?i.ir:i.xf,N=e.rects.popper,R=e.elements[D?L:I],B=function(e,t,n,i){var r="clippingParents"===t?function(e){var t=(0,d.A)((0,m.A)(e)),n=["absolute","fixed"].indexOf((0,l.A)(e).position)>=0&&(0,p.sb)(e)?(0,h.A)(e):e;return(0,p.vq)(n)?t.filter(function(e){return(0,p.vq)(e)&&(0,g.A)(e,n)&&"body"!==(0,v.A)(e)}):[]}(e):[].concat(t),s=[].concat(r,[n]),o=s[0],a=s.reduce(function(t,n){var r=b(e,n,i);return t.top=(0,u.T9)(r.top,t.top),t.right=(0,u.jk)(r.right,t.right),t.bottom=(0,u.jk)(r.bottom,t.bottom),t.left=(0,u.T9)(r.left,t.left),t},b(e,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}((0,p.vq)(R)?R:R.contextElement||(0,s.A)(e.elements.popper),C,T,c),F=(0,f.A)(e.elements.reference),V=(0,w.A)({reference:F,element:N,strategy:"absolute",placement:o}),$=y(Object.assign({},N,V)),j=I===i.xf?$:F,H={top:B.top-j.top+P.top,bottom:j.bottom-B.bottom+P.bottom,left:B.left-j.left+P.left,right:j.right-B.right+P.right},z=e.modifiersData.offset;if(I===i.xf&&z){var U=z[o];Object.keys(H).forEach(function(e){var t=[i.pG,i.sQ].indexOf(e)>=0?1:-1,n=[i.Mn,i.sQ].indexOf(e)>=0?"y":"x";H[e]+=U[n]*t})}return H}},1007:function(e,t,n){"use strict";function i(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}n.d(t,{A:function(){return i}})},2632:function(e,t,n){"use strict";function i(e){return e.split("-")[0]}n.d(t,{A:function(){return i}})},7364:function(e,t,n){"use strict";function i(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{A:function(){return i}})},9703:function(e,t,n){"use strict";function i(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{A:function(){return i}})},8101:function(e,t,n){"use strict";function i(e){return e.split("-")[1]}n.d(t,{A:function(){return i}})},6906:function(e,t,n){"use strict";n.d(t,{LI:function(){return s},T9:function(){return i},jk:function(){return r}});var i=Math.max,r=Math.min,s=Math.round},4318:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(7364);function r(e){return Object.assign({},(0,i.A)(),e)}},2398:function(e,t,n){"use strict";function i(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}n.d(t,{A:function(){return i}})},6523:function(e,t,n){"use strict";n.d(t,{P:function(){return s},u:function(){return r}});var i=n(6906);function r(e,t,n){return(0,i.T9)(e,(0,i.jk)(t,n))}function s(e,t,n){var i=r(e,t,n);return i>n?n:i}},303:function(e){!function(t){var n="Modernizr"in t,i=t.Modernizr;!function(e,t,n,i){function r(e,t){return typeof e===t}function s(e,t){return!!~(""+e).indexOf(t)}function o(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):b?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function a(e,t,i,r){var s,a,l,c,u="modernizr",d=o("div"),h=function(){var e=n.body;return e||((e=o(b?"svg":"body")).fake=!0),e}();if(parseInt(i,10))for(;i--;)(l=o("div")).id=r?r[i]:u+(i+1),d.appendChild(l);return(s=o("style")).type="text/css",s.id="s"+u,(h.fake?h:d).appendChild(s),h.appendChild(d),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(n.createTextNode(e)),d.id=u,h.fake&&(h.style.background="",h.style.overflow="hidden",c=y.style.overflow,y.style.overflow="hidden",y.appendChild(h)),a=t(d,e),h.fake&&h.parentNode?(h.parentNode.removeChild(h),y.style.overflow=c,y.offsetHeight):d.parentNode.removeChild(d),!!a}function l(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function c(e,n){var r=e.length;if("CSS"in t&&"supports"in t.CSS){for(;r--;)if(t.CSS.supports(l(e[r]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var s=[];r--;)s.push("("+l(e[r])+":"+n+")");return a("@supports ("+(s=s.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"===function(e,n,i){var r;if("getComputedStyle"in t){r=getComputedStyle.call(t,e,null);var s=t.console;null!==r?i&&(r=r.getPropertyValue(i)):s&&s[s.error?"error":"log"].call(s,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else r=e.currentStyle&&e.currentStyle[i];return r}(e,0,"position")})}return i}function u(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function d(e,t,n,a){function l(){h&&(delete k.style,delete k.modElem)}if(a=!r(a,"undefined")&&a,!r(n,"undefined")){var d=c(e,n);if(!r(d,"undefined"))return d}for(var h,p,f,m,g,v=["modernizr","tspan","samp"];!k.style&&v.length;)h=!0,k.modElem=o(v.shift()),k.style=k.modElem.style;for(f=e.length,p=0;p<f;p++)if(m=e[p],g=k.style[m],s(m,"-")&&(m=u(m)),k.style[m]!==i){if(a||r(n,"undefined"))return l(),"pfx"!==t||m;try{k.style[m]=n}catch(e){}if(k.style[m]!==g)return l(),"pfx"!==t||m}return l(),!1}function h(e,t){return function(){return e.apply(t,arguments)}}function p(e,t,n,i,s){var o=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+_.join(o+" ")+o).split(" ");return r(t,"string")||r(t,"undefined")?d(a,t,i,s):function(e,t,n){var i;for(var s in e)if(e[s]in t)return!1===n?e[s]:r(i=t[e[s]],"function")?h(i,n||t):i;return!1}(a=(e+" "+C.join(o+" ")+o).split(" "),t,n)}var f=[],m={_version:"3.13.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){f.push({name:e,fn:t,options:n})},addAsyncTest:function(e){f.push({name:null,fn:e})}},g=function(){};g.prototype=m,g=new g;var v=[],y=n.documentElement,b="svg"===y.nodeName.toLowerCase(),w="Moz O ms Webkit",_=m._config.usePrefixes?w.split(" "):[];m._cssomPrefixes=_;var x={elem:o("modernizr")};g._q.push(function(){delete x.elem});var k={style:x.elem.style};g._q.unshift(function(){delete k.style});
1var C=m._config.usePrefixes?w.toLowerCase().split(" "):[];m._domPrefixes=C,m.testAllProps=p;var S=function(e){var n,r=prefixes.length,s=t.CSSRule;if(void 0===s)return i;if(!e)return!1;if((n=(e=e.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in s)return"@"+e;for(var o=0;o<r;o++){var a=prefixes[o];if(a.toUpperCase()+"_"+n in s)return"@-"+a.toLowerCase()+"-"+e}return!1};m.atRule=S;var T=m.prefixed=function(e,t,n){return 0===e.indexOf("@")?S(e):(-1!==e.indexOf("-")&&(e=u(e)),t?p(e,t,n):p(e,"pfx"))};g.addTest("objectfit",!!T("objectFit"),{aliases:["object-fit"]}),g.addTest("geolocation","geolocation"in navigator),function(){var e,t,n,i,s,o;for(var a in f)if(f.hasOwnProperty(a)){if(e=[],(t=f[a]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(i=r(t.fn,"function")?t.fn():t.fn,s=0;s<e.length;s++)1===(o=e[s].split(".")).length?g[o[0]]=i:(g[o[0]]&&(!g[o[0]]||g[o[0]]instanceof Boolean)||(g[o[0]]=new Boolean(g[o[0]])),g[o[0]][o[1]]=i),v.push((i?"":"no-")+o.join("-"))}}(),function(e){var t=y.className,n=g._config.classPrefix||"";if(b&&(t=t.baseVal),g._config.enableJSClass){var i=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(i,"$1"+n+"js$2")}g._config.enableClasses&&(e.length>0&&(t+=" "+n+e.join(" "+n)),b?y.className.baseVal=t:y.className=t)}(v),delete m.addTest,delete m.addAsyncTest;for(var E=0;E<g._q.length;E++)g._q[E]();e.Modernizr=g}(t,t,document),e.exports=t.Modernizr,n?t.Modernizr=i:delete t.Modernizr}(window)},9670:function(){!function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const e=HTMLElement;window.HTMLElement={HTMLElement:function(){return Reflect.construct(e,[],this.constructor)}}.HTMLElement,HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}()}()},246:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e),this.init()}init(){console.log("Component: ",this.element),console.log("properties: ",this.props)}}i.q.registerComponent(".component-placeholder",r)},8582:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e),this.init()}init(){}}i.q.registerComponent(".component-placeholder",r)},3830:function(e,t,n){"use strict";n.r(t),n(9599);var i=n(3323),r=n(4302);class s extends i.q.Component{constructor(e){super(e),this.init()}init(){this.initAngularModule()}initAngularModule(){r.Z.publish("list.reload",this.element)}}i.q.registerComponent(".component-automated-list",s)},3138:function(e,t,n){"use strict";n.r(t),n(9599);var i=n(4302),r=n(3323);class s extends r.q.Component{constructor(e){super(e),this.init()}init(){this.initAngularModule()}initAngularModule(){i.Z.publish("list.reload",this.element)}}r.q.registerComponent(".component-automated-teaser",s)},998:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.tabPaneSelector=".services-accordion-panel",this.accordionHeadingSelector=".services-accordion-button",this.days=e.find(".day"),this.periods=e.find(".periods"),this.openingHours=e.find(".opening-hours"),this.tabPanes=e.find(this.tabPaneSelector),this.accordionHeadings=e.find(this.accordionHeadingSelector),this.init()}numberToDay(e){return["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"][e]}formatOpeningHours(e){const t=r(e).find("span.timeslot");return r(t).each(function(){const e=r(this).find("span");r(e).each(function(){const e=r(this).text().substring(0,2)+":"+r(this).text().substring(2,4);r(this).text(e)});const t=r(this).find("span:first-child").text()+" - "+r(this).find("span:last-child").text();r(this).text(t)}),t.length>1&&r(t).each(function(e){if(e!==t.length-1){const e=r(this).text()+", ";r(this).text(e)}}),e}accordionHeadingEvents(){this.tabPanes.on("show.bs.collapse",e=>{r(e.currentTarget).prev(this.accordionHeadingSelector).addClass("opened"),r(e.currentTarget).closest(this.tabPaneSelector).addClass("opened")}),this.tabPanes.on("hide.bs.collapse",e=>{r(e.currentTarget).prev(this.accordionHeadings).removeClass("opened"),r(e.currentTarget).closest(this.tabPaneSelector).removeClass("opened")})}accessibility(){this.accordionHeadings.on("keydown",e=>{13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),r(r(e.currentTarget).data("bs-target")).collapse("show")?r(r(e.currentTarget).data("bs-target")).collapse("hide"):r(r(e.currentTarget).data("bs-target")).collapse("show"))})}init(){this.accordionHeadingEvents(),this.accessibility(),this.days.each((e,t)=>{const n=this.numberToDay(r(t).text().substring(0,1));r(t).text(n)}),this.periods.each((e,t)=>{const n=this.formatOpeningHours(r(t)).text();r(t).text(n)})}}i.q.registerComponent(".component-bank",s)},4778:function(e,t,n){"use strict";n.r(t),n(3950);var i=n(1215),r=n(6295),s=n(4692);class o extends i.r{constructor(e){super(e)}_handleAction(e,t){"string"==typeof t&&(t=JSON.parse(t.replace(/'/g,'"'))),s.fancybox.open(`<div><rwm-banksearch-component id="action-bankstellensuche" params='${r.A.escapeHTML(JSON.stringify(t))}'></rwm-banksearch-component></div>`,{baseClass:"bankSearchFancybox",smallBtn:!1,placeFocusBack:!0,beforeClose:()=>{void 0!==(t="string"==typeof t?JSON.parse(t):t)&&t.ctaPrimary&&r.A.eventTracking("redirect"===t.ctaPrimary.action,"bankstellensuche","Bankstellensuche geschlossen",{ctaType:"ueberleitungPrimaerbank"})},afterClose:()=>{s(e).focus()}})}}i.Z.registerAction("bankstellensuche",new o)},4997:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(2242),s=n(2384);class o extends i.q.Component{constructor(e){super(e),this.disclaimerUrl=this.element.data("disclaimer"),this.init()}init(){s.r.getToken().then(e=>{const t=r.KT+r.vZ.servicebot,n=document.createElement("link");n.rel="stylesheet",n.href="https://assistent.stmk.rrz.co.at/index.css",document.body.appendChild(n);const i=document.createElement("script");i.src="https://assistent.stmk.rrz.co.at/index.js",i.onload=function(){if(!window.RlbWidget)throw new Error("Failed to load RLB Widget.");window.RlbWidget.StartAssistant({baseUrl:"https://assistent.stmk.rrz.co.at",intentDetection:{apiUrl:t,tenantId:"prod"},opts:{token:e.access_token,tokenType:"Bearer"},linkToPrivacyPolicy:this.disclaimerUrl,theme:{primaryColor:"#FBF315",secondaryColor:"#909090"}})},document.body.appendChild(i)})}}i.q.registerComponent(".component-servicebot",o)},3209:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.column=e.find(".column"),this.tableContent=e.find(".table-content"),this.contentCarousel=this.tableContent.find(".carousel"),this.columnHeader=this.column.find(".column-header"),this.columnContent=this.column.find(".column-content"),this.columnItems=this.columnContent.find("li"),this.controlsWrapper=e.find(".carousel-control
1s"),this.init()}init(){if(this.element.hasClass("slick-init")){const e=this.getRows(this.columnItems);i.q.isEditMode()?this.updateTableSize(e):(this.contentCarousel.on("init",()=>{this.initCallback()}),this.contentCarousel.slick(this.carouselSettings(!0),this.updateTableSize(e)),this.contentCarousel.on("breakpoint",r.A.debounce(()=>{this.updateTableSize(e)},200)),this.contentCarousel.slick("resize"),this.initListeners(),this.setAriaAttributes()),this.initAPI()}}carouselSettings(e){const t=this.controlsWrapper.find("> .controls-dots"),n=this.tableContent.find(".column").length-this.tableContent.find(".row-description").length,i=this.tableContent.find(".row-description").length>0?3:4,r=n>i?i:n,s=n>i+1?i+1:n;return{mobileFirst:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,infinite:!0,dots:e,variableWidth:!1,arrows:e,appendDots:t,speed:250,prevArrow:'<button type="button" class="slick-prev" role="button"><span class="icon icon-paging_arrow_left" aria-hidden="true"></span><span class="visually-hidden">'+this.props.previous+"</span></button>",nextArrow:'<button type="button" class="slick-next" role="button"><span class="icon icon-paging_arrow_right" aria-hidden="true"></span><span class="visually-hidden">'+this.props.next+"</span></button>",responsive:[{breakpoint:1440,settings:{centerMode:!1,slidesToShow:s,slidesToScroll:s}},{breakpoint:1199,settings:{centerMode:!1,slidesToShow:r,slidesToScroll:r}},{breakpoint:1024,settings:{centerMode:!1,slidesToShow:r,slidesToScroll:r}},{breakpoint:767,settings:{centerMode:!1,slidesToShow:n<3?n:3,slidesToScroll:n<3?n:3}},{breakpoint:575,settings:{centerMode:!1,slidesToShow:n<2?n:2,slidesToScroll:n<2?n:2}}]}}initListeners(){const e=this;this.contentCarousel.on("afterChange",function(){setTimeout(function(){e.setActiveDot(!0)},100)}),this.controlsWrapper.on("keydown",e=>{"keydown"!=e.type||37!=e.keyCode&&39!=e.keyCode||this.setActiveDot(!1)})}setActiveDot(e){let t=this.contentCarousel.slick("slickCurrentSlide");t/=this.contentCarousel.slick("slickGetOption","slidesToShow");const n=this.controlsWrapper.find("button")[t];"0"!==s(n).attr("tabindex")&&1==e&&(this.controlsWrapper.find("button").each(function(){s(this).attr({"aria-selected":"false",tabindex:"-1"})}),s(n).attr({"aria-selected":"true",tabindex:"0"})),0==e&&s(n).focus()}setAriaAttributes(){this.controlsWrapper.find("ul").attr("aria-label","Bedienungselemente");const e=this.contentCarousel.find(".slick-slide:not(.slick-cloned)");e.each(function(t){s(this).attr({"aria-roledescription":"slide","aria-label":t+1+" von "+e.length})})}getRows(e){const t=e,n=["header"];return s.each(t,function(e,t){const i=s(t).data("row");-1===s.inArray(i,n)&&null!=i&&n.push(i)}),n}updateTableSize(e){this.columnWidth(),clearTimeout(s.data(this,"setHeight")),s.data(this,"setHeight",setTimeout(()=>{this.equalHeights(e)},300))}equalHeights(e){const t=this.element;t.find("[data-row]").removeAttr("style"),s.each(e,function(e,n){const i=[];s.each(t.find('[data-row="'+n+'"] > .cell-wrapper'),function(e,t){i.push(t.offsetHeight)});const r=Math.max.apply(null,i);t.find('[data-row="'+n+'"]').css("height",r)})}columnWidth(){const e=this.element,t=e.find(".cTable").width(),n=window.innerWidth>1440?5:4,i=this.tableContent.find(".column").length>n?n:this.tableContent.find(".column").length,r=t/i,s=e.find(".column-group");t>929||2===i?(e.find(".column.row-description, .slick-slide").css("width",r),e.find(".column.row-description").length>0?s.css("width",t-r):s.css("width",t)):(e.find(".column.row-description, .column-group").removeAttr("style"),s.css("width",t))}getCookieBannerHeight(){let e=s(".cookieBanner").outerHeight();return null==e&&(e=0),e}initAPI(){s("html").on("cms.resize",()=>{i.q.isEditMode()||(clearTimeout(s.data(this,"refreshTimeout")),s.data(this,"refreshTimeout",setTimeout(()=>{this.contentCarousel.slick("refresh"),this.setAriaAttributes()},250)))})}}i.q.registerComponent(".component-comparisonTable",o)},4930:function(){},3727:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(550),o=n.n(s),a=n(4692);class l extends i.q.Component{constructor(e){super(e),this.button=this.element.find(".btn-content-plus"),this.buttonText=this.button.find(".btn-text"),this.buttonIcon=this.button.find(".btn-icon"),this.target=this.element.find(".content-plus-target"),this.dataLoaded=!1,this.collapsed=!0,r.A.addContentPlusSpacer(this.element),i.q.isEditMode()||this.init()}init(){this.addCtrlBindings()}addCtrlBindings(){this.button.on("click",e=>{e.preventDefault(),this.toggleContent(),this.element.toggleClass("is-opened")})}toggleContent(){this.collapsed?this.unCollapseContent():this.collapseContent()}collapseContent(){this.buttonText.html(this.props.buttonOpen),this.button.attr("aria-expanded",!1),this.buttonIcon.toggleClass("icon-arrow_circle_down icon-close_circle"),this.target.collapse("hide"),this.collapsed=!0}unCollapseContent(){this.dataLoaded?this.showContent():this.getContent(this.props.url).then(()=>
1this.showContent()).catch(e=>this.handleErrorResponse(e))}showContent(){this.buttonText.html(this.props.buttonClose),this.button.attr("aria-expanded",!0),this.buttonIcon.toggleClass("icon-arrow_circle_down icon-close_circle"),this.target.collapse("show"),this.collapsed=!1}getContent(e){return this.target.addClass("loading"),a.ajax({url:e,type:"GET"}).then(e=>this.handleSuccessResponse(e))}handleSuccessResponse(e){this.dataLoaded=!0,this.content=e,this.target.html(this.content),this.target.removeClass("loading"),o()(),i.q.init(this.target)}handleErrorResponse(e){this.target.removeClass("loading"),this.element.hide(),console.error("Error occured loading Content+:",e.statusText)}}i.q.registerComponent(".component-content-plus",l)},8642:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.headline=this.element.closest(".aem-GridColumn, .teaser-wrapper, .carousel-item").find("[data-aria-headline]")[0],this.ctaBtn=this.element.find(".btn"),this.init()}init(){let e=this.element.data("headingId");const t=this.element.data("linkId");this.headline&&(r(this.headline).attr("id")?e=r(this.headline).attr("id"):r(this.headline).attr("id",e),this.ctaBtn.attr("id",t).attr("aria-labelledby",e+" "+t))}}i.q.registerComponent(".cta-container",s)},7445:function(e,t,n){"use strict";n.r(t);var i=n(1215),r=n(3323),s=n(4692);const o="form-overlay";class a extends i.r{constructor(e){super(o,e)}_handleAction(e,t){const n=e.attr("href");t&&t.length?this.openFancybox(n,e,t):this.openFancybox(n,e)}prefillFormElements(e,t,n){if(t=t.length>0?JSON.parse(JSON.stringify(t[0])):"","prefillTextArea"===n){const n=s(e).find(t.element).find("textarea");s(e).find(t.element).addClass("visible");let i="";if(s.each(t.value,(e,t)=>{null!==t&&(i+=`${t} \n`)}),n.val(i),t.linkParams){const n=s(e).find("form");n.attr("data-thankyoupage-path",n.data("thankyoupage-path")+t.linkParams)}}else s.each(t,(t,n)=>{const i=s(e).find('[name="'+t+'"]');if("radio"===i.attr("type"))s(e).find('[name="'+t+'"][value="'+n+'"]').prop("checked",!0);else if("checkbox"===i.attr("type")){const i=n.split(";");s.each(i,(n,i)=>{s(e).find('[name="'+t+'"][value="'+i+'"]').prop("checked",!0)})}else i.val(n)})}openFancybox(e,t,n){s.fancybox.open({src:e,type:"ajax",baseClass:"fancybox-content-overlay form",smallBtn:!1,margin:0,clickSlide:!1,clickOutside:!1,mobile:{margin:0},afterLoad:(e,i)=>{const o=s(i.$slide),a=!!t.data("new-tab")&&t.data("new-tab");let l,c;n?(l=n,c="form-overlay"):(l=t.data("form-prefill-values"),c=t.data("prefill-type")),l&&this.prefillFormElements(o,l,c),a&&o.find("form").attr("data-thank-you-extern",a),r.q.init(o)},afterClose:()=>{s(t).focus()}})}}i.Z.registerAction(o,new a)},7057:function(e,t,n){"use strict";var i=n(1215),r=(n(3029),n(2091),n(282)),s=n(6295),o=n(4692);const a="redirect-to-branch";class l extends i.r{constructor(e){super(a,e),this.id=0}_handleAction(e,t){const n="ctb-popover-"+this.id++;this.openPopOver(e,n,t),this.setupEvents(e,n)}openPopOver(e,t,n){const i=this.storedBank();this.title="Raiffeisenbank vor Ort finden";let r=o(`<div class="redirect-to-branch"><p>Wechseln Sie zu den Angeboten einer Raiffeisenbank in Ihrer Nähe.</p><rwm-location-search suffix="${n.suffix}" params='${JSON.stringify(n)}'></rwm-location-search></div>`);i&&(this.title="Ein Angebot ihrer Raiffeisenbank",r=o("<div>").append(o("<div>",{class:"redirect-to-branch"}).append(o(`<p>Sie werden zu Ihrer <strong>${s.A.escapeHTML(i.name)}</strong> weitergeleitet, um ihnen regionale Informationen zu diesem Angebot anzuzeigen.</p>`)).append(o("<rwm-location-search />",{class:"alert",suffix:`${n.suffix}`,params:`${JSON.stringify(n)}`,"stored-branch":`${JSON.stringify(i)}`}))).append(o("<rwm-location-tooltip></rwm-location-tooltip>")),r=r.children());const a='<div class="popover ##ID##" role="tooltip">\n  <div class="arrow"></div>\n  <button class="close"><span class="icon-close-small" aria-hidden="true"></span></button>\n  <h3 class="popover-header"></h3>\n  <div class="popover-body"></div>\n</div>\n'.replace("##ID##",t),l=e.outerWidth();e.popover("dispose"),e.popover({placement:"bottom",trigger:"manual",html:!0,title:this.title,template:a,c
1ontent:r}),e.popover("show"),this.getPopOver(t).css({width:l,zIndex:!!e.closest("header").length&&1200}),this.pauseUI(e)}closePopOver(e,t){e.popover("dispose"),o("body").off(`click.closePopover.${t}`),this.unpauseUI(e)}getContainer(e){const t=e.closest(".quickbar-holder");return t.length?t:e.parent()}storedBank(){const e=(new r.Fv).LocalStorage;try{return e.get(r.YM.branch,r.YM.otGroupBranch)}catch{return null}}setupEvents(e,t){const n=this.getPopOver(t);o("body").on(`click.closePopover.${t}`,i=>{o.contains(n[0],i.target)||e[0]===i.target||o.contains(e[0],i.target)||this.closePopOver(e,t)}),n.find(".close").on("click",n=>{n.preventDefault(),this.closePopOver(e,t)})}getPopOver(e){return o("."+e)}pauseUI(e){e.trigger("cms.stage.pause"),e.closest(".nav-flyout").toggleClass("force--open",!0),e.closest("header").toggleClass("force--pinned",!0)}unpauseUI(e){e.trigger("cms.stage.play"),e.closest(".nav-flyout").toggleClass("force-open",!1),e.closest("header").toggleClass("force--pinned",!1)}}i.Z.registerAction(a,new l)},5755:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(282),s=(n(3950),n(4692));class o extends i.q.Component{constructor(e){super(e),this.confirmationButton=e.find(".close"),this.isForeignOnly=e.data("ip-check"),this.init()}init(){if(!i.q.isEditMode()){const e=new r.c9;"accepted"===e.get("disclaimerOverlay")?this.element.remove():(this.isForeignOnly?this.ipCheck():this.openFancybox(),this.confirmationButton.click(()=>{e.set("disclaimerOverlay","accepted"),s.fancybox.close(this.element),this.element.remove()}))}}ipCheck(){s.ajax({type:"GET",url:"/services/ipanalyse",data:{sourceIp:this.getLocationSearch("sourceIp")}}).then(e=>{JSON.parse(e).austria||this.openFancybox()})}openFancybox(){s.fancybox.open(this.element,{buttons:[],baseClass:"fancybox-content-overlay article",keyboard:!1,smallBtn:!1,margin:0,clickSlide:!1,clickOutside:!1,mobile:{margin:0}})}getLocationSearch(e){const t=location.search.slice(1).split("&"),n={};return t.forEach(e=>{const t=(e=e.split("="))[0];if(!0===/\[[0-9]*\]/.test(t)){const i=t.split(/\[[0-9]*\]/)[0];void 0===n[i]&&(n[i]=[]),n[i].push(decodeURIComponent(e[1]||""))}else n[t]=decodeURIComponent(e[1]||"")}),n[e]}}i.q.registerComponent(".component-disclaimer-overlay",o)},9469:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295);class s extends i.q.Component{constructor(e){super(e),this.googlePlayStore=this.element.find(".google-play-store"),this.appStore=this.element.find(".app-store"),this.huaweiAppGallery=this.element.find(".huawei-appGallery"),this.init()}init(){this.element.addClass(this.getMobileOperatingSystem()),this.eventListener()}eventListener(){this.googlePlayStore.on("click",()=>{this.eventTracking("Link zum Google Play Store","googleAppStore")}),this.appStore.on("click",()=>{this.eventTracking("Link zum iTunes App Store","iTunesAppStore")}),this.huaweiAppGallery.on("click",()=>{this.eventTracking("Link zur Huawei App Gallery","huaweiAppGallery")})}eventTracking(e,t){r.A.eventTracking(!0,"appComponent",e,{},t)}getMobileOperatingSystem(){const e=navigator.userAgent||navigator.vendor||window.opera;return e.match(/iPad/i)||e.match(/iPhone/i)||e.match(/iPod/i)?"iOS":e.match(/Android/i)?"android":void 0}}i.q.registerComponent(".component-app-teaser ",s)},7338:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-banksearch-teaser",r)},171:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-content-teaser",r)},2216:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kontakt-teaser",r)},3191:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-social-media",r)},8974:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.dataJson="",this.inputNameSelector=':input[name="',this.checkboxSelector=".component-form-checkbox",this.formGroupSelector=".form-group",i.q.isEditMode()||this.init()}init(){this.getJSON(),this.loopConditions()}getJSON(){this.element.data("conditions")&&(this.dataJson=JSON.parse(JSON.stringify(this.element.data("conditions"))))}
1loopConditions(){this.dataJson.forEach(e=>{const t=r(this.inputNameSelector+e.field+'"]');let n=this.element.closest(".form-conditions-container").parent("div").find("form");0===n.length&&(n=this.element.closest("form")),this.executeCondition(e,n.find(t),n.find(t).val()),t.on("change",t=>{this.executeCondition(e,r(t.currentTarget),r(t.currentTarget).val())})})}executeCondition(e,t,n){let i=!1,s=e.value;if("radio"===t.attr("type")&&(n=void 0===t.filter(":checked").val()?"":n),"checkbox"===t.attr("type")){const i=[];t.closest(this.checkboxSelector).find('[name="'+e.field+'"]').each((e,t)=>{r(t).is(":checked")&&i.push(r(t).val())}),n=i.length<=0?"":i}if(t.closest(this.formGroupSelector).hasClass("form-date-styling")||t.closest(this.formGroupSelector).hasClass("component-form-datepicker")&&"single"===t.closest(this.formGroupSelector).data("single")){if(""!==n){let e;"de"===this.props.language?(e=n.split("."),n=new Date(e[2],e[1]-1,e[0])):(e=n.split("/"),n=new Date(e[2],e[0]-1,e[1]))}s&&(s=new Date(e.value))}i=this.executeOperation(e.operation,n,s),!0===i&&e.actions.forEach(e=>{this.executeActions(e.action,e.target,t.closest("form"))})}executeOperation(e,t,n){let i=!1;return"EQUAL"===e?i=this.operationEqual(t,n):"UNEQUAL"===e?i=this.operationUnequal(t,n):"GREATER"===e?i=this.operationGreater(t,n):"LESS"===e&&(i=this.operationLess(t,n)),i}executeActions(e,t,n){"show"===e?this.actionShow(t,n):"hide"===e&&this.actionHide(t,n)}operationEqual(e,t){let n=!1;return n=e===t||null===e&&""===t||"date"===r.type(e)&&"date"===r.type(t)&&e.toDateString()===t.toDateString(),Array.isArray(e)&&e.length>0&&e.forEach(e=>{e===t&&(n=!0)}),n}operationUnequal(e,t){let n=!1;return n=e!==t||"date"===r.type(e)&&"date"===r.type(t)&&e.toDateString()===t.toDateString(),Array.isArray(e)&&e.length>0&&e.forEach(e=>{n=e!==t}),n}operationGreater(e,t){return!!(e&&e>t)}operationLess(e,t){return!!(e&&e<t)}actionShow(e,t){const n=t.find(this.inputNameSelector+e+'"],.component-form-group[name="'+e+'"],.component-text[name="'+e+'"],.form-field-container[name="'+e+'"]');let i=n.closest(this.formGroupSelector).length>0?n.closest(this.formGroupSelector):n.closest(".form-group-container");"radio"===n.attr("type")&&(i=n.closest(".component-form-radio")),"checkbox"===n.attr("type")&&(i=n.closest(this.checkboxSelector)),n.hasClass("form-field-container")&&(i=n),n.data("conditionWrapper")&&(i=n.closest(n.data("conditionWrapper"))),i.find("input, select, textarea").each((e,t)=>{r(t).data("disabledOnLimit")||(r(t).attr("disabled",!1),r(t).data("selectBox-selectBoxIt")&&r(t).data("selectBox-selectBoxIt").enable())}),i.removeClass("action-hide"),i.addClass("action-show"),t.parsley().refresh()}actionHide(e,t){const n=t.find(this.inputNameSelector+e+'"],.component-form-group[name="'+e+'"],.component-text[name="'+e+'"],.form-field-container[name="'+e+'"]');let i=n.closest(this.formGroupSelector).length>0?n.closest(this.formGroupSelector):n.closest(".form-group-container");"radio"===n.attr("type")&&(i=n.closest(".component-form-radio")),"checkbox"===n.attr("type")&&(i=n.closest(this.checkboxSelector)),n.hasClass("form-field-container")&&(i=n),n.data("conditionWrapper")&&(i=n.closest(n.data("conditionWrapper"))),i.find("input, select, textarea").attr("disabled",!0),i.removeClass("action-show"),i.addClass("action-hide"),t.parsley().refresh()}}i.q.registerComponent(".component-form-condition",s)},1420:function(e,t,n){"use strict";n.r(t);var i=n(3323);n(6409);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".form-container",r)},5870:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(2384),o=n(2242),a=(n(8013),n(6409),n(4692));function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(null,arguments)}class c extends i.q.Component{constructor(e){super(e),this.wizard=e.find(".wizard"),this.tabPanes=e.find(".tab-pane"),this.tabNav=e.find(".nav-tabs"),this.tabNavLinks=this.tabNav.find('button[data-bs-toggle="tab"]'),this.form=e.find("form"),this.progressbar=e.find(".progress-bar"),this.type=e[0].getAttribute("data-form-type"),this.locationHrefInput=this.form.find(".locationhref").find("input"),this.submitBtn=this.form.find('button[type="submit"]'),this.parsleySettings={excluded:".action-hide *, .action-hide"},this.tokenID="",this.init(e)}init(){const e=this.uuid();this.form.attr("data-instance-id",e),this.form.parsley(this.parsleySettings),i.q.isEditMode()||(this.getToken(e),setInterval(()=>{this.getToken(e)},29e4)),this.eventTracking("Formular wird aufgerufen","displayForm"),this.setLocationHref(),this.formSubmit(e),this.tabPanes.length>1&&(this.checkVisibleTitle(),this.setProgress(this.tabNav.find(".active")),this.wizard.tab(),this.initListeners(),this.initAPI())}eventTracking(e,t){const n=this.form.find(".form-title h2").text()||"";r.A.eventTracking(!0,"formulare",e,{formname:n},t)}setProgress(e){let t=0;0!=e.length&&(t=(e.position().left+e.width()/2)/this.tabNav.width()*100),this.progressbar.css("width",t+"%")}checkVisibleTitle(){let e=0;
1a.each(this.tabNavLinks,()=>{e+=a(this).find("span.title").width()}),e>720&&this.tabNav.addClass("hide-title")}curIndex(){return this.tabPanes.index(this.tabPanes.filter(".active"))}initListeners(){this.tabPanes.each((e,t)=>{a(t).find(":input").attr("data-parsley-group","block-"+e)}),this.tabNavLinks.on("show.bs.tab",e=>{var t=a(e.target);if(this.setProgress(t),t.parent().hasClass("disabled"))return!1;t.nextAll().attr("disabled","disabled"),t.nextAll().addClass("disabled"),t.attr("disabled","disabled")}),this.tabPanes.find(".next-step").on("click",()=>{const e=this.tabNav.find(".active");e.removeAttr("disabled"),this.form.parsley(this.parsleySettings).whenValidate({group:"block-"+this.curIndex()}).done(()=>{e.next().removeAttr("disabled"),e.next().removeClass("disabled"),e.next().tab("show"),a("html, body").animate({scrollTop:this.wizard.offset().top-100},500),e.next().attr("disabled","disabled")})}),this.tabPanes.find(".prev-step").on("click",()=>{const e=this.tabNav.find(".active");e.attr("disabled","disabled"),e.addClass("disabled"),e.prev().tab("show"),a("html, body").animate({scrollTop:this.wizard.offset().top-100},500),e.prev().attr("disabled","disabled")})}formSubmit(e){this.form.submit(t=>{let n={};const i=this.form.data("formId");let r={};const c=[];t.preventDefault();const u=this.form.find("input[data-recipient-address=true]");a.each(u,(e,t)=>{""!==t.value&&c.push(t.value)}),n=this.pushToJson(n,"recipients",c),n=this.pushToJson(n,"instanceId",e),n=this.pushToJson(n,"tokenId",this.tokenID),n=this.serializeToJson(n),r={url:o.KT+o.vZ.form.send.replace(/\{FORMID\}/g,i),data:JSON.stringify(n),contentType:"application/json"},s.r.getToken().then(()=>{a.ajax(l({type:"POST"},r)).then(()=>{this.loadNotificationPage("success"),this.eventTracking("Formular abgesendet","submitForm")}).catch(()=>{this.loadNotificationPage("error")})})})}getToken(e){const t=this.form.data("formId");s.r.getToken().then(()=>{a.ajax({type:"GET",url:o.KT+o.vZ.form.token.replace(/\{FORMID\}/g,t),async:!1,data:{instanceId:e}}).then(e=>{this.tokenID=e;let t=8;const n=setInterval(()=>{if(t--,0===t)return clearInterval(n),this.submitBtn.removeAttr("disabled"),void this.form.find(".seconds-timer").remove();this.form.find(".seconds").text(t)},1e3)}).catch(()=>{this.loadNotificationPage("error")})})}loadNotificationPage(e){"error"!==e?this.form.remove():this.element.find('button[type="submit"]').attr("disabled",!1);const t=this.form.data("thankyoupagePath");t&&"success"===e?!0===this.form.data("thank-you-extern")?(window.open(t,"_blank"),a.fancybox.close()):window.location.href=t:this.element.find(".send-"+e).removeAttr("hidden").removeAttr("aria-hidden").focus()}serializeToJson(e){const t=this.form.serializeArray();return a.each(t,function(){e[this.name]?(e[this.name].push||(e[this.name]=[e[this.name]]),e[this.name].push(this.value||"")):e[this.name]=this.value||""}),e}pushToJson(e,t,n){return e[t]?(e[t].push||(e[t]=[e[t]]),e[t].push(n||"")):e[t]=n||"",e}uuid(){let e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!=e&&12!=e&&16!=e&&20!=e||(n+="-"),n+=(12==e?4:16==e?3&t|8:t).toString(16);return n}setLocationHref(){const e=window.location.href;this.locationHrefInput.val(e)}initAPI(){a("html").on("cms.resize",()=>{this.setProgress(this.tabNav.find(".active"))})}}i.q.registerComponent(".form-step-container",c)},221:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.input=e.find("input.aem-cb:first-child"),this.fieldset=e.find("fieldset"),this.defaultMessage=s(this.input).attr("data-parsley-error-message"),this.requiredMessage="Please choose an option.","de"===this.props.language&&(this.requiredMessage="Bitte wählen Sie eine Option."),this.defaultMessage||s(this.input).attr("data-parsley-required-message",this.requiredMessage),this.init()}init(){this.initListeners()}initListeners(){if(0!==this.input.length){const e=this,t="aria-invalid";this.toggleButton&&s(this.toggleButton).on("click",()=>
1{r.A.toggleTooltip(this.tooltipBox)}),this.fieldset.on("focusout",e=>{this.fieldset[0].contains(e.relatedTarget)||s("#"+this.input.attr("id")).parsley().validate()}),s("#"+this.input.attr("id")).parsley().on("field:success",function(){"true"===s(e.input).attr(t)&&s(e.input).attr(t,"false")}),window.Parsley.on("field:error",function(n){n.$element[0]===e.input[0]&&"true"!==s(e.input).attr(t)&&"true"!==n.isValid()&&s(e.input).attr(t,"true")})}}}i.q.registerComponent(".component-form-checkbox",o)},1454:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(5093),o=n.n(s),a=n(4692);class l extends i.q.Component{constructor(e){super(e),this.input=e.find("input.form-control"),this.label=e.find("label"),this.hiddenInput=e.find("input.hidden-input"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.inputmask="mm/dd/yyyy",this.placeholder="MM/DD/YYYY",this.dateSeperator="/",this.defaultMessage=this.input.attr("data-parsley-error-message"),this.requiredMessage="Please enter a date.",this.touchHandler="ontouchstart"in window,this.props.minAge&&(this.maxDate=o()().subtract(this.props.minAge,"year").format("YYYY-MM-DD"),this.input.attr("max",this.maxDate)),this.props.upperAgeLimit&&(this.minDate=o()().subtract(this.props.upperAgeLimit,"year").format("YYYY-MM-DD"),this.input.attr("min",this.minDate)),"de"===this.props.language?(this.inputmask="dd.mm.yyyy",this.placeholder="TT.MM.JJJJ",this.dateSeperator=".",this.requiredMessage="Bitte geben Sie ein Datum ein."):"hr"===this.props.language?this.requiredMessage="Unesite datum.":"it"===this.props.language?this.requiredMessage="Per favore, inserisci una data":"sl"===this.props.language?this.requiredMessage="Vnesite datum.":"cs"===this.props.language&&(this.requiredMessage="Zadejte prosím datum."),this.input.attr("data-parsley-dateiso",this.inputmask),this.defaultMessage||this.input.attr("data-parsley-error-message",this.requiredMessage),this.init()}init(){r.A.floatingLabel(this.input,this.label),this.initListeners(),window.Parsley.addValidator("dateiso",{validateString:function(e,t){if("ontouchstart"in window)return/^([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))$/.test(e);if("dd.mm.yyyy"===t){const t=e.split("-");return e=t[2]+"."+t[1]+"."+t[0],/^([12]\d|0[1-9]|3[01])\.(0[1-9]|1[0-2])\.((?:18|19|20)\d{2})$/.test(e)}return/^(0[1-9]|1[0-2])\D?([12]\d|0[1-9]|3[01])\D?((?:18|19|20)\d{2})$/.test(e)},priority:256})}initListeners(){const e=this,t="aria-invalid";this.input.on("focus blur",e=>{this.label.toggleClass("float-label","focus"===e.type||this.input.val().length>0)}),this.input.on("focusout",()=>{this.input.val()&&this.hiddenInput.val(this.convertDate(this.input.val())).trigger("change")}),a(this.input).parsley().on("field:success",function(){"true"===a(e.input).attr(t)&&a(e.input).attr(t,"false")}),window.Parsley.on("field:error",function(n){if(n.$element[0]!==e.input[0])return;const i=n.$element.val();let r;e.minDate&&o()(i).isBefore(e.minDate)?(r=e.props.upperAgeLimitErrorMsg?e.props.upperAgeLimitErrorMsg:"Das Datum muss nach dem "+o()(e.minDate).format("DD.MM.YYYY")+" liegen.",n._ui.$errorsWrapper.find(".parsley-required, .parsley-custom-error-message").text(r)):e.maxDate&&o()(i).isAfter(e.maxDate)&&(r=e.props.minAgeErrorMsg?e.props.minAgeErrorMsg:"Das Datum muss vor dem "+o()(e.maxDate).format("DD.MM.YYYY")+" liegen.",n._ui.$errorsWrapper.find(".parsley-required, .parsley-custom-error-message").text(r)),"true"!==n.$element.attr(t)&&"true"!==n.isValid()&&n.$element.attr(t,"true")}),this.toggleButton&&this.toggleButton.on("click",()=>{r.A.toggleTooltip(this.tooltipBox)})}convertDate(e){const t=e.split("-");return t[2]+"."+t[1]+"."+t[0]}}i.q.registerComponent(".component-form-date",l)},9884:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=(n(3950),n(5675),n(8027)),s=n(5093),o=n.n(s),a=n(4692);class l extends i.q.Component{constructor(e){super(e),this.initialized=!1,this.element=e,this.input=e.find("input.form-control.single"),this.startInput=e.find("input.start"),this.endInput=e.find("input.end"),this.hiddenInput=e.find("input.hidden-input"),this.label=e.find("label.single-label"),this.startLabel=e.find("label.start-label"),this.endLabel=e.find("label.end-label"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.f
1ind(".tooltip-box"),this.selectedValue="",this.mode=r.sM.getMode(),this.singleDate=!1,this.formate="MM/DD/YYYY",this.separator=" to ",this.language="en",this.invalidConst="aria-invalid",this.errorMsgConst="data-parsley-error-message",this.defaultMessage=this.input.attr(this.errorMsgConst),this.requiredMessage="Please select a period.","single"===this.props.single&&(this.singleDate=!0,this.requiredMessage="Please choose a date."),this.singleDate&&this.props.minAge&&this.input.attr("max",o()().subtract(this.props.minAge,"year").format("YYYY-MM-DD")),this.singleDate&&this.props.upperAgeLimit&&this.input.attr("min",o()().subtract(this.props.upperAgeLimit,"year").format("YYYY-MM-DD")),"de"===this.props.language&&(this.formate="DD.MM.YYYY",this.separator=" bis ",this.language=this.props.language,this.requiredMessage="Bitte wählen Sie einen Zeitraum.",this.singleDate&&(this.requiredMessage="Bitte wählen Sie ein Datum.")),!this.defaultMessage&&this.singleDate&&this.input.attr(this.errorMsgConst,this.requiredMessage),this.defaultMessage||this.singleDate||(this.startInput.attr(this.errorMsgConst,this.requiredMessage),this.endInput.attr(this.errorMsgConst,this.requiredMessage)),this.cta=e.find(".btn-primary"),this.resetCta=e.find(".btn.reset"),this.isInitialized()&&this.destroy(),this.init(),this.initCallback()}initListeners(){const e=this,t="focus blur",n="field:success";0!==this.input.length&&this.input.parsley().on(n,function(){e.setAriaInvalidFalse(e.input)}),0!==this.startInput.length&&this.startInput.parsley().on(n,function(){e.setAriaInvalidFalse(e.startInput)}),0!==this.endInput.length&&this.endInput.parsley().on(n,function(){e.setAriaInvalidFalse(e.endInput)}),window.Parsley.on("field:error",function(t){let n;if(t.$element[0]===e.input[0]?n=e.input:t.$element[0]===e.startInput[0]?n=e.startInput:t.$element[0]===e.endInput[0]&&(n=e.endInput),e.singleDate&&n){const i=n.attr("min"),r=n.attr("max"),s=t.$element.val();let a;i&&o()(s).isBefore(i)?(a=e.props.upperAgeLimitErrorMsg?e.props.upperAgeLimitErrorMsg:"Das Datum muss nach dem "+o()(i).format(e.formate)+" liegen.",t._ui.$errorsWrapper.find(".parsley-required, .parsley-custom-error-message").text(a)):r&&o()(s).isAfter(r)&&(a=e.props.minAgeErrorMsg?e.props.minAgeErrorMsg:"Das Datum muss vor dem "+o()(r).format(e.formate)+" liegen.",t._ui.$errorsWrapper.find(".parsley-required, .parsley-custom-error-message").text(a))}n&&"true"!==n.attr(e.invalidConst)&&"true"!==t.isValid()&&n.attr(e.invalidConst,"true")}),this.input.on(t,e=>{this.floatLabel(this.label,this.input.val(),e)}),this.input.on("focusout",()=>{this.input.val()&&this.hiddenInput.val(this.convertDate(this.input.val())).trigger("change")}),this.startInput.on(t,e=>{this.floatLabel(this.startLabel,this.startInput.val(),e)}),this.startInput.on("focusout",()=>{""!==this.endInput.val()&&(this.endInput.parsley().validate(),this.startInput.val()&&this.setDateRange())}),this.startInput.on("input",e=>{this.endInput.attr("min",e.currentTarget.value)}),this.endInput.on(t,e=>{this.floatLabel(this.endLabel,this.endInput.val(),e)}),this.endInput.on("focusout",()=>{""!==this.startInput.val()&&(this.startInput.parsley().validate(),this.endInput.val()&&this.setDateRange())}),this.endInput.on("input",e=>{this.startInput.attr("max",e.currentTarget.value)})}setAriaInvalidFalse(e){"true"===a(e).attr(this.invalidConst)&&a(e).attr(this.invalidConst,"false")}setAriaInvalidTrue(e){"true"!==a(e).attr(this.invalidConst)&&a(e).attr(this.invalidConst,"true")}setDateRange(){const e=this.convertDate(this.startInput.val()),t=this.convertDate(this.endInput.val());this.hiddenInput.val(e+" bis "+t).trigger("change")}convertDate(e){const t=e.split("-");return t[2]+"."+t[1]+"."+t[0]}floatLabel(e,t,n){e.toggleClass("float-label","focus"===n.type||t.length>0)}destroy(){this.input.off(),this.cta.off(),this.toggleButton&&this.toggleButton.off(),this.initialized=!1}onResize(){a("html").on("cms.resize",()=>{this.mode!==r.sM.getMode()&&this.init()})}init(){this.mode=r.sM.getMode(),this.initialized&&this.destroy(),this.initListeners(),this.initialized=!0,this.onResize()}}i.q.registerComponent(".component-form-datepicker",l)},3186:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.input=e.find("input"),this.label=e.find("label"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.f
1ind(".tooltip-box"),this.defaultMessage=s(this.input).attr("data-parsley-error-message"),this.requiredMessage="Please fill this field.",this.validMessage="Please enter a valid e-mail address.","de"===this.props.language&&(this.requiredMessage="Bitte befüllen Sie dieses Feld.",this.validMessage="Bitte geben Sie eine korrekte E-Mail Adresse an."),this.requiredDefaultmessage||s(this.input).attr({"data-parsley-required-message":this.requiredMessage,"data-parsley-type-message":this.validMessage}),this.init()}init(){r.A.floatingLabel(this.input,this.label),this.initListeners()}initListeners(){const e=this,t="aria-invalid";s(this.input).on("focus blur",e=>{s(this.label).toggleClass("float-label","focus"===e.type||s(this.input).val().length>0)}),s(this.input).parsley().on("field:success",function(){"true"===s(e.input).attr(t)&&s(e.input).attr(t,"false")}),window.Parsley.on("field:error",function(n){n.$element[0]===e.input[0]&&"true"!==n.$element.attr(t)&&"true"!==n.isValid()&&n.$element.attr(t,"true")}),this.toggleButton&&s(this.toggleButton).on("click",()=>{r.A.toggleTooltip(this.tooltipBox)})}}i.q.registerComponent(".component-form-email",o)},7341:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.input=e.find("input"),this.label=e.find("label"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.defaultMessage=s(this.input).attr("data-parsley-error-message"),this.requiredMessage="Please fill this field.",this.validMessage="Please enter a valid value.",this.min=s(this.input).attr("min"),this.max=s(this.input).attr("max"),this.rangeMessage="The value should be between %s and %s.",this.minMessage="The value should be greater than %s.","de"===this.props.language&&(this.requiredMessage="Bitte befüllen Sie dieses Feld.",this.validMessage="Bitte geben Sie einen gültigen Wert an.",this.rangeMessage="Der Wert muss zwischen %s und %s liegen.",this.minMessage="Der Wert muss größer als %s sein."),this.defaultMessage||s(this.input).attr({"data-parsley-required-message":this.requiredMessage,"data-parsley-type-message":this.validMessage,"data-parsley-range-message":this.rangeMessage,"data-parsley-min-message":this.minMessage}),this.init()}init(){r.A.floatingLabel(this.input,this.label),this.initListeners()}initListeners(){const e=this,t="aria-invalid";s(this.input).on("focus blur",e=>{s(this.label).toggleClass("float-label","focus"===e.type||s(this.input).val().length>0)}),this.input.parsley().on("field:success",function(){"true"===s(e.input).attr(t)&&s(e.input).attr(t,"false")}),window.Parsley.on("field:error",function(n){n.$element[0]===e.input[0]&&"true"!==n.$element.attr(t)&&"true"!==n.isValid()&&n.$element.attr(t,"true")}),this.toggleButton&&s(this.toggleButton).on("click",()=>{r.A.toggleTooltip(this.tooltipBox)})}}i.q.registerComponent(".component-form-number",o)},6827:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.input=e.find("input:first-child"),this.defaultMessage=s(this.input).attr("data-parsley-error-message"),this.requiredMessage="Please choose an option.","de"===this.props.language&&(this.requiredMessage="Bitte wählen Sie eine Option."),this.defaultMessage||s(this.input).attr("data-parsley-required-message",this.requiredMessage),this.init()}init(){this.initListeners()}initListeners(){const e=this,t="aria-invalid";this.toggleButton&&s(this.toggleButton).on("click",()=>{r.A.toggleTooltip(this.tooltipBox)}),s("#"+this.input.attr("id")).parsley().on("field:success",function(){"true"===s(e.input).attr(t)&&s(e.input).attr(t,"false")}),window.Parsley.on("field:error",function(n){n.$element[0]===e.input[0]&&"true"!==s(e.input).attr(t)&&"true"!==n.isValid()&&s(e.input).attr(t,"true")})}}i.q.registerComponent(".component-form-radio",o)},9122:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=(n(3124),n(9139),n(4692));class o extends i.q.Component{constructor(e){super(e),this.select=e.find("select"),this.label=e.find("label"),this.firstOption=this.select.find("option:first-child"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.f
1ind(".tooltip-box"),this.defaultMessage=s(this.select).attr("data-parsley-error-message"),this.requiredMessage="Please choose an option.","de"===this.props.language&&(this.requiredMessage="Bitte wählen Sie eine Option."),this.defaultMessage||s(this.select).attr("data-parsley-required-message",this.requiredMessage),this.init()}init(){r.A.floatingLabel(this.select,this.label),this.initListeners()}initListeners(){const e=this,t="aria-invalid";s(this.select).change(()=>{this.element.addClass("select-value-changed"),r.A.floatingLabel(this.select,this.label)}),this.select.parsley().on("field:success",function(){"true"===s(e.select).attr(t)&&s(e.select).attr(t,"false")}),window.Parsley.on("field:error",function(n){n.$element[0]===e.select[0]&&"true"!==e.select.attr(t)&&s(e.select).attr(t,"true")}),this.toggleButton&&s(this.toggleButton).on("click",()=>{r.A.toggleTooltip(this.tooltipBox)})}}i.q.registerComponent(".component-form-select",o)},4767:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.input=e.find("input"),this.label=e.find("label"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.defaultMessage=s(this.input).attr("data-parsley-error-message"),this.requiredMessage="Please fill this field.",this.min=s(this.input).attr("minlength"),this.max=s(this.input).attr("maxlength"),this.lengthMessage="The number of characters should be between "+this.min+" and "+this.max+".",this.minMessage="The number of characters should be at least "+this.min+".","de"===this.props.language&&(this.requiredMessage="Bitte befüllen Sie dieses Feld.",this.lengthMessage="Die Zeichenanzahl muss zwischen "+this.min+" und "+this.max+" liegen.",this.minMessage="Die Zeichenanzahl muss mindestens "+this.min+" sein."),this.defaultMessage||s(this.input).attr({"data-parsley-required-message":this.requiredMessage,"data-parsley-length-message":this.lengthMessage,"data-parsley-minlength-message":this.minMessage}),this.init()}init(){r.A.floatingLabel(this.input,this.label),this.initListeners()}initListeners(){const e=this,t="aria-invalid";s(this.input).on("focus blur",e=>{s(this.label).toggleClass("float-label","focus"===e.type||s(this.input).val().length>0)}),this.input.parsley().on("field:success",function(){"true"===s(e.input).attr(t)&&s(e.input).attr(t,"false")}),window.Parsley.on("field:error",function(n){n.$element[0]===e.input[0]&&"true"!==n.$element.attr(t)&&"true"!==n.isValid()&&n.$element.attr(t,"true")}),this.toggleButton&&s(this.toggleButton).on("click",()=>{r.A.toggleTooltip(this.tooltipBox)})}}i.q.registerComponent(".component-form-text",o)},4456:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.counter=e.find(".form-counter span:first-child"),this.label=e.find("label"),this.textarea=e.find("textarea"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.defaultMessage=this.textarea.attr("data-parsley-error-message"),this.requiredMessage="Please fill this field.",this.min=this.textarea.attr("minlength"),this.max=this.textarea.attr("maxlength"),this.rangeMessage="The number of characters should be between "+this.min+" and "+this.max+".",this.minMessage="The number of characters should be at least "+this.min+".","de"===this.props.language&&(this.requiredMessage="Bitte befüllen Sie dieses Feld.",this.rangeMessage="Die Zeichenanzahl muss zwischen "+this.min+" und "+this.max+" liegen.",this.minMessage="Die Zeichenanzahl muss mindestens "+this.min+" sein."),this.defaultMessage||(this.textarea.attr({"data-parsley-required-message":this.requiredMessage}),this.min&&this.max?this.textarea.attr({"data-parsley-length-message":this.rangeMessage}):this.min&&!this.max&&this.textarea.attr({"data-parsley-minlength-message":this.minMessage})),this.init()}init(){r.A.floatingLabel(this.textarea,this.label),this.initListeners()}initListeners(){const e=this,t="aria-invalid";this.textarea.on("focus blur",e=>{this.label.toggleClass("float-label","focus"===e.type||this.textarea.val().length>0)}).on("keyup",()=>{const e=this.textarea.val().length;this.counter.text(e),this.textarea[0].scrollHeight>this.textarea.innerHeight()?this.textarea.parents(".form-group").addClass("tooltip-inner-position"):this.textarea.parents(".form-group").removeClass("tooltip-inner-position")}),this.textarea.parsley().on("field:success",function(){"true"===s(e.textarea).attr(t)&&s(e.textarea).attr(t,"false")}),window.Parsley.on("field:error",function(n){n.$element[0]===e.textarea[0]&&"true"!==e.textarea.attr(t)&&s(e.textarea).attr(t,"true")}),this.toggleButton&&this.toggleButton.on("click",()=>
1{r.A.toggleTooltip(this.tooltipBox)})}}i.q.registerComponent(".component-form-textarea",o)},9411:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.tooltipBox=e.find(".tooltip-box"),this.closeButton=e.find(".icon-close-small"),this.init()}init(){this.initListeners()}initListeners(){r(this.closeButton).on("click",()=>{r(this.tooltipBox).addClass("hide-tooltip-box")})}}i.q.registerComponent(".component-form-tooltip",s)},7373:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.input=e.find("input"),this.label=e.find("label"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.defaultMessage=this.input.attr("data-parsley-error-message"),this.requiredMessage="Please fill this field.",this.validMessage="Please enter a valid url.","de"===this.props.language&&(this.requiredMessage="Bitte befüllen Sie dieses Feld.",this.validMessage="Bitte geben Sie eine korrekte Url an."),this.defaultMessage||this.input.attr({"data-parsley-required-message":this.requiredMessage,"data-parsley-type-message":this.validMessage,"data-parsley-urlstrict-message":this.validMessage}),this.init()}init(){r.A.floatingLabel(this.input,this.label),this.initListeners()}initListeners(){const e=this,t="aria-invalid";this.input.on("focus blur",e=>{this.label.toggleClass("float-label","focus"===e.type||this.input.val().length>0)}),this.input.parsley().on("field:success",()=>{"true"===s(e.input).attr(t)&&s(e.input).attr(t,"false")}),window.Parsley.on("field:error",n=>{n.$element[0]===e.input[0]&&"true"!==n.$element.attr(t)&&"true"!==n.isValid()&&n.$element.attr(t,"true")}),this.toggleButton&&this.toggleButton.on("click",()=>{r.A.toggleTooltip(this.tooltipBox)}),window.ParsleyValidator.addValidator("urlstrict",function(e){var t=new RegExp("^(http[s]?:\\/\\/(www\\.)?|ftp:\\/\\/(www\\.)?|www\\.){1}([0-9A-Za-z-\\.@:%_\\+~#=]+)+((\\.[a-zA-Z]{2,3})+)(/(.)*)?(\\?(.)*)?");return""!==e&&t.test(e)},32).addMessage("en","urlstrict",this.validMessage)}}i.q.registerComponent(".component-form-url",o)},8011:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.init()}init(){r.extend(window.Parsley.options,{errorsWrapper:"<div></div>",errorTemplate:"<span></span>"})}}i.q.registerComponent(".component-form-validation",s)},3091:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(282),o=n(4302),a=n(4692);class l extends i.q.Component{constructor(e){super(e),this.selectedBank=e.find(".selected-bank-branch"),this.selectedValue=e.find(".selected-value"),this.searchBranch=e.find(".search-bank-branch"),this.initialLabel=this.selectedBank.text(),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.init()}init(){this.initListeners(),this.storedBank(),o.Z.subscribe("userbranch.update",()=>{this.storedBank(),this.selectedValue.parsley().validate()}),this.toggleButton&&this.toggleButton.on("click",()=>{r.A.toggleTooltip(this.tooltipBox)})}initListeners(){const e=this,t="aria-invalid";this.searchBranch.on("focusout",()=>{this.selectedValue.parsley().validate()}),a(this.selectedValue).parsley().on("field:success",function(){"true"===a(e.selectedValue).attr(t)&&a(e.selectedValue).attr(t,"false")}),window.Parsley.on("field:error",function(n){n.$element[0]===e.selectedValue[0]&&"true"!==n.$element.attr(t)&&"true"!==n.isValid()&&n.$element.attr(t,"true")})}storedBank(){const e=new s.Fv;let t="";try{const n=e.get(s.YM.branch,s.YM.otGroupBranch);t=n.name+", "+n.address.street+", "+n.address.postalCode+" "+n.address.city,this.selectedBank.text(t),this.selectedValue.val(t)}catch{return this.selectedBank.text(this.initialLabel),this.selectedValue.val(t),null}}}i.q.registerComponent(".component-bank-search",l)},6500:function(){},5003:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.parent("div").find(".tooltip-box"),this.hiddenInput=e.find(".hidden-input"),this.hiddenInputID=this.hiddenInput.attr("id"),this.selectedTimeblocksList=e.find("ul.selected-timeblocks-list"),this.label=e.find("label"),this.changeTimeblocksBtn=e.find(".change-selected-timeblocks"),this.element=e,this.requiredMessage="Please choose an appointment.\n","de"
1===this.props.language&&(this.requiredMessage="Bitte wählen Sie einen Termin aus."),this.init()}init(){this.defaultMessage||this.hiddenInput.attr({"data-parsley-required-message":this.requiredMessage}),this.changeSelectedTimeblocks(),this.initListeners(),this.toggleButton&&this.onTooltipBtnClick()}onTooltipBtnClick(){this.toggleButton.on("click",()=>{r.A.toggleTooltip(this.tooltipBox)})}initListeners(){const e=this,t="aria-invalid";s(this.hiddenInput).parsley().on("field:success",function(){const n=s(e.element.find(".timeblock"));"true"===n.attr(t)&&n.attr(t,"false")}),window.Parsley.on("field:error",function(n){if(n.$element[0]!==e.hiddenInput[0])return;const i=s(e.element.find(".timeblock"));"true"!==i.attr(t)&&"true"!==n.isValid()&&i.attr(t,"true")})}changeSelectedTimeblocks(){this.changeTimeblocksBtn.on("click",()=>{this.element.removeClass("timeblocks-selected"),this.label.removeClass("float-label"),this.selectedTimeblocksList.empty(),s("#"+this.hiddenInputID).val("")})}}i.q.registerComponent(".component-proposed-date-picker",o)},2922:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(2242),o=(n(6677),n(4692));class a extends i.q.Component{constructor(e){super(e),this.customInput=e.find(".custom-upload-field"),this.uploadButton=this.customInput.find("button.upload"),this.input=e.find("input[type=file]"),this.label=e.find("label"),this.toggleButton=e.find(".tooltip-button"),this.tooltipBox=e.find(".tooltip-box"),this.resultList=e.find(".result-list"),this.fileUploadArray=e.find("input.fileupload-array"),this.form=e.closest("form"),this.invalidConst="aria-invalid",i.q.isEditMode()||this.init()}init(){this.initUpload(),this.initListeners()}initUpload(){let e=0;const t=this.input.data("file-limit"),n=this.form.data("formId"),i=s.KT+s.vZ.form.upload.replace(/\{FORMID\}/g,n);this.customInput.dmUploader({url:i,maxFileSize:1e6*this.input.data("file-size"),extFilter:this.setExtFilter(),headers:{enctype:"multipart/form-data"},extraData:()=>({instanceId:this.form.data("instanceId"),fieldId:this.input.attr("name")}),onNewFile:(n,i)=>{if(e>=t||e+this.resultList.find("li:not(.empty)").length>=t){const e=this.input.data("error-msg-file-limit");return this.fileUploadArray.parsley().removeError("maxFiles",{updateClass:!0}),this.fileUploadArray.parsley().addError("maxFiles",{message:e}),this.setAriaInvalidTrue(),!1}this.setValue(i),this.fileUploadArray.parsley().removeError("maxFiles",{updateClass:!0}),this.setAriaInvalidFalse(),e+=1},onBeforeUpload:()=>{this.customInput.addClass("uploading"),this.input.prop("disabled",!0)},onUploadProgress:(e,t)=>{this.customInput.find(".progress").css("width",t+"%")},onUploadSuccess:(e,t)=>{const n=[];o("<li />").append(o("<span />",{text:t.name.substring(t.name.lastIndexOf("\\")+1)})).append(o("<button />",{"data-id":t.id,type:"button",class:"remove-upload"}).append(o("<span />",{class:"icon-close","aria-hidden":!0})).append(o("<span />",{class:"visually-hidden",text:this.resultList.data("remove-label")}))).prependTo(this.resultList),""!=this.fileUploadArray.val()&&o.each(this.fileUploadArray.val().split(","),(e,t)=>{n.push(t)}),this.toggleLabel(),n.push(t.id),this.fileUploadArray.val(n),this.cleanValidation()},onUploadError:()=>{this.customInput.removeClass("uploading"),this.input.removeAttr("disabled")},onComplete:()=>{this.customInput.removeClass("uploading"),this.input.removeAttr("disabled"),this.removeValue(),e=0},onFileSizeError:e=>{let t=this.input.data("error-msg-file-size");t=t.replace(/\{0\}/g,e.name),this.fileUploadArray.parsley().addError("fileSize",{message:t,updateClass:!0}),this.setAriaInvalidTrue()},onFileExtError:e=>{let t=this.input.data("error-msg-wrong-file-ext");t=t.replace(/\{0\}/g,e.name),this.fileUploadArray.parsley().addError("fileExt",{message:t,updateClass:!0}),this.setAriaInvalidTrue()}})}toggleLabel(){const e=this.label.find(".toggle-label"),t=e.text(),n=e.data("toggle-label");1==this.resultList.find("li").length&&e.text(n).data("toggle-label",t)}setValue(e){this.label.toggleClass("float-label",!0),this.customInput.find("span.value").text(e.name)}removeValue(){this.label.toggleClass("float-label",!1),this.customInput.find("span.value").text("")}cleanValidation(){this.fileUploadArray.parsley().destroy(),this.fileUploadArray.parsley()}setExtFilter(){return null!=this.input.attr("accept")&&this.input.attr("accept").replace(/\./g,"").split(",")}setAriaInvalidTrue(){"true"!==o(this.uploadButton).attr(this.invalidConst)&&o(this.uploadButton).attr(this.invalidConst,"true")}setAriaInvalidFalse(){"true"===o(this.uploadButton).attr(this.invalidConst)&&o(this.uploadButton).attr(this.invalidConst,"false")}initListeners(){const e=this;this.uploadButton.on("click",()=>{this.input.trigger("click")}),this.uploadButton.on("focusout",()=>{this.fileUploadArray.parsley().validate(),""===this.fileUploadArray.val()&&this.setAriaInvalidTrue()}),this.resultList.on("click",".remove-upload",e=>{const t=o(e.currentTarget).data("id"),n=[];o.each(this.fileUploadArray.val().split(","),(e,i)=>{t!=i&&n.push(i)}),this.fileUploadArray.val(n),this.toggleLabel(),o(e.currentTarget).parent("li").remove(),this.cleanValidation()}),this.fileUploadArray.parsley().on("field:success",function(){e.setAriaInvalidFalse()}),window.Parsley.on("field:error",function(t){t.$element[0]===e.fileUploadArray[0]&&e.setAriaInvalidTrue()}),this.toggleButton&&o(this.toggleButton).on("click",()=>
1{r.A.toggleTooltip(this.tooltipBox)})}}i.q.registerComponent(".component-form-upload",a)},9915:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=(n(3124),n(9139),n(8468)),s=n(4692);const o=(0,r.o0)();class a extends i.q.Component{constructor(e){super(e),this.select=e.find("select"),this.label=e.find("label"),this.specialFunction=this.select.data("special-function"),this.floatLabelConst="float-label",this.init()}init(){switch(this.specialFunction){case"browser":this.setBrowser();break;case"operatingsystem":this.setOsVersion()}this.initListeners()}initListeners(){"browser"===this.specialFunction&&s(this.select).change(()=>{const e=this.element.closest("form").find('input[data-special-function="browserversion"]');e.val(""),e.prev().removeClass(this.floatLabelConst)})}selectFill(e,t){s.each(e,(e,n)=>{s("<option />",{value:n,text:n,selected:()=>t==n}).appendTo(this.select)})}setOsVersion(){const e=["Windows 11","Windows 10","macOS","Linux","iOS","Android","ChromeOS","Anderes"];let t=e[e.length-1];o.os&&e.includes(o.os)?t=o.os:"Mac OS"===o.os?t="macOS":"Android OS"===o.os?t="Android":"Chrome OS"===o.os&&(t="ChromeOS"),console.log("os system",o.os),this.selectFill(e,t),this.label.addClass(this.floatLabelConst)}setBrowser(){const e=["Google Chrome","Mozilla Firefox","Microsoft Edge","Opera","Apple Safari","Anderer"];let t;switch(o.name){case"chrome":case"crios":t=e[0];break;case"firefox":case"fxios":t=e[1];break;case"safari":case"ios":case"ios-webview":t=e[4];break;case"opera":case"opera-mini":t=e[3];break;case"edge":case"edge-chromium":t=e[2];break;default:t=e[5]}this.selectFill(e,t),this.label.addClass(this.floatLabelConst)}}i.q.registerComponent(".special-form-select",a)},6542:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(6295),s=n(8468),o=n(4692);const a=(0,s.o0)();class l extends i.q.Component{constructor(e){super(e),this.input=e.find("input"),this.label=e.find("label"),this.specialFunction=this.input.data("special-function"),this.defaultMessage=this.input.attr("data-parsley-error-message"),this.requiredMessage="Please fill this field.",this.min=this.input.attr("minlength"),this.max=this.input.attr("maxlength"),this.lengthMessage="The number of characters should be between "+this.min+" and "+this.max+".",this.minMessage="The number of characters should be at least "+this.min+".","de"===this.props.language&&(this.requiredMessage="Bitte befüllen Sie dieses Feld.",this.lengthMessage="Die Zeichenanzahl muss zwischen "+this.min+" und "+this.max+" liegen.",this.minMessage="Die Zeichenanzahl muss mindestens "+this.min+" sein."),this.defaultMessage||o(this.input).attr({"data-parsley-required-message":this.requiredMessage,"data-parsley-length-message":this.lengthMessage,"data-parsley-minlength-message":this.minMessage}),this.floatLabelConst="float-label",this.init()}init(){switch(r.A.floatingLabel(this.input,this.label),this.initListeners(),this.specialFunction){case"timestamp":this.setTimestamp();break;case"browser":this.setBrowser();break;case"browserversion":this.setBrowserVersion();break;case"operatingsystem":this.setOsVersion()}}initListeners(){o(this.input).on("focus blur",e=>{o(this.label).toggleClass(this.floatLabelConst,"focus"===e.type||o(this.input).val().length>0)}),"browser"==this.specialFunction&&o(this.input).change(()=>{const e=this.element.closest("form").find('input[data-special-function="browserversion"]');e.val(""),e.prev().removeClass(this.floatLabelConst)})}setTimestamp(){var e=new Date;let t=this.formatNumber(e.getDate())+"."+this.formatNumber(e.getMonth()+1)+"."+e.getFullYear();t+=", ",t+=this.formatNumber(e.getHours())+":"+this.formatNumber(e.getMinutes())+":"+this.formatNumber(e.getSeconds()),this.input.val(t),this.label.addClass(this.floatLabelConst)}setOsVersion(){let e="Unbekannt";a.os&&(e=a.os),this.input.val(e),this.label.addClass(this.floatLabelConst)}setBrowser(){const e=["Google Chrome","Mozilla Firefox","Microsoft Internet Explorer","Microsoft Edge","Opera","Apple Safari","Anderer"];let t;switch(a.name){case"chrome":case"crios":t=e[0];break;case"firefox":case"fxios":t=e[1];break;case"safari":case"ios":case"ios-webview":t=e[5];break;case"opera":case"opera-mini":t=e[4];break;case"edge":t=e[3];break;case"ie":t=e[2];break;default:t=e[6]}this.input.val(t),this.label.addClass(this.floatLabelConst)}setBrowserVersion(){let e="";if(a.version){var t=a.version.lastIndexOf(".");e=a.version.substring(0,t)}this.input.val(e),this.label.addClass(this.floatLabelConst)}formatNumber(e){return e<10?"0"+e:e}}i.q.registerComponent(".special-form-text",l)},4869:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-full-width-teaser",r)},8502:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(2242),s=n(282),o=n(3293),a=n(4302),l=n(2384),c=n(4692);const u=new s.c9,d=new s.Fv;class h extends i.q.Component{constructor(e){super(e),this.loginEl=this.element.find(".login"),this.gameMenu=this.element.find(".game-menu"),this.overlay=this.element.find(".game-menu-overlay"),this.internalPath=this.element.find(".
1internal-path"),this.avatar=this.element.find(".icon-person"),this.activeAvatarGroup=null,this.toggleBtn=this.element.find('button[data-game-action="toggle-overlay"]'),this.toggleMobileBtn=c("body").find('a[data-game-action="toggle-mobile-game-overlay"]'),this.toggleBtnLabel=this.toggleBtn.find(".username").find(".ellipsis"),this.toggleBtnDefaultLabel=this.toggleBtn.find(".username").data("defaultLabel"),this.usersettingHref=this.overlay.find(".usersettings").attr("href"),this.personalPageHref=this.overlay.find("#personal-page").attr("href"),this.form=this.element.find("form"),this.usernameField=this.form.find('input[name="username"]'),this.pwdField=this.form.find('input[name="password"]'),this.stayloggedCheckbox=this.form.find('input[type="checkbox"]'),this.submitBtn=this.form.find("button"),this.name=this.gameMenu.find(".name"),this.email=this.gameMenu.find(".email"),this.logoutBtn=this.overlay.find('a[data-game-action="logout"]'),this.teletraderContent=c("#main-content").find("component-teletrader-content"),this.allOverlayLinks=this.overlay.find("a"),this.openInvitations=this.element.find("bs-open-invitations"),this.sessionStorage=window.sessionStorage,this.loginErrorSelector=".login-error",this.ariaExpandedConst="aria-expanded",this.init()}init(){const e=d.get("refreshToken");u.get("accessTokenExpiresAt")<(new Date).getTime()&&this.removeAllSessionItems();const t=u.get("accessToken");let n=u.get("profile");if(n)n=JSON.parse(o.o4.atob(n));else if(e){this.stayloggedCheckbox.attr("checked",!0);const t=JSON.stringify({refreshToken:e});l.r.getToken().then(()=>{c.ajax({type:"POST",url:r.KT+r.vZ.stockmarket.authenticationsRenewals,contentType:"application/json",data:t}).then(e=>{this.loginProcess(e)}).fail(e=>{d.remove("refreshToken")})})}this.reachOverlayLinks(!1),this.autoOpen(t),this.postlogin(),this.logout(),this.getUserSettings(t,n),this.accessibility(),this.allOverlayLinks.on("click",()=>{this.toggleElements()}),this.toggleBtn.on("click",()=>{this.toggleElements()}),this.toggleMobileBtn.on("click",()=>{this.toggleElements()}),this.internalPath.on("click",()=>{d.set("autoopen",1)}),c("html").on("cms.resize",()=>{this.getOffsetRight()}),i.q.isEditMode()||i.q.isPreviewMode()||this.updateLoginView()}toggleElements(){this.getOffsetRight(),this.toggleOverlay(),this.closeTrigger()}autoOpen(e){if(e)this.reachOverlayLinks(!1);else{const e=this._queryStringToObject(window.location.search);1!==(d.get("autoopen")||0)||"open"===e.login?(this.getOffsetRight(),this.toggleOverlay(),this.closeTrigger(),d.set("autoopen",1)):this.reachOverlayLinks(!1)}}loginProcess(e){const t=(new Date).getTime()+1e3*e.expiresIn;u.set("accessToken",e.accessToken),u.set("zone",e.zone),u.set("accessTokenExpiresAt",t),e.bahaSession&&u.set("baha.sessionToken",e.bahaSession),this.stayloggedCheckbox[0].checked&&e.refreshToken&&d.set("refreshToken",e.refreshToken),this.getUserSettings(e.accessToken,void 0,e.incompleteRegistration)}postlogin(){this.form.parsley(),this.form.on("submit",e=>{if(e.preventDefault(),this.form.parsley().validate(),this.form.parsley().isValid()){const e=JSON.stringify({username:this.usernameField.val(),password:this.pwdField.val()});c.ajax({type:"POST",url:r.KT+r.vZ.stockmarket.authentications,contentType:"application/json",data:e}).then(e=>{this.loginProcess(e)}).fail(e=>{this.showError("login",e)})}})}getUserSettings(e,t,n){e?(this._toggleHidden(this.loginEl,this.gameMenu),this.openInvitations.attr("logged-in",!0),t?this._setProfileData(t):(this._setJqueryHeaders(e),c.ajax({type:"GET",url:r.KT+r.vZ.stockmarket.userprofile,contentType:"application/json"}).then(e=>{u.set("profile",o.o4.btoa(JSON.stringify(e))),this._setProfileData(e),n?location.href=this.usersettingHref:this.teletraderContent.length>0?location.reload():location.href=this.personalPageHref}).fail(e=>{this.showError("user",e)})),d.remove("autoopen")):(this.toggleBtnLabel.text(this.toggleBtnDefaultLabel),u.remove("profile"))}_setJqueryHeaders(e){c.ajaxSetup({beforeSend:(t,n)=>{-1!==n.url.indexOf(r.KT)&&e&&t.setRequestHeader("Authorization","Bearer "+e)}})}_queryStringToObject(e){e.startsWith("?")&&(e=e.substring(1));const t=e.split("&").map(e=>e.split("="));return Object.fromEntries(t)}_toggleHidden(e,t){t.removeAttr("hidden").removeAttr("aria-hidden"),e.attr("hidden",!0).attr("aria-hidden",!0),c(this.loginErrorSelector).remove()}_setProfileData(e){this.toggleBtnLabel.text(i.q.ObjectHasOwnProperty(e,"firstname")?e.firstname:this.toggleBtnDefaultLabel),this.activeAvatarGroup&&this.avatar.removeClass("avatar").removeClass(this.activeAvatarGroup),i.q.ObjectHasOwnProperty(e,"avatarId")&&e.avatarId&&(this.activeAvatarGroup=e.avatarId.split("|")[0].toLowerCase()),this.avatar.addClass(i.q.ObjectHasOwnProperty(e,"avatarId")&&e.avatarId?"avatar "+e.avatarId.split("|")[0].toLowerCase():"unassigned"),this.name.text(i.q.ObjectHasOwnProperty(e,"firstname")||i.q.ObjectHasOwnProperty(e,"lastname")?e.firstname+" "+e.lastname:""),this.email.text(i.q.ObjectHasOwnProperty(e,"email")?e.email:""),i.q.ObjectHasOwnProperty(e,"avatarId")?this.avatar.html('<bs-avatar-img icon="'+e.avatarId+'"> </bs-avatar-img>'):this.avatar.find("bs-avatar-img").remove(),""!==e.email&&"-"!==e.email||this.email.hide()}showError(){0===this.form.find(this.loginErrorSelector).length&&c("<div>",{class:"component-form-validation login-error"}).append(c("<div>",{class:"validation-box parsley-error "}).append(c("<div>",{class:"validation-inner"}).append(c("<p>",{class:"d-flex"}).append(c("<span>",{class:"icon-close_circle"}
1),c("<span>",{text:"Anmeldung nicht möglich!"})),c("<p>",{class:"body-text",text:this.form.data("errorMessage")})))).appendTo(this.form.find(".hidden-error-container"))}logout(){this.logoutBtn.on("click",()=>{this.openInvitations.attr("logged-in",!1),this._setProfileData({}),this.removeAllSessionItems(),d.remove("refreshToken"),location.hash="",location.reload()})}closeTrigger(){c(window).on("click",e=>{this.toggleBtn.hasClass("open")&&0===this.element.find(e.target).length&&0===this.toggleMobileBtn.find(e.target).length&&(this.toggleOverlay(),c(window).off("click"))})}removeAllSessionItems(){u.remove("accessToken"),u.remove("accessTokenExpiresAt"),u.remove("baha.sessionToken"),u.remove("zone"),u.remove("profile"),u.remove("personalProfile")}accessibility(){this.element.on("keydown",e=>{27===e.keyCode&&this.element.find(".open")&&this.toggleOverlay()})}reachOverlayLinks(e){const t=e?"0":"-1",n="tabindex";this.allOverlayLinks.each((e,i)=>{c(i).attr(n,t)}),this.usernameField.attr(n,t),this.pwdField.attr(n,t),this.submitBtn.attr(n,t)}toggleOverlay(){const e="true"===this.toggleBtn.attr(this.ariaExpandedConst);this.reachOverlayLinks(!e),this.toggleBtn.toggleClass("open"),this.toggleMobileBtn.toggleClass("open"),this.overlay.toggleClass("show"),this.toggleBtn.attr(this.ariaExpandedConst,String(!e)),this.toggleMobileBtn.attr(this.ariaExpandedConst,String(!e)),c(this.loginErrorSelector).remove()}getOffsetRight(){const e=this.overlay.offset(),t=this.overlay.outerWidth(),n=parseFloat(e.left+t);window.innerWidth-n<10?this.overlay.css({left:"100%",transform:"translateX(-100%)"}):this.overlay.removeAttr("style")}updateLoginView(){a.Z.subscribe("game.updateLogin",()=>{let e=u.get("profile");e&&(e=JSON.parse(o.o4.atob(e)),this._setProfileData(e),this.loginEl.is(":visible")&&(this.openInvitations.attr("logged-in",!0),this._toggleHidden(this.loginEl,this.gameMenu)))})}}i.q.registerComponent(".login-overlay-cta",h)},1906:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(282),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.parentElement=this.element.parent(),this.button=this.element.find("button"),this.init()}init(){const e=(new r.Fv).CookieHelper;("accepted"!=e.get("rwm.cookie-consent")||i.q.isEditMode())&&(this.element.addClass("banner-sticky"),this.accessibility("false"),this.setMainOffset(),this.initAPI(),this.button.on("click",()=>{e.set("cookie-consent","accepted",{expires:365}),this.destroy()}))}setMainOffset(){s(".header-wrapper").css({"padding-bottom":this.getHeight()})}setHeaderOffset(){this.parentElement.find("#header").css({top:this.element.outerHeight()})}getHeight(){return this.element.outerHeight()+this.parentElement.find("#header").outerHeight()}accessibility(e){this.element.attr("aria-hidden",e)}destroy(){this.parentElement.find("#header").removeAttr("style"),this.element.removeClass("banner-sticky"),this.accessibility("true"),this.setMainOffset()}initAPI(){s("html").on("cms.resize",()=>{this.setHeaderOffset(),this.setMainOffset()})}}i.q.registerComponent(".cookie-banner",o)},2345:function(){},748:function(e,t,n){"use strict";var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.logoutButton=this.element,this.loginButtons=this.logoutButton.parent().find(".loginbutton"),this.init()}init(){r.ajax({url:"/cachableservlets/checkuserlogin",type:"GET"}).then(e=>{!e.isLoggedIn||i.q.isEditMode()||i.q.isPreviewMode()||this.logoutButton.length>0&&(this.logoutButton.toggleClass("d-none"),this.loginButtons.toggleClass("d-none"))})}}i.q.registerComponent(".component-logout-button",s)},4398:function(e,t,n){"use strict";var i=n(3323),r=n(4692);class s{constructor(e){this.navFlyoutSelector=".nav-flyout",this.navLevelTwoConst="nav-item-level2",this.navLevelThreeSelector=".nav-item-level3:not(.mobile-upper-level)",this.navImageTeaserSelector=".component-image-teaser",this.navUpperLevelConst="mobile-upper-level",this.navLevelTwoSelector="li.nav-item-level2",this.init(e)}init(e){this.firstLevelFocusEvents(e),this.flyoutInnerFocusEvents(e)}focusPrevATag(e,t){const n=e.closest("li"),i=e.closest(this.navFlyoutSelector);t.preventDefault(),n.hasClass(this.navLevelTwoConst)&&n.prev("li").find(this.navLevelThreeSelector).length>0?n.prev("li").find("ul > li:last-child > a").focus():e.closest(this.navImageTeaserSelector).length>0?e.closest("div").hasClass("component-image-teaser")?e.closest(this.navImageTeaserSelector).find(".image-wrapper a").focus():i.find(".component-navigation-items > ul > li:not(.mobile-upper-level):last-child a:last").focus():n.prev("li").hasClass(this.navUpperLevelConst)?n.hasClass(this.navLevelTwoConst)?i.hasClass("hasTeaser")?i.find(".component-image-teaser a").last().focus():i.find("li.nav-item-level2:last-child a:last").focus():n.hasClass("nav-item-level3")&&e.closest(this.navLevelTwoSelector).find("> a").focus():n.is(":first-child")&&e.hasClass("dropdown-toggle")?e.closest("ul").find("> li:last-child > a").focus():n.prev("li").find("> a").focus()}focusNextATag(e,t){const n=e.closest("li"),i=e.closest(this.navFlyoutSelector);t.preventDefault(),n.hasClass(this.navLevelTwoConst)&&n.find(this.navLevelThreeSelector).length>0?n.find("ul > li:not(.mobile-upper-level):eq(0) > a").focus():e.closest(this.navImageTeaserSelector).length>0?e.closest("div.cta-wrapper").parents("div:eq(0)").hasClass("component-image-teaser")?i.find(".component-navigation-items > ul > li:not(.mobile-upper-level):eq(0) > a").focus():e.closest(this.navImageTeaserSelector).find("a:last").focus():n.is(":last-child")?e.hasClass("dropdown-toggle")?e.closest("ul").find("> li:not(.mobile-upper-level):eq(0) > a").focus():e.closest(this.navLevelTwoSelector).next("li").length<1&&n.find(this.navLevelThreeSelector).length<1?i.hasClass("hasTeaser")?i.find(".component-image-teaser a").first().focus():i.find("li.nav-item-level2:not(.mobile-upper-level):eq(0) > a").focus():n.hasClass("nav-item-level3")&&e.closest(this.navLevelTwoSelector).next("li").find("> a").focus():n.next("li").find("> a").focus()}
1focusPrevLvl2ATag(e){const t=e.closest(".nav-item-level2");t.prev("li").hasClass(this.navUpperLevelConst)?e.closest(".component-navigation-items").find("> ul > li:last-child > a").focus():t.prev("li").find("> a").focus()}focusNextLvl2ATag(e){const t=e.closest(".nav-item-level2");t.next("li").length>0?t.next("li").find("> a").focus():e.closest(".component-navigation-items").find("> ul > li:not(.mobile-upper-level):eq(0) > a").focus()}openFlyout(e){const t=e.closest("li"),n=t.find(this.navFlyoutSelector);n.length>0&&(n.addClass("open"),t.attr("aria-expanded",!0),n.find("a:first").closest("li").hasClass(this.navUpperLevelConst)?n.find("a:eq(1)").focus():n.find("a:first").focus())}closeFlyouts(e){e.find(this.navFlyoutSelector).removeClass("open"),e.find(".mega-dropdown").attr("aria-expanded",!1)}firstLevelFocusEvents(e){const t=this,n=e.find(".nav-item > a");n.on("focus",function(){t.closeFlyouts(e)}),n.on("keydown",function(n){switch(n.keyCode){case 32:case 40:n.preventDefault(),t.closeFlyouts(e),t.openFlyout(r(this));break;case 37:t.focusPrevATag(r(this),n);break;case 39:t.focusNextATag(r(this),n)}})}flyoutInnerFocusEvents(e){const t=this;e.find(".nav-flyout a").on("keydown",function(e){switch(e.keyCode){case 27:r(this).closest("li.nav-item").find("> a").focus();break;case 37:t.focusPrevLvl2ATag(r(this));break;case 38:t.focusPrevATag(r(this),e);break;case 39:t.focusNextLvl2ATag(r(this));break;case 40:t.focusNextATag(r(this),e)}})}}var o=n(8027),a=n(4692);class l extends i.q.Component{constructor(e){super(e),this.navbar=e.children(".navbar-nav"),this.items=this.navbar.children(),this.activeItem=this.items.filter(".active"),this.mode=o.sM.getMode(),this.closeButton=this.items.find(".close"),this.openedFlyout=[],this.mode===o.db.DESKTOP&&(this.AccessibilityNavigation=new s(e)),this.timeout=null,this.forceOpen=!1,this.init()}init(){this.mode=o.sM.getMode(),this.mode===o.db.DESKTOP&&this.attachListener(this.items),this.initAPI()}attachListener(e){e.filter(".nav-item").children(".dropdown-toggle").click(e=>{!1!==a("#header .component-quick-access").hasClass("active")||a("#header .ui-autocomplete").is(":visible")||(0!==Object.values(this.items.filter(".nav-item").children(".open"))[length]&&0!==this.openedFlyout.length&&this.onClickClose(this.openedFlyout),this.openedFlyout!==e.currentTarget.closest(".nav-item")&&e.currentTarget.closest(".nav-item > button.dropdown-toggle")?(this.onClickNav(e.currentTarget.closest(".nav-item")),this.openedFlyout=e.currentTarget.closest(".nav-item")):this.openedFlyout=[])}),this.closeButton.click(()=>{!1!==a("#header .component-quick-access").hasClass("active")||a("#header .ui-autocomplete").is(":visible")||(this.onClickClose(this.openedFlyout),this.openedFlyout=[])}),onkeydown=e=>{27==e.keyCode&&0!==this.openedFlyout.length&&(this.onClickClose(this.openedFlyout),this.openedFlyout=[])},this.header=a("header"),this.header.mouseenter(()=>{this.header.addClass("navigation--active")}),this.header.mouseleave(()=>{this.header.removeClass("navigation--active")})}onClickNav(e){!0===this.forceOpen?this.openFlyout(a(e)):this.timeout=setTimeout(()=>{this.openFlyout(a(e))},150)}onClickClose(e){a(e.relatedTarget).hasClass("dropdown-toggle")?this.forceOpen=!0:this.forceOpen=!1,clearTimeout(this.timeout),this.closeFlyout(a(e))}openFlyout(e){e.children("button.dropdown-toggle")[0].ariaExpanded="true",e.children(".nav-flyout").addClass("open")}closeFlyout(e){e.children("button.dropdown-toggle")[0].ariaExpanded="false",e.children(".nav-flyout").removeClass("open")}destroy(){this.items.off()}initAPI(){a("html").on("cms.resize",()=>{this.mode!==o.sM.getMode()&&(this.destroy(),this.init())})}}i.q.registerComponent("#main-navigation",l)},9965:function(e,t,n){"use strict";n.r(t);var i=n(8027),r=n(3323),s=n(4692);class o extends r.q.Component{constructor(e){super(e),this.header=s("#header"),this.searchInput=this.header.find("input.header-search-input"),this.navbarCollaps=this.header.find(".navbar-collapse"),this.ctaItemsWrapper=this.element.find(".cta-wrapper"),this.ctaButtonWrapper=this.element.find(".cta-button-wrapper"),this.noAutosuggestTxt=this.element.find(".no-autosuggest-results"),this.ctaButtonLink=this.element.find(".btn"),this.selectedItemIndex=-1,this.headerSearchSelector=".header-search",this.activeClassesConst="d-block active",this.showOnLostFocusClasses="show-on-lostfocus",this.init()}init(){this.mode=i.sM.getMode(),this.onInputFocus(),this.mode===i.db.MOBILE?this.closeOnBackBtnClick():(this.focusCtaOnArrowUpD
1own(),this.onMouseCtaItemsWrapper()),this.onResize(),this.setTabIndex()}getClosestQAContainer(e){return s(e.currentTarget).closest(this.headerSearchSelector).find(".component-quick-access")}onInputFocus(){this.header.on("focus","input.header-search-input",e=>{s(e.currentTarget).closest(this.headerSearchSelector).find(".component-search-autosuggest").hasClass("d-block")||(this.selectedItemIndex=-1,this.deselectQuickAccessItems(e),this.getClosestQAContainer(e).addClass(this.activeClassesConst),this.mode===i.db.MOBILE&&this.navbarCollaps.addClass("quick-access-active"))}),this.searchInput.on("blur.quickAccess",e=>{this.mode!==i.db.MOBILE&&(this.getClosestQAContainer(e).removeClass(this.activeClassesConst),this.noAutosuggestTxt.addClass("d-none"))})}onMouseCtaItemsWrapper(){this.ctaItemsWrapper.on("mouseenter",e=>{this.getClosestQAContainer(e).addClass(this.showOnLostFocusClasses),s(e.currentTarget).closest(this.headerSearchSelector).find(".header-search-input").addClass("hide-bg border-0")}),this.ctaItemsWrapper.on("mouseleave",e=>{this.getClosestQAContainer(e).removeClass(this.showOnLostFocusClasses),s(e.currentTarget).closest(this.headerSearchSelector).find(".header-search-input").removeClass("hide-bg border-0")})}closeOnBackBtnClick(){this.element.find(".btn.nav-back").on("click",e=>{e.preventDefault(),this.element.removeClass(this.activeClassesConst),this.navbarCollaps.find(".collapsable-inner").scrollTop(0),this.navbarCollaps.removeClass("quick-access-active"),this.header.find(".ui-autocomplete-input").val(""),this.noAutosuggestTxt.addClass("d-none")})}selectQuickAccessItem(e){const t=this.getClosestQAContainer(e).find(".cta-button-wrapper:eq("+this.selectedItemIndex+")");this.deselectQuickAccessItems(e),this.searchInput.attr("aria-activedescendant",t.attr("id")),t.addClass("selected")}deselectQuickAccessItems(e){const t=this.getClosestQAContainer(e);t.find(".cta-button-wrapper").removeClass("selected"),t.removeClass(this.showOnLostFocusClasses),this.searchInput.removeClass("hide-bg")}focusCtaOnArrowUpDown(){this.searchInput.on("keydown.quickAccess",e=>{this.getClosestQAContainer(e).hasClass("active")&&(e.stopImmediatePropagation(),this.keyParser(e))})}clickQuickAccessItem(){this.ctaButtonWrapper.eq(this.selectedItemIndex).find("a")[0].click(),this.searchInput.blur()}keyParser(e){switch({38:"up",40:"down",13:"enter"}[e.keyCode]){case"up":e.preventDefault(),this.selectedItemIndex>0&&(this.selectedItemIndex--,this.selectQuickAccessItem(e));break;case"down":e.preventDefault(),this.selectedItemIndex<this.ctaButtonWrapper.length-1&&(this.selectedItemIndex++,this.selectQuickAccessItem(e));break;case"enter":this.selectedItemIndex>=0&&(e.preventDefault(),this.clickQuickAccessItem())}}destroy(){this.searchInput.off(".quickAccess")}onResize(){s("html").on("cms.resize",()=>{this.mode!==i.sM.getMode()&&(this.destroy(),this.init())})}setTabIndex(){this.ctaButtonLink.attr("tabindex","-1")}}r.q.registerComponent(".component-quick-access",o)},4770:function(e,t,n){"use strict";n.r(t),n(3124),n(9139),n(4224),n(8330),n(97);var i=n(8027),r=n(3323),s=n(6295),o=n(2242),a=n(1215),l=n(282),c=n(4692);class u extends r.q.Component{constructor(e){super(e),this.isHeaderAutosuggest=this.element.is("#search--input-header")||this.element.is("#search--input-navigation"),this.navbarCollapse=this.element.closest(".
1navbar-collapse"),this.closestHeaderSearch=this.element.closest(".header-search"),this.autosuggestContainer=this.isHeaderAutosuggest?this.element.closest(".search").find(".component-search-autosuggest"):this.element.closest("div").find(".component-search-autosuggest"),this.noAutosuggestTxt=this.isHeaderAutosuggest?this.autosuggestContainer.find(".no-autosuggest-results"):this.element.closest("div").find(".no-autosuggest-results"),this.labelWrapper=this.isHeaderAutosuggest?this.autosuggestContainer.find(".label-wrapper"):this.element.closest("div").find(".label-wrapper"),this.autosuggestCanceled=!1,this.headerSearch=this.closestHeaderSearch.find(".header-search-input"),this.siteId=this.isHeaderAutosuggest?this.headerSearch.data("site-id"):this.element.closest("div").find(".autosuggest-search-input").data("site-id"),this.currentTarget=this.element.data("current-node"),this.accesskeysObj=[],this.autosuggestClassConst="automated-list-search-autosuggest",this.forceBlockClassConst="d-force-block",this.init()}init(){this.mode=i.sM.getMode(),this.loadAccessKeys(),this.initAutocomplete(),this.onResize()}getEndpoint(){const e=o.w8&&this.siteId?o.vZ.autosuggest.wp:o.vZ.autosuggest.default;return o.KT+e}getDisplayTitle(e){return"redirectToBranchCta"===e.type&&(new l.Fv).get(l.YM.branch,l.YM.otGroupBranch)&&e.titleWithCookie?e.titleWithCookie:e.title}loadAccessKeys(){if(this.currentTarget){const e=[];c.ajax({type:"GET",url:this.currentTarget+".quickaccess.json"}).then(t=>{c.each(t,function(t,n){let i="#";switch(n.type){case"link":i=n.cta.linkUrl.endsWith(".html")||n.cta.linkUrl.startsWith("/content/dam")?n.cta.linkUrl:n.cta.linkUrl+".html";break;case"formOverlay":i=n.cta.formPath+".include.html"}const r={title:n.cta.linkText?n.cta.linkText:n.cta.buttonText,titleWithCookie:n.cta?.buttonTextWithBlzCookie,id:"#quickaccess-"+t,type:n.type,cta:n.cta,url:i,params:n.params,prefillData:n.prefillData};e.push(r)}),this.accesskeysObj=e})}}initAutocomplete(){const e=this.labelWrapper?.find(".label")[0]?.innerText,t=this;c.widget("custom.catcomplete",c.ui.autocomplete,{_create:function(){this._super(),this.widget().menu("option","items","> :not(.ui-autocomplete-category)")},_renderMenu:function(e,t){var n=this,i="";c.each(t,function(t,s){r.q.ObjectHasOwnProperty(s,"category")?(s.category!=i&&(e.append("<li class='ui-autocomplete-category'>"+s.category+"</li>"),i=s.category),n._renderItemData(e,s).attr("aria-label",s.category+": "+s.title)):n._renderItemData(e,s)})},_renderItem:function(n,i){const r='"><span class="title">',s=e?' aria-label="'+e+": "+i.title+'"':"",o="</span></a>";return i.type?c("<li"+s+'><a class="ui-menu-item-wrapper quick-access-item" href="'+i.url+'" target="'+i.cta.linkTarget+r+t.getDisplayTitle(i)+o).appendTo(n):i.title&&i.subtitle?c('<li><a class="ui-menu-item-wrapper" href="'+i.url+r+i.title+'</span><span class="subtitle">'+i.subtitle+o).appendTo(n):i.title?c('<li><a class="ui-menu-item-wrapper" href="'+i.url+r+i.title+o).appendTo(n):void 0}}),this.element.catcomplete({minLength:0,source:(e,t)=>{this.hasFocus()&&!this.autosuggestCanceled&&(e.term.length>=3?c.ajax({url:this.getEndpoint(),data:{term:e.term,path:o.Kh,siteId:o.w8&&this.siteId?this.siteId:void 0},success:e=>{if(0!==e.length)if(r.q.ObjectHasOwnProperty(e,"groups")){const n=[];c.each(e.groups,function(e,t){c.each(t.details,function(e,i){const r=i;r.category=t.name,!r.url&&r.externalId&&(r.url=o.AJ.indexDetails+i.externalId),n.push(r)})}),t(n)}else t(e);else t(this.accesskeysObj)}}):t(this.accesskeysObj))},delay:500,appendTo:this.autosuggestContainer,response:(e,t)=>{t.content.length>0?(this.autosuggestContainer.hasClass(this.autosuggestClassConst)&&this.element.addClass("active"),this.displayAutosuggest(!0),t.content[0].id?(this.element.val().length>=3?this.displayAutosuggestNoResult(!0):this.displayAutosuggestNoResult(!1),this.displayLabel(!0)):(this.displayLabel(!1),this.displayAutosuggestNoResult(!1))):this.autosuggestContainer.hasClass(this.autosuggestClassConst)&&(this.clearAutosuggestContainer(),this.displayContainer(!1),this.element.val().length>=3?this.displayAutosuggestNoResult(!0):(this.displayAutosuggestNoResult(!1),this.element.removeClass("active")))},open:()=>{this.mode!==i.db.DESKTOP&&this.isHeaderAutosuggest&&this.displayAutosuggest(!0),this.displayContainer(!0),this.autosuggestContainer.addClass(this.forceBlockClassConst),this.headerSearch.addClass("border-0")},close:()=>{this.element.val().length<this.props.minlengthAutosuggest&&this.autosuggestToQuickAccess()},focus:(e,t)=>{if(e.preventDefault(),"keydown"===e.originalEvent.originalEvent.type){if(!t.item)return;this.element.val(this.getDisplayTitle(t.item))}},select:(e,t)=>
1{if(e.preventDefault(),t.item.type){switch(t.item.type){case"link":window.location.href=t.item.url;break;case"formOverlay":{const e=window.registeredActions["form-overlay"],n=[];t.item.prefillData&&n.push(t.item.prefillData),a.Z.triggerAction(e,n,c("<a/>",{href:t.item.url}));break}case"redirectToBranchCta":{const e=window.registeredActions.bankstellensuche;a.Z.triggerAction(e,JSON.stringify(t.item.params).replace(/"/g,"'"));break}}this.headerSearch.val("")}else window.location.href=t.item.url;this.element.blur(),s.A.eventTracking(!0,"volltextsuche","Autocomplete Suche",{searchTerm:t.item.title},"autocompleteSearch")}}).bind("focus",function(){c(this).catcomplete("search")}),this.element.on("keydown",e=>{"Escape"!==e.key&&27!==e.keyCode||this.element.blur()}),this.element.on("blur.autoSuggest",()=>{this.mode===i.db.MOBILE&&this.autosuggestContainer.find("li").length&&this.displayAutosuggest(!0),this.isHeaderAutosuggest||this.noAutosuggestTxt.hasClass("d-none")||this.displayAutosuggestNoResult(!1)}),this.element.on("focusin.autoSuggest",()=>{this.autosuggestContainer.hasClass(this.autosuggestClassConst)||this.displayContainer(!0)}),this.element.on("focusout.autoSuggest",()=>{this.displayContainer(!1),this.displayAutosuggest(!1),this.clearAutosuggestContainer(),this.displayAutosuggestNoResult(!1)}),this.element.on("keydown.autoSuggest",e=>{this.autosuggestCanceled=!1,13!==e.keyCode||this.isHeaderAutosuggest||(this.cancelAutosuggest(),this.displayAutosuggest(!1),this.displayAutosuggestNoResult(!1),this.displayContainer(!1),this.autosuggestContainer.hasClass(this.autosuggestClassConst)&&this.element.removeClass("active"))}),c(this.autosuggestContainer[0].lastChild).removeAttr("tabindex")}cancelAutosuggest(){this.autosuggestCanceled=!0}hasFocus(){return this.element.is(":focus")}displayAutosuggest(e){this.autosuggestContainer.find("ul").children("li.ui-menu-item").toggleClass(this.forceBlockClassConst,e)}displayContainer(e){this.navbarCollapse.toggleClass("autosuggest-active",e),this.autosuggestContainer.toggleClass(this.forceBlockClassConst,e),this.closestHeaderSearch.find(".ui-autocomplete").toggle(e),this.headerSearch.toggleClass("border-0",e)}displayLabel(e){this.labelWrapper.toggleClass("d-none",!e)}autosuggestToQuickAccess(){this.autosuggestContainer.hasClass(this.autosuggestClassConst)&&(this.clearAutosuggestContainer(),this.displayContainer(!1),this.displayAutosuggest(!1),this.element.removeClass("active"))}clearAutosuggestContainer(){this.autosuggestContainer.find("ul").children("li.ui-menu-item").remove()}displayAutosuggestNoResult(e){this.noAutosuggestTxt.toggleClass("d-none",!e)}destroy(){this.element.catcomplete("destroy"),this.element.off(".autoSuggest")}onResize(){c("html").on("cms.resize",()=>{this.mode!==i.sM.getMode()&&(this.destroy(),this.init())})}}r.q.registerComponent(".autosuggest-search-input",u)},4681:function(e,t,n){"use strict";var i=n(3323),r=n(3317),s=n.n(r),o=n(4692);class a{constructor(e){this.header=e,this.search=this.header.find(".header-search-navigation"),this.searchWrappers=this.header.find(".header-search-desktop, .header-search-navigation"),this.clickHandlerConst="click.desktopSearch.close",this.init()}init(){this.button=this.header.find("button.header-search-button"),this.navInput=this.header.find("input.search-nav"),this.headerInput=this.header.find("#search--input-header"),this.searchActive=!1,this.initBindings()}initBindings(){this.button.on("click.desktopSearch",()=>{this.toggleSearch()}),this.navInput.on("input.desktopSearch",e=>{this.syncSearchFields(o(e.currentTarget).val())}),this.headerInput.on("input.desktopSearch",e=>{this.syncSearchFields(o(e.currentTarget).val())}),this.headerInput.on("focus.desktopSearch",e=>{this.openSearch(),o(e.currentTarget).select()}),this.navInput.on("focus.desktopSearch",e=>{this.openSearch(),o(e.currentTarget).select()}),this.headerInput.on("blur.desktopSearch",()=>{this.closeSearch()})}closeOnClickOutside(){this.clearCloseOnClickOutside(),o("body").on(this.clickHandlerConst,()=>this.closeSearch()),this.searchWrappers.on(this.clickHandlerConst,e=>e.stopPropagation())}clearCloseOnClickOutside(){o("body").off(this.clickHandlerConst),this.searchWra
1ppers.off(this.clickHandlerConst)}syncSearchFields(e){this.headerInput.val(e),this.navInput.val(e)}toggleSearch(){this.searchActive?this.closeSearch():(this.navInput.focus(),this.openSearch())}switchFocus(e){e?this.navInput.focus():this.headerInput.focus()}openSearch(){this.button.attr("aria-pressed",!0),this.search.addClass("search-open"),this.header.addClass("force--pinned"),this.closeOnClickOutside(),this.searchActive=!0}closeSearch(){this.button.attr("aria-pressed",!1),this.search.removeClass("search-open"),this.header.removeClass("force--pinned"),this.clearCloseOnClickOutside(),this.searchActive=!1}destroy(){const e=".desktopSearch";this.button.off(e),this.navInput.off(e),this.headerInput.off(e)}}var l=n(8027),c=n(4692);class u{constructor(e){this.header=e,this.menuBtn=e.find("button.navbar-toggle"),this.navBarCollapse=e.find(".navbar-collapse"),this.componentQuickAccess=e.find(".component-quick-access"),this.mainNavigation=e.find("#main-navigation"),this.mainNavigationSnapPosition=e.find(".searchNavigation").outerHeight(),this.clickableNavItems=e.find(".dropdown-toggle, .nav-item-level2:not(.mobile-upper-level) > a"),this.mobileBackBtn=e.find(".mobile-level-back"),this.html=c("html"),this.mobileActive=!1,this.mobileNavActiveString="mobile-nav-active",this.searchString=".nav-flyout.open .nav-item-level2 > a, .nav-flyout.open .nav-item-level2 > button, .nav-flyout.open .teaser-wrapper a",this.levelTwoOpenedConst="level2-opened",this.levelThreeOpenedConst="level3-opened",this.navFlayoutOpenSelector=".nav-flyout.open",this.init()}init(){this.toggleNavigationVisiblity(),this.handleNavItemClicks(),this.handleBackBtnClick(),this.scrollTopAfterSwipingUp(),this.handleSwipingHorizontally(),this.closeNavigationOnBodyClick(),this.trapFocus()}closeMobileMenu(){this.html.removeClass(this.mobileNavActiveString),this.header.removeClass("force--pinned"),this.setNavigationToDefault(),this.mobileActive=!1,this.header.find(".ui-autocomplete-input.search-nav").attr("tabindex","-1"),this.header.find(".nav-back").attr("tabindex","0")}trapFocus(){if(1===l.sM.getMode()){const e='button:not([tabindex="-1"]), a:not([tabindex="-1"]), input, select, textarea, [tabindex]:not([tabindex="-1"])',t=this.header.find(".module-header > .container, .navbar-collapse").find(e),n=this.header.find(".header-search:not(:first-of-type)"),i=t.filter(function(){return c(this).is(":visible")&&0===c(this).closest(n).length}),r=i.first(),s=i.last();this.header.off("keydown"),this.header.on("keydown",e=>{this.mobileActive&&("Tab"===e.key&&e.shiftKey?e.target===r[0]&&(e.preventDefault(),s.focus()):"Tab"===e.key?e.target===s[0]&&(e.preventDefault(),r.focus()):"Escape"===e.key&&(this.closeMobileMenu(),this.menuBtn.focus()))})}}toggleNavigationVisiblity(){this.menuBtn.on("click",()=>{this.html.hasClass(this.mobileNavActiveString)?this.closeMobileMenu():(this.mobileActive=!0,this.mainNavigation.addClass("transition-default"),this.setNavigationToDefault(),this.html.addClass(this.mobileNavActiveString),this.mainNavigation.removeClass("transition-default"),this.componentQuickAccess.removeClass("d-block active"),this.componentQuickAccess.find(".no-autosuggest-results").addClass("d-none"),this.header.find(".component-search-autosuggest").removeClass("d-block"),this.header.find(".ui-autocomplete").hide().children().remove(),this.header.find(".ui-autocomplete-input").val("").attr("tabindex","0"),this.navBarCollapse.removeClass("quick-access-active autosuggest-active"),this.header.toggleClass("force--pinned",!0),this.header.find(".nav-back").attr("tabindex","-1"),this.handleAllTabIndex("negative"),this.handleTabindex("positive",".dropdown-toggle, .nav-item--meta-navigation a"))})}handleTabindex(e,t){const n=this.header.find(t),i="negative"===e?"-1":"0";n.each(function(e,t){c(t).attr("tabindex",i)}),this.trapFocus()}handleAllTabIndex(e){this.handleTabindex(e,".nav-item-level2 > a, .nav-item-level2 > button, .dropdown-toggle, .nav-item--meta-navigation a, .teaser-wrapper a, .nav-item-level3 > a, .nav-item-level3 > button, .close")}handleNavItemClicks(){this.clickableNavItems.on("click",e=>{const t=c(e.currentTarget).closest("li"),n=t.find(".nav-flyout"),i=t.find("> ul");(t.hasClass("mega-dropdown")||t.hasClass("nav-item-level2")&&i.length>0)&&e.preventDefault(),t.hasClass("mega-dropdown")?(this.mainNavigation.height(n.height()),this.navBarCollapse.addClass(this.levelTwoOpenedConst),n.addClass("open"),this.handleTabindex("negative",".dropdown-toggle, .nav-item--meta-navigation a, .close, .nav-flyout:not(.open) .nav-item-level2 > a, .nav-flyout:not(.open) .nav-item-level2 > button, .nav-flyout:not(.open) .teaser-wrapper a, .nav-item-level3 > a, .nav-item-level3 > button"),this.handleTabindex("positive",this.searchString),this.navBarCollapse.scrollTop(this.mainNavigationSnapPosition)):t.hasClass("nav-item-level2")&&i.length>0&&(this.navBarCollapse.removeClass(this.levelTwoOpenedConst),this.navBarCollapse.addClass(this.levelThreeOpenedConst),this.mainNavigation.height(i.height()),i.addClass("open"),this.handleTabindex("negative",this.searchString),this.handleTabindex("positive","ul.open .nav-item-level3 > a, ul.open .nav-item-level3 > button"),this.navBarCollapse.scrollTop(this.mainNavigationSnapPosition))})}
1closeLevel2NavItem(){this.handleTabindex("positive",".dropdown-toggle, .nav-item--meta-navigation a, .close"),this.handleTabindex("negative",this.searchString),this.navBarCollapse.removeClass(this.levelTwoOpenedConst),this.navBarCollapse.find(this.navFlayoutOpenSelector).removeClass("open")}closeLevel3NavItem(){this.handleTabindex("positive",this.searchString),this.handleTabindex("negative","ul.open .nav-item-level3 > a, ul.open .nav-item-level3 > button"),this.navBarCollapse.removeClass(this.levelThreeOpenedConst),this.navBarCollapse.addClass(this.levelTwoOpenedConst),this.mainNavigation.height(this.navBarCollapse.find(this.navFlayoutOpenSelector).height()),this.navBarCollapse.find("ul.open").removeClass("open")}handleBackBtnClick(){this.mobileBackBtn.on("click",e=>{e.preventDefault(),this.navBarCollapse.hasClass(this.levelTwoOpenedConst)?(this.closeLevel2NavItem(),this.navBarCollapse.scrollTop(0)):this.navBarCollapse.hasClass(this.levelThreeOpenedConst)&&(this.closeLevel3NavItem(),this.navBarCollapse.scrollTop(this.mainNavigationSnapPosition))})}scrollTopAfterSwipingUp(){let e;this.navBarCollapse.on("touchstart",t=>{e=t.originalEvent.touches[0].clientY}),this.navBarCollapse.on("touchend",t=>{const n=t.originalEvent.changedTouches[0].clientY-e,i=this.mainNavigation.offset().top-this.navBarCollapse.offset().top;n>=10&&i>=10&&this.navBarCollapse.animate({scrollTop:0},200)})}handleSwipingHorizontally(){let e,t;this.navBarCollapse.on("touchstart",n=>{e=n.originalEvent.touches[0].clientX,t=n.originalEvent.touches[0].clientY}),this.navBarCollapse.on("touchend",n=>{const i=n.originalEvent.changedTouches[0].clientX,r=n.originalEvent.changedTouches[0].clientY-t;r>=-25&&r<=25&&i-e>=100&&(this.navBarCollapse.hasClass(this.levelTwoOpenedConst)?this.closeLevel2NavItem():this.navBarCollapse.hasClass(this.levelThreeOpenedConst)?this.closeLevel3NavItem():this.menuBtn.click())})}setNavigationToDefault(){this.navBarCollapse.removeClass("level2-opened level3-opened"),this.navBarCollapse.find(this.navFlayoutOpenSelector).removeClass("open"),this.navBarCollapse.find("ul.open").removeClass("open"),this.mainNavigation.css("height","auto")}closeNavigationOnBodyClick(){c(".mobile-nav-backdrop").click(()=>{this.closeMobileMenu()})}destroy(){this.closeMobileMenu(),this.handleAllTabIndex("positive"),this.menuBtn.off(),this.navBarCollapse.off(),this.mainNavigation.off(),this.clickableNavItems.off(),this.mobileBackBtn.off()}}var d=n(4692);class h extends i.q.Component{constructor(e){super(e),this.languageswitch=e.find("#sprachauswahl"),this.cookieBanner=e.parent().find(".cookieBanner "),this.metaNavigation=e.find(".meta-navigation"),this.headerSearchSelector=".header-search",this.autosuggestSearchSelector=".component-search-autosuggest",this.flyoutSelector=".nav-flyout",this.notTopClass="header--not-top",this.init()}init(){this.mode=l.sM.getMode(),this.mode===l.db.DESKTOP?this.initDesktop():this.initMobile(),this.changeLanguage(),this.updateOffset(),this.initAPI()}initDesktop(){this.desktopSearch=new a(this.element),this.initHeadroom(()=>{if(this.desktopSearch.navInput.is(":focus")){let e=!1;(this.desktopSearch.headerInput.closest(this.headerSearchSelector).find(this.autosuggestSearchSelector).hasClass("d-block")||this.desktopSearch.navInput.closest(this.headerSearchSelector).find(this.autosuggestSearchSelector).hasClass("d-block"))&&(e=!0),this.desktopSearch.switchFocus(!1),e&&this.desktopSearch.headerInput.catcomplete("search",this.desktopSearch.headerInput.val())}},()=>{this.desktopSearch.headerInput.is(":focus")&&(this.desktopSearch.switchFocus(!0),d(this.flyoutSelector).removeClass("open"),this.desktopSearch.headerInput.closest(this.headerSearchSelector).find(this.autosuggestSearchSelector).hasClass("d-block")&&this.desktopSearch.navInput.catcomplete("search",this.desktopSearch.navInput.val()))}),this.handleNavigationTouch(),this.initMetaNavigation()}initMobile(){this.initHeadroom(()=>{},()=>{}),this.mobileNavigation=new u(this.element)}handleNavigationTouch(){"ontouchstart"in window&&this.element.find("#main-navigation .mega-dropdown > .dropdown-toggle").on("touchend",e=>{const t=d(e.currentTarget).closest("li").find(this.flyoutSelector);this.element.find(this.flyoutSelector).removeClass("open"),!1===t.hasClass("open")&&(e.preventDefault(),t.addClass("open"))})}initHeadroom(e,t){this.headroom=new(s())(this.element[0],{offset:this.getHeadroomOffset(),tolerance:10,classes:{initial:"header-pinable",pinned:"header--pinned",unpinned:"header--unpinned",top:"header--top",notTop:this.notTopClass,bottom:"header--bottom",notBottom:"header--not-bottom"},onTop:()=>{this.cookieBannerOnTop(),e()},onNotTop:()=>{this.cookieBannerNotOnTop(),t()},onPin:()=>{this.pinned()},onUnpin:()=>{this.mode!==l.db.DESKTOP&&this.element.find(".boersespiel-login button.open").length>0?this.headroom.pin():this.unpinned()}}),this.headroom.init()}cookieBannerOnTop(){this.element.parent().removeClass(this.notTopClass),this.element.css({top:this.cookieBanner.outerHeight()})}cookieBannerNotOnTop(){this.element.parent().addClass(this.notTopClass),this.element.css({top:this.cookieBanner.outerHeight()})}pinned(){d("body").addClass("header-pinned")}unpinned(){d("body").removeClass("header-pinned")}changeLanguage(){this.languageswitch.on("change",e=>{window.location.href=d(e.currentTarget).val()})}updateOffset(){d(".header-wrapper").css({"padding-bottom":this.getHeight()})}destroy(){this.headroom.destroy(),this.mode===l.db.DESKTOP?this.desktopSearch.destroy():this.mobileNavigation.destroy()}getHeight(){const e=0!=this.cookieBanner.length?this.cookieBanner.outerHeight():0;return this.element.height()+e}getHeadroomOffset(){return this.element.find(".module-header").outerHeight()}positionCollapse(){const e=this.element.find(".navbar-collapse"),t=this.element.outerHeight();this.mode===l.db.DESKTOP?e.css({top:"auto"}):e.css({top:t,"max-height":`calc(100vh - ${t}px)`})}initMetaNavigation(){const e=this.metaNavigation.find(".container").outerWidth(),t=this.metaNavigation.find(".meta-navigation__logo-supplement").outerWidth(),n=this.metaNavigation.find(".meta-navigation__group");t+n.outerWidth()>=e&&n.addClass("flex-grow-1 justify-content-end")}initAPI(){d("html").on("cms.resize",()=>{this.mode!==l.sM.getMode()?(this.destroy(),this.init(),this.positionCollapse()):0===this.mode&&this.updateOffset()}),this.positionCollapse()}}i.q.registerComponent("#header",h)},2367:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(3285),s=n(4302),o=n(4692);class a extends i.q.Component{constructor(e){super(e),this.htmlWrapper=this.element.find(".html-wrapper"),this.currentTarget=this.element.data("current-node"),this.cookieOverlay=e.find(".ot-cookie-overlay"),this.acceptedCookieBtn=this.cookieOverlay.find(".accept-cookies"),this.initialized=!1,this.init()}init(){this.initAPI(),this.listenOptanonChange()}initAPI(){this.currentTarget&&(this.acceptedCookieBtn.on("click",()=>{this.acceptAllCookies()}),o.ajax({type:"GET",url:this.currentTarget+".htmlcomponentscripts"}).then(e=>{const t="string"==typeof e?JSON.parse(e):e,n=Object.keys(t)[0];this.initialized||(r.e.getActiveGroupMapping(n)?(this.initialized=!0,this.htmlWrapper.html(t[n]),this.cookieOverlay.attr("hidden","true").attr("aria-hidden","true")):this.cookieOverlay.removeAttr("hidden").removeAttr("aria-hidden"))}))}acceptAllCookies(){"object"==typeof Optanon&&Optanon.AllowAll()}listenOptanonChange(){s.Z.subscribe("optanon.html",()=>{this.initialized?location.reload():this.init()})}}i.q.registerComponent(".html-component",a)},39:function(e,t,n){"use strict";n.r(t),n(3950);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.init()}init(){this.initFancybox()}initFancybox(){this.element.find("[data-fancybox-single-image]").fancybox({margin:[40,40],baseClass:"single-image-fancybox",animationEffect:"fade",mobile:{margin:0,clickContent:function(e,t){void 0!==t&&r(e.$slide).toggleClass("image-touched")},beforeShow:function(e,t){r(t.$slide).addClass("image-touched")}}
1,afterLoad:function(e,t){const n=t.opts.$orig,i=n.find("img"),s=r(t.$slide),o=r(t.$image),a=s.find(".fancybox-content"),l=n.prop("title"),c=n.find(".image-copyright").text();if(o&&i&&o.attr("alt",i.attr("alt")),l){const e='<span class="image-title">'+l+"</span>";s.append(e),a.append(e)}if(c){const e='<span class="image-copyright">'+c+"</span>";s.append(e),a.append(e)}}})}}i.q.registerComponent(".component-image",s)},3403:function(e,t,n){"use strict";n.r(t),n(3950);var i=n(550),r=n.n(i),s=n(3323),o=n(6295),a=n(4692);class l extends s.q.Component{constructor(e){super(e),this.detailUrl=e.data("detail-images-url"),this.loadMoreBtn=e.find(".btn-load-images"),this.loadMoreImageUrl=this.loadMoreBtn.data("load-more-items-url"),this.jumpBtn=e.find(".visually-hidden-focusable"),this.firstNewImage=null,this.loadCountConst="load-count",this.init()}init(){this.imageClickHandler(),this.jumpBtn.length&&(this.jumpBtn.hide(),this.jumpBtn.on("click",()=>this.jumpToNewItems())),this.loadMoreBtn.length>0&&(this.loadMoreGridItems(this.loadMoreImageUrl),o.A.addContentPlusSpacer(this.element))}imageClickHandler(){this.element.on("click","a[data-fancybox-image-gallery]",e=>{e.preventDefault(),this.loadDetailImages(this.detailUrl,this.element.find("a[data-fancybox-image-gallery]").index(a(e.currentTarget)))})}loadDetailImages(e,t){a.ajax({type:"GET",url:e,cache:!0}).then(e=>this.openDetailFancybox(e,t))}openDetailFancybox(e,t){a.fancybox.open(e,{baseClass:"fancybox-image-gallery-detail",loop:!0,margin:[40,40],mobile:{margin:0,touch:!0,idleTime:!1,clickSlide:!1,clickContent:function(e,t){void 0!==t&&a(e.$slide).closest(".fancybox-container").toggleClass("image-touched")},onInit:function(e){a(e.$refs.container).addClass("image-touched")}},afterShow:function(t,n){const i=e[n.index],r=a(n.$slide),s=r.find(".fancybox-content"),l=o.A.escapeHTML(i.albumTitle),c=o.A.escapeHTML(i.albumDate),u=o.A.escapeHTML(i.copyright),d=o.A.escapeHTML(i.text),h=o.A.escapeHTML(i.title);let p="",f="";h&&(p+='<span class="image-title">'+h+"</span>"),d&&(p+='<span class="text">'+d+"</span>"),c&&(p+='<span class="album-date">'+c+"</span>"),l&&(p+='<span class="album-title">'+l+"</span>"),u&&(f+='<span class="image-copyright">'+u+"</span>"),r.hasClass("has-image-information")||(""!=p&&(s.append('<div class="top-info-wrapper">'+p+"</div>"),r.append('<div class="top-info-wrapper">'+p+"</div>")),""!=f&&(s.append('<div class="bottom-info-wrapper">'+f+"</div>"),r.append('<div class="bottom-info-wrapper">'+f+"</div>")),r.addClass("has-image-information"));let m=null;s.on("mousemove touchmove",()=>{clearTimeout(m),s.addClass("hover"),m=setTimeout(function(){s.removeClass("hover")},3e3)}),s.on("mouseleave touchend",()=>{s.removeClass("hover")})}},t)}loadMoreGridItems(e){let t="";
1const n=e.lastIndexOf(".html"),i=e.substr(n-1,1),s=this.element.find(".picture-wrapper");this.loadMoreBtn.on("click",()=>{this.loadMoreBtn.data(this.loadCountConst)?(this.loadMoreBtn.data(this.loadCountConst,parseInt(this.loadMoreBtn.data(this.loadCountConst))+1),t=e.substr(0,n-1)+this.loadMoreBtn.data(this.loadCountConst)+e.substr(n,e.length)):(t=e,this.loadMoreBtn.data(this.loadCountConst,i)),a.ajax({type:"GET",url:t,cache:!1,beforeSend:()=>{s.addClass("loading"),this.loadMoreBtn.prop("disabled",!0)}}).then(e=>{s.removeClass("loading"),this.loadMoreBtn.prop("disabled",!1);const t=a(a.parseHTML(e));this.firstNewImage=t.filter(".image").first(),t.insertBefore(this.element.find(".inner-picture-wrapper .image.skeleton").first()),r()(),this.jumpBtn.show(),this.element.find(".picture-wrapper .image:not(.skeleton)").length==s.data("max-item-count")&&(this.loadMoreBtn.remove(),this.element.removeClass("show-load-more"),o.A.removeContentPlusSpacer(this.element))})})}jumpToNewItems(){this.firstNewImage&&this.firstNewImage.length&&(this.firstNewImage[0].scrollIntoView({behavior:"smooth",block:"start"}),this.jumpBtn.hide())}}s.q.registerComponent(".component-image-gallery",l)},5828:function(e,t,n){"use strict";const i={title:"Austria",version:"1.1.2",type:"FeatureCollection",copyright:"Copyright (c) 2015 Highsoft AS, Based on data from Natural Earth",copyrightShort:"Natural Earth",copyrightUrl:"http://www.naturalearthdata.com",crs:{type:"name",properties:{name:"urn:ogc:def:crs:EPSG:31255"}},"hc-transform":{default:{crs:"+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m +no_defs",scale:.00122132554851,jsonres:15.5,jsonmarginX:-999,jsonmarginY:9851,xoffset:-288444.120202,yoffset:431577.633379}},features:[{type:"Feature",id:"AT.WI",properties:{"hc-group":"admin1","hc-middle-x":.57,"hc-middle-y":.5,"hc-key":"at-wi","hc-a2":"WI",labelrank:"9",hasc:"AT.WI","alt-name":"Vienna|Viena","woe-id":"2344716",subregion:null,fips:"AU09","postal-code":"WI",name:"Wien",country:"Austria","type-en":"State",region:null,longitude:"16.3798","woe-name":"Wien",latitude:"48.2247","woe-label":"Vienna, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"Polygon",coordinates:[[[8882,8404],[8926,8430],[8964,8384],[8993,8319],[8979,8210],[9023,8118],[8925,8132],[8838,8119],[8798,8071],[8766,8071],[8707,8097],[8633,8087],[8546,8091],[8502,8142],[8512,8203],[8478,8259],[8503,8327],[8538,8312],[8575,8320],[8609,8356],[8701,8421],[8773,8455],[8789,8482],[8832,8479],[8882,8404]]]}},{type:"Feature",id:"AT.VO",properties:{"hc-group":"admin1","hc-middle-x":.53,"hc-middle-y":.5,"hc-key":"at-vo","hc-a2":"VO",labelrank:"6",hasc:"AT.VO","alt-name":null,"woe-id":"2344715",subregion:null,fips:"AU08","postal-code":"
1VO",name:"Vorarlberg",country:"Austria","type-en":"State",region:null,longitude:"9.873749999999999","woe-name":"Vorarlberg",latitude:"47.2617","woe-label":"Vorarlberg, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"Polygon",coordinates:[[[-170,5368],[-251,5392],[-337,5467],[-489,5524],[-540,5579],[-528,5710],[-540,5739],[-808,5837],[-934,5845],[-892,5893],[-879,5947],[-891,6002],[-923,6051],[-965,6078],[-946,6142],[-975,6210],[-964,6239],[-999,6282],[-949,6358],[-898,6414],[-875,6484],[-800,6582],[-795,6671],[-834,6709],[-886,6736],[-925,6802],[-851,6774],[-822,6796],[-763,6768],[-732,6812],[-654,6808],[-689,6866],[-636,6938],[-594,6950],[-558,6922],[-554,6849],[-526,6833],[-489,6846],[-405,6823],[-365,6839],[-363,6804],[-331,6765],[-303,6701],[-260,6723],[-195,6617],[-191,6570],[-224,6546],[-199,6462],[-117,6453],[-93,6475],[-30,6484],[-4,6469],[-7,6431],[-44,6307],[-90,6262],[-62,6260],[-40,6199],[-27,6104],[-32,6024],[-56,5973],[-115,5891],[-131,5852],[-155,5736],[-152,5658],[-167,5596],[-222,5537],[-225,5499],[-194,5444],[-170,5368]]]}},{type:"Feature",id:"AT.BU",properties:{"hc-group":"admin1","hc-middle-x":.61,"hc-middle-y":.2,"hc-key":"at-bu","hc-a2":"BU",labelrank:"6",hasc:"AT.BU","alt-name":"Burgenlândia","woe-id":"2344708",subregion:null,fips:"AU01","postal-code":"BU",name:"Burgenland",country:"Austria","type-en":"State",region:null,longitude:"16.3584","woe-name":"Burgenland",latitude:"47.4281","woe-label":"Burgenland, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"Polygon",coordinates:[[[9719,8064],[9745,8034],[9719,7954],[9743,7938],[9737,7903],[9817,7873],[9851,7845],[9766,7766],[9782,7749],[9756,7676],[9774,7666],[9763,7600],[9727,7559],[9661,7536],[9663,7513],[9714,7483],[9740,7432],[9720,7407],[9741,7260],[9778,7215],[9750,7200],[9647,7181],[9536,7147],[9481,7155],[9458,7209],[9387,7127],[9306,7136],[9274,7160],[9247,7222],[9113,7273],[9053,7278],[9002,7253],[8980,7174],[8899,7119],[8876,7137],[8834,7074],[8941,7031],[8980,7041],[9076,7007],[9122,7017],[9154,7004],[9194,6930],[9188,6888],[9233,6857],[9245,6798],[9231,6771],[9175,6733],[9184,6649],[9113,6588],[8962,6512],[8924,6551],[8893,6519],[8900,6438],[8884,6422],[8953,6303],[8951,6240],[8888,6194],[8894,6158],[8874,6111],[8881,6076],[8913,6070],[8914,5990],[8934,5978],[8981,6003],[9024,5977],[8987,5908],[8957,5888],[8961,5829],[9007,5813],[9008,5790],[8911,5734],[8973,5724],[9002,5683],[8893,5662],[8860,5685],[8771,5678],[8697,5684],[8679,5628],[8640,5601],[8638,5564],[8538,5480],[8488,5406],[8354,5319],[8351,5351],[8315,5402],[8334,5499],[8384,5546],[8451,5641],[8496,5720],[8493,5752],[8425,5839],[8415,5890],[8426,6013],[8381,6164],[8364,6276],[8331,6386],[8304,6445],[8305,6481],[8340,6527],[8376,6495],[8402,6511],[8481,6600],[8599,6610],[8657,6650],[8728,6732],[8718,6880],[8790,7037],[8695,7155],[8660,7217],[8655,7346],[8704,7353],[8737,7388],[8749,7432],[8749,7514],[8790,7581],[8856,7637],[8946,7656],[9046,7627],[9100,7658],[9193,7743],[9224,7823],[9287,7869],[9320,7871],[9378,7902],[9433,7946],[9494,7968],[9584,7917],[9611,7965],[9608,8028],[9636,8053],[9681,8036],[9719,8064]]]}},{type:"Feature",id:"AT.ST",properties:{"hc-group":"admin1","hc-middle-x":.58,"hc-middle-y":.44,"hc-key":"at-st","hc-a2":"ST",labelrank:"6",hasc:"AT.ST","alt-name":"Styria|Est¡ria|Estiria","woe-id":"2344713",subregion:null,fips:"AU06","postal-code":"ST",name:"Steiermark",country:"Austria","type-en":"State",region:null,longitude:"14.8565","woe-name":"Steiermark",latitude:"47.3901","woe-label":"Styria, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"Polygon",coordinates:[[[8481,6600],[8402,6511],[8376,6495],[8340,6527],[8305,6481],[8304,6445],[8331,6386],[8364,6276],[8381,6164],[8426,6013],[8415,5890],[8425,5839],[8493,5752],[8496,5720],[8451,5641],[8384,5546],[8334,5499],[8315,5402],[8351,5351],[8354,5319],[8296,5302],[8284,5258],[8277,5118],[8296,5067],[8345,5017],[8350,4968],[8305,5012],[8246,5021],[8146,5067],[8065,5069],[7968,5026],[7819,5036],[7795,5049],[7784,4972],[7751,4954],[7698,4959],[7646,4932],[7620,4857],[7550,4826],[7483,4873],[7440,4888],[7175,4868],[7031,4880],[6925,4997],[6907,5047],[6902,5117],[6850,5288],[6876,5371],[6878,5434],[6761,5605],[6703,5674],[6644,5703],[6486,5662],[6309,5646],[6270,5661],[6137,5656],[5990,5602],[5806,5665],[5710,5721],[5617,5714],[5460,5637],[5426,5605],[5392,5542],[5339,5516],[5250,5446],[5199,5435],[5109,5501],[5164,5572],[5225,5687],[5249,5751],[5248,5820],[5329,5915],[5321,5955],[5278,5985],[5219,6065],[5200,6125],[5145,
16221],[5126,6233],[5043,6207],[4979,6174],[4888,6239],[4850,6317],[4807,6458],[4794,6533],[4817,6619],[4949,6594],[5020,6645],[5036,6683],[5028,6746],[4958,6854],[4952,6896],[4966,6994],[5007,7037],[5158,7114],[5343,7060],[5405,7070],[5470,6994],[5496,6918],[5533,6939],[5688,6986],[5769,6931],[5829,6910],[5905,6921],[6004,6992],[6088,7035],[6108,7071],[6312,7156],[6401,7231],[6451,7192],[6599,7196],[6664,7143],[6729,7148],[6849,7205],[6908,7203],[7092,7269],[7151,7352],[7219,7346],[7306,7369],[7357,7358],[7418,7305],[7537,7251],[7593,7213],[7689,7207],[7737,7154],[7785,7127],[7845,7124],[7863,7100],[7891,6988],[7920,6981],[7966,7009],[8013,6983],[8014,6892],[8069,6886],[8107,6859],[8145,6779],[8262,6763],[8333,6728],[8379,6751],[8430,6641],[8481,6600]]]}},{type:"Feature",id:"AT.KA",properties:{"hc-group":"admin1","hc-middle-x":.57,"hc-middle-y":.51,"hc-key":"at-ka","hc-a2":"KA",labelrank:"6",hasc:"AT.KA","alt-name":"Carinthia|Caríntia|Carintia","woe-id":"2344709",subregion:null,fips:"AU02","postal-code":"KA",name:"Kärnten",country:"Austria","type-en":"State",region:null,longitude:"13.8695","woe-name":"Kärnten",latitude:"46.7201","woe-label":"Carinthia, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"Polygon",coordinates:[[[5109,5501],[5199,5435],[5250,5446],[5339,5516],[5392,5542],[5426,5605],[5460,5637],[5617,5714],[5710,5721],[5806,5665],[5990,5602],[6137,5656],[6270,5661],[6309,5646],[6486,5662],[6644,5703],[6703,5674],[6761,5605],[6878,5434],[6876,5371],[6850,5288],[6902,5117],[6907,5047],[6925,4997],[7031,4880],[6967,4885],[6885,4857],[6832,4778],[6783,4821],[6731,4788],[6663,4777],[6623,4705],[6577,4576],[6537,4554],[6463,4545],[6421,4473],[6291,4419],[6245,4313],[6220,4301],[6163,4384],[6113,4371],[6044,4395],[6024,4426],[5959,4418],[5650,4423],[5549,4498],[5504,4515],[5406,4509],[5272,4571],[5228,4578],[5114,4561],[5018,4584],[4952,4583],[4776,4640],[4714,4642],[4672,4677],[4584,4670],[4520,4681],[4372,4650],[4314,4653],[4191,4722],[4072,4750],[3733,4776],[3651,4830],[3602,4847],[3568,4837],[3503,4868],[3559,4978],[3581,5070],[3612,5085],[3741,5104],[3800,5129],[3832,5125],[3883,5086],[3901,5124],[3815,5245],[3734,5337],[3715,5427],[3642,5507],[3606,5568],[3601,5607],[3625,5682],[3615,5721],[3492,5763],[3461,5795],[3457,5836],[3503,5887],[3534,5877],[3656,5807],[3791,5779],[3860,5757],[3974,5682],[4068,5657],[4176,5662],[4233,5674],[4308,5711],[4378,5772],[4426,5779],[4615,5727],[4791,5694],[4855,5689],[4943,5651],[5067,5556],[5109,5501]]]}},{type:"Feature",id:"AT.OO",properties:{"hc-group":"admin1","hc-middle-x":.53,"hc-middle-y":.4,"hc-key":"at-oo","hc-a2":"OO",labelrank:"6",hasc:"AT.OO","alt-name":"Upper Austria|Alta-Áustria|Alta Austria|Österreich ober der Enns|Oberösterreich","woe-id":"2344711",subregion:null,fips:"AU04","postal-code":"OO",name:"Oberösterreich",country:"Austria","type-en":"State",region:null,longitude:"13.856","woe-name":"Oberösterreich",latitude:"48.2377","woe-label":"Upper Austria, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"Polygon",coordinates:[[[6401,7231],[6312,7156],[6108,7071],[6088,7035],[6004,6992],[5905,6921],[5829,6910],[5769,6931],[5688,6986],[5533,6939],[5496,6918],[5470,6994],[5405,7070],[5343,7060],[5158,7114],[5007,7037],[4966,6994],[4952,6896],[4958,6854],[5028,6746],[5036,6683],[5020,6645],[4949,6594],[4817,6619],[4735,6671],[4684,6723],[4670,6783],[4708,6864],[4684,6946],[4736,7106],[4718,7143],[4632,7175],[4633,7216],[4711,7223],[4729,7245],[4695,7275],[4439,7332],[4404,7365],[4375,7515],[4382,7600],[4409,7635],[4487,7627],[4502,7659],[4420,7721],[4323,7677],[4242,7667],[4188,7673],[4119,7701],[4043,7766],[3947,7768],[3904,7746],[3889,7705],[3777,7665],[3753,7735],[3654,7840],[3622,7914],[3633,7957],[3743,8041],[3787,8102],[3821,8127],[3899,8142],[4040,8256],[4186,8313],[4379,8346],[4427,8373],[4564,8493],[4583,8526],[4609,8628],[4607,8688],[4635,8767],[4636,8806],[4612,8881],[4632,8907],[4724,8931],[4869,8891],[4938,8828],[4998,8799],[5022,8880],[5067,8888],[5117,8990],[5114,9123],[5136,9166],[5093,9227],[5134,9315],[5190,9301],[5273,9242],[5367,9191],[5438,9083],[5401,9050],[5450,8970],[5498,8951],[5696,8930],[5835,8883],[5960,8945],[5982,8968],[6012,9051],[6032,9065],[6066,9026],[6122,8998],[6201,9020],[6234,8987],[6279,8983],[6315,8930],[6359,8951],[6388,8921],[6476,8903],[6568,8862],[6619,8856],[6662,8832],[6673,8775],[6636,8775],[6631,8714],[6671,8649],[6705,8637],[6715,8569],[6749,8531],[6767,8427],[6762,8198],[6707,8237],[6612,8220],[6552,8153],[6352,8100],[6298,8130],[6259,8185],[6194,8228],[6131,8228],[6082,8172],[6063,8040],[6079,7960],[6031,7855],[6006,7832],[6032,7802],[6263,7633],[6382,7585],[6443,7545],[6469,7512],[6469,7472],[6444,7435],[6426,7357],[6424,7283],[6401,7231]]]}},{type:"Feature",id:"AT.SZ",properties:{"hc-group":"admin1","hc-middle-x":.55,"hc-middle-y":.65,"hc-key":"at-sz","hc-a2":"SZ",labelrank:"7",hasc:"AT.SZ","alt-name":"Salzburgo","woe-id":"2344712",subregi
1on:null,fips:"AU05","postal-code":"SZ",name:"Salzburg",country:"Austria","type-en":"State",region:null,longitude:"13.0106","woe-name":"Salzburg",latitude:"47.2534","woe-label":"Salzburg, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"Polygon",coordinates:[[[4817,6619],[4794,6533],[4807,6458],[4850,6317],[4888,6239],[4979,6174],[5043,6207],[5126,6233],[5145,6221],[5200,6125],[5219,6065],[5278,5985],[5321,5955],[5329,5915],[5248,5820],[5249,5751],[5225,5687],[5164,5572],[5109,5501],[5067,5556],[4943,5651],[4855,5689],[4791,5694],[4615,5727],[4426,5779],[4378,5772],[4308,5711],[4233,5674],[4176,5662],[4068,5657],[3974,5682],[3860,5757],[3791,5779],[3656,5807],[3534,5877],[3503,5887],[3457,5836],[3377,5904],[3232,5930],[3118,5918],[3094,5907],[3007,5825],[2838,5748],[2805,5787],[2737,5774],[2736,5864],[2720,5914],[2670,5981],[2667,6042],[2693,6156],[2690,6198],[2730,6218],[2794,6220],[2955,6275],[3006,6305],[3044,6304],[3117,6278],[3209,6304],[3241,6344],[3274,6412],[3369,6428],[3435,6483],[3466,6549],[3529,6649],[3499,6733],[3500,6801],[3403,6887],[3367,6951],[3417,6995],[3495,7020],[3650,7002],[3635,6965],[3722,6885],[3683,6866],[3665,6818],[3673,6766],[3743,6728],[3820,6646],[3905,6587],[3944,6598],[3999,6586],[4040,6634],[4027,6736],[4045,6776],[4042,6825],[4091,6906],[4095,6957],[4080,7014],[4017,7097],[3938,7081],[3859,7096],[3836,7120],[3872,7176],[3886,7233],[3978,7379],[3941,7432],[3893,7543],[3796,7623],[3777,7665],[3889,7705],[3904,7746],[3947,7768],[4043,7766],[4119,7701],[4188,7673],[4242,7667],[4323,7677],[4420,7721],[4502,7659],[4487,7627],[4409,7635],[4382,7600],[4375,7515],[4404,7365],[4439,7332],[4695,7275],[4729,7245],[4711,7223],[4633,7216],[4632,7175],[4718,7143],[4736,7106],[4684,6946],[4708,6864],[4670,6783],[4684,6723],[4735,6671],[4817,6619]]]}},{type:"Feature",id:"AT.TR",properties:{"hc-group":"admin1","hc-middle-x":.39,"hc-middle-y":.47,"hc-key":"at-tr","hc-a2":"TR",labelrank:"6",hasc:"AT.TR","alt-name":"Tyrol","woe-id":"2344714",subregion:null,fips:"AU07","postal-code":"TR",name:"Tirol",country:"Austria","type-en":"State",region:null,longitude:"11.38","woe-name":"Tirol",latitude:"47.2082","woe-label":"Tyrol, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"MultiPolygon",coordinates:[[[[3457,5836],[3461,5795],[3492,5763],[3615,5721],[3625,5682],[3601,5607],[3606,5568],[3642,5507],[3715,5427],[3734,5337],[3815,5245],[3901,5124],[3883,5086],[3832,5125],[3800,5129],[3741,5104],[3612,5085],[3581,5070],[3559,4978],[3503,4868],[3429,4877],[3345,4867],[3255,4912],[3177,4926],[3118,4951],[3069,4996],[3030,5110],[2924,5161],[2936,5256],[2923,5328],[2900,5344],[2820,5355],[2787,5396],[2722,5417],[2744,5438],[2703,5594],[2718,5631],[2806,5678],[2838,5748],[3007,5825],[3094,5907],[3118,5918],[3232,5930],[3377,5904],[3457,5836]]],[[[2737,5774],[2713,5770],[2566,5696],[2463,5693],[2337,5641],[2287,5602],[2221,5593],[2176,5560],[2133,5568],[2087,5603],[1962,5624],[1844,5604],[1808,5635],[1755,5630],[1693,5567],[1649,5571],[1554,5606],[1453,5592],[1326,5547],[1230,5457],[1171,5264],[1084,5160],[989,5173],[915,5155],[835,5191],[793,5185],[735,5216],[681,5227],[729,5277],[715,5299],[607,5368],[559,5373],[411,5338],[352,5347],[306,5386],[304,5431],[325,5502],[318,5538],[259,5595],[230,5644],[193,5667],[150,5644],[85,5557],[83,5518],[-5,5522],[-58,5405],[-170,5368],[-194,5444],[-225,5499],[-222,5537],[-167,5596],[-152,5658],[-155,5736],[-131,5852],[-115,5891],[-56,5973],[-32,6024],[-27,6104],[-40,6199],[-62,6260],[31,6268],[128,6316],[184,6374],[219,6436],[286,6476],[333,6548],[348,6595],[338,6685],[306,6711],[326,6814],[305,6880],[362,6895],[359,6821],[399,6791],[459,6780],[495,6796],[545,6849],[580,6847],[766,6769],[782,6741],[837,6741],[935,6768],[982,6734],[922,6690],[1004,6636],[1073,6557],[1065,6509],[1098,6468],[1247,6462],[1275,6469],[1371,6531],[1437,6527],[1432,6470],[1498,6478],[1567,6549],[1679,6566],[1687,6603],[1654,6619],[1723,6694],[1756,6701],[1823,6685],[1921,6706],[1948,6734],[1978,6824],[2024,6863],[2112,6848],[2228,6845],[2308,6827],[2354,6876],[2474,6899],[2800,6879],[2853,6933],[2855,7034],[2819,7093],[2913,7147],[2885,7071],[2907,7035],[2985,7057],[3067,7039],[3147,7063],[3170,7058],[3210,6970],[3272,6925],[3331,6930],[3367,6951],[3403,6887],[3500,6801],[3499,6733],[3529,6649],[3466,6549],[3435,6483],[3369,6428],[3274,6412],[3241,6344],[3209,6304],[3117,6278],[3044,6304],[3006,6305],[2955,6275],[2794,6220],[2730,6218],[2690,6198],[2693,6156],[2667,6042],[2670,5981],[2720,5914],[2736,5864],[2737,5774]]]]}},{type:"Feature",id:"AT.NO",properties:{"hc-group":"admin1","hc-middle-x":.43,"hc-middle-y":.55,"hc-key":"at-no","hc-a2":"NO",labelrank:"6",hasc:"AT.NO","alt-name":"Lower Austria|Baixa-Áustria|Baja Austria|Niederdonau|Österreich unter der Enns","woe-id":"2344710",subregi
1on:null,fips:"AU03","postal-code":"NO",name:"Niederösterreich",country:"Austria","type-en":"State",region:null,longitude:"15.7448","woe-name":"Niederösterreich",latitude:"48.2477","woe-label":"Lower Austria, AT, Austria",type:"Bundesländ|Länd"},geometry:{type:"Polygon",coordinates:[[[8481,6600],[8430,6641],[8379,6751],[8333,6728],[8262,6763],[8145,6779],[8107,6859],[8069,6886],[8014,6892],[8013,6983],[7966,7009],[7920,6981],[7891,6988],[7863,7100],[7845,7124],[7785,7127],[7737,7154],[7689,7207],[7593,7213],[7537,7251],[7418,7305],[7357,7358],[7306,7369],[7219,7346],[7151,7352],[7092,7269],[6908,7203],[6849,7205],[6729,7148],[6664,7143],[6599,7196],[6451,7192],[6401,7231],[6424,7283],[6426,7357],[6444,7435],[6469,7472],[6469,7512],[6443,7545],[6382,7585],[6263,7633],[6032,7802],[6006,7832],[6031,7855],[6079,7960],[6063,8040],[6082,8172],[6131,8228],[6194,8228],[6259,8185],[6298,8130],[6352,8100],[6552,8153],[6612,8220],[6707,8237],[6762,8198],[6767,8427],[6749,8531],[6715,8569],[6705,8637],[6671,8649],[6631,8714],[6636,8775],[6673,8775],[6662,8832],[6619,8856],[6568,8862],[6476,8903],[6388,8921],[6359,8951],[6371,9013],[6373,9134],[6399,9177],[6471,9243],[6504,9354],[6597,9354],[6670,9326],[6698,9329],[6713,9366],[6694,9413],[6732,9587],[6723,9770],[6746,9846],[6776,9851],[6854,9826],[6962,9820],[6979,9762],[6971,9703],[7104,9734],[7136,9802],[7237,9789],[7428,9713],[7499,9656],[7614,9615],[7724,9557],[7787,9552],[7859,9588],[7914,9593],[7945,9547],[8009,9532],[8042,9486],[8219,9362],[8294,9333],[8422,9345],[8675,9314],[8712,9336],[8777,9460],[8801,9477],[8880,9486],[9067,9438],[9097,9359],[9191,9348],[9291,9302],[9393,9328],[9428,9283],[9454,9145],[9505,9091],[9522,8993],[9514,8955],[9470,8910],[9420,8807],[9403,8748],[9387,8582],[9470,8531],[9468,8482],[9496,8429],[9545,8402],[9578,8277],[9600,8161],[9638,8124],[9696,8102],[9719,8064],[9681,8036],[9636,8053],[9608,8028],[9611,7965],[9584,7917],[9494,7968],[9433,7946],[9378,7902],[9320,7871],[9287,7869],[9224,7823],[9193,7743],[9100,7658],[9046,7627],[8946,7656],[8856,7637],[8790,7581],[8749,7514],[8749,7432],[8737,7388],[8704,7353],[8655,7346],[8660,7217],[8695,7155],[8790,7037],[8718,6880],[8728,6732],[8657,6650],[8599,6610],[8481,6600]],[[8882,8404],[8832,8479],[8789,8482],[8773,8455],[8701,8421],[8609,8356],[8575,8320],[8538,8312],[8503,8327],[8478,8259],[8512,8203],[8502,8142],[8546,8091],[8633,8087],[8707,8097],[8766,8071],[8798,8071],[8838,8119],[8925,8132],[9023,8118],[8979,8210],[8993,8319],[8964,8384],[8926,8430],[8882,8404]]]}}]};var r=n(3323),s=n(3011),o={};n.r(o),n.d(o,{afterMain:function(){return s.afterMain},afterRead:function(){return s.afterRead},afterWrite:function(){return s.afterWrite},applyStyles:function(){return s.applyStyles},arrow:function(){return s.arrow},auto:function(){return s.auto},basePlacements:function(){return s.basePlacements},beforeMain:function(){return s.beforeMain},beforeRead:function(){return s.beforeRead},beforeWrite:function(){return s.beforeWrite},bottom:function(){return s.bottom},clippingParents:function(){return s.clippingParents},computeStyles:function(){return s.computeStyles},createPopper:function(){return s.createPopper},createPopperBase:function(){return s.createPopperBase},createPopperLite:function(){return s.createPopperLite},detectOverflow:function(){return s.detectOverflow},end:function(){return s.end},eventListeners:function(){return s.eventListeners},flip:function(){return s.flip},hide:function(){return s.hide},left:function(){return s.left},main:function(){return s.main},modifierPhases:function(){return s.modifierPhases},offset:function(){return s.offset},placements:function(){return s.placements},popper:function(){return s.popper},popperGenerator:function(){return s.popperGenerator},popperOffsets:function(){return s.popperOffsets},preventOverflow:function(){return s.preventOverflow},read:function(){return s.read},reference:function(){return s.reference},right:function(){return s.right},start:function(){return s.start},top:function(){return s.top},variationPlacements:function(){return s.variationPlacements},viewport:function(){return s.viewport},write:function(){return s.write}});var a=n(1576),l=n(4692);const c=new Map,u={set(e,t,n){c.has(e)||c.set(e,new Map);const i=c.get(e);i.has(t)||0===i.size?i.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get(e,t){return c.has(e)&&c.get(e).get(t)||null},remove(e,t){if(!c.has(e))return;const n=c.get(e);n.delete(t),0===n.size&&c.delete(e)}},d="transitionend",h=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),p=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),f=e=>{e.dispatchEvent(new Event(d))},m=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),g=e=>m(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(h(e)):null,v=e=>{if(!m(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},y=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),b=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?b(e.parentNode):null},w=()=>{},_=e=>{e.offsetHeight},x=()=>l&&!document.body.hasAttribute("data-bs-no-jquery")?l:null,k=[],C=()=>"rtl"===document.documentElement.dir,S=e=>{var t;t=()=>{const t=x();if(t){const n=e.NAME,i=t.fn[n];
vendor: 10,609 bytes, line 1
1t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(k.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of k)e()}),k.push(t)):t()},T=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,E=(e,t,n=!0)=>{if(!n)return void T(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let r=!1;const s=({target:n})=>{n===t&&(r=!0,t.removeEventListener(d,s),T(e))};t.addEventListener(d,s),setTimeout(()=>{r||f(t)},i)},I=(e,t,n,i)=>{const r=e.length;let s=e.indexOf(t);return-1===s?!n&&i?e[r-1]:e[0]:(s+=n?1:-1,i&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},A=/[^.]*(?=\..*)\.|.*/,D=/\..*/,M=/::\d+$/,O={};let P=1;const L={mouseenter:"mouseover",mouseleave:"mouseout"},N=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function R(e,t){return t&&`${t}::${P++}`||e.uidEvent||P++}function B(e){const t=R(e);return e.uidEvent=t,O[t]=O[t]||{},O[t]}function F(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function V(e,t,n){const i="string"==typeof t,r=i?n:t||n;let s=z(e);return N.has(s)||(s=e),[i,r,s]}function $(e,t,n,i,r){if("string"!=typeof t||!e)return;let[s,o,a]=V(t,n,i);if(t in L){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=B(e),c=l[a]||(l[a]={}),u=F(c,o,s?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const d=R(o,t.replace(A,"")),h=s?function(e,t,n){return function i(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return q(r,{delegateTarget:o}),i.oneOff&&U.off(e,r.type,t,n),n.apply(o,[r])}}(e,n,o):function(e,t){return function n(i){return q(i,{delegateTarget:e}),n.oneOff&&U.off(e,i.type,t),t.apply(e,[i])}}(e,o);h.delegationSelector=s?n:null,h.callable=o,h.oneOff=r,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,s)}function j(e,t,n,i,r){const s=F(t[n],i,r);s&&(e.removeEventListener(n,s,Boolean(r)),delete t[n][s.uidEvent])}function H(e,t,n,i){const r=t[n]||{};for(const[s,o]of Object.entries(r))s.includes(i)&&j(e,t,n,o.callable,o.delegationSelector)}function z(e){return e=e.replace(D,""),L[e]||e}const U={on(e,t,n,i){$(e,t,n,i,!1)},one(e,t,n,i){$(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[r,s,o]=V(t,n,i),a=o!==t,l=B(e),c=l[o]||{},u=t.startsWith(".");if(void 0===s){if(u)for(const n of Object.keys(l))H(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const r=n.replace(M,"");a&&!t.includes(r)||j(e,l,o,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;j(e,l,o,s,r?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=x();let r=null,s=!0,o=!0,a=!1;t!==z(t)&&i&&(r=i.Event(t,n),i(e).trigger(r),s=!r.isPropagationStopped(),o=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());const l=q(new Event(t,{bubbles:s,cancelable:!0}),n);return a&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function q(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get(){return i}})}return e}function W(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function G(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Z={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${G(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${G(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=W(e.dataset[i])}return t},getDataAttribute(e,t){return W(e.getAttribute(`data-bs-${G(t)}`))}};class Y{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=m(t)?Z.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...m(t)?Z.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,i]of Object.entries(t)){const t=e[n],r=m(t)?"element":p(t);if(!new RegExp(i).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${i}".`)}}}class K extends Y{constructor(e,t){super(),(e=g(e))&&(this._element=e,this._config=this._getConfig(t),u.set(this._element,this.constructor.DATA_KEY,this))}dispose(){u.remove(this._element,this.constructor.DATA_KEY),U.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){E(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return u.get(g(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const J=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map(e=>h(e)).join(","):null},X={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!y(e)&&v(e))},getSelectorFromElement(e){const t=J(e);return t&&X.findOne(t)?t:null},getElementFromSelector(e){const t=J(e);return t?X.findOne(t):null},getMultipleElementsFromSelector(e){const t=J(e);return t?X.find(t):[]}},Q=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;U.on(document,n,`[data-bs-dismiss="${i}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),y(this))return;const r=X.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(r)[t]()})},ee=".bs.alert",te=`close${ee}`,ne=`closed${ee}`;class ie extends K{static get NAME(){return"alert"}close(){if(U.trigger(this._element,te).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),U.trigger(this._element,ne),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=ie.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Q(ie,"close"),S(ie);const re='[data-bs-toggle="button"]';class se extends K{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=se.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}U.on(document,"click.bs.button.data-api",re,e=>{e.preventDefault();const t=e.target.closest(re);se.getOrCreateInstance(t).toggle()}),S(se);const oe=".bs.swipe",ae=`touchstart${oe}`,le=`touchmove${oe}`,ce=`touchend${oe}`,ue=`pointerdown${oe}`,de=`pointerup${oe}`,he={endCallback:null,leftCallback:null,rightCallback:null},pe={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fe extends Y{constructor(e,t){super(),this._element=e,e&&fe.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return he}static get DefaultType(){return pe}static get NAME(){return"swipe"}dispose(){U.off(this._element,oe)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),T(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&T(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(U.on(this._element,ue,e=>this._start(e)),U.on(this._element,de,e=>this._end(e)),this._element.classList.add("pointer-event")):(U.on(this._element,ae,e=>this._start(e)),U.on(this._element,le,e=>this._move(e)),U.on(this._element,ce,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const me=".bs.carousel",ge=".data-api",ve="ArrowLeft",ye="ArrowRight",be="next",we="prev",_e="left",xe="r
1ight",ke=`slide${me}`,Ce=`slid${me}`,Se=`keydown${me}`,Te=`mouseenter${me}`,Ee=`mouseleave${me}`,Ie=`dragstart${me}`,Ae=`load${me}${ge}`,De=`click${me}${ge}`,Me="carousel",Oe="active",Pe=".active",Le=".carousel-item",Ne=Pe+Le,Re={[ve]:xe,[ye]:_e},Be={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Fe={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ve extends K{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=X.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Me&&this.cycle()}static get Default(){return Be}static get DefaultType(){return Fe}static get NAME(){return"carousel"}next(){this._slide(be)}nextWhenVisible(){!document.hidden&&v(this._element)&&this.next()}prev(){this._slide(we)}pause(){this._isSliding&&f(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?U.one(this._element,Ce,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void U.one(this._element,Ce,()=>this.to(e));const n=this._getItemIndex(this._getActive());if(n===e)return;const i=e>n?be:we;this._slide(i,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&U.on(this._element,Se,e=>this._keydown(e)),"hover"===this._config.pause&&(U.on(this._element,Te,()=>this.pause()),U.on(this._element,Ee,()=>this._maybeEnableCycle())),this._config.touch&&fe.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of X.find(".carousel-item img",this._element))U.on(e,Ie,e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(_e)),rightCallback:()=>this._slide(this._directionToOrder(xe)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new fe(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Re[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=X.findOne(Pe,this._indicatorsElement);t.classList.remove(Oe),t.removeAttribute("aria-current");const n=X.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Oe),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),i=e===be,r=t||I(this._getItems(),n,i,this._config.wrap);if(r===n)return;const s=this._getItemIndex(r),o=t=>U.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:s});if(o(ke).defaultPrevented)return;if(!n||!r)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";r.classList.add(c),_(r),n.classList.add(l),r.classList.add(l),this._queueCallback(()=>{r.classList.remove(l,c),r.classList.add(Oe),n.classList.remove(Oe,c,l),this._isSliding=!1,o(Ce)},n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return X.findOne(Ne,this._element)}_getItems(){return X.find(Le,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return C()?e===_e?we:be:e===_e?be:we}_orderToDirection(e){return C()?e===we?_e:xe:e===we?xe:_e}static jQueryInterface(e){return this.each(function(){const t=Ve.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method n
1amed "${e}"`);t[e]()}}else t.to(e)})}}U.on(document,De,"[data-bs-slide], [data-bs-slide-to]",function(e){const t=X.getElementFromSelector(this);if(!t||!t.classList.contains(Me))return;e.preventDefault();const n=Ve.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===Z.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())}),U.on(window,Ae,()=>{const e=X.find('[data-bs-ride="carousel"]');for(const t of e)Ve.getOrCreateInstance(t)}),S(Ve);const $e=".bs.collapse",je=`show${$e}`,He=`shown${$e}`,ze=`hide${$e}`,Ue=`hidden${$e}`,qe=`click${$e}.data-api`,We="show",Ge="collapse",Ze="collapsing",Ye=`:scope .${Ge} .${Ge}`,Ke='[data-bs-toggle="collapse"]',Je={parent:null,toggle:!0},Xe={parent:"(null|element)",toggle:"boolean"};class Qe extends K{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=X.find(Ke);for(const e of n){const t=X.getSelectorFromElement(e),n=X.find(t).filter(e=>e===this._element);null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Je}static get DefaultType(){return Xe}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];
vendor: 4,042 bytes, line 1
1if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>Qe.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(U.trigger(this._element,je).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(Ge),this._element.classList.add(Ze),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ze),this._element.classList.add(Ge,We),this._element.style[t]="",U.trigger(this._element,He)},this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(U.trigger(this._element,ze).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,_(this._element),this._element.classList.add(Ze),this._element.classList.remove(Ge,We);for(const e of this._triggerArray){const t=X.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ze),this._element.classList.add(Ge),U.trigger(this._element,Ue)},this._element,!0)}_isShown(e=this._element){return e.classList.contains(We)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=g(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ke);for(const t of e){const e=X.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=X.find(Ye,this._config.parent);return X.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=Qe.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}U.on(document,qe,Ke,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of X.getMultipleElementsFromSelector(this))Qe.getOrCreateInstance(e,{toggle:!1}).toggle()}),S(Qe);const et="dropdown",tt=".bs.dropdown",nt=".data-api",it="ArrowUp",rt="ArrowDown",st=`hide${tt}`,ot=`hidden${tt}`,at=`show${tt}`,lt=`shown${tt}`,ct=`click${tt}${nt}`,ut=`keydown${tt}${nt}`,dt=`keyup${tt}${nt}`,ht="show",pt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ft=`${pt}.${ht}`,mt=".dropdown-menu",gt=C()?"top-end":"top-start",vt=C()?"top-start":"top-end",yt=C()?"bottom-end":"bottom-start",bt=C()?"bottom-start":"bottom-end",wt=C()?"left-start":"right-start",_t=C()?"right-start":"left-start",xt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},kt={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ct extends K{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=X.next(this._element,mt)[0]||X.prev(this._element,mt)[0]||X.findOne(mt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return xt}static get DefaultType(){return kt}static get NAME(){return et}toggle(){return this._isShown()?this.hide():this.show()}show(){if(y(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!U.trigger(this._element,at,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
1navbar-nav"))for(const e of[].concat(...document.body.children))U.on(e,"mouseover",w);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ht),this._element.classList.add(ht),U.trigger(this._element,lt,e)}}hide(){if(y(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!U.trigger(this._element,st,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))U.off(e,"mouseover",w);this._popper&&this._popper.destroy(),this._menu.classList.remove(ht),this._element.classList.remove(ht),this._element.setAttribute("aria-expanded","false"),Z.removeDataAttribute(this._menu,"popper"),U.trigger(this._element,ot,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!m(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${et.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){let e=this._element;"parent"===this._config.reference?e=this._parent:m(this._config.reference)?e=g(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=a.n(e,this._menu,t)}_isShown(){return this._menu.classList.contains(ht)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return wt;if(e.classList.contains("dropstart"))return _t;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?vt:gt:t?bt:yt}
vendor: 19,291 bytes, line 1
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(Z.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...T(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){const n=X.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>v(e));n.length&&I(n,t,e===rt,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Ct.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=X.find(ft);for(const n of t){const t=Ct.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),r=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!r||"outside"===t._config.autoClose&&r)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:t._element};"click"===e.type&&(s.clickEvent=e),t._completeHide(s)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=[it,rt].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const r=this.matches(pt)?this:X.prev(this,pt)[0]||X.next(this,pt)[0]||X.findOne(pt,e.delegateTarget.parentNode),s=Ct.getOrCreateInstance(r);if(i)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),r.focus())}}U.on(document,ut,pt,Ct.dataApiKeydownHandler),U.on(document,ut,mt,Ct.dataApiKeydownHandler),U.on(document,ct,Ct.clearMenus),U.on(document,dt,Ct.clearMenus),U.on(document,ct,pt,function(e){e.preventDefault(),Ct.getOrCreateInstance(this).toggle()}),S(Ct);const St="backdrop",Tt="show",Et=`mousedown.bs.${St}`,It={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},At={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Dt extends Y{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return It}static get DefaultType(){return At}static get NAME(){return St}show(e){if(!this._config.isVisible)return void T(e);this._append();const t=this._getElement();this._config.isAnimated&&_(t),t.classList.add(Tt),this._emulateAnimation(()=>{T(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(Tt),this._emulateAnimation(()=>{this.dispose(),T(e)})):T(e)}dispose(){this._isAppended&&(U.off(this._element,Et),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=g(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),U.on(e,Et,()=>{T(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){E(e,this._getElement(),this._config.isAnimated)}}const Mt=".bs.focustrap",Ot=`focusin${Mt}`,Pt=`keydown.tab${Mt}`,Lt="backward",Nt={autofocus:!0,trapElement:null},Rt={autofocus:"boolean",trapElement:"element"};class Bt extends Y{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Nt}static get DefaultType(){return Rt}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),U.off(document,Mt),U.on(document,Ot,e=>this._handleFocusin(e)),U.on(document,Pt,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,U.off(document,Mt))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=X.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===Lt?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Lt:"forward")}}const Ft=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Vt=".sticky-top",$t="padding-right",jt="margin-right";class Ht{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,$t,t=>t+e),this._setElementAttributes(Ft,$t,t=>t+e),this._setElementAttributes(Vt,jt,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,$t),this._resetElementAttributes(Ft,$t),this._resetElementAttributes(Vt,jt)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(r))}px`)})}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&Z.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{const n=Z.getDataAttribute(e,t);null!==n?(Z.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)})}_applyManipulationCallback(e,t){if(m(e))t(e);else for(const n of X.find(e,this._element))t(n)}}const zt=".bs.modal",Ut=`hide${zt}`,qt=`hidePrevented${zt}`,Wt=`hidden${zt}`,Gt=`show${zt}`,Zt=`shown${zt}`,Yt=`resize${zt}`,Kt=`click.dismiss${zt}`,Jt=`mousedown.dismiss${zt}`,Xt=`keydown.dismiss${zt}`,Qt=`click${zt}.data-api`,en="modal-open",tn="show",nn="modal-static",rn={backdrop:!0,focus:!0,keyboard:!0},sn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class on extends K{constructor(e,t){super(e,t),this._dialog=X.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ht,this._addEventListeners()}static get Default(){return rn}static get DefaultType(){return sn}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||U.trigger(this._element,Gt,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(en),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(U.trigger(this._element,Ut).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(tn),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){U.off(window,zt),U.off(this._dialog,zt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Dt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Bt({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=X.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),_(this._element),this._element.classList.add(tn),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,U.trigger(this._element,Zt,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){U.on(this._element,Xt,e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),U.on(window,Yt,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),U.on(this._element,Jt,e=>{U.one(this._element,Kt,t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(en),this._resetAdjustments(),this._scrollBar.reset(),U.trigger(this._element,Wt)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(U.trigger(this._element,qt).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(nn)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(nn),this._queueCallback(()=>{this._element.classList.remove(nn),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=C()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=C()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=on.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}U.on(document,Qt,'[data-bs-toggle="modal"]',function(e){const t=X.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),U.one(t,Gt,e=>{e.defaultPrevented||U.one(t,Wt,()=>{v(this)&&this.focus()})});const n=X.findOne(".modal.show");n&&on.getInstance(n).hide(),on.getOrCreateInstance(t).toggle(this)}),Q(on),S(on);const an=".bs.offcanvas",ln=".data-api",cn=`load${an}${ln}`,un="show",dn="showing",hn="hiding",pn=".offcanvas.show",fn=`show${an}`,mn=`shown${an}`,gn=`hide${an}`,vn=`hidePrevented${an}`,yn=`hidden${an}`,bn=`resize${an}`,wn=`click${an}${ln}`,_n=`keydown.dismiss${an}`,xn={backdrop:!0,keyboard:!0,scroll:!1},kn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Cn extends K{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return xn}static get DefaultType(){return kn}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||U.trigger(this._element,fn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ht).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(dn),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(un),this._element.classList.remove(dn),U.trigger(this._element,mn,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(U.trigger(this._element,gn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(hn),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(un,hn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ht).reset(),U.trigger(this._element,yn)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Dt({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():U.trigger(this._element,vn)}:null})}_initializeFocusTrap(){return new Bt({trapElement:this._element})}_addEventListeners(){U.on(this._element,_n,e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():U.trigger(this._element,vn))})}static jQueryInterface(e){return this.each(function(){const t=Cn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}U.on(document,wn,'[data-bs-toggle="offcanvas"]',function(e){const t=X.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),y(this))return;U.one(t,yn,()=>{v(this)&&this.focus()});const n=X.findOne(pn);n&&n!==t&&Cn.getInstance(n).hide(),Cn.getOrCreateInstance(t).toggle(this)}),U.on(window,cn,()=>{for(const e of X.find(pn))Cn.getOrCreateInstance(e).show()}),U.on(window,bn,()=>{for(const e of X.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Cn.getOrCreateInstance(e).hide()}),Q(Cn),S(Cn);const Sn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Tn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),En=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,In=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Tn.has(n)||Boolean(En.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))},An={allowList:Sn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Dn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Mn={entry:"(string|element|function|null)",selector:"(string|element)"};class On extends Y{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return An}static get DefaultType(){return Dn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Mn)}_setContent(e,t,n){const i=X.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?m(t)?this._putElementInTemplate(g(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const e of r){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[n]||[]);for(const t of i)In(t,r)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return T(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Pn=new Set(["sanitize","allowList","sanitizeFn"]),Ln="fade",Nn="show",Rn=".tooltip-inner",Bn=".modal",Fn="hide.bs.modal",Vn="hover",$n="focus",jn="click",Hn={AUTO:"auto",TOP:"top",RIGHT:C()?"left":"right",BOTTOM:"bottom",LEFT:C()?"right":"left"},zn={allowList:Sn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Un={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class qn extends K{constructor(e,t){super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return zn}static get DefaultType(){return Un}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),U.off(this._element.closest(Bn),Fn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=U.trigger(this._element,this.constructor.eventName("show")),t=(b(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),U.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(Nn),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))U.on(e,"mouseover",w);this._queueCallback(()=>{U.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}
vendor: 5,458 bytes, line 1
1hide(){if(this._isShown()&&!U.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Nn),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))U.off(e,"mouseover",w);this._activeTrigger[jn]=!1,this._activeTrigger[$n]=!1,this._activeTrigger[Vn]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),U.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Ln,Nn),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Ln),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new On({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Rn]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ln)}_isShown(){return this.tip&&this.tip.classList.contains(Nn)}_createPopper(e){const t=T(this._config.placement,[this,e,this._element]),n=Hn[t.toUpperCase()];return a.n(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return T(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...T(this._config.popperConfig,[void 0,t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)U.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[jn]=!(t._isShown()&&t._activeTrigger[jn]),t.toggle()});else if("manual"!==t){const e=t===Vn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===Vn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");U.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?$n:Vn]=!0,t._enter()}),U.on(this._element,n,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?$n:Vn]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},U.on(this._element.closest(Bn),Fn,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=Z.getDataAttributes(this._element);for(const e of Object.keys(t))Pn.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:g(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=qn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e]()}})}}S(qn);const Wn=".popover-header",Gn=".popover-body",Zn={...qn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Yn={...qn.DefaultType,content:"(null|string|element|function)"};class Kn extends qn{static get Default(){return Zn}static get DefaultType(){return Yn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Wn]:this._getTitle(),[Gn]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Kn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}S(Kn);const Jn=".bs.scrollspy",Xn=`activate${Jn}`,Qn=`click${Jn}`,ei=`load${Jn}.data-api`,ti="active",ni="[href]",ii=".nav-link",ri=`${ii}, .nav-item > ${ii}, .list-group-item`,si={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},oi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ai extends K{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return si}static get DefaultType(){return oi}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=g(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(U.off(this._config.target,Qn),U.on(this._config.target,Qn,ni,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,i=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(n(s),!i)return}else r||e||n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=X.find(ni,this._config.target);for(const t of e){if(!t.hash||y(t))continue;const e=X.findOne(decodeURI(t.hash),this._element);v(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ti),this._activateParents(e),U.trigger(this._element,Xn,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))X.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(ti);else for(const t of X.parents(e,".nav, .list-group"))for(const e of X.prev(t,ri))e.classList.add(ti)}_clearActiveClass(e){e.classList.remove(ti);const t=X.find(`${ni}.${ti}`,e);for(const e of t)e.classList.remove(ti)}static jQueryInterface(e){return this.each(function(){const t=ai.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method n
1amed "${e}"`);t[e]()}})}}U.on(window,ei,()=>{for(const e of X.find('[data-bs-spy="scroll"]'))ai.getOrCreateInstance(e)}),S(ai);const li=".bs.tab",ci=`hide${li}`,ui=`hidden${li}`,di=`show${li}`,hi=`shown${li}`,pi=`click${li}`,fi=`keydown${li}`,mi=`load${li}`,gi="ArrowLeft",vi="ArrowRight",yi="ArrowUp",bi="ArrowDown",wi="Home",_i="End",xi="active",ki="fade",Ci="show",Si=".dropdown-toggle",Ti=`:not(${Si})`,Ei='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ii=`.nav-link${Ti}, .list-group-item${Ti}, [role="tab"]${Ti}, ${Ei}`,Ai=`.${xi}[data-bs-toggle="tab"], .${xi}[data-bs-toggle="pill"], .${xi}[data-bs-toggle="list"]`;class Di extends K{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),U.on(this._element,fi,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?U.trigger(t,ci,{relatedTarget:e}):null;U.trigger(e,di,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(xi),this._activate(X.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),U.trigger(e,hi,{relatedTarget:t})):e.classList.add(Ci)},e,e.classList.contains(ki)))}_deactivate(e,t){e&&(e.classList.remove(xi),e.blur(),this._deactivate(X.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),U.trigger(e,ui,{relatedTarget:t})):e.classList.remove(Ci)},e,e.classList.contains(ki)))}_keydown(e){if(![gi,vi,yi,bi,wi,_i].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!y(e));let n;if([wi,_i].includes(e.key))n=t[e.key===wi?0:t.length-1];else{const i=[vi,bi].includes(e.key);n=I(t,e.target,i,!0)}n&&(n.focus({preventScroll:!0}),Di.getOrCreateInstance(n).show())}_getChildren(){return X.find(Ii,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=X.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const i=(e,i)=>{const r=X.findOne(e,n);r&&r.classList.toggle(i,t)};i(Si,xi),i(".dropdown-menu",Ci),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(xi)}_getInnerElement(e){return e.matches(Ii)?e:X.findOne(Ii,e)}
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=Di.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}U.on(document,pi,Ei,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),y(this)||Di.getOrCreateInstance(this).show()}),U.on(window,mi,()=>{for(const e of X.find(Ai))Di.getOrCreateInstance(e)}),S(Di);const Mi=".bs.toast",Oi=`mouseover${Mi}`,Pi=`mouseout${Mi}`,Li=`focusin${Mi}`,Ni=`focusout${Mi}`,Ri=`hide${Mi}`,Bi=`hidden${Mi}`,Fi=`show${Mi}`,Vi=`shown${Mi}`,$i="hide",ji="show",Hi="showing",zi={animation:"boolean",autohide:"boolean",delay:"number"},Ui={animation:!0,autohide:!0,delay:5e3};class qi extends K{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ui}static get DefaultType(){return zi}static get NAME(){return"toast"}show(){U.trigger(this._element,Fi).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove($i),_(this._element),this._element.classList.add(ji,Hi),this._queueCallback(()=>{this._element.classList.remove(Hi),U.trigger(this._element,Vi),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(U.trigger(this._element,Ri).defaultPrevented||(this._element.classList.add(Hi),this._queueCallback(()=>{this._element.classList.add($i),this._element.classList.remove(Hi,ji),U.trigger(this._element,Bi)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ji),super.dispose()}isShown(){return this._element.classList.contains(ji)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){U.on(this._element,Oi,e=>this._onInteraction(e,!0)),U.on(this._element,Pi,e=>this._onInteraction(e,!1)),U.on(this._element,Li,e=>this._onInteraction(e,!0)),U.on(this._element,Ni,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=qi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Q(qi),S(qi);var Wi=n(4500),Gi=n(4692);class Zi extends r.q.Component{constructor(e){super(e),this.data=[["at-wi",0],["at-vo",1],["at-bu",2],["at-st",3],["at-ka",4],["at-oo",5],["at-sz",6],["at-tr",7],["at-no",8]],this.countries=this.props.interactiveMapData.countries,this.highchartsPointSelector=".highcharts-point",this.init()}init(){(0,Wi.E)("highcharts",()=>Promise.all([n.e(16),n.e(30)]).then(n.bind(n,4030))).then(({default:e})=>{e.maps.mapChart({chart:{renderTo:this.element.find(".job-map")[0],map:i},xAxis:{events:{setExtremes:()=>{this.onMapZoom()}}},title:{style:{display:"none"}},legend:{enabled:!1},mapNavigation:{enabled:!0,buttonOptions:{verticalAlign:"bottom",align:"right"}},tooltip:{enabled:!1,followPointer:!1},series:[{data:this.data,name:"Austria",dataLabels:{enabled:!1}}],plotOptions:{series:{stickyTracking:!0,events:{click:e=>{this.onMapClick(e)}}}},credits:{enabled:!1}})})}onMapZoom(){this.disposePopover(),Gi(this.highchartsPointSelector).removeClass("active")}onMapClick(e){this.chart=Gi(e.target);const t=Gi(this.highchartsPointSelector);this.clearPopovers(t),this.openPopover(this.getChartDetails(e)),this.bindClose()}clearPopovers(e){this.disposePopover(),e.removeClass("active"),this.chart.addClass("active")}getChartDetails(e){const t=e.point["hc-key"];let n={};
1return this.countries[0].states.forEach(e=>{e.id===t&&(n={title:e.label,link:e.link,layer:e.layer})}),n}openPopover(e){const t=Gi('<div class="popover-link"><a href="'+e.link+'" class="underline-clickable icon-anchor">'+e.layer+"</a></div>");this.currentPopover=new Kn(this.chart[0],{html:!0,title:e.title,template:'<div class="popover popover-interactive-map" role="tooltip">\n  <span class="icon-close"></span>\n  <div class="popover-arrow"><div class="arrow-inner"></div></div>\n  <button class="close"><span class="icon-close-small" aria-hidden="true"></span></button>\n  <h3 class="popover-header"></h3>\n  <div class="popover-body"></div>\n</div>\n',content:t[0],placement:"top",container:Gi(this.chart).closest(".job-map")[0],popperConfig:e=>({...e,modifiers:[...e.modifiers,{name:"flip",options:{fallbackPlacements:["bottom"]}}]})}),this.currentPopover.show()}bindClose(){Gi(this.currentPopover.tip).find(".icon-close").on("click",()=>{this.disposePopover(),Gi(this.highchartsPointSelector).removeClass("active")})}disposePopover(){this.currentPopover&&(this.currentPopover.dispose(),this.currentPopover=null)}}r.q.registerComponent(".component-interactive-map",Zi)},4071:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=(n(3029),n(2091),n(6409),n(4692));class s extends i.q.Component{constructor(e){super(e),this.form=e.find("form"),this.error=e.find(".subscription-error"),this.cta=e.find(".btn.btn-primary"),this.url=e.find(".subscription-request")[0].action,this.popover=e.find('[data-bs-toggle="popover"]'),this.parsleySettings={excluded:".action-hide *, .action-hide"},this.init()}init(){this.form.parsley(this.parsleySettings),this.sendData(),this.popover.popover()}sendData(){r(".subscription-request").on("submit",e=>{e.preventDefault(),r.ajax({type:"POST",url:this.url,data:{charset:"utf-8",j_username:r('.subscription-request [name="j_username"]').val(),j_password:r('.subscription-request [name="j_password"]').val(),j_validate:!0}}).then(()=>this.redirectUrl()).fail(()=>this.showError())})}redirectUrl(){window.location.href=window.location.origin+r('.subscription-request [name="resource"]').val()}showError(){this.error.addClass("visible")}}i.q.registerComponent(".component-subscription",s)},6444:function(e,t,n){"use strict";var i=n(3323),r=n(7782),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.cta=e.find(".btn.btn-primary"),this.form=e.find(".newsletter-subscription-request"),this.honeypot=e.find(".form-group--sticky input"),this.url=this.form[0].action,this.checkboxes=e.find(".form-check-input"),this.CookieHelper=new r.X,this.component=e,this.xsrfCookie=null,this.init()}init(){s.ajax({type:"GET",url:"/services/csrf"}).done(()=>{this.xsrfCookie=this.CookieHelper.get("XSRF-TOKEN")}),this.postData()}postData(){s(this.cta).on("click",e=>{e.preventDefault(),this.cta.css({pointerEvents:"none"}),0===this.honeypot.val().length?(this.form.parsley().validate(),s.ajaxSetup({beforeSend:e=>{e.setRequestHeader("X-XSRF-TOKEN",this.xsrfCookie)}}),this.form.parsley().isValid()?s.ajax({type:"POST",url:this.url,data:this.assembleData(),cache:!0}).done(()=>{this.showSuccess()}).fail(()=>{this.showError()}):this.cta.css({pointerEvents:"auto"})):this.showError()})}assembleData(){const e=`"emailAddress":"${this.component.find("input[type=email]")[0].value}"`;let t="";return this.checkboxes.each(function(){t+=`,"${this.name}":true`}),JSON.parse("{"+e+t+"}")}showSuccess(){this.form.hide(),this.component.find(".newsletter-subscription-success").show()}showError(){this.form.hide(),this.component.find(".newsletter-subscription-error").show()}}i.q.registerComponent(".component-newsletter-subscription",o)},4076:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-primary-bank-teaser",r)},553:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(2242),s=n(6295),o=n(4692);class a extends i.q.Component{constructor(e){super(e),this.link=this.element.find(".download-link"),this.topic=this.link.data("topic"),this.filename=this.link.data("filename"),this.downloadState=this.element.find(".download-state"),this.init()}init(){this.link.click(()=>{this.setState("update","icon-loading",this.filename+" wird geladen."),o.ajax({url:r.KT+r.vZ.products.productDescription,type:"GET",contentType:"application/json",data:{blz:r.Zr,bankstelle:r.Wt,dokumentArt:this.topic},xhrFields:{responseType:"blob"}}).done(e=>{this.downloadFile(e,e.type,this.filename.replace(/ /g,"-")),this.setState("remove","","")}).fail(()=>{this.setState("update","icon-attention_alert","Das Dokument kann nicht geladen werden.")})})}setState(e,t,n){if(this.downloadState.children().remove(),"update"==e){const e=o("<sp
1an/>",{class:t,"aria-hidden":!0,title:n}),i=o("<span/>",{class:"visually-hidden",text:n});this.downloadState.prepend(e).prepend(i)}}downloadFile(e,t,n){n=n.replace(/-/g,"").replace(/ /g,"-").toLowerCase()+".pdf";const i=new Blob([e],{type:t}),r=window.URL.createObjectURL(i);this.openFancybox(r,n)}openFancybox(e,t){const n="Schließen",i={openEffect:"elastic",closeEffect:"elastic",autoSize:!0,type:"html",src:'\n         <div>\n           <div class="manual-download">\n            <a href="'+e+'" download="'+t+'" aria-label="Klicken Sie hier zum Herunterladen." class="text-link">\n              Klicken Sie hier zum Herunterladen.\n            </a>\n          </div>\n\t\t\t\t\t<object data="'+e+'"  type="application/pdf" class="pdf-viewer">\n\t\t\t\t\t<iframe\n            src="'+e+'"\n            width="100%"\n            height="100%"\n            class="pdf-viewer"\n            style="border: none"\n            title="Fallback PDF Viewer">\n            <p>Datei kann nicht dargestellt werden.</p>\n          </iframe>\n\t\t\t\t</object>\n        </div>',btnTpl:{smallBtn:'<div class="fancybox-pension-calculator-info">\n                        <button data-fancybox-close class="fancybox-button fancybox-button--close btn btn-primary" title="'+n+'">'+n+"</button>\n                       </div>"}};s.A.openFancybox("body",i,"pdf")}}i.q.registerComponent(".component-product-description",a)},8464:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(8027),s=n(6295),o=n(4692);class a extends i.q.Component{constructor(e){super(e),this.mobileOpenerBtn=this.element.find(".mobile-quickbar-opener"),this.background=this.element.find(".quickbar-holder"),this.mobileOpenClass="mobile-opened",this.init()}init(){this.mode=r.sM.getMode(),this.initialized&&this.destroy(),(this.mode===r.db.MOBILE||"theme-hypo-ooe"===o("body").data("theme"))&&this.mobileOpenerBtnClick(),this.initialized=!0,this.onResize()}onResize(){o("html").on("cms.resize",()=>{this.mode!==r.sM.getMode()&&(this.element.removeClass(this.mobileOpenClass),this.init())})}mobileOpenerBtnClick(){this.mobileOpenerBtn.on("click",()=>{const e=!this.element.hasClass(this.mobileOpenClass);this.element.toggleClass(this.mobileOpenClass,e),s.A.disableBodyScroll(e,this.background)})}destroy(){this.mobileOpenerBtn.off(),this.initialized=!1}}i.q.registerComponent(".component-quickbar",a)},5033:function(e,t,n){"use strict";n.r(t),n(9599);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.carousel=e.find(".carousel"),this.controlsWrapper=this.element.find(".carousel-controls"),this.dotsWrapper=this.controlsWrapper.find("> .controls-dots"),this.itemCount=this.carousel.children().length,i.q.isEditMode()||this.init()}init(){this.carousel.on("init",()=>{this.initCallback()}),this.initAPI(),this.carousel.slick(this.carouselSettings()),this.setAriaAttributes(),this.initListeners()}initListeners(){const e=this;this.carousel.on("afterChange",function(){setTimeout(function(){e.setActiveDot(!0)},100)}),this.dotsWrapper.on("keydown",e=>{"keydown"!=e.type||37!=e.keyCode&&39!=e.keyCode||this.setActiveDot(!1)})}setActiveDot(e){let t,n=this.carousel.slick("slickCurrentSlide");window.innerWidth>1024?(n/=window.innerWidth>1400?4:3,t=this.dotsWrapper.find("button")[n],"0"!==r(t).attr("tabindex")&&!0===e&&r(t).attr({"aria-selected":"true",tabindex:"0"})):t=this.dotsWrapper.find("button")[n],!1===e&&r(t).focus()}setAriaAttributes(){this.dotsWrapper.find("ul").attr("aria-label","Bedienungselemente");const e=this.carousel.find(".slick-slide:not(.slick-cloned)");e.each(function(t){r(this).attr({"aria-roledescription":"slide","aria-label":t+1+" von "+e.length})})}carouselSettings(){let e="unslick",t="unslick";return this.itemCount>4&&(t={arrows:!0,slidesToShow:4,slidesToScroll:4,infinite:!0,centerMode:!1,speed:500,variableWidth:!1}),this.itemCount>3&&(e={arrows:!0,slidesToShow:3,slidesToScroll:3,infinite:!0,centerMode:!1,speed:500,variableWidth:!1}),{mobileFirst:!0,arrows:!0,dots:!0,speed:300,infinite:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,variableWidth:!0,adaptiveHeight:!1,appendDots:this.dotsWra
1pper,prevArrow:'<button type="button" class="stage-arrow-prev" role="button"><span class="icon icon-paging_arrow_left" aria-hidden="true"></span><span class="visually-hidden">'+this.carousel.data("previous")+"</span></button>",nextArrow:'<button type="button" class="stage-arrow-next" role="button"><span class="icon icon-paging_arrow_right" aria-hidden="true"></span><span class="visually-hidden">'+this.carousel.data("next")+"</span></button>",responsive:[{breakpoint:1400,settings:t},{breakpoint:1024,settings:e}]}}reinitSlick(){if(!this.carousel.hasClass("slick-initialized")){const e=this.carousel.slick("slickCurrentSlide");this.carousel.slick(this.carouselSettings()),this.carousel.slick("slickGoTo",e)}this.setAriaAttributes()}initAPI(){r("html").on("cms.resize",()=>{this.reinitSlick()})}}i.q.registerComponent(".component-recommendation-carousel",s)},7071:function(e,t,n){"use strict";n.r(t),n.d(t,{RTIContainer:function(){return p}});var i=n(550),r=n.n(i),s=n(3323),o=n(282),a=n(2242),l=n(1376),c=n(4692);const u=new class{constructor(){}getSiteRootByBankId(e){return l.r.getToken().then(()=>this.getPath(e,a.yE))}getPath(e,t){return c.ajax({url:a.KT+a.vZ.rootPath,type:"GET",data:{instituteId:e,path:t}}).then(e=>e.path?e.path:(new c.Deferred).reject().promise())}};var d=n(4302),h=n(4692);class p extends s.q.Component{constructor(e){super(e),this.target=this.element.find(".rti-target"),this.init()}init(){const e=this.getStoredBank();e&&(s.q.isEditMode()||(this.loadRTI(e),this.initRTIInfotext(this.element),this.listenToBankChange()))}getStoredBank(){const e=new o.Fv;try{return e.get(o.YM.branch,o.YM.otGroupBranch)}catch{return null}}getSitePath(e){return e.path?Promise.resolve(e.path):u.getSiteRootByBankId(e.id).catch(()=>(console.info(`Omit loading of content from "${e.name}"`),this.hideRti(),Promise.reject()))}getContent(e,t){const n=this.getContentUrl(e,t);return h.ajax({url:n,type:"GET"}).then(e=>this.handleSuccessResponse(e)).fail(e=>this.handleErrorResponse(e))}getContentUrl(e,t){return!!(t=t||this.props.url)&&e+t}handleSuccessResponse(e){0!==e.lastIndexOf("<!DOCTYPE HTML>",0)&&h(e).length>0?(this.target.html(e),this.element.collapse("show"),r()(),s.q.init(this.target)):this.hideRti()}handleErrorResponse(e){this.hideRti(),console.info("Error occured loading RTI:",e.statusText)}initRTIInfotext(e){const t=e.hasClass("stage-slide-content")?{"append-to":"body"}:{};this.infoText=h("<rwm-rti-component></rwm-rti-component>",t),e.prepend(this.infoText)}loadRTI(e,t){return this.getSitePath(e).then(e=>this.getContent(e,t))}listenToBankChange(){d.Z.subscribe("userbranch.update",()=>{const e=this.getStoredBank();e?this.loadRTI(e):this.hideRti()})}hideRti(){this.element.find("[bs-popover]").popover("hide"),this.element.collapse("hide")}}s.q.registerComponent(".component-rti-container",p)},4689:function(e,t,n){"use strict";var i=n(6295),r=(n(9599),n(4500)),s=(n(3950),n(3285)),o=n(3323),a=n(2242),l=n(4692);class c{constructor(e){this.slide=e,this.video=this.slide.find("video"),this.cookieOverlay=e.find(".ot-cookie-overlay"),this.acceptedCookieBtn=this.cookieOverlay.find(".accept-cookies"),this.initSlide(),this.slide.data("is-initialized","true")}loadVideoJs(){return(0,r.E)("videojs",()=>Promise.all([n.e(225),n.e(173),n.e(510)]).then(n.bind(n,6457))).then(async({default:e})=>((0===this.video.length||"application/x-mpegURL"===this.video.data("type")||this.video.data("src").includes(".m3u8"))&&await Promise.all([n.e(57),n.e(225),n.e(173),n.e(542)]).then(n.t.bind(n,564,23)),this.videojs=e,e))}initSlide(){this.loadVideoJs().then(()=>{const e=this.videojs,t=this.slide.find("video");t.length&&(this.player=e(t[0],{techOrder:["html5"],fluid:!0,controls:!1,autoplay:!1,loop:!0,muted:!0,preload:!1,html5:{vhs:{withCredentials:!0}},sources:[{type:t.data("type"),src:t.data("src")}]}),this.player.on("error",()=>{this.showFallback(t.data("poster"))}),this.player.removeChild("BigPlayButton"),this.player.removeChild("loadingSpinner"),this.cookieOverlay.find("button").attr("tabindex","-1"),this.setupEvents()),this.slide.find(".video-play-button").on("click",e=>{const n=l(e.currentTarget).data("overlay-link"),i=l(e.currentTarget).data("overlay-type");this.openOverlay(n,i,t)})})}play(){this.player&&(this.player.on("loadeddata",function(){if(this.readyState()>1)return this.play(),!0}),this.player.play())}pause(){this.player&&this.player.pause()}openOverlay(e,t,n){if("video/mp4"!==t&&0!==this.cookieOverlay.length&&!s.e.activeGroup(a.kt)&&!o.q.isEditMode()&&!o.q.isPreviewMode())return this.cookieOverlay.css("height",this.cookieOverlay.height()),this.slide.trigger("cms.stage.pause"),this.cookieOverlay.addClass("open").removeAttr("aria-hidden"),this.cookieOverlay.find("button").attr("tabindex","0"),this.acceptedCookieBtn.on("click",()=>{this.acceptAllCookies(e,t)}),!1;this.cookieOverlay.remove();const i=l(":focus");this.slide.trigger("cms.stage.pause");const r="overlay-"+this.slide.find("video").attr("id");let c;const u=n.data("tracks");c=u?'<div><div class="component-video"><div class="video-wrapper"><video id="'+r+'" class="video-js vjs-player-skin vjs-fluid" autoplay="true" controls data-src="'+e+'" data-type="'+t+'" data-accessibility-description="'+n.data("accessibility-description")+'" data-tracks="'+encodeURIComponent(JSON.stringify(u))+'"></video></div></div></div>':'<div><div class="component-video"><div class="video-wrapper"><video id="'+r+'" class="video-js vjs-player-skin vjs-fluid" autoplay="true" controls data-src="'+e+'" data-type="'+t+'"  data-accessibility-description="'+n.data("accessibility-description")+'"></video></div></div></div>',l.fancybox.open(c,{baseClass:"video-fancybox",smallBtn:!1,beforeClose:()=>{this.slide.trigger("cms.stage.play"),this.play(),this.videojs(r).dispose()}}).$trigger=i,o.q.initComponents(c)}showFallback(e){const t=l(`<img src="${e}" alt="Video Fallback" class="stage-slide-video_fallback"/>`);this.slide.find("video").parent().append(t)}setupEvents(){this.slide.on("cms.stage-video.play",()=>this.play()),this.slide.on("cms.stage-video.pause",()=>this.pause())}acceptAllCookies(e,t){"object"==typeof Optanon&&(Optanon.AllowAll(),window.loadYoutubeScript&&(window.loadYoutubeScript(),this.openOverlay(e,t)))}}var u=n(7071),d=n(4302),h=n(4692);
1class p extends u.RTIContainer{constructor(e,t,n,i){if(super(e),this.indexInSlider=t,this.slider=n,this.slideCount=i,this.changeListeners=[],!o.q.isEditMode())if(this.props.url)this.insertSlides(this.props.url);else for(const e of this.props)this.insertSlides(e.url)}getSlides(e){const t=this.getStoredBank();return t&&!o.q.isEditMode()?(this.listenToBankChange(),this.loadRTI(t,e).then(e=>e.filter("div"))):Promise.resolve(null)}insertSlides(e){return this.getSlides(e).then(e=>{let t=this.indexInSlider;this.rtiSlideCount=e.length,e.each((e,n)=>{this.initRTIInfotext(h(n).find(".stage-slide-content")),t===this.slideCount?this.slider.slick("slickAdd",n,t-1,!1):this.slider.slick("slickAdd",n,t,!0),t++,this.slideCount++}),this.slider.slick("refresh"),this.changeListeners.forEach(e=>e())})}removeSlides(){for(;this.rtiSlideCount>0;){const e=this.indexInSlider-1+this.rtiSlideCount;this.slider.find(`[data-slick-index="${e}"] [bs-popover]`).popover("dispose"),this.slider.slick("slickRemove",e),this.rtiSlideCount--,this.slideCount--}this.slider.slick("refresh")}listenToBankChange(){d.Z.subscribe("userbranch.update",()=>{this.getStoredBank()?(this.removeSlides(),this.insertSlides()):(this.removeSlides(),this.changeListeners.forEach(e=>e()))})}handleSuccessResponse(e){return 0!==e.lastIndexOf("<!DOCTYPE HTML>",0)?h(e):null}handleErrorResponse(e){this.removeSlides(),console.error("Error occured loading RTI:",e.statusText)}onRtiChange(e){this.changeListeners.push(e)}}var f=n(1088),m=n.n(f),g=n(550),v=n.n(g),y=n(4692);class b extends o.q.Component{constructor(e){if(super(e),this.slider=e.find(".stage-slider"),this.slides=this.slider.find(".stage-slide"),this.sliderPaused=!1,this.ariaPaused=!0,this.playPauseButton=this.element.find(".pause-button"),this.controlsWrapper=this.element.find(".stage-slider-controls"),this.dotsWrapper=this.controlsWrapper.find(".slick-dots"),this.pausedByUser=!1,this.pauseOnFocus=!0,this.ariaHiddenConst="aria-hidden",this.triggerVideoConst="cms.stage-video.play",!o.q.isEditMode()){const e=this.slider.children(".stage-slide, .rti-stage-container");this.slider.empty().append(e),this.init()}}init(){const e=this.controlsWrapper.find("> .controls-dots");this.slider.on("init",()=>{const e=this;this.initCallback(),this.imgsLoaded(),setTimeout(function(){e.slider.slick("slickGoTo","0",!0)},3e3)});const t=this.element.find(".rti-stage-container");t.length&&this.initRTI(t),this.slider.slick({adaptiveHeight:!0,autoplaySpeed:1e4,dots:!0,customPaging:function(e,t){return'<button class="control-elements" role="tab" aria-selected="false">'+(t+1)+"</button>"},rows:0,pauseOnHover:!0,appendDots:e,prevArrow:'<button type="button" class="stage-arrow-prev" role="button"><span class="icon icon-paging_arrow_left" aria-hidden="true"></span><span class="visually-hidden">'+this.props.previous+"</span></button>",nextArrow:'<button type="button" class="stage-arrow-next" role="button"><span class="icon icon-paging_arrow_right" aria-hidden="true"></span><span class="visually-hidden">'+this.props.next+"</span></button>",responsive:[{breakpoint:1025},{breakpoint:768},{breakpoint:576}]}),this.initVideoSlides();const n=this.element.find('[data-slick-index="0"]');this.slider.attr("data-color",y(n).data("slide-color")),this.slider.on("beforeChange",(e,t,n,i)=>{const r=this.element.find(`[data-slick-index="${n}"]`),s=this.element.find(`[data-slick-index="${i}"]`);r.find(".ot-cookie-overlay").removeClass("open").attr(this.ariaHiddenConst,!0),this.isVideoSlide(r)&&r.trigger("cms.stage-video.pause"),this.isVideoSlide(s)&&(s.trigger(this.triggerVideoConst),s.trigger(this.triggerVideoConst))}),this.getSlidesCount()<2&&this.hideSlideControls(),this.initAPI(),this.addCtrlBindings(),this.play(),this.handleAutoSlideDependingO
1nViewport(),this.setAriaAttributes(),this.slider.on("afterChange",(e,t,n)=>{const i=t.$slides.get(n),r=this.element.find(`[data-slick-index="${n}"]`);this.slider.attr("data-color",y(i).data("slide-color")),this.isVideoSlide(r)&&setTimeout(function(){r.find(".ot-cookie-overlay-content").find("button").attr("tabindex","-1")},100)}),this.slider.on("breakpoint",()=>{this.imgsLoaded(),this.setAriaAttributes()}),this.dotsWrapper.on("keydown",e=>{"keydown"!==e.type||37!==e.keyCode&&39!==e.keyCode||y(this.controlsWrapper.find("button.control-elements")[this.slider.slick("slickCurrentSlide")]).focus()}),this.dotsWrapper.on("focusin",()=>{this.isPauseOnKeyFocus(),this.toggleAriaLive(!0)}),this.slides.on("focusin",()=>{this.isPauseOnKeyFocus(),this.toggleAriaLive(!0)}),this.slider.find(".slick-arrow").on("focusin",()=>{this.isPauseOnKeyFocus(),this.toggleAriaLive(!0)}),this.dotsWrapper.on("focusout",()=>{this.toggleAriaLive(!1)}),this.slides.on("focusout",()=>{this.toggleAriaLive(!1)}),this.slider.find(".slick-arrow").on("focusout",()=>{this.toggleAriaLive(!1)})}toggleAriaLive(e){!0===this.ariaPaused&&!0===e?(this.dotsWrapper.attr(this.ariaHiddenConst,!1),this.slider.attr("aria-live","polite"),this.ariaPaused=!1):!1===this.ariaPaused&&!1===e&&(this.dotsWrapper.attr(this.ariaHiddenConst,!0),this.slider.attr("aria-live","off"),this.ariaPaused=!0)}isPauseOnKeyFocus(){!1===this.sliderPaused&&"keyboard"===m().ask()&&!0===this.pauseOnFocus&&(this.pauseOnFocus=!1,this.togglePlayPause())}imgsLoaded(){const e=this;if(this.slider[0].offsetWidth<1025){let t,n=!0;this.slides.each(function(){if(t=y(this).find("img")[0],t&&!1===t.complete)return n=!1,!1}),!0===n?this.setSlideHeight():t.addEventListener("load",function(){e.setSlideHeight()},!1)}else this.setHeight(this.slides,"100%")}setSlideHeight(){let e=0;this.slides.each(function(){y(this).css("height","unset"),this.offsetHeight>e&&(e=this.offsetHeight)}),this.setHeight(this.slides,e)}setHeight(e,t){this.slider.find(".slick-list").css("height",t),e.each(function(){y(this).css("height",t)})}initVideoSlides(){this.slides=this.slider.find(".slick-slide:not(.slick-cloned)"),this.slides.each((e,t)=>{this.isVideoSlide(y(t))&&"true"!==y(t).data("is-initialized")&&(new c(y(t)),0===e&&y(t).trigger(this.triggerVideoConst))})}initRTI(e){const t=e.index();e.remove();const n=this.slider.children().length;new p(e,t,this.slider,n).onRtiChange(()=>{o.q.init(this.element),v()(),this.initVideoSlides(),this.getSlidesCount()>=2&&this.controlsWrapper.show()})}togglePlayPause(){this.sliderPaused?(this.play(),this.pausedByUser=!1):(this.pause(),this.pausedByUser=!0)}setAriaAttributes(){this.dotsWrapper=this.controlsWrapper.find("ul.slick-dots");const e=this;let t;this.dotsWrapper.attr({"aria-label":"Bedienungselemente"}),this.dotsWrapper.find("button.control-elements").each(function(t){y(this).attr({"aria-describedby":"headline-"+e.slides[t].id})}),this.slides.each(function(n){y(this).attr({"aria-roledescription":"slide","aria-label":n+1+" von "+e.slides.length}),t=y(this).find(".headline"),0!==t.length&&t.attr("id","headline-"+e.slides[n].id)})}getSlidesCount(){return this.slider.slick("getSlick").slideCount}hideSlideControls(){this.controlsWrapper.hide()}pause(){this.slider.slick("slickPause"),this.playPauseButton.find(".icon-play").css("display","block"),this.playPauseButton.find(".icon-pause").css("display","none"),this.playPauseButton.find(".sr-only, .visually-hidden").html(this.props.play),this.sliderPaused=!0}play(){this.slider.slick("slickPlay"),this.playPauseButton.find(".icon-pause").css("display","block"),this.playPauseButton.find(".icon-play").css("display","none"),this.playPauseButton.find(".sr-only, .visually-hidden").html(this.props.pause),this.sliderPaused=!1}addCtrlBindings(){this.playPauseButton.click(()=>{this.togglePlayPause()}),this.slider.keypress(e=>{32===e.which&&(e.preventDefault(),this.togglePlayPause())})}getSlideHeight(){return this.element.find(".image-wrapper, .video-js").outerHeight()}
1handleAutoSlideDependingOnViewport(){y(window).on("scroll",i.A.debounce(()=>{this.pausedByUser||(i.A.isElementInView(this.element)?this.play():this.pause())},150))}getSlideType(e){return e.data("slide-type")||"image"}isVideoSlide(e){return"video"===this.getSlideType(e)}initAPI(){y("html").on("cms.resize",()=>{this.imgsLoaded(),this.setAriaAttributes(),this.sliderPaused&&this.pause()}),this.element.on("cms.stage.pause",()=>{this.pause()}),this.element.on("cms.stage.play",()=>{this.pausedByUser||this.play()})}}o.q.registerComponent(".component-stage-slider",b)},4289:function(e,t,n){"use strict";n.r(t),n(9599);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.accordionHeadingsSelector=".accordion-heading",this.tabPanes=e.find(".tab-pane"),this.tabNav=e.find(".nav-tabs"),this.tabNavLinks=e.find(".nav-tabs a"),this.tabNavLinksWrapper=e.find(".nav-tabs .controlWrapper"),this.leftArrowBtn=this.element.find(".tab-arrow-prev"),this.rightArrowBtn=this.element.find(".tab-arrow-next"),this.accordionHeadings=e.find(this.accordionHeadingsSelector),this.currentPosition=0,this.maxPosition=0,this.showTabsFrom=0,this.showTabsTo=0,this.scrollable=!1,this.init()}init(){this.accordionHeadingEvents(),this.accessibility(),i.q.isEditMode()||this.tabNav.hasClass("small-view")||(this.scrollingTabNavigation(),this.measureTabWidth(),this.displayArrowBtn()),this.initAPI()}accordionHeadingEvents(){this.tabPanes.on("show.bs.collapse",e=>{r(e.currentTarget).prev(this.accordionHeadingsSelector).addClass("opened"),r(e.currentTarget).closest(".tab-pane").addClass("opened")}),this.tabPanes.on("hide.bs.collapse",e=>{r(e.currentTarget).prev(this.accordionHeadingsSelector).removeClass("opened"),r(e.currentTarget).closest(".tab-pane").removeClass("opened")})}moveFocus(e,t,n){const i=this;0!==e.length?this.tabNavLinks.each(function(t){if(e.attr("id")==r(this).attr("id"))return"right"==n&&t>i.showTabsTo?(i.showTabsTo++,i.showTabsFrom++,i.currentPosition+=1,i.setTabs(),i.displayArrowBtn()):"left"==n&&t<i.showTabsFrom&&(i.showTabsTo--,i.showTabsFrom--,i.currentPosition-=1,i.setTabs(),i.displayArrowBtn()),e.focus(),!1}):(this.scrollable&&("right"==n?(i.showTabsTo=i.showTabsTo-i.showTabsFrom,i.showTabsFrom=0,i.currentPosition=0):"left"==n&&(i.showTabsFrom=i.tabNavLinks.length-1-(i.showTabsTo-i.showTabsFrom),i.showTabsTo=i.tabNavLinks.length-1,i.currentPosition=this.maxPosition),i.setTabs(),i.displayArrowBtn()),t.focus())}accessibility(){this.tabNavLinks.on("keydown",e=>{13===e.keyCode||32===e.keyCode?(e.preventDefault(),this.tabNav.find("a.active").attr("tabindex","-1"),r(e.currentTarget).tab("show"),r(e.currentTarget).attr("tabindex","0")):37===e.ke
1yCode?(e.preventDefault(),e.stopImmediatePropagation(),this.moveFocus(r(e.currentTarget.parentElement.previousElementSibling).find("a"),r(this.tabNavLinks[this.tabNavLinks.length-1]),"left")):39===e.keyCode?(e.preventDefault(),e.stopImmediatePropagation(),this.moveFocus(r(e.currentTarget.parentElement.nextElementSibling).find("a"),r(this.tabNavLinks[0]),"right")):"ArrowDown"===e.keyCode&&"ArrowUp"===e.keyCode&&(e.preventDefault(),e.stopImmediatePropagation())}),this.accordionHeadings.on("keydown",e=>{13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),r(r(e.currentTarget).attr("href")).collapse("show")?r(r(e.currentTarget).attr("href")).collapse("hide"):r(r(e.currentTarget).attr("href")).collapse("show"))})}displayArrowBtn(){this.scrollable?(0==this.currentPosition?this.leftArrowBtn.css("visibility","hidden"):this.leftArrowBtn.css("visibility","visible"),this.currentPosition==this.maxPosition?this.rightArrowBtn.css("visibility","hidden"):this.rightArrowBtn.css("visibility","visible")):(this.leftArrowBtn.css("visibility","hidden"),this.rightArrowBtn.css("visibility","hidden"))}measureTabWidth(){const e=this.tabNav.width();let t=0;this.showTabsFrom=0,this.currentPosition=0;for(let n=0;n<this.tabNavLinksWrapper.length;n++){if(t+=r(this.tabNavLinksWrapper[n]).width(),t>e)return this.scrollable=!0,this.showTabsTo=n-1,this.maxPosition=this.tabNavLinks.length-(this.showTabsTo+1),void this.setTabs();n==this.tabNavLinksWrapper.length-1&&t<e&&(this.scrollable=!1,this.showTabsTo=n)}}setTabs(){if(1==this.scrollable)for(let e=0;e<this.tabNavLinks.length;e++){let t=!1;for(let n=this.showTabsFrom;n<=this.showTabsTo;n++)e==n&&(r(this.tabNavLinksWrapper[n]).css({"flex-grow":"1",opacity:"1","text-indent":"0",position:"relative"}),t=!0);0==t&&r(this.tabNavLinksWrapper[e]).css({opacity:"0","flex-grow":"0","text-indent":"-9999px",position:"absolute"})}}scrollingTabNavigation(){this.tabNav.on("init",e=>{const t=r(e.currentTarget).closest(".component-tab-accordion");let n=0;this.tabNavLinks.each(function(){n+=r(this).outerWidth()}),n>r(e.currentTarget).width()&&(t.find(".tab-arrow-prev").removeClass("invisible"),t.find(".tab-arrow-next").removeClass("invisible"))}),this.tabNavLinks.on("click",e=>{r(e.currentTarget).attr("tabindex","0"),this.tabNav.find("a.active").attr("tabindex","-1")}),this.tabNavLinks.on("show.bs.tab",e=>{r(e.currentTarget).closest(".nav-tabs").find("a").removeClass("active").attr("aria-selected","false")}),this.tabNavLinks.on("focusin",e=>{if(this.scrollable&&e.currentTarget.className)for(let t=0;t<this.tabNavLinks.length;t++)if(e.currentTarget.id==this.tabNavLinks[t].id&&(this.showTabsFrom>t||t>this.showTabsTo)){const e=this.showTabsTo-this.showTabsFrom;return t<=e?(this.currentPosition=0,this.showTabsTo=e,this.showTabsFrom=0):t>e&&(this.currentPosition=t-e,this.showTabsTo=t,this.showTabsFrom=t-e),this.displayArrowBtn(),void this.setTabs()}}),this.leftArrowBtn.on("click",()=>{this.currentPosition-=1,this.showTabsTo--,this.showTabsFrom--,this.setTabs(),this.displayArrowBtn()}),this.rightArrowBtn.on("click",()=>{this.currentPosition+=1,this.showTabsTo++,this.showTabsFrom++,this.setTabs(),this.displayArrowBtn()})}initAPI(){r("html").on("cms.resize",()=>{i.q.isEditMode()||this.tabNav.hasClass("small-view")||(this.scrollingTabNavigation(),this.measureTabWidth(),this.displayArrowBtn())})}}i.q.registerComponent(".component-tab-accordion",s)},1100:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.table=e.find("table"),this.fixedTableColumn=e.hasClass("fixed-table-column"),this.init()}init(){this.element.find(".table-wrapper").length||(this.table.wrap(r("<div />",{class:"table-wrapper"}).append(r("<div />",{class:"scrollable-container"}))),this.fixedTableColumn&&this.table.each((e,t)=>{r(t).clone(!0).appendTo(r(t).parents(".table-wrapper")).addClass("clone")}))}}i.q.registerComponent(".component-table",s)},8716:function(e,t,n){"use strict";n.r(t),n(8013),n(9599);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-teletrader-content",r)},2973:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-text",r)},7671:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-text",r)},6461:function(e,t,n){"use strict";n.r(t);var i=n(4500),r=n(3285),s=n(4302),o=n(2242),a=n(3323),l=n(4692);class c extends a.q.Component{constructor(e,t){super(e,t),this.vjsPlayer=e.find("video"),this.src=this.vjsPlayer.data("src"),this.type=this.vjsPlayer.data("type"),this.vjsWrapper=e.find(".video-wrapper"),this.cookieOverlay=e.find(".ot-cookie-overlay"),this.acceptedCookieBtn=this.cookieOverlay.find(".accept-cookies"),this.vjsPlayerId=this.element.find("video").attr("id"),this.body=e.parents("body"),this.vjsPlayerHtml=this.vjsPlayer.clone(),this.vjsId=null,this.tracksArr=[],this.init(),a.q.isEditMode()||a.q.isPreviewMode()||this.listenOptanonChange()}init(){"video/mp4"===this.type||0===this.cookieOverlay.length?(this.createTracks(),this.loadVideoJs().then(()=>{this.initPlayer()})):r.e.activeGroup(o.kt)||a.q.isEditMode()||a.q.isPreviewMode()?(this.loadVideoJs().then(()=>{this.initPlayer()}),window.loadYoutubeScript&&window.loadYoutubeScript()):this.removePlayer()}createTracks(){const e=this;let t=this.vjsPlayer.data("tracks");if(t="string"==typeof t?JSON.parse(decodeURIComponent(t)):t,t)for(let n=0;n<t.length;n++){const i={src:e.src.replace(".mp4","_"+t[n].name+".vtt"),kind:"chapters"===t[n].name?"chapters":"subtitles",srclang:"chapters"===t[n].name?"de":t[n].name,label:"chapters"===t[n].name?"Kapitel":t[n].title};e.tracksArr.push(i)}}removePlayer(){this.vjsWrapper.addClass("ot-video-wrapper"),this.cookieOverlay.show().removeAttr("aria-hidden",!0),this.vjsId&&(this.vjsPlayerHtml.hasClass("vjs-tech")&&location.reload(),this.vjsWrapper.find(".vjs-container").html(this.vjsPlayerHtml),this.vjsId=null),this.acceptedCookieBtn.on("click",()=>{this.acceptAllCookies()})}loadVideoJs(){return(0,i.E)("videojs",()=>Promise.all([n.e(225),n.e(173),n.e(510)]).then(n.bind(n,6457))).then(async({default:e})=>(("application/x-mpegURL"===this.type||this.src.includes(".m3u8"))&&await Promise.all([n.e(57),n.e(225),n.e(173),n.e(542)]).then(n.t.bind(n,564,23)),this.videojs=e,e))}initPlayer(){if(!this.vjsId){this.vjsWrapper.removeClass("ot-video-wrapper"),this.cookieOverlay.hide().attr("aria-hidden",!0);const e=this.videojs(this.vjsPlayerId,{techOrder:["youtube","html5"],fluid:!0,controls:!0,autoplay:!1,preload:!0,lastVolume:.5,errorDisplay:!1,controlBar:{children:["playToggle","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","customControlSpacer","chaptersButton","descriptionsButton","subsCapsButton","volumePanel","audioTrackButton","fullscreenToggle"]},html5:{vhs:{withCredentials:!0}}
1,youtube:{ytControls:1,rel:0,autohide:0,showinfo:!1,iv_load_policy:3,vq:"large"},sources:[{type:this.type,src:this.src}],tracks:this.tracksArr});this.vjsId=e.id(),e.on("contextmenu",function(e){e.preventDefault()}),e.hotkeys({volumeStep:.1,seekStep:5,enableVolumeScroll:!1}),e.on("play",function(){const t=this.id();l(".video-js").each(function(){const e=videojs.getPlayer(this);e&&e.id()!==t&&e.pause()}),e.controlBar.volumePanel.show(),e.controlBar.volumePanel.volumeControl.show(),e.controlBar.volumePanel.muteToggle.show()}),l(e.bigPlayButton.el_).attr("aria-label","Play Video: "+this.vjsPlayer.data("accessibilityDescription")),e.bigPlayButton.on("touchend",function(){e.hasClass("vjs-playing")?e.pause():e.hasClass("vjs-paused")&&e.play()}),"video/mp4"!==this.type&&e.controls(!1),this.createStartTimesArr(this,e)}}createStartTimesArr(e,t){t.on("loadedmetadata",function(){const n=[];let i=[];for(let n=0;n<e.tracksArr.length;n++)"chapters"===e.tracksArr[n].kind&&(i=t.textTracks().tracks_[n]);for(let e=0;e<i.cues_.length;e++)n.push(i.cues_[e].startTime);e.addMarkers(n,t)})}addMarkers(e,t){const n=l(t.el_.parentElement).find(".vjs-progress-holder")[0],i=t.duration();for(let t=0;t<e.length;t++){const r=document.createElement("div");r.className="vjs-marker",r.id="cp"+t,r.style.left=e[t]/i*100+"%",n.appendChild(r)}}acceptAllCookies(){"object"==typeof Optanon&&Optanon.AllowAll()}listenOptanonChange(){s.Z.subscribe("optanon.video",()=>{this.init()})}}a.q.registerComponent(".component-video",c)},4522:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=(n(3950),n(4692));class s extends i.q.Component{constructor(e){super(e),this.abortBtn=this.element.find('.btn[data-control="abort"]'),this.acceptedBtn=this.element.find('.btn[data-control="accepted"]'),this.checkCountryBtn=this.element.find('.btn[data-control="checkCountry"]'),this.hiddenElement=this.element.parents("#main-content").find(".container.not-accepted"),this.disclaimerCheck=this.element.find(".disclaimer-check"),this.plzCheck=this.element.find(".plz-check"),this.errorContainer=this.element.find(".error-notifiction"),this.inputZipCodeVal=this.element.find("input[id^=zipcode-input-]"),this.placeInputNameVal=this.element.find("input[id^=place-input-]"),this.countrySelectVal=this.element.find("select[id^=country-select-]"),this.ariaHiddenConst="aria-hidden",this.init()}init(){r("html").addClass("dnacc"),this.abort(),this.accepeted(),this.countryCheck(),this.setKeyEvents()}abort(){this.abortBtn.on("click",()=>{this.toggleContainer(this.errorContainer,this.disclaimerCheck)})}accepeted(){this.acceptedBtn.on("click",()=>{this.plzCheck.length>0?(this.disclaimerCheck.remove(),this.plzCheck.removeClass("d-none").attr(this.ariaHiddenConst,!1),this.toggleContainer(this.plzCheck,this.disclaimerCheck)):this.visibleContent()})}countryCheck(){this.checkCountryBtn.on("click",()=>{"AT"===this.countrySelectVal.val()?r.ajax({url:"/cachableservlets/zipcodevalidation",type:"GET",data:{zipCode:this.inputZipCodeVal.val(),place:this.placeInputNameVal.val()}}).done(()=>{this.visibleContent()}).fail(()=>{this.toggleContainer(this.errorContainer,this.plzCheck)}):this.toggleContainer(this.errorContainer,this.plzCheck)})}visibleContent(){this.hiddenElement.removeClass("not-accepted").attr(this.ariaHiddenConst,!1).attr("aria-live","assertive"),this.element.remove(),r("html").removeClass("dnacc")}toggleContainer(e,t){t.remove(),e.removeClass("d-none").attr(this.ariaHiddenConst,!1)}setKeyEvents(){this.element.find("input").on("keydown",e=>{13===e.keyCode&&this.inputZipCodeVal.val()&&this.placeInputNameVal.val()&&this.checkCountryBtn.click()})}}i.q.registerComponent(".component-disclaimer-page",s)},6999:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(2242),s=n(2384),o=n(5093),a=n.n(o),l=n(4692);class c extends i.q.Component{constructor(e){super(e),this.marketList=this.element.find(".market-list"),this.marketWrapper=this.element.find(".stage-market-wrapper"),this.sideID=this.marketWrapper.data("side-id"),this.loading=this.element.find(".loading"),this.init()}init(){this.getAllMarkets()}getAllMarkets(){l.each(this.marketList,(e,t)=>{const n=l(t).data("type");s.r.getToken().then(()=>{l.ajax({url:r.KT+r.vZ.teletrader.marketSymbols+"?siteId="+this.sideID+"&market="+n,method:"GET",cac
1he:!1}).then(e=>{this._createList(t,e),this.loading.remove()}).catch(()=>{l(t).remove()})})})}_createList(e,t){const n=l(e),i=t[0].open?"day":"night";n.addClass(i).find("span").addClass("icon-"+i),n.find(".container-content").empty(),l.each(t[0].symbols,(e,t)=>{this._renderItem(t,n)}),n.removeAttr("hidden")}_renderItem(e,t){return l("<div>").append(l("<div>",{class:"name"}).append(this.createLink(e))).append(l("<div>",{class:"last",text:this.numberFilter(e.last)})).append(l("<div>",{class:()=>"change-percent symbol "+(parseFloat(e.changePercent)>0?"positive":parseFloat(e.changePercent)<0?"negative":""),html:this.numberFilter(e.changePercent,"%")})).append(l("<div>",{class:"date",text:()=>a()(e.lastDateTime).format("DD.MM.YY")})).appendTo(t.find(".container-content"))}numberFilter(e,t){return t=t||"",e=parseFloat(e),isNaN(e)?"-":e.toFixed(2).replace(".",",").replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")+t}createLink(e){const t=r.AJ.indexDetails+e.id;return l("<a>",{href:t,target:"_self",text:e.name,title:e.name})}}i.q.registerComponent(".component-market-slide",c)},1102:function(e,t,n){"use strict";n.r(t);var i=n(3323),r=n(8027),s=n(4692);class o extends i.q.Component{constructor(e){super(e),this.toggleButton=e.find(".toggle-market-overview"),this.body=s("body"),this.init()}init(){this.toggleButton.click(()=>{this.toggleOverlay(),this.closeTrigger()}),this.onResize(),this.accessibility()}onResize(){s("html").on("cms.resize",()=>{this.mode=r.sM.getMode(),this.mode===r.db.MOBILE&&this.toggleButton.hasClass("open")?s("body").addClass("no-scroll"):s("body").removeClass("no-scroll")})}closeTrigger(){s(window).on("click",e=>{if(this.toggleButton.hasClass("open")&&s(e.target).hasClass("ng-option"))return!1;this.toggleButton.hasClass("open")&&0===this.element.find(e.target).length&&(this.toggleOverlay(),s(window).off("click"))})}accessibility(){this.element.on("keydown",e=>{27===e.keyCode&&this.toggleOverlay()})}toggleOverlay(){this.toggleButton.toggleClass("open"),this.body.toggleClass("market-overview-open"),this.mode===r.db.MOBILE&&this.body.toggleClass("no-scroll")}}i.q.registerComponent(".market-overview-cta",o)},8164:function(e,t,n){"use strict";n(9599);var i=n(3323),r=n(4692);class s extends i.q.Component{constructor(e){super(e),this.carousel=e.find(".carousel"),this.carouselWrapper=e.find(".carousel-wrapper"),this.carouselContent=e.find(".carousel-content"),this.controlsWrapper=this.element.find(".carousel-controls"),this.dotsWrapper=this.controlsWrapper.find("> .controls-dots"),this.itemCount=this.carousel.children().length,i.q.isEditMode()||this.init()}init(){this.carousel.on("init",()=>{this.initCallback()}),this.initAPI(),this.carousel.slick(this.carouselSettings()),this.carouselContent.slick(this.carouselContentSettings()),this.setAriaAttributes(),this.initListeners()}carouselSettings(){const e=this.controlsWrapper.find("> .controls-dots");let t="unslick",n="unslick",i="unslick",r="unslick";return this.itemCount>4&&(t={slidesToShow:4,slidesToScroll:4,speed:500,focusOnSelect:!1}),this.itemCount>3&&(n={slidesToShow:3,slidesToScroll:3,speed:500,focusOnSelect:!1}),this.itemCount>2&&(i={slidesToShow:2,slidesToScroll:2,speed:500,focusOnSelect:!1}),this.itemCount>1&&(r={speed:300,slidesToShow:1,slidesToScroll:1,focusOnSelect:!1}),{mobileFirst:!0,arrows:!0,dots:!0,speed:300,infinite:!1,slidesToShow:1,slidesToScroll:1,centerMode:!1,variableWidth:!1,adaptiveHeight:!1,focusOnSelect:!0,asNavFor:this.carouselContent,appendDots:e,prevArrow:'<button type="button" class="stage-arrow-prev" role="button"><span class="icon icon-paging_arrow_left" aria-hidden="true"></span><span class="visually-hidden">'+this.carousel.data("previous")+"</span></button>",nextArrow:'<button type="button" class="stage-arrow-next" role="button"><span class="icon icon-paging_arrow_right" aria-hidden="true"></span><span class="visually-hidden">'+this.carousel.data("next")+"</span></button>",responsive:[{breakpoint:1399,settings:t},{breakpoint:1024,settings:n},{breakpoint:576,settings:i},{breakpoint:0,settings:r}]}}carouselContentSettings(){return{slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,centerMode:!1,asNavFor:this.carousel,variableWidth:!1}}
1setActiveDot(e){const t=this.dotsWrapper.find("button");let n=this.carousel.slick("slickCurrentSlide");if(window.innerWidth>=576){window.innerWidth>=1400?n/=4:window.innerWidth>=1024?n/=3:n/=2;for(let e=0;e<t.length;e++)e===n&&"0"!==r(t[e]).attr("tabindex")?r(t[e]).attr({"aria-selected":"true",tabindex:"0"}):e!==n&&"0"===r(t[e]).attr("tabindex")&&r(t[e]).attr({"aria-selected":"false",tabindex:"-1"})}!1===e&&r(t[n]).focus()}initListeners(){const e=this;this.carousel.on("afterChange",function(){setTimeout(function(){e.setActiveDot(!0)},100)}),this.dotsWrapper.on("keydown",e=>{"keydown"!==e.type||37!==e.keyCode&&39!==e.keyCode||this.setActiveDot(!1)})}setAriaAttributes(){this.carousel.hasClass("slick-initialized")?this.carouselWrapper.attr("aria-roledescription","karussell"):this.carouselWrapper.removeAttr("aria-roledescription"),this.dotsWrapper.find("ul").attr("aria-label","Bedienungselemente");const e=this.carousel.find(".slick-slide:not(.slick-cloned)");e.each(function(t){r(this).attr({"aria-roledescription":"slide","aria-label":t+1+" von "+e.length})})}reinitSlick(){if(!this.carousel.hasClass("slick-initialized")){const e=this.carouselContent.slick("slickCurrentSlide");this.carousel.slick(this.carouselSettings()),this.carousel.slick("slickGoTo",e)}this.setAriaAttributes()}initAPI(){r("html").on("cms.resize",()=>{this.reinitSlick()})}}i.q.registerComponent(".component-fullwidth-carousel",s)},3717:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-pictureText",r)},9705:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-accountabilitylist",r)},5251:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-esgdocs",r)},5763:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-esgproductrange",r)},8962:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-fonds",r)},3946:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-fondslist",r)},6972:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-fondsperformance",r)},3117:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-instiproductrange",r)},8:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-kidlist",r)},8112:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-productrange",r)},1147:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-register",r)},2814:function(e,t,n){"use strict";n.r(t);var i=n(3323);class r extends i.q.Component{constructor(e){super(e)}}i.q.registerComponent(".component-kepler-unregister",r)},3476:function(e,t,n){const i={};function r(e){e.keys().forEach(t=>i[t]=e(t))}r(n(5462)),r(n(4332)),r(n(7556)),r(n(5674))},1215:function(e,t,n){"use strict";n.d(t,{r:function(){return r},Z:function(){return o}});var i=n(4692),r=function(){function e(e,t){this.actionName=e,this.params=t||{}}return e.prototype.handleAction=function(e,t){if(void 0===this._handleAction)throw new TypeError("Method '_handleAction' must be overriden!");this._handleAction(e,t)},e}(),s=function(){function e(){this.registeredActions={}}return e.prototype.registerAction=function(e,t){this.registeredActions[e]=t,window.registeredActions=this.registeredActions},e.prototype.initCallToActions=function(e){var t=this;i(e||"body").find("[data-action]").on("click",function(e){var n=i(e.currentTarget);t.handleAction(n,e)})},e.prototype.getActionByName=function(e){return this.registeredActions[e]},e.prototype.handleAction=function(e,t,n){e=i(e||t.currentTarget);var r="object"==typeof n?"":e.data("action"),s="object"==typeof n?{}:e.data("action-params"),o="object"==typeof n?n:this.getActionByName(r);o?(t.preventDefault(),o.handleAction(e,s)):(console.error("ERROR in ActionController: Action "+r+" is not registered."),e.addClass("disabled"))},e.prototype.triggerAction=function(e,t,n){void 0===n&&(n=null);var i="object"==typeof e?e:this.getActionByName(e);i?i.handleAction(n,t):console.error('ERROR in ActionController: Action "'+e+'" is not registered.')},e}(),o=new s},3323:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var i=n(1215),r=n(4692),s="component-initialized",o=function(){function e(e){this.element=e,this.props=this.getProperties(e)}return e.prototype.getProperties=function(e){if(e.length>1){var t=[];return e.each(function(e,n){t.push(r(n).data())}),t}return e.data()},e.prototype.initCallback=function(){this.element.addClass(s)},e.prototype.isInitialized=function(){return this.element.hasClass(s)},e}(),a=[];function l(e){var t=r(e||"body");a.forEach(function(e){t.find(e.selector).each(function(){new e.ComponentClass(r(this))})})}function c(){return r("body").data("theme")}var u={testTouchevents:function(){"ontouchstart"in window?r("html").addClass("touchevents"):r("html").addClass("no-touchevents")},registerComponent:function(e,t){a.push({selector:e,ComponentClass:t})},Component:o,initComponents:l,isPreviewMode:function(){return!0===r("body").data("data-previewmode")},isEditMode:function(){return!0===r("body").data("editmode")},changeFancyboxDefaults:function(){var e="Close";"de"==document.documentElement.lang&&(e="Schliessen"),r.fancybox.defaults.btnTpl.close='<button data-fancybox-close class="fancybox-button fancybox-button--close" title="'+e+'"><span class="icon-close"></span></button>',r.fancybox.defaults.btnTpl.smallBtn='<button data-fancybox-close class="fancybox-button fancybox-button--close" title="'+e+'"><span class="icon-close"></span></button>',r.fancybox.defaults.btnTpl.arrowLeft='<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><span class="icon icon-paging_arrow_left"></span></button>',r.fancybox.defaults.btnTpl.arrowRight='<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><span class="icon icon-paging_arrow_right"></span></button>',r.fancybox.defaults.touch=!1,r.fancybox.defaults.toolbar=!0,r.fancybox.defaults.buttons=["close"],r.fancybox.defaults.infobar=!1},getTheme:c,getThemeImagePath:function(){return"/apps/settings/wcm/designs/cms/clientlib-"+c()+"/images/"},ObjectHasOwnProperty:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},init:function(e){l(e),i.Z.initCallToActions(e)}}}
1,7782:function(e,t,n){"use strict";function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(null,arguments)}n.d(t,{X:function(){return o}});var r=new(function(){function e(){}return e.prototype.parse=function(e){for(var t={},n=e?e.split("; "):[],i=/(%[0-9A-Z]{2})+/g,r=0;r<n.length;r++){var s=n[r].split("="),o=s.slice(1).join("=");'"'===o.charAt(0)&&(o=o.slice(1,-1));try{t[s[0].replace(i,decodeURIComponent)]=o.replace(i,decodeURIComponent)}catch(e){}}return t},e.prototype.encode=function(e,t,n){return encodeURIComponent(e).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+t+this.stringifyAttributes(n)},e.prototype.stringifyAttributes=function(e){if("number"==typeof e.expires){var t=new Date;t.setMilliseconds(t.getMilliseconds()+864e5*e.expires),e.expires=t}return this.stringifyAttribute("Expires",e.expires?e.expires.toUTCString():"")+this.stringifyAttribute("Domain",e.domain)+this.stringifyAttribute("Path",e.path)+this.stringifyAttribute("Secure",e.secure)},e.prototype.stringifyAttribute=function(e,t){if(!t)return"";var n="; "+e;return!0===t?n:n+"="+t},e}()),s="cookiesAllowed",o=function(){function e(e){this.prefix=e||""}return e.prototype.isAccepted=function(){return!0},e.prototype.acceptCookies=function(){this.set(s,1)},e.prototype.denyCookies=function(){this.set(s,0)},e.prototype.getAll=function(){return r.parse(document.cookie)},e.prototype.get=function(e){return this.getAll()[e]},e.prototype.set=function(e,t,n){this.isAccepted()&&(document.cookie=r.encode(this.prefix+e,t,i({path:"/"},n)))},e.prototype.remove=function(e,t){this.set(e,"",i({},t,{expires:-1}))},e.prototype.resetAcceptance=function(){this.remove(s)},e}()},282:function(e,t,n){"use strict";n.d(t,{Fv:function(){return l},YM:function(){return a},c9:function(){return c}});var i=n(7782),r=n(7816),s=n(6295),o=n(3285),a={branch:"usersBranch",otGroupBranch:1},l=function(){function e(){this.prefix="rwm.",this.LocalStorage=new r.D(this.prefix),this.CookieHelper=new i.X(this.prefix)}return e.prototype.set=function(e,t,n,i){var r=this;(o.e.activeGroup(i||1)||"undefined"==typeof Optanon)&&(this.LocalStorage.set(e,t),n&&n.forEach(function(n){t&&t[n]&&r.CookieHelper.set(e+"."+n,t[n])}))},e.prototype.get=function(e,t){var n=null;return e===a.branch&&(n=s.A.getUrlParameter("previewBankdata")),n?JSON.parse(n):this._getFromStorage(e,t)},e.prototype._getFromStorage=function(e,t){return o.e.activeGroup(t||1)||"undefined"==typeof Optanon?this.LocalStorage.get(e):(this.remove(e),null)},e.prototype.remove=function(e){this.LocalStorage.remove(e)},e}(),c=function(){function e(){this.prefix="rwm.",this.SessionStorage=new r.u(this.prefix),this.CookieHelper=new i.X(this.prefix)}return e.prototype.set=function(e,t,n,i){var r=this;(o.e.activeGroup(i||1)||"undefined"==typeof Optanon)&&(this.SessionStorage.set(e,t),n&&n.forEach(function(n){t&&t[n]&&r.CookieHelper.set(e+"."+n,t[n])}))},e.prototype.get=function(e,t){var n=null;return e===a.branch&&(n=s.A.getUrlParameter("previewBankdata")),n?JSON.parse(n):this._getFromStorage(e,t)},e.prototype._getFromStorage=function(e,t){return o.e.activeGroup(t||1)||"undefined"==typeof Optanon?this.SessionStorage.get(e):(this.remove(e),null)},e.prototype.remove=function(e){this.SessionStorage.remove(e)},e}()},7816:function(e,t,n){"use strict";n.d(t,{D:function(){return i},u:function(){return r}});var i=function(){function e(e){this.prefix=e||""}return e.prototype._getPrefixedKey=function(e,t){return(t=t||{}).noPrefix?e:this.prefix+e},e.prototype.setPrefix=function(e){this.prefix=e},e.prototype.keys=function(){var e=[],t=Object.keys(localStorage);return 0===this.prefix.length?t:(t.forEach(function(t){-1!==t.indexOf(this.prefix)&&e.push(t.replace(this.prefix,""))}),e)},e.prototype.set=function(e,t,n){var i=this._getPrefixedKey(e,n);try{localStorage.setItem(i,JSON.stringify({data:t}))}catch(n){console.warn("Could not save {"+e+":"+t+"} pair, because the localStorage is full.")}},e.prototype.get=function(e,t){var n,i=this._getPrefixedKey(e,t);try{n=JSON.parse(localStorage.getItem(i))}catch(e){n=localStorage[i]?{data:localStorage.getItem(i)}:null}if(null!==n&&"object"==typeof n&&void 0!==n.data)return n.data},e.prototype.remove=function(e){var t=this._getPrefixedKey(e);localStorage.removeItem(t)},e.prototype.flush=function(){this.prefix.length?this.keys().forEac
1h(function(e){localStorage.removeItem(this._getPrefixedKey(e))}):localStorage.clear()},e}(),r=function(){function e(e){this.prefix=e||""}return e.prototype._getPrefixedKey=function(e,t){return(t=t||{}).noPrefix?e:this.prefix+e},e.prototype.setPrefix=function(e){this.prefix=e},e.prototype.keys=function(){var e=[],t=Object.keys(sessionStorage);return 0===this.prefix.length?t:(t.forEach(function(t){-1!==t.indexOf(this.prefix)&&e.push(t.replace(this.prefix,""))}),e)},e.prototype.set=function(e,t,n){var i=this._getPrefixedKey(e,n);try{sessionStorage.setItem(i,JSON.stringify({data:t}))}catch(n){console.warn("Could not save {"+e+":"+t+"} pair, because the SessionStorage is full.")}},e.prototype.get=function(e,t){var n,i=this._getPrefixedKey(e,t);try{n=JSON.parse(sessionStorage.getItem(i))}catch(e){n=sessionStorage[i]?{data:sessionStorage.getItem(i)}:null}if(null!==n&&"object"==typeof n&&void 0!==n.data)return n.data},e.prototype.remove=function(e){var t=this._getPrefixedKey(e);sessionStorage.removeItem(t)},e.prototype.flush=function(){this.prefix.length?this.keys().forEach(function(e){sessionStorage.removeItem(this._getPrefixedKey(e))}):e.clear()},e}()},2242:function(e,t,n){"use strict";n.d(t,{AJ:function(){return f},Bg:function(){return h},KT:function(){return l},Kh:function(){return c},Qy:function(){return u},Wt:function(){return g},Zr:function(){return m},cA:function(){return o},cr:function(){return a},kt:function(){return v},vZ:function(){return s},w8:function(){return p},yE:function(){return d}});var i=n(3293),r=window.rwmConfig,s={ping:"/api/rwm-search/search-ui-services/rest/search/dummy ",token:"/cachableservlets/token.json",dynamicToken:"/cachableservlets/dynamicToken.json",autosuggest:{default:"/api/rwm-search/search-ui-services/rest/search/autocomplete",wp:"/api/rwm-search/search-ui-services/rest/search/autocompleteWP"},search:{default:"/api/rwm-search/search-ui-services/rest/search/contents",wp:"/api/rwm-search/search-ui-services/rest/search/contentsWP"},events:"/api/rwm-search/search-ui-services/rest/eventsearch/contents",rootPath:"/api/rwm-search/search-ui-services/rest/localtopicarea/mainInstituteRootPath",news:"/api/rwm-search/search-ui-services/rest/newssearch/contents",calculatorPension:"/api/rwm-pvr/pvr-ui-services/rest/pvr/calculate",calculatorCredit:"/api/rwm-creditcalculator/creditcalculator-ui-services/rest/creditcalculator/calculation",calculatorSavings:"/api/rwm-savecalculator/savecalculator-ui-services/rest/savecalculator/calculation/",calculatorDfC:"/api/rwm-creditcalculator/creditcalculator-ui-services/rest/derfairekredit/setup",financecalculator:"/api/rwm-creditcalculator/creditcalculator-ui-services/rest/financecalculator/calculation/",financeCalcFinalization:"/api/rwm-creditcalculator/creditcalculator-ui-services/rest/financecalculator/finalization",jobsearch:{list:"/api/rwm-search/search-ui-services/rest/search/jobs/list"},banksearch:{contents:"/api/rwm-search/search-ui-services/rest/search/bankstellen/contents",autocomplete:"/api/rwm-search/search-ui-services/rest/search/bankstellen/query",filter:"/api/rwm-search/search-ui-services/rest/search/bankstellen/filter",info:"/api/rwm-search/search-ui-services/rest/search/bankstellen/",list:"/api/rwm-search/search-ui-services/rest/search/bankstellen/list",default:"/api/rwm-search/search-ui-services/rest/search/bankstellen/default/",conversion:"/api/rwm-search/search-ui-services/rest/conversion2branch/redirect"},clubdiscount:{overview:"/api/rwm-wbc/wbc-ui-services/rest/clubreductions/",detail:"/api/rwm-wbc/wbc-ui-services/rest/clubreductions/",exchangeCode:"/api/rwm-wbc/wbc-ui-services/rest/clubreductions/exchangeCode",promoCode:"/api/rwm-wbc/wbc-ui-services/rest/clubreductions/"},clubdiscount_old:{overview:"/api/rwm-search/search-ui-services/rest/clubreductionsearch/contents",detail:"/api/rwm-search/search-ui-services/rest/clubreductionsearch/"},form:{upload:"/api/rwm-forms/forms-ui-services/rest/forms/{FORMID}/upload/",appointmentTime:"/api/rwm-forms/forms-ui-services/rest/appointmentTime/",send:"/api/rwm-forms/forms-ui-services/rest/forms/{FORMID}/processForm/",token:"/api/rwm-forms/forms-ui-services/rest/forms/{FORMID}/token/"},teletrader:{chart:"/api/rwm-widgetsystem/widgetsystem-ui-services/rest/teletrader/chart",topflop:"/api/rwm-widgetsystem/widgetsystem-ui-services/rest/teletrader/topflops",symbols:"/api/rwm-widgetsystem/widgetsystem-ui-services/rest/teletrader/symbols",search:"/api/rwm-widgetsystem/widgetsystem-ui-services/rest/teletrader/search",marketSymbols:"/api/rwm-widgetsystem/widgetsystem-ui-services/rest/teletrader/marketSymbols"},stockmarket:{authentications:"/api/rwm-stockmarket/stockmarket-ui-services/rest/authentications",authenticationsRenewals:"/api/rwm-stockmarket/stockmarket-ui-services/rest/authentications/renewals",userprofile:"/api/rwm-stockmarket/stockmarket-ui-services/rest/userprofiles/current",userprofileSetup:"/api/rwm-stockmarket/stockmarket-ui-services/rest/userprofilesetups/default",resetPassword:"/api/rwm-stockmarket/stockmarket-ui-services/rest/passwords/resets",forgotUsername:"/api/rwm-stockmarket/stockmarket-ui-services/rest/usernames/recoveries",rankingGroups:"/api/rwm-stockmarket/stockmarket-ui-services/rest/rankings/groups/",rankingRegions:"/api/rwm-stockmarket/stockmarket-ui-services/rest/rankings/regions/",rankingWeeklyPeriods:"/api/rwm-stockmarket/stockmarket-ui-services/rest/rankings/weeklyperiods",rankingWeekly:"/api/rwm-stockmarket/stockmarket-ui-services/rest/rankings/groups/adult/weeks/",emailVerifications:"/api/rwm-stockmarket/stockmarket-ui-services/rest/emailVerifications/",publicProfile:"/api/rwm-stockmarket/stockmarket-ui-services/rest/publicuserprofiles/",personalUserProfile:"/api/rwm-stockmarket/stockmarket-ui-services/rest/personaluserprofiles/current",currentGroups:"/api/rwm-stockmarket/stockmarket-ui-services/rest/groups/current",groups:"/api/rwm-stockmarket/stockmarket-ui-services/rest/groups",userSearch:"/api/rwm-stockmarket/stockmarket-ui-services/rest/publicuserprofiles",groupInvitationReport:"/api/rwm-stockmarket/stockmarket-ui-services/rest/groups/current/groupInvitationReport",userprofileDuplications:"/api/rwm-stockmarket/stockmarket-ui-services/rest/userprofiles/duplications"},products:{product:"/api/rwm-products/products-ui-services/rest/products",documents:"/api/rwm-products/products-ui-services/rest/documents",productDescription:"/api/rwm-products/products-ui-services/rest/product-descriptions"},raiboChatbot:"/api/rwm-chatbot/chatbot-ui-services/rest/chatbot",servicebot:"/api/rwm-servicebot/servicebot-ui-services/rest/servicebot"},o=r.env,a=r,l=r.paas,c=(r.calculatorPension,i.o4.atob(r.currentPagePath)),u=r.currentPagePathPlain,d=i.o4.atob(r.currentLanguagePagePath),h=r.loginCenterPath,p="true"===String(r.wpSearch),f=r.ttDetailPages,m=(r.keplerScriptPathPrefix,r.blz),g=r.bankNumber,v=r.otVideoKey},8027:function(e,t,n){"use strict";n.d(t,{db:function(){return r},sM:function(){return o}});var i=n(4692),r={DESKTOP:0,MOBILE:1},s={xs:0,sm:1,md:2,lg:3,xl:4},o=new(function(){function e(){this.update()}return e.prototype.update=function(){this.device=i(".device-selector:visible").data("devicetype"),i("html").removeClass("device-xs").removeClass("device-sm").removeClass("device-md").removeClass("device-lg").removeClass("device-xl").addClass("device-"+this.device),this.setMode(),this.checkRetina()},e.prototype.getDevice=function(){return this.update(),this.device}
1,e.prototype.getBreakpoint=function(){return s[this.device]},e.prototype.setMode=function(){"xl"===this.device||"lg"===this.device?this.mode=r.DESKTOP:this.mode=r.MOBILE},e.prototype.checkRetina=function(){if(window.devicePixelRatio&&devicePixelRatio>=2){var e=document.createElement("div");e.style.border=".5px solid transparent",document.body.appendChild(e),i("html").removeClass("hairline"),1==e.offsetHeight&&i("html").addClass("hairline"),document.body.removeChild(e)}},e.prototype.getMode=function(){return this.update(),this.mode},e}())},3285:function(e,t,n){"use strict";n.d(t,{e:function(){return l}});var i=n(7782),r=n(7816),s=n(4302),o=n(4692),a={1:"C0001",2:"C0002",3:"C0003",4:"C0004",5:"C0005",6:"R0006"},l=new(function(){function e(){this.CookieHelper=new i.X,this.storage=new r.D}return e.prototype.alertBoxClosed=function(){return!!this.CookieHelper.get("OptanonAlertBoxClosed")},e.prototype.initOneTrust=function(){this.consentChanges(),this.getAdvertiseScripts(),this.listenOptanonChange()},e.prototype.consentChanges=function(){"object"==typeof Optanon&&(this.storage.set("ot",this.getAllowedGroups()),Optanon.OnConsentChanged(function(){s.Z.publish("optanon.video"),s.Z.publish("optanon.html"),s.Z.publish("optanon.headerScripts")}))},e.prototype.getAdvertiseScripts=function(){var e=this;o.ajax({url:window.location.href.split(".html")[0]+".analyticssearchload",type:"GET"}).done(function(t){var n=JSON.parse(t);o.each(n,function(t,n){var i=o("head"),r=e.getActiveGroupMapping(t),s=o("head").find('[data-otGroup="'+t+'"]');r?0===s.length&&(n=o(n).attr("data-otGroup",t),i.append(n)):1===s.length&&location.reload()})})},e.prototype.listenOptanonChange=function(){var e=this;s.Z.subscribe("optanon.headerScripts",function(){e.getAdvertiseScripts()})},e.prototype.getActiveGroupMapping=function(e){var t;switch(e){case"tracking":t=this.activeGroup(10);break;case"anonymous":t=this.activeGroup(2);break;case"personal":t=this.activeGroup(4);break;case"usprovider":t=this.activeGroup(6);break;default:t=this.activeGroup(1)}return t},e.prototype.queryStringToObject=function(e){var t=e.split("&").map(function(e){return e.split("=")});return Object.fromEntries(t)},e.prototype.getAllowedGroups=function(){if(this.alertBoxClosed()){if("object"==typeof Optanon&&"string"==typeof OptanonActiveGroups)return OptanonActiveGroups.split(",").filter(function(e){return e});var e=this.queryStringToObject(this.CookieHelper.get("OptanonConsent")),t=[];return o.each(e,function(e,n){"groups"===e&&o.each(n.split(","),function(e,i){-1!==i.indexOf(":1")&&t.push(i.substring(0,n.indexOf(":")))})}),t}return["C0001"]},e.prototype.allowAll=function(){"object"==typeof Optanon&&Optanon.AllowAll()},e.prototype.getCookieId=function(e){return a[e]},e.prototype.activeGroup=function(e){var t=this.getCookieId(e);return this.getAllowedGroups().includes(t)},e}())},4302:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var i=new(function(){function e(){var e=this;this.events=["list.reload","userbranch.update","optanon.video","optanon.html","optanon.headerScripts","game.updateLogin","game.updateInvitations"],this.subscriptions={},this.events.forEach(function(t){e.subscriptions[t]=[]}),window.GlobalPubClassSubscription=this.subscriptions}return e.prototype.publish=function(e,t){var n=window.GlobalPubClassSubscription;if(!n[e])throw new Error("Event has to be defined in the event list.");n[e].forEach(function(e){return e(t)})},e.prototype.subscribe=function(e,t){if(this.subscriptions=window.GlobalPubClassSubscription,!this.subscriptions[e])throw new Error("Event has to be defined in the event list.");this.subscriptions[e].push(t),window.GlobalPubClassSubscription=this.subscriptions},e}())},2384:function(e,t,n){"use strict";n.d(t,{r:function(){return i.r}});var i=n(1376)},1376:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var i=n(2242),r=n(8483),s=n(4692),o=new(function(){function e(){this.token=null,this.promise=null}return e.prototype.getObservableToken=function(){var e=this;return new r.c(function(t){e.token?t.next(e.token):e.getToken().then(function(e){t.next(e)})})},e.prototype.getToken=function(){var e=this;return new Promise(function(t){return e.token?t(e.token):t(e._requestToken())})},e.prototype._requestToken=function(){var e=this;return null===this.promise&&(this.promise=s.ajax({method:"GET",url:i.vZ.dynamicToken,data:{blz:i.Zr?i.Zr:void 0}}).then(function(t){return e._setToken(t),t}).always(function(){e.promise=null})),this.promise},e.prototype._setToken=function(e){this.token=e,this._setPaasHeaders(),this._startTimer()},e.prototype._startTimer=function(e){var t=this;e=e||900,setTimeout(function(){t._requestToken()},1e3*e)},e.prototype._setPaasHeaders=function(){this._setJqueryHeaders()},e.prototype._setJqueryHeaders=function(){var e=this;s.ajaxSetup({beforeSend:function(t,n){-1!==n.url.indexOf(i.KT)&&e.token&&t.setRequestHeader("Authorization","Bearer "+e.token.access_token)}})},e}())},6295:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var i=n(4692),r=[],s=(n(3950),n(2242)),o=n(4692);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(null,arguments)}
1function l(e){return(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.toLowerCase()).replace(/ä/g,"ae")).replace(/ö/g,"oe")).replace(/ü/g,"ue")).replace(/ß/g,"ss")).replace(/ /g,"-")).replace(/\./g,"")).replace(/,/g,"")).replace(/\//g,"")).replace(/\(/g,"")).replace(/\)/g,"")).replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}var c={debounce:function(e,t){var n;return function(){var i=this;clearTimeout(n),n=setTimeout(function(){return e.apply(i,arguments)},t)}},isElementInView:function(e){var t=o(window).scrollTop(),n=t+o(window).height(),i=e.offset().top;return i+e.height()>t&&i<n},floatingLabel:function(e,t){var n=!!(o(e).val()&&o(e).val().length>0);o(t).toggleClass("float-label",n)},round:function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},toggleTooltip:function(e){o(e).hasClass("parsley-error")?(o(e).removeClass("parsley-error"),o(e).removeClass("hide-tooltip-box")):o(e).toggleClass("hide-tooltip-box")},disableBodyScroll:function(e,t){var n=i("body"),s="ontouchstart"in window;e?(s&&t&&!r.some(function(e){return e===t})&&(t.on("touchmove.scrollLock",function(e){e.preventDefault()}),r.push(t)),n.toggleClass("no-scroll",!0)):(s&&t.off("touchmove.scrollLock"),(r=r.filter(function(e){return e!==t})).length<1&&n.toggleClass("no-scroll",!1))},escapeHTML:function(e){if(!e)return e;var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"};return(""+e).replace(/[&<>"'/]/g,function(e){return t[e]})},addContentPlusSpacer:function(e){e.closest(".grid-fullwidth").toggleClass("content-plus-root",!0)},removeContentPlusSpacer:function(e){e.closest(".grid-fullwidth").toggleClass("content-plus-root",!1)},getUrlParameter:function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))},eventTracking:function(e,t,n,i,r){var o=window._wa||{};try{e&&o&&"function"==typeof o.set?(o.set({evt:"useraction",evc:t,eva:r||l(n),evla:n,evv:JSON.stringify(i),env:s.cA}),o.send("event")):console.warn("Tracking not available",o)}catch(e){console.log(e)}},replaceAccents:l,uidGenerator:function(){var e,t,n="";for(e=0;e<12;e++)t=16*Math.random()|0,4!=e&&8!=e||(n+="-"),n+=(6==e?4:12==e?3&t|8:t).toString(16);return n},openFancybox:function(e,t,n){var i=a({baseClass:"fancybox-content-overlay "+n,smallBtn:!1,margin:0,mobile:{margin:0}},t);o.fancybox.open(o(e),i)},closeFancybox:function(){o(".fancybox-button--close").trigger("click")}}},4500:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var i={};function r(e,t){return i[e]||(i[e]=t()),i[e]}},2804:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});var i=n(1635),r=new(function(){function e(){this.utmParameters=this.getUTMParams(location.search.substring(1)),this.ignoreList=["https://banking.raiffeisen.at","https://mein.elba.raiffeisen.at","https://infinity.raiffeisen.at"]}return e.prototype.getUTMParams=function(e){var t={};if(!e)return t;for(var n=e.split("&"),i=0;i<n.length;i++){var r=n[i].split("=");(r[0].startsWith("utm_")||r[0].startsWith("gclid")||r[0].startsWith("gad_source"))&&(t[r[0]]=decodeURIComponent(r[1]))}return t},e.prototype.updateUrl=function(e){var t,n,r=new URL(window.location.href);try{for(var s=(0,i.Ju)(Object.entries(e)),o=s.next();!o.done;o=s.next()){var a=(0,i.zs)(o.value,2),l=a[0],c=a[1];r.searchParams.set(l,c)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}r.href!==window.location.href&&history.replaceState({},"",r)},e.prototype.createLink=function(e,t){var n,r;if(t){var s=new URL(e),o=s.search;try{for(var a=(0,i.Ju)(Object.entries(t)),l=a.next();!l.done;l=a.next()){var c=(0,i.zs)(l.value,2),u=c[0],d=c[1];o?o+="&"+u+"="+d:o="?"+u+"="+d}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return s.origin===location.href.origin?s.pathname+o+s.hash:s.origin+s.pathname+o+s.hash}return e},e.prototype.ignoreUrls=function(e){return null!==e&&(e=e.endsWith("/")?e.substring(0,e.length-1):e,!(this.ignoreList.includes(e)||"javascript:void(0)"===e||e.startsWith("mailto:")||e.startsWith("tel:")||e.startsWith("#")))},e.prototype.setUTMUrlParameter=function(){var e,t,n,r;if(this.utmParameters=this.getUTMParams(location.search.substring(1)),0==Object.keys(this.utmParameters).length&&(this.utmParameters=this.getUTMParams(document.referrer.split("?")[1]),this.updateUrl(this.utmParameters)),Object.entries(this.utmParameters).length>0){var s=document.getElementsByTagName("a");try{for(var o=(0,i.Ju)(s),a=o.next();!a.done;a=o.next()){var l=a.value,c=l.getAttribute("href");if(this.ignoreUrls(c)){var u=new URL(l.href),d=u.search;try{for(var h=(n=void 0,(0,i.Ju)(Object.entries(this.utmParameters))),p=h.next();!p.done;p=h.next()){var f=(0,i.zs)(p.value,2),m=f[0],g=f[1];d?d+="&"+m+"="+g:d="?"+m+"="+g}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}u.origin===location.href.origin?l.href=u.pathname+d+u.hash:l.href=u.origin+u.pathname+d+u.hash}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}}},e}())},9011:function(e,t,n){e.exports=function(e,t,n,i){"use strict";return class extends n{constructor(t,n){super(),(t=i.getElement(t))&&(this._element=t,this._config=this._getConfig(n),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),t.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){i.executeAfterTransition(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(t){return e.get(i.getElement(t),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}}(n(7269),n(7956),n(2105),n(4035))},7269:function(e){e.exports=function(){"use strict";const e=new Map;return{set(t,n,i){e.has(t)||e.set(t,new Map);const r=e.get(t);r.has(n)||0===r.size?r.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get(t,n){return e.has(t)&&e.get(t).get(n)||null},remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}}}()},7956:function(e,t,n){e.exports=function(e){"use strict";const t=/[^.]*(?=\..*)\.|.*/,n=/\..*/,i=/::\d+$/,r={};let s=1;
vendor: 6,087 bytes, line 1
1const o={mouseenter:"mouseover",mouseleave:"mouseout"},a=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function l(e,t){return t&&`${t}::${s++}`||e.uidEvent||s++}function c(e){const t=l(e);return e.uidEvent=t,r[t]=r[t]||{},r[t]}function u(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function d(e,t,n){const i="string"==typeof t,r=i?n:t||n;let s=m(e);return a.has(s)||(s=e),[i,r,s]}function h(e,n,i,r,s){if("string"!=typeof n||!e)return;let[a,h,p]=d(n,i,r);if(n in o){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};h=e(h)}const f=c(e),m=f[p]||(f[p]={}),y=u(m,h,a?i:null);if(y)return void(y.oneOff=y.oneOff&&s);const b=l(h,n.replace(t,"")),w=a?function(e,t,n){return function i(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return v(r,{delegateTarget:o}),i.oneOff&&g.off(e,r.type,t,n),n.apply(o,[r])}}(e,i,h):function(e,t){return function n(i){return v(i,{delegateTarget:e}),n.oneOff&&g.off(e,i.type,t),t.apply(e,[i])}}(e,h);w.delegationSelector=a?i:null,w.callable=h,w.oneOff=s,w.uidEvent=b,m[b]=w,e.addEventListener(p,w,a)}function p(e,t,n,i,r){const s=u(t[n],i,r);s&&(e.removeEventListener(n,s,Boolean(r)),delete t[n][s.uidEvent])}function f(e,t,n,i){const r=t[n]||{};for(const[s,o]of Object.entries(r))s.includes(i)&&p(e,t,n,o.callable,o.delegationSelector)}function m(e){return e=e.replace(n,""),o[e]||e}const g={on(e,t,n,i){h(e,t,n,i,!1)},one(e,t,n,i){h(e,t,n,i,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[s,o,a]=d(t,n,r),l=a!==t,u=c(e),h=u[a]||{},m=t.startsWith(".");if(void 0===o){if(m)for(const n of Object.keys(u))f(e,u,n,t.slice(1));for(const[n,r]of Object.entries(h)){const s=n.replace(i,"");l&&!t.includes(s)||p(e,u,a,r.callable,r.delegationSelector)}}else{if(!Object.keys(h).length)return;p(e,u,a,o,s?n:null)}},trigger(t,n,i){if("string"!=typeof n||!t)return null;const r=e.getjQuery();let s=null,o=!0,a=!0,l=!1;n!==m(n)&&r&&(s=r.Event(n,i),r(t).trigger(s),o=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),l=s.isDefaultPrevented());const c=v(new Event(n,{bubbles:o,cancelable:!0}),i);return l&&c.preventDefault(),a&&t.dispatchEvent(c),c.defaultPrevented&&s&&s.preventDefault(),c}};function v(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get(){return i}})}return e}return g}(n(4035))},2333:function(e){e.exports=function(){"use strict";function e(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function t(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}return{setDataAttribute(e,n,i){e.setAttribute(`data-bs-${t(n)}`,i)},removeDataAttribute(e,n){e.removeAttribute(`data-bs-${t(n)}`)},getDataAttributes(t){if(!t)return{};const n={},i=Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const r of i){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),n[i]=e(t.dataset[r])}return n},getDataAttribute(n,i){return e(n.getAttribute(`data-bs-${t(i)}`))}}}()},5411:function(e,t,n){e.exports=function(e){"use strict";const t=t=>{let n=t.getAttribute("data-bs-target");if(!n||"#"===n){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),n=e&&"#"!==e?e.trim():null}return n?n.split(",").map(t=>e.parseSelector(t)).join(","):null},n={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(n,t).filter(t=>!e.isDisabled(t)&&e.isVisible(t))},getSelectorFromElement(e){const i=t(e);return i&&n.findOne(i)?i:null},getElementFromSelector(e){const i=t(e);return i?n.findOne(i):null},getMultipleElementsFromSelector(e){const i=t(e);return i?n.find(i):[]}};return n}(n(4035))},2091:function(e,t,n){e.exports=function(e,t){"use strict";const n=".popover-header",i=".popover-body",r={...e.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},s={...e.DefaultType,content:"(null|string|element|function)"};class o extends e{static get Default(){return r}static get DefaultType(){return s}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[n]:this._getTitle(),[i]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=o.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e]()}})}}return t.defineJQueryPlugin(o),o}(n(3029),n(4035))},8013:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const r=".bs.tab",s=`hide${r}`,o=`hidden${r}`,a=`show${r}`,l=`shown${r}`,c=`click${r}`,u=`keydown${r}`,d=`load${r}`,h="ArrowLeft",p="ArrowRight",f="ArrowUp",m="ArrowDown",g="Home",v="End",y="active",b="fade",w="show",_=".dropdown-toggle",x=`:not(${_})`,k='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',C=`.nav-link${x}, .list-group-item${x}, [role="tab"]${x}, ${k}`,S=`.${y}[data-bs-toggle="tab"], .${y}[data-bs-toggle="pill"], .${y}[data-bs-toggle="list"]`;class T extends e{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),t.on(this._element,u,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),i=n?t.trigger(n,s,{relatedTarget:e}):null;t.trigger(e,a,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,i){if(!e)return;e.classList.add(y),this._activate(n.getElementFromSelector(e));this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),t.trigger(e,l,{relatedTarget:i})):e.classList.add(w)},e,e.classList.contains(b))}_deactivate(e,i){if(!e)return;e.classList.remove(y),e.blur(),this._deactivate(n.getElementFromSelector(e));this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),t.trigger(e,o,{relatedTarget:i})):e.classList.remove(w)},e,e.classList.contains(b))}_keydown(e){if(![h,p,f,m,g,v].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!i.isDisabled(e));let n;if([g,v].includes(e.key))n=t[e.key===g?0:t.length-1];else{const r=[p,m].includes(e.key);n=i.getNextActiveElement(t,e.target,r,!0)}n&&(n.focus({preventScroll:!0}),T.getOrCreateInstance(n).show())}_getChildren(){return n.find(C,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=n.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains("dropdown"))return;const r=(e,r)=>{const s=n.findOne(e,i);s&&s.classList.toggle(r,t)};r(_,y),r(".dropdown-menu",w),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(y)}_getInnerElement(e){return e.matches(C)?e:n.findOne(C,e)}
vendor: 4,581 bytes, line 1
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=T.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(document,c,k,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),i.isDisabled(this)||T.getOrCreateInstance(this).show()}),t.on(window,d,()=>{for(const e of n.find(S))T.getOrCreateInstance(e)}),i.defineJQueryPlugin(T),T}(n(9011),n(7956),n(5411),n(4035))},3029:function(e,t,n){e.exports=function(e,t,n,i,r,s,o){"use strict";function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const l=a(e),c=new Set(["sanitize","allowList","sanitizeFn"]),u="fade",d="show",h=".tooltip-inner",p=".modal",f="hide.bs.modal",m="hover",g="focus",v="click",y={AUTO:"auto",TOP:"top",RIGHT:r.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:r.isRTL()?"right":"left"},b={allowList:s.DefaultAllowlist,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},w={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class _ extends t{constructor(e,t){if(void 0===l)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return b}static get DefaultType(){return w}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),n.off(this._element.closest(p),f,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=n.trigger(this._element,this.constructor.eventName("show")),t=(r.findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),n.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(d),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.on(e,"mouseover",r.noop);this._queueCallback(()=>{n.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(n.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(d),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",r.noop);this._activeTrigger[v]=!1,this._activeTrigger[g]=!1,this._activeTrigger[m]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),n.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}
vendor: 4,799 bytes, line 1
1update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(u,d),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=r.getUID(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(u),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new o({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[h]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(u)}_isShown(){return this.tip&&this.tip.classList.contains(d)}_createPopper(e){const t=r.execute(this._config.placement,[this,e,this._element]),n=y[t.toUpperCase()];return l.createPopper(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return r.execute(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...r.execute(this._config.popperConfig,[void 0,t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)n.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[v]=!(t._isShown()&&t._activeTrigger[v]),t.toggle()});else if("manual"!==t){const e=t===m?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===m?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");n.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?g:m]=!0,t._enter()}),n.on(this._element,i,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?g:m]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},n.on(this._element.closest(p),f,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=i.getDataAttributes(this._element);for(const e of Object.keys(t))c.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:r.getElement(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=_.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e]()}})}}return r.defineJQueryPlugin(_),_}(n(3011),n(9011),n(7956),n(2333),n(4035),n(2812),n(3982))},2105:function(e,t,n){e.exports=function(e,t){"use strict";return class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(n,i){const r=t.isElement(i)?e.getDataAttribute(i,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},...t.isElement(i)?e.getDataAttributes(i):{},..."object"==typeof n?n:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[i,r]of Object.entries(n)){const n=e[i],s=t.isElement(n)?"element":t.toType(n);if(!new RegExp(r).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${r}".`)}}}}(n(2333),n(4035))},4035:function(e,t,n){var i=n(4692);!function(e){"use strict";const t="transitionend",n=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),r=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0},s=e=>{e.dispatchEvent(new Event(t))},o=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),a=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?a(e.parentNode):null},l=()=>i&&!document.body.hasAttribute("data-bs-no-jquery")?i:null,c=[],u=e=>{"loading"===document.readyState?(c.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of c)e()}),c.push(e)):e()},d=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n;e.defineJQueryPlugin=e=>{u(()=>{const t=l();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}})},e.execute=d,e.executeAfterTransition=(e,n,i=!0)=>
1{if(!i)return void d(e);const o=r(n)+5;let a=!1;const l=({target:i})=>{i===n&&(a=!0,n.removeEventListener(t,l),d(e))};n.addEventListener(t,l),setTimeout(()=>{a||s(n)},o)},e.findShadowRoot=a,e.getElement=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(n(e)):null,e.getNextActiveElement=(e,t,n,i)=>{const r=e.length;let s=e.indexOf(t);return-1===s?!n&&i?e[r-1]:e[0]:(s+=n?1:-1,i&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},e.getTransitionDurationFromElement=r,e.getUID=e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e},e.getjQuery=l,e.isDisabled=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),e.isElement=o,e.isRTL=()=>"rtl"===document.documentElement.dir,e.isVisible=e=>{if(!o(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},e.noop=()=>{},e.onDOMContentLoaded=u,e.parseSelector=n,e.reflow=e=>{e.offsetHeight},e.toType=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),e.triggerTransitionEnd=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)},2812:function(e,t){!function(e){"use strict";const t=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),n=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,i=(e,i)=>{const r=e.nodeName.toLowerCase();return i.includes(r)?!t.has(r)||Boolean(n.test(e.nodeValue)):i.filter(e=>e instanceof RegExp).some(e=>e.test(r))};e.DefaultAllowlist={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},e.sanitizeHtml=function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const r=(new window.DOMParser).parseFromString(e,"text/html"),s=[].concat(...r.body.querySelectorAll("*"));for(const e of s){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const r=[].concat(...e.attributes),s=[].concat(t["*"]||[],t[n]||[]);for(const t of r)i(t,s)||e.removeAttribute(t.nodeName)}return r.body.innerHTML},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)},3982:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const r={allowList:n.DefaultAllowlist,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},s={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},o={entry:"(string|element|function|null)",selector:"(string|element)"};return class extends t{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return r}static get DefaultType(){return s}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},o)}_setContent(t,n,r){const s=e.findOne(r,t);s&&((n=this._resolvePossibleFunction(n))?i.isElement(n)?this._putElementInTemplate(i.getElement(n),s):this._config.html?s.innerHTML=this._maybeSanitize(n):s.textContent=n:s.remove())}_maybeSanitize(e){return this._config.sanitize?n.sanitizeHtml(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return i.execute(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}}(n(5411),n(2105),n(2812),n(4035))},2770:function(){!function(){if("undefined"!=typeof window)try{var e=new window.CustomEvent("test",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var t=function(e,t){var n,i;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i=n.preventDefault,n.preventDefault=function(){i.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};t.prototype=window.Event.prototype,window.CustomEvent=t}}()},8468:function(e,t,n){"use strict";n.d(t,{o0:function(){return f}});var i=n(5606),r=function(e,t,n){if(n||2===arguments.length)for(var i,r=0,s=t.length;r<s;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},s=function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"},o=function(e){this.version=e,this.type="node",this.name="node",this.os=i.platform},a=function(e,t,n,i){this.name=e,this.version=t,this.os=n,this.bot=i,this.type="bot-device"},l=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},c=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},u=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,d=3,h=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;
1\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],p=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function f(e){return e?m(e):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new c:"undefined"!=typeof navigator?m(navigator.userAgent):void 0!==i&&i.version?new o(i.version.slice(1)):null}function m(e){var t=function(e){return""!==e&&h.reduce(function(t,n){var i=n[0],r=n[1];if(t)return t;var s=r.exec(e);return!!s&&[i,s]},!1)}(e);if(!t)return null;var n=t[0],i=t[1];if("searchbot"===n)return new l;var o=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);o?o.length<d&&(o=r(r([],o,!0),function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(d-o.length),!0)):o=[];var c=o.join("."),f=function(e){for(var t=0,n=p.length;t<n;t++){var i=p[t],r=i[0];if(i[1].exec(e))return r}return null}(e),m=u.exec(e);return m&&m[1]?new a(n,c,f,m[1]):new s(n,c,f)}},6677:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692)],i=function(e){var t="dmUploader",n=0,i=1,r=2,s=3,o=4,a={auto:!0,queue:!0,dnd:!0,hookDocument:!0,multiple:!0,url:document.URL,method:"POST",extraData:{},headers:{},dataType:null,fieldName:"file",maxFileSize:0,allowedTypes:"*",extFilter:null,onInit:function(){},onComplete:function(){},onFallbackMode:function(){},onNewFile:function(){},onBeforeUpload:function(){},onUploadProgress:function(){},onUploadSuccess:function(){},onUploadCanceled:function(){},onUploadError:function(){},onUploadComplete:function(){},onFileTypeError:function(){},onFileSizeError:function(){},onFileExtError:function(){},onDragEnter:function(){},onDragLeave:function(){},onDocumentDragEnter:function(){},onDocumentDragLeave:function(){}},l=function(e,t){this.data=e,this.widget=t,this.jqXHR=null,this.status=n,this.id=Math.random().toString(36).substr(2)};l.prototype.upload=function(){var t=this;if(!t.canUpload())return t.widget.queueRunning&&t.status!==i&&t.widget.processQueue(),!1;var n=new FormData;n.append(t.widget.settings.fieldName,t.data);var r=t.widget.settings.extraData;return"function"==typeof r&&(r=r.call(t.widget.element,t.id)),e.each(r,function(e,t){n.append(e,t)}),t.status=i,t.widget.activeFiles++,t.widget.settings.onBeforeUpload.call(t.widget.element,t.id),t.jqXHR=e.ajax({url:t.widget.settings.url,type:t.widget.settings.method,dataType:t.widget.settings.dataType,data:n,headers:t.widget.settings.headers,cache:!1,contentType:!1,processData:!1,forceSync:!1,xhr:function(){return t.getXhr()},success:function(e){t.onSuccess(e)},error:function(e,n,i){t.onError(e,n,i)},complete:function(){t.onComplete()}}),!0},l.prototype.onSuccess=function(e){this.status=r,this.widget.settings.onUploadSuccess.call(this.widget.element,this.id,e)},l.prototype.onError=function(e,t,n){this.status!==o&&(this.status=s,this.widget.settings.onUploadError.call(this.widget.element,this.id,e,t,n))},l.prototype.onComplete=function(){this.widget.activeFiles--,this.status!==o&&this.widget.settings.onUploadComplete.call(this.widget.element,this.id),this.widget.queueRunning?this.widget.processQueue():this.widget.settings.queue&&0===this.widget.activeFiles&&this.widget.settings.onComplete.call(this.element)},l.prototype.getXhr=function(){var t=this,n=e.ajaxSettings.xhr();return n.upload&&n.upload.addEventListener("progress",function(e){var n=0,i=e.loaded||e.position,r=e.total||e.totalSize;e.lengthComputable&&(n=Math.ceil(i/r*100)),t.widget.settings.onUploadProgress.call(t.widget.element,t.id,n)},!1),n},l.prototype.cancel=function(e){e=void 0!==e&&e;var t=this.status;return!!(t===i||e&&t===n)&&(this.status=o,this.widget.settings.onUploadCanceled.call(this.widget.element,this.id),t===i&&this.jqXHR.abort(),!0)},l.prototype.canUpload=function(){return this.status===n||this.status===s};var c=function(t,n){return this.element=e(t),this.settings=e.extend({},a,n),this.checkSupport()?(this.init(),this):(e.error("Browser not supported by jQuery.dmUploader"),this.settings.onFallbackMode.call(this.element),!1)};c.prototype.checkSupport=function(){return void 0!==window.FormData&&!new RegExp("/(Android (1.0|1.1|1.5|1.6|2.0|2.1))|(Windows Phone (OS 7|8.0))|(XBLWP)|(ZuneWP)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1.0|2.0|2.5|3.0))
1/").test(window.navigator.userAgent)&&!e('<input type="file" />').prop("disabled")},c.prototype.init=function(){var n=this;this.queue=[],this.queuePos=-1,this.queueRunning=!1,this.activeFiles=0,this.draggingOver=0,this.draggingOverDoc=0;var i=n.element.is("input[type=file]")?n.element:n.element.find("input[type=file]");return i.length>0&&(i.prop("multiple",this.settings.multiple),i.on("change."+t,function(t){var i=t.target&&t.target.files;i&&i.length&&(n.addFiles(i),e(this).val(""))})),this.settings.dnd&&this.initDnD(),0!==i.length||this.settings.dnd?(this.settings.onInit.call(this.element),this):(e.error("Markup error found by jQuery.dmUploader"),null)},c.prototype.initDnD=function(){var n=this;n.element.on("drop."+t,function(e){e.preventDefault(),n.draggingOver>0&&(n.draggingOver=0,n.settings.onDragLeave.call(n.element));var t=e.originalEvent&&e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var i=[];n.settings.multiple?i=t.files:i.push(t.files[0]),n.addFiles(i)}}),n.element.on("dragenter."+t,function(e){e.preventDefault(),0===n.draggingOver&&n.settings.onDragEnter.call(n.element),n.draggingOver++}),n.element.on("dragleave."+t,function(e){e.preventDefault(),n.draggingOver--,0===n.draggingOver&&n.settings.onDragLeave.call(n.element)}),n.settings.hookDocument&&(e(document).off("drop."+t).on("drop."+t,function(e){e.preventDefault(),n.draggingOverDoc>0&&(n.draggingOverDoc=0,n.settings.onDocumentDragLeave.call(n.element))}),e(document).off("dragenter."+t).on("dragenter."+t,function(e){e.preventDefault(),0===n.draggingOverDoc&&n.settings.onDocumentDragEnter.call(n.element),n.draggingOverDoc++}),e(document).off("dragleave."+t).on("dragleave."+t,function(e){e.preventDefault(),n.draggingOverDoc--,0===n.draggingOverDoc&&n.settings.onDocumentDragLeave.call(n.element)}),e(document).off("dragover."+t).on("dragover."+t,function(e){e.preventDefault()}))},c.prototype.releaseEvents=function(){this.element.off("."+t),this.element.find("input[type=file]").off("."+t),this.settings.hookDocument&&e(document).off("."+t)},c.prototype.validateFile=function(t){if(this.settings.maxFileSize>0&&t.size>this.settings.maxFileSize)return this.settings.onFileSizeError.call(this.element,t),!1;if("*"!==this.settings.allowedTypes&&!t.type.match(this.settings.allowedTypes))return this.settings.onFileTypeError.call(this.element,t),!1;if(null!==this.settings.extFilter){var n=t.name.toLowerCase().split(".").pop();if(e.inArray(n,this.settings.extFilter)<0)return this.settings.onFileExtError.call(this.element,t),!1}return new l(t,this)},c.prototype.addFiles=function(e){for(var t=0,n=0;n<e.length;n++){var i=this.validateFile(e[n]);i&&!1!==this.settings.onNewFile.call(this.element,i.id,i.data)&&(this.settings.auto&&!this.settings.queue&&i.upload(),this.queue.push(i),t++)}return 0===t||this.settings.auto&&this.settings.queue&&!this.queueRunning&&this.processQueue(),this},c.prototype.processQueue=function(){return this.queuePos++,this.queuePos>=this.queue.length?(0===this.activeFiles&&this.settings.onComplete.call(this.element),this.queuePos=this.queue.length-1,this.queueRunning=!1,!1):(this.queueRunning=!0,this.queue[this.queuePos].upload())},c.prototype.restartQueue=function(){this.queuePos=-1,this.queueRunning=!1,this.processQueue()},c.prototype.findById=function(e){for(var t=!1,n=0;n<this.queue.length;n++)if(this.queue[n].id===e){t=this.queue[n];break}return t},c.prototype.cancelAll=function(){var e=this.queueRunning;this.queueRunning=!1;for(var t=0;t<this.queue.length;t++)this.queue[t].cancel();e&&this.settings.onComplete.call(this.element)},c.prototype.startAll=function(){if(this.settings.queue)this.restartQueue();else for(var e=0;e<this.queue.length;e++)this.queue[e].upload()},c.prototype.methods={start:function(t){if(this.queueRunning)return!1;var i=!1;return void 0===t||(i=this.findById(t))?i?(i.status===o&&(i.status=n),i.upload()):(this.startAll(),!0):(e.error("File not found in jQuery.dmUploader"),!1)},cancel:function(t){var n=!1;return void 0===t||(n=this.findById(t))?n?n.cancel(!0):(this.cancelAll(),!0):(e.error("File not found in jQuery.dmUploader"),!1)},reset:function(){return this.cancelAll(),this.queue=[],this.queuePos=-1,this.activeFiles=0,!0},destroy:function(){this.cancelAll(),this.releaseEvents(),this.element.removeData(t)}},e.fn.dmUploader=function(n){var i=arguments;if("string"!=typeof n)return this.each(function(){e.data(this,t)||e.data(this,t,new c(this,n))});this.each(function(){var r=e.data(this,t);r instanceof c?"function"==typeof r.methods[n]?r.methods[n].apply(r,Array.prototype.slice.call(i,1)):e.error("Method "+n+" does not exist in jQuery.dmUploader"):e.error("Unknown plugin data found by jQuery.dmUploader")})}},void 0===(s=i.apply(t,r))||(e.exports=s)}()},3317:function(e){e.exports=function(){"use strict";function e(){return"undefined"!=typeof window}function t(e){return(s=e)&&s.document&&function(e){return 9===e.n
vendor: 4,328 bytes, line 1
1odeType}(s.document)?(n=(t=e).document,i=n.body,r=n.documentElement,{scrollHeight:function(){return Math.max(i.scrollHeight,r.scrollHeight,i.offsetHeight,r.offsetHeight,i.clientHeight,r.clientHeight)},height:function(){return t.innerHeight||r.clientHeight||i.clientHeight},scrollY:function(){return void 0!==t.pageYOffset?t.pageYOffset:(r||i.parentNode||i).scrollTop}}):function(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}(e);var t,n,i,r,s}function n(e,n,i){var r,s=function(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}(),o=!1,a=t(e),l=a.scrollY(),c={};function u(){var e=Math.round(a.scrollY()),t=a.height(),r=a.scrollHeight();c.scrollY=e,c.lastScrollY=l,c.direction=e>l?"down":"up",c.distance=Math.abs(e-l),c.isOutOfBounds=e<0||e+t>r,c.top=e<=n.offset[c.direction],c.bottom=e+t>=r,c.toleranceExceeded=c.distance>n.tolerance[c.direction],i(c),l=e,o=!1}function d(){o||(o=!0,r=requestAnimationFrame(u))}var h=!!s&&{passive:!0,capture:!1};return e.addEventListener("scroll",d,h),u(),{destroy:function(){cancelAnimationFrame(r),e.removeEventListener("scroll",d,h)}}}function i(e){return e===Object(e)?e:{down:e,up:e}}function r(e,t){t=t||{},Object.assign(this,r.options,t),this.classes=Object.assign({},r.options.classes,t.classes),this.elem=e,this.tolerance=i(this.tolerance),this.offset=i(this.offset),this.initialised=!1,this.frozen=!1}return r.prototype={constructor:r,init:function(){return r.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(e){e.scrollTracker=n(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return"down"===e.direction&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return"up"===e.direction&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(" "))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(" "))},hasClass:function(e){return this.classes[e].split(" ").every(function(e){return this.classList.contains(e)},this.elem)},update:function(e){e.isOutOfBounds||!0!==this.frozen&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},r.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},r.cutsTheMustard=!!(e()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),r}()},5127:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Ob
vendor: 8,805 bytes, line 1
1ject.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(){for(var e=window.document,t=r(e);t;)t=r(e=t.ownerDocument);return e}(),t=[],n=null,i=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(e,n){i=e&&n?h(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach(function(e){e._checkForIntersections()})}),n},o._resetCrossOriginUpdater=function(){n=null,i=null},o.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var i=this._checkForIntersections,s=null,o=null;this.POLL_INTERVAL?s=n.setInterval(i,this.POLL_INTERVAL):(a(n,"resize",i,!0),a(t,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(i)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(s&&e.clearInterval(s),l(e,"resize",i,!0)),l(t,"scroll",i,!0),o&&o.disconnect()});var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var u=r(t);u&&this._monitorIntersections(u.ownerDocument)}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var i=this.root&&(this.root.ownerDocument||this.root)||e,s=this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=i;){var s=r(n);if((n=s&&s.ownerDocument)==t)return!0}return!1});if(!s){var o=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),o(),t!=i){var a=r(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},o.prototype._checkForIntersections=function(){if(this.root||!n||i){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(i){var r=i.element,o=u(r),a=this._rootContainsTarget(r),l=i.entry,c=e&&a&&this._computeTargetAndRootIntersection(r,o,t),d=null;this._rootContainsTarget(r)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=i.entry=new s({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:o,rootBounds:d,intersectionRect:c});l?e&&a?this._hasCrossedThreshold(l,h)&&this._queuedEntries.push(h):l&&l.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(t,r,s){if("none"!=window.getComputedStyle(t).display){for(var o=r,a=f(t),l=!1;!l&&a;){var d=null,p=1==a.nodeType?window.getComputedStyle(a):{};if("none"==p.display)return null;if(a==this.root||9==a.nodeType)if(l=!0,a==this.root||a==e)n&&!this.root?!i||0==i.width&&0==i.height?(a=null,d=null,o=null):d=i:d=s;else{var m=f(a),g=m&&u(m),v=m&&this._computeTargetAndRootIntersection(m,g,s);g&&v?(a=m,d=h(g,v)):(a=null,o=null)}else{var y=a.ownerDocument;a!=y.body&&a!=y.documentElement&&"visible"!=p.overflow&&(d=u(a))}if(d&&(o=c(d,o)),!o)break;a=a&&f(a)}return o}},o.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=u(this.root);else{var n=m(this.root)?this.root:e,i=n.documentElement,r=n.body;t={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,i=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==i)for(var r=0;r<this.thresholds.length;r++){var s=this.thresholds[r];if(s==n||s==i||s<n!=s<i)return!0}},o.prototype._rootIsInDom=function(){return!this.root||p(e,this.root)},o.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return p(n,t)&&(!this.root||n==t.ownerDocument)},o.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=s}function r(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function s(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,i=this.intersectionRect,r=i.width*i.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function o(e,t){var n,i,r,s=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(s.root&&1!=s.root.nodeType&&9!=s.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),i=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout(function(){n(),r=null},i))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(s.rootMargin),this.thresholds=this._initThresholds(s.threshold),this.root=s.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function a(e,t,n,i){"function"==typeof e.addEventListener?e.addEventListener(t,n,i||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,i){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,i||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function c(e,t){var n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom),r=Math.max(e.left,t.left),s=Math.min(e.right,t.right),o=s-r,a=i-n;return o>=0&&a>=0&&{top:n,bottom:i,left:r,right:s,width:o,height:a}||null}function u(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function h(e,t){var n=t.top-e.top,i=t.left-e.left;return{top:n,left:i,height:t.height,width:t.width,bottom:n+t.height,right:i+t.width}}function p(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?r(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function m(e){return e&&9===e.nodeType}}()},5675:function(e,t,n){var i,r,s;r=[n(4692),n(5093)],void 0===(s="function"==typeof(i=function(e,t){"use strict";e.dateRangePickerLanguages={default
vendor: 22,298 bytes, line 1
1:{selected:"Selected:",day:"Day",days:"Days",apply:"Close","week-1":"mo","week-2":"tu","week-3":"we","week-4":"th","week-5":"fr","week-6":"sa","week-7":"su","week-number":"W","month-name":["january","february","march","april","may","june","july","august","september","october","november","december"],shortcuts:"Shortcuts","custom-values":"Custom Values",past:"Past",following:"Following",previous:"Previous","prev-week":"Week","prev-month":"Month","prev-year":"Year",next:"Next","next-week":"Week","next-month":"Month","next-year":"Year","less-than":"Date range should not be more than %d days","more-than":"Date range should not be less than %d days","default-more":"Please select a date range longer than %d days","default-single":"Please select a date","default-less":"Please select a date range less than %d days","default-range":"Please select a date range between %d and %d days","default-default":"Please select a date range",time:"Time",hour:"Hour",minute:"Minute"},id:{selected:"Terpilih:",day:"Hari",days:"Hari",apply:"Tutup","week-1":"sen","week-2":"sel","week-3":"rab","week-4":"kam","week-5":"jum","week-6":"sab","week-7":"min","week-number":"W","month-name":["januari","februari","maret","april","mei","juni","juli","agustus","september","oktober","november","desember"],shortcuts:"Pintas","custom-values":"Nilai yang ditentukan",past:"Yang Lalu",following:"Mengikuti",previous:"Sebelumnya","prev-week":"Minggu","prev-month":"Bulan","prev-year":"Tahun",next:"Selanjutnya","next-week":"Minggu","next-month":"Bulan","next-year":"Tahun","less-than":"Tanggal harus lebih dari %d hari","more-than":"Tanggal harus kurang dari %d hari","default-more":"Jarak tanggal harus lebih lama dari %d hari","default-single":"Silakan pilih tanggal","default-less":"Jarak rentang tanggal tidak boleh lebih lama dari %d hari","default-range":"Rentang tanggal harus antara %d dan %d hari","default-default":"Silakan pilih rentang tanggal",time:"Waktu",hour:"Jam",minute:"Menit"},az:{selected:"Seçildi:",day:" gün",days:" gün",apply:"tətbiq","week-1":"1","week-2":"2","week-3":"3","week-4":"4","week-5":"5","week-6":"6","week-7":"7","month-name":["yanvar","fevral","mart","aprel","may","iyun","iyul","avqust","sentyabr","oktyabr","noyabr","dekabr"],shortcuts:"Qısayollar",past:"Keçmiş",following:"Növbəti",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"Öncəki həftə","prev-month":"Öncəki ay","prev-year":"Öncəki il",next:"&nbsp;&nbsp;&nbsp;","next-week":"Növbəti həftə","next-month":"Növbəti ay","next-year":"Növbəti il","less-than":"Tarix aralığı %d gündən çox olmamalıdır","more-than":"Tarix aralığı %d gündən az olmamalıdır","default-more":"%d gündən çox bir tarix seçin","default-single":"Tarix seçin","default-less":"%d gündən az bir tarix seçin","default-range":"%d və %d gün aralığında tarixlər seçin","default-default":"Tarix aralığı seçin"},bg:{selected:"Избрано:",day:"Ден",days:"Дни",apply:"Затвори","week-1":"пн","week-2":"вт","week-3":"ср","week-4":"чт","week-5":"пт","week-6":"сб","week-7":"нд","week-number":"С","month-name":["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"],shortcuts:"Преки пътища","custom-values":"Персонализирани стойности",past:"Минал",following:"Следващ",previous:"Предишен","prev-week":"Седмица","prev-month":"Месец","prev-year":"Година",next:"Следващ","next-week":"Седмица","next-month":"Месец","next-year":"Година","less-than":"Периодът от време не трябва да е повече от %d дни","more-than":"Периодът от време не трябва да е по-малко от %d дни","default-more":"Моля изберете период по-дълъг от %d дни","default-single":"Моля изберете дата","default-less":"Моля изберете период по-къс от %d дни","default-range":"Моля изберете период между %d и %d дни","default-default":"Моля изберете период",time:"Време",hour:"Час",minute:"Минута"},cn:{selected:"已选择:",day:"天",days:"天",apply:"确定","week-1":"一","week-2":"二","week-3":"三","week-4":"四","week-5":"五","week-6":"六","week-7":"日","week-number":"周","month-name":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],shortcuts:"快捷选择",past:"过去",following:"将来",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"上周","prev-month":"上个月","prev-year":"去年",next:"&nbsp;&nbsp;&nbsp;","next-week":"下周","next-month":"下个月","next-year":"明年","less-than":"所选日期范围不能大于%d天","more-than":"所选日期范围不能小于%d天","default-more":"请选择大于%d天的日期范围","default-less":"请选择小于%d天的日期范围","default-range":"请选择%d天到%d天的日期范围","default-single":"请选择一个日期","default-default":"请选择一个日期范围",time:"时间",hour:"小时",minute:"分钟"},cz:{selected:"Vybráno:",day:"Den",days:"Dny",apply:"Zavřít","week-1":"po","week-2":"út","week-3":"st","week-4":"čt","week-5":"pá","week-6":"so","week-7":"ne","month-name":["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],shortcuts:"Zkratky",past:"po",following:"následující",previous:"předchozí","prev-week":"týden","prev-month":"měsíc","prev-year":"rok",next:"další","next-week":"týden","next-month":"měsíc","next-year":"rok","less-than":"Rozsah data by neměl být větší než %d dnů","more-than":"Rozsah data by neměl být menší než %d dnů","default-more":"Prosím zvolte rozsah data větší než %d dnů","default-single":"Prosím zvolte datum","default-less":"Prosím zvolte rozsah data menší než %d dnů","default-range":"Prosím zvolte rozsah data mezi %d a %d dny","default-default":"Prosím zvolte rozsah data"},de:{selected:"Auswahl:",day:"Tag",days:"Tage",apply:"Schließen","week-1":"mo","week-2":"di","week-3":"mi","week-4":"do","week-5":"fr","week-6":"sa","week-7":"so","month-name":["januar","februar","märz","april","mai","juni","juli","august","september","oktober","november","dezember"],shortcuts:"Schnellwahl",past:"Vorherige",following:"Folgende",previous:"Vorherige","prev-week":"Woche","prev-month":"Monat","prev-year":"Jahr",next:"Nächste","next-week":"Woche","next-month":"Monat","next-year":"Jahr","less-than":"Datumsbereich darf nicht größer sein als %d Tage","more-than":"Datumsbereich darf nicht kleiner sein als %d Tage","default-more":"Bitte mindestens %d Tage auswählen","default-single":"Bitte ein Datum auswählen","default-less":"Bitte weniger als %d Tage auswählen","default-range":"Bitte einen Datumsbereich zwischen %d und %d Tagen auswählen","default-default":"Bitte ein Start- und Enddatum auswählen",Time:"Zeit",hour:"Stunde",minute:"Minute"},es:{selected:"Seleccionado:",day:"Día",days:"Días",apply:"Cerrar","week-1":"lu","week-2":"ma","week-3":"mi","week-4":"ju","week-5":"vi","week-6":"sa","week-7":"do","month-name":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortcuts:"Accesos directos",past:"Pasado",following:"Siguiente",previous:"Anterior","prev-week":"Semana","prev-month":"Mes","prev-year":"Año",next:"Siguiente","next-week":"Semana","next-month":"Mes","next-year":"Año","less-than":"El rango no debería ser mayor de %d días","more-than":"El rango no debería ser menor de %d días","default-more":"Por favor selecciona un rango mayor a %d días","default-single":"Por favor selecciona un día","default-less":"Por favor selecciona un rango menor a %d días","default-range":"Por favor selecciona un rango entre %d y %d días","default-default":"Por favor selecciona un rango de fechas."},fr:{selected:"Sélection:",day:"Jour",days:"Jours",apply:"Fermer","week-1":"lu","week-2":"ma","week-3":"me","week-4":"je","week-5":"ve","week-6":"sa","week-7":"di","month-name":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortcuts:"Raccourcis",past:"Passé",following:"Suivant",previous:"Précédent","prev-week":"Semaine","prev-month":"Mois","prev-year":"Année",next:"Suivant","next-week":"Semaine","next-month":"Mois","next-year":"Année","less-than":"L'intervalle ne doit pas être supérieure à %d jours","more-than":"L'intervalle ne doit pas être inférieure à %d jours","default-more":"Merci de choisir une intervalle supérieure à %d jours","default-single":"Merci de choisir une date","default-less":"Merci de choisir une intervalle inférieure %d jours","default-range":"Merci de choisir une intervalle comprise entre %d et %d jours","default-default":"Merci de choisir une date"},hu:{selected:"Kiválasztva:",day:"Nap",days:"Nap",apply:"Ok","week-1":"h","week-2":"k","week-3":"sz","week-4":"cs","week-5":"p","week-6":"sz","week-7":"v","month-name":["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],shortcuts:"Gyorsválasztó",past:"Múlt",following:"Következő",previous:"Előző","prev-week":"Hét","prev-month":"Hónap","prev-year":"Év",next:"Következő","next-week":"Hét","next-month":"Hónap","next-year":"Év","less-than":"A kiválasztás nem lehet több %d napnál","more-than":"A kiválasztás nem lehet több %d napnál","default-more":"Válassz ki egy időszakot ami hosszabb mint %d nap","default-single":"Válassz egy napot","default-less":"Válassz ki egy időszakot ami rövidebb mint %d nap","default-range":"Válassz ki egy %d - %d nap hosszú időszakot","default-default":"Válassz ki egy időszakot"},it:{selected:"Selezionati:",day:"Giorno",days:"Giorni",apply:"Chiudi","week-1":"lu","week-2":"ma","week-3":"me","week-4":"gi","week-5":"ve","week-6":"sa","week-7":"do","month-name":["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],shortcuts:"Scorciatoie",past:"Scorso",following:"Successivo",previous:"Precedente","prev-week":"Settimana","prev-month":"Mese","prev-year":"Anno",next:"Prossimo","next-week":"Settimana","next-month":"Mese","next-year":"Anno","less-than":"L'intervallo non dev'essere maggiore di %d giorni","more-than":"L'intervallo non dev'essere minore di %d giorni","default-more":"Seleziona un intervallo maggiore di %d giorni","default-single":"Seleziona una data","default-less":"Seleziona un intervallo minore di %d giorni","default-range":"Seleziona un intervallo compreso tra i %d e i %d giorni","default-default":"Seleziona un intervallo di date"},ko:{selected:"기간:",day:"일",days:"일간",apply:"닫기","week-1":"월","week-2":"화","week-3":"수","week-4":"목","week-5":"금","week-6":"토","week-7":"일","week-number":"주","month-name":["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],shortcuts:"단축키들",past:"지난(오늘기준)",following:"이후(오늘기준)",previous:"이전","prev-week":"1주","prev-month":"1달","prev-year":"1년",next:"다음","next-week":"1주","next-month":"1달","next-year":"1년","less-than":"날짜 범위는 %d 일보다 많을 수 없습니다","more-than":"날짜 범위는 %d 일보다 작을 수 없습니다","default-more":"날짜 범위를 %d 일보다 길게 선택해 주세요","default-single":"날짜를 선택해 주세요","default-less":"%d 일보다 작은 날짜를 선택해 주세요","default-range":"%d와 %d 일 사이의 날짜 범위를 선택해 주세요","default-default":"날짜 범위를 선택해 주세요",time:"시각",hour:"시",minute:"분"},no:{selected:"Valgt:",day:"Dag",days:"Dager",apply:"Lukk","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lø","week-7":"sø","month-name":["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],shortcuts:"Snarveier","custom-values":"Egendefinerte Verdier",past:"Over",following:"Følger",previous:"Forrige","prev-week":"Uke","prev-month":"Måned","prev-year":"År",next:"Neste","next-week":"Uke","next-month":"Måned","next-year":"År","less-than":"Datoperioden skal ikkje være lengre enn %d dager","more-than":"Datoperioden skal ikkje være kortere enn %d dager","default-more":"Vennligst velg ein datoperiode lengre enn %d dager","default-single":"Vennligst velg ein dato","default-less":"Vennligst velg ein datoperiode mindre enn %d dager","default-range":"Vennligst velg ein datoperiode mellom %d og %d dager","default-default":"Vennligst velg ein datoperiode",time:"Tid",hour:"Time",minute:"Minutter"},nl:{selected:"Geselecteerd:",day:"Dag",days:"Dagen",apply:"Ok","week-1":"ma","week-2":"di","week-3":"wo","week-4":"do","week-5":"vr","week-6":"za","week-7":"zo","month-name":["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortcuts:"Snelkoppelingen","custom-values":"Aangepaste waarden",past:"Verleden",following:"Komend",previous:"Vorige","prev-week":"Week","prev-month":"Maand","prev-year":"Jaar",next:"Volgende","next-week":"Week","next-month":"Maand","next-year":"Jaar","less-than":"Interval moet langer dan %d dagen zijn","more-than":"Interval mag niet minder dan %d dagen zijn","default-more":"Selecteer een interval langer dan %dagen","default-single":"Selecteer een datum","default-less":"Selecteer een interval minder dan %d dagen","default-range":"Selecteer een interval tussen %d en %d dagen","default-default":"Selecteer een interval",time:"Tijd",hour:"Uur",minute:"Minuut"},ru:{selected:"Выбрано:",day:"День",days:"Дней",apply:"Применить","week-1":"пн","week-2":"вт","week-3":"ср","week-4":"чт","week-5":"пт","week-6":"сб","week-7":"вс","month-name":["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"],shortcuts:"Быстрый выбор","custom-values":"Пользовательские значения",past:"Прошедшие",following:"Следующие",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"Неделя","prev-month":"Месяц","prev-year":"Год",next:"&nbsp;&nbsp;&nbsp;","next-week":"Неделя","next-month":"Месяц","next-year":"Год","less-than":"Диапазон не может быть больше %d дней","more-than":"Диапазон не может быть меньше %d дней","default-more":"Пожалуйста выберите диапазон больше %d дней","default-single":"Пожалуйста выберите дату","default-less":"Пожалуйста выберите диапазон меньше %d дней","default-range":"Пожалуйста выберите диапазон между %d и %d днями","default-default":"Пожалуйста выберите диапазон",time:"Время",hour:"Часы",minute:"Минуты"},pl:{selected:"Wybrany:",day:"Dzień",days:"Dni",apply:"Zamknij","week-1":"pon","week-2":"wt","week-3":"śr","week-4":"czw","week-5":"pt","week-6":"so","week-7":"nd","month-name":["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],shortcuts:"Skróty","custom-values":"Niestandardowe wartości",past:"Przeszłe",following:"Następne",previous:"Poprzednie","prev-week":"tydzień","prev-month":"miesiąc","prev-year":"rok",next:"Następny","next-week":"tydzień","next-month":"miesiąc","next-year":"rok","less-than":"Okres nie powinien być dłuższy niż %d dni","more-than":"Okres nie powinien być krótszy niż  %d ni","default-more":"Wybierz okres dłuższy niż %d dni","default-single":"Wybierz datę","default-less":"Wybierz okres krótszy niż %d dni","default-range":"Wybierz okres trwający od %d do %d dni","default-default":"Wybierz okres",time:"Czas",hour:"Godzina",minute:"Minuta"},se:{selected:"Vald:",day:"dag",days:"dagar",apply:"godkänn","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lö","week-7":"sö","month-name":["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],shortcuts:"genvägar","custom-values":"Anpassade värden",past:"över",following:"följande",previous:"förra","prev-week":"vecka","prev-month":"månad","prev-year":"år",next:"nästa","next-week":"vecka","next-month":"måned","next-year":"år","less-than":"Datumintervall bör inte vara mindre än %d dagar","more-than":"Datumintervall bör inte vara mer än %d dagar","default-more":"Välj ett datumintervall längre än %d dagar","default-single":"Välj ett datum","default-less":"Välj ett datumintervall mindre än %d dagar","default-range":"Välj ett datumintervall mellan %d och %d dagar","default-default":"Välj ett datumintervall",time:"tid",hour:"timme",minute:"minut"},pt:{selected:"Selecionado:",day:"Dia",days:"Dias",apply:"Fechar","week-1":"seg","week-2":"ter","week-3":"qua","week-4":"qui","week-5":"sex","week-6":"sab","week-7":"dom","week-number":"N","month-name":["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],shortcuts:"Atalhos","custom-values":"Valores Personalizados",past:"Passado",following:"Seguinte",previous:"Anterior","prev-week":"Semana","prev-month":"Mês","prev-year":"Ano",next:"Próximo","next-week":"Próxima Semana","next-month":"Próximo Mês","next-year":"Próximo Ano","less-than":"O período selecionado não deve ser maior que %d dias","more-than":"O período selecionado não deve ser menor que %d dias","default-more":"Selecione um período superior a %d dias","default-single":"Selecione uma data","default-less":"Selecione um período inferior a %d dias","default-range":"Selecione um período de %d a %d dias","default-default":"Selecione um período",time:"Tempo",hour:"Hora",minute:"Minuto"},tc:{selected:"已選擇:",day:"天",days:"天",apply:"確定","week-1":"一","week-2":"二","week-3":"三","week-4":"四","week-5":"五","week-6":"六","week-7":"日","week-number":"周","month-name":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],shortcuts:"快速選擇",past:"過去",following:"將來",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"上週","prev-month":"上個月","prev-year":"去年",next:"&nbsp;&nbsp;&nbsp;","next-week":"下周","next-month":"下個月","next-year":"明年","less-than":"所選日期範圍不能大於%d天","more-than":"所選日期範圍不能小於%d天","default-more":"請選擇大於%d天的日期範圍","default-less":"請選擇小於%d天的日期範圍","default-range":"請選擇%d天到%d天的日期範圍","default-single":"請選擇一個日期","default-default":"請選擇一個日期範圍",time:"日期",hour:"小時",minute:"分鐘"},ja:{selected:"選択しました:",day:"日",days:"日々",apply:"閉じる","week-1":"月","week-2":"火","week-3":"水","week-4":"木","week-5":"金","week-6":"土","week-7":"日","month-name":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],shortcuts:"クイック選択",past:"過去",following:"将来",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"先週、","prev-month":"先月","prev-year":"昨年",next:"&nbsp;&nbsp;&nbsp;","next-week":"来週","next-month":"来月","next-year":"来年","less-than":"日付の範囲は %d 日以上にすべきではありません","more-than":"日付の範囲は %d 日を下回ってはいけません","default-more":"%d 日よりも長い期間を選択してください","default-less":"%d 日未満の期間を選択してください","default-range":"%d と% d日の間の日付範囲を選択してください","default-single":"日付を選択してください","default-default":"日付範囲を選択してください",time:"時間",hour:"時間",minute:"分"},da:{selected:"Valgt:",day:"Dag",days:"Dage",apply:"Luk","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lö","week-7":"sö","month-name":["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],shortcuts:"genveje","custom-values":"Brugerdefinerede værdier",past:"Forbi",following:"Følgende",previous:"Forrige","prev-week":"uge","prev-month":"månad","prev-year":"år",next:"Næste","next-week":"Næste uge","next-month":"Næste måned","next-year":"Næste år","less-than":"Dato interval bør ikke være med end %d dage","more-than":"Dato interval bør ikke være mindre end %d dage","default-more":"Vælg datointerval længere end %d dage","default-single":"Vælg dato","default-less":"Vælg datointerval mindre end %d dage","default-range":"Vælg datointerval mellem %d og %d dage","default-default":"Vælg datointerval",time:"tid",hour:"time",minute:"minut"},fi:{selected:"Valittu:",day:"Päivä",days:"Päivää",apply:"Sulje","week-1":"ma","week-2":"ti","week-3":"ke","week-4":"to","week-5":"pe","week-6":"la","week-7":"su","week-number":"V","month-name":["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],shortcuts:"Pikavalinnat","custom-values":"Mukautetut Arvot",past:"Menneet",following:"Tulevat",previous:"Edellinen","prev-week":"Viikko","prev-month":"Kuukausi","prev-year":"Vuosi",next:"Seuraava","next-week":"Viikko","next-month":"Kuukausi","next-year":"Vuosi","less-than":"Aikajakson tulisi olla vähemmän kuin %d päivää","more-than":"Aikajakson ei tulisi olla vähempää kuin %d päivää","default-more":"Valitse pidempi aikajakso kuin %d päivää","default-single":"Valitse päivä","default-less":"Valitse lyhyempi aikajakso kuin %d päivää","default-range":"Valitse aikajakso %d ja %d päivän väliltä","default-default":"Valitse aikajakso",time:"Aika",hour:"Tunti",minute:"Minuutti"}},e.fn.dateRangePicker=function(
1n){function i(t,n){return n.contains(t.target)||t.target==n||null!=n.childNodes&&e.inArray(t.target,n.childNodes)>=0}
vendor: 18,278 bytes, line 1
1function r(){if(!n.inline){var t=e(K).offset();if("relative"==e(n.container).css("position")){var i=e(n.container).offset();W.css({top:t.top-i.top+e(K).outerHeight()+4,left:t.left-i.left})}else t.left<460?W.css({top:t.top+e(K).outerHeight()+parseInt(e("body").css("border-top")||0,10),left:t.left}):W.css({top:t.top+e(K).outerHeight()+parseInt(e("body").css("border-top")||0,10),left:t.left+e(K).width()-W.width()-16})}}function s(t){r(),P(),o(),n.customOpenAnimation?n.customOpenAnimation.call(W.get(0),function(){e(K).trigger("datepicker-opened",{relatedTarget:W})}):W.slideDown(t,function(){e(K).trigger("datepicker-opened",{relatedTarget:W})}),e(K).trigger("datepicker-open",{relatedTarget:W}),M(),l()}function o(){var e=n.getValue.call(J),i=e?e.split(n.separator):"";if(i&&(1==i.length&&n.singleDate||i.length>=2)){var r=n.format;r.match(/Do/)&&(r=r.replace(/Do/,"D"),i[0]=i[0].replace(/(\d+)(th|nd|st)/,"$1"),i.length>=2&&(i[1]=i[1].replace(/(\d+)(th|nd|st)/,"$1"))),Y=!1,i.length>=2?C(a(i[0],r,t.locale(n.language)),a(i[1],r,t.locale(n.language))):1==i.length&&n.singleDate&&S(a(i[0],r,t.locale(n.language))),Y=!0}}function a(e,n,i){return t(e,n,i).isValid()?t(e,n,i).toDate():t().toDate()}function l(){var e=W.find(".gap").css("margin-left");e&&(e=parseInt(e));var t=W.find(".month1").width(),n=W.find(".gap").width()+(e?2*e:0),i=W.find(".month2").width();W.find(".month-wrapper").width(t+n+i)}function c(e,n){W.find("."+e+" input[type=range].hour-range").val(t(n).hours()),W.find("."+e+" input[type=range].minute-range").val(t(n).minutes()),d(e,t(n).format("HH"),t(n).format("mm"))}function u(e,i){n[e]=parseInt(t(parseInt(i)).startOf("day").add(t(n[e+"Time"]).format("HH"),"h").add(t(n[e+"Time"]).format("mm"),"m").valueOf())}function d(e,i,r){function s(e,t){var s=t.format("HH"),o=t.format("mm");n[e]=t.startOf("day").add(i||s,"h").add(r||o,"m").valueOf()}switch(i&&W.find("."+e+" .hour-val").text(i),r&&W.find("."+e+" .minute-val").text(r),e){case"time1":n.start&&s("start",t(n.start)),s("startTime",t(n.startTime||t().valueOf()));break;case"time2":n.end&&s("end",t(n.end)),s("endTime",t(n.endTime||t().valueOf()))}_(),x(),T()}function h(e){var i=e;return"week-range"===n.batchMode?i="monday"===n.startOfWeek?t(parseInt(e)).startOf("isoweek").valueOf():t(parseInt(e)).startOf("week").valueOf():"month-range"===n.batchMode&&(i=t(parseInt(e)).startOf("month").valueOf()),i}function p(e){var i=e;return"week-range"===n.batchMode?i="monday"===n.startOfWeek?t(parseInt(e)).endOf("isoweek").valueOf():t(parseInt(e)).endOf("week").valueOf():"month-range"===n.batchMode&&(i=t(parseInt(e)).endOf("month").valueOf()),i}function f(i){if(!i.hasClass("invalid")){var r=i.attr("time");if(i.addClass("checked"),n.singleDate?(n.start=r,n.end=!1):"week"===n.batchMode?"monday"===n.startOfWeek?(n.start=t(parseInt(r)).startOf("isoweek").valueOf(),n.end=t(parseInt(r)).endOf("isoweek").valueOf()):(n.end=t(parseInt(r)).endOf("week").valueOf(),n.start=t(parseInt(r)).startOf("week").valueOf()):"workweek"===n.batchMode?(n.start=t(parseInt(r)).day(1).valueOf(),n.end=t(parseInt(r)).day(5).valueOf()):"weekend"===n.batchMode?(n.start=t(parseInt(r)).day(6).valueOf(),n.end=t(parseInt(r)).day(7).valueOf()):"month"===n.batchMode?(n.start=t(parseInt(r)).startOf("month").valueOf(),n.end=t(parseInt(r)).endOf("month").valueOf()):n.start&&n.end||!n.start&&!n.end?(n.start=h(r),n.end=!1):n.start&&(n.end=p(r),n.time.enabled&&u("end",n.end)),n.time.enabled&&(n.start&&u("start",n.start),n.end&&u("end",n.end)),!n.singleDate&&n.start&&n.end&&n.start>n.end){var s=n.end;n.end=p(n.start),n.start=h(s),n.time.enabled&&n.swapTime&&(c("time1",n.start),c("time2",n.end))}n.start=parseInt(n.start),n.end=parseInt(n.end),b(),n.start&&!n.end&&(e(K).trigger("datepicker-first-date-selected",{date1:new Date(n.start)}),y(i)),v(),_(),x(),T(),w()}}function m(e){var i,r,s=parseInt(e.attr("data-start-time"),10);n.startWeek?(W.find(".week-number-selected").removeClass("week-number-selected"),i=new Date(s<n.startWeek?s:n.startWeek),r=new Date(s<n.startWeek?n.startWeek:s),n.startWeek=!1,n.start=t(i).day("monday"==n.startOfWeek?1:0).valueOf(),n.end=t(r).day("monday"==n.startOfWeek?7:6).valueOf()):(n.startWeek=s,e.addClass("week-number-selected"),i=new Date(s),n.start=t(i).day("monday"==n.startOfWeek?1:0).valueOf(),n.end=t(i).day("monday"==n.startOfWeek?7:6).valueOf()),v(),_(),x(),T(),w()}function g(e){if(e=parseInt(e,10),n.startDate&&N(e,n.startDate)<0)return!1;if(n.endDate&&N(e,n.endDate)>0)return!1;if(n.start&&!n.end&&!n.singleDate){if(n.maxDays>0&&k(e,n.start)>n.maxDays)return!1;if(n.minDays>0&&k(e,n.start)<n.minDays)return!1;if(n.selectForward&&e<n.start)return!1;if(n.selectBackward&&e>n.start)return!1;if(n.beforeShowDay&&"function"==typeof n.beforeShowDay){for(var t=!0,i=e;k(i,n.start)>1;){if(!n.beforeShowDay(new Date(i))[0]){t=!1;break}if(Math.abs(i-n.start)<864e5)break;i>n.start&&(i-=864e5),i<n.start&&(i+=864e5)}if(!t)return!1}}return!0}function v(){return W.find(".day.invalid.tmp").removeClass("tmp invalid").addClass("valid"),n.start&&!n.end&&W.find(".day.toMonth.valid").each(function(){g(parseInt(e(this).attr("time"),10))?e(this).addClass("valid tmp").removeClass("invalid"):e(this).addClass("invalid tmp").removeClass("valid")}),!0}function y(t){var i=parseInt(t.attr("time")),r="";if(t.hasClass("has-tooltip")&&t.attr("data-tooltip"))r='<span style="white-space:nowrap">'+t.attr("data-tooltip")+"</span>";else if(!t.hasClass("invalid"))if(n.singleDate)W.find(".day.hovering").removeClass("hovering"),t.addClass("hovering");else if(W.find(".day").each(function(){var t=parseInt(e(this).attr("time"));n.start,n.end,t==i?e(this).addClass("hovering"):e(this).removeClass("hovering"),n.start&&!n.end&&(n.start<t&&i>=t||n.start>t&&i<=t)?e(this).addClass("hovering"):e(this).removeClass("hovering")}),n.start&&!n.end){var s=k(i,n.start);n.hoveringTooltip&&("function"==typeof n.hoveringTooltip?r=n.hoveringTooltip(s,n.start,i):!0===n.hoveringTooltip&&s>1&&(r=s+" "+z("days")))}if(r){var o=t.offset(),a=W.offset(),l=o.left-a.left,c=o.top-a.top;l+=t.width()/2;var u=W.find(".date-range-length-tip"),d=u.css({visibility:"hidden",display:"none"}).html(r).width(),h=u.height();l-=d/2,c-=h,setTimeout(function(){u.css({left:l,top:c,display:"block",visibility:"visible"})},10)}else W.find(".date-range-length-tip").hide()}function b(){W.find(".day.hovering").removeClass("hovering"),W.find(".date-range-length-tip").hide()}function w(){!0===n.singleDate?Y&&n.start&&n.autoClose&&O():Y&&n.start&&n.end&&n.autoClose&&O()}function _(){var e=Math.ceil((n.end-n.start)/864e5)+1;n.singleDate?n.start&&!n.end?W.find(".drp_top-bar").removeClass("error").addClass("normal"):W.find(".drp_top-bar").removeClass("error").removeClass("normal"):n.maxDays&&e>n.maxDays?(n.start=!1,n.end=!1,W.find(".day").removeClass("checked"),W.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(z("less-than").replace("%d",n.maxDays))):n.minDays&&e<n.minDays?(n.start=!1,n.end=!1,W.find(".day").removeClass("checked"),W.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(z("more-than").replace("%d",n.minDays))):n.start||n.end?W.find(".drp_top-bar").removeClass("error").addClass("normal"):W.find(".drp_top-bar").removeClass("error").removeClass("normal"),n.singleDate&&n.start&&!n.end||!n.singleDate&&n.start&&n.end?W.find(".apply-btn").removeClass("disabled"):W.find(".apply-btn").addClass("disabled"),n.batchMode&&(n.start&&n.startDate&&N(n.start,n.startDate)<0||n.end&&n.endDate&&N(n.end,n.endDate)>0)&&(n.start=!1,n.end=!1,W.find(".day").removeClass("checked"))}function x(t,i){var r;W.find(".start-day").html("..."),W.find(".end-day").html("..."),W.find(".selected-days").hide(),n.start&&W.find(".start-day").html(D(new Date(parseInt(n.start)))),n.end&&W.find(".end-day").html(D(new Date(parseInt(n.end)))),n.start&&n.singleDate?(W.find(".apply-btn").removeClass("disabled"),r=D(new Date(n.start)),n.setValue.call(J,r,D(new Date(n.start)),D(new Date(n.end))),Y&&!i&&e(K).trigger("datepicker-change",{value:r,date1:new Date(n.start)})):n.start&&n.end?(W.find(".selected-days").show().find(".selected-days-num").html(k(n.end,n.start)),W.find(".apply-btn").removeClass("disabled"),r=D(new Date(n.start))+n.separator+D(new Date(n.end)),n.setValue.call(J,r,D(new Date(n.start)),D(new Date(n.end))),Y&&!i&&e(K).trigger("datepicker-change",{value:r,date1:new Date(n.start),date2:new Date(n.end)})):t?W.find(".apply-btn").removeClass("disabled"):W.find(".apply-btn").addClass("disabled")}function k(e,t){return Math.abs(j(e)-j(t))+1}function C(e,t,i){if(e.getTime()>t.getTime()){var r=t;t=e,e=r,r=null}var s=!0;return n.startDate&&N(e,n.startDate)<0&&(s=!1),n.endDate&&N(t,n.endDate)>0&&(s=!1),s?(n.start=e.getTime(),n.end=t.getTime(),n.time.enabled&&(c("time1",e),c("time2",t)),(n.stickyMonths||N(e,t)>0&&0===L(e,t))&&(n.lookBehind?e=B(t):t=R(e)),n.stickyMonths&&!1!==n.endDate&&L(t,n.endDate)>0&&(e=B(e),t=B(t)),n.stickyMonths||0===L(e,t)&&(n.lookBehind?e=B(t):t=R(e)),E(e,"month1"),E(t,"month2"),M(),_(),x(!1,i),void w()):(E(n.startDate,"month1"),E(R(n.startDate),"month2"),void M())}function S(e){var t=!0;n.startDate&&N(e,n.startDate)<0&&(t=!1),n.endDate&&N(e,n.endDate)>0&&(t=!1),t?(n.start=e.getTime(),n.time.enabled&&c("time1",e),E(e,"month1"),!0!==n.singleMonth&&E(R(e),"month2"),M(),x(),w()):E(n.startDate,"month1")}function T(){(n.start||n.end)&&(W.find(".day").each(function(){var i=parseInt(e(this).attr("time")),r=n.start,s=n.end;n.time.enabled&&(i=t(i).startOf("day").valueOf(),r=t(r||t().valueOf()).startOf("day").valueOf(),s=t(s||t().valueOf()).startOf("day").valueOf()),n.start&&n.end&&s>=i&&r<=i||n.start&&!n.end&&t(r).format("YYYY-MM-DD")==t(i).format("YYYY-MM-DD")?e(this).addClass("checked"):e(this).removeClass("checked"),n.start&&t(r).format("YYYY-MM-DD")==t(i).format("YYYY-MM-DD")?e(this).addClass("first-date-selected"):e(this).removeClass("first-date-selected"),n.end&&t(s).format("YYYY-MM-DD")==t(i).format("YYYY-MM-DD")?e(this).addClass("last-date-selected"):e(this).removeClass("last-date-selected")}),W.find(".week-number").each(function(){e(this).attr("data-start-time")==n.startWeek&&e(this).addClass("week-number-selected")}))}function E(e,i){var r=function(e){return z("month-name")[e]}((e=t(e).toDate()).getMonth());W.find("."+i+" .month-name").html(r+" "+e.getFullYear()),W.find("."+i+" tbody").html(function(e){var i=[];e.setDate(1);var r,s,o=(new Date(e.getTime()-864e5),new Date),a=e.getDay();if(0===a&&"monday"===n.startOfWeek&&(a=7),a>0)for(var l=a;l>0;l--)s=g((h=new Date(e.getTime()-864e5*l)).getTime()),n.startDate&&N(h,n.startDate)<0&&(s=!1),n.endDate&&N(h,n.endDate)>0&&(s=!1),i.push({date:h,type:"lastMonth",day:h.getDate(),time:h.getTime(),valid:s});var c=e.getMonth();for(l=0;l<40;l++)s=g((r=t(e).add(l,"days").toDate()).getTime()),n.startDate&&N(r,n.startDate)<0&&(s=!1),n.endDate&&N(r,n.endDate)>0&&(s=!1),i.push({date:r,type:r.getMonth()==c?"toMonth":"nextMonth",day:r.getDate(),time:r.getTime(),valid:s});for(var u=[],d=0;d<6&&"nextMonth"!=i[7*d].type;d++){u.push("<tr>");for(var h=0;h<7;h++){r=i[7*d+("monday"==n.startOfWeek?h+1:h)];var p=t(r.time).format("L")==t(o).format("L");if(r.extraClass="",r.tooltip="",r.valid&&n.beforeShowDay&&"function"==typeof n.beforeShowDay){var f=n.beforeShowDay(t(r.time).toDate());r.valid=f[0],r.extraClass=f[1]||"",r.tooltip=f[2]||"",""!==r.tooltip&&(r.extraClass+=" has-tooltip ")}var m={time:r.time,"data-tooltip":r.tooltip,class:"day "+r.type+" "+r.extraClass+" "+(r.valid?"valid":"invalid")+" "+(p?"real-today":"")};0===h&&n.showWeekNumbers&&u.push('<td><div class="week-number" data-start-time="'+r.time+'">'+n.getWeekNumber(r.date)+"</div></td>"),u.push("<td "+$({},n.dayTdAttrs,r)+"><div "+$(m,n.dayDivAttrs,r)+">"+H(r.time,r.day)+"</div></td>")}u.push("</tr>")}return u.join("")}(e)),n[i]=e,v(),I()}function I(){W.find(".day").unbind("click").click(function(t){f(e(this))}),W.find(".day").unbind("mouseenter").mouseenter(function(t){y(e(this))}),W.find(".day").unbind("mouseleave").mouseleave(function(e){W.find(".date-range-length-tip").hide(),n.singleDate&&b()}),W.find(".week-number").unbind("click").click(function(t){m(e(this))})}function A(e,t){W.find("."+t).append("<div><span>"+z("Time")+': <span class="hour-val">00</span>:<span class="minute-val">00</span></span></div><div class="hour"><label>'+z("Hour")+': <input type="range" class="hour-range" name="hour" min="0" max="23"></label></div><div class="minute"><label>'+z("Minute")+': <input type="range" class="minute-range" name="minute" min="0" max="59"></label></div>'),c(t,e)}function D(e){return t(e).format(n.format)}function M(){T();var e=parseInt(t(n.month1).format("YYYYMM")),i=parseInt(t(n.month2).format("YYYYMM")),r=Math.abs(e-i);r>1&&89!=r?W.addClass("has-gap").removeClass("no-gap").find(".gap").css("visibility","visible"):W.removeClass("has-gap").addClass("no-gap").find(".gap").css("visibility","hidden");var s=W.find("table.month1").height(),o=W.find("table.month2").height();W.find(".gap").height(Math.max(s,o)+10)}function O(){if(!n.alwaysOpen){var t=function(){e(K).data("date-picker-opened",!1),e(K).trigger("datepicker-closed",{relatedTarget:W})};n.customCloseAnimation?n.customCloseAnimation.call(W.get(0),t):e(W).slideUp(n.duration,t),e(K).trigger("datepicker-close",{relatedTarget:W})}}function P(){E(n.month1,"month1"),E(n.month2,"month2")}function L(e,n){var i=parseInt(t(e).format("YYYYMM"))-parseInt(t(n).format("YYYYMM"));return i>0?1:0===i?0:-1}function N(e,n){var i=parseInt(t(e).format("YYYYMMDD"))-parseInt(t(n).format("YYYYMMDD"));return i>0?1:0===i?0:-1}function R(e){return t(e).add(1,"months").toDate()}function B(e){return t(e).add(-1,"months").toDate()}function F(){var e=n.showWeekNumbers?"<th>"+z("week-number")+"</th>":"";return"monday"==n.startOfWeek?e+"<th>"+z("week-1")+"</th><th>"+z("week-2")+"</th><th>"+z("week-3")+"</th><th>"+z("week-4")+"</th><th>"+z("week-5")+"</th><th>"+z("week-6")+"</th><th>"+z("week-7")+"</th>":e+"<th>"+z("week-7")+"</th><th>"+z("week-1")+"</th><th>"+z("week-2")+"</th><th>"+z("week-3")+"</th><th>"+z("week-4")+"</th><th>"+z("week-5")+"</th><th>"+z("week-6")+"</th>"}function V(e){return e=t(e),!(!n.startDate||!e.endOf("month").isBefore(n.startDate))||!(!n.endDate||!e.startOf("month").isAfter(n.endDate))}function $(t,n,i){var r=e.extend(!0,{},t);e.each(n,function(e,t){var n=t(i);for(var s in n)r.hasOwnProperty(s)?r[s]+=n[s]:r[s]=n[s]});var s="";for(var o in r)r.hasOwnProperty(o)&&(s+=o+'="'+r[o]+'" ');return s}function j(e){return Math.floor(function(e){return t.isMoment(e)&&(e=e.toDate().getTime()),"object"==typeof e&&e.getTime&&(e=e.getTime()),"string"!=typeof e||e.match(/\d{13}/)||(e=t(e,n.format).toDate().getTime()),parseInt(e,10)-60*(new Date).getTimezoneOffset()*1e3}(e)/864e5)}function H(e,t){return n.showDateFilter&&"function"==typeof n.showDateFilter?n.showDateFilter(e,t):t}function z(t){var n=t.toLowerCase(),i=t in Z?Z[t]:n in Z?Z[n]:null,r=e.dateRangePickerLanguages.default;return null==i&&(i=t in r?r[t]:n in r?r[n]:""),i}function U(){var e=n.defaultTime?n.defaultTime:new Date;return n.lookBehind?(n.startDate&&L(e,n.startDate)<0&&(e=R(t(n.startDate).toDate())),n.endDate&&L(e,n.endDate)>0&&(e=t(n.endDate).toDate())):(n.startDate&&L(e,n.startDate)<0&&(e=t(n.startDate).toDate()),n.endDate&&L(R(e),n.endDate)>0&&(e=B(t(n.endDate).toDate()))),n.singleDate&&(n.startDate&&L(e,n.startDate)<0&&(e=t(n.startDate).toDate()),n.endDate&&L(e,n.endDate)>0&&(e=t(n.endDate).toDate())),e}function q(e){e||(e=U()),n.lookBehind?(E(B(e),"month1"),E(e,"month2")):(E(e,"month1"),E(R(e),"month2")),n.singleDate&&E(e,"month1"),T(),M()}n||(n={}),(n=e.extend(!0,{autoClose:!1,format:"YYYY-MM-DD",separator:" to ",language:"auto",startOfWeek:"sunday",getValue:function(){return e(this).val()},setValue:function(t){e(this).attr("readonly")||e(this).is(":disabled")||t==e(this).val()||e(this).val(t)},startDate:!1,endDate:!1,time:{enabled:!1},minDays:0,maxDays:0,showShortcuts:!1,shortcuts:{},customShortcuts:[],inline:!1,container:"body",alwaysOpen:!1,singleDate:!1,lookBehind:!1,batchMode:!1,duration:200,stickyMonths:!1,dayDivAttrs:[],dayTdAttrs:[],selectForward:!1,selectBackward:!1,applyBtnClass:"",singleMonth:"auto",hoveringTooltip:function(e,t,n){return e>1?e+" "+z("days"):""},showTopbar:!0,swapTime:!1,showWeekNumbers:!1,getWeekNumber:function(e){return t(e).format("w")},customOpenAnimation:null,customCloseAnimation:null,customArrowPrevSymbol:null,customArrowNextSymbol:null},n)).start=!1,n.end=!1,n.startWeek=!1,n.isTouchDevice="ontouchstart"in window||navigator.msMaxTouchPoints,n.isTouchDevice&&(n.hoveringTooltip=!1),"auto"==n.singleMonth&&(n.singleMonth=e(window).width()<480),n.singleMonth&&(n.stickyMonths=!1),n.showTopbar||(n.autoClose=!0),n.startDate&&"string"==typeof n.startDate&&(n.startDate=t(n.startDate,n.format).toDate()),n.endDate&&"string"==typeof n.endDate&&(n.endDate=t(n.endDate,n.format).toDate());var W,G,Z=function(){if("auto"==n.language){var t=navigator.language?navigator.language:navigator.browserLanguage;if(!t)return e.dateRangePickerLanguages.default;for(var i in t=t.toLowerCase(),e.dateRangePickerLanguages)if(-1!==t.indexOf(i))return e.dateRangePickerLanguages[i];return e.dateRangePickerLanguages.default}return n.language&&n.language in e.dateRangePickerLanguages?e.dateRangePickerLanguages[n.language]:e.dateRangePickerLanguages.default}(),Y=!1,K=this,J=e(K).get(0);return e(this).unbind(".datepicker").bind("click.datepicker",function(e){W.is(":visible")||s(n.duration)}).bind("change.datepicker",function(e){o()}).bind("keyup.datepicker",function(){try{clearTimeout(G)}catch(e){}G=setTimeout(function(){o()},2e3)}),function(){var s=this;if(e(this).data("date-picker-opened"))O();else{e(this).data("date-picker-opened",!0),(W=function(){var t='<div class="date-picker-wrapper';n.extraClass&&(t+=" "+n.extraClass+" "),n.singleDate&&(t+=" single-date "),n.showShortcuts||(t+=" no-shortcuts "),n.showTopbar||(t+=" no-topbar "),n.customTopBar&&(t+=" custom-topbar "),t+='">',n.showTopbar&&(t+='<div class="drp_top-bar">',n.customTopBar?("function"==typeof n.customTopBar&&(n.customTopBar=n.customTopBar()),t+='<div class="custom-top">'+n.customTopBar+"</div>"):(t+='<div class="normal-top"><span style="color:#333">'+z("selected")+' </span> <b class="start-day">...</b>
1',n.singleDate||(t+=' <span class="separator-day">'+n.separator+'</span> <b class="end-day">...</b> <i class="selected-days">(<span class="selected-days-num">3</span> '+z("days")+")</i>"),t+="</div>",t+='<div class="error-top">error</div><div class="default-top">default</div>'),t+='<input type="button" class="apply-btn disabled'+function(){var e="";return!0===n.autoClose&&(e+=" hide"),""!==n.applyBtnClass&&(e+=" "+n.applyBtnClass),e}()+'" value="'+z("apply")+'" />',t+="</div>");var i=n.showWeekNumbers?6:5,r="&lt;";n.customArrowPrevSymbol&&(r=n.customArrowPrevSymbol);var s="&gt;";if(n.customArrowNextSymbol&&(s=n.customArrowNextSymbol),t+='<div class="month-wrapper">   <table class="month1" cellspacing="0" border="0" cellpadding="0">       <thead>           <tr class="caption">               <th style="width:27px;">                   <span class="prev">'+r+'                   </span>               </th>               <th colspan="'+i+'" class="month-name">               </th>               <th style="width:27px;">'+(n.singleDate||!n.stickyMonths?'<span class="next">'+s+"</span>":"")+'               </th>           </tr>           <tr class="week-name">'+F()+"       </thead>       <tbody></tbody>   </table>",!n.singleMonth&&(t+='<div class="gap">'+function(){for(var e=['<div class="gap-top-mask"></div><div class="gap-bottom-mask"></div><div class="gap-lines">'],t=0;t<20;t++)e.push('<div class="gap-line"><div class="gap-1"></div><div class="gap-2"></div><div class="gap-3"></div></div>');return e.push("</div>"),e.join("")}()+'</div><table class="month2" cellspacing="0" border="0" cellpadding="0">   <thead>   <tr class="caption">       <th style="width:27px;">'+(n.stickyMonths?"":'<span class="prev">'+r+"</span>")+'       </th>       <th colspan="'+i+'" class="month-name">       </th>       <th style="width:27px;">           <span class="next">'+s+'</span>       </th>   </tr>   <tr class="week-name">'+F()+"   </thead>   <tbody></tbody></table>"),t+='<div style="clear:both;height:0;font-size:0;"></div><div class="time"><div class="time1"></div>',n.singleDate||(t+='<div class="time2"></div>'),t+='</div><div style="clear:both;height:0;font-size:0;"></div></div>',t+='<div class="footer">',n.showShortcuts){t+='<div class="shortcuts"><b>'+z("shortcuts")+"</b>";var o=n.shortcuts;if(o){var a;if(o["prev-days"]&&o["prev-days"].length>0){t+='&nbsp;<span class="prev-days">'+z("past");for(var l=0;l<o["prev-days"].length;l++)a=o["prev-days"][l],a+=z(o["prev-days"][l]>1?"days":"day"),t+=' <a href="javascript:;" shortcut="day,-'+o["prev-days"][l]+'">'+a+"</a>";t+="</span>"}if(o["next-days"]&&o["next-days"].length>0){for(t+='&nbsp;<span class="next-days">'+z("following"),l=0;l<o["next-days"].length;l++)a=o["next-days"][l],a+=z(o["next-days"][l]>1?"days":"day"),t+=' <a href="javascript:;" shortcut="day,'+o["next-days"][l]+'">'+a+"</a>";t+="</span>"}if(o.prev&&o.prev.length>0){for(t+='&nbsp;<span class="prev-buttons">'+z("previous"),l=0;l<o.prev.length;l++)a=z("prev-"+o.prev[l]),t+=' <a href="javascript:;" shortcut="prev,'+o.prev[l]+'">'+a+"</a>";t+="</span>"}if(o.next&&o.next.length>0){for(t+='&nbsp;<span class="next-buttons">'+z("next"),l=0;l<o.next.length;l++)a=z("next-"+o.next[l]),t+=' <a href="javascript:;" shortcut="next,'+o.next[l]+'">'+a+"</a>";t+="</span>"}}if(n.customShortcuts)for(l=0;l<n.customShortcuts.length;l++)t+='&nbsp;<span class="custom-shortcut"><a href="javascript:;" shortcut="custom">'+n.customShortcuts[l].name+"</a></span>";t+="</div>"}if(n.showCustomValues&&(t+='<div class="customValues"><b>'+(n.customValueLabel||z("custom-values"))+"</b>",n.customValues))for(l=0;l<n.customValues.length;l++){var c=n.customValues[l];t+='&nbsp;<span class="custom-value"><a href="javascript:;" custom="'+c.value+'">'+c.name+"</a></span>"}return e(t+="</div></div>")}().hide()).append('<div class="date-range-length-tip"></div>'),e(n.container).append(W),n.inline?W.addClass("inline-wrapper"):r(),n.alwaysOpen&&W.find(".apply-btn").hide();var o=U();if(q(o),n.time.enabled)if(n.startDate&&n.endDate||n.start&&n.end)A(t(n.start||n.startDate).toDate(),"time1"),A(t(n.end||n.endDate).toDate(),"time2");else{var a=n.defaultEndTime?n.defaultEndTime:o;A(o,"time1"),A(a,"time2")}var c="";c=z(n.singleDate?"default-single":n.minDays&&n.maxDays?"default-range":n.minDays?"default-more":n.maxDays?"default-less":"default-default"),W.find(".default-top").html(c.replace(/\%d/,n.minDays).replace(/\%d/,n.maxDays)),n.singleMonth?W.addClass("single-month"):W.addClass("two-months"),setTimeout(function(){l(),Y=!0},0),W.click(function(e){e.stopPropagation()}),e(document).bind("click.datepicker",function(e){i(e,s[0])||W.is(":visible")&&O()}),W.find(".next").click(function(){n.stickyMonths?function(){var e=R(n.month1),t=R(n.month2);V(t)||!n.singleDate&&L(e,t)>=0||(E(e,"month1"),E(t,"month2"),T())}():function(t){var i=e(t).parents("table").hasClass("month2"),r=i?n.month2:n.month1;r=R(r),!n.singleMonth&&!n.singleDate&&!i&&L(r,n.month2)>=0||V(r)||(E(r,i?"month2":"month1"),M())}(this)}),W.find(".prev").click(function(){n.stickyMonths?function(){var e=B(n.month1),t=B(n.month2);V(e)||!n.singleDate&&L(t,e)<=0||(E(t,"month2"),E(e,"month1"),T())}():function(t){var i=e(t).parents("table").hasClass("month2"),r=i?n.month2:n.month1;r=B(r),i&&L(r,n.month1)<=0||V(r)||(E(r,i?"month2":"month1"),M())}(this)}),W.attr("unselectable","on").css("user-select","none").bind("selectstart",function(e){return e.preventDefault(),!1}),W.find(".apply-btn").click(function(){O();var t=D(new Date(n.start))+n.separator+D(new Date(n.end));e(s).trigger("datepicker-apply",{value:t,date1:new Date(n.start),date2:new Date(n.end)})}),W.find("[custom]").click(function(){var t=e(this).attr("custom");n.start=!1,n.end=!1,W.find(".day.checked").removeClass("checked"),n.setValue.call(J,t),_(),x(!0),T(),n.autoClose&&O()}),W.find("[shortcut]").click(function(){var t,i=e(this).attr("shortcut"),r=new Date,s=!1;if(-1!=i.indexOf("day")){var o=parseInt(i.split(",",2)[1],10);s=new Date((new Date).getTime()+864e5*o),r=new Date(r.getTime()+864e5*(o>0?1:-1))}else if(-1!=i.indexOf("week")){var a;for(a=1==(t=-1!=i.indexOf("prev,")?-1:1)?"monday"==n.startOfWeek?1:0:"monday"==n.startOfWeek?0:6,r=new Date(r.getTime()-864e5);r.getDay()!=a;)r=new Date(r.getTime()+864e5*t);s=new Date(r.getTime()+864e5*t*6)}else if(-1!=i.indexOf("month"))(s=1==(t=-1!=i.indexOf("prev,")?-1:1)?R(r):B(r)).setDate(1),(r=R(s)).setDate(1),r=new Date(r.getTime()-864e5);else if(-1!=i.indexOf("year"))t=-1!=i.indexOf("prev,")?-1:1,(s=new Date).setFullYear(r.getFullYear()+t),s.setMonth(0),s.setDate(1),r.setFullYear(r.getFullYear()+t),r.setMonth(11),r.setDate(31);else if("custom"==i){var l=e(this).html();if(n.customShortcuts&&n.customShortcuts.length>0)for(var c=0;c<n.customShortcuts.length;c++){var u=n.customShortcuts[c];if(u.name==l){var d;if((d=u.dates.call())&&2==d.length&&(s=d[0],r=d[1]),d&&1==d.length){var h=d[0];E(h,"month1"),E(R(h),"month2"),M()}break}}}s&&r&&(C(s,r),_())}),W.find(".time1 input[type=range]").bind("change touchmove",function(t){var n=t.target;d("time1","hour"==n.name?e(n).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==n.name?e(n).val().replace(/^(\d{1})$/,"0$1"):void 0)}),W.find(".time2 input[type=range]").bind("change touchmove",function(t){var n=t.target;d("time2","hour"==n.name?e(n).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==n.name?e(n).val().replace(/^(\d{1})$/,"0$1"):void 0)})}}.call(this),n.alwaysOpen&&s(0),e(this).data("dateRangePicker",{setStart:function(e){return"string"==typeof e&&(e=t(e,n.format).toDate()),n.end=!1,S(e),this},setEnd:function(e,i){var r=new Date;return r.setTime(n.start),"string"==typeof e&&(e=t(e,n.format).toDate()),C(r,e,i),this},setDateRange:function(e,i,r){"string"==typeof e&&"string"==typeof i&&(e=t(e,n.format).toDate(),i=t(i,n.format).toDate()),C(e,i,r)},clear:function(){n.start=!1,n.end=!1,W.find(".day.checked").removeClass("checked"),W.find(".day.last-date-selected").removeClass("last-date-selected"),W.find(".day.first-date-selected").removeClass("first-date-selected"),n.setValue.call(J,""),_(),x(),T()},close:O,open:s,redraw:P,getDatePicker:function(){return W},resetMonthsView:q,destroy:function(){e(K).unbind(".datepicker"),e(K).data("dateRangePicker",""),e(K).data("date-picker-opened",null),W.remove(),e(window).unbind("resize.datepicker",r),e(document).unbind("click.datepicker",O)}}),e(window).bind("resize.datepicker",r),this}})?i.apply(t,r):i)||(e.exports=s)},3124:function(e,t,n){var i,r;!function(){"use strict";void 0===(r="function"==typeof(i=["jquery","./data","./disable-selection","./focusable","./form","./ie","./keycode","./labels","./jquery-patch","./plugin","./safe-active-element","./safe-blur","./scroll-parent","./tabbable","./unique-id","./version"])?i.call(t,n,t,e):i)||(e.exports=r)}()},1897:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692),n(6883)],void 0===(s="function"==typeof(i=function(e){return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?i.apply(t,r):i)||(e.exports=s)}()},4224:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692),n(6883)],i=function(e){return function(){var t,n=Math.max,i=Math.abs,r=/left|center|right/,s=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,l=/%$/,c=e.fn.position;function u(e,t,n){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?n/100:1)]}function d(t,n){return parseInt(e.css(t,n),10)||0}function h(e){return null!=e&&e===e.window}
vendor: 5,913 bytes, line 1
1e.position={scrollbarWidth:function(){if(void 0!==t)return t;var n,i,r=e("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),s=r.children()[0];return e("body").append(r),n=s.offsetWidth,r.css("overflow","scroll"),n===(i=s.offsetWidth)&&(i=r[0].clientWidth),r.remove(),t=n-i},getScrollInfo:function(t){var n=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),r="scroll"===n||"auto"===n&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?e.position.scrollbarWidth():0,height:r?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var n=e(t||window),i=h(n[0]),r=!!n[0]&&9===n[0].nodeType;return{element:n,isWindow:i,isDocument:r,offset:i||r?{left:0,top:0}:e(t).offset(),scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}},e.fn.position=function(t){if(!t||!t.of)return c.apply(this,arguments);var l,p,f,m,g,v,y,b,w="string"==typeof(t=e.extend({},t)).of?e(document).find(t.of):e(t.of),_=e.position.getWithinInfo(t.within),x=e.position.getScrollInfo(_),k=(t.collision||"flip").split(" "),C={};return v=9===(b=(y=w)[0]).nodeType?{width:y.width(),height:y.height(),offset:{top:0,left:0}}:h(b)?{width:y.width(),height:y.height(),offset:{top:y.scrollTop(),left:y.scrollLeft()}}:b.preventDefault?{width:0,height:0,offset:{top:b.pageY,left:b.pageX}}:{width:y.outerWidth(),height:y.outerHeight(),offset:y.offset()},w[0].preventDefault&&(t.at="left top"),p=v.width,f=v.height,m=v.offset,g=e.extend({},m),e.each(["my","at"],function(){var e,n,i=(t[this]||"").split(" ");1===i.length&&(i=r.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]),i[0]=r.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",e=o.exec(i[0]),n=o.exec(i[1]),C[this]=[e?e[0]:0,n?n[0]:0],t[this]=[a.exec(i[0])[0],a.exec(i[1])[0]]}),1===k.length&&(k[1]=k[0]),"right"===t.at[0]?g.left+=p:"center"===t.at[0]&&(g.left+=p/2),"bottom"===t.at[1]?g.top+=f:"center"===t.at[1]&&(g.top+=f/2),l=u(C.at,p,f),g.left+=l[0],g.top+=l[1],this.each(function(){var r,s,o=e(this),a=o.outerWidth(),c=o.outerHeight(),h=d(this,"marginLeft"),v=d(this,"marginTop"),y=a+h+d(this,"marginRight")+x.width,b=c+v+d(this,"marginBottom")+x.height,S=e.extend({},g),T=u(C.my,o.outerWidth(),o.outerHeight());"right"===t.my[0]?S.left-=a:"center"===t.my[0]&&(S.left-=a/2),"bottom"===t.my[1]?S.top-=c:"center"===t.my[1]&&(S.top-=c/2),S.left+=T[0],S.top+=T[1],r={marginLeft:h,marginTop:v},e.each(["left","top"],function(n,i){e.ui.position[k[n]]&&e.ui.position[k[n]][i](S,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:c,collisionPosition:r,collisionWidth:y,collisionHeight:b,offset:[l[0]+T[0],l[1]+T[1]],my:t.my,at:t.at,within:_,elem:o})}),t.using&&(s=function(e){var r=m.left-S.left,s=r+p-a,l=m.top-S.top,u=l+f-c,d={target:{element:w,left:m.left,top:m.top,width:p,height:f},element:{element:o,left:S.left,top:S.top,width:a,height:c},horizontal:s<0?"left":r>0?"right":"center",vertical:u<0?"top":l>0?"bottom":"middle"};p<a&&i(r+s)<p&&(d.horizontal="center"),f<c&&i(l+u)<f&&(d.vertical="middle"),n(i(r),i(s))>n(i(l),i(u))?d.important="horizontal":d.important="vertical",t.using.call(this,e,d)}),o.offset(e.extend(S,{using:s}))})},e.ui.position={fit:{left:function(e,t){var i,r=t.within,s=r.isWindow?r.scrollLeft:r.offset.left,o=r.width,a=e.left-t.collisionPosition.marginLeft,l=s-a,c=a+t.collisionWidth-o-s;t.collisionWidth>o?l>0&&c<=0?(i=e.left+l+t.collisionWidth-o-s,e.left+=l-i):e.left=c>0&&l<=0?s:l>c?s+o-t.collisionWidth:s:l>0?e.left+=l:c>0?e.left-=c:e.left=n(e.left-a,e.left)},top:function(e,t){var i,r=t.within,s=r.isWindow?r.scrollTop:r.offset.top,o=t.within.height,a=e.top-t.collisionPosition.marginTop,l=s-a,c=a+t.collisionHeight-o-s;t.collisionHeight>o?l>0&&c<=0?(i=e.top+l+t.collisionHeight-o-s,e.top+=l-i):e.top=c>0&&l<=0?s:l>c?s+o-t.collisionHeight:s:l>0?e.top+=l:c>0?e.top-=c:e.top=n(e.top-a,e.top)}},flip:{left:function(e,t){var n,r,s=t.within,o=s.offset.left+s.scrollLeft,a=s.width,l=s.isWindow?s.scrollLeft:s.offset.left,c=e.left-t.collisionPosition.marginLeft,u=c-l,d=c+t.collisionWidth-a-l,h="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];u<0?((n=e.left+h+p+f+t.collisionWidth-a-o)<0||n<i(u))&&(e.left+=h+p+f):d>0&&((r=e.left-t.collisionPosition.marginLeft+h+p+f-l)>0||i(r)<d)&&(e.left+=h+p+f)},top:function(e,t){var n,r,s=t.within,o=s.offset.top+s.scrollTop,a=s.height,l=s.isWindow?s.scrollTop:s.offset.top,c=e.top-t.collisionPosition.marginTop,u=c-l,d=c+t.collisionHeight-a-l,h="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,p="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,f=-2*t.offset[1];u<0?((r=e.top+h+p+f+t.collisionHeight-a-o)<0||r<i(u))&&(e.top+=h+p+f):d>0&&((n=e.top-t.collisionPosition.marginTop+h+p+f-l)>0||i(n)<d)&&(e.top+=h+p+f)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}}}(),e.ui.position},void 0===(s=i.apply(t,r))||(e.exports=s)}()},3300:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692),n(6883)],void 0===(s="function"==typeof(i=function(e){return e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(n){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t}})?i.apply(t,r):i)||(e.exports=s)}()},5304:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692),n(6883)],void 0===(s="function"==typeof(i=function(e){return e.fn.extend({uniqueId:(t=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id
vendor: 4,160 bytes, line 1
1)&&e(this).removeAttr("id")})}});var t})?i.apply(t,r):i)||(e.exports=s)}()},6883:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692)],void 0===(s="function"==typeof(i=function(e){return e.ui=e.ui||{},e.ui.version="1.13.3"})?i.apply(t,r):i)||(e.exports=s)}()},9139:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692),n(6883)],i=function(e){var t,n=0,i=Array.prototype.hasOwnProperty,r=Array.prototype.slice;return e.cleanData=(t=e.cleanData,function(n){var i,r,s;for(s=0;null!=(r=n[s]);s++)(i=e._data(r,"events"))&&i.remove&&e(r).triggerHandler("remove");t(n)}),e.widget=function(t,n,i){var r,s,o,a={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return i||(i=n,n=e.Widget),Array.isArray(i)&&(i=e.extend.apply(null,[{}].concat(i))),e.expr.pseudos[c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},r=e[l][t],s=e[l][t]=function(e,t){if(!this||!this._createWidget)return new s(e,t);arguments.length&&this._createWidget(e,t)},e.extend(s,r,{version:i.version,_proto:e.extend({},i),_childConstructors:[]}),(o=new n).options=e.widget.extend({},o.options),e.each(i,function(e,t){a[e]="function"==typeof t?function(){function i(){return n.prototype[e].apply(this,arguments)}function r(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,s=this._superApply;return this._super=i,this._superApply=r,e=t.apply(this,arguments),this._super=n,this._superApply=s,e}}():t}),s.prototype=e.widget.extend(o,{widgetEventPrefix:r&&o.widgetEventPrefix||t},a,{constructor:s,namespace:l,widgetName:t,widgetFullName:c}),r?(e.each(r._childConstructors,function(t,n){var i=n.prototype;e.widget(i.namespace+"."+i.widgetName,s,n._proto)}),delete r._childConstructors):n._childConstructors.push(s),e.widget.bridge(t,s),s},e.widget.extend=function(t){for(var n,s,o=r.call(arguments,1),a=0,l=o.length;a<l;a++)for(n in o[a])s=o[a][n],i.call(o[a],n)&&void 0!==s&&(e.isPlainObject(s)?t[n]=e.isPlainObject(t[n])?e.widget.extend({},t[n],s):e.widget.extend({},s):t[n]=s);return t},e.widget.bridge=function(t,n){var i=n.prototype.widgetFullName||t;e.fn[t]=function(s){var o="string"==typeof s,a=r.call(arguments,1),l=this;return o?this.length||"instance"!==s?this.each(function(){var n,r=e.data(this,i);return"instance"===s?(l=r,!1):r?"function"!=typeof r[s]||"_"===s.charAt(0)?e.error("no such method '"+s+"' for "+t+" widget instance"):(n=r[s].apply(r,a))!==r&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+s+"'")}):l=void 0:(a.length&&(s=e.widget.extend.apply(null,[s].concat(a))),this.each(function(){var t=e.data(this,i);t?(t.option(s||{}),t._init&&t._init()):e.data(this,i,new n(s,this))})),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,n){t._removeClass(n,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var i,r,s,o=t;if(0===arguments.length)return e.widget.extend({},this.options);
vendor: 19,185 bytes, line 1
1if("string"==typeof t)if(o={},i=t.split("."),t=i.shift(),i.length){for(r=o[t]=e.widget.extend({},this.options[t]),s=0;s<i.length-1;s++)r[i[s]]=r[i[s]]||{},r=r[i[s]];if(t=i.pop(),1===arguments.length)return void 0===r[t]?null:r[t];r[t]=n}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=n}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var n,i,r;for(n in t)r=this.classesElementLookup[n],t[n]!==this.options.classes[n]&&r&&r.length&&(i=e(r.get()),this._removeClass(r,n),i.addClass(this._classes({element:i,keys:n,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var n=[],i=this;function r(){var n=[];t.element.each(function(t,r){e.map(i.classesElementLookup,function(e){return e}).some(function(e){return e.is(r)})||n.push(r)}),i._on(e(n),{remove:"_untrackClassesElement"})}function s(s,o){var a,l;for(l=0;l<s.length;l++)a=i.classesElementLookup[s[l]]||e(),t.add?(r(),a=e(e.uniqueSort(a.get().concat(t.element.get())))):a=e(a.not(t.element).get()),i.classesElementLookup[s[l]]=a,n.push(s[l]),o&&t.classes[s[l]]&&n.push(t.classes[s[l]])}return(t=e.extend({element:this.element,classes:this.options.classes||{}},t)).keys&&s(t.keys.match(/\S+/g)||[],!0),t.extra&&s(t.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,function(i,r){-1!==e.inArray(t.target,r)&&(n.classesElementLookup[i]=e(r.not(t.target).get()))}),this._off(e(t.target))},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,i){i="boolean"==typeof i?i:n;var r="string"==typeof e||null===e,s={extra:r?t:n,keys:r?e:t,element:r?this.element:e,add:i};return s.element.toggleClass(this._classes(s),i),this},_on:function(t,n,i){var r,s=this;"boolean"!=typeof t&&(i=n,n=t,t=!1),i?(n=r=e(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,r=this.widget()),e.each(i,function(i,o){function a(){if(t||!0!==s.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof o?s[o]:o).apply(s,arguments)}"string"!=typeof o&&(a.guid=o.guid=o.guid||a.guid||e.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+s.eventNamespace,u=l[2];u?r.on(c,u,a):n.on(c,a)})},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(n),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var n=this;return setTimeout(function(){return("string"==typeof e?n[e]:e).apply(n,arguments)},t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,i){var r,s,o=this.options[t];if(i=i||{},(n=e.Event(n)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],s=n.originalEvent)for(r in s)r in n||(n[r]=s[r]);return this.element.trigger(n,i),!("function"==typeof o&&!1===o.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,n){e.Widget.prototype["_"+t]=function(i,r,s){var o;"string"==typeof r&&(r={effect:r});var a=r?!0===r||"number"==typeof r?n:r.effect||n:t;"number"==typeof(r=r||{})?r={duration:r}:!0===r&&(r={}),o=!e.isEmptyObject(r),r.complete=s,r.delay&&i.delay(r.delay),o&&e.effects&&e.effects.effect[a]?i[t](r):a!==t&&i[a]?i[a](r.duration,r.easing,s):i.queue(function(n){e(this)[t](),s&&s.call(i[0]),n()})}}),e.widget},void 0===(s=i.apply(t,r))||(e.exports=s)}()},97:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692),n(8330),n(1897),n(4224),n(3300),n(6883),n(9139)],i=function(e){return e.widget("ui.autocomplete",{version:"1.13.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var t,n,i,r=this.element[0].nodeName.toLowerCase(),s="textarea"===r,o="input"===r;this.isMultiLine=s||!o&&this._isContentEditable(this.element),this.valueMethod=this.element[s||o?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(r){if(this.element.prop("readOnly"))return t=!0,i=!0,void(n=!0);t=!1,i=!1,n=!1;var s=e.ui.keyCode;switch(r.keyCode){case s.PAGE_UP:t=!0,this._move("previousPage",r);break;case s.PAGE_DOWN:t=!0,this._move("nextPage",r);break;case s.UP:t=!0,this._keyEvent("previous",r);break;case s.DOWN:t=!0,this._keyEvent("next",r);break;case s.ENTER:this.menu.active&&(t=!0,r.preventDefault(),this.menu.select(r));break;case s.TAB:this.menu.active&&this.menu.select(r);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(r),r.preventDefault());break;default:n=!0,this._searchTimeout(r)}},keypress:function(i){if(t)return t=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||i.preventDefault());if(!n){var r=e.ui.keyCode;switch(i.keyCode){case r.PAGE_UP:this._move("previousPage",i);break;case r.PAGE_DOWN:this._move("nextPage",i);break;case r.UP:this._keyEvent("previous",i);break;case r.DOWN:this._keyEvent("next",i)}}},input:function(e){if(i)return i=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault()},menufocus:function(t,n){var i,r;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){e(t.target).trigger(t.originalEvent)});r=n.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:r})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(r.value),(i=n.item.attr("aria-label")||r.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(e("<div>").text(i))},100))},menuselect:function(t,n){var i=n.item.data("ui-autocomplete-item"),r=this.previous;this.element[0]!==e.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=e("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var n=this.menu.element[0];return t.target===this.element[0]||t.target===n||e.contains(n,t.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,n,i=this;Array.isArray(this.options.source)?(t=this.options.source,this.source=function(n,i){i(e.ui.autocomplete.filter(t,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,r){i.xhr&&i.xhr.abort(),i.xhr=e.ajax({url:n,data:t,dataType:"json",success:function(e){r(e)},error:function(){r([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),n=this.menu.element.is(":visible"),i=e.altKey||e.ctrlKey||e.metaKey||e.shiftKey;t&&(!t||n||i)||(this.selectedItem=null,this.search(null,e))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var e=++this.requestIndex;return function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,function(t){return"string"==typeof t?{label:t,value:t}:e.extend({},t,{label:t.label||t.value,value:t.value||t.label})})},_suggest:function(t){var n=this.menu.element.empty();this._renderMenu(n,t),this.isNewMenu=!0,this.menu.refresh(),n.show(),this._resizeMenu(),n.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,n){var i=this;e.each(n,function(e,n){i._renderItemData(t,n)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,n){return e("<li>").append(e("<div>").text(n.label)).appendTo(t)},_move:function(e,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,n){var i=new RegExp(e.ui.autocomplete.escapeRegex(n),"i");return e.grep(t,function(e){return i.test(e.label||e.value||e)})}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var n;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(e("<div>").text(n))},100))}}),e.ui.autocomplete},void 0===(s=i.apply(t,r))||(e.exports=s)}()},8330:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692),n(1897),n(4224),n(3300),n(5304),n(6883),n(9139)],void 0===(s="function"==typeof(i=function(e){return e.widget("ui.menu",{version:"1.13.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(t){var n=e(t.target),i=e(e.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&n.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),n.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this._menuItems().first();t||this.focus(e,n)},blur:function(t){this._delay(function(){!e.contains(this.element[0],e.ui.safeActiveElement(this.document[0]))&&this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(t){if(!this.previousFilter&&(t.clientX!==this.lastMousePosition.x||t.clientY!==this.lastMousePosition.y)){this.lastMousePosition={x:t.clientX,y:t.clientY};var n=e(t.target).closest(".ui-menu-item"),i=e(t.currentTarget);n[0]===i[0]&&(i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i)))}},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=e(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var n,i,r,s,o=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:o=!1,i=this.previousFilter||"",s=!1,r=t.keyCode>=96&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),r===i?s=!0:r=i+r,n=this._filterMenuItems(r),(n=s&&-1!==n.index(this.active.next())?this.active.nextAll(".ui-menu-item"):n).length||(r=String.fromCharCode(t.keyCode),n=this._filterMenuItems(r)),n.length?(this.focus(t,n),this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&t.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,n,i,r,s=this,o=this.options.icons.submenu,a=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),n=a.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=e(this),n=t.prev(),i=e("<span>").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+o),n.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",n.attr("id"))}),this._addClass(n,"ui-menu","ui-widget ui-widget-content ui-front"),(t=a.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=e(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),r=(i=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){if("icons"===e){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,t.submenu)}this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var n,i,r;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),r=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(r,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(n=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var n,i,r,s,o,a;this._hasScroll()&&(n=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,r=t.offset().top-this.activeMenu.offset().top-n-i,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),a=t.outerHeight(),r<0?this.activeMenu.scrollTop(s+r):r+a>
1o&&this.activeMenu.scrollTop(s+r-o+a))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var i=n?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));i.length||(i=this.element),this._close(i),this.blur(t),this._removeClass(i.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=i},n?0:this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(t){return!e(t.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this._menuItems(this.active.children(".ui-menu")).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(e){return(e||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(e,t,n){var i;this.active&&(i="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").last():this.active[e+"All"](".ui-menu-item").first()),i&&i.length&&this.active||(i=this._menuItems(this.activeMenu)[t]()),this.focus(n,i)},nextPage:function(t){var n,i,r;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,r=this.element.innerHeight(),0===e.fn.jquery.indexOf("3.2.")&&(r+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(n=e(this)).offset().top-i-r<0}),this.focus(t,n)):this.focus(t,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var n,i,r;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,r=this.element.innerHeight(),0===e.fn.jquery.indexOf("3.2.")&&(r+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return(n=e(this)).offset().top-i+r>0}),this.focus(t,n)):this.focus(t,this._menuItems(this.activeMenu).first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var n={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,n)},_filterMenuItems:function(t){var n=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),i=new RegExp("^"+n,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return i.test(String.prototype.trim.call(e(this).children(".ui-menu-item-wrapper").text()))})}})})?i.apply(t,r):i)||(e.exports=s)}()},4692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(i,r){"use strict";var s=[],o=Object.getPrototypeOf,a=s.slice,l=s.flat?function(e){return s.flat.call(e)}:function(e){return s.concat.apply([],e)},c=s.push,u=s.indexOf,d={},h=d.toString,p=d.hasOwnProperty,f=p.toString,m=f.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window}
vendor: 15,169 bytes, line 1
1,b=i.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var i,r,s=(n=n||b).createElement("script");if(s.text=e,t)for(i in w)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&s.setAttribute(i,r);n.head.appendChild(s).parentNode.removeChild(s)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[h.call(e)]||"object":typeof e}var k="3.7.1",C=/HTML$/i,S=function(e,t){return new S.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}S.fn=S.prototype={jquery:k,constructor:S,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:s.sort,splice:s.splice},S.extend=S.fn.extend=function(){var e,t,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||v(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&o!==i&&(c&&i&&(S.isPlainObject(i)||(r=Array.isArray(i)))?(n=o[t],s=r&&!Array.isArray(n)?[]:r||S.isPlainObject(n)?n:{},r=!1,o[t]=S.extend(c,s,i)):void 0!==i&&(o[t]=i));return o},S.extend({expando:"jQuery"+(k+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==h.call(e)||(t=o(e))&&("function"!=typeof(n=p.call(t,"constructor")&&t.constructor)||f.call(n)!==m))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){_(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(T(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,r=e.nodeType;if(!r)for(;t=e[i++];)n+=S.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?S.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!C.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,s=e.length,o=!n;r<s;r++)!t(e[r],r)!==o&&i.push(e[r]);return i},map:function(e,t,n){var i,r,s=0,o=[];if(T(e))for(i=e.length;s<i;s++)null!=(r=t(e[s],s,n))&&o.push(r);else for(s in e)null!=(r=t(e[s],s,n))&&o.push(r);return l(o)},guid:1,support:g}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=s[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()});var I=s.pop,A=s.sort,D=s.splice,M="[\\x20\\t\\r\\n\\f]",O=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g");S.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var P=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function L(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}S.escapeSelector=function(e){return(e+"").replace(P,L)};var N=b,R=c;!function(){var e,t,n,r,o,l,c,d,h,f,m=R,v=S.expando,y=0,b=0,w=ee(),_=ee(),x=ee(),k=ee(),C=function(e,t){return e===t&&(o=!0),0},T="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",L="\\["+M+"*("+P+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+M+"*\\]",B=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",F=new RegExp(M+"+","g"),V=new RegExp("^"+M+"*,"+M+"*"),$=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),j=new RegExp(M+"|>"),H=new RegExp(B),z=new RegExp("^"+P+"$"),U={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+T+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,W=/^h\d$/i,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),K=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},J=function(){le()},X=he(function(e){return!0===e.disabled&&E(e,"fieldset")},{dir:"parentNode",next:"legend"});try{m.apply(s=a.call(N.childNodes),N.childNodes),s[N.childNodes.length].nodeType}catch(e){m={apply:function(e,t){R.apply(e,a.call(t))},call:function(e){R.apply(e,a.call(arguments,1))}}}function Q(e,t,n,i){var r,s,o,a,c,u,p,f=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&(le(t),t=t||l,d)){if(11!==y&&(c=G.exec(e)))if(r=c[1]){if(9===y){if(!(o=t.getElementById(r)))return n;if(o.id===r)return m.call(n,o),n}else if(f&&(o=f.getElementById(r))&&Q.contains(t,o)&&o.id===r)return m.call(n,o),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((r=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(r)),n}if(!(k[e+" "]||h&&h.test(e))){if(p=e,f=t,1===y&&(j.test(e)||$.test(e))){for((f=Z.test(e)&&ae(t.parentNode)||t)==t&&g.scope||((a=t.getAttribute("id"))?a=S.escapeSelector(a):t.setAttribute("id",a=v)),s=(u=ue(e)).length;s--;)u[s]=(a?"#"+a:":scope")+" "+de(u[s]);p=u.join(",")}try{return m.apply(n,f.querySelectorAll(p)),n}catch(t){k(e,!0)}finally{a===v&&t.removeAttribute("id")}}}return ye(e.replace(O,"$1"),t,n,i)}function ee(){var e=[];return function n(i,r){return e.push(i+" ")>t.cacheLength&&delete n[e.shift()],n[i+" "]=r}}function te(e){return e[v]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return E(t,"input")&&t.type===e}}function re(e){return function(t){return(E(t,"input")||E(t,"button"))&&t.type===e}}function se(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&X(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function oe(e){return te(function(t){return t=+t,te(function(n,i){for(var r,s=e([],n.length,t),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))})})}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,i=e?e.ownerDocument||e:N;return i!=l&&9===i.nodeType&&i.documentElement?(c=(l=i).documentElement,d=!S.isXMLDoc(l),f=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&N!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",J),g.getById=ne(function(e){return c.appendChild(e).id=S.expando,!l.getElementsByName||!l.getElementsByName(S.expando).length}),g.disconnectedMatch=ne(function(e){return f.call(e,"*")}),g.scope=ne(function(){return l.querySelectorAll(":scope")}),g.cssHas=ne(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),g.getById?(t.filter.ID=function(e){var t=e.replace(Y,K);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Y,K);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,i,r,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(r=t.getElementsByName(e),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},h=[],ne(function(e){var t;c.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+M+"*(?:value|"+T+")"),e.querySelectorAll("[id~="+v+"-]").length||h.push("~="),e.querySelectorAll("a#"+v+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")")}),g.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),C=function(e,t){if(e===t)return o=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==N&&Q.contains(N,e)?-1:t===l||t.ownerDocument==N&&Q.contains(N,t)?1:r?u.call(r,e)-u.call(r,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),d&&!k[t+" "]&&(!h||!h.test(t)))try{var n=f.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){k(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),S.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var i=t.attrHandle[n.toLowerCase()],r=i&&p.call(t.attrHandle,n.toLowerCase())?i(e,n,!d):void 0;return void 0!==r?r:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},S.uniqueSort=function(e){var t,n=[],i=0,s=0;if(o=!g.sortStable,r=!g.sortStable&&a.call(e,0),A.call(e,C),o){for(;t=e[s++];)t===e[s]&&(i=n.push(s));for(;i--;)D.call(e,n[i],1)}return r=null,e},S.fn.uniqueSort=function(){return this.pushStack(S.uniqueSort(a.apply(this)))},t=S.expr={cacheLength:50,createPseudo:te,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Y,K),e[3]=(e[3]||e[4]||e[5]||"").replace(Y,K),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return U.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&H.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Y,K).toLowerCase();return"*"===e?function(){return!0}:function(e){return E(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&w(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=Q.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,p,f=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!l&&!a,w=!1;if(m){if(s){for(;f;){for(d=t;d=d[f];)if(a?E(d,g):1===d.nodeType)return!1;p=f="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?m.firstChild:m.lastChild],o&&b){for(w=(h=(c=(u=m[v]||(m[v]={}))[e]||[])[0]===y&&c[1])&&c[2],d=h&&m.childNodes[h];d=++h&&d&&d[f]||(w=h=0)||p.pop();)if(1===d.nodeType&&++w&&d===t){u[e]=[y,h,w];break}}else if(b&&(w=h=(c=(u=t[v]||(t[v]={}))[e]||[])[0]===y&&c[1]),!1===w)for(;(d=++h&&d&&d[f]||(w=h=0)||p.pop())&&(!(a?E(d,g):1===d.nodeType)||!++w||(b&&((u=d[v]||(d[v]={}))[e]=[y,w]),d!==t)););return(w-=r)===i||w%i===0&&w/i>=0}}},PSEUDO:function(e,n){var i,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return r[v]?r(n):r.length>1?(i=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,t){for(var i,s=r(e,n),o=s.length;o--;)e[i=u.call(e,s[o])]=!(t[i]=s[o])}):function(e){return r(e,0,i)}):r}},pseudos:{not:te(function(e){var t=[],n=[],i=ve(e.replace(O,"$1"));return i[v]?te(function(e,t,n,r){for(var s,o=i(e,null,r,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))}):function(e,r,s){return t[0]=e,i(t,null,s,n),t[0]=null,!n.pop()}}),has:te(function(e){return function(t){return Q(e,t).length>0}}),contains:te(function(e){return e=e.replace(Y,K),function(t){return(t.textContent||S.text(t)).indexOf(e)>-1}}),lang:te(function(e){return z.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(Y,K).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:se(!1),disabled:se(!0),checked:function(e){return E(e,"input")&&!!e.checked||E(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return W.test(e.nodeName)}
vendor: 11,020 bytes, line 1
1,input:function(e){return q.test(e.nodeName)},button:function(e){return E(e,"input")&&"button"===e.type||E(e,"button")},text:function(e){var t;return E(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:oe(function(){return[0]}),last:oe(function(e,t){return[t-1]}),eq:oe(function(e,t,n){return[n<0?n+t:n]}),even:oe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:oe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:oe(function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:oe(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ie(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=re(e);function ce(){}function ue(e,n){var i,r,s,o,a,l,c,u=_[e+" "];if(u)return n?0:u.slice(0);for(a=e,l=[],c=t.preFilter;a;){for(o in i&&!(r=V.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),i=!1,(r=$.exec(a))&&(i=r.shift(),s.push({value:i,type:r[0].replace(O," ")}),a=a.slice(i.length)),t.filter)!(r=U[o].exec(a))||c[o]&&!(r=c[o](r))||(i=r.shift(),s.push({value:i,type:o,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?Q.error(e):_(e,l).slice(0)}function de(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function he(e,t,n){var i=t.dir,r=t.next,s=r||i,o=n&&"parentNode"===s,a=b++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,r);return!1}:function(t,n,l){var c,u,d=[y,a];if(l){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||o)if(u=t[v]||(t[v]={}),r&&E(t,r))t=t[i]||t;else{if((c=u[s])&&c[0]===y&&c[1]===a)return d[2]=c[2];if(u[s]=d,d[2]=e(t,n,l))return!0}return!1}}function pe(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function fe(e,t,n,i,r){for(var s,o=[],a=0,l=e.length,c=null!=t;a<l;a++)(s=e[a])&&(n&&!n(s,i,r)||(o.push(s),c&&t.push(a)));return o}function me(e,t,n,i,r,s){return i&&!i[v]&&(i=me(i)),r&&!r[v]&&(r=me(r,s)),te(function(s,o,a,l){var c,d,h,p,f=[],g=[],v=o.length,y=s||function(e,t,n){for(var i=0,r=t.length;i<r;i++)Q(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),b=!e||!s&&t?y:fe(y,f,e,a,l);if(n?n(b,p=r||(s?e:v||i)?[]:o,a,l):p=b,i)for(c=fe(p,g),i(c,[],a,l),d=c.length;d--;)(h=c[d])&&(p[g[d]]=!(b[g[d]]=h));if(s){if(r||e){if(r){for(c=[],d=p.length;d--;)(h=p[d])&&c.push(b[d]=h);r(null,p=[],c,l)}for(d=p.length;d--;)(h=p[d])&&(c=r?u.call(s,h):f[d])>-1&&(s[c]=!(o[c]=h))}}else p=fe(p===o?p.splice(v,p.length):p),r?r(null,o,p,l):m.apply(o,p)})}function ge(e){for(var i,r,s,o=e.length,a=t.relative[e[0].type],l=a||t.relative[" "],c=a?1:0,d=he(function(e){return e===i},l,!0),h=he(function(e){return u.call(i,e)>-1},l,!0),p=[function(e,t,r){var s=!a&&(r||t!=n)||((i=t).nodeType?d(e,t,r):h(e,t,r));return i=null,s}];c<o;c++)if(r=t.relative[e[c].type])p=[he(pe(p),r)];else{if((r=t.filter[e[c].type].apply(null,e[c].matches))[v]){for(s=++c;s<o&&!t.relative[e[s].type];s++);return me(c>1&&pe(p),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(O,"$1"),r,c<s&&ge(e.slice(c,s)),s<o&&ge(e=e.slice(s)),s<o&&de(e))}p.push(r)}return pe(p)}function ve(e,i){var r,s=[],o=[],a=x[e+" "];if(!a){for(i||(i=ue(e)),r=i.length;r--;)(a=ge(i[r]))[v]?s.push(a):o.push(a);a=x(e,function(e,i){var r=i.length>0,s=e.length>0,o=function(o,a,c,u,h){var p,f,g,v=0,b="0",w=o&&[],_=[],x=n,k=o||s&&t.find.TAG("*",h),C=y+=null==x?1:Math.random()||.1,T=k.length;for(h&&(n=a==l||a||h);b!==T&&null!=(p=k[b]);b++){if(s&&p){for(f=0,a||p.ownerDocument==l||(le(p),c=!d);g=e[f++];)if(g(p,a||l,c)){m.call(u,p);break}h&&(y=C)}r&&((p=!g&&p)&&v--,o&&w.push(p))}if(v+=b,r&&b!==v){for(f=0;g=i[f++];)g(w,_,a,c);if(o){if(v>0)for(;b--;)w[b]||_[b]||(_[b]=I.call(u));_=fe(_)}m.apply(u,_),h&&!o&&_.length>0&&v+i.length>1&&S.uniqueSort(u)}return h&&(y=C,n=x),w};return r?te(o):o}(o,s)),a.selector=e}return a}function ye(e,n,i,r){var s,o,a,l,c,u="function"==typeof e&&e,h=!r&&ue(e=u.selector||e);if(i=i||[],1===h.length){if((o=h[0]=h[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===n.nodeType&&d&&t.relative[o[1].type]){if(!(n=(t.find.ID(a.matches[0].replace(Y,K),n)||[])[0]))return i;u&&(n=n.parentNode),e=e.slice(o.shift().value.length)}for(s=U.needsContext.test(e)?0:o.length;s--&&(a=o[s],!t.relative[l=a.type]);)if((c=t.find[l])&&(r=c(a.matches[0].replace(Y,K),Z.test(o[0].type)&&ae(n.parentNode)||n))){if(o.splice(s,1),!(e=r.length&&de(o)))return m.apply(i,r),i;break}}return(u||ve(e,h))(r,n,!d,i,!n||Z.test(e)&&ae(n.parentNode)||n),i}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=v.split("").sort(C).join("")===v,le(),g.sortDetached=ne(function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))}),S.find=Q,S.expr[":"]=S.expr.pseudos,S.unique=S.uniqueSort,Q.compile=ve,Q.select=ye,Q.setDocument=le,Q.tokenize=ue,Q.escape=S.escapeSelector,Q.getText=S.text,Q.isXML=S.isXMLDoc,Q.selectors=S.expr,Q.support=S.support,Q.uniqueSort=S.uniqueSort}();var B=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&S(e).is(n))break;i.push(e)}return i},F=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},V=S.expr.match.needsContext,$=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return v(t)?S.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?S.grep(e,function(e){return e===t!==n}):"string"!=typeof t?S.grep(e,function(e){return u.call(t,e)>-1!==n}):S.filter(t,e,n)}S.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<i;t++)if(S.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)S.find(e,r[t],n);return i>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&V.test(e)?S(e):e||[],!1).length}});var H,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||H,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:z.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),$.test(i[1])&&S.isPlainObject(t))for(i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=b.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,H=S(b);var U=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function W(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,s=[],o="string"!=typeof e&&S(e);if(!V.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?S.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?u.call(S(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return B(e,"parentNode")},parentsUntil:function(e,t,n){return B(e,"parentNode",n)},next:function(e){return W(e,"nextSibling")},prev:function(e){return W(e,"previousSibling")},nextAll:function(e){return B(e,"nextSibling")},prevAll:function(e){return B(e,"previousSibling")},nextUntil:function(e,t,n){return B(e,"nextSibling",n)},prevUntil:function(e,t,n){return B(e,"previousSibling",n)},siblings:function(e){return F((e.parentNode||{}).firstChild,e)},children:function(e){return F(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(E(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(e,t){S.fn[e]=function(n,i){var r=S.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=S.filter(i,r)),this.length>1&&(q[e]||S.uniqueSort(r),U.test(e)&&r.reverse()),this.pushStack(r)}});var G=/[^\x20\t\r\n\f]+/g;function Z(e){return e}function Y(e){throw e}function K(e,t,n,i){var r;try{e&&v(r=e.promise)?r.call(e).done(t).fail(n):e&&v(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(G)||[],function(e,n){t[n]=!0}),t}(e):S.extend({},e);var t,n,i,r,s=[],o=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;o.length;a=-1)for(n=o.shift();++a<s.length;)!1===s[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=s.length,n=!1);e.memory||(n=!1),t=!1,r&&(s=n?[]:"")},c={add:function(){return s&&(n&&!t&&(a=s.length-1,o.push(n)),function t(n){S.each(n,function(n,i){v(i)?e.unique&&c.has(i)||s.push(i):i&&i.length&&"string"!==x(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return S.each(arguments,function(e,t){for(var n;(n=S.inArray(t,s,n))>-1;)s.splice(n,1),n<=a&&a--}),this},has:function(e){return e?S.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=o=[],n||t||(s=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return S.Deferred(function(n){S.each(t,function(t,i){var r=v(e[i[4]])&&e[i[4]];s[i[1]](function(){var e=r&&r.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){var s=0;function o(e,t,n,r){return function(){var a=this,l=arguments,c=function(){var i,c;if(!(e<s)){if((i=n.apply(a,l))===t.promise())throw new TypeError("Thenable self
1-resolution");c=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(c)?r?c.call(i,o(s,t,Z,r),o(s,t,Y,r)):(s++,c.call(i,o(s,t,Z,r),o(s,t,Y,r),o(s,t,Z,t.notifyWith))):(n!==Z&&(a=void 0,l=[i]),(r||t.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(i){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(i,u.error),e+1>=s&&(n!==Y&&(a=void 0,l=[i]),t.rejectWith(a,l))}};e?u():(S.Deferred.getErrorHook?u.error=S.Deferred.getErrorHook():S.Deferred.getStackHook&&(u.error=S.Deferred.getStackHook()),i.setTimeout(u))}}return S.Deferred(function(i){t[0][3].add(o(0,i,v(r)?r:Z,i.notifyWith)),t[1][3].add(o(0,i,v(e)?e:Z)),t[2][3].add(o(0,i,v(n)?n:Y))}).promise()},promise:function(e){return null!=e?S.extend(e,r):r}},s={};return S.each(t,function(e,i){var o=i[2],a=i[5];r[i[1]]=o.add,a&&o.add(function(){n=a},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(i[3].fire),s[i[0]]=function(){return s[i[0]+"With"](this===s?void 0:this,arguments),this},s[i[0]+"With"]=o.fireWith}),r.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,n=t,i=Array(n),r=a.call(arguments),s=S.Deferred(),o=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?a.call(arguments):n,--t||s.resolveWith(i,r)}};if(t<=1&&(K(e,s.done(o(n)).resolve,s.reject,!t),"pending"===s.state()||v(r[n]&&r[n].then)))return s.then();for(;n--;)K(r[n],o(n),s.reject);return s.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&J.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){i.setTimeout(function(){throw e})};var X=S.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),i.removeEventListener("load",Q),S.ready()}S.fn.ready=function(e){return X.then(e).catch(function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||X.resolveWith(b,[S]))}}),S.ready.then=X.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?i.setTimeout(S.ready):(b.addEventListener("DOMContentLoaded",Q),i.addEventListener("load",Q));var ee=function(e,t,n,i,r,s,o){var a=0,l=e.length,c=null==n;if("object"===x(n))for(a in r=!0,n)ee(e,t,a,n[a],!0,s,o);else if(void 0!==i&&(r=!0,v(i)||(o=!0),c&&(o?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(S(e),n)})),t))for(;a<l;a++)t(e[a],n,o?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):s},te=/^-ms-/,ne=/-([a-z])/g;function ie(e,t){return t.toUpperCase()}function re(e){return e.replace(te,"ms-").replace(ne,ie)}var se=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function oe(){this.expando=S.expando+oe.uid++}oe.uid=1,oe.prototype={cache:function(e){var t=e[this.expando];return t||(t={},se(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[re(t)]=n;else for(i in t)r[re(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][re(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(re):(t=re(t))in i?[t]:t.match(G)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||S.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var ae=new oe,le=new oe,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return le.hasData(e)||ae.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return ae.access(e,t,n)},_removeData:function(e,t){ae.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,i,r,s=this[0],o=s&&s.attributes;if(void 0===e){if(this.length&&(r=le.get(s),1===s.nodeType&&!ae.get(s,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(i=o[n].name).indexOf("data-")&&(i=re(i.slice(5)),de(s,i,r[i]));ae.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){le.set(this,e)}):ee(this,function(t){var n;if(s&&void 0===t)return void 0!==(n=le.get(s,e))||void 0!==(n=de(s,e))?n:void 0;this.each(function(){le.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){le.remove(this,e)})}}),S.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ae.get(e,t),n&&(!i||Array.isArray(n)?i=ae.access(e,t,S.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),i=n.length,r=n.shift(),s=S._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete s.stop,r.call(e,function(){S.dequeue(e,t)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ae.get(e,n)||ae.access(e,n,{empty:S.Callbacks("once memory").add(function(){ae.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each(function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=S.Deferred(),s=this,o=this.length,a=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=ae.get(s[o],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var he=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+he+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=b.documentElement,ge=function(e){return S.contains(e.ownerDocument,e)},ve={composed:!0};me.getRootNode&&(ge=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===S.css(e,"display")};function be(e,t,n,i){var r,s,o=20,a=i?function(){return i.cur()}:function(){return S.css(e,t,"")},l=a(),c=n&&n[3]||(S.cssNumber[t]?"":"px"),u=e.nodeType&&(S.cssNumber[t]||"px"!==c&&+l)&&pe.exec(S.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;o--;)S.style(e,t,u+c),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),u/=s;u*=2,S.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var we={};function _e(e){var t,n=e.ownerDocument,i=e.nodeName,r=we[i];
vendor: 4,804 bytes, line 1
1return r||(t=n.body.appendChild(n.createElement(i)),r=S.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),we[i]=r,r)}function xe(e,t){for(var n,i,r=[],s=0,o=e.length;s<o;s++)(i=e[s]).style&&(n=i.style.display,t?("none"===n&&(r[s]=ae.get(i,"display")||null,r[s]||(i.style.display="")),""===i.style.display&&ye(i)&&(r[s]=_e(i))):"none"!==n&&(r[s]="none",ae.set(i,"display",n)));for(s=0;s<o;s++)null!=r[s]&&(e[s].style.display=r[s]);return e}S.fn.extend({show:function(){return xe(this,!0)},hide:function(){return xe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ye(this)?S(this).show():S(this).hide()})}});var ke,Ce,Se=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ee=/^$|^module$|\/(?:java|ecma)script/i;ke=b.createDocumentFragment().appendChild(b.createElement("div")),(Ce=b.createElement("input")).setAttribute("type","radio"),Ce.setAttribute("checked","checked"),Ce.setAttribute("name","t"),ke.appendChild(Ce),g.checkClone=ke.cloneNode(!0).cloneNode(!0).lastChild.checked,ke.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!ke.cloneNode(!0).lastChild.defaultValue,ke.innerHTML="<option></option>",g.option=!!ke.lastChild;var Ie={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ae(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?S.merge([e],n):n}function De(e,t){for(var n=0,i=e.length;n<i;n++)ae.set(e[n],"globalEval",!t||ae.get(t[n],"globalEval"))}Ie.tbody=Ie.tfoot=Ie.colgroup=Ie.caption=Ie.thead,Ie.th=Ie.td,g.option||(Ie.optgroup=Ie.option=[1,"<select multiple='multiple'>","</select>"]);var Me=/<|&#?\w+;/;function Oe(e,t,n,i,r){for(var s,o,a,l,c,u,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p<f;p++)if((s=e[p])||0===s)if("object"===x(s))S.merge(h,s.nodeType?[s]:s);else if(Me.test(s)){for(o=o||d.appendChild(t.createElement("div")),a=(Te.exec(s)||["",""])[1].toLowerCase(),l=Ie[a]||Ie._default,o.innerHTML=l[1]+S.htmlPrefilter(s)+l[2],u=l[0];u--;)o=o.lastChild;S.merge(h,o.childNodes),(o=d.firstChild).textContent=""}else h.push(t.createTextNode(s));for(d.textContent="",p=0;s=h[p++];)if(i&&S.inArray(s,i)>-1)r&&r.push(s);else if(c=ge(s),o=Ae(d.appendChild(s),"script"),c&&De(o),n)for(u=0;s=o[u++];)Ee.test(s.type||"")&&n.push(s);return d}var Pe=/^([^.]*)(?:\.(.+)|)/;function Le(){return!0}function Ne(){return!1}function Re(e,t,n,i,r,s){var o,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Re(e,a,n,i,t[a],s);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Ne;else if(!r)return e;return 1===s&&(o=r,r=function(e){return S().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=S.guid++)),e.each(function(){S.event.add(this,t,r,i,n)})}function Be(e,t,n){n?(ae.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var n,i=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),ae.set(this,t,i),this[t](),n=ae.get(this,t),ae.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(ae.set(this,t,S.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Le)}})):void 0===ae.get(e,t)&&S.event.add(e,t,Le)}S.event={global:{},add:function(e,t,n,i,r){var s,o,a,l,c,u,d,h,p,f,m,g=ae.get(e);if(se(e))for(n.handler&&(n=(s=n).handler,r=s.selector),r&&S.find.matchesSelector(me,r),n.guid||(n.guid=S.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(G)||[""]).length;c--;)p=m=(a=Pe.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=S.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=S.event.special[p]||{},u=S.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:f.join(".")},s),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),S.event.global[p]=!0)},remove:function(e,t,n,i,r){var s,o,a,l,c,u,d,h,p,f,m,g=ae.hasData(e)&&ae.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(G)||[""]).length;c--;)if(p=m=(a=Pe.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.
vendor: 11,075 bytes, line 1
1join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=h.length;s--;)u=h[s],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(s,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||S.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)S.event.remove(e,p+t[c],n,i,!0);S.isEmptyObject(l)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,s,o,a=new Array(arguments.length),l=S.event.fix(e),c=(ae.get(this,"events")||Object.create(null))[l.type]||[],u=S.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(o=S.event.handlers.call(this,l,c),t=0;(r=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(i=((S.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,s,o,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],o={},n=0;n<l;n++)void 0===o[r=(i=t[n]).selector+" "]&&(o[r]=i.needsContext?S(r,this).index(c)>-1:S.find(r,this,null,[c]).length),o[r]&&s.push(i);s.length&&a.push({elem:c,handlers:s})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Se.test(t.type)&&t.click&&E(t,"input")&&Be(t,"click",!0),!1},trigger:function(e){var t=this||e;return Se.test(t.type)&&t.click&&E(t,"input")&&Be(t,"click"),!0},_default:function(e){var t=e.target;return Se.test(t.type)&&t.click&&E(t,"input")&&ae.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Le:Ne,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Ne,isPropagationStopped:Ne,isImmediatePropagationStopped:Ne,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Le,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Le,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Le,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(b.documentMode){var n=ae.get(this,"handle"),i=S.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else S.event.simulate(t,e.target,S.event.fix(e))}S.event.special[e]={setup:function(){var i;if(Be(this,e,!0),!b.documentMode)return!1;(i=ae.get(this,t))||this.addEventListener(t,n),ae.set(this,t,(i||0)+1)},trigger:function(){return Be(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=ae.get(this,t)-1)?ae.set(this,t,e):(this.removeEventListener(t,n),ae.remove(this,t))},_default:function(t){return ae.get(t.target,e)},delegateType:t},S.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=b.documentMode?this:i,s=ae.get(r,t);s||(b.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),ae.set(r,t,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=b.documentMode?this:i,s=ae.get(r,t)-1;s?ae.set(r,t,s):(b.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),ae.remove(r,t))}}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||S.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),S.fn.extend({on:function(e,t,n,i){return Re(this,e,t,n,i)},one:function(e,t,n,i){return Re(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,S(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ne),this.each(function(){S.event.remove(this,e,n,t)})}});var Fe=/<script|<style|<link/i,Ve=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function je(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ze(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ue(e,t){var n,i,r,s,o,a;if(1===t.nodeType){if(ae.hasData(e)&&(a=ae.get(e).events))for(r in ae.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)S.event.add(t,r,a[r][n]);le.hasData(e)&&(s=le.access(e),o=S.extend({},s),le.set(t,o))}}function qe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Se.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function We(e,t,n,i){t=l(t);var r,s,o,a,c,u,d=0,h=e.length,p=h-1,f=t[0],m=v(f);if(m||h>1&&"string"==typeof f&&!g.checkClone&&Ve.test(f))return e.each(function(r){var s=e.eq(r);m&&(t[0]=f.call(this,r,s.html())),We(s,t,n,i)});if(h&&(s=(r=Oe(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=s),s||i)){for(a=(o=S.map(Ae(r,"script"),He)).length;d<h;d++)c=r,d!==p&&(c=S.clone(c,!0,!0),a&&S.merge(o,Ae(c,"script"))),n.call(e[d],c,d);if(a)for(u=o[o.length-1].ownerDocument,S.map(o,ze),d=0;d<a;d++)c=o[d],Ee.test(c.type||"")&&!ae.access(c,"globalEval")&&S.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?S._evalUrl&&!c.noModule&&S._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):_(c.textContent.replace($e,""),c,u))}return e}function Ge(e,t,n){for(var i,r=t?S.filter(t,e):e,s=0;null!=(i=r[s]);s++)n||1!==i.nodeType||S.cleanData(Ae(i)),i.parentNode&&(n&&ge(i)&&De(Ae(i,"script")),i.parentNode.removeChild(i));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,s,o,a=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(o=Ae(a),i=0,r=(s=Ae(e)).length;i<r;i++)qe(s[i],o[i]);if(t)if(n)for(s=s||Ae(e),o=o||Ae(a),i=0,r=s.length;i<r;i++)Ue(s[i],o[i]);else Ue(e,a);return(o=Ae(a,"script")).length>0&&De(o,!l&&Ae(e,"script")),a},cleanData:function(e){for(var t,n,i,r=S.event.special,s=0;void 0!==(n=e[s]);s++)if(se(n)){if(t=n[ae.expando]){if(t.events)for(i in t.events)r[i]?S.event.remove(n,i):S.removeEvent(n,i,t.handle);n[ae.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Ge(this,e,!0)},remove:function(e){return Ge(this,e)},text:function(e){return ee(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return We(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return We(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return We(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return We(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return ee(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Fe.test(e)&&!Ie[(Te.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(Ae(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return We(this,arguments,function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(Ae(this)),n&&n.replaceChild(t,this))},e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){S.fn[e]=function(e){for(var n,i=[],r=S(e),s=r.length-1,o=0;o<=s;o++)n=o===s?this:this.clone(!0),S(r[o])[t](n),c.apply(i,n.get());return this.pushStack(i)}});var Ze=new RegExp("^("+he+")(?!px)[a-z%]+$","i"),Ye=/^--/,Ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},Je=function(e,t,n){var i,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=s[r];return i},Xe=new RegExp(fe.join("|"),"i");function Qe(e,t,n){var i,r,s,o,a=Ye.test(t),l=e.style;return(n=n||Ke(e))&&(o=n.getPropertyValue(t)||n[t],a&&o&&(o=o.replace(O,"$1")||void 0),""!==o||ge(e)||(o=S.style(e,t)),!g.pixelBoxStyles()&&Ze.test(o)&&Xe.test(t)&&(i=l.width,r=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=n.width,l.width=i,l.minWidth=r,l.maxWidth=s)),void 0!==o?o+"":o}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;
1left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(c).appendChild(u);var e=i.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),r=36===t(e.width),u.style.position="absolute",s=12===t(u.offsetWidth/3),me.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,s,o,a,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,S.extend(g,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),r=i.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),a}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,it={};function rt(e){return S.cssProps[e]||it[e]||(e in nt?e:it[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var st=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var i=pe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ct(e,t,n,i,r,s){var o="width"===t?1:0,a=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(c+=S.css(e,n+fe[o],!0,r)),i?("content"===n&&(l-=S.css(e,"padding"+fe[o],!0,r)),"margin"!==n&&(l-=S.css(e,"border"+fe[o]+"Width",!0,r))):(l+=S.css(e,"padding"+fe[o],!0,r),"padding"!==n?l+=S.css(e,"border"+fe[o]+"Width",!0,r):a+=S.css(e,"border"+fe[o]+"Width",!0,r));return!i&&s>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l+c}function ut(e,t,n){var i=Ke(e),r=(!g.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=r,o=Qe(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ze.test(o)){if(!n)return o;o="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&E(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===S.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===S.css(e,"boxSizing",!1,i),(s=a in e)&&(o=e[a])),(o=parseFloat(o)||0)+ct(e,t,n||(r?"border":"content"),s,i,o)+"px"}function dt(e,t,n,i,r){return new dt.prototype.init(e,t,n,i,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,a=re(t),l=Ye.test(t),c=e.style;
vendor: 4,419 bytes, line 1
1if(l||(t=rt(a)),o=S.cssHooks[t]||S.cssHooks[a],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:c[t];"string"==(s=typeof n)&&(r=pe.exec(n))&&r[1]&&(n=be(e,t,r),s="number"),null!=n&&n==n&&("number"!==s||l||(n+=r&&r[3]||(S.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,s,o,a=re(t);return Ye.test(t)||(t=rt(a)),(o=S.cssHooks[t]||S.cssHooks[a])&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=Qe(e,t,i)),"normal"===r&&t in at&&(r=at[t]),""===n||n?(s=parseFloat(r),!0===n||isFinite(s)?s||0:r):r}}),S.each(["height","width"],function(e,t){S.cssHooks[t]={get:function(e,n,i){if(n)return!st.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,i):Je(e,ot,function(){return ut(e,t,i)})},set:function(e,n,i){var r,s=Ke(e),o=!g.scrollboxSize()&&"absolute"===s.position,a=(o||i)&&"border-box"===S.css(e,"boxSizing",!1,s),l=i?ct(e,t,i,a,s):0;return a&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-ct(e,t,"border",!1,s)-.5)),l&&(r=pe.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),lt(0,n,l)}}}),S.cssHooks.marginLeft=et(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(e,t){S.cssHooks[e+t]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+fe[i]+t]=s[i]||s[i-2]||s[0];return r}},"margin"!==e&&(S.cssHooks[e+t].set=lt)}),S.fn.extend({css:function(e,t){return ee(this,function(e,t,n){var i,r,s={},o=0;if(Array.isArray(t)){for(i=Ke(e),r=t.length;o<r;o++)s[t[o]]=S.css(e,t[o],!1,i);return s}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,arguments.length>1)}}),S.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,i,r,s){this.elem=e,this.prop=n,this.easing=r||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(S.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=dt.prototype.init,S.fx.step={};var ht,pt,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===b.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(gt):i.setTimeout(gt,S.fx.interval),S.fx.tick())}function vt(){return i.setTimeout(function(){ht=void 0}),ht=Date.now()}function yt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=fe[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function bt(e,t,n){for(var i,r=(wt.tweeners[t]||[]).concat(wt.tweeners["*"]),s=0,o=r.length;s<o;s++)if(i=r[s].call(n,t,e))return i}function wt(e,t,n){var i,r,s=0,o=wt.prefilters.length,a=S.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=ht||vt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),s=0,o=c.tweens.length;s<o;s++)c.tweens[s].run(i);return a.notifyWith(e,[c,i,n]),i<1&&o?n:(o||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:ht||vt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=S.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||
vendor: 4,103 bytes, line 1
1c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,i,r,s,o;for(n in e)if(r=t[i=re(n)],s=e[n],Array.isArray(s)&&(r=s[1],s=e[n]=s[0]),n!==i&&(e[i]=s,delete e[n]),(o=S.cssHooks[i])&&"expand"in o)for(n in s=o.expand(s),delete e[i],s)n in e||(e[n]=s[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);s<o;s++)if(i=wt.prefilters[s].call(c,e,u,c.opts))return v(i.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return S.map(u,bt,c),v(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(wt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,pe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(G);for(var n,i=0,r=e.length;i<r;i++)n=e[i],wt.tweeners[n]=wt.tweeners[n]||[],wt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,s,o,a,l,c,u,d="width"in t||"height"in t,h=this,p={},f=e.style,m=e.nodeType&&ye(e),g=ae.get(e,"fxshow");for(i in n.queue||(null==(o=S._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,h.always(function(){h.always(function(){o.unqueued--,S.queue(e,"fx").length||o.empty.fire()})})),t)if(r=t[i],ft.test(r)){if(delete t[i],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||S.style(e,i)}if((l=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(i in d&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=ae.get(e,"display")),"none"===(u=S.css(e,"display"))&&(c?u=c:(xe([e],!0),c=e.style.display||c,u=S.css(e,"display"),xe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===S.css(e,"float")&&(l||(h.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=ae.access(e,"fxshow",{display:c}),s&&(g.hidden=!m),m&&xe([e],!0),h.done(function(){for(i in m||xe([e]),ae.remove(e,"fxshow"),p)S.style(e,i,p[i])})),l=bt(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?wt.prefilters.unshift(e):wt.prefilters.push(e)}}),S.speed=function(e,t,n){var i=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return S.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in S.fx.speeds?i.duration=S.fx.speeds[i.duration]:i.duration=S.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=S.isEmptyObject(e),s=S.speed(t,n,i),o=function(){var t=wt(this,S.extend({},e),s);(r||ae.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",s=S.timers,o=ae.get(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&mt.test(r)&&i(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=e&&s[r].queue!==e||(s[r].anim.stop(n),t=!1,s.splice(r,1));!t&&n||S.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ae.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],s=S.timers,o=i?i.length:0;for(n.finish=!0,S.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1)
vendor: 5,993 bytes, line 1
1);for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),S.each(["toggle","show","hide"],function(e,t){var n=S.fn[t];S.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(yt(t,!0),e,i,r)}}),S.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){S.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(ht=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),ht=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){pt||(pt=!0,gt())},S.fx.stop=function(){pt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r)}})},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var _t,xt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return ee(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?S.prop(e,t,n):(1===s&&S.isXMLDoc(e)||(r=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?_t:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=S.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(G);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),_t={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||S.find.attr;xt[t]=function(e,t,i){var r,s,o=t.toLowerCase();return i||(s=xt[o],xt[o]=r,r=null!=n(e,t,i)?o:null,xt[o]=s),r}});var kt=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;function St(e){return(e.match(G)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(G)||[]}S.fn.extend({prop:function(e,t){return ee(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&S.isXMLDoc(e)||(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(e){var t,n,i,r,s,o;return v(e)?this.each(function(t){S(this).addClass(e.call(this,t,Tt(this)))}):(t=Et(e)).length?this.each(function(){if(i=Tt(this),n=1===this.nodeType&&" "+St(i)+" "){for(s=0;s<t.length;s++)r=t[s],n.indexOf(" "+r+" ")<0&&(n+=r+" ");o=St(n),i!==o&&this.setAttribute("class",o)}}):this},removeClass:function(e){var t,n,i,r,s,o;return v(e)?this.each(function(t){S(this).removeClass(e.call(this,t,Tt(this)))}):arguments.length?(t=Et(e)).length?this.each(function(){if(i=Tt(this),n=1===this.nodeType&&" "+St(i)+" "){for(s=0;s<t.length;s++)for(r=t[s];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");o=St(n),i!==o&&this.setAttribute("class",o)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,i,r,s,o=typeof e,a="string"===o||Array.isArray(e);return v(e)?this.each(function(n){S(this).toggleClass(e.call(this,n,Tt(this),t),t)}):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=Et(e),this.each(function(){if(a)for(s=S(this),r=0;r<n.length;r++)i=n[r],s.hasClass(i)?s.removeClass(i):s.addClass(i);else void 0!==e&&"boolean"!==o||((i=Tt(this))&&ae.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":ae.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+St(Tt(n))+" ").indexOf(t)>-1)return!0;return!1}});var It=/\r/g;S.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=v(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,S(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=S.map(r,function(e){return null==e?"":e+""})),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=S.valHooks[r.type]||S.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(It,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:St(S.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,o="select-one"===e.type,a=o?null:[],l=o?s+1:r.length;for(i=s<0?l:o?s:0;i<l;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(t=S(n).val(),o)return t;a.push(t)}return a}
vendor: 15,060 bytes, line 1
1,set:function(e,t){for(var n,i,r=e.options,s=S.makeArray(t),o=r.length;o--;)((i=r[o]).selected=S.inArray(S.valHooks.option.get(i),s)>-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var At=i.location,Dt={guid:Date.now()},Mt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Ot=/^(?:focusinfocus|focusoutblur)$/,Pt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,r){var s,o,a,l,c,u,d,h,f=[n||b],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(o=h=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Ot.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),d=S.event.special[m]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!y(n)){for(l=d.delegateType||m,Ot.test(l+m)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(n.ownerDocument||b)&&f.push(a.defaultView||a.parentWindow||i)}for(s=0;(o=f[s++])&&!e.isPropagationStopped();)h=o,e.type=s>1?l:d.bindType||m,(u=(ae.get(o,"events")||Object.create(null))[e.type]&&ae.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&se(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!se(n)||c&&v(n[m])&&!y(n)&&((a=n[c])&&(n[c]=null),S.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,Pt),n[m](),e.isPropagationStopped()&&h.removeEventListener(m,Pt),S.event.triggered=void 0,a&&(n[c]=a)),e.result}},simulate:function(e,t,n){var i=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(i,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}});var Lt=/\[\]$/,Nt=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;function Ft(e,t,n,i){var r;if(Array.isArray(t))S.each(t,function(t,r){n||Lt.test(e)?i(e,r):Ft(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==x(t))i(e,t);else for(r in t)Ft(e+"["+r+"]",t[r],n,i)}S.param=function(e,t){var n,i=[],r=function(e,t){var n=v(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){r(this.name,this.value)});else for(n in e)Ft(n,e[n],t,r);return i.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Bt.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!Se.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}});var Vt=/%20/g,$t=/#.*$/,jt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:GET|HEAD)$/,Ut=/^\/\//,qt={},Wt={},Gt="*/".concat("*"),Zt=b.createElement("a");function Yt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,s=t.toLowerCase().match(G)||[];if(v(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Kt(e,t,n,i){var r={},s=e===Wt;function o(a){var l;return r[a]=!0,S.each(e[a]||[],function(e,a){var c=a(t,n,i);return"string"!=typeof c||s||r[c]?s?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)}),l}return o(t.dataTypes[0])||!r["*"]&&o("*")}function Jt(e,t){var n,i,r=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&S.extend(!0,e,i),e}Zt.href=At.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,S.ajaxSettings),t):Jt(S.ajaxSettings,e)},ajaxPrefilter:Yt(qt),ajaxTransport:Yt(Wt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,s,o,a,l,c,u,d,h,p=S.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?S(f):S.event,g=S.Deferred(),v=S.Callbacks("once memory"),y=p.statusCode||{},w={},_={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=Ht.exec(s);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return n&&n.abort(t),C(0,t),this}};if(g.promise(k),p.url=((e||p.url||At.href)+"").replace(Ut,At.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(G)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Zt.protocol+"//"+Zt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Kt(qt,p,t,k),c)return k;for(d in(u=S.event&&p.global)&&0===S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!zt.test(p.type),r=p.url.replace($t,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Vt,"+")):(h=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Mt.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(jt,"$1"),h=(Mt.test(r)?"&":"?")+"_="+Dt.guid+++h),p.url=r+h),p.ifModified&&(S.lastModified[r]&&k.setRequestHeader("If-Modified-Since",S.lastModified[r]),S.etag[r]&&k.setRequestHeader("If-None-Match",S.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Gt+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,k,p)||c))return k.abort();if(x="abort",v.add(p.complete),k.done(p.success),k.fail(p.error),n=Kt(Wt,p,t,k)){if(k.readyState=1,u&&m.trigger("ajaxSend",[k,p]),c)return k;p.async&&p.timeout>0&&(a=i.setTimeout(function(){k.abort("timeout")},p.timeout));try{c=!1,n.send(w,C)}catch(e){if(c)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,o,l){var d,h,b,w,_,x=t;c||(c=!0,a&&i.clearTimeout(a),n=void 0,s=l||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(w=function(e,t,n){for(var i,r,s,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)s=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),n[s]}(p,k,o)),!d&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),w=function(e,t,n,i){var r,s,o,a,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(s=u.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=c[l+" "+s]||c["* "+s]))for(r in c)if((a=r.split(" "))[1]===s&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[r]:!0!==c[r]&&(s=a[0],u.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(p,w,k,d),d?(p.ifModified&&((_=k.getResponseHeader("Last-Modified"))&&(S.lastModified[r]=_),(_=k.getResponseHeader("etag"))&&(S.etag[r]=_)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=w.state,h=w.data,d=!(b=w.error))):(b=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(t||x)+"",d?g.resolveWith(f,[h,x,k]):g.rejectWith(f,[k,x,b]),k.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,p,d?h:b]),v.fireWith(f,[k,x]),u&&(m.trigger("ajaxComplete",[k,p]),--S.active||S.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,t){S[t]=function(e,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:r,data:n,success:i},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){S(this).wrapInner(e.call(this,t))}):this.each(function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){S(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Xt={0:200,1223:204},Qt=S.ajaxSettings.xhr();g.cors=!!Qt&&"withCredentials"in Qt,g.ajax=Qt=!!Qt,S.ajaxTransport(function(e){var t,n;if(g.cors||Qt&&!e.crossDomain)return{send:function(r,s){var o,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];for(o in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Xt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}});var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||S.expando+"_"+Dt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,s,o,a=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(nn,"$1"+r):!1!==e.jsonp&&(e.url+=(Mt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",s=i[r],i[r]=function(){o=arguments},n.always(function(){void 0===s?S(i).removeProp(r):i[r]=s,e[r]&&(e.jsonpCallback=t.jsonpCallback,tn.push(r)),o&&v(s)&&s(o[0]),o=s=void 0}),"script"}),g.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((i=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(i)):t=b),s=!n&&[],(r=$.exec(e))?[t.createElement(r[1])]:(r=Oe([e],t,s),s&&s.length&&S(s).remove(),S.merge([],r.childNodes)));var i,r,s},S.fn.load=function(e,t,n){var i,r,s,o=this,a=e.indexOf(" ");return a>-1&&(i=St(e.slice(a)),e=e.slice(0,a)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),o.length>0&&S.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){s=arguments,o.html(i?S("<div>").append(S.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(e,t,n){var i,r,s,o,a,l,c=S.css(e,"position"),u=S(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),s=S.css(e,"to
1p"),l=S.css(e,"left"),("absolute"===c||"fixed"===c)&&(s+l).indexOf("auto")>-1?(o=(i=u.position()).top,r=i.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),v(t)&&(t=t.call(e,n,S.extend({},a))),null!=t.top&&(d.top=t.top-a.top+o),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):u.css(d)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){S.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===S.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),r.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-S.css(i,"marginTop",!0),left:t.left-r.left-S.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||me})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;S.fn[e]=function(i){return ee(this,function(e,i,r){var s;if(y(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===r)return s?s[t]:e[i];s?s.scrollTo(n?s.pageXOffset:r,n?r:s.pageYOffset):e[i]=r},e,i,arguments.length)}}),S.each(["top","left"],function(e,t){S.cssHooks[t]=et(g.pixelPosition,function(e,n){if(n)return n=Qe(e,t),Ze.test(n)?S(e).position()[t]+"px":n})}),S.each({Height:"height",Width:"width"},function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){S.fn[i]=function(r,s){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===s?"margin":"border");return ee(this,function(t,n,r){var s;return y(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===r?S.css(t,n,a):S.style(t,n,r,a)},t,o?r:void 0,o)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=a.call(arguments,2),r=function(){return e.apply(t||this,i.concat(a.call(arguments)))},r.guid=e.guid=e.guid||S.guid++,r},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=E,S.isFunction=v,S.isWindow=y,S.camelCase=re,S.type=x,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return S}.apply(t,[]))||(e.exports=n);var sn=i.jQuery,on=i.$;return S.noConflict=function(e){return i.$===S&&(i.$=on),e&&i.jQuery===S&&(i.jQuery=sn),S},void 0===r&&(i.jQuery=i.$=S),S})},6879:function(e){!function(t){var n=function(e,t,n){"use strict";var i,r;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},n)t in r||(r[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var s,o,a,l,c,u,d,h,p,f,m,g,v,y,b,w,_,x,k,C,S,T,E,I,A,D,M,O,P,L,N,R,B,F,V,$,j,H,z,U,q,W,G,Z,Y=t.documentElement,K=e.HTMLPictureElement,J="addEventListener",X="getAttribute",Q=e[J].bind(e),ee=e.setTimeout,te=e.requestAnimationFrame||ee,ne=e.requestIdleCallback,ie=/^picture$/i,re=["load","error","lazyincluded","_lazyloaded"],se={},oe=Array.prototype.forEach,ae=function(e,t){return se[t]||(se[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),se[t].test(e[X]("class")||"")&&se[t]},le=function(e,t){ae(e,t)||e.setAttribute("class",(e[X]("class")||"").trim()+" "+t)},ce=function(e,t){var n;(n=ae(e,t))&&e.setAttribute("class",(e[X]("class")||"").replace(n," "))},ue=function(e,t,n){var i=n?J:"removeEventListener";n&&ue(e,t),re.forEach(function(n){e[i](n,t)})},de=function(e,n,r,s,o){var a=t.createEvent("Event");return r||(r={}),r.instance=i,a.initEvent(n,!s,!o),a.detail=r,e.dispatchEvent(a),a},he=function(t,n){var i;!K&&(i=e.picturefill||r.pf)?(n&&n.src&&!t[X]("srcset")&&t.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},pe=function(e,t){return(getComputedStyle(e,null)||{})[t]},fe=function(e,t,n){for(n=n||e.offsetWidth;n<r.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},me=(q=[],W=U=[],Z=function(e,n){H&&!n?e.apply(this,arguments):(W.push(e),z||(z=!0,(t.hidden?ee:te)(G)))},Z._lsFlush=G=function(){var e=W;for(W=U.length?q:U,H=!0,z=!1;e.length;)e.shift()();H=!1},Z),ge=function(e,t){return t?function(){me(e)}:function(){var t=this,n=arguments;me(function(){e.apply(t,n)})}},ve=function(e){var t,i,r=function(){t=null,e()},s=function(){var e=n.now()-i;e<99?ee(s,99-e):(ne||r)(r)};return function(){i=n.now(),t||(t=ee(s,99))}},ye=(_=/^img$/i,x=/^iframe$/i,k="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),C=0,S=0,T=-1,E=function(e){
1S--,(!e||S<0||!e.target)&&(S=0)},I=function(e){return null==w&&(w="hidden"==pe(t.body,"visibility")),w||!("hidden"==pe(e.parentNode,"visibility")&&"hidden"==pe(e,"visibility"))},A=function(e,n){var i,r=e,s=I(e);for(g-=n,b+=n,v-=n,y+=n;s&&(r=r.offsetParent)&&r!=t.body&&r!=Y;)(s=(pe(r,"opacity")||1)>0)&&"visible"!=pe(r,"overflow")&&(i=r.getBoundingClientRect(),s=y>i.left&&v<i.right&&b>i.top-1&&g<i.bottom+1);return s},M=function(e){var t,i=0,s=r.throttleDelay,o=r.ricTimeout,a=function(){t=!1,i=n.now(),e()},l=ne&&o>49?function(){ne(a,{timeout:o}),o!==r.ricTimeout&&(o=r.ricTimeout)}:ge(function(){ee(a)},!0);return function(e){var r;(e=!0===e)&&(o=33),t||(t=!0,(r=s-(n.now()-i))<0&&(r=0),e||r<9?l():ee(l,r))}}(D=function(){var e,n,s,o,a,l,d,p,_,x,E,D,M=i.elements;if((h=r.loadMode)&&S<8&&(e=M.length)){for(n=0,T++;n<e;n++)if(M[n]&&!M[n]._lazyRace)if(!k||i.prematureUnveil&&i.prematureUnveil(M[n]))F(M[n]);else if((p=M[n][X]("data-expand"))&&(l=1*p)||(l=C),x||(x=!r.expand||r.expand<1?Y.clientHeight>500&&Y.clientWidth>500?500:370:r.expand,i._defEx=x,E=x*r.expFactor,D=r.hFac,w=null,C<E&&S<1&&T>2&&h>2&&!t.hidden?(C=E,T=0):C=h>1&&T>1&&S<6?x:0),_!==l&&(f=innerWidth+l*D,m=innerHeight+l,d=-1*l,_=l),s=M[n].getBoundingClientRect(),(b=s.bottom)>=d&&(g=s.top)<=m&&(y=s.right)>=d*D&&(v=s.left)<=f&&(b||y||v||g)&&(r.loadHidden||I(M[n]))&&(u&&S<3&&!p&&(h<3||T<4)||A(M[n],l))){if(F(M[n]),a=!0,S>9)break}else!a&&u&&!o&&S<4&&T<4&&h>2&&(c[0]||r.preloadAfterLoad)&&(c[0]||!p&&(b||y||v||g||"auto"!=M[n][X](r.sizesAttr)))&&(o=c[0]||M[n]);o&&!a&&F(o)}}),P=ge(O=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(E(e),le(t,r.loadedClass),ce(t,r.loadingClass),ue(t,L),de(t,"lazyloaded"))}),L=function(e){P({target:e.target})},N=function(e,t){var n=e.getAttribute("data-load-mode")||r.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},R=function(e){var t,n=e[X](r.srcsetAttr);(t=r.customMedia[e[X]("data-media")||e[X]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},B=ge(function(e,t,n,i,s){var o,a,l,c,u,h;(u=de(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(n?le(e,r.autosizesClass):e.setAttribute("sizes",i)),a=e[X](r.srcsetAttr),o=e[X](r.srcAttr),s&&(c=(l=e.parentNode)&&ie.test(l.nodeName||"")),h=t.firesLoad||"src"in e&&(a||o||c),u={target:e},le(e,r.loadingClass),h&&(clearTimeout(d),d=ee(E,2500),ue(e,L,!0)),c&&oe.call(l.getElementsByTagName("source"),R),a?e.setAttribute("srcset",a):o&&!c&&(x.test(e.nodeName)?N(e,o):e.src=o),s&&(a||c)&&he(e,{src:o})),e._lazyRace&&delete e._lazyRace,ce(e,r.lazyClass),me(function(){var t=e.complete&&e.naturalWidth>1;h&&!t||(t&&le(e,r.fastLoadedClass),O(u),e._lazyCache=!0,ee(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&S--},!0)}),F=function(e){if(!e._lazyRace){var t,n=_.test(e.nodeName),i=n&&(e[X](r.sizesAttr)||e[X]("sizes")),s="auto"==i;(!s&&u||!n||!e[X]("src")&&!e.srcset||e.complete||ae(e,r.errorClass)||!ae(e,r.lazyClass))&&(t=de(e,"lazyunveilread").detail,s&&be.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,S++,B(e,t,s,i,n))}},V=ve(function(){r.loadMode=3,M()}),j=function(){u||(n.now()-p<999?ee(j,999):(u=!0,r.loadMode=3,M(),Q("scroll",$,!0)))},{_:function(){p=n.now(),i.elements=t.getElementsByClassName(r.lazyClass),c=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),Q("scroll",M,!0),Q("resize",M,!0),Q("pageshow",function(e){if(e.persisted){var n=t.querySelectorAll("."+r.loadingClass);n.length&&n.forEach&&te(function(){n.forEach(function(e){e.complete&&F(e)})})}}),e.MutationObserver?new MutationObserver(M).observe(Y,{childList:!0,subtree:!0,attributes:!0}):(Y[J]("DOMNodeInserted",M,!0),Y[J]("DOMAttrModified",M,!0),setInterval(M,999)),Q("hashchange",M,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[J](e,M,!0)}),/d$|^c/.test(t.readyState)?j():(Q("load",j),t[J]("DOMContentLoaded",M),ee(j,2e4)),i.elements.length?(D(),me._lsFlush()):M()},checkElems:M,unveil:F,_aLSL:$=function(){3==r.loadMode&&(r.loadMode=2),V()}}),be=(o=ge(function(e,t,n,i){var r,s,o;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),ie.test(t.no
1deName||""))for(s=0,o=(r=t.getElementsByTagName("source")).length;s<o;s++)r[s].setAttribute("sizes",i);n.detail.dataAttr||he(e,n.detail)}),a=function(e,t,n){var i,r=e.parentNode;r&&(n=fe(e,r,n),(i=de(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=i.detail.width)&&n!==e._lazysizesWidth&&o(e,r,i,n))},{_:function(){s=t.getElementsByClassName(r.autosizesClass),Q("resize",l)},checkElems:l=ve(function(){var e,t=s.length;if(t)for(e=0;e<t;e++)a(s[e])}),updateElem:a}),we=function(){!we.i&&t.getElementsByClassName&&(we.i=!0,be._(),ye._())};return ee(function(){r.init&&we()}),i={cfg:r,autoSizer:be,loader:ye,init:we,uP:he,aC:le,rC:ce,hC:ae,fire:de,gW:fe,rAF:me}}(t,t.document,Date);t.lazySizes=n,e.exports&&(e.exports=n)}("undefined"!=typeof window?window:{})},2552:function(e,t,n){var i,r,s,o=n(4692);!function(o,a){o&&(a=a.bind(null,o,o.document),e.exports?a(n(6879)):(r=[n(6879)],void 0===(s="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=s)))}("undefined"!=typeof window?window:0,function(e,t,n){"use strict";if(e.addEventListener){var i=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,r=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,s=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,a=/^picture$/i,l=n.cfg,c={getParent:function(t,n){var i=t,r=t.parentNode;return n&&"prev"!=n||!r||!a.test(r.nodeName||"")||(r=r.parentNode),"self"!=n&&(i="prev"==n?t.previousElementSibling:n&&(r.closest||e.jQuery)&&(r.closest?r.closest(n):o(r).closest(n)[0])||r),i},getFit:function(e){var t,n,i=getComputedStyle(e,null)||{},o=i.content||i.fontFamily,a={fit:e._lazysizesParentFit||e.getAttribute("data-parent-fit")};return!a.fit&&o&&(t=o.match(r))&&(a.fit=t[1]),a.fit?(!(n=e._lazysizesParentContainer||e.getAttribute("data-parent-container"))&&o&&(t=o.match(s))&&(n=t[1]),a.parent=c.getParent(e,n)):a.fit=i.objectFit,a},getImageRatio:function(t){var n,r,s,o,c,u,d,h=t.parentNode,p=h&&a.test(h.nodeName||"")?h.querySelectorAll("source, img"):[t];for(n=0;n<p.length;n++)if(r=(t=p[n]).getAttribute(l.srcsetAttr)||t.getAttribute("srcset")||t.getAttribute("data-pfsrcset")||t.getAttribute("data-risrcset")||"",s=t._lsMedia||t.getAttribute("media"),s=l.customMedia[t.getAttribute("data-media")||s]||s,r&&(!s||(e.matchMedia&&matchMedia(s)||{}).matches)){(o=parseFloat(t.getAttribute("data-aspectratio")))||((c=r.match(i))?"w"==c[2]?(u=c[1],d=c[3]):(u=c[3],d=c[1]):(u=t.getAttribute("width"),d=t.getAttribute("height")),o=u/d);break}return o},calculateSize:function(e,t){var n,i,r,s=this.getFit(e),o=s.fit,a=s.parent;return"width"==o||("contain"==o||"cover"==o)&&(i=this.getImageRatio(e))?(a?t=a.clientWidth:a=e,r=t,"width"==o?r=t:(n=t/a.clientHeight)&&("cover"==o&&n<i||"contain"==o&&n>i)&&(r=t*(i/n)),r):t}};n.parentFit=c,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail.instance==n){var t=e.target;e.detail.width=c.calculateSize(t,e.detail.width)}})}})},3481:function(e,t){!function(e){"use strict";function t(e){var t,n,i,r;for(n=1,i=arguments.length;n<i;n++)for(t in r=arguments[n])e[t]=r[t];return e}var n=Object.create||function(){function e(){}return function(t){return e.prototype=t,new e}}();function i(e,t){var n=Array.prototype.slice;if(e.bind)return e.bind.apply(e,n.call(arguments,1));var i=n.call(arguments,2);return function(){return e.apply(t,i.length?i.concat(n.call(arguments)):arguments)}}var r=0;function s(e){return"_leaflet_id"in e||(e._leaflet_id=++r),e._leaflet_id}function o(e,t,n){var i,r,s,o;return o=function(){i=!1,r&&(s.apply(n,r),r=!1)},s=function(){i?r=arguments:(e.apply(n,arguments),setTimeout(o,t),i=!0)},s}function a(e,t,n){var i=t[1],r=t[0],s=i-r;return e===i&&n?e:((e-r)%s+s)%s+r}function l(){return!1}function c(e,t){if(!1===t)return e;var n=Math.pow(10,void 0===t?6:t);return Math.round(e*n)/n}function u(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function d(e){return u(e).split(/\s+/)}function h(e,t){for(var i in Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?n(e.options):{}),t)e.options[i]=t[i];return e.options}function p(e,t,n){var i=[];for(var r in e)i.push(encodeURIComponent(n?r.toUpperCase():r)+"="+encodeURIComponent(e[r]));return(t&&-1!==t.indexOf("?")?"&":"?")+i.join("&")}var f=/\{ *([\w_ -]+) *\}/g;function m(e,t){return e.replace(f,function(e,n){var i=t[n];if(void 0===i)throw new Error("No value provided for variable "+e);return"function"==typeof i&&(i=i(t)),i})}var g=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function v(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}var y="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function b(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var w=0;function _(e){var t=+new Date,n=Math.max(0,16-(t-w));return w=t+n,window.setTimeout(e,n)}var x=window.requestAnimationFrame||b("RequestAnimationFrame")||_,k=window.cancelAnimationFrame||b("C
1ancelAnimationFrame")||b("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function C(e,t,n){if(!n||x!==_)return x.call(window,i(e,t));e.call(t)}function S(e){e&&k.call(window,e)}var T={__proto__:null,extend:t,create:n,bind:i,get lastId(){return r},stamp:s,throttle:o,wrapNum:a,falseFn:l,formatNum:c,trim:u,splitWords:d,setOptions:h,getParamString:p,template:m,isArray:g,indexOf:v,emptyImageUrl:y,requestFn:x,cancelFn:k,requestAnimFrame:C,cancelAnimFrame:S};function E(){}E.extend=function(e){var i=function(){h(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},r=i.__super__=this.prototype,s=n(r);for(var o in s.constructor=i,i.prototype=s,this)Object.prototype.hasOwnProperty.call(this,o)&&"prototype"!==o&&"__super__"!==o&&(i[o]=this[o]);return e.statics&&t(i,e.statics),e.includes&&(function(e){if("undefined"!=typeof L&&L&&L.Mixin){e=g(e)?e:[e];for(var t=0;t<e.length;t++)e[t]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(e.includes),t.apply(null,[s].concat(e.includes))),t(s,e),delete s.statics,delete s.includes,s.options&&(s.options=r.options?n(r.options):{},t(s.options,e.options)),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){r.callInitHooks&&r.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=s._initHooks.length;e<t;e++)s._initHooks[e].call(this)}},i},E.include=function(e){var n=this.prototype.options;return t(this.prototype,e),e.options&&(this.prototype.options=n,this.mergeOptions(e.options)),this},E.mergeOptions=function(e){return t(this.prototype.options,e),this},E.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),n="function"==typeof e?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var I={on:function(e,t,n){if("object"==typeof e)for(var i in e)this._on(i,e[i],t);else for(var r=0,s=(e=d(e)).length;r<s;r++)this._on(e[r],t,n);return this},off:function(e,t,n){if(arguments.length)if("object"==typeof e)for(var i in e)this._off(i,e[i],t);else{e=d(e);for(var r=1===arguments.length,s=0,o=e.length;s<o;s++)r?this._off(e[s]):this._off(e[s],t,n)}else delete this._events;return this},_on:function(e,t,n,i){if("function"==typeof t){if(!1===this._listens(e,t,n)){n===this&&(n=void 0);var r={fn:t,ctx:n};i&&(r.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(r)}}else console.warn("wrong listener type: "+typeof t)},_off:function(e,t,n){var i,r,s;if(this._events&&(i=this._events[e]))if(1!==arguments.length)if("function"==typeof t){var o=this._listens(e,t,n);if(!1!==o){var a=i[o];this._firingCount&&(a.fn=l,this._events[e]=i=i.slice()),i.splice(o,1)}}else console.warn("wrong listener type: "+typeof t);else{if(this._firingCount)for(r=0,s=i.length;r<s;r++)i[r].fn=l;delete this._events[e]}},fire:function(e,n,i){if(!this.listens(e,i))return this;var r=t({}
vendor: 6,396 bytes, line 1
1,n,{type:e,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var s=this._events[e];if(s){this._firingCount=this._firingCount+1||1;for(var o=0,a=s.length;o<a;o++){var l=s[o],c=l.fn;l.once&&this.off(e,c,l.ctx),c.call(l.ctx||this,r)}this._firingCount--}}return i&&this._propagateEvent(r),this},listens:function(e,t,n,i){"string"!=typeof e&&console.warn('"string" type argument expected');var r=t;"function"!=typeof t&&(i=!!t,r=void 0,n=void 0);var s=this._events&&this._events[e];if(s&&s.length&&!1!==this._listens(e,r,n))return!0;if(i)for(var o in this._eventParents)if(this._eventParents[o].listens(e,t,n,i))return!0;return!1},_listens:function(e,t,n){if(!this._events)return!1;var i=this._events[e]||[];if(!t)return!!i.length;n===this&&(n=void 0);for(var r=0,s=i.length;r<s;r++)if(i[r].fn===t&&i[r].ctx===n)return r;return!1},once:function(e,t,n){if("object"==typeof e)for(var i in e)this._on(i,e[i],t,!0);else for(var r=0,s=(e=d(e)).length;r<s;r++)this._on(e[r],t,n,!0);return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[s(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[s(e)],this},_propagateEvent:function(e){for(var n in this._eventParents)this._eventParents[n].fire(e.type,t({layer:e.target,propagatedFrom:e.target},e),!0)}};I.addEventListener=I.on,I.removeEventListener=I.clearAllEventListeners=I.off,I.addOneTimeEventListener=I.once,I.fireEvent=I.fire,I.hasEventListeners=I.listens;var A=E.extend(I);function D(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t}var M=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};function O(e,t,n){return e instanceof D?e:g(e)?new D(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new D(e.x,e.y):new D(e,t,n)}function P(e,t){if(e)for(var n=t?[e,t]:e,i=0,r=n.length;i<r;i++)this.extend(n[i])}function N(e,t){return!e||e instanceof P?e:new P(e,t)}function R(e,t){if(e)for(var n=t?[e,t]:e,i=0,r=n.length;i<r;i++)this.extend(n[i])}function B(e,t){return e instanceof R?e:new R(e,t)}function F(e,t,n){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,void 0!==n&&(this.alt=+n)}function V(e,t,n){return e instanceof F?e:g(e)&&"object"!=typeof e[0]?3===e.length?new F(e[0],e[1],e[2]):2===e.length?new F(e[0],e[1]):null:null==e?e:"object"==typeof e&&"lat"in e?new F(e.lat,"lng"in e?e.lng:e.lon,e.alt):void 0===t?null:new F(e,t,n)}D.prototype={clone:function(){return new D(this.x,this.y)},add:function(e){return this.clone()._add(O(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(O(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new D(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new D(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=M(this.x),this.y=M(this.y),this},distanceTo:function(e){var t=(e=O(e)).x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return(e=O(e)).x===this.x&&e.y===this.y},contains:function(e){return e=O(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+c(this.x)+", "+c(this.y)+")"}},P.prototype={extend:function(e){var t,n;if(!e)return this;if(e instanceof D||"number"==typeof e[0]||"x"in e)t=n=O(e);else if(t=(e=N(e)).min,n=e.max,!t||!n)return this;return this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)):(this.min=t.clone(),this.max=n.clone()),this},getCenter:function(e){return O((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return O(this.min.x,this.max.y)},getTopRight:function(){return O(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,n;return(e="number"==typeof e[0]||e instanceof D?O(e):N(e))instanceof P?(t=e.min,n=e.max):t=n=e,t.x>=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=N(e);var t=this.min,n=this.max,i=e.min,r=e.max,s=r.x>=t.x&&i.x<=n.x,o=r.y>=t.y&&i.y<=n.y;return s&&o},overlaps:function(e){e=N(e);var t=this.min,n=this.max,i=e.min,r=e.max,s=r.x>t.x&&i.x<n.x,o=r.y>t.y&&i.y<n.y;return s&&o},isValid:function(){return!(!this.min||!this.max)},pad:function(e){var t=this.min,n=this.max,i=Math.abs(t.x-n.x)*e,r=Math.abs(t.y-n.y)*e;return N(O(t.x-i,t.y-r),O(n.x+i,n.y+r))},equals:function(e){return!!e&&(e=N(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight()))}},R.prototype={extend:function(e){var t,n,i=this._southWest,r=this._northEast;if(e instanceof F)t=e,n=e;else{if(!(e instanceof R))return e?this.extend(V(e)||B(e)):this;if(t=e._southWest,n=e._northEast,!t||!n)return this}return i||r?(i.lat=Math.min(t.lat,i.lat),i.lng=Math.min(t.lng,i.lng),r.lat=Math.max(n.lat,r.lat),r.lng=Math.max(n.lng,r.lng)):(this._southWest=new F(t.lat,t.lng),this._northEast=new F(n.lat,n.lng)),this},pad:function(e){var t=this._southWest,n=this._northEast,i=Math.abs(t.lat-n.lat)*e,r=Math.abs(t.lng-n.lng)*e;return new R(new F(t.lat-i,t.lng-r),new F(n.lat+i,n.lng+r))},getCenter:function(){return new F((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new F(this.getNorth(),this.getWest())},getSouthEast:function(){return new F(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,435 bytes, line 1
1,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e="number"==typeof e[0]||e instanceof F||"lat"in e?V(e):B(e);var t,n,i=this._southWest,r=this._northEast;return e instanceof R?(t=e.getSouthWest(),n=e.getNorthEast()):t=n=e,t.lat>=i.lat&&n.lat<=r.lat&&t.lng>=i.lng&&n.lng<=r.lng},intersects:function(e){e=B(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),r=e.getNorthEast(),s=r.lat>=t.lat&&i.lat<=n.lat,o=r.lng>=t.lng&&i.lng<=n.lng;return s&&o},overlaps:function(e){e=B(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),r=e.getNorthEast(),s=r.lat>t.lat&&i.lat<n.lat,o=r.lng>t.lng&&i.lng<n.lng;return s&&o},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return!!e&&(e=B(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t))},isValid:function(){return!(!this._southWest||!this._northEast)}},F.prototype={equals:function(e,t){return!!e&&(e=V(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(void 0===t?1e-9:t))},toString:function(e){return"LatLng("+c(this.lat,e)+", "+c(this.lng,e)+")"},distanceTo:function(e){return H.distance(this,V(e))},wrap:function(){return H.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return B([this.lat-t,this.lng-n],[this.lat+t,this.lng+n])},clone:function(){return new F(this.lat,this.lng,this.alt)}};var $,j={latLngToPoint:function(e,t){var n=this.projection.project(e),i=this.scale(t);return this.transformation._transform(n,i)},pointToLatLng:function(e,t){var n=this.scale(t),i=this.transformation.untransform(e,n);return this.projection.unproject(i)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,n=this.scale(e);return new P(this.transformation.transform(t.min,n),this.transformation.transform(t.max,n))},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?a(e.lng,this.wrapLng,!0):e.lng;return new F(this.wrapLat?a(e.lat,this.wrapLat,!0):e.lat,t,e.alt)},wrapLatLngBounds:function(e){var t=e.getCenter(),n=this.wrapLatLng(t),i=t.lat-n.lat,r=t.lng-n.lng;if(0===i&&0===r)return e;
vendor: 13,899 bytes, line 1
1var s=e.getSouthWest(),o=e.getNorthEast();return new R(new F(s.lat-i,s.lng-r),new F(o.lat-i,o.lng-r))}},H=t({},j,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var n=Math.PI/180,i=e.lat*n,r=t.lat*n,s=Math.sin((t.lat-e.lat)*n/2),o=Math.sin((t.lng-e.lng)*n/2),a=s*s+Math.cos(i)*Math.cos(r)*o*o,l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*l}}),z=6378137,U={R:z,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,e.lat),-n),r=Math.sin(i*t);return new D(this.R*e.lng*t,this.R*Math.log((1+r)/(1-r))/2)},unproject:function(e){var t=180/Math.PI;return new F((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:($=z*Math.PI,new P([-$,-$],[$,$]))};function q(e,t,n,i){if(g(e))return this._a=e[0],this._b=e[1],this._c=e[2],void(this._d=e[3]);this._a=e,this._b=t,this._c=n,this._d=i}function W(e,t,n,i){return new q(e,t,n,i)}q.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t=t||1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t=t||1,new D((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};var G=t({},H,{code:"EPSG:3857",projection:U,transformation:function(){var e=.5/(Math.PI*U.R);return W(e,.5,-e,.5)}()}),Z=t({},G,{code:"EPSG:900913"});function Y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function K(e,t){var n,i,r,s,o,a,l="";for(n=0,r=e.length;n<r;n++){for(i=0,s=(o=e[n]).length;i<s;i++)l+=(i?"L":"M")+(a=o[i]).x+" "+a.y;l+=t?Le.svg?"z":"x":""}return l||"M0 0"}var J,X=document.documentElement.style,Q="ActiveXObject"in window,ee=Q&&!document.addEventListener,te="msLaunchUri"in navigator&&!("documentMode"in document),ne=Pe("webkit"),ie=Pe("android"),re=Pe("android 2")||Pe("android 3"),se=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),oe=ie&&Pe("Google")&&se<537&&!("AudioNode"in window),ae=!!window.opera,le=!te&&Pe("chrome"),ce=Pe("gecko")&&!ne&&!ae&&!Q,ue=!le&&Pe("safari"),de=Pe("phantom"),he="OTransition"in X,pe=0===navigator.platform.indexOf("Win"),fe=Q&&"transition"in X,me="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!re,ge="MozPerspective"in X,ve=!window.L_DISABLE_3D&&(fe||me||ge)&&!he&&!de,ye="undefined"!=typeof orientation||Pe("mobile"),be=ye&&ne,we=ye&&me,_e=!window.PointerEvent&&window.MSPointerEvent,xe=!(!window.PointerEvent&&!_e),ke="ontouchstart"in window||!!window.TouchEvent,Ce=!window.L_NO_TOUCH&&(ke||xe),Se=ye&&ae,Te=ye&&ce,Ee=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Ie=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",l,t),window.removeEventListener("testPassiveEventSupport",l,t)}catch(e){}return e}(),Ae=!!document.createElement("canvas").getContext,De=!(!document.createElementNS||!Y("svg").createSVGRect),Me=!!De&&((J=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(J.firstChild&&J.firstChild.namespaceURI)),Oe=!De&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}();function Pe(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var Le={ie:Q,ielt9:ee,edge:te,webkit:ne,android:ie,android23:re,androidStock:oe,opera:ae,chrome:le,gecko:ce,safari:ue,phantom:de,opera12:he,win:pe,ie3d:fe,webkit3d:me,gecko3d:ge,any3d:ve,mobile:ye,mobileWebkit:be,mobileWebkit3d:we,msPointer:_e,pointer:xe,touch:Ce,touchNative:ke,mobileOpera:Se,mobileGecko:Te,retina:Ee,passiveEvents:Ie,canvas:Ae,svg:De,vml:Oe,inlineSvg:Me,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},Ne=Le.msPointer?"MSPointerDown":"pointerdown",Re=Le.msPointer?"MSPointerMove":"pointermove",Be=Le.msPointer?"MSPointerUp":"pointerup",Fe=Le.msPointer?"MSPointerCancel":"pointercancel",Ve={touchstart:Ne,touchmove:Re,touchend:Be,touchcancel:Fe},$e={touchstart:function(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Bt(t),Ge(e,t)},touchmove:Ge,touchend:Ge,touchcancel:Ge},je={},He=!1;function ze(e,t,n){return"touchstart"===t&&(He||(document.addEventListener(Ne,Ue,!0),document.addEventListener(Re,qe,!0),document.addEventListener(Be,We,!0),document.addEventListener(Fe,We,!0),He=!0)),$e[t]?(n=$e[t].bind(this,n),e.addEventListener(Ve[t],n,!1),n):(console.warn("wrong event specified:",t),l)}function Ue(e){je[e.pointerId]=e}function qe(e){je[e.pointerId]&&(je[e.pointerId]=e)}function We(e){delete je[e.pointerId]}function Ge(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in t.touches=[],je)t.touches.push(je[n]);t.changedTouches=[t],e(t)}}var Ze,Ye,Ke,Je,Xe,Qe=mt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),et=mt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tt="webkitTransition"===et||"OTransition"===et?et+"End":"transitionend";function nt(e){return"string"==typeof e?document.getElementById(e):e}function it(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(e,null);n=i?i[t]:null}return"auto"===n?null:n}function rt(e,t,n){var i=document.createElement(e);return i.className=t||"",n&&n.appendChild(i),i}function st(e){var t=e.parentNode;t&&t.removeChild(e)}function ot(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function at(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function lt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function ct(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=pt(e);return n.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function ut(e,t){if(void 0!==e.classList)for(var n=d(t),i=0,r=n.length;i<r;i++)e.classList.add(n[i]);else if(!ct(e,t)){var s=pt(e);ht(e,(s?s+" ":"")+t)}}function dt(e,t){void 0!==e.classList?e.classList.remove(t):ht(e,u((" "+pt(e)+" ").replace(" "+t+" "," ")))}function ht(e,t){void 0===e.className.baseVal?e.className=t:e.className.baseVal=t}function pt(e){return e.correspondingElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function ft(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&function(e,t){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=e.filters.item(i)}catch(e){if(1===t)return}t=Math.round(100*t),n?(n.Enabled=100!==t,n.Opacity=t):e.style.filter+=" progid:"+i+"(opacity="+t+")"}(e,t)}function mt(e){for(var t=document.documentElement.style,n=0;n<e.length;n++)if(e[n]in t)return e[n];return!1}function gt(e,t,n){var i=t||new D(0,0);e.style[Qe]=(Le.ie3d?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(n?" scale("+n+")":"")}function vt(e,t){e._leaflet_pos=t,Le.any3d?gt(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function yt(e){return e._leaflet_pos||new D(0,0)}if("onselectstart"in document)Ze=function(){Et(window,"selectstart",Bt)},Ye=function(){At(window,"selectstart",Bt)};else{var bt=mt(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Ze=function(){if(bt){var e=document.documentElement.style;Ke=e[bt],e[bt]="none"}},Ye=function(){bt&&(document.documentElement.style[bt]=Ke,Ke=void 0)}}function wt(){Et(window,"dragstart",Bt)}function _t(){At(window,"dragstart",Bt)}function xt(e){for(;-1===e.tabIndex;)e=e.parentNode;e.style&&(kt(),Je=e,Xe=e.style.outlineStyle,e.style.outlineStyle="none",Et(window,"keydown",kt))}function kt(){Je&&(Je.style.outlineStyle=Xe,Je=void 0,Xe=void 0,At(window,"keydown",kt))}function Ct(e){do{e=e.parentNode}while(!(e.offsetWidth&&e.offsetHeight||e===document.body));return e}function St(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var Tt={__proto__:null,TRANSFORM:Qe,TRANSITION:et,TRANSITION_END:tt,get:nt,getStyle:it,create:rt,remove:st,empty:ot,toFront:at,toBack:lt,hasClass:ct,addClass:ut,removeClass:dt,setClass:ht,getClass:pt,setOpacity:ft,testProp:mt,setTransform:gt,setPosition:vt,getPosition:yt,get disableTextSelection(){return Ze},get enableTextSelection(){return Ye},disableImageDrag:wt,enableImageDrag:_t,preventOutline:xt,restoreOutline:kt,getSizedParentNode:Ct,getScale:St};function Et(e,t,n,i){if(t&&"object"==typeof t)for(var r in t)Ot(e,r,t[r],n);else for(var s=0,o=(t=d(t)).length;s<o;s++)Ot(e,t[s],n,i);return this}var It="_leaflet_events";function At(e,t,n,i){if(1===arguments.length)Dt(e),delete e[It];else if(t&&"object"==typeof t)for(var r in t)Pt(e,r,t[r],n);else if(t=d(t),2===arguments.length)Dt(e,function(e){return-1!==v(t,e)});else for(var s=0,o=t.length;s<o;s++)Pt(e,t[s],n,i);return this}function Dt(e,t){for(var n in e[It]){var i=n.split(/\d/)[0];t&&!t(i)||Pt(e,i,null,null,n)}}var Mt={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Ot(e,t,n,i){var r=t+s(n)+(i?"_"+s(i):"");if(e[It]&&e[It][r])return this;var o=function(t){return n.call(i||e,t||window.event)},a=o;!Le.touchNative&&Le.pointer&&0===t.indexOf("touch")?o=ze(e,t,o):Le.touch&&"dblclick"===t?o=function(e,t){e.addEventListener("dblclick",t);var n,i=0;function r(e){if(1===e.detail){if("mouse"!==e.pointerType&&(!e.sourceCapabilities||e.sourceCapabilities.firesTouchEvents)){var r=Vt(e);if(!r.some(function(e){return e instanceof HTMLLabelElement&&e.attributes.for})||r.some(function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement})){var s=Date.now();s-i<=200?2===++n&&t(function(e){var t,n,i={};for(n in e)t=e[n],i[n]=t&&t.bind?t.bind(e):t;return e=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}(e)):n=1,i=s}}}else n=e.detail}return e.addEventListener("click",r),{dblclick:t,simDblclick:r}}(e,o):"addEventListener"in e?"touchstart"===t||"touchmove"===t||"wheel"===t||"mousewheel"===t?e.addEventListener(Mt[t]||t,o,!!Le.passiveEvents&&{passive:!1}):"mouseenter"===t||"mouseleave"===t?(o=function(t){t=t||window.event,zt(e,t)&&a(t)},e.addEventListener(Mt[t],o,!1)):e.addEventListener(t,a,!1):e.attachEvent("on"+t,o),e[It]=e[It]||{},e[It][r]=o}function Pt(e,t,n,i,r){r=r||t+s(n)+(i?"_"+s(i):"");var o=e[It]&&e[It][r];if(!o)return this;!Le.touchNative&&Le.pointer&&0===t.indexOf("touch")?function(e,t,n){Ve[t]?e.removeEventListener(Ve[t],n,!1):console.warn("wrong event specified:",t)}(e,t,o):Le.touch&&"dblclick"===t?function(e,t){e.removeEventListener("dblclick",t.dblclick),e.removeEventListener("click",t.simDblclick)}(e,o):"removeEventListener"in e?e.removeEventListener(Mt[t]||t,o,!1):e.detachEvent("on"+t,o),e[It][r]=null}function Lt(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function Nt(e){return Ot(e,"wheel",Lt),this}function Rt(e){return Et(e,"mousedown touchstart dblclick contextmenu",Lt),e._leaflet_disable_click=!0,this}function Bt(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function Ft(e){return Bt(e),Lt(e),this}function Vt(e){if(e.composedPath)return e.composedPath();for(var t=[],n=e.target;n;)t.push(n),n=n.parentNode;return t}function $t(e,t){if(!t)return new D(e.clientX,e.clientY);var n=St(t),i=n.boundingClientRect;return new D((e.clientX-i.left)/n.x-t.clientLeft,(e.clientY-i.top)/n.y-t.clientTop)}var jt=Le.linux&&Le.chrome?window.devicePixelRatio:Le.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Ht(e){return Le.edge?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/jt:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}function zt(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch(e){return!1}return n!==e}var Ut={__proto__:null,on:Et,off:At,stopPropagation:Lt,disableScrollPropagation:Nt,disableClickPropagation:Rt,preventDefault:Bt,stop:Ft,getPropagationPath:Vt,getMousePosition:$t,getWheelDelta:Ht,isExternalTarget:zt,addListener:Et,removeListener:At},qt=A.extend({run:function(e,t,n,i){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=yt(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;t<n?this._runFrame(this._easeOut(t/n),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var n=this._startPos.add(this._offset.multiplyBy(e));t&&n._round(),vt(this._el,n),this.fire("step")},_complete:function(){S(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),Wt=A.extend({options:{crs:G,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=h(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),void 0!==t.zoom&&(this._zoom=this._limitZoom(t.zoom)),t.center&&void 0!==t.zoom&&this.setView(V(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=et&&Le.any3d&&!Le.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Et(this._proxy,tt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 1,335 bytes, line 1
1,setView:function(e,n,i){return n=void 0===n?this._zoom:this._limitZoom(n),e=this._limitCenter(V(e),n,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=t({animate:i.animate},i.zoom),i.pan=t({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,n,i.zoom):this._tryAnimatedPan(e,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,n,i.pan&&i.pan.noMoveStart),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(Le.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(Le.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,n){var i=this.getZoomScale(t),r=this.getSize().divideBy(2),s=(e instanceof D?e:this.latLngToContainerPoint(e)).subtract(r).multiplyBy(1-1/i),o=this.containerPointToLatLng(r.add(s));return this.setView(o,t,{zoom:n})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():B(e);var n=O(t.paddingTopLeft||t.padding||[0,0]),i=O(t.paddingBottomRight||t.padding||[0,0]),r=this.getBoundsZoom(e,!1,n.add(i));if((r="number"==typeof t.maxZoom?Math.min(t.maxZoom,r):r)===1/0)return{center:e.getCenter(),zoom:r};
vendor: 1,981 bytes, line 1
1var s=i.subtract(n).divideBy(2),o=this.project(e.getSouthWest(),r),a=this.project(e.getNorthEast(),r);return{center:this.unproject(o.add(a).divideBy(2).add(s),r),zoom:r}},fitBounds:function(e,t){if(!(e=B(e)).isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(e,t);return this.setView(n.center,n.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(t=t||{},!(e=O(e).round()).x&&!e.y)return this.fire("moveend");if(!0!==t.animate&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new qt,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),!1!==t.animate){ut(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,n,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,n){if(!1===(n=n||{}).animate||!Le.any3d)return this.setView(e,t,n);this._stop();var i=this.project(this.getCenter()),r=this.project(e),s=this.getSize(),o=this._zoom;e=V(e),t=void 0===t?o:t;var a=Math.max(s.x,s.y),l=a*this.getZoomScale(o,t),c=r.distanceTo(i)||1,u=1.42,d=2.0164;function h(e){var t=(l*l-a*a+(e?-1:1)*d*d*c*c)/(2*(e?l:a)*d*c),n=Math.sqrt(t*t+1)-t;return n<1e-9?-18:Math.log(n)}function p(e){return(Math.exp(e)-Math.exp(-e))/2}function f(e){return(Math.exp(e)+Math.exp(-e))/2}var m=h(0);function g(e){return a*(f(m)*(p(t=m+u*e)/f(t))-p(m))/d;var t}var v=Date.now(),y=(h(1)-m)/u,b=n.duration?1e3*n.duration:1e3*y*.8;return this._moveStart(!0,n.noMoveStart),function n(){var s=(Date.now()-v)/b,l=function(e){return 1-Math.pow(1-e,1.5)}(s)*y;s<=1?(this._flyToFrame=C(n,this),this._move(this.unproject(i.add(r.subtract(i).multiplyBy(g(l)/c)),o),this.get
vendor: 5,121 bytes, line 1
1ScaleZoom(a/function(e){return a*(f(m)/f(m+u*e))}(l),o),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}.call(this),this},flyToBounds:function(e,t){var n=this._getBoundsCenterZoom(e,t);return this.flyTo(n.center,n.zoom,t)},setMaxBounds:function(e){return e=B(e),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),e.isValid()?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,B(e));return n.equals(i)||this.panTo(i,t),this._enforcingBounds=!1,this},panInside:function(e,t){var n=O((t=t||{}).paddingTopLeft||t.padding||[0,0]),i=O(t.paddingBottomRight||t.padding||[0,0]),r=this.project(this.getCenter()),s=this.project(e),o=this.getPixelBounds(),a=N([o.min.add(n),o.max.subtract(i)]),l=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var c=s.subtract(a.getCenter()),u=a.extend(s).getSize().subtract(l);r.x+=c.x<0?-u.x:u.x,r.y+=c.y<0?-u.y:u.y,this.panTo(this.unproject(r),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=t({animate:!1,pan:!0},!0===e?{animate:!0}:e);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),s=n.divideBy(2).round(),o=r.divideBy(2).round(),a=s.subtract(o);return a.x||a.y?(e.animate&&e.pan?this.panBy(a):(e.pan&&this._rawPanBy(a),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=t({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,r,e):navigator.geolocation.getCurrentPosition(n,r,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=new F(e.coords.latitude,e.coords.longitude),n=t.toBounds(2*e.coords.accuracy),i=this._locateOptions;if(i.setView){var r=this.getBoundsZoom(n);this.setView(t,i.maxZoom?Math.min(r,i.maxZoom):r)}var s={latlng:t,bounds:n,timestamp:e.timestamp};for(var o in e.coords)"number"==typeof e.coords[o]&&(s[o]=e.coords[o]);this.fire("locationfound",s)}},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),st(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(S(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)st(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=rt("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new R(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZo
vendor: 6,252 bytes, line 1
1om?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=B(e),n=O(n||[0,0]);var i=this.getZoom()||0,r=this.getMinZoom(),s=this.getMaxZoom(),o=e.getNorthWest(),a=e.getSouthEast(),l=this.getSize().subtract(n),c=N(this.project(a,i),this.project(o,i)).getSize(),u=Le.any3d?this.options.zoomSnap:1,d=l.x/c.x,h=l.y/c.y,p=t?Math.max(d,h):Math.min(d,h);return i=this.getScaleZoom(p,i),u&&(i=Math.round(i/(u/100))*(u/100),i=t?Math.ceil(i/u)*u:Math.floor(i/u)*u),Math.max(r,Math.min(s,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new P(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=void 0===t?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=void 0===t?this._zoom:t;var i=n.zoom(e*n.scale(t));return isNaN(i)?1/0:i},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(V(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(O(e),t)},layerPointToLatLng:function(e){var t=O(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(V(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(V(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(B(e))},distance:function(e,t){return this.options.crs.distance(V(e),V(t))},containerPointToLayerPoint:function(e){return O(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return O(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(O(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(V(e)))},mouseEventToContainerPoint:function(e){return $t(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=nt(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");Et(t,"scroll",this._onScroll,this),this._containerId=s(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&Le.any3d,ut(e,"leaflet-container"+(Le.touch?" leaflet-touch":"")+(Le.retina?" leaflet-retina":"")+(Le.ielt9?" leaflet-oldie":"")+(Le.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=it(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&"sticky"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),vt(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ut(e.markerPane,"leaflet-zoom-hide"),ut(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,n){vt(this._mapPane,new D(0,0));var i=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var r=this._zoom!==t;this._moveStart(r,n)._move(e,t)._moveEnd(r),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,n,i){void 0===t&&(t=this._zoom);var r=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),i?n&&n.pinch&&this.fire("zoom",n):((r||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return S(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){vt(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[s(this._container)]=this;var t=e?At:Et;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),Le.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){S(this._resizeRequest),this._resizeRequest=C(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,i=[],r="mouseout"===t||"mouseover"===t,o=e.target||e.srcElement,a=!1;o;){if((n=this._targets[s(o)])&&("click"===t||"preclick"===t)&&this._draggableMoved(n)){a=!0;break}if(n&&n.listens(t,!0)){if(r&&!zt(o,e))break;if(i.push(n),r)break}if(o===this._container)break;o=o.parentNode}return i.length||a||r||!this.listens(t,!0)||(i=[this]),i},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||"click"===e.type&&this._isCl
vendor: 1,885 bytes, line 1
1ickDisabled(t))){var n=e.type;"mousedown"===n&&xt(t),this._fireDOMEvent(e,n)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,n,i){if("click"===e.type){var r=t({},e);r.type="preclick",this._fireDOMEvent(r,r.type,i)}var s=this._findEventTargets(e,n);if(i){for(var o=[],a=0;a<i.length;a++)i[a].listens(n,!0)&&o.push(i[a]);s=o.concat(s)}if(s.length){"contextmenu"===n&&Bt(e);var l=s[0],c={originalEvent:e};if("keypress"!==e.type&&"keydown"!==e.type&&"keyup"!==e.type){var u=l.getLatLng&&(!l._radius||l._radius<=10);c.containerPoint=u?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(e),c.layerPoint=this.containerPointToLayerPoint(c.containerPoint),c.latlng=u?l.getLatLng():this.layerPointToLatLng(c.layerPoint)}for(a=0;a<s.length;a++)if(s[a].fire(n,c,!0),c.originalEvent._stopped||!1===s[a].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,n))return}},_draggableMoved:function(e){return(e=e.dragging&&e.dragging.enabled()?e:this).dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return yt(this._mapPane)||new D(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&void 0!==t?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var n=this.getSize()._divideBy(2);return this.project(e,t)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return this.project(e,t)._subtract(i)},_latLngBoundsToNewLayerBounds:function(e,t,n){var i=this._getNewPixelOrigin(n,t);
vendor: 4,588 bytes, line 1
1return N([this.project(e.getSouthWest(),t)._subtract(i),this.project(e.getNorthWest(),t)._subtract(i),this.project(e.getSouthEast(),t)._subtract(i),this.project(e.getNorthEast(),t)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,n){if(!n)return e;var i=this.project(e,t),r=this.getSize().divideBy(2),s=new P(i.subtract(r),i.add(r)),o=this._getBoundsOffset(s,n,t);return Math.abs(o.x)<=1&&Math.abs(o.y)<=1?e:this.unproject(i.add(o),t)},_limitOffset:function(e,t){if(!t)return e;var n=this.getPixelBounds(),i=new P(n.min.add(e),n.max.add(e));return e.add(this._getBoundsOffset(i,t))},_getBoundsOffset:function(e,t,n){var i=N(this.project(t.getNorthEast(),n),this.project(t.getSouthWest(),n)),r=i.min.subtract(e.min),s=i.max.subtract(e.max);return new D(this._rebound(r.x,-s.x),this._rebound(r.y,-s.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),i=Le.any3d?this.options.zoomSnap:1;return i&&(e=Math.round(e/i)*i),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){dt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(n)||(this.panBy(n,t),0))},_createAnimProxy:function(){var e=this._proxy=rt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(e){var t=Qe,n=this._proxy.style[t];gt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){st(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();gt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(t),r=this._getCenterOffset(e)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(r)||(C(function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(e,t,!0)},this),0))},_animateZoom:function(e,t,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,ut(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:r}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&dt(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});var Gt=E.extend({options:{position:"topright"},initialize:function(e){h(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),i=e._controlCorners[n];return ut(t,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(t,i.firstChild):i.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(st(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),Zt=function(e){return new Gt(e)};Wt.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this}
vendor: 5,346 bytes, line 1
1,_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",n=this._controlContainer=rt("div",t+"control-container",this._container);function i(i,r){var s=t+i+" "+t+r;e[i+r]=rt("div",s,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)st(this._controlCorners[e]);st(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Yt=Gt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,i){return n<i?-1:i<n?1:0}},initialize:function(e,t,n){for(var i in h(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,e)this._addLayer(e[i],i);for(i in t)this._addLayer(t[i],i,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return Gt.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(s(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){ut(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(ut(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):dt(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return dt(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=rt("div",e),n=this.options.collapsed;t.setAttribute("aria-haspopup",!0),Rt(t),Nt(t);var i=this._section=rt("section",e+"-list");n&&(this._map.on("click",this.collapse,this),Et(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var r=this._layersLink=rt("a",e+"-toggle",t);r.href="#",r.title="Layers",r.setAttribute("role","button"),Et(r,{keydown:function(e){13===e.keyCode&&this._expandSafely()},click:function(e){Bt(e),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=rt("div",e+"-base",i),this._separator=rt("div",e+"-separator",i),this._overlaysList=rt("div",e+"-overlays",i),t.appendChild(i)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&s(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,n){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:n}),this.options.sortLayers&&this._layers.sort(i(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ot(this._baseLayersList),ot(this._overlaysList),this._layerControlInputs=[];var e,t,n,i,r=0;for(n=0;n<this._layers.length;n++)i=this._layers[n],this._addItem(i),t=t||i.overlay,e=e||!i.overlay,r+=i.overlay?0:1;return this.options.hideSingleBase&&(e=e&&r>1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(s(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(e){var t,n=document.createElement("label"),i=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=i):t=this._createRadioElement("leaflet-base-layers_"+s(this),i),this._layerControlInputs.push(t),t.layerId=s(e.layer),Et(t,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+e.name;var o=document.createElement("span");return n.appendChild(o),o.appendChild(t),o.appendChild(r),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var e,t,n=this._layerControlInputs,i=[],r=[];this._handlingClick=!0;for(var s=n.length-1;s>=0;s--)e=n[s],t=this._getLayer(e.layerId).layer,e.checked?i.push(t):e.checked||r.push(t);for(s=0;s<r.length;s++)this._map.hasLayer(r[s])&&this._map.removeLayer(r[s]);for(s=0;s<i.length;s++)this._map.hasLayer(i[s])||this._map.addLayer(i[s]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e,t,n=this._layerControlInputs,i=this._map.getZoom(),r
vendor: 11,285 bytes, line 1
1=n.length-1;r>=0;r--)e=n[r],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&i<t.options.minZoom||void 0!==t.options.maxZoom&&i>t.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,Et(e,"click",Bt),this.expand();var t=this;setTimeout(function(){At(e,"click",Bt),t._preventClick=!1})}}),Kt=Gt.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=rt("div",t+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,i,r){var s=rt("a",n,i);return s.innerHTML=e,s.href="#",s.title=t,s.setAttribute("role","button"),s.setAttribute("aria-label",t),Rt(s),Et(s,"click",Ft),Et(s,"click",r,this),Et(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";dt(this._zoomInButton,t),dt(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(ut(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(ut(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});Wt.mergeOptions({zoomControl:!0}),Wt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Kt,this.addControl(this.zoomControl))});var Jt=Gt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",n=rt("div",t),i=this.options;return this._addScales(i,t+"-line",n),e.on(i.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=rt("div",t,n)),e.imperial&&(this._iScale=rt("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,i,r=3.2808399*e;r>5280?(t=r/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+" mi",n/t)):(i=this._getRoundNum(r),this._updateScale(this._iScale,i+" ft",i/r))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return t*(n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Xt=Gt.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Le.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(e){h(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=rt("div","leaflet-control-attribution"),Rt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}}});Wt.mergeOptions({attributionControl:!0}),Wt.addInitHook(function(){this.options.attributionControl&&(new Xt).addTo(this)});Gt.Layers=Yt,Gt.Zoom=Kt,Gt.Scale=Jt,Gt.Attribution=Xt,Zt.layers=function(e,t,n){return new Yt(e,t,n)},Zt.zoom=function(e){return new Kt(e)},Zt.scale=function(e){return new Jt(e)},Zt.attribution=function(e){return new Xt(e)};var Qt=E.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Qt.addTo=function(e,t){return e.addHandler(t,this),this};var en={Events:I},tn=Le.touch?"touchstart mousedown":"mousedown",nn=A.extend({options:{clickTolerance:3},initialize:function(e,t,n,i){h(this,i),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||(Et(this._dragStartTarget,tn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(nn._dragging===this&&this.finishDrag(!0),At(this._dragStartTarget,tn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!ct(this._element,"leaflet-zoom-anim")))if(e.touches&&1!==e.touches.length)nn._dragging===this&&this.finishDrag();else if(!(nn._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||(nn._dragging=this,this._preventOutline&&xt(this._element),wt(),Ze(),this._moving))){this.fire("down");var t=e.touches?e.touches[0]:e,n=Ct(this._element);this._startPoint=new D(t.clientX,t.clientY),this._startPos=yt(this._element),this._parentScale=St(n);var i="mousedown"===e.type;Et(document,i?"mousemove":"touchmove",this._onMove,this),Et(document,i?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(e){if(this._enabled)if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new D(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Bt(e),this._moved||(this.fire("dragstart"),this._moved=!0,ut(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),ut(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,this._lastEvent=e,this._updatePosition()))}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),vt(this._element,this._newPos),this.fire("drag",e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){dt(document.body,"leaflet-dragging"),this._lastTarget&&(dt(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),At(document,"mousemove touchmove",this._onMove,this),At(document,"mouseup touchend touchcancel",this._onUp,this),_t(),Ye();var t=this._moved&&this._moving;this._moving=!1,nn._dragging=!1,t&&this.fire("dragend",{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function rn(e,t,n){var i,r,s,o,a,l,c,u,d,h=[1,4,2,8];for(r=0,c=e.length;r<c;r++)e[r]._code=fn(e[r],t);for(o=0;o<4;o++){for(u=h[o],i=[],r=0,s=(c=e.length)-1;r<c;s=r++)a=e[r],l=e[s],a._code&u?l._code&u||((d=pn(l,a,u,t,n))._code=fn(d,t),i.push(d)):(l._code&u&&((d=pn(l,a,u,t,n))._code=fn(d,t),i.push(d)),i.push(a));e=i}return e}function sn(e,t){var n,i,r,s,o,a,l,c,u;if(!e||0===e.length)throw new Error("latlngs not passed");vn(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var d=V([0,0]),h=B(e);h.getNorthWest().distanceTo(h.getSouthWest())*h.getNorthEast().distanceTo(h.getNorthWest())<1700&&(d=on(e));var p=e.length,f=[];for(n=0;n<p;n++){var m=V(e[n]);f.push(t.project(V([m.lat-d.lat,m.lng-d.lng])))}for(a=l=c=0,n=0,i=p-1;n<p;i=n++)r=f[n],s=f[i],o=r.y*s.x-s.y*r.x,l+=(r.x+s.x)*o,c+=(r.y+s.y)*o,a+=3*o;u=0===a?f[0]:[l/a,c/a];var g=t.unproject(O(u));return V([g.lat+d.lat,g.lng+d.lng])}function on(e){for(var t=0,n=0,i=0,r=0;r<e.length;r++){var s=V(e[r]);t+=s.lat,n+=s.lng,i++}return V([t/i,n/i])}var an,ln={__proto__:null,clipPolygon:rn,polygonCenter:sn,centroid:on};function cn(e,t){if(!t||!e.length)return e.slice();var n=t*t;return function(e,t){var n=e.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);i[0]=i[n-1]=1,dn(e,i,t,0,n-1);var r,s=[];for(r=0;r<n;r++)i[r]&&s.push(e[r]);return s}(e=function(e,t){for(var n=[e[0]],i=1,r=0,s=e.length;i<s;i++)mn(e[i],e[r])>t&&(n.push(e[i]),r=i);return r<s-1&&n.push(e[s-1]),n}(e,n),n)}function un(e,t,n){return Math.sqrt(gn(e,t,n,!0))}function dn(e,t,n,i,r){var s,o,a,l=0;for(o=i+1;o<=r-1;o++)(a=gn(e[o],e[i],e[r],!0))>l&&(s=o,l=a);l>n&&(t[s]=1,dn(e,t,n,i,s),dn(e,t,n,s,r))}function hn(e,t,n,i,r){var s,o,a,l=i?an:fn(e,n),c=fn(t,n);for(an=c;;){if(!(l|c))return[e,t];if(l&c)return!1;a=fn(o=pn(e,t,s=l||c,n,r),n),s===l?(e=o,l=a):(t=o,c=a)}}function pn(e,t,n,i,r){var s,o,a=t.x-e.x,l=t.y-e.y,c=i.min,u=i.max;return 8&n?(s=e.x+a*(u.y-e.y)/l,o=u.y):4&n?(s=e.x+a*(c.y-e.y)/l,o=c.y):2&n?(s=u.x,o=e.y+l*(u.x-e.x)/a):1&n&&(s=c.x,o=e.y+l*(c.x-e.x)/a),new D(s,o,r)}function fn(e,t){var n=0;return e.x<t.min.x?n|=1:e.x>t.max.x&&(n|=2),e.y<t.min.y?n|=4:e.y>t.max.y&&(n|=8),n}function mn(e,t){var n=t.x-e.x,i=t.y-e.y;return n*n+i*i}function gn(e,t,n,i){var r,s=t.x,o=t.y,a=n.x-s,l=n.y-o,c=a*a+l*l;return c>0&&((r=((e.x-s)*a+(e.y-o)*l)/c)>1?(s=n.x,o=n.y):r>0&&(s+=a*r,o+=l*r)),a=e.x-s,l=e.y-o,i?a*a+l*l:new D(s,o)}function vn(e){return!g(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function yn(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),vn(e)}function bn(e,t){var n,i,r,s,o,a,l,c;if(!e||0===e.length)throw new Error("latlngs not passed");vn(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var u=V([0,0]),d=B(e);
vendor: 3,727 bytes, line 1
1d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(u=on(e));var h=e.length,p=[];for(n=0;n<h;n++){var f=V(e[n]);p.push(t.project(V([f.lat-u.lat,f.lng-u.lng])))}for(n=0,i=0;n<h-1;n++)i+=p[n].distanceTo(p[n+1])/2;if(0===i)c=p[0];else for(n=0,s=0;n<h-1;n++)if(o=p[n],a=p[n+1],(s+=r=o.distanceTo(a))>i){l=(s-i)/r,c=[a.x-l*(a.x-o.x),a.y-l*(a.y-o.y)];break}var m=t.unproject(O(c));return V([m.lat+u.lat,m.lng+u.lng])}var wn={__proto__:null,simplify:cn,pointToSegmentDistance:un,closestPointOnSegment:function(e,t,n){return gn(e,t,n)},clipSegment:hn,_getEdgeIntersection:pn,_getBitCode:fn,_sqClosestPointOnSegment:gn,isFlat:vn,_flat:yn,polylineCenter:bn},_n={project:function(e){return new D(e.lng,e.lat)},unproject:function(e){return new F(e.y,e.x)},bounds:new P([-180,-90],[180,90])},xn={R:6378137,R_MINOR:6356752.314245179,bounds:new P([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,i=e.lat*t,r=this.R_MINOR/n,s=Math.sqrt(1-r*r),o=s*Math.sin(i),a=Math.tan(Math.PI/4-i/2)/Math.pow((1-o)/(1+o),s/2);return i=-n*Math.log(Math.max(a,1e-10)),new D(e.lng*t*n,i)},unproject:function(e){for(var t,n=180/Math.PI,i=this.R,r=this.R_MINOR/i,s=Math.sqrt(1-r*r),o=Math.exp(-e.y/i),a=Math.PI/2-2*Math.atan(o),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)t=s*Math.sin(a),t=Math.pow((1-t)/(1+t),s/2),a+=c=Math.PI/2-2*Math.atan(o*t)-a;return new F(a*n,e.x*n/i)}},kn={__proto__:null,LonLat:_n,Mercator:xn,SphericalMercator:U},Cn=t({},H,{code:"EPSG:3395",projection:xn,transformation:function(){var e=.5/(Math.PI*xn.R);return W(e,.5,-e,.5)}()}),Sn=t({},H,{code:"EPSG:4326",projection:_n,transformation:W(1/180,1,-1/180,.5)}),Tn=t({},j,{projection:_n,transformation:W(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,i=t.lat-e.lat;return Math.sqrt(n*n+i*i)},infinite:!0});j.Earth=H,j.EPSG3395=Cn,j.EPSG3857=G,j.EPSG900913=Z,j.EPSG4326=Sn,j.Simple=Tn;var En=A.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[s(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[s(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",function(){t.off(n,this)},this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});Wt.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=s(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=s(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return s(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){for(var t=0,n=(e=e?g(e)?e:[e]:[]).length;t<n;t++)this.addLayer(e[t])},_addZoomLimit:function(e){isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[s(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=s(e);
vendor: 41,412 bytes, line 1
1this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,n=this._getZoomSpan();for(var i in this._zoomBoundLayers){var r=this._zoomBoundLayers[i].options;e=void 0===r.minZoom?e:Math.min(e,r.minZoom),t=void 0===r.maxZoom?t:Math.max(t,r.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var In=En.extend({initialize:function(e,t){var n,i;if(h(this,t),this._layers={},e)for(n=0,i=e.length;n<i;n++)this.addLayer(e[n])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return("number"==typeof e?e:this.getLayerId(e))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t,n,i=Array.prototype.slice.call(arguments,1);for(t in this._layers)(n=this._layers[t])[e]&&n[e].apply(n,i);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return s(e)}}),An=In.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),In.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),In.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new R;for(var t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),Dn=E.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){h(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(n,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(i,e),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i},_setIconStyles:function(e,t){var n=this.options,i=n[t+"Size"];"number"==typeof i&&(i=[i,i]);var r=O(i),s=O("shadow"===t&&n.shadowAnchor||n.iconAnchor||r&&r.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(n.className||""),s&&(e.style.marginLeft=-s.x+"px",e.style.marginTop=-s.y+"px"),r&&(e.style.width=r.x+"px",e.style.height=r.y+"px")},_createImg:function(e,t){return(t=t||document.createElement("img")).src=e,t},_getIconUrl:function(e){return Le.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}});var Mn=Dn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return"string"!=typeof Mn.imagePath&&(Mn.imagePath=this._detectIconPath()),(this.options.imagePath||Mn.imagePath)+Dn.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var t=function(e,t,n){var i=t.exec(e);return i&&i[n]};return(e=t(e,/^url\((['"])?(.+)\1\)$/,2))&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=rt("div","leaflet-default-icon-path",document.body),t=it(e,"background-image")||it(e,"backgroundImage");if(document.body.removeChild(e),t=this._stripUrl(t))return t;var n=document.querySelector('link[href$="leaflet.css"]');return n?n.href.substring(0,n.href.length-11-1):""}}),On=Qt.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new nn(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ut(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&dt(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,n=t._map,i=this._marker.options.autoPanSpeed,r=this._marker.options.autoPanPadding,s=yt(t._icon),o=n.getPixelBounds(),a=n.getPixelOrigin(),l=N(o.min._subtract(a).add(r),o.max._subtract(a).subtract(r));if(!l.contains(s)){var c=O((Math.max(l.max.x,s.x)-l.max.x)/(o.max.x-l.max.x)-(Math.min(l.min.x,s.x)-l.min.x)/(o.min.x-l.min.x),(Math.max(l.max.y,s.y)-l.max.y)/(o.max.y-l.max.y)-(Math.min(l.min.y,s.y)-l.min.y)/(o.min.y-l.min.y)).multiplyBy(i);n.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),vt(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=C(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(S(this._panRequest),this._panRequest=C(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,n=t._shadow,i=yt(t._icon),r=t._map.layerPointToLatLng(i);n&&vt(n,i),t._latlng=r,e.latlng=r,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){S(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),Pn=En.extend({options:{icon:new Mn,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){h(this,t),this._latlng=V(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=V(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=e.icon.createIcon(this._icon),i=!1;n!==this._icon&&(this._icon&&this._removeIcon(),i=!0,e.title&&(n.title=e.title),"IMG"===n.tagName&&(n.alt=e.alt||"")),ut(n,t),e.keyboard&&(n.tabIndex="0",n.setAttribute("role","button")),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Et(n,"focus",this._panOnFocus,this);var r=e.icon.createShadow(this._shadow),s=!1;r!==this._shadow&&(this._removeShadow(),s=!0),r&&(ut(r,t),r.alt=""),this._shadow=r,e.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),r&&s&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&At(this._icon,"focus",this._panOnFocus,this),st(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&st(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&vt(this._icon,e),this._shadow&&vt(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(ut(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),On)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new On(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&ft(this._icon,e),this._shadow&&ft(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var t=this.options.icon.options,n=t.iconSize?O(t.iconSize):O(0,0),i=t.iconAnchor?O(t.iconAnchor):O(0,0);e.panInside(this._latlng,{paddingTopLeft:i,paddingBottomRight:n.subtract(i)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});var Ln=En.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return h(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Nn=Ln.extend({options:{fill:!0,radius:10},initialize:function(e,t){h(this,t),this._latlng=V(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=V(e),this.redraw(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return Ln.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,n=this._clickTolerance(),i=[e+n,t+n];this._pxBounds=new P(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}});var Rn=Nn.extend({initialize:function(e,n,i){if("number"==typeof n&&(n=t({},i,{radius:n})),h(this,n),this._latlng=V(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:Ln.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,n=this._map,i=n.options.crs;if(i.distance===H.distance){var r=Math.PI/180,s=this._mRadius/H.R/r,o=n.project([t+s,e]),a=n.project([t-s,e]),l=o.add(a).divideBy(2),c=n.unproject(l).lat,u=Math.acos((Math.cos(s*r)-Math.sin(t*r)*Math.sin(c*r))/(Math.cos(t*r)*Math.cos(c*r)))/r;(isNaN(u)||0===u)&&(u=s/Math.cos(Math.PI/180*t)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-n.project([c,e-u]).x,this._radiusY=l.y-o.y}else{var d=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(d).x}this._updateBounds()}});var Bn=Ln.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){h(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,n,i=1/0,r=null,s=gn,o=0,a=this._parts.length;o<a;o++)for(var l=this._parts[o],c=1,u=l.length;c<u;c++){var d=s(e,t=l[c-1],n=l[c],!0);d<i&&(i=d,r=s(e,t,n))}return r&&(r.distance=Math.sqrt(i)),r},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return bn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=V(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new R,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return vn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=vn(e),i=0,r=e.length;i<r;i++)n?(t[i]=V(e[i]),this._bounds.extend(t[i])):t[i]=this._convertLatLngs(e[i]);return t},_project:function(){var e=new P;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new D(e,e);this._rawPxBounds&&(this._pxBounds=new P([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(e,t,n){var i,r,s=e[0]instanceof F,o=e.length;if(s){for(r=[],i=0;i<o;i++)r[i]=this._map.latLngToLayerPoint(e[i]),n.extend(r[i]);t.push(r)}else for(i=0;i<o;i++)this._projectLatlngs(e[i],t,n)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else{var t,n,i,r,s,o,a,l=this._parts;for(t=0,i=0,r=this._rings.length;t<r;t++)for(n=0,s=(a=this._rings[t]).length;n<s-1;n++)(o=hn(a[n],a[n+1],e,n,!0))&&(l[i]=l[i]||[],l[i].push(o[0]),o[1]===a[n+1]&&n!==s-2||(l[i].push(o[1]),i++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,n=0,i=e.length;n<i;n++)e[n]=cn(e[n],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var n,i,r,s,o,a,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(n=0,s=this._parts.length;n<s;n++)for(i=0,r=(o=(a=this._parts[n]).length)-1;i<o;r=i++)if((t||0!==i)&&un(e,a[r],a[i])<=l)return!0;return!1}});Bn._flat=yn;var Fn=Bn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return sn(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var t=Bn.prototype._convertLatLngs.call(this,e),n=t.length;return n>=2&&t[0]instanceof F&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){Bn.prototype._setLatLngs.call(this,e),vn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return vn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new D(t,t);if(e=new P(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var i,r=0,s=this._rings.length;r<s;r++)(i=rn(this._rings[r],e,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t,n,i,r,s,o,a,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(r=0,a=this._parts.length;r<a;r++)for(s=0,o=(l=(t=this._parts[r]).length)-1;s<l;o=s++)n=t[s],i=t[o],n.y>e.y!=i.y>e.y&&e.x<(i.x-n.x)*(e.y-n.y)/(i.y-n.y)+n.x&&(c=!c);return c||Bn.prototype._containsPoint.call(this,e,!0)}});var Vn=An.extend({initialize:function(e,t){h(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,i,r=g(e)?e:e.features;if(r){for(t=0,n=r.length;t<n;t++)((i=r[t]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var s=this.options;if(s.filter&&!s.filter(e))return this;var o=$n(e,s);return o?(o.feature=Gn(e),o.defaultOptions=o.options,this.resetStyle(o),s.onEachFeature&&s.onEachFeature(e,o),this.addLayer(o)):this},resetStyle:function(e){return void 0===e?this.eachLayer(this.resetStyle,this):(e.options=t({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&("function"==typeof t&&(t=t(e.feature)),e.setStyle(t))}});function $n(e,t){var n,i,r,s,o="Feature"===e.type?e.geometry:e,a=o?o.coordinates:null,l=[],c=t&&t.pointToLayer,u=t&&t.coordsToLatLng||Hn;if(!a&&!o)return null;switch(o.type){case"Point":return jn(c,e,n=u(a),t);case"MultiPoint":for(r=0,s=a.length;r<s;r++)n=u(a[r]),l.push(jn(c,e,n,t));return new An(l);case"LineString":case"MultiLineString":return i=zn(a,"LineString"===o.type?0:1,u),new Bn(i,t);case"Polygon":case"MultiPolygon":return i=zn(a,"Polygon"===o.type?1:2,u),new Fn(i,t);case"GeometryCollection":for(r=0,s=o.geometries.length;r<s;r++){var d=$n({geometry:o.geometries[r],type:"Feature",properties:e.properties},t);d&&l.push(d)}return new An(l);case"FeatureCollection":for(r=0,s=o.features.length;r<s;r++){var h=$n(o.features[r],t);h&&l.push(h)}return new An(l);default:throw new Error("Invalid GeoJSON object.")}}function jn(e,t,n,i){return e?e(t,n):new Pn(n,i&&i.markersInheritOptions&&i)}function Hn(e){return new F(e[1],e[0],e[2])}function zn(e,t,n){for(var i,r=[],s=0,o=e.length;s<o;s++)i=t?zn(e[s],t-1,n):(n||Hn)(e[s]),r.push(i);return r}function Un(e,t){return void 0!==(e=V(e)).alt?[c(e.lng,t),c(e.lat,t),c(e.alt,t)]:[c(e.lng,t),c(e.lat,t)]}function qn(e,t,n,i){for(var r=[],s=0,o=e.length;s<o;s++)r.push(t?qn(e[s],vn(e[s])?0:t-1,n,i):Un(e[s],i));return!t&&n&&r.length>0&&r.push(r[0].slice()),r}function Wn(e,n){return e.feature?t({},e.feature,{geometry:n}):Gn(n)}function Gn(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var Zn={toGeoJSON:function(e){return Wn(this,{type:"Point",coordinates:Un(this.getLatLng(),e)})}};function Yn(e,t){return new Vn(e,t)}Pn.include(Zn),Rn.include(Zn),Nn.include(Zn),Bn.include({toGeoJSON:function(e){var t=!vn(this._latlngs);return Wn(this,{type:(t?"Multi":"")+"LineString",coordinates:qn(this._latlngs,t?1:0,!1,e)})}}),Fn.include({toGeoJSON:function(e){var t=!vn(this._latlngs),n=t&&!vn(this._latlngs[0]),i=qn(this._latlngs,n?2:t?1:0,!0,e);return t||(i=[i]),Wn(this,{type:(n?"Multi":"")+"Polygon",coordinates:i})}}),In.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(n){t.push(n.toGeoJSON(e).geometry.coordinates)}),Wn(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var n="GeometryCollection"===t,i=[];return this.eachLayer(function(t){if(t.toGeoJSON){var r=t.toGeoJSON(e);if(n)i.push(r.geometry);else{var s=Gn(r);"FeatureCollection"===s.type?i.push.apply(i,s.features):i.push(s)}}}),n?Wn(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var Kn=Yn,Jn=En.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,n){this._url=e,this._bounds=B(t),h(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ut(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){st(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&at(this._image),this},bringToBack:function(){return this._map&&lt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=B(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:rt("img");ut(t,"leaflet-image-layer"),this._zoomAnimated&&ut(t,"leaflet-zoom-animated"),this.options.className&&ut(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onload=i(this.fire,this,"load"),t.onerror=i(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;gt(this._image,n,t)},_reset:function(){var e=this._image,t=new P(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();vt(e,t.min),e.style.width=n.x+"px",e.style.height=n.y+"px"},_updateOpacity:function(){ft(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Xn=Jn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:rt("video");if(ut(t,"leaflet-image-layer"),this._zoomAnimated&&ut(t,"leaflet-zoom-animated"),this.options.className&&ut(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onloadeddata=i(this.fire,this,"load"),e){for(var n=t.getElementsByTagName("source"),r=[],s=0;s<n.length;s++)r.push(n[s].src);this._url=n.length>0?r:[t.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var o=0;o<this._url.length;o++){var a=rt("source");a.src=this._url[o],t.appendChild(a)}}}});var Qn=Jn.extend({_initImage:function(){var e=this._image=this._url;ut(e,"leaflet-image-layer"),this._zoomAnimated&&ut(e,"leaflet-zoom-animated"),this.options.className&&ut(e,this.options.className),e.onselectstart=l,e.onmousemove=l}});var ei=En.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(e,t){e&&(e instanceof F||g(e))?(this._latlng=V(e),h(this,t)):(h(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return(e=arguments.length?e:this._source._map).hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&ft(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&ft(this._container,1),this.bringToFront(),this.options.interactive&&(ut(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(ft(this._container,0),this._removeTimeout=setTimeout(i(st,void 0,this._container),200)):st(this._container),this.options.interactive&&(dt(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=V(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&at(this._container),this},bringToBack:function(){return this._map&&lt(this._container),this},_prepareOpen:function(e){var t=this._source;if(!t._map)return!1;if(t instanceof An){t=null;var n=this._source._layers;for(var i in n)if(n[i]._map){t=n[i];break}if(!t)return!1;this._source=t}if(!e)if(t.getCenter)e=t.getCenter();else if(t.getLatLng)e=t.getLatLng();else{if(!t.getBounds)throw new Error("Unable to get source layer LatLng.");e=t.getBounds().getCenter()}return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=O(this.options.offset),n=this._getAnchor();this._zoomAnimated?vt(this._container,e.add(n)):t=t.add(e).add(n);var i=this._containerBottom=-t.y,r=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=i+"px",this._container.style.left=r+"px"}},_getAnchor:function(){return[0,0]}});Wt.include({_initOverlay:function(e,t,n,i){var r=t;return r instanceof e||(r=new e(i).setContent(t)),n&&r.setLatLng(n),r}}),En.include({_initOverlay:function(e,t,n,i){var r=n;return r instanceof e?(h(r,i),r._source=this):(r=t&&!i?t:new e(i,this)).setContent(n),r}});var ti=ei.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return!(e=arguments.length?e:this._source._map).hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,ei.prototype.openOn.call(this,e)},onAdd:function(e){ei.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Ln||this._source.on("preclick",Lt))},onRemove:function(e){ei.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Ln||this._source.off("preclick",Lt))},getEvents:function(){var e=ei.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this.close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_initLayout:function(){var e="leaflet-popup",t=this._container=rt("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=rt("div",e+"-content-wrapper",t);if(this._contentNode=rt("div",e+"-content",n),Rt(t),Nt(this._contentNode),Et(t,"contextmenu",Lt),this._tipContainer=rt("div",e+"-tip-container",t),this._tip=rt("div",e+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=rt("a",e+"-close-button",t);i.setAttribute("role","button"),i.setAttribute("aria-label","Close popup"),i.href="#close",i.innerHTML='<span aria-hidden="true">&#215;</span>',Et(i,"click",function(e){Bt(e),this.close()},this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+"px",t.whiteSpace="",t.height="";var i=e.offsetHeight,r=this.options.maxHeight,s="leaflet-popup-scrolled";r&&i>r?(t.height=r+"px",ut(e,s)):dt(e,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();vt(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var e=this._map,t=parseInt(it(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,i=this._containerWidth,r=new D(this._containerLeft,-n-this._containerBottom);r._add(yt(this._container));var s=e.layerPointToContainerPoint(r),o=O(this.options.autoPanPadding),a=O(this.options.autoPanPaddingTopLeft||o),l=O(this.options.autoPanPaddingBottomRight||o),c=e.getSize(),u=0,d=0;s.x+i+l.x>c.x&&(u=s.x+i-c.x+l.x),s.x-u-a.x<0&&(u=s.x-a.x),s.y+n+l.y>c.y&&(d=s.y+n-c.y+l.y),s.y-d-a.y<0&&(d=s.y-a.y),(u||d)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([u,d]))}},_getAnchor:function(){return O(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Wt.mergeOptions({closePopupOnClick:!0}),Wt.include({openPopup:function(e,t,n){return this._initOverlay(ti,e,t,n).openOn(this),this},closePopup:function(e){return(e=arguments.length?e:this._popup)&&e.close(),this}}),En.include({bindPopup:function(e,t){return this._popup=this._initOverlay(ti,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof An||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){Ft(e);var t=e.layer||e.target;this._popup._source!==t||t instanceof Ln?(this._popup._source=t,this.openPopup(e.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var ni=ei.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){ei.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){ei.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=ei.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=rt("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+s(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,n,i=this._map,r=this._container,s=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(e),a=this.options.direction,l=r.offsetWidth,c=r.offsetHeight,u=O(this.options.offset),d=this._getAnchor();"top"===a?(t=l/2,n=c):"bottom"===a?(t=l/2,n=0):"center"===a?(t=l/2,n=c/2):"right"===a?(t=0,n=c/2):"left"===a?(t=l,n=c/2):o.x<s.x?(a="right",t=0,n=c/2):(a="left",t=l+2*(u.x+d.x),n=c/2),e=e.subtract(O(t,n,!0)).add(u).add(d),dt(r,"leaflet-tooltip-right"),dt(r,"leaflet-tooltip-left"),dt(r,"leaflet-tooltip-top"),dt(r,"leaflet-tooltip-bottom"),ut(r,"leaflet-tooltip-"+a),vt(r,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&ft(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return O(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Wt.include({openTooltip:function(e,t,n){return this._initOverlay(ni,e,t,n).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),En.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(ni,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[t](n),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof An||(this._tooltip._source=this),this._tooltip._prepareOpen(e)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t="function"==typeof e.getElement&&e.getElement();t&&(Et(t,"focus",function(){this._tooltip._source=e,this.openTooltip()},this),Et(t,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var t="function"==typeof e.getElement&&e.getElement();t&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(e){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var t=this;this._map.once("moveend",function(){t._openOnceFlag=!1,t._openTooltip(e)})}else this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)},_moveTooltip:function(e){var t,n,i=e.latlng;this._tooltip.options.sticky&&e.originalEvent&&(t=this._map.mouseEventToContainerPoint(e.originalEvent),n=this._map.containerPointToLayerPoint(t),i=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(i)}});var ii=Dn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:document.createElement("div"),n=this.options;if(n.html instanceof Element?(ot(t),t.appendChild(n.html)):t.innerHTML=!1!==n.html?n.html:"",n.bgPos){var i=O(n.bgPos);t.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});Dn.Default=Mn;var ri=En.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Le.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){h(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),st(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(at(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(lt(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof D?e:new D(e,e)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,n=this.getPane().children,i=-e(-1/0,1/0),r=0,s=n.length;r<s;r++)t=n[r].style.zIndex,n[r]!==this._container&&t&&(i=e(i,+t));isFinite(i)&&(this.options.zIndex=i+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Le.ielt9){ft(this._container,this.options.opacity);var e=+new Date,t=!1,n=!1;for(var i in this._tiles){var r=this._tiles[i];if(r.current&&r.loaded){var s=Math.min(1,(e-r.loaded)/200);ft(r.el,s),s<1?t=!0:(r.active?n=!0:this._onOpaqueTile(r),r.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),t&&(S(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=rt("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(void 0!==e){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===e?(this._levels[n].el.style.zIndex=t-Math.abs(e-n),this._onUpdateLevel(n)):(st(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[e],r=this._map;
vendor: 4,191 bytes, line 1
1return i||((i=this._levels[e]={}).el=rt("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=t,i.origin=r.project(r.unproject(r.getPixelOrigin()),e).round(),i.zoom=e,this._setZoomTransform(i,r.getCenter(),r.getZoom()),i.el.offsetWidth,this._onCreateLevel(i)),this._level=i,i}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var e,t,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(e in this._tiles)(t=this._tiles[e]).retain=t.current;for(e in this._tiles)if((t=this._tiles[e]).current&&!t.active){var i=t.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)st(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,n,i){var r=Math.floor(e/2),s=Math.floor(t/2),o=n-1,a=new D(+r,+s);a.z=+o;var l=this._tileCoordsToKey(a),c=this._tiles[l];return c&&c.active?(c.retain=!0,!0):(c&&c.loaded&&(c.retain=!0),o>i&&this._retainParent(r,s,o,i))},_retainChildren:function(e,t,n,i){for(var r=2*e;r<2*e+2;r++)for(var s=2*t;s<2*t+2;s++){var o=new D(r,s);o.z=n+1;var a=this._tileCoordsToKey(o),l=this._tiles[a];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<i&&this._retainChildren(r,s,n+1,i))}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return void 0!==t.minNativeZoom&&e<t.minNativeZoom?t.minNativeZoom:void 0!==t.maxNativeZoom&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,n,i){var r=Math.round(t);r=void 0!==this.options.maxZoom&&r>this.options.maxZoom||void 0!==this.options.minZoom&&r<this.options.minZoom?void 0:this._clampZoom(r);var s=this.options.updateWhenZooming&&r!==this._tileZoom;i&&!s||(this._tileZoom=r,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==r&&this._update(e),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var n in this._levels)this._setZoomTransform(this._levels[n],e,t)},_setZoomTransform:function(e,t,n){var i=this._map.getZoomScale(n,e.zoom),r=e.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(t,n)).round();Le.any3d?gt(e.el,r,i):vt(e.el,r)},_resetGrid:function(){var e=this._map,t=e.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,r=this._map.getPixelWorldBounds(this._tileZoom);r&&(this._globalTileRange=this._pxBoundsToTileRange(r)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],i).x/n.x),Math.ceil(e.project([0,t.wrapLng[1]],i).x/n.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],i).y/n.x),Math.ceil(e.project([t.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,n=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),i=t.getZoomScale(n,this._tileZoom),r=t.project(e,this._tileZoom).floor(),s=t.getSize().divideBy(2*i);return new P(r.subtract(s),r.add(s))},_update:function(e){var t=this._map;if(t){var n=this._clampZoom(t.getZoom());if(void 0===e&&(e=t.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(e),r=this._pxBoundsToTileRange(i),s=r.getCenter(),o=[],a=this.options.keepBuffer,l=new P(r.getBottomLeft().subtract([a,-a]),r.getTopRight().add([a,-a]));if(!(isFinite(r.min.x)&&isFinite(r.min.y)&&isFinite(r.max.x)&&isFinite(r.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new D(u.x,u.y))||(this._tiles[c].current=!1)}if(Math.abs(n-this._tileZoom)>
vendor: 10,045 bytes, line 1
11)this._setView(e,n);else{for(var d=r.min.y;d<=r.max.y;d++)for(var h=r.min.x;h<=r.max.x;h++){var p=new D(h,d);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:o.push(p)}}if(o.sort(function(e,t){return e.distanceTo(s)-t.distanceTo(s)}),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(h=0;h<o.length;h++)this._addTile(o[h],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var n=this._globalTileRange;if(!t.wrapLng&&(e.x<n.min.x||e.x>n.max.x)||!t.wrapLat&&(e.y<n.min.y||e.y>n.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(e);return B(this.options.bounds).overlaps(i)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),i=e.scaleBy(n),r=i.add(n);return[t.unproject(i,e.z),t.unproject(r,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new R(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new D(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(st(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){ut(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=l,e.onmousemove=l,Le.ielt9&&this.options.opacity<1&&ft(e,this.options.opacity)},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),s=this.createTile(this._wrapCoords(e),i(this._tileReady,this,e));this._initTile(s),this.createTile.length<2&&C(i(this._tileReady,this,e,null,s)),vt(s,n),this._tiles[r]={el:s,coords:e,current:!0},t.appendChild(s),this.fire("tileloadstart",{tile:s,coords:e})},_tileReady:function(e,t,n){t&&this.fire("tileerror",{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(ft(n.el,0),S(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(ut(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Le.ielt9||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new D(this._wrapX?a(e.x,this._wrapX):e.x,this._wrapY?a(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new P(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});var si=ri.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=h(this,t)).detectRetina&&Le.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement("img");return Et(n,"load",i(this._tileOnLoad,this,t,n)),Et(n,"error",i(this._tileOnError,this,t,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(e),n},getTileUrl:function(e){var n={r:Le.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-e.y;this.options.tms&&(n.y=i),n["-y"]=i}return m(this._url,t(n,this.options))},_tileOnLoad:function(e,t){Le.ielt9?setTimeout(i(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var i=this.options.errorTileUrl;i&&t.getAttribute("src")!==i&&(t.src=i),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=l,t.onerror=l,!t.complete)){t.src=y;var n=this._tiles[e].coords;st(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:n})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",y),ri.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(this._map&&(!n||n.getAttribute("src")!==y))return ri.prototype._tileReady.call(this,e,t,n)}});function oi(e,t){return new si(e,t)}var ai=si.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,n){this._url=e;var i=t({},this.defaultWmsParams);for(var r in n)r in this.options||(i[r]=n[r]);var s=(n=h(this,n)).detectRetina&&Le.retina?2:1,o=this.getTileSize();i.width=o.x*s,i.height=o.y*s,this.wmsParams=i},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,si.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,i=N(n.project(t[0]),n.project(t[1])),r=i.min,s=i.max,o=(this._wmsVersion>=1.3&&this._crs===Sn?[r.y,r.x,s.y,s.x]:[r.x,r.y,s.x,s.y]).join(","),a=si.prototype.getTileUrl.call(this,e);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(e,n){return t(this.wmsParams,e),n||this.redraw(),this}});si.WMS=ai,oi.wms=function(e,t){return new ai(e,t)};var li=En.extend({options:{padding:.1},initialize:function(e){h(this,e),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),ut(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),i=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,t),s=i.multiplyBy(-n).add(r).subtract(this._map._getNewPixelOrigin(e,t));Le.any3d?gt(this._container,s,n):vt(this._container,s)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new P(n,n.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ci=li.extend({options:{tolerance:0},getEvents:function(){var e=li.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){li.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Et(e,"mousemove",this._onMouseMove,this),Et(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Et(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){S(this._redrawRequest),delete this._ctx,st(this._container),At(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){li.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),i=Le.retina?2:1;vt(t,e.min),t.width=i*n.x,t.height=i*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",Le.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){li.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[s(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,i=t.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete e._order,delete this._layers[s(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)}
vendor: 1,711 bytes, line 1
1,_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,n,i=e.options.dashArray.split(/[, ]+/),r=[];for(n=0;n<i.length;n++){if(t=Number(i[n]),isNaN(t))return;r.push(t)}e.options._dashArray=r}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||C(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new P,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var n=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)e=i.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var n,i,r,s,o=e._parts,a=o.length,l=this._ctx;if(a){for(l.beginPath(),n=0;n<a;n++){for(i=0,r=o[n].length;i<r;i++)s=o[n][i],l[i?"lineTo":"moveTo"](s.x,s.y);t&&l.closePath()}this._fillStroke(l,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,
vendor: 7,011 bytes, line 1
1n=this._ctx,i=Math.max(Math.round(e._radius),1),r=(Math.max(Math.round(e._radiusY),1)||i)/i;1!==r&&(n.save(),n.scale(1,r)),n.beginPath(),n.arc(t.x,t.y/r,i,0,2*Math.PI,!1),1!==r&&n.restore(),this._fillStroke(n,e)}},_fillStroke:function(e,t){var n=t.options;n.fill&&(e.globalAlpha=n.fillOpacity,e.fillStyle=n.fillColor||n.color,e.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=n.opacity,e.lineWidth=n.weight,e.strokeStyle=n.color,e.lineCap=n.lineCap,e.lineJoin=n.lineJoin,e.stroke())},_onClick:function(e){for(var t,n,i=this._map.mouseEventToLayerPoint(e),r=this._drawFirst;r;r=r.next)(t=r.layer).options.interactive&&t._containsPoint(i)&&("click"!==e.type&&"preclick"!==e.type||!this._map._draggableMoved(t))&&(n=t);this._fireEvent(!!n&&[n],e)},_onMouseMove:function(e){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(dt(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var n,r,s=this._drawFirst;s;s=s.next)(n=s.layer).options.interactive&&n._containsPoint(t)&&(r=n);r!==this._hoveredLayer&&(this._handleMouseOut(e),r&&(ut(this._container,"leaflet-interactive"),this._fireEvent([r],e,"mouseover"),this._hoveredLayer=r)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],e),this._mouseHoverThrottled=!0,setTimeout(i(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,t,n){this._map._fireDOMEvent(t,n||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;n&&(n.prev=i,i?i.next=n:n&&(this._drawFirst=n),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e))}},_bringToBack:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;i&&(i.next=n,n?n.prev=i:i&&(this._drawLast=i),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e))}}});function ui(e){return Le.canvas?new ci(e):null}var di=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),hi={_initContainer:function(){this._container=rt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(li.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=di("shape");ut(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=di("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[s(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;st(t),e.removeInteractiveTarget(t),delete this._layers[s(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,i=e.options,r=e._container;r.stroked=!!i.stroke,r.filled=!!i.fill,i.stroke?(t||(t=e._stroke=di("stroke")),r.appendChild(t),t.weight=i.weight+"px",t.color=i.color,t.opacity=i.opacity,i.dashArray?t.dashStyle=g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=i.lineCap.replace("butt","flat"),t.joinstyle=i.lineJoin):t&&(r.removeChild(t),e._stroke=null),i.fill?(n||(n=e._fill=di("fill")),r.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(r.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),i=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+i+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){at(e._container)},_bringToBack:function(e){lt(e._container)}},pi=Le.vml?di:Y,fi=li.extend({_initContainer:function(){this._container=pi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=pi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){st(this._container),At(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){li.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute("width",t.x),n.setAttribute("height",t.y)),vt(n,e.min),n.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=pi("path");e.options.className&&ut(t,e.options.className),e.options.interactive&&ut(t,"leaflet-interactive"),this._updateStyle(e),this._layers[s(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){st(e._path),e.removeInteractiveTarget(e._path),delete this._layers[s(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute("stroke",n.color),t.setAttribute("stroke-opacity",n.opacity),t.setAttribute("stroke-width",n.weight),t.setAttribute("stroke-linecap",n.lineCap),t.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?t.setAttribute("stroke-dasharray",n.dashArray):t.removeAttribute("stroke-dasharray"),n.dashOffset?t.setAttribute("stroke-dashoffset",n.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),n.fill?(t.setAttribute("fill",n.fillColor||n.color),t.setAttribute("fill-opacity",n.fillOpacity),t.setAttribute("fill-rule",n.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,K(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),i="a"+n+","+(Math.max(Math.round(e._radiusY),1)||n)+" 0 1,0 ",r=e._empty()?"M0 0":"M"+(t.x-n)+","+t.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(e,r)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){at(e._path)},_bringToBack:function(e){lt(e._path)}});function mi(e){return Le.svg||Le.vml?new fi(e):null}Le.vml&&fi.include(hi),Wt.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&ui(e)||mi(e)}});var gi=Fn.extend({initialize:function(e,t){Fn.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))}
vendor: 12,084 bytes, line 1
1,_boundsToLatLngs:function(e){return[(e=B(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});fi.create=pi,fi.pointsToPath=K,Vn.geometryToLayer=$n,Vn.coordsToLatLng=Hn,Vn.coordsToLatLngs=zn,Vn.latLngToCoords=Un,Vn.latLngsToCoords=qn,Vn.getFeature=Wn,Vn.asFeature=Gn,Wt.mergeOptions({boxZoom:!0});var vi=Qt.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Et(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){At(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){st(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),Ze(),wt(),this._startPoint=this._map.mouseEventToContainerPoint(e),Et(document,{contextmenu:Ft,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=rt("div","leaflet-zoom-box",this._container),ut(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new P(this._point,this._startPoint),n=t.getSize();vt(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(st(this._box),dt(this._container,"leaflet-crosshair")),Ye(),_t(),At(document,{contextmenu:Ft,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var t=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Wt.addInitHook("addHandler","boxZoom",vi),Wt.mergeOptions({doubleClickZoom:!0});var yi=Qt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),i=t.options.zoomDelta,r=e.originalEvent.shiftKey?n-i:n+i;"center"===t.options.doubleClickZoom?t.setZoom(r):t.setZoomAround(e.containerPoint,r)}});Wt.addInitHook("addHandler","doubleClickZoom",yi),Wt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var bi=Qt.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new nn(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}ut(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){dt(this._map._container,"leaflet-grab"),dt(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=B(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,r=(i-t+n)%e+t-n,s=(i+t+n)%e-t-n,o=Math.abs(r+n)<Math.abs(s+n)?r:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o},_onDragEnd:function(e){var t=this._map,n=t.options,i=!n.inertia||e.noInertia||this._times.length<2;if(t.fire("dragend",e),i)t.fire("moveend");else{this._prunePositions(+new Date);var r=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,o=n.easeLinearity,a=r.multiplyBy(o/s),l=a.distanceTo([0,0]),c=Math.min(n.inertiaMaxSpeed,l),u=a.multiplyBy(c/l),d=c/(n.inertiaDeceleration*o),h=u.multiplyBy(-d/2).round();h.x||h.y?(h=t._limitOffset(h,t.options.maxBounds),C(function(){t.panBy(h,{duration:d,easeLinearity:o,noMoveStart:!0,animate:!0})})):t.fire("moveend")}}});Wt.addInitHook("addHandler","dragging",bi),Wt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var wi=Qt.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),Et(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),At(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,n=e.scrollTop||t.scrollTop,i=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(i,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,n,i=this._panKeys={},r=this.keyCodes;for(t=0,n=r.left.length;t<n;t++)i[r.left[t]]=[-1*e,0];for(t=0,n=r.right.length;t<n;t++)i[r.right[t]]=[e,0];for(t=0,n=r.down.length;t<n;t++)i[r.down[t]]=[0,e];for(t=0,n=r.up.length;t<n;t++)i[r.up[t]]=[0,-1*e]},_setZoomDelta:function(e){var t,n,i=this._zoomKeys={},r=this.keyCodes;for(t=0,n=r.zoomIn.length;t<n;t++)i[r.zoomIn[t]]=e;for(t=0,n=r.zoomOut.length;t<n;t++)i[r.zoomOut[t]]=-e},_addHooks:function(){Et(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){At(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t,n=e.keyCode,i=this._map;if(n in this._panKeys){if(!i._panAnim||!i._panAnim._inProgress)if(t=this._panKeys[n],e.shiftKey&&(t=O(t).multiplyBy(3)),i.options.maxBounds&&(t=i._limitOffset(O(t),i.options.maxBounds)),i.options.worldCopyJump){var r=i.wrapLatLng(i.unproject(i.project(i.getCenter()).add(t)));i.panTo(r)}else i.panBy(t)}else if(n in this._zoomKeys)i.setZoom(i.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Ft(e)}}});Wt.addInitHook("addHandler","keyboard",wi),Wt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var _i=Qt.extend({addHooks:function(){Et(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){At(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=Ht(e),n=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var r=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),r),Ft(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),n=this._map.options.zoomSnap||0;e._stop();var i=this._delta/(4*this._map.options.wheelPxPerZoomLevel),r=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,s=n?Math.ceil(r/n)*n:r,o=e._limitZoom(t+(this._delta>0?s:-s))-t;this._delta=0,this._startTime=null,o&&("center"===e.options.scrollWheelZoom?e.setZoom(t+o):e.setZoomAround(this._lastMousePos,t+o))}});Wt.addInitHook("addHandler","scrollWheelZoom",_i);Wt.mergeOptions({tapHold:Le.touchNative&&Le.safari&&Le.mobile,tapTolerance:15});var xi=Qt.extend({addHooks:function(){Et(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){At(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),1===e.touches.length){var t=e.touches[0];this._startPos=this._newPos=new D(t.clientX,t.clientY),this._holdTimeout=setTimeout(i(function(){this._cancel(),this._isTapValid()&&(Et(document,"touchend",Bt),Et(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))},this),600),Et(document,"touchend touchcancel contextmenu",this._cancel,this),Et(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){At(document,"touchend",Bt),At(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),At(document,"touchend touchcancel contextmenu",this._cancel,this),At(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new D(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var n=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});n._simulated=!0,t.target.dispatchEvent(n)}});Wt.addInitHook("addHandler","tapHold",xi),Wt.mergeOptions({touchZoom:Le.touch,bounceAtZoomLimits:!0});var ki=Qt.extend({addHooks:function(){ut(this._map._container,"leaflet-touch-zoom"),Et(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){dt(this._map._container,"leaflet-touch-zoom"),At(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),i=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),Et(document,"touchmove",this._onTouchMove,this),Et(document,"touchend touchcancel",this._onTouchEnd,this),Bt(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r
1=t.mouseEventToContainerPoint(e.touches[1]),s=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(s,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&s<1||this._zoom>t.getMaxZoom()&&s>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===o.x&&0===o.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),S(this._animRequest);var a=i(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=C(a,this,!0),Bt(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,S(this._animRequest),At(document,"touchmove",this._onTouchMove,this),At(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Wt.addInitHook("addHandler","touchZoom",ki),Wt.BoxZoom=vi,Wt.DoubleClickZoom=yi,Wt.Drag=bi,Wt.Keyboard=wi,Wt.ScrollWheelZoom=_i,Wt.TapHold=xi,Wt.TouchZoom=ki,e.Bounds=P,e.Browser=Le,e.CRS=j,e.Canvas=ci,e.Circle=Rn,e.CircleMarker=Nn,e.Class=E,e.Control=Gt,e.DivIcon=ii,e.DivOverlay=ei,e.DomEvent=Ut,e.DomUtil=Tt,e.Draggable=nn,e.Evented=A,e.FeatureGroup=An,e.GeoJSON=Vn,e.GridLayer=ri,e.Handler=Qt,e.Icon=Dn,e.ImageOverlay=Jn,e.LatLng=F,e.LatLngBounds=R,e.Layer=En,e.LayerGroup=In,e.LineUtil=wn,e.Map=Wt,e.Marker=Pn,e.Mixin=en,e.Path=Ln,e.Point=D,e.PolyUtil=ln,e.Polygon=Fn,e.Polyline=Bn,e.Popup=ti,e.PosAnimation=qt,e.Projection=kn,e.Rectangle=gi,e.Renderer=li,e.SVG=fi,e.SVGOverlay=Qn,e.TileLayer=si,e.Tooltip=ni,e.Transformation=q,e.Util=T,e.VideoOverlay=Xn,e.bind=i,e.bounds=N,e.canvas=ui,e.circle=function(e,t,n){return new Rn(e,t,n)},e.circleMarker=function(e,t){return new Nn(e,t)},e.control=Zt,e.divIcon=function(e){return new ii(e)},e.extend=t,e.featureGroup=function(e,t){return new An(e,t)},e.geoJSON=Yn,e.geoJson=Kn,e.gridLayer=function(e){return new ri(e)},e.icon=function(e){return new Dn(e)},e.imageOverlay=function(e,t,n){return new Jn(e,t,n)},e.latLng=V,e.latLngBounds=B,e.layerGroup=function(e,t){return new In(e,t)},e.map=function(e,t){return new Wt(e,t)},e.marker=function(e,t){return new Pn(e,t)},e.point=O,e.polygon=function(e,t){return new Fn(e,t)},e.polyline=function(e,t){return new Bn(e,t)},e.popup=function(e,t){return new ti(e,t)},e.rectangle=function(e,t){return new gi(e,t)},e.setOptions=h,e.stamp=s,e.svg=mi,e.svgOverlay=function(e,t,n){return new Qn(e,t,n)},e.tileLayer=oi,e.tooltip=function(e,t){return new ni(e,t)},e.transformation=W,e.version="1.9.4",e.videoOverlay=function(e,t,n){return new Xn(e,t,n)};var Ci=window.L;e.noConflict=function(){return window.L=Ci,this},window.L=e}(t)},5093:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,i=[],r=e.length;for(n=0;n<r;++n)i.push(t(e[n],n));return i}function h(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return o(t,"toString")&&(e.toString=t.toString),o(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,i){return Lt(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meri
vendor: 5,753 bytes, line 1
1diem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){var t=null,i=!1,r=e._d&&!isNaN(e._d.getTime());return r&&(t=f(e),i=n.call(t.parsedDateParts,function(e){return null!=e}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function g(e){var t=p(NaN);return null!=e?h(f(t),e):f(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=i.momentProperties=[],y=!1;function b(e,t){var n,i,r,s=v.length;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=f(t)),l(t._locale)||(e._locale=t._locale),s>0)for(n=0;n<s;n++)l(r=t[i=v[n]])||(e[i]=r);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,i.updateOffset(this),y=!1)}function _(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function x(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return h(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,s,a,l=[],c=arguments.length;for(s=0;s<c;s++){if(r="","object"==typeof arguments[s]){for(a in r+="\n["+s+"] ",arguments[0])o(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[s];l.push(r)}x(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var C,S={};function T(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),S[e]||(x(t),S[e]=!0)}function E(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function I(e,t){var n,i=h({},e);for(n in t)o(t,n)&&(s(e[n])&&s(t[n])?(i[n]={},h(i[n],e[n]),h(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)o(e,n)&&!o(t,n)&&s(e[n])&&(i[n]=h({},i[n]));return i}function A(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};function D(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var M=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},L={};function N(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(L[e]=r),t&&(L[t[0]]=function(){return D(r.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function R(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e,t){return e.isValid()?(t=F(t,e.localeData()),P[t]=P[t]||function(e){var t,n,i=e.match(M);for(t=0,n=i.length;t<n;t++)L[i[t]]?i[t]=L[i[t]]:i[t]=R(i[t]);return function(t){var r,s="";for(r=0;r<n;r++)s+=E(i[r])?i[r].call(t,e):i[r];return s}}(t),P[t](e)):e.localeData().invalidDate()}function F(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(O.lastIndex=0;n>=0&&O.test(e);)e=e.replace(O,i),O.lastIndex=0,n-=1;return e}var V={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function $(e){return"string"==typeof e?V[e]||V[e.toLowerCase()]:void 0}function j(e){var t,n,i={};for(n in e)o(e,n)&&(t=$(n))&&(i[t]=e[n]);return i}var H={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var z,U=/\d/,q=/\d\d/,W=/\d{3}/,G=/\d{4}/,Z=/[+-]?\d{6}/,Y=/\d\d?/,K=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,X=/\d{1,3}/,Q=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oe=/^[1-9]\d?/,ae=/^([1-9]\d|\d)/;function le(e,t,n){z[e]=E(t)?t:function(e,i){return e&&n?n:t}}function ce(e,t){return o(z,e)?z[e](t._strict,t._locale):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=de(t)),n}z={};var pe={};function fe(e,t){var n,i,r=t;
vendor: 7,608 bytes, line 1
1for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=he(e)}),i=e.length,n=0;n<i;n++)pe[e[n]]=r}function me(e,t){fe(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ge(e,t,n){null!=t&&o(pe,e)&&pe[e](t,n._a,n,e)}function ve(e){return e%4==0&&e%100!=0||e%400==0}var ye=0,be=1,we=2,_e=3,xe=4,ke=5,Ce=6,Se=7,Te=8;function Ee(e){return ve(e)?366:365}N("Y",0,0,function(){var e=this.year();return e<=9999?D(e,4):"+"+e}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),le("Y",ne),le("YY",Y,q),le("YYYY",Q,G),le("YYYYY",ee,Z),le("YYYYYY",ee,Z),fe(["YYYYY","YYYYYY"],ye),fe("YYYY",function(e,t){t[ye]=2===e.length?i.parseTwoDigitYear(e):he(e)}),fe("YY",function(e,t){t[ye]=i.parseTwoDigitYear(e)}),fe("Y",function(e,t){t[ye]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};var Ie,Ae=De("FullYear",!0);function De(e,t){return function(n){return null!=n?(Oe(this,e,n),i.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Oe(e,t,n){var i,r,s,o,a;if(e.isValid()&&!isNaN(n)){switch(i=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(r?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(r?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(r?i.setUTCHours(n):i.setHours(n));case"Date":return void(r?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}s=n,o=e.month(),a=29!==(a=e.date())||1!==o||ve(s)?a:28,r?i.setUTCFullYear(s,o,a):i.setFullYear(s,o,a)}}function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?ve(e)?29:28:31-i%7%2}Ie=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),N("MMMM",0,0,function(e){return this.localeData().months(this,e)}),le("M",Y,oe),le("MM",Y,q),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),fe(["M","MM"],function(e,t){t[be]=he(e)-1}),fe(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[be]=r:f(n).invalidMonth=e});var Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Be=se,Fe=se;function Ve(e,t,n){var i,r,s,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=p([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Ie.call(this._shortMonthsParse,o))?r:null:-1!==(r=Ie.call(this._longMonthsParse,o))?r:null:"MMM"===t?-1!==(r=Ie.call(this._shortMonthsParse,o))||-1!==(r=Ie.call(this._longMonthsParse,o))?r:null:-1!==(r=Ie.call(this._longMonthsParse,o))||-1!==(r=Ie.call(this._shortMonthsParse,o))?r:null}function $e(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=he(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var n=t,i=e.date();return i=i<29?i:Math.min(i,Pe(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i),e}function je(e){return null!=e?($e(this,e),i.updateOffset(this,!0),this):Me(this,"Month")}function He(){function e(e,t){return t.length-e.length}var t,n,i,r,s=[],o=[],a=[];for(t=0;t<12;t++)n=p([2e3,t]),i=ue(this.monthsShort(n,"")),r=ue(this.months(n,"")),s.push(i),o.push(r),a.push(r),a.push(i);s.sort(e),o.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function ze(e,t,n,i,r,s,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,s,o),a}function Ue(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qe(e,t,n){var i=7+t-n;return-(7+Ue(e,0,i).getUTCDay()-t)%7+i-1}function We(e,t,n,i,r){var s,o,a=1+7*(t-1)+(7+n-i)%7+qe(e,i,r);return a<=0?o=Ee(s=e-1)+a:a>Ee(e)?(s=e+1,o=a-Ee(e)):(s=e,o=a),{year:s,dayOfYear:o}}function Ge(e,t,n){var i,r,s=qe(e.year(),t,n),o=Math.floor((e.dayOfYear()-s-1)/7)+1;return o<1?i=o+Ze(r=e.year()-1,t,n):o>Ze(e.year(),t,n)?(i=o-Ze(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Ze(e,t,n){var i=qe(e,t,n),r=qe(e+1,t,n);return(Ee(e)-i+r)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),le("w",Y,oe),le("ww",Y,q),le("W",Y,oe),le("WW",Y,q),me(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=he(e)});function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("d",0,"do","day"),N("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),N("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),N("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),le("d",Y),le("e",Y),le("E",Y),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,i){t[i]=he(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qe=se,et=se,tt=se;function nt(e,t,n){var i,r,s,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Ie.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=Ie.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=Ie.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=Ie.call(this._weekdaysParse,o))||-1!==(r=Ie.call(this._shortWeekdaysParse,o))||-1!==(r=Ie.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=Ie.call(this._shortWeekdaysParse,o))||-1!==(r=Ie.call(this._weekdaysParse,o))||-1!==(r=Ie.call(this._minWeekdaysParse,o))?r:null:-1!==(r=Ie.call(this._minWeekdaysParse,o))||-1!==(r=Ie.call(this._weekdaysParse,o))||-1!==(r=Ie.call(this._shortWeekdaysParse,o))?r:null}function it(){function e(e,t){return t.length-e.length}var t,n,i,r,s,o=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),i=ue(this.weekdaysMin(n,"")),r=ue(this.weekdaysShort(n,"")),s=ue
vendor: 4,168 bytes, line 1
1(this.weekdays(n,"")),o.push(i),a.push(r),l.push(s),c.push(i),c.push(r),c.push(s);o.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function rt(){return this.hours()%12||12}function st(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,rt),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+rt.apply(this)+D(this.minutes(),2)}),N("hmmss",0,0,function(){return""+rt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),st("a",!0),st("A",!1),le("a",ot),le("A",ot),le("H",Y,ae),le("h",Y,oe),le("k",Y,oe),le("HH",Y,q),le("hh",Y,q),le("kk",Y,q),le("hmm",K),le("hmmss",J),le("Hmm",K),le("Hmmss",J),fe(["H","HH"],_e),fe(["k","kk"],function(e,t,n){var i=he(e);t[_e]=24===i?0:i}),fe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),fe(["h","hh"],function(e,t,n){t[_e]=he(e),f(n).bigHour=!0}),fe("hmm",function(e,t,n){var i=e.length-2;t[_e]=he(e.substr(0,i)),t[xe]=he(e.substr(i)),f(n).bigHour=!0}),fe("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[_e]=he(e.substr(0,i)),t[xe]=he(e.substr(i,2)),t[ke]=he(e.substr(r)),f(n).bigHour=!0}),fe("Hmm",function(e,t,n){var i=e.length-2;t[_e]=he(e.substr(0,i)),t[xe]=he(e.substr(i))}),fe("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[_e]=he(e.substr(0,i)),t[xe]=he(e.substr(i,2)),t[ke]=he(e.substr(r))});var at=De("Hours",!0);var lt,ct={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Xe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},ut={},dt={};function ht(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function pt(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var n=null;if(void 0===ut[t]&&e&&e.exports&&function(e){return!(!e||!e.match("^[^/\\\\]*$"))}(t))try{n=lt._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),mt(n)}catch(e){ut[t]=null}return ut[t]}function mt(e,t){var n;return e&&((n=l(t)?vt(e):gt(e,t))?lt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function gt(e,t){if(null!==t){var n,i=ct;if(t.abbr=e,null!=ut[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ut[e]._config;else if(null!=t.parentLocale)if(null!=ut[t.parentLocale])i=ut[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return dt[t.parentLocale]||(dt[t.parentLocale]=[]),dt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ut[e]=new A(I(i,t)),dt[e]&&dt[e].forEach(function(e){gt(e.name,e.config)}),mt(e),ut[e]}return delete ut[e],null}function vt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return lt;if(!r(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,i,r,s=0;s<e.length;
vendor: 6,057 bytes, line 1
1){for(t=(r=pt(e[s]).split("-")).length,n=(n=pt(e[s+1]))?n.split("-"):null;t>0;){if(i=ft(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&ht(r,n)>=t-1)break;t--}s++}return lt}(e)}function yt(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[be]<0||n[be]>11?be:n[we]<1||n[we]>Pe(n[ye],n[be])?we:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[xe]||0!==n[ke]||0!==n[Ce])?_e:n[xe]<0||n[xe]>59?xe:n[ke]<0||n[ke]>59?ke:n[Ce]<0||n[Ce]>999?Ce:-1,f(e)._overflowDayOfYear&&(t<ye||t>we)&&(t=we),f(e)._overflowWeeks&&-1===t&&(t=Se),f(e)._overflowWeekday&&-1===t&&(t=Te),f(e).overflow=t),e}var bt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,xt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ct=/^\/?Date\((-?\d+)/i,St=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,i,r,s,o,a=e._i,l=bt.exec(a)||wt.exec(a),c=xt.length,u=kt.length;if(l){for(f(e).iso=!0,t=0,n=c;t<n;t++)if(xt[t][1].exec(l[1])){r=xt[t][0],i=!1!==xt[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(kt[t][1].exec(l[3])){s=(l[2]||" ")+kt[t][0];break}if(null==s)return void(e._isValid=!1)}if(!i&&null!=s)return void(e._isValid=!1);if(l[4]){if(!_t.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(s||"")+(o||""),Ot(e)}else e._isValid=!1}function It(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function At(e){var t,n,i,r,s,o,a,l,c=St.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],i=c[3],r=c[2],s=c[5],o=c[6],a=c[7],l=[It(n),Ne.indexOf(i),parseInt(r,10),parseInt(s,10),parseInt(o,10)],a&&l.push(parseInt(a,10)),t=l,!function(e,t,n){return!e||Je.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return Tt[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(c[8],c[9],c[10]),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Dt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,r,s,o,a=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[we]&&null==e._a[be]&&function(e){var t,n,i,r,s,o,a,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(s=1,o=4,n=Dt(t.GG,e._a[ye],Ge(Nt(),1,4).year),i=Dt(t.W,1),((r=Dt(t.E,1))<1||r>7)&&(l=!0)):(s=e._locale._week.dow,o=e._locale._week.doy,c=Ge(Nt(),s,o),n=Dt(t.gg,e._a[ye],c.year),i=Dt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(l=!0)):r=s),i<1||i>Ze(n,s,o)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(a=We(n,i,r,s,o),e._a[ye]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(o=Dt(e._a[ye],r[ye]),(e._dayOfYear>Ee(o)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=Ue(o,0,e._dayOfYear),e._a[be]=n.getUTCMonth(),e._a[we]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[xe]&&0===e._a[ke]&&0===e._a[Ce]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?Ue:ze).apply(null,a),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(f(e).weekdayMismatch=!0)}}function Ot(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],f(e).empty=!0;var t,n,r,s,o,a,l,c=""+e._i,u=c.length,d=0;for(l=(r=F(e._f,e._locale).match(M)||[]).length,t=0;t<l;t++)s=r[t],(n=(c.match(ce(s,e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&f(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),d+=n.length),L[s]?(n?f(e).empty=!1:f(e).unusedTokens.push(s),ge(s,n,e)):e._strict&&!n&&f(e).unusedTokens.push(s);f(e).charsLeftOver=u-d,c.length>0&&f(e).unusedInput.push(c),e._a[_e]<=12&&!0===f(e).bigHour&&e._a[_e]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[_e]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[_e],e._meridiem),null!==(a=f(e).era)&&(e._a[ye]=e._locale.erasConvertYear(a,e._a[ye])),Mt(e),yt(e)}else At(e);else Et(e)}function Pt(e){var t=e._i,n=e._f;return e._locale=e._locale||vt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new w(yt(t)):(u(t)?e._d=t:r(n)?function(e){var t,n,i,r,s,o,a=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)s=0,o=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ot(t),m(t)&&(o=!0),s+=f(t).charsLeftOver,s+=10*f(t).unusedTokens.length,f(t).score=s,a?s<i&&(i=s,n=t):(null==i||s<i||o)&&(i=s,n=t,o&&(a=!0));h(e,n||t)}(e):n?Ot(e):function(e){var t=e._i;l(t)?e._d=new Date(i.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=Ct.exec(e._i);
vendor: 15,595 bytes, line 1
1null===t?(Et(e),!1===e._isValid&&(delete e._isValid,At(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=d(t.slice(0),function(e){return parseInt(e,10)}),Mt(e)):s(t)?function(e){if(!e._d){var t=j(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e)}}(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function Lt(e,t,n,i,o){var l,c={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(s(e)&&a(e)||r(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=o,c._l=n,c._i=e,c._f=t,c._strict=i,(l=new w(yt(Pt(c))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Nt(e,t,n,i){return Lt(e,t,n,i,!1)}i.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Rt=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Nt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Bt=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Nt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()});function Ft(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Nt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Vt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function $t(e){var t=j(e),n=t.year||0,i=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=Vt.length;for(t in e)if(o(e,t)&&(-1===Ie.call(Vt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[Vt[n]]){if(i)return!1;parseFloat(e[Vt[n]])!==he(e[Vt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+a+7*s,this._months=+r+3*i+12*n,this._data={},this._locale=vt(),this._bubble()}function jt(e){return e instanceof $t}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function zt(e,t){N(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+D(~~(e/60),2)+t+D(~~e%60,2)})}zt("Z",":"),zt("ZZ",""),le("Z",re),le("ZZ",re),fe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=qt(re,e)});var Ut=/([\+\-]|\d\d)/gi;function qt(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Ut)||["-",0,0])[1]+he(n[2]))?0:"+"===n[0]?i:-i}function Wt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(_(e)||u(e)?e.valueOf():Nt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Nt(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function Zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Yt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Kt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Jt(e,t){var n,i,r,s,a,l,u=e,d=null;return jt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(u={},t?u[t]=+e:u.milliseconds=+e):(d=Yt.exec(e))?(n="-"===d[1]?-1:1,u={y:0,d:he(d[we])*n,h:he(d[_e])*n,m:he(d[xe])*n,s:he(d[ke])*n,ms:he(Ht(1e3*d[Ce]))*n}):(d=Kt.exec(e))?(n="-"===d[1]?-1:1,u={y:Xt(d[2],n),M:Xt(d[3],n),w:Xt(d[4],n),d:Xt(d[5],n),h:Xt(d[6],n),m:Xt(d[7],n),s:Xt(d[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=Nt(u.from),a=Nt(u.to),r=s.isValid()&&a.isValid()?(a=Wt(a,s),s.isBefore(a)?l=Qt(s,a):((l=Qt(a,s)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),i=new $t(u),jt(e)&&o(e,"_locale")&&(i._locale=e._locale),jt(e)&&o(e,"_isValid")&&(i._isValid=e._isValid),i}function Xt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),tn(this,Jt(n,i),e),this}}function tn(e,t,n,r){var s=t._milliseconds,o=Ht(t._days),a=Ht(t._months);e.isValid()&&(r=null==r||r,a&&$e(e,Me(e,"Month")+a*n),o&&Oe(e,"Date",Me(e,"Date")+o*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&i.updateOffset(e,o||a))}Jt.fn=$t.prototype,Jt.invalid=function(){return Jt(NaN)};var nn=en(1,"add"),rn=en(-1,"subtract");function sn(e){return"string"==typeof e||e instanceof String}function on(e){return _(e)||u(e)||sn(e)||c(e)||function(e){var t=r(e),n=!1;return t&&(n=0===e.filter(function(t){return!c(t)&&sn(e)}).length),t&&n}(e)||function(e){var t,n,i=s(e)&&!a(e),r=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=l.length;for(t=0;t<c;t+=1)n=l[t],r=r||o(e,n);return i&&r}(e)||null==e}function an(e,t){if(e.date()<t.date())return-an(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function ln(e){var t;return void 0===e?this._locale._abbr:(null!=(t=vt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var cn=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function un(){return this._locale}var dn=1e3,hn=6e4,pn=36e5,fn=126227808e5;function mn(e,t){return(e%t+t)%t}function gn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fn:new Date(e,t,n).valueOf()}function vn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fn:Date.UTC(e,t,n)}function yn(e,t){return t.erasAbbrRegex(e)}function bn(){var e,t,n,i,r,s=[],o=[],a=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=ue(c[e].name),i=ue(c[e].abbr),r=ue(c[e].narrow),o.push(n),s.push(i),a.push(r),l.push(n),l.push(i),l.push(r);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function wn(e,t){N(0,[e,e.length],0,t)}function _n(e,t,n,i,r){var s;return null==e?Ge(this,i,r).year:(t>(s=Ze(e,i,r))&&(t=s),xn.call(this,e,t,n,i,r))}function xn(e,t,n,i,r){var s=We(e,t,n,i,r),o=Ue(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),le("N",yn),le("NN",yn),le("NNN",yn),le("NNNN",function(e,t){return t.erasNameRegex(e)}),le("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),fe(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?f(n).era=r:f(n).invalidEra=e}),le("y",te),le("yy",te),le("yyy",te),le("yyyy",te),le("yo",function(e,t){return t._eraYearOrdinalRegex||te}),fe(["y","yy","yyy","yyyy"],ye),fe(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ye]=n._locale.eraYearOrdinalParse(e,r):t[ye]=parseInt(e,10)}),N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),wn("gggg","weekYear"),wn("ggggg","weekYear"),wn("GGGG","isoWeekYear"),wn("GGGGG","isoWeekYear"),le("G",ne),le("g",ne),le("GG",Y,q),le("gg",Y,q),le("GGGG",Q,G),le("gggg",Q,G),le("GGGGG",ee,Z),le("ggggg",ee,Z),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=he(e)}),me(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),N("Q",0,"Qo","quarter"),le("Q",U),fe("Q",function(e,t){t[be]=3*(he(e)-1)}),N("D",["DD",2],"Do","date"),le("D",Y,oe),le("DD",Y,q),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),fe(["D","DD"],we),fe("Do",function(e,t){t[we]=he(e.match(Y)[0])});var kn=De("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),le("DDD",X),le("DDDD",W),fe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=he(e)}),N("m",["mm",2],0,"minute"),le("m",Y,ae),le("mm",Y,q),fe(["m","mm"],xe);var Cn=De("Minutes",!1);N("s",["ss",2],0,"second"),le("s",Y,ae),le("ss",Y,q),fe(["s","ss"],ke);var Sn,Tn,En=De("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),le("S",X,U),le("SS",X,q),le("SSS",X,W),Sn="SSSS";Sn.length<=9;Sn+="S")le(Sn,te);function In(e,t){t[Ce]=he(1e3*("0."+e))}for(Sn="S";Sn.length<=9;Sn+="S")fe(Sn,In);Tn=De("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var An=w.prototype;function Dn(e){return e}An.add=nn,An.calendar=function(e,t){1===arguments.length&&(arguments[0]?on(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=s(e)&&!a(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)i=i||o(e,r[t]);return n&&i}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Nt(),r=Wt(n,this).startOf("day"),l=i.calendarFormat(this,r)||"sameElse",c=t&&(E(t[l])?t[l].call(this,n):t[l]);return this.format(c||this.localeData().calendar(l,this,Nt(n)))},An.clone=function(){return new w(this)},An.diff=function(e,t,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=Wt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=$(t)){case"year":s=an(this,i)/12;break;case"month":s=an(this,i);break;case"quarter":s=an(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:de(s)},An.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vn:gn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=pn-mn(t+(this._isUTC?0:this.utcOffset()*hn),pn)-1;break;case"minute":t=this._d.valueOf(),t+=hn-mn(t,hn)-1;break;case"second":t=this._d.valueOf(),t+=dn-mn(t,dn)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},An.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=B(this,e);return this.localeData().postformat(t)},An.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Nt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},An.fromNow=function(e){return this.from(Nt(),e)},An.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Nt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},An.toNow=function(e){return this.to(Nt(),e)},An.get=function(e){return E(this[e=$(e)])?this[e]():this},An.invalidAt=function(){return f(this).overflow},An.isAfter=function(e,t){var n=_(e)?e:Nt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},An.isBefore=function(e,t){var n=_(e)?e:Nt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},An.isBetween=function(e,t,n,i){var r=_(e)?e:Nt(e),s=_(t)?t:Nt(t);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(s,n):!this.isAfter(s,n))},An.isSame=function(e,t){var n,i=_(e)?e:Nt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},An.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},An.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},An.isValid=function(){return m(this)},An.lang=cn,An.locale=ln,An.localeData=un,An.max=Bt,An.min=Rt,An.parsingFlags=function(){return h({},f(this))},An.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)o(e,t)&&n.push({unit:t,priority:H[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=j(e)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](e[i[n].unit])}else if(E(this[e=$(e)]))return this[e](t);return this},An.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vn:gn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mn(t+(this._isUTC?0:this.utcOffset()*hn),pn);break;case"minute":t=this._d.valueOf(),t-=mn(t,hn);break;case"second":t=this._d.valueOf(),t-=mn(t,dn)}return this._d.setTime(t),i.updateOffset(this,!0),this},An.subtract=rn,An.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},An.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},An.toDate=function(){return new Date(this.valueOf())},An.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 16,384 bytes, line 1
1,An.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(An[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),An.toJSON=function(){return this.isValid()?this.toISOString():null},An.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},An.unix=function(){return Math.floor(this.valueOf()/1e3)},An.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},An.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},An.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""},An.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""},An.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""},An.eraYear=function(){var e,t,n,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return(this.year()-i(s[e].since).year())*n+s[e].offset;return this.year()},An.year=Ae,An.isLeapYear=function(){return ve(this.year())},An.weekYear=function(e){return _n.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},An.isoWeekYear=function(e){return _n.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},An.quarter=An.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},An.month=je,An.daysInMonth=function(){return Pe(this.year(),this.month())},An.week=An.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},An.isoWeek=An.isoWeeks=function(e){var t=Ge(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},An.weeksInYear=function(){var e=this.localeData()._week;return Ze(this.year(),e.dow,e.doy)},An.weeksInWeekYear=function(){var e=this.localeData()._week;return Ze(this.weekYear(),e.dow,e.doy)},An.isoWeeksInYear=function(){return Ze(this.year(),1,4)},An.isoWeeksInISOWeekYear=function(){return Ze(this.isoWeekYear(),1,4)},An.date=kn,An.day=An.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=Me(this,"Day");return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},An.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},An.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},An.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},An.hour=An.hours=at,An.minute=An.minutes=Cn,An.second=An.seconds=En,An.millisecond=An.milliseconds=Tn,An.utcOffset=function(e,t,n){var r,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=qt(re,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Gt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==e&&(!t||this._changeInProgress?tn(this,Jt(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:Gt(this)},An.utc=function(e){return this.utcOffset(0,e)},An.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},An.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=qt(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},An.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Nt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},An.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},An.isLocal=function(){return!!this.isValid()&&!this._isUTC},An.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},An.isUtc=Zt,An.isUTC=Zt,An.zoneAbbr=function(){return this._isUTC?"UTC":""},An.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},An.dates=k("dates accessor is deprecated. Use date instead.",kn),An.months=k("months accessor is deprecated. Use month instead",je),An.years=k("years accessor is deprecated. Use year instead",Ae),An.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),An.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Pt(t))._a?(e=t._isUTC?p(t._a):Nt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&he(e[i])!==he(t[i]))&&o++;return o+s}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Mn=A.prototype;function On(e,t,n,i){var r=vt(),s=p().set(i,t);return r[n](s,e)}function Pn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return On(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=On(e,i,n,"month");return r}function Ln(e,t,n,i){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var r,s=vt(),o=e?s._week.dow:0,a=[];if(null!=n)return On(t,(n+o)%7,i,"day");for(r=0;r<7;r++)a[r]=On(t,(r+o)%7,i,"day");return a}Mn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return E(i)?i.call(t,n):i},Mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(M).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Mn.invalidDate=function(){return this._invalidDate},Mn.ordinal=function(e){return this._ordinal.replace("%d",e)},Mn.preparse=Dn,Mn.postformat=Dn,Mn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return E(r)?r(e,t,n,i):r.replace(/%d/i,e)},Mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)},Mn.set=function(e){var t,n;for(n in e)o(e,n)&&(E(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Mn.eras=function(e,t){var n,r,s,o=this._eras||vt("en")._eras;for(n=0,r=o.length;n<r;++n)switch("string"==typeof o[n].since&&(s=i(o[n].since).startOf("day"),o[n].since=s.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":s=i(o[n].until).startOf("day").valueOf(),o[n].until=s.valueOf()}return o},Mn.erasParse=function(e,t,n){var i,r,s,o,a,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(s=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(s===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if([s,o,a].indexOf(e)>=0)return l[i]},Mn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},Mn.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||bn.call(this),e?this._erasAbbrRegex:this._erasRegex},Mn.erasNameRegex=function(e){return o(this,"_erasNameRegex")||bn.call(this),e?this._erasNameRegex:this._erasRegex},Mn.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||bn.call(this),e?this._erasNarrowRegex:this._erasRegex},Mn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Re).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},Mn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Re.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Mn.monthsParse=function(e,t,n){var i,r,s;if(this._monthsParseExact)return Ve.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},Mn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Fe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Mn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Mn.week=function(e){return Ge(e,this._week.dow,this._week.doy).week},Mn.firstDayOfYear=function(){return this._week.doy},Mn.firstDayOfWeek=function(){return this._week.dow},Mn.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ye(n,this._week.dow):e?n[e.day()]:n},Mn.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Mn.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Mn.weekdaysParse=function(e,t,n){var i,r,s;if(this._weekdaysParseExact)return nt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},Mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=k("moment.lang is deprecated. Use moment.locale instead.",mt),i.langData=k("moment.langData is deprecated. Use moment.localeData instead.",vt);var Nn=Math.abs;function Rn(e,t,n,i){var r=Jt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Bn(e){return e<0?Math.floor(e):Math.ceil(e)}function Fn(e){return 4800*e/146097}function Vn(e){return 146097*e/4800}function $n(e){return function(){return this.as(e)}}var jn=$n("ms"),Hn=$n("s"),zn=$n("m"),Un=$n("h"),qn=$n("d"),Wn=$n("w"),Gn=$n("M"),Zn=$n("Q"),Yn=$n("y"),Kn=jn;function Jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Xn=Jn("milliseconds"),Qn=Jn("seconds"),ei=Jn("minutes"),ti=Jn("hours"),ni=Jn("days"),ii=Jn("months"),ri=Jn("years");var si=Math.round,oi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ai(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var li=Math.abs;function ci(e){return(e>0)-(e<0)||+e}function ui(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,s,o,a,l=li(this._milliseconds)/1e3,c=li(this._days),u=li(this._months),d=this.asSeconds();return d?(e=de(l/60),t=de(e/60),l%=60,e%=60,n=de(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=ci(this._months)!==ci(d)?"-":"",o=ci(this._days)!==ci(d)?"-":"",a=ci(this._milliseconds)!==ci(d)?"-":"",r+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+i+"S":"")):"P0D"}var di=$t.prototype;return di.isValid=function(){return this._isValid},di.abs=function(){var e=this._data;return this._milliseconds=Nn(this._milliseconds),this._days=Nn(this._days),this._months=Nn(this._months),e.milliseconds=Nn(e.milliseconds),e.seconds=Nn(e.seconds),e.minutes=Nn(e.minutes),e.hours=Nn(e.hours),e.months=Nn(e.months),e.years=Nn(e.years),this},di.add=function(e,t){return Rn(this,e,t,1)},di.subtract=function(e,t){return Rn(this,e,t,-1)},di.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Fn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Vn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},di.asMilliseconds=jn,di.asSeconds=Hn,di.asMinutes=zn,di.asHours=Un,di.asDays=qn,di.asWeeks=Wn,di.asMonths=Gn,di.asQuarters=Zn,di.asYears=Yn,di.valueOf=Kn,di._bubble=function(){var e,t,n,i,r,s=this._milliseconds,o=this._days,a=this._months,l=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Bn(Vn(a)+o),o=0,a=0),l.milliseconds=s%1e3,e=de(s/1e3),l.seconds=e%60,t=de(e/60),l.minutes=t%60,n=de(t/60),l.hours=n%24,o+=de(n/24),a+=r=de(Fn(o)),o-=Bn(Vn(r)),i=de(a/12),a%=12,l.days=o,l.months=a,l.year
1s=i,this},di.clone=function(){return Jt(this)},di.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},di.milliseconds=Xn,di.seconds=Qn,di.minutes=ei,di.hours=ti,di.days=ni,di.weeks=function(){return de(this.days()/7)},di.months=ii,di.years=ri,di.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=oi;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(s=Object.assign({},oi,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),i=function(e,t,n,i){var r=Jt(e).abs(),s=si(r.as("s")),o=si(r.as("m")),a=si(r.as("h")),l=si(r.as("d")),c=si(r.as("M")),u=si(r.as("w")),d=si(r.as("y")),h=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||o<=1&&["m"]||o<n.m&&["mm",o]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=i,ai.apply(null,h)}(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},di.toISOString=ui,di.toString=ui,di.toJSON=ui,di.locale=ln,di.localeData=un,di.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ui),di.lang=cn,N("X",0,0,"unix"),N("x",0,0,"valueOf"),le("x",ne),le("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),fe("x",function(e,t,n){n._d=new Date(he(e))}),i.version="2.30.1",t=Nt,i.fn=An,i.min=function(){return Ft("isBefore",[].slice.call(arguments,0))},i.max=function(){return Ft("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=p,i.unix=function(e){return Nt(1e3*e)},i.months=function(e,t){return Pn(e,t,"months")},i.isDate=u,i.locale=mt,i.invalid=g,i.duration=Jt,i.isMoment=_,i.weekdays=function(e,t,n){return Ln(e,t,n,"weekdays")},i.parseZone=function(){return Nt.apply(null,arguments).parseZone()},i.localeData=vt,i.isDuration=jt,i.monthsShort=function(e,t){return Pn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return Ln(e,t,n,"weekdaysMin")},i.defineLocale=gt,i.updateLocale=function(e,t){if(null!=t){var n,i,r=ct;null!=ut[e]&&null!=ut[e].parentLocale?ut[e].set(I(ut[e]._config,t)):(null!=(i=ft(e))&&(r=i._config),t=I(r,t),null==i&&(t.abbr=e),(n=new A(t)).parentLocale=ut[e],ut[e]=n),mt(e)}else null!=ut[e]&&(null!=ut[e].parentLocale?(ut[e]=ut[e].parentLocale,e===mt()&&mt(e)):null!=ut[e]&&delete ut[e]);return ut[e]},i.locales=function(){return C(ut)},i.weekdaysShort=function(e,t,n){return Ln(e,t,n,"weekdaysShort")},i.normalizeUnits=$,i.relativeTimeRounding=function(e){return void 0===e?si:"function"==typeof e&&(si=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==oi[e]&&(void 0===t?oi[e]:(oi[e]=t,"s"===e&&(oi.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=An,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},2556:function(e,t){var n;n=function(e){return e.default=function(e,t){"use strict";if(!e||isNaN(+t))return t;var n,i,r,s,o,a,l,c,u,d,h=e.length,p=e.search(/[0-9\-\+#]/),f=p>0?e.substring(0,p):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),v=h-g,y=v+("."===e.substring(v,v+1)?1:0),b=g>0?e.substring(y,h):"";if(n=(t="-"===(e=e.substring(p,y)).charAt(0)?-t:+t)<0?t=-t:0,r=(i=e.match(/[^\d\-\+#]/g))&&i[i.length-1]||".",s=i&&i[1]&&i[0]||",",e=e.split(r),t=+(t=t.toFixed(e[1]&&e[1].length))+"",a=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=a)&&(t=(+t).toFixed(a+1)),u=e[0].split(s),e[0]=u.join(""),(o=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-o;)c[0]="0"+c[0];else 0===+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],l=u[1]&&u[u.length-1].length){for(m="",v=(d=t[0]).length%l,h=d.length,y=0;y<h;y++)m+=d.charAt(y),!((y-v+1)%l)&&y<h-l&&(m+=s);t[0]=m}return t[1]=e[1]&&t[1]?r+t[1]:"","0"!==(i=t.join(""))&&""!==i||(n=!1),f+(n?"-":"")+i+b}}.apply(t,[t]),void 0===n||(e.exports=n)},6409:function(e,t,n){var i=n(4692);e.exports=function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r.apply(this,arguments)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(i=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,s=e}finally{try{i||null==a.return||a.return()}finally{if(r)throw s}}return n}}
vendor: 6,402 bytes, line 1
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var a=1,l={},c={attr:function(e,t,n){var i,r,s,o=new RegExp("^"+t,"i");if(void 0===n)n={};else for(i in n)n.hasOwnProperty(i)&&delete n[i];if(!e)return n;for(i=(s=e.attributes).length;i--;)(r=s[i])&&r.specified&&o.test(r.name)&&(n[this.camelize(r.name.slice(t.length))]=this.deserializeValue(r.value));return n},checkAttr:function(e,t,n){return e.hasAttribute(t+n)},setAttr:function(e,t,n,i){e.setAttribute(this.dasherize(t+n),String(i))},getType:function(e){return e.getAttribute("type")||"text"},generateID:function(){return""+a++},deserializeValue:function(e){var t;try{return e?"true"==e||"false"!=e&&("null"==e?null:isNaN(t=Number(e))?/^[\[\{]/.test(e)?JSON.parse(e):e:t):e}catch(t){return e}},camelize:function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},dasherize:function(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){var e;window.console&&"function"==typeof window.console.warn&&(e=window.console).warn.apply(e,arguments)},warnOnce:function(e){l[e]||(l[e]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){l={}},trimString:function(e){return e.replace(/^\s+|\s+$/g,"")},parse:{date:function(e){var t=e.match(/^(\d{4,})-(\d\d)-(\d\d)$/);if(!t)return null;var n=s(t.map(function(e){return parseInt(e,10)}),4),i=(n[0],n[1]),r=n[2],o=n[3],a=new Date(i,r-1,o);return a.getFullYear()!==i||a.getMonth()+1!==r||a.getDate()!==o?null:a},string:function(e){return e},integer:function(e){return isNaN(e)?null:parseInt(e,10)},number:function(e){if(isNaN(e))throw null;return parseFloat(e)},boolean:function(e){return!/^\s*false\s*$/i.test(e)},object:function(e){return c.deserializeValue(e)},regexp:function(e){var t="";return/^\/.*\/(?:[gimy]*)$/.test(e)?(t=e.replace(/.*\/([gimy]*)$/,"$1"),e=e.replace(new RegExp("^/(.*?)/"+t+"$"),"$1")):e="^"+e+"$",new RegExp(e,t)}},parseRequirement:function(e,t){var n=this.parse[e||"string"];if(!n)throw'Unknown requirement specification: "'+e+'"';var i=n(t);if(null===i)throw"Requirement is not a ".concat(e,': "').concat(t,'"');return i},namespaceEvents:function(t,n){return(t=this.trimString(t||"").split(/\s+/))[0]?e.map(t,function(e){return"".concat(e,".").concat(n)}).join(" "):""},difference:function(t,n){var i=[];return e.each(t,function(e,t){-1==n.indexOf(t)&&i.push(t)}),i},all:function(t){return e.when.apply(e,o(t).concat([42,42]))},objectCreate:Object.create||function(){var e=function(){};return function(n){if(arguments.length>1)throw Error("Second argument not supported");if("object"!=t(n))throw TypeError("Argument must be an object");e.prototype=n;var i=new e;return e.prototype=null,i}}(),_SubmitSelector:'input[type="submit"], button:submit'},u={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,triggerAfterFailure:"input",errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(e){},errorsContainer:function(e){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"},d=function(){this.__id__=c.generateID()};d.prototype={asyncSupport:!0,_pipeAccordingToValidationResult:function(){var t=this,n=function(){var n=e.Deferred();return!0!==t.validationResult&&n.reject(),n.resolve().promise()};return[n,n]},actualizeOptions:function(){return c.attr(this.element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(e){for(var t in this.domOptions=c.objectCreate(this.parent.options),this.options=c.objectCreate(this.domOptions),e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);this.actualizeOptions()},_listeners:null,on:function(e,t){return this._listeners=this._listeners||{},(this._listeners[e]=this._listeners[e]||[]).push(t),this},subscribe:function(t,n){e.listenTo(this,t.toLowerCase(),n)},off:function(e,t){var n=this._listeners&&this._listeners[e];if(n)if(t)for(var i=n.length;i--;)n[i]===t&&n.splice(i,1);else delete this._listeners[e];return this},unsubscribe:function(t,n){e.unsubscribeTo(this,t.toLowerCase())},trigger:function(e,t,n){t=t||this;var i,r=this._listeners&&this._listeners[e];if(r)for(var s=r.length;s--;)if(!1===(i=r[s].call(t,t,n)))return i;return!this.parent||this.parent.trigger(e,t,n)},asyncIsValid:function(e,t){return c.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:e,force:t})},_findRelated:function(){return this.options.multiple?e(this.parent.element.querySelectorAll("[".concat(this.options.namespace,'multiple="').concat(this.options.multiple,'"]'))):this.$element}};var h=function(t){e.extend(!0,this,t)};h.prototype={validate:function(e,t){if(this.fn)return arguments.length>3&&(t=[].slice.call(arguments,1,-1)),this.fn(e,t);if(Array.isArray(e)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}var n=arguments[arguments.length-1];if(this.validateDate&&n._isDateInput())return arguments[0]=c.parse.date(arguments[0]),null!==arguments[0]&&this.validateDate.apply(this,arguments);if(this.validateNumber)return!e||!isNaN(e)&&(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(t,n){if("string"!=typeof t)return Array.isArray(t)?t:[t];var i=this.requirementType;if(Array.isArray(i)){for(var r=function(e,t){var n=e.match(/^\s*\[(.*)\]\s*$/);if(!n)throw'Requirement is not an array: "'+e+'"';var i=n[1].split(",").map(c.trimString);if(i.length!==t)throw"Requirement has "+i.length+" values when "+t+" are needed";return i}(t,i.length),s=0;s<r.length;
1s++)r[s]=c.parseRequirement(i[s],r[s]);return r}return e.isPlainObject(i)?function(e,t,n){var i=null,r={};for(var s in e)if(s){var o=n(s);"string"==typeof o&&(o=c.parseRequirement(e[s],o)),r[s]=o}else i=c.parseRequirement(e[s],t);return[i,r]}(i,t,n):[c.parseRequirement(i,t)]},requirementType:"string",priority:2};var p=function(e,t){this.__class__="ValidatorRegistry",this.locale="en",this.init(e||{},t||{})},f={email:/^((([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))$/,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,date:{test:function(e){return null!==c.parse.date(e)}},url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-zA-Z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$")};f.range=f.number;var m=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},g=function(e,t){return function(n){for(var i=arguments.length,r=new Array(i>1?i-1:0),s=1;s<i;s++)r[s-1]=arguments[s];return r.pop(),t.apply(void 0,[n].concat(o(function(e,t){return t.map(c.parse[e])}(e,r))))}},v=function(e){return{validateDate:g("date",e),validateNumber:g("number",e),requirementType:e.length<=2?"string":["string","string"],priority:30}};p.prototype={init:function(e,t){for(var n in this.catalog=t,this.validators=r({},this.validators),e)this.addValidator(n,e[n].fn,e[n].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(e){if(void 0===this.catalog[e])throw new Error(e+" is not available in the catalog");return this.locale=e,this},addCatalog:function(e,n,i){return"object"===t(n)&&(this.catalog[e]=n),!0===i?this.setLocale(e):this},addMessage:function(e,t,n){return void 0===this.catalog[e]&&(this.catalog[e]={}),this.catalog[e][t]=n,this},addMessages:function(e,t){for(var n in t)this.addMessage(e,n,t[n]);return this},addValidator:function(e,t,n){if(this.validators[e])c.warn('Validator "'+e+'" is already defined.');else if(u.hasOwnProperty(e))return void c.warn('"'+e+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)},hasValidator:function(e){return!!this.validators[e]},updateValidator:function(e,t,n){return this.validators[e]?this._setValidator.apply(this,arguments):(c.warn('Validator "'+e+'" is not already defined.'),this.addValidator.apply(this,arguments))},removeValidator:function(e){return this.validators[e]||c.warn('Validator "'+e+'" is not defined.'),delete this.validators[e],this},_setValidator:function(e,n,i){for(var r in"object"!==t(n)&&(n={fn:n,priority:i}),n.validate||(n=new h(n)),this.validators[e]=n,n.messages||{})this.addMessage(r,e,n.messages[r]);return this},getErrorMessage:function(e){return("type"===e.name?(this.catalog[this.locale][e.name]||{})[e.requirements]:this.formatMessage(this.catalog[this.locale][e.name],e.requirements))||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(e,n){if("object"===t(n)){for(var i in n)e=this.formatMessage(e,n[i]);return e}return"string"==typeof e?e.replace(/%s/i,n):""},validators:{notblank:{validateString:function(e){return/\S/.test(e)},priority:2},required:{validateMultiple:function(e){return e.length>0},validateString:function(e){return/\S/.test(e)},priority:512},type:{validateString:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.step,r=void 0===i?"any":i,s=n.base,o=void 0===s?0:s,a=f[t];if(!a)throw new Error("validator type `"+t+"` is not supported");if(!e)return!0;
vendor: 26,669 bytes, line 1
1if(!a.test(e))return!1;if("number"===t&&!/^any$/i.test(r||"")){var l=Number(e),c=Math.max(m(r),m(o));if(m(l)>c)return!1;var u=function(e){return Math.round(e*Math.pow(10,c))};if((u(l)-u(o))%u(r)!=0)return!1}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function(e,t){return!e||t.test(e)},requirementType:"regexp",priority:64},minlength:{validateString:function(e,t){return!e||e.length>=t},requirementType:"integer",priority:30},maxlength:{validateString:function(e,t){return e.length<=t},requirementType:"integer",priority:30},length:{validateString:function(e,t,n){return!e||e.length>=t&&e.length<=n},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(e,t){return e.length>=t},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(e,t){return e.length<=t},requirementType:"integer",priority:30},check:{validateMultiple:function(e,t,n){return e.length>=t&&e.length<=n},requirementType:["integer","integer"],priority:30},min:v(function(e,t){return e>=t}),max:v(function(e,t){return e<=t}),range:v(function(e,t,n){return e>=t&&e<=n}),equalto:{validateString:function(t,n){if(!t)return!0;var i=e(n);return i.length?t===i.val():t===n},priority:256},euvatin:{validateString:function(e,t){return!e||/^[A-Z][A-Z][A-Za-z0-9 -]{2,}$/.test(e)},priority:30}}};var y={},b=function e(t,n,i){for(var r=[],s=[],o=0;o<t.length;o++){for(var a=!1,l=0;l<n.length;l++)if(t[o].assert.name===n[l].assert.name){a=!0;break}a?s.push(t[o]):r.push(t[o])}return{kept:s,added:r,removed:i?[]:e(n,t,!0).added}};y.Form={_actualizeTriggers:function(){var e=this;this.$element.on("submit.Parsley",function(t){e.onSubmitValidate(t)}),this.$element.on("click.Parsley",c._SubmitSelector,function(t){e.onSubmitButton(t)}),!1!==this.options.uiEnabled&&this.element.setAttribute("novalidate","")},focus:function(){if(this._focusedField=null,!0===this.validationResult||"none"===this.options.focus)return null;for(var e=0;e<this.fields.length;e++){var t=this.fields[e];if(!0!==t.validationResult&&t.validationResult.length>0&&void 0===t.options.noFocus&&(this._focusedField=t.$element,"first"===this.options.focus))break}return null===this._focusedField?null:this._focusedField.focus()},_destroyUI:function(){this.$element.off(".Parsley")}},y.Field={_reflowUI:function(){if(this._buildUI(),this._ui){var e=b(this.validationResult,this._ui.lastValidationResult);this._ui.lastValidationResult=this.validationResult,this._manageStatusClass(),this._manageErrorsMessages(e),this._actualizeTriggers(),!e.kept.length&&!e.added.length||this._failedOnce||(this._failedOnce=!0,this._actualizeTriggers())}},getErrorsMessages:function(){if(!0===this.validationResult)return[];for(var e=[],t=0;t<this.validationResult.length;t++)e.push(this.validationResult[t].errorMessage||this._getErrorMessage(this.validationResult[t].assert));return e},addError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.message,i=t.assert,r=t.updateClass,s=void 0===r||r;this._buildUI(),this._addError(e,{message:n,assert:i}),s&&this._errorClass()},updateError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.message,i=t.assert,r=t.updateClass,s=void 0===r||r;this._buildUI(),this._updateError(e,{message:n,assert:i}),s&&this._errorClass()},removeError:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).updateClass,n=void 0===t||t;this._buildUI(),this._removeError(e),n&&this._manageStatusClass()},_manageStatusClass:function(){this.hasConstraints()&&this.needsValidation()&&!0===this.validationResult?this._successClass():this.validationResult.length>0?this._errorClass():this._resetClass()},_manageErrorsMessages:function(t){if(void 0===this.options.errorsMessagesDisabled){if(void 0!==this.options.errorMessage)return t.added.length||t.kept.length?(this._insertErrorWrapper(),0===this._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&this._ui.$errorsWrapper.append(e(this.options.errorTemplate).addClass("parsley-custom-error-message")),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").find(".parsley-custom-error-message").html(this.options.errorMessage)):(this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-custom-error-message").remove());for(var n=0;n<t.removed.length;n++)this._removeError(t.removed[n].assert.name);for(n=0;n<t.added.length;n++)this._addError(t.added[n].assert.name,{message:t.added[n].errorMessage,assert:t.added[n].assert});for(n=0;n<t.kept.length;n++)this._updateError(t.kept[n].assert.name,{message:t.kept[n].errorMessage,assert:t.kept[n].assert})}},_addError:function(t,n){var i=n.message,r=n.assert;this._insertErrorWrapper(),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").append(e(this.options.errorTemplate).addClass("parsley-"+t).html(i||this._getErrorMessage(r)))},_updateError:function(e,t){var n=t.message,i=t.assert;this._ui.$errorsWrapper.addClass("filled").find(".parsley-"+e).html(n||this._getErrorMessage(i))},_removeError:function(e){this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-"+e).remove()},_getErrorMessage:function(e){var t=e.name+"Message";return void 0!==this.options[t]?window.Parsley.formatMessage(this.options[t],e.requirements):window.Parsley.getErrorMessage(e)},_buildUI:function(){if(!this._ui&&!1!==this.options.uiEnabled){var t={};this.element.setAttribute(this.options.namespace+"id",this.__id__),t.$errorClassHandler=this._manageClassHandler(),t.errorsWrapperId="parsley-id-"+(this.options.multiple?"multiple-"+this.options.multiple:this.__id__),t.$errorsWrapper=e(this.options.errorsWrapper).attr("id",t.errorsWrapperId),t.lastValidationResult=[],t.validationInformationVisible=!1,this._ui=t}},_manageClassHandler:function(){if("string"==typeof this.options.classHandler&&e(this.options.classHandler).length)return e(this.options.classHandler);var n=this.options.classHandler;if("string"==typeof this.options.classHandler&&"function"==typeof window[this.options.classHandler]&&(n=window[this.options.classHandler]),"function"==typeof n){var r=n.call(this,this);if(void 0!==r&&r.length)return r}else{if("object"===t(n)&&n instanceof i&&n.length)return n;n&&c.warn("The class handler `"+n+"` does not exist in DOM nor as a global JS function")}return this._inputHolder()},_inputHolder:function(){return this.options.multiple&&"SELECT"!==this.element.nodeName?this.$element.parent():this.$element},_insertErrorWrapper:function(){var n=this.options.errorsContainer;if(0!==this._ui.$errorsWrapper.parent().length)return this._ui.$errorsWrapper.parent();if("string"==typeof n){if(e(n).length)return e(n).append(this._ui.$errorsWrapper);"function"==typeof window[n]?n=window[n]:c.warn("The errors container `"+n+"` does not exist in DOM nor as a global JS function")}return"function"==typeof n&&(n=n.call(this,this)),"object"===t(n)&&n.length?n.append(this._ui.$errorsWrapper):this._inputHolder().after(this._ui.$errorsWrapper)},_actualizeTriggers:function(){var e,t=this,n=this._findRelated();n.off(".Parsley"),this._failedOnce?n.on(c.namespaceEvents(this.options.triggerAfterFailure,"Parsley"),function(){t._validateIfNeeded()}):(e=c.namespaceEvents(this.options.trigger,"Parsley"))&&n.on(e,function(e){t._validateIfNeeded(e)})},_validateIfNeeded:function(e){var t=this;e&&/key|input/.test(e.type)&&(!this._ui||!this._ui.validationInformationVisible)&&this.getValue().length<=this.options.validationThreshold||(this.options.debounce?(window.clearTimeout(this._debounced),this._debounced=window.setTimeout(function(){return t.validate()},this.options.debounce)):this.validate())},_resetUI:function(){this._failedOnce=!1,this._actualizeTriggers(),void 0!==this._ui&&(this._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(),this._ui.lastValidationResult=[],this._ui.validationInformationVisible=!1)},_destroyUI:function(){this._resetUI(),void 0!==this._ui&&this._ui.$errorsWrapper.remove(),delete this._ui},_successClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass)},_errorClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass)},_resetClass:function(){this._ui.$errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass)}};var w=function(t,n,i){this.__class__="Form",this.element=t,this.$element=e(t),this.domOptions=n,this.options=i,this.parent=window.Parsley,this.fields=[],this.validationResult=null},_={pending:null,resolved:!0,rejected:!1};w.prototype={onSubmitValidate:function(e){var t=this;if(!0!==e.parsley){var n=this._submitSource||this.$element.find(c._SubmitSelector)[0];if(this._submitSource=null,this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!0),!n||null===n.getAttribute("formnovalidate")){window.Parsley._remoteCache={};var i=this.whenValidate({event:e});"resolved"===i.state()&&!1!==this._trigger("submit")||(e.stopImmediatePropagation(),e.preventDefault(),"pending"===i.state()&&i.done(function(){t._submit(n)}))}}},onSubmitButton:function(e){this._submitSource=e.currentTarget},_submit:function(t){if(!1!==this._trigger("submit")){if(t){var n=this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!1);0===n.length&&(n=e('<input class="parsley-synthetic-submit-button" type="hidden">').appendTo(this.$element)),n.attr({name:t.getAttribute("name"),value:t.getAttribute("value")})}this.$element.trigger(r(e.Event("submit"),{parsley:!0}))}},validate:function(t){if(arguments.length>=1&&!e.isPlainObject(t)){c.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated.");var n=Array.prototype.slice.call(arguments);t={group:n[0],force:n[1],event:n[2]}}return _[this.whenValidate(t).state()]},whenValidate:function(){var t,n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=i.group,a=i.force,l=i.event;this.submitEvent=l,l&&(this.submitEvent=r({},l,{preventDefault:function(){c.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),n.validationResult=!1}})),this.validationResult=!0,this._trigger("validate"),this._refreshFields();var u=this._withoutReactualizingFormOptions(function(){return e.map(n.fields,function(e){return e.whenValidate({force:a,group:s})})});return(t=c.all(u).done(function(){n._trigger("success")}).fail(function(){n.validationResult=!1,n.focus(),n._trigger("error")}).always(function(){n._trigger("validated")})).pipe.apply(t,o(this._pipeAccordingToValidationResult()))},isValid:function(t){if(arguments.length>=1&&!e.isPlainObject(t)){c.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated.");var n=Array.prototype.slice.call(arguments);t={group:n[0],force:n[1]}}return _[this.whenValid(t).state()]},whenValid:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.group,r=n.force;this._refreshFields();var s=this._withoutReactualizingFormOptions(function(){return e.map(t.fields,function(e){return e.whenValid({group:i,force:r})})});return c.all(s)},refresh:function(){return this._refreshFields(),this},reset:function(){for(var e=0;e<this.fields.length;e++)this.fields[e].reset();this._trigger("reset")},destroy:function(){this._destroyUI();for(var e=0;e<this.fields.length;e++)this.fields[e].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var t=this,n=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){t.$element.find(t.options.inputs).not(t.options.excluded).not("[".concat(t.options.namespace,"excluded=true]")).each(function(e,n){var i=new window.Parsley.Factory(n,{},t);if("Field"===i.__class__||"FieldMultiple"===i.__class__){var r=i.__class__+"-"+i.__id__;void 0===t.fieldsMappedById[r]&&(t.fieldsMappedById[r]=i,t.fields.push(i))}}),e.each(c.difference(n,t.fields),function(e,t){t.reset()})}),this},_withoutReactualizingFormOptions:function(e){var t=this.actualizeOptions;this.actualizeOptions=function(){return this};var n=e();return this.actualizeOptions=t,n},_trigger:function(e){return this.trigger("form:"+e)}};var x=function(e,t,n,i,s){var o=window.Parsley._validatorRegistry.validators[t],a=new h(o);r(this,{validator:a,name:t,requirements:n,priority:i=i||e.options[t+"Priority"]||a.priority,isDomConstraint:s=!0===s}),this._parseRequirements(e.options)};x.prototype={validate:function(e,t){var n;return(n=this.validator).validate.apply(n,[e].concat(o(this.requirementList),[t]))},_parseRequirements:function(e){var t=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(n){return e[t.name+(i=n,i[0].toUpperCase()+i.slice(1))];var i})}};var k=function(t,n,i,r){this.__class__="Field",this.element=t,this.$element=e(t),void 0!==r&&(this.parent=r),this.options=i,this.domOptions=n,this.constraints=[],this.constraintsByName={},this.validationResult=!0,this._bindConstraints()},C={pending:null,resolved:!0,rejected:!1};k.prototype={validate:function(t){arguments.length>=1&&!e.isPlainObject(t)&&(c.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),t={options:t});var n=this.whenValidate(t);if(!n)return!0;switch(n.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.force,r=n.group;if(this.refresh(),!r||this._isInGroup(r))return this.value=this.getValue(),this._trigger("validate"),(e=this.whenValid({force:i,value:this.value,_refreshed:!0}).always(function(){t._reflowUI()}).done(function(){t._trigger("success")}).fail(function(){t._trigger("error")}).always(function(){t._trigger("validated")})).pipe.apply(e,o(this._pipeAccordingToValidationResult()))},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(e){return void 0===e&&(e=this.getValue()),!(!e.length&&!this._isRequired()&&void 0===this.options.validateIfEmpty)},_isInGroup:function(t){return Array.isArray(this.options.group)?-1!==e.inArray(t,this.options.group):this.options.group===t},isValid:function(t){if(arguments.length>=1&&!e.isPlainObject(t)){c.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated.");var n=Array.prototype.slice.call(arguments);t={force:n[0],value:n[1]}}var i=this.whenValid(t);return!i||C[i.state()]},whenValid:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.force,r=void 0!==i&&i,s=n.value,o=n.group;if(n._refreshed||this.refresh(),!o||this._isInGroup(o)){if(this.validationResult=!0,!this.hasConstraints())return e.when();if(null==s&&(s=this.getValue()),!this.needsValidation(s)&&!0!==r)return e.when();var a=this._getGroupedConstraints(),l=[];return e.each(a,function(n,i){var r=c.all(e.map(i,function(e){return t._validateConstraint(s,e)}));if(l.push(r),"rejected"===r.state())return!1}),c.all(l)}},_validateConstraint:function(t,n){var i=this,r=n.validate(t,this);return!1===r&&(r=e.Deferred().reject()),c.all([r]).fail(function(e){i.validationResult instanceof Array||(i.validationResult=[]),i.validationResult.push({assert:n,errorMessage:"string"==typeof e&&e})})},getValue:function(){var e;return null==(e="function"==typeof this.options.value?this.options.value(this):void 0!==this.options.value?this.options.value:this.$element.val())?"":this._handleWhitespace(e)},reset:function(){return this._resetUI(),this._trigger("reset")},destroy:function(){this._destroyUI(),this.$element.removeData("Parsley"),this.$element.removeData("FieldMultiple"),this._trigger("destroy")},refresh:function(){return this._refreshConstraints(),this},_refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},refreshConstraints:function(){return c.warnOnce("Parsley's refreshConstraints is deprecated. Please use refresh"),this.refresh()},addConstraint:function(e,t,n,i){if(window.Parsley._validatorRegistry.validators[e]){var r=new x(this,e,t,n,i);"undefined"!==this.constraintsByName[r.name]&&this.removeConstraint(r.name),this.constraints.push(r),this.constraintsByName[r.name]=r}return this},removeConstraint:function(e){for(var t=0;t<this.constraints.length;t++)if(e===this.constraints[t].name){this.constraints.splice(t,1);break}return delete this.constraintsByName[e],this},updateConstraint:function(e,t,n){return this.removeConstraint(e).addConstraint(e,t,n)},_bindConstraints:function(){for(var e=[],t={},n=0;n<this.constraints.length;n++)!1===this.constraints[n].isDomConstraint&&(e.push(this.constraints[n]),t[this.constraints[n].name]=this.constraints[n]);for(var i in this.constraints=e,this.constraintsByName=t,this.options)this.addConstraint(i,this.options[i],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){null!==this.element.getAttribute("required")&&this.addConstraint("required",!0,void 0,!0),null!==this.element.getAttribute("pattern")&&this.addConstraint("pattern",this.element.getAttribute("pattern"),void 0,!0);var e=this.element.getAttribute("min"),t=this.element.getAttribute("max");null!==e&&null!==t?this.addConstraint("range",[e,t],void 0,!0):null!==e?this.addConstraint("min",e,void 0,!0):null!==t&&this.addConstraint("max",t,void 0,!0),null!==this.element.getAttribute("minlength")&&null!==this.element.getAttribute("maxlength")?this.addConstraint("length",[this.element.getAttribute("minlength"),this.element.getAttribute("maxlength")],void 0,!0):null!==this.element.getAttribute("minlength")?this.addConstraint("minlength",this.element.getAttribute("minlength"),void 0,!0):null!==this.element.getAttribute("maxlength")&&this.addConstraint("maxlength",this.element.getAttribute("maxlength"),void 0,!0);var n=c.getType(this.element);return"number"===n?this.addConstraint("type",["number",{step:this.element.getAttribute("step")||"1",base:e||this.element.getAttribute("value")}],void 0,!0):/^(email|url|range|date)$/i.test(n)?this.addConstraint("type",n,void 0,!0):this},_isRequired:function(){return void 0!==this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function(e){return this.trigger("field:"+e)},_handleWhitespace:function(e){return!0===this.options.trimValue&&c.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(e=e.replace(/\s{2,}/g," ")),"trim"!==this.options.whitespace&&"squish"!==this.options.whitespace&&!0!==this.options.trimValue||(e=c.trimString(e)),e},_isDateInput:function(){var e=this.constraintsByName.type;return e&&"date"===e.requirements},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var e=[],t={},n=0;n<this.constraints.length;n++){var i=this.constraints[n].priority;t[i]||e.push(t[i]=[]),t[i].push(this.constraints[n])}return e.sort(function(e,t){return t[0].priority-e[0].priority}),e}};var S=function(){this.__class__="FieldMultiple"};S.prototype={addElement:function(e){return this.$elements.push(e),this},_refreshConstraints:function(){var t;if(this.constraints=[],"SELECT"===this.element.nodeName)return this.actualizeOptions()._bindConstraints(),this;for(var n=0;n<this.$elements.length;n++)if(e("html").has(this.$elements[n]).length){t=this.$elements[n].data("FieldMultiple")._refreshConstraints().constraints;for(var i=0;i<t.length;i++)this.addConstraint(t[i].name,t[i].requirements,t[i].priority,t[i].isDomConstraint)}else this.$elements.splice(n,1);return this},getValue:function(){if("function"==typeof this.options.value)return this.options.value(this);if(void 0!==this.options.value)return this.options.value;if("INPUT"===this.element.nodeName){var t=c.getType(this.element);if("radio"===t)return this._findRelated().filter(":checked").val()||"";if("checkbox"===t){var n=[];return this._findRelated().filter(":checked").each(function(){n.push(e(this).val())}),n}}return"SELECT"===this.element.nodeName&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}};var T=function(n,i,s){this.element=n,this.$element=e(n);var o=this.$element.data("Parsley");if(o)return void 0!==s&&o.parent===window.Parsley&&(o.parent=s,o._resetOptions(o.options)),"object"===t(i)&&r(o.options,i),o;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if(void 0!==s&&"Form"!==s.__class__)throw new Error("Parent instance must be a Form instance");return this.parent=s||window.Parsley,this.init(i)};T.prototype={init:function(e){return this.__class__="Parsley",this.__version__="2.9.2",this.__id__=c.generateID(),this._resetOptions(e),"FORM"===this.element.nodeName||c.checkAttr(this.element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){var e=c.getType(this.element);return"radio"===e||"checkbox"===e||"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple")},handleMultiple:function(){var t,n,i=this;if(this.options.multiple=this.options.multiple||(t=this.element.getAttribute("name"))||this.element.getAttribute("id"),"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return c.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),t&&e('input[name="'+t+'"]').each(function(e,t){var n=c.getType(t);"radio"!==n&&"checkbox"!==n||t.setAttribute(i.options.namespace+"multiple",i.options.multiple)});for(var r=this._findRelated(),s=0;s<r.length;s++)if(void 0!==(n=e(r.get(s)).data("Parsley"))){this.$element.data("FieldMultiple")||n.addElement(this.$element);break}return this.bind("parsleyField",!0),n||this.bind("parsleyFieldMultiple")},bind:function(t,n){var i;switch(t){case"parsleyForm":i=e.extend(new w(this.element,this.domOptions,this.options),new d,window.ParsleyExtend)._bindFields();break;case"parsleyField":i=e.extend(new k(this.element,this.domOptions,this.options,this.parent),new d,window.ParsleyExtend);break;case"parsleyFieldMultiple":i=e.extend(new k(this.element,this.domOptions,this.options,this.parent),new S,new d,window.ParsleyExtend)._init();break;default:throw new Error(t+"is not a supported Parsley type")}return this.options.multiple&&c.setAttr(this.element,this.options.namespace,"multiple",this.options.multiple),void 0!==n?(this.$element.data("FieldMultiple",i),i):(this.$element.data("Parsley",i),i._actualizeTriggers(),i._trigger("init"),i)}};var E=e.fn.jquery.split(".");if(parseInt(E[0])<=1&&parseInt(E[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";E.forEach||c.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var I=r(new d,{element:document,$element:e(document),actualizeOptions:null,_resetOptions:null,Factory:T,version:"2.9.2"});r(k.prototype,y.Field,d.prototype),r(w.prototype,y.Form,d.prototype),r(T.prototype,d.prototype),e.fn.parsley=e.fn.psly=function(t){if(this.length>1){var n=[];return this.each(function(){n.push(e(this).parsley(t))}),n}if(0!=this.length)return new T(this[0],t)},void 0===window.ParsleyExtend&&(window.ParsleyExtend={}),I.options=r(c.objectCreate(u),window.ParsleyConfig),window.ParsleyConfig=I.options,window.Parsley=window.psly=I,I.Utils=c,window.ParsleyUtils={},e.each(c,function(e,t){"function"==typeof t&&(window.ParsleyUtils[e]=function(){return c.warnOnce("Accessing `window.ParsleyUtils` is deprecated. Use `window.Parsley.Utils` instead."),c[e].apply(c,arguments)})});var A=window.Parsley._validatorRegistry=new p(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},e.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateValidator removeValidator hasValidator".split(" "),function(e,t){window.Parsley[t]=function(){return A[t].apply(A,arguments)},window.ParsleyValidator[t]=function(){var e;return c.warnOnce("Accessing the method '".concat(t,"' through Validator is deprecated. Simply call 'window.Parsley.").concat(t,"(...)'")),(e=window.Parsley)[t].apply(e,arguments)}}),window.Parsley.UI=y,window.ParsleyUI={removeError:function(e,t,n){var i=!0!==n;return c.warnOnce("Accessing UI is deprecated. Call 'removeError' on the instance directly. Please comment in issue 1073 as to your need to call this method."),e.removeError(t,{updateClass:i})},getErrorsMessages:function(e){return c.warnOnce("Accessing UI is deprecated. Call 'getErrorsMessages' on the instance directly."),e.getErrorsMessages()}},e.each("addError updateError".split(" "),function(e,t){window.ParsleyUI[t]=function(e,n,i,r,s){var o=!0!==s;return c.warnOnce("Accessing UI is deprecated. Call '".concat(t,"' on the instance directly. Please comment in issue 1073 as to your need to call this method.")),e[t](n,{message:i,assert:r,updateClass:o})}}),!1!==window.ParsleyConfig.autoBind&&e(function(){e("[data-parsley-validate]").length&&e("[data-parsley-validate]").parsley()});var D=e({}),M=function(){c.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")};function O(e,t){return e.parsleyAdaptedCallback||(e.parsleyAdaptedCallback=function(){var n=Array.prototype.slice.call(arguments,0);n.unshift(this),e.apply(t||D,n)}),e.parsleyAdaptedCallback}var P="parsley:";function L(e){return 0===e.lastIndexOf(P,0)?e.substr(8):e}return e.listen=function(e,n){var i;if(M(),"object"===t(arguments[1])&&"function"==typeof arguments[2]&&(i=arguments[1],n=arguments[2]),"function"!=typeof n)throw new Error("Wrong parameters");window.Parsley.on(L(e),O(n,i))},e.listenTo=function(e,t,n){if(M(),!(e instanceof k||e instanceof w))throw new Error("Mu
1st give Parsley instance");if("string"!=typeof t||"function"!=typeof n)throw new Error("Wrong parameters");e.on(L(t),O(n))},e.unsubscribe=function(e,t){if(M(),"string"!=typeof e||"function"!=typeof t)throw new Error("Wrong arguments");window.Parsley.off(L(e),t.parsleyAdaptedCallback)},e.unsubscribeTo=function(e,t){if(M(),!(e instanceof k||e instanceof w))throw new Error("Must give Parsley instance");e.off(L(t))},e.unsubscribeAll=function(t){M(),window.Parsley.off(L(t)),e("form,input,textarea,select").each(function(){var n=e(this).data("Parsley");n&&n.off(L(t))})},e.emit=function(e,t){var n;M();var i=t instanceof k||t instanceof w,r=Array.prototype.slice.call(arguments,i?2:1);r.unshift(L(e)),i||(t=window.Parsley),(n=t).trigger.apply(n,o(r))},e.extend(!0,I,{asyncValidators:{default:{fn:function(e){return e.status>=200&&e.status<300},url:!1},reverse:{fn:function(e){return e.status<200||e.status>=300},url:!1}},addAsyncValidator:function(e,t,n,i){return I.asyncValidators[e]={fn:t,url:n||!1,options:i||{}},this}}),I.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(t,n,i,r){var s,o,a={},l=i.validator||(!0===i.reverse?"reverse":"default");if(void 0===I.asyncValidators[l])throw new Error("Calling an undefined async validator: `"+l+"`");(n=I.asyncValidators[l].url||n).indexOf("{value}")>-1?n=n.replace("{value}",encodeURIComponent(t)):a[r.element.getAttribute("name")||r.element.getAttribute("id")]=t;var c=e.extend(!0,i.options||{},I.asyncValidators[l].options);s=e.extend(!0,{},{url:n,data:a,type:"GET"},c),r.trigger("field:ajaxoptions",r,s),o=e.param(s),void 0===I._remoteCache&&(I._remoteCache={});var u=I._remoteCache[o]=I._remoteCache[o]||e.ajax(s),d=function(){var t=I.asyncValidators[l].fn.call(r,u,n,i);return t||(t=e.Deferred().reject()),e.when(t)};return u.then(d,d)},priority:-1}),I.on("form:submit",function(){I._remoteCache={}}),d.prototype.addAsyncValidator=function(){return c.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),I.addAsyncValidator.apply(I,arguments)},I.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same.",euvatin:"It's not a valid VAT Identification Number."}),I.setLocale("en"),(new function(){var t=this,i=window||n.g;r(this,{isNativeEvent:function(e){return e.originalEvent&&!1!==e.originalEvent.isTrusted},fakeInputEvent:function(n){t.isNativeEvent(n)&&e(n.target).trigger("input")},misbehaves:function(n){t.isNativeEvent(n)&&(t.behavesOk(n),e(document).on("change.inputevent",n.data.selector,t.fakeInputEvent),t.fakeInputEvent(n))},behavesOk:function(n){t.isNativeEvent(n)&&e(document).off("input.inputevent",n.data.selector,t.behavesOk).off("change.inputevent",n.data.selector,t.misbehaves)},install:function(){if(!i.inputEventPatched){i.inputEventPatched="0.0.3";for(var n=0,r=["select",'input[type="checkbox"]','input[type="radio"]','input[type="file"]'];n<r.length;n++){var s=r[n];e(document).on("input.inputevent",s,{selector:s},t.behavesOk).on("change.inputevent",s,{selector:s},t.misbehaves)}}},uninstall:function(){delete i.inputEventPatched,e(document).off(".inputevent")}})}).install(),I}(n(4692))},550:function(e,t,n){var i;!function(e){var t,n,i,r,s,o,a,l=navigator.userAgent;e.HTMLPictureElement&&/ecko/.test(l)&&l.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(n=document.createElement("source"),i=function(e){var t,i,r=e.parentNode;
1"PICTURE"===r.nodeName.toUpperCase()?(t=n.cloneNode(),r.insertBefore(t,r.firstElementChild),setTimeout(function(){r.removeChild(t)})):(!e._pfLastSize||e.offsetWidth>e._pfLastSize)&&(e._pfLastSize=e.offsetWidth,i=e.sizes,e.sizes+=",100vw",setTimeout(function(){e.sizes=i}))},r=function(){var e,t=document.querySelectorAll("picture > img, img[srcset][sizes]");for(e=0;e<t.length;e++)i(t[e])},s=function(){clearTimeout(t),t=setTimeout(r,99)},o=e.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){s(),o&&o.addListener&&o.addListener(s)},n.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),s))}(window),function(r,s,o){"use strict";var a,l,c;s.createElement("picture");var u={},d=!1,h=function(){},p=s.createElement("img"),f=p.getAttribute,m=p.setAttribute,g=p.removeAttribute,v=s.documentElement,y={},b={algorithm:""},w="data-pfsrc",_=w+"set",x=navigator.userAgent,k=/rident/.test(x)||/ecko/.test(x)&&x.match(/rv\:(\d+)/)&&RegExp.$1>35,C="currentSrc",S=/\s+\+?\d+(e\d+)?w/,T=/(\([^)]+\))?\s*(.+)/,E=r.picturefillCFG,I="font-size:100%!important;",A=!0,D={},M={},O=r.devicePixelRatio,P={px:1,in:96},L=s.createElement("a"),N=!1,R=/^[ \t\n\r\u000c]+/,B=/^[, \t\n\r\u000c]+/,F=/^[^ \t\n\r\u000c]+/,V=/[,]+$/,$=/^\d+$/,j=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,H=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i||!1):e.attachEvent&&e.attachEvent("on"+t,n)},z=function(e){var t={};return function(n){return n in t||(t[n]=e(n)),t[n]}};function U(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}var q,W,G,Z,Y,K,J,X,Q,ee,te,ne,ie,re,se,oe=(q=/^([\d\.]+)(em|vw|px)$/,W=z(function(e){return"return "+function(){for(var e=arguments,t=0,n=e[0];++t in e;)n=n.replace(e[t],e[++t]);return n}((e||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"}),function(e,t){var n;if(!(e in D))if(D[e]=!1,t&&(n=e.match(q)))D[e]=n[1]*P[n[2]];else try{D[e]=new Function("e",W(e))(P)}catch(e){}return D[e]}),ae=function(e,t){return e.w?(e.cWidth=u.calcListLength(t||"100vw"),e.res=e.w/e.cWidth):e.res=e.d,e},le=function(e){if(d){var t,n,i,r=e||{};if(r.elements&&1===r.elements.nodeType&&("IMG"===r.elements.nodeName.toUpperCase()?r.elements=[r.elements]:(r.context=r.elements,r.elements=null)),i=(t=r.elements||u.qsa(r.context||s,r.reevaluate||r.reselect?u.sel:u.selShort)).length){for(u.setupRun(r),N=!0,n=0;n<i;n++)u.fillImg(t[n],r);u.teardownRun(r)}}};function ce(e,t,n,i){var r,s,o;return"saveData"===b.algorithm?e>2.7?o=n+1:(s=(t-n)*(r=Math.pow(e-.6,1.5)),i&&(s+=.1*r),o=e+s):o=n>1?Math.sqrt(e*t):e,o>n}function ue(e,t){return e.res-t.res}function de(e,t){var n,i,r;if(e&&t)for(r=u.parseSet(t),e=u.makeUrl(e),n=0;n<r.length;n++)if(e===u.makeUrl(r[n].url)){i=r[n];break}return i}r.console&&console.warn,C in p||(C="src"),y["image/jpeg"]=!0,y["image/gif"]=!0,y["image/png"]=!0,y["image/svg+xml"]=s.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),u.ns=("pf"+(new Date).getTime()).substr(0,9),u.supSrcset="srcset"in p,u.supSizes="sizes"in p,u.supPicture=!!r.HTMLPictureElement,u.supSrcset&&u.supPicture&&!u.supSizes&&(G=s.createElement("img"),p.srcset="data:,a",G.src="data:,a",u.supSrcset=p.complete===G.complete,u.supPicture=u.supSrcset&&u.supPicture),u.supSrcset&&!u.supSizes?(Z="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",K=function(){2===Y.width&&(u.supSizes=!0),l=u.supSrcset&&!u.supSizes,d=!0,setTimeout(le)},(Y=s.createElement("img")).onload=K,Y.onerror=K,Y.setAttribute("sizes","9px"),Y.srcset=Z+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",Y.src=Z):d=!0,u.selShort="picture>img,img[srcset]",u.sel=u.selShort,u.cfg=b,u.DPR=O||1,u.u=P,u.types=y,u.setSize=h,u.makeUrl=z(function(e){return L.href=e,L.href}),u.qsa=function(e,t){return"querySelector"in e?e.querySelectorAll(t):[]},u.matchesMedia=function(){return r.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?u.matchesMedia=function(e){return!e||matchMedia(e).matches}:u.matchesMedia=u.mMQ,u.matchesMedia.apply(this,arguments)},u.mMQ=function(e){return!e||oe(e)},u.calcLength=function(e){var t=oe(e,!0)||!1;return t<0&&(t=!1),t},u.supportsType=function(e){return!e||y[e]},u.parseSize=z(function(e){var t=(e||"").match(T);return{media:t&&t[1],length:t&&t[2]}}),u.parseSet=function(e){return e.cands||(e.cands=function(e,t){function n(t){var n,i=t.exec(e.substring(c));if(i)return n=i[0],c+=n.length,n}var i,r,s,o,a,l=e.length,c=0,u=[];function d(){var e,n,s,o,a,l,c,d,h,p=!1,f={};for(o=0;o<r.length;o++)l=(a=r[o])[a.length-1],c=a.substring(0,a.length-1),d=parseInt(c,10),h=
1parseFloat(c),$.test(c)&&"w"===l?((e||n)&&(p=!0),0===d?p=!0:e=d):j.test(c)&&"x"===l?((e||n||s)&&(p=!0),h<0?p=!0:n=h):$.test(c)&&"h"===l?((s||n)&&(p=!0),0===d?p=!0:s=d):p=!0;p||(f.url=i,e&&(f.w=e),n&&(f.d=n),s&&(f.h=s),s||n||e||(f.d=1),1===f.d&&(t.has1x=!0),f.set=t,u.push(f))}function h(){for(n(R),s="",o="in descriptor";;){if(a=e.charAt(c),"in descriptor"===o)if(U(a))s&&(r.push(s),s="",o="after descriptor");else{if(","===a)return c+=1,s&&r.push(s),void d();if("("===a)s+=a,o="in parens";else{if(""===a)return s&&r.push(s),void d();s+=a}}else if("in parens"===o)if(")"===a)s+=a,o="in descriptor";else{if(""===a)return r.push(s),void d();s+=a}else if("after descriptor"===o)if(U(a));else{if(""===a)return void d();o="in descriptor",c-=1}c+=1}}for(;;){if(n(B),c>=l)return u;i=n(F),r=[],","===i.slice(-1)?(i=i.replace(V,""),d()):h()}}(e.srcset,e)),e.cands},u.getEmValue=function(){var e;if(!a&&(e=s.body)){var t=s.createElement("div"),n=v.style.cssText,i=e.style.cssText;t.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",v.style.cssText=I,e.style.cssText=I,e.appendChild(t),a=t.offsetWidth,e.removeChild(t),a=parseFloat(a,10),v.style.cssText=n,e.style.cssText=i}return a||16},u.calcListLength=function(e){if(!(e in M)||b.uT){var t=u.calcLength(function(e){var t,n,i,r,s,o,a=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,l=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;function c(e){return!!(a.test(e)&&parseFloat(e)>=0)||!!l.test(e)||"0"===e||"-0"===e||"+0"===e}for(i=(n=function(e){var t,n="",i=[],r=[],s=0,o=0,a=!1;function l(){n&&(i.push(n),n="")}function c(){i[0]&&(r.push(i),i=[])}for(;;){if(""===(t=e.charAt(o)))return l(),c(),r;if(a){if("*"===t&&"/"===e[o+1]){a=!1,o+=2,l();continue}o+=1}else{if(U(t)){if(e.charAt(o-1)&&U(e.charAt(o-1))||!n){o+=1;continue}if(0===s){l(),o+=1;continue}t=" "}else if("("===t)s+=1;else if(")"===t)s-=1;else{if(","===t){l(),c(),o+=1;continue}if("/"===t&&"*"===e.charAt(o+1)){a=!0,o+=2;continue}}n+=t,o+=1}}}(e)).length,t=0;t<i;t++)if(c(s=(r=n[t])[r.length-1])){if(o=s,r.pop(),0===r.length)return o;if(r=r.join(" "),u.matchesMedia(r))return o}return"100vw"}(e));M[e]=t||P.width}return M[e]},u.setRes=function(e){var t;if(e)for(var n=0,i=(t=u.parseSet(e)).length;n<i;n++)ae(t[n],e.sizes);return t},u.setRes.res=ae,u.applySetCandidate=function(e,t){if(e.length){var n,i,r,s,o,a,l,c,d,h=t[u.ns],p=u.DPR;if(a=h.curSrc||t[C],l=h.curCan||function(e,t,n){var i;return!n&&t&&(n=(n=e[u.ns].sets)&&n[n.length-1]),(i=de(t,n))&&(t=u.makeUrl(t),e[u.ns].curSrc=t,e[u.ns].curCan=i,i.res||ae(i,i.set.sizes)),i}(t,a,e[0].set),l&&l.set===e[0].set&&((d=k&&!t.complete&&l.res-.1>p)||(l.cached=!0,l.res>=p&&(o=l))),!o)for(e.sort(ue),o=e[(s=e.length)-1],i=0;i<s;i++)if((n=e[i]).res>=p){o=e[r=i-1]&&(d||a!==u.makeUrl(n.url))&&ce(e[r].res,n.res,p,e[r].cached)?e[r]:n;break}o&&(c=u.makeUrl(o.url),h.curSrc=c,h.curCan=o,c!==a&&u.setSrc(t,o),u.setSize(t))}},u.setSrc=function(e,t){var n;e.src=t.url,"image/svg+xml"===t.set.type&&(n=e.style.width,e.style.width=e.offsetWidth+1+"px",e.offsetWidth+1&&(e.style.width=n))},u.getSet=function(e){var t,n,i,r=!1,s=e[u.ns].sets;for(t=0;t<s.length&&!r;t++)if((n=s[t]).srcset&&u.matchesMedia(n.media)&&(i=u.supportsType(n.type))){"pending"===i&&(n=i),r=n;break}return r},u.parseSets=function(e,t,n){var i,r,s,a,c=t&&"PICTURE"===t.nodeName.toUpperCase(),d=e[u.ns];(d.src===o||n.src)&&(d.src=f.call(e,"src"),d.src?m.call(e,w,d.src):g.call(e,w)),(d.srcset===o||n.srcset||!u.supSrcset||e.srcset)&&(i=f.call(e,"srcset"),d.srcset=i,a=!0),d.sets=[],c&&(d.pic=!0,function(e,t){var n,i,r,s,o=e.getElementsByTagName("source");for(n=0,i=o.length;n<i;n++)(r=o[n])[u.ns]=!0,(s=r.getAttribute("srcset"))&&t.push({srcset:s,media:r.getAttribute("media"),type:r.getAttribute("type"),sizes:r.getAttribute("sizes")})}(t,d.sets)),d.srcset?(r={srcset:d.srcset,sizes:f.call(e,"sizes")},d.sets.push(r),(s=(l||d.src)&&S.test(d.srcset||""))||!d.src||de(d.src,r)||r.has1x||(r.srcset+=", "+d.src,r.cands.push({url:d.src,d:1,set:r}))):d.src&&d.sets.push({srcset:d.src,sizes:null}),d.curCan=null,d.curSrc=o,d.supported=!(c||r&&!u.supSrcset||s&&!u.supSizes),a&&u.supSrcset&&!d.supported&&(i?(m.call(e,_,i),e.srcset=""):g.call(e,_)),d.supported&&!d.srcset&&(!d.src&&e.src||e.src!==u.makeUrl(d.src))&&
1(null===d.src?e.removeAttribute("src"):e.src=d.src),d.parsed=!0},u.fillImg=function(e,t){var n,i=t.reselect||t.reevaluate;e[u.ns]||(e[u.ns]={}),n=e[u.ns],(i||n.evaled!==c)&&(n.parsed&&!t.reevaluate||u.parseSets(e,e.parentNode,t),n.supported?n.evaled=c:function(e){var t,n=u.getSet(e),i=!1;"pending"!==n&&(i=c,n&&(t=u.setRes(n),u.applySetCandidate(t,e))),e[u.ns].evaled=i}(e))},u.setupRun=function(){N&&!A&&O===r.devicePixelRatio||(A=!1,O=r.devicePixelRatio,D={},M={},u.DPR=O||1,P.width=Math.max(r.innerWidth||0,v.clientWidth),P.height=Math.max(r.innerHeight||0,v.clientHeight),P.vw=P.width/100,P.vh=P.height/100,c=[P.height,P.width,O].join("-"),P.em=u.getEmValue(),P.rem=P.em)},u.supPicture?(le=h,u.fillImg=h):(ne=r.attachEvent?/d$|^c/:/d$|^c|^i/,ie=function(){var e=s.readyState||"";re=setTimeout(ie,"loading"===e?200:999),s.body&&(u.fillImgs(),(J=J||ne.test(e))&&clearTimeout(re))},re=setTimeout(ie,s.body?9:99),se=v.clientHeight,H(r,"resize",(X=function(){A=Math.max(r.innerWidth||0,v.clientWidth)!==P.width||v.clientHeight!==se,se=v.clientHeight,A&&u.fillImgs()},te=function(){var e=new Date-ee;e<99?Q=setTimeout(te,99-e):(Q=null,X())},function(){ee=new Date,Q||(Q=setTimeout(te,99))})),H(s,"readystatechange",ie)),u.picturefill=le,u.fillImgs=le,u.teardownRun=h,le._=u,r.picturefillCFG={pf:u,push:function(e){var t=e.shift();"function"==typeof u[t]?u[t].apply(u,e):(b[t]=e[0],N&&u.fillImgs({reselect:!0}))}};for(;E&&E.length;)r.picturefillCFG.push(E.shift());r.picturefill=le,"object"==typeof e.exports?e.exports=le:(i=function(){return le}.call(t,n,t,e))===o||(e.exports=i),u.supPicture||(y["image/webp"]=function(e){var t=new r.Image;return t.onerror=function(){y[e]=!1,le()},t.onload=function(){y[e]=1===t.width,le()},t.src="data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==","pending"}("image/webp"))}(window,document)},5606:function(e){var t,n,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var a,l=[],c=!1,u=-1;function d(){c&&a&&(c=!1,a.length?l=a.concat(l):u=-1,l.length&&h())}function h(){if(!c){var e=o(d);c=!0;for(var t=l.length;t;){for(a=l,l=[];++u<t;)a&&a[u].run();u=-1,t=l.length}a=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||o(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},7452:function(e){var t=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var s=t&&t.prototype instanceof v?t:v,o=Object.create(s.prototype),a=new D(i||[]);return r(o,"_invoke",{value:T(e,n,a)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var h="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,o,function(){return this});var _=Object.getPrototypeOf,x=_&&_(_(M([])));x&&x!==n&&i.call(x,o)&&(w=x);var k=b.prototype=v.prototype=Object.create(w);function C(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function n(r,s,o,a){var l=d(e[r],e,s);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&i.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):t.resolve(u).then(function(e){c.value=e,o(c)},function(e){return n("throw",e,o,a)})}a(l.arg)}var s;r(this,"_invoke",{value:function(e,i){function r(){return new t(function(t,r){n(e,i,t,r)})}return s=s?s.then(r,r):r()}})}function T(e,n,i){var r=h;return function(s,o){if(r===f)throw new Error("Generator is already running");if(r===m){if("throw"===s)throw o;return{value:t,done:!0}}for(i.method=s,i.arg=o;;){var a=i.delegate;if(a){var l=E(a,i);if(l){if(l===g)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=f;var c=d(e,n,i);if("normal"===c.type){if(r=i.done?m:p,c.arg===g)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(r=m,i.method="throw",i.arg=c.arg)}}}function E(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&
1(n.method="return",n.arg=t,E(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var s=d(r,e.iterator,n.arg);if("throw"===s.type)return n.method="throw",n.arg=s.arg,n.delegate=null,g;var o=s.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function M(e){if(null!=e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return s.next=s}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=b,r(k,"constructor",{value:b,configurable:!0}),r(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},C(S.prototype),c(S.prototype,a,function(){return this}),e.AsyncIterator=S,e.async=function(t,n,i,r,s){void 0===s&&(s=Promise);var o=new S(u(t,n,i,r),s);return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},C(k),c(k,l,"Generator"),c(k,o,function(){return this}),c(k,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},e.values=M,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return a.type="throw",a.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var s=this.tryEntries.length-1;s>=0;--s){var o=this.tryEntries[s],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var s=r;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=t&&t<=s.finallyLoc&&(s=null);var o=s?s.completion:{};return o.type=e,o.arg=t,s?(this.method="next",this.next=s.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;A(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:M(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},8483:function(e,t,n){"use strict";n.d(t,{c:function(){return u}});var i=n(5508),r=n(2616),s=n(5604),o=n(1485),a=n(4384),l=n(1209),c=n(7008),u=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var s,o=this,a=(s=e)&&s instanceof i.vU||function(e){return e&&(0,l.T)(e.next)&&(0,l.T)(e.error)&&(0,l.T)(e.complete)}(s)&&(0,r.Uv)(s)?e:new i.Ms(e,t,n);return(0,c.Y)(function(){var e=o,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?o._subscribe(a):o._trySubscribe(a))}),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))(function(t,r){var s=new i.Ms({next:function(t){try{e(t)}catch(e){r(e),s.unsubscribe()}},error:r,complete:t});n.subscribe(s)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[s.s]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,o.m)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=d(e))(function(e,n){var i;t.subscribe(function(e){return i=e},function(e){return n(e)},function(){return e(i)})})},e.create=function(t){return new e(t)},e}();function d(e){var t;return null!==(t=null!=e?e:a.$.Promise)&&void 0!==t?t:Promise}},5508:function(e,t,n){"use strict";n.d(t,{Ms:function(){return v},vU:function(){return p}});var i=n(1635),r=n(1209),s=n(2616),o=n(4384),a=n(2564),l=n(2357),c=u("C",void 0,void 0);function u(e,t,n){return{kind:e,value:t,error:n}}var d=n(6744),h=n(7008),p=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,s.Uv)(t)&&t.add(n)):n.destination=w,n}return(0,i.C6)(t,e),t.create=function(e,t,n){return new v(e,t,n)},t.prototype.next=function(e){this.isStopped?b(function(e){return u("N",e,void 0)}(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?b(u("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?b(c,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(s.yU),f=Function.prototype.bind;function m(e,t){return f.call(e,t)}var g=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){y(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){y(e)}else y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){y(e)}},e}(),v=function(e){function t(t,n,i){var s,a,l=e.call(this)||this;return(0,r.T)(t)||!t?s={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=i?i:void 0}
vendor: 4,646 bytes, line 1
1:l&&o.$.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return l.unsubscribe()},s={next:t.next&&m(t.next,a),error:t.error&&m(t.error,a),complete:t.complete&&m(t.complete,a)}):s=t,l.destination=new g(s),l}return(0,i.C6)(t,e),t}(p);function y(e){o.$.useDeprecatedSynchronousErrorHandling?(0,h.l)(e):(0,a.m)(e)}function b(e,t){var n=o.$.onStoppedNotification;n&&d.f.setTimeout(function(){return n(e,t)})}var w={closed:!0,next:l.l,error:function(e){throw e},complete:l.l}},2616:function(e,t,n){"use strict";n.d(t,{Kn:function(){return l},yU:function(){return a},Uv:function(){return c}});var i=n(1635),r=n(1209),s=(0,n(2947).L)(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}}),o=n(6174),a=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,o,a;if(!this.closed){this.closed=!0;var l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var c=(0,i.Ju)(l),d=c.next();!d.done;d=c.next())d.value.remove(this)}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}else l.remove(this);var h=this.initialTeardown;if((0,r.T)(h))try{h()}catch(e){a=e instanceof s?e.errors:[e]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var f=(0,i.Ju)(p),m=f.next();!m.done;m=f.next()){var g=m.value;try{u(g)}catch(e){a=null!=a?a:[],e instanceof s?a=(0,i.fX)((0,i.fX)([],(0,i.zs)(a)),(0,i.zs)(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}if(a)throw new s(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)u(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,o.o)(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&(0,o.o)(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),l=a.EMPTY;function c(e){return e instanceof a||e&&"closed"in e&&(0,r.T)(e.remove)&&(0,r.T)(e.add)&&(0,r.T)(e.unsubscribe)}function u(e){(0,r.T)(e)?e():e.unsubscribe()}},4384:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6744:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});var i=n(1635),r={setTimeout:function(e,t){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];var o=r.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,(0,i.fX)([e,t],(0,i.zs)(n))):setTimeout.apply(void 0,(0,i.fX)([e,t],(0,i.zs)(n)))},clearTimeout:function(e){var t=r.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},5604:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},6174:function(e,t,n){"use strict";function i(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:function(){return i}})},2947:function(e,t,n){"use strict";function i(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:function(){return i}})},7008:function(e,t,n){"use strict";n.d(t,{Y:function(){return s},l:function(){return o}});var i=n(4384),r=null;function s(e){if(i.$.useDeprecatedSynchronousErrorHandling){var t=!r;if(t&&(r={errorThrown:!1,error:null}),e(),t){var n=r,s=n.errorThrown,o=n.error;if(r=null,s)throw o}}else e()}function o(e){i.$.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=e)}},8307:function(e,t,n){"use strict";function i(e){return e}n.d(t,{D:function(){return i}})},1209:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,{T:function(){return i}})},2357:function(e,t,n){"use strict";function i(){}n.d(t,{l:function(){return i}})},1485:function(e,t,n){"use strict";n.d(t,{F:function(){return r},m:function(){return s}});var i=n(8307);function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}
vendor: 10,980 bytes, line 1
1function s(e){return 0===e.length?i.D:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}},2564:function(e,t,n){"use strict";n.d(t,{m:function(){return s}});var i=n(4384),r=n(6744);function s(e){r.f.setTimeout(function(){var t=i.$.onUnhandledError;if(!t)throw e;t(e)})}},9599:function(e,t,n){var i,r,s;!function(){"use strict";r=[n(4692)],i=function(e){var t,n=window.Slick||{};(t=0,n=function(n,i){var r,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(n),appendDots:e(n),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,n){return e('<button type="button" />').text(n+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,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,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow: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},e.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=e(n),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,r=e(n).data("slick")||{},s.options=e.extend({},s.defaults,i,r),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=e.proxy(s.autoPlay,s),s.autoPlayClear=e.proxy(s.autoPlayClear,s),s.autoPlayIterator=e.proxy(s.autoPlayIterator,s),s.changeSlide=e.proxy(s.changeSlide,s),s.clickHandler=e.proxy(s.clickHandler,s),s.selectHandler=e.proxy(s.selectHandler,s),s.setPosition=e.proxy(s.setPosition,s),s.swipeHandler=e.proxy(s.swipeHandler,s),s.dragHandler=e.proxy(s.dragHandler,s),s.keyHandler=e.proxy(s.keyHandler,s),s.instanceUid=t++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},n.prototype.addSlide=n.prototype.slickAdd=function(t,n,i){var r=this;if("boolean"==typeof n)i=n,n=null;else if(n<0||n>=r.slideCount)return!1;r.unload(),"number"==typeof n?0===n&&0===r.$slides.length?e(t).appendTo(r.$slideTrack):i?e(t).insertBefore(r.$slides.eq(n)):e(t).insertAfter(r.$slides.eq(n)):!0===i?e(t).prependTo(r.$slideTrack):e(t).appendTo(r.$slideTrack),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slides.each(function(t,n){e(n).attr("data-slick-index",t)}),r.$slidesCache=r.$slides,r.reinit()},n.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},n.prototype.animateSlide=function(t,n){var i={},r=this;r.animateHeight(),!0===r.options.rtl&&!1===r.options.vertical&&(t=-t),!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,n):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,n):!1===r.cssTransitions?(!0===r.options.rtl&&(r.currentLeft=-r.currentLeft),e({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(e){e=Math.ceil(e),!1===r.options.vertical?(i[r.animType]="translate("+e+"px, 0px)",r.$slideTrack.css(i)):(i[r.animType]="translate(0px,"+e+"px)",r.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(r.applyTransition(),t=Math.ceil(t),!1===r.options.vertical?i[r.animType]="translate3d("+t+"px, 0px, 0px)":i[r.animType]="translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(i),n&&setTimeout(function(){r.disableTransition(),n.call()},r.options.speed))},n.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},n.prototype.asNavFor=function(t){var n=this.getNavTarget();null!==n&&"object"==typeof n&&n.each(function(){var n=e(this).slick("getSlick");n.unslicked||n.slideHandler(t,!0)})},n.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},n.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},n.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},n.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},n.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},n.prototype.buildDots=function(){var t,n,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),n=e("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)n.append(e("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=n.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},n.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(t,n){e(n).attr("data-slick-index",t).data("originalStyling",e(n).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<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),e("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")},n.prototype.buildRows=function(){var e,t,n,i,r,s,o,a=this;if(i=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>0){for(o=a.options.slidesPerRow*a.options.rows,r=Math.ceil(s.length/o),e=0;e<r;e++){var l=document.createElement("div");for(t=0;t<a.options.rows;t++){var c=document.createElement("div");for(n=0;n<a.options.slidesPerRow;n++){var u=e*o+(t*a.options.slidesPerRow+n);s.get(u)&&c.appendChild(s.get(u))}l.appendChild(c)}i.appendChild(l)}a.$slider.empty().append(i),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},n.prototype.checkResponsive=function(t,n){var i,r,s,o=this,a=!1,l=o.$slider.width(),c=window.innerWidth||e(window).width();if("window"===o.respondTo?s=c:"slider"===o.respondTo?s=l:"min"===o.respondTo&&(s=Math.min(c,l)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(i in r=null,o.breakpoints)o.breakpoints.hasOwnProperty(i)&&(!1===o.originalSettings.mobileFirst?s<o.breakpoints[i]&&(r=o.breakpoints[i]):s>o.breakpoints[i]&&(r=o.breakpoints[i]));null!==r?null!==o.activeBreakpoint?(r!==o.activeBreakpoint||n)&&(o.activeBreakpoint=r,"unslick"===o.breakpointSettings[r]?o.unslick(r):(o.options=e.extend({},o.originalSettings,o.breakpointSettings[r]),!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t)),a=r):(o.activeBreakpoint=r,"unslick"===o.breakpointSettings[r]?o.unslick(r):(o.options=e.extend({},o.originalSettings,o.breakpointSettings[r]),!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t)),a=r):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t),a=r),t||!1===a||o.$slider.trigger("breakpoint",[o,a])}},n.prototype.changeSlide=function(t,n){var i,r,s=this,o=e(t.currentTarget);switch(o.is("a")&&t.preventDefault(),o.is("li")||(o=o.closest("li")),i=s.slideCount%s.options.slidesToScroll!==0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,t.data.message){case"previous":r=0===i?s.options.slidesToScroll:s.options.slidesToShow-i,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-r,!1,n);break;case"next":r=0===i?s.options.slidesToScroll:i,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+r,!1,n);break;case"index":var a=0===t.data.index?0:t.data.index||o.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,n),o.children().trigger("focus");break;default:return}},n.prototype.checkNavigable=function(e){var t,n;if(n=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var i in t){if(e<t[i]){e=n;break}n=t[i]}return e},n.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.
1interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},n.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},n.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>0&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},n.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},n.prototype.destroy=function(t){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),e(".slick-cloned",n.$slider).detach(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){e(this).attr("style",e(this).data("originalStyling"))}),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.$slider.removeClass("slick-dotted"),n.unslicked=!0,t||n.$slider.trigger("destroy",[n])},n.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},n.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout(function(){n.disableTransition(e),t.call()},n.options.speed))},n.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},n.prototype.filterSlides=n.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},n.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(n){n.stopImmediatePropagation();var i=e(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=i.is(":focus"),t.autoPlay())}
1,0)})},n.prototype.getCurrent=n.prototype.slickCurrentSlide=function(){return this.currentSlide},n.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++i;else for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)i=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else i=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return i-1},n.prototype.getLeft=function(e){var t,n,i,r,s=this,o=0;return s.slideOffset=0,n=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,r=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?r=-1.5:1===s.options.slidesToShow&&(r=-2)),o=n*s.options.slidesToShow*r),s.slideCount%s.options.slidesToScroll!==0&&e+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(e>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(e-s.slideCount))*s.slideWidth*-1,o=(s.options.slidesToShow-(e-s.slideCount))*n*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,o=s.slideCount%s.options.slidesToScroll*n*-1))):e+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(e+s.options.slidesToShow-s.slideCount)*s.slideWidth,o=(e+s.options.slidesToShow-s.slideCount)*n),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,o=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),t=!1===s.options.vertical?e*s.slideWidth*-1+s.slideOffset:e*n*-1+o,!0===s.options.variableWidth&&(i=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow),t=!0===s.options.rtl?i[0]?-1*(s.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===s.options.centerMode&&(i=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow+1),t=!0===s.options.rtl?i[0]?-1*(s.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t+=(s.$list.width()-i.outerWidth())/2)),t},n.prototype.getOption=n.prototype.slickGetOption=function(e){return this.options[e]},n.prototype.getNavigableIndexes=function(){var e,t=this,n=0,i=0,r=[];for(!1===t.options.infinite?e=t.slideCount:(n=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,e=2*t.slideCount);n<e;)r.push(n),n=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r},n.prototype.getSlick=function(){return this},n.prototype.getSlideCount=function(){var t,n,i=this;return n=!0===i.options.centerMode?i.slideWidth*Math.floor(i.options.slidesToShow/2):0,!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each(function(r,s){if(s.offsetLeft-n+e(s).outerWidth()/2>-1*i.swipeLeft)return t=s,!1}),Math.abs(e(t).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},n.prototype.goTo=n.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},n.prototype.init=function(t){var n=this;e(n.$slider).hasClass("slick-initialized")||(e(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots(),n.checkResponsive(!0),n.focusHandler()),t&&n.$slider.trigger("init",[n]),!0===n.options.accessibility&&n.initADA(),n.options.autoplay&&(n.paused=!1,n.autoPlay())},n.prototype.initADA=function(){var t=this,n=Math.ceil(t.slideCount/t.options.slidesToShow),i=t.getNavigableIndexes().filter(function(e){return e>=0&&e<t.slideCount});t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(n){var r=i.indexOf(n);if(e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+n,tabindex:-1}),-1!==r){var s="slick-slide-control"+t.instanceUid+r;e("#"+s).length&&e(this).attr({"aria-describedby":s})}}),t.$dots.attr("role","tablist").find("li").each(function(r){var s=i[r];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+r,"aria-controls":"slick-slide"+t.instanceUid+s,"aria-label":r+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var r=t.currentSlide,s=r+t.options.slidesToShow;r<s;r++)t.options.focusOnChange?t.$slides.eq(r).attr({tabindex:"0"}):t.$slides.eq(r).removeAttr("tabindex");t.activateADA()},n.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},n.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.
1interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},n.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},n.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},n.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},n.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},n.prototype.lazyLoad=function(){var t,n,i,r=this;function s(t){e("img[data-lazy]",t).each(function(){var t=e(this),n=e(this).attr("data-lazy"),i=e(this).attr("data-srcset"),s=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0}
vendor: 7,085 bytes, line 1
1,100,function(){i&&(t.attr("srcset",i),s&&t.attr("sizes",s)),t.attr("src",n).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,n])})},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,n])},o.src=n})}if(!0===r.options.centerMode?!0===r.options.infinite?i=(n=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),i=r.options.slidesToShow/2+1+2+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,i=Math.ceil(n+r.options.slidesToShow),!0===r.options.fade&&(n>0&&n--,i<=r.slideCount&&i++)),t=r.$slider.find(".slick-slide").slice(n,i),"anticipated"===r.options.lazyLoad)for(var o=n-1,a=i,l=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)o<0&&(o=r.slideCount-1),t=(t=t.add(l.eq(o))).add(l.eq(a)),o--,a++;s(t),r.slideCount<=r.options.slidesToShow?s(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?s(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&s(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},n.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},n.prototype.next=n.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},n.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},n.prototype.pause=n.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},n.prototype.play=n.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},n.prototype.postSlide=function(t){var n=this;n.unslicked||(n.$slider.trigger("afterChange",[n,t]),n.animating=!1,n.slideCount>n.options.slidesToShow&&n.setPosition(),n.swipeLeft=null,n.options.autoplay&&n.autoPlay(),!0===n.options.accessibility&&(n.initADA(),n.options.focusOnChange&&e(n.$slides.get(n.currentSlide)).attr("tabindex",0).focus()))},n.prototype.prev=n.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},n.prototype.preventDefault=function(e){e.preventDefault()},n.prototype.progressiveLazyLoad=function(t){t=t||1;var n,i,r,s,o,a=this,l=e("img[data-lazy]",a.$slider);l.length?(n=l.first(),i=n.attr("data-lazy"),r=n.attr("data-srcset"),s=n.attr("data-sizes")||a.$slider.attr("data-sizes"),(o=document.createElement("img")).onload=function(){r&&(n.attr("srcset",r),s&&n.attr("sizes",s)),n.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,n,i]),a.progressiveLazyLoad()},o.onerror=function(){t<3?setTimeout(function(){a.progressiveLazyLoad(t+1)},500):(n.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,n,i]),a.progressiveLazyLoad())},o.src=i):a.$slider.trigger("allImagesLoaded",[a])},n.prototype.refresh=function(t){var n,i,r=this;i=r.slideCount-r.options.slidesToShow,!r.options.infinite&&r.currentSlide>i&&(r.currentSlide=i),r.slideCount<=r.options.slidesToShow&&(r.currentSlide=0),n=r.currentSlide,r.destroy(!0),e.extend(r,r.initials,{currentSlide:n}),r.init(),t||r.changeSlide({data:{message:"index",index:n}},!1)},n.prototype.registerBreakpoints=function(){var t,n,i,r=this,s=r.options.responsive||null;if("array"===e.type(s)&&s.length){for(t in r.respondTo=r.options.respondTo||"window",s)if(i=r.breakpoints.length-1,s.hasOwnProperty(t)){for(n=s[t].breakpoint;i>=0;)r.breakpoints[i]&&r.breakpoints[i]===n&&r.breakpoints.splice(i,1),i--;r.breakpoints.push(n),r.breakpointSettings[n]=s[t].settings}r.breakpoints.sort(function(e,t){return r.options.mobileFirst?e-t:t-e})}},n.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},n.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},n.prototype.removeSlide=n.prototype.slickRemove=function(e,t,n){var i=this;if(e="boolean"==typeof e?!0===(t=e)?0:i.slideCount-1:!0===t?--e:e,i.slideCount<1||e<0||e>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(e).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},n.prototype.setCSS=function(e){var t,n,i=this,r={};!0===i.options.rtl&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",r[i.positionProp]=e,!1===i.transformsEnabled?i.$slideTrack.css(r):(r={},!1===i.cssTransitions?(r[i.animType]="translate("+t+", "+n+")",i.$slideTrack.css(r)):(r[i.animType]="translate3d("+t+", "+n+", 0px)",i.$slideTrack.css(r)))},n.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},n.prototype.setFade=function(){var t,n=this;n.$slides.each(function(i,r){t=n.slideWidth*i*-1,!0===n.options.rtl?e(r).css({position:"relative",right:t,top:0,zIndex:n.options.zIndex-2,opacity:0}
1):e(r).css({position:"relative",left:t,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},n.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},n.prototype.setOption=n.prototype.slickSetOption=function(){var t,n,i,r,s,o=this,a=!1;if("object"===e.type(arguments[0])?(i=arguments[0],a=arguments[1],s="multiple"):"string"===e.type(arguments[0])&&(i=arguments[0],r=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)o.options[i]=r;else if("multiple"===s)e.each(i,function(e,t){o.options[e]=t});else if("responsive"===s)for(n in r)if("array"!==e.type(o.options.responsive))o.options.responsive=[r[n]];else{for(t=o.options.responsive.length-1;t>=0;)o.options.responsive[t].breakpoint===r[n].breakpoint&&o.options.responsive.splice(t,1),t--;o.options.responsive.push(r[n])}a&&(o.unload(),o.reinit())},n.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},n.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},n.prototype.setSlideClasses=function(e){var t,n,i,r,s=this;if(n=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(e).addClass("slick-current"),!0===s.options.centerMode){var o=s.options.slidesToShow%2==0?1:0;t=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(e>=t&&e<=s.slideCount-1-t?s.$slides.slice(e-t+o,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(i=s.options.slidesToShow+e,n.slice(i-t+1+o,i+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-s.options.slidesToShow).addClass("slick-center"):e===s.slideCount-1&&n.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=s.slideCount-s.options.slidesToShow?s.$slides.slice(e,e+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=s.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(r=s.slideCount%s.options.slidesToShow,i=!0===s.options.infinite?s.options.slidesToShow+e:e,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-e<s.options.slidesToShow?n.slice(i-(s.options.slidesToShow-r),i+r).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},n.prototype.setupInfinite=function(){var t,n,i,r=this;if(!0===r.options.fade&&(r.options.centerMode=!1),!0===r.options.infinite&&!1===r.options.fade&&(n=null,r.slideCount>r.options.slidesToShow)){for(i=!0===r.options.centerMode?r.options.slidesToShow+1:r.options.slidesToShow,t=r.slideCount;t>r.slideCount-i;t-=1)n=t-1,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-r.slideCount).prependTo(r.$slideTrack).addClass("slick-cloned");for(t=0;t<i+r.slideCount;t+=1)n=t,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+r.slideCount).appendTo(r.$slideTrack).addClass("slick-cloned");r.$slideTrack.find(".slick-cloned").find("[id]").each(function(){e(this).attr("id","")})}},n.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},n.prototype.selectHandler=function(t){var n=this,i=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),r=parseInt(i.attr("data-slick-index"));r||(r=0),n.slideCount<=n.options.slidesToShow?n.slideHandler(r,!1,!0):n.slideHandler(r)},n.prototype.slideHandler=function(e,t,n){var i,r,s,o,a,l=null,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),i=e,l=c.getLeft(i),o=c.getLeft(c.
1currentSlide),c.currentLeft=null===c.swipeLeft?o:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(o,function(){c.postSlide(i)}):c.postSlide(i));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(o,function(){c.postSlide(i)}):c.postSlide(i));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),r=i<0?c.slideCount%c.options.slidesToScroll!==0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+i:i>=c.slideCount?c.slideCount%c.options.slidesToScroll!==0?0:i-c.slideCount:i,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,r]),s=c.currentSlide,c.currentSlide=r,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=(a=c.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==n?(c.fadeSlideOut(s),c.fadeSlide(r,function(){c.postSlide(r)})):c.postSlide(r),void c.animateHeight();!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(l,function(){c.postSlide(r)}):c.postSlide(r)}},n.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},n.prototype.swipeDirection=function(){var e,t,n,i,r=this;return e=r.touchObject.startX-r.touchObject.curX,t=r.touchObject.startY-r.touchObject.curY,n=Math.atan2(t,e),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?!1===r.options.rtl?"left":"right":i>=135&&i<=225?!1===r.options.rtl?"right":"left":!0===r.options.verticalSwiping?i>=35&&i<=135?"down":"up":"vertical"},n.prototype.swipeEnd=function(e){var t,n,i=this;if(i.dragging=!1,i.swiping=!1,i.scrolling)return i.scrolling=!1,!1;if(i.interrupted=!1,i.shouldClick=!(i.touchObject.swipeLength>10),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(t),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},n.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},n.prototype.swipeMove=function(e){var t,n,i,r,s,o,a=this;return s=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!a.dragging||a.scrolling||s&&1!==s.length)&&(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&o>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=o),n=a.swipeDirection(),void 0!==e.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,e.preventDefault()),r=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(r=a.touchObject.curY>a.touchObject.startY?1:-1),i=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===n||a.currentSlide>=a.getDotCount()&&"left"===n)&&(i=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=t+i*r:a.swipeLeft=t+i*(a.$list.height()/a.listWidth)*r,!0===a.options.verticalSwiping&&(a.swipeLeft=t+i*r),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},n.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},n.prototype.unfilterSlides=n.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},n.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,n.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},n.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},n.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},n.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,t,i=this,r=arguments[0],s=Array.prototype.slice.call(arguments,1),o=i.length;for(e=0;e<o;e++)if("object"==typeof r||void 0===r?i[e].slick=new n(i[e],r):t=i[e].slick[r].apply(i[e].slick,s),void 0!==t)return t;return i}},void 0===(s=i.apply(t,r))||(e.exports=s)}()},1088:function(e){var t;t=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,n="initial",i=n,r=Date.now(),s=!1,o=["button","input","select","textarea"],a=[],l=[16,17,18,91,93],c=[],u={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},d=!1,h={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},f=!1;try{var m=Object.defineProperty({},"passive",{get:function(){f=!0}});window.addEventListener("test",null,m)}catch(e){}var g,v=function(){if(s=!("false"===e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(i=window.sessionStorage.getItem("what-intent"))}catch(e){}b("input"),b("intent")},y=function(e){var t=e.which,r=u[e.type];"pointer"===r&&(r=C(e));var s=!c.length&&-1===l.indexOf(t),a=c.length&&-1!==c.indexOf(t),d="keyboard"===r&&t&&(s||a)||"mouse"===r||"touch"===r;if(S(r)&&(d=!1),d&&n!==r&&(k("input",n=r),b("input")),d&&i!==r){var h=document.activeElement;h&&h.nodeName&&(-1===o.indexOf(h.nodeName.toLowerCase())||"button"===h.nodeName.toLowerCase()&&!A(h,"form"))&&(k("intent",i=r),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?n:i),E(t)},w=function(e){var t=u[e.type];"pointer"===t&&(t=C(e)),I(e),(!d&&!S(t)||d&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&i!==t&&(k("intent",i=t),b("intent"))},_=function(n){n.target.nodeName?(t=n.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),n.target.classList&&n.target.classList.length&&e.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):x()},x=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},k=function(e,t){if(s)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},C=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),i="mouse"===e&&"touch"===n&&t-r<200;return r=t,i},T=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},E=function(e){for(var t=0,r=a.length;t<r;t++)a[t].type===e&&a[t].fn.call(void 0,"input"===e?n:i)},I=function(e){h.x!==e.screenX||h.y!==e.screenY?(d=!1,h.x=e.screenX,h.y=e.screenY):d=!0},A=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(u[T()]="mouse",g=!f||{passive:!0,capture:!0},document.addEventListener("DOMContentLoaded",v,!0),window.PointerEvent?(window.addEventListener("pointerdown",y,!0),window.addEventListener("pointermove",w,!0)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",y,!0),window.addEventListener("MSPointerMove",w,!0)):(window.addEventListener("mousedown",y,!0),window.addEventListener("mousemove",w,!0),"ontouchstart"in window&&(window.addEventListener("touchstart",y,g),window.addEventListener("touchend",y,!0))),window.addEventListener(T(),w,g),window.addEventListener("keydown",y,!0),window.addEventListener("keyup",y,!0),window.addEventListener("focusin",_,!0),window.addEventListener("focusout",x,!0)),{ask:function(e){return"intent"===e?i:n},element:function(){return t},ignoreKeys:function(e){l=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){a.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=a.length;t<n;t++)if(a[t].fn===e)return t}(e);(t||0===t)&&a.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},e.exports=t()},8216:function(){"use strict";const e=globalThis;function t(t){return(e.__Zone_symbol_prefix||"__zone_symbol__")+t}function n(){const n=e.performance;function i(e){n&&n.mark&&n.mark(e)}function r(e,t){n&&n.measure&&n.measure(e,t)}i("Zone");class s{static __symbol__=t;static assertZonePatched(){if(e.Promise!==I.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=s.current;for(;e.parent;)e=e.parent;return e}static get current(){return D.zone}static get currentTask(){return M}static __load_patch(n,o,a=!1){if(I.hasOwnProperty(n)){const i=!0===e[t("forceDuplicateZoneCheck")];if(!a&&i)throw Error("Already loaded patch: "+n)}else if(!e["__Zone_disable_"+n]){const t="Zone:"+n;i(t),I[n]=o(e,s,A),r(t,t)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new a(this,this._parent&&this._parent._zoneDelegate,t)}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),i=this;return function(){return i.runGuarded(n,this,arguments,t)}}run(e,t,n,i){D={parent:D,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,i)}finally{D=D.parent}}runGuarded(e,t=null,n,i){D={parent:D,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,i)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{D=D.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");const i=e,{type:r,data:{isPeriodic:s=!1,isRefreshable:o=!1}={}}=e;if(e.state===b&&(r===E||r===T))return;const a=e.state!=x;a&&i._transitionTo(x,_);const l=M;M=i,D={parent:D,zone:this};try{r!=T||!e.data||s||o||(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,i,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{const t=e.state;if(t!==b&&t!==C)if(r==E||s||o&&t===w)a&&i._transitionTo(_,x,w);else{const e=i._zoneDelegates;this._updateTaskCount(i,-1),a&&i._transitionTo(b,x,b),o&&(i._zoneDelegates=e)}D=D.parent,M=l}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(w,b);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(C,w,b),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==w&&e._transitionTo(_,w),e}scheduleMicroTask(e,t,n,i){return this.scheduleTask(new l(S,e,t,n,i,void 0))}scheduleMacroTask(e,t,n,i,r){return this.scheduleTask(new l(T,e,t,n,i,r))}scheduleEventTask(e,t,n,i,r){return this.scheduleTask(new l(E,e,t,n,i,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===_||e.state===x){e._transitionTo(k,_,x);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(C,k),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(b,k),e.runCount=-1,e}}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let i=0;i<n.length;i++)n[i]._updateTaskCount(e.type,t)}}const o={name:"",onHasTask:(e,t,n,i)=>e.hasTask(n,i),onScheduleTask:(e,t,n,i)=>e.scheduleTask(n,i),onInvokeTask:(e,t,n,i,r,s)=>e.invokeTask(n,i,r,s),onCancelTask:(e,t,n,i)=>e.cancelTask(n,i)};class a{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(e,t,n){this._zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this._zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this._zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this._zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this._zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this._zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this._zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this._zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const i=n&&n.onHasTask,r=t&&t._hasTaskZS;(i||r)&&(this._hasTaskZS=i?n:o,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,n.onScheduleTask||(this._scheduleTaskZS=o,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this._zone),n.onInvokeTask||(this._invokeTaskZS=o,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this._zone),n.onCancelTask||(this._cancelTaskZS=o,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this._zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,i,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,i,r):t.apply(n,i)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");g(t)}return n}invokeTask(e,t,n,i){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,i):t.callback.apply(n,i)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(t){this.handleError(e,t)}}_updateTaskCount(e,t){const n=this._taskCounts,i=n[e],r=n[e]=i+t;if(r<0)throw new Error("More tasks executed then were scheduled.");
1if(0==i||0==r){const t={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};this.hasTask(this._zone,t)}}}class l{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(t,n,i,r,s,o){if(this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=o,!i)throw new Error("callback is not defined");this.callback=i;const a=this;t===E&&r&&r.useG?this.invoke=l.invokeTask:this.invoke=function(){return l.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),O++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==O&&v(),O--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,w)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==b&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?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 c=t("setTimeout"),u=t("Promise"),d=t("then");let h,p=[],f=!1;function m(t){if(h||e[u]&&(h=e[u].resolve(0)),h){let e=h[d];e||(e=h.then),e.call(h,t)}else e[c](t,0)}function g(e){0===O&&0===p.length&&m(v),e&&p.push(e)}function v(){if(!f){for(f=!0;p.length;){const e=p;p=[];for(let t=0;t<e.length;t++){const n=e[t];try{n.zone.runTask(n,null,null)}catch(e){A.onUnhandledError(e)}}}A.microtaskDrainDone(),f=!1}}const y={name:"NO ZONE"},b="notScheduled",w="scheduling",_="scheduled",x="running",k="canceling",C="unknown",S="microTask",T="macroTask",E="eventTask",I={},A={symbol:t,currentZoneFrame:()=>D,onUnhandledError:P,microtaskDrainDone:P,scheduleMicroTask:g,showUncaughtError:()=>!s[t("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:P,patchMethod:()=>P,bindArguments:()=>[],patchThen:()=>P,patchMacroTask:()=>P,patchEventPrototype:()=>P,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>P,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>P,wrapWithCurrentZone:()=>P,filterProperties:()=>[],attachOriginToPatched:()=>P,_redefineProperty:()=>P,patchCallbacks:()=>P,nativeScheduleMicroTask:m};let D={parent:null,zone:new s(null,null)},M=null,O=0;function P(){}return r("Zone","Zone"),s}const i=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=Object.getPrototypeOf,o=Object.create,a=Array.prototype.slice,l="addEventListener",c="removeEventListener",u=t(l),d=t(c),h="true",p="false",f=t("");function m(e,t){return Zone.current.wrap(e,t)}function g(e,t,n,i,r){return Zone.current.scheduleMacroTask(e,t,n,i,r)}const v=t,y="undefined"!=typeof window,b=y?window:void 0,w=y&&b||globalThis;function _(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=m(e[n],t+"_"+n));return e}function x(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,C=!("nw"in w)&&void 0!==w.process&&"[object process]"===w.process.toString(),S=!C&&!k&&!(!y||!b.HTMLElement),T=void 0!==w.process&&"[object process]"===w.process.toString()&&!k&&!(!y||!b.HTMLElement),E={},I=v("enable_beforeunload"),A=function(e){if(!(e=e||w.event))return;let t=E[e.type];t||(t=E[e.type]=v("ON_PROPERTY"+e.type));const n=this||e.target||w,i=n[t];let r;if(S&&n===b&&"error"===e.type){const t=e;r=i&&i.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=i&&i.apply(this,arguments),"beforeunload"===e.type&&w[I]&&"string"==typeof r?e.returnValue=r:null==r||r||e.preventDefault();return r};function D(e,t,n){let s=i(e,t);if(!s&&n&&i(n,t)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const o=v("on"+t+"patched");if(e.hasOwnProperty(o)&&e[o])return;delete s.writable,delete s.value;const a=s.get,l=s.set,c=t.slice(2);let u=E[c];u||(u=E[c]=v("ON_PROPERTY"+c)),s.set=function(t){let n=this;n||e!==w||(n=w),n&&("function"==typeof n[u]&&n.removeEventListener(c,A),l?.call(n,null),n[u]=t,"function"==typeof t&&n.addEventListener(c,A,!1))},s.get=function(){let n=this;if(n||e!==w||(n=w),!n)return null;const i=n[u];if(i)return i;if(a){let e=a.call(this);if(e)return s.set.call(this,e),"function"==typeof n.removeAttribute&&n.removeAttribute(t),e}return null},r(e,t,s),e[o]=!0}function M(e,t,n){if(t)for(let i=0;i<t.length;
vendor: 6,217 bytes, line 1
1i++)D(e,"on"+t[i],n);else{const t=[];for(const n in e)"on"==n.slice(0,2)&&t.push(n);for(let i=0;i<t.length;i++)D(e,t[i],n)}}const O=v("originalInstance");function P(e){const t=w[e];if(!t)return;w[v(e)]=t,w[e]=function(){const n=_(arguments,e);switch(n.length){case 0:this[O]=new t;break;case 1:this[O]=new t(n[0]);break;case 2:this[O]=new t(n[0],n[1]);break;case 3:this[O]=new t(n[0],n[1],n[2]);break;case 4:this[O]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},R(w[e],t);const n=new t(function(){});let i;for(i in n)"XMLHttpRequest"===e&&"responseBlob"===i||function(t){"function"==typeof n[t]?w[e].prototype[t]=function(){return this[O][t].apply(this[O],arguments)}:r(w[e].prototype,t,{set:function(n){"function"==typeof n?(this[O][t]=m(n,e+"."+t),R(this[O][t],n)):this[O][t]=n},get:function(){return this[O][t]}})}(i);for(i in t)"prototype"!==i&&t.hasOwnProperty(i)&&(w[e][i]=t[i])}function L(e,t,n){let r=e;for(;r&&!r.hasOwnProperty(t);)r=s(r);!r&&e[t]&&(r=e);const o=v(t);let a=null;if(r&&(!(a=r[o])||!r.hasOwnProperty(o))&&(a=r[o]=r[t],x(r&&i(r,t)))){const e=n(a,o,t);r[t]=function(){return e(this,arguments)},R(r[t],a)}return a}function N(e,t,n){let i=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},i.apply(t.target,t.args),e}i=L(e,t,e=>function(t,i){const s=n(t,i);return s.cbIdx>=0&&"function"==typeof i[s.cbIdx]?g(s.name,i[s.cbIdx],s,r):e.apply(t,i)})}function R(e,t){e[v("OriginalDelegate")]=t}let B=!1,F=!1;function V(){if(B)return F;B=!0;try{const e=b.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(F=!0)}catch(e){}return F}function $(e){return"function"==typeof e}function j(e){return"number"==typeof e}const H={useG:!0},z={},U={},q=new RegExp("^"+f+"(\\w+)(true|false)$"),W=v("propagationStopped");function G(e,t){const n=(t?t(e):e)+p,i=(t?t(e):e)+h,r=f+n,s=f+i;z[e]={},z[e][p]=r,z[e][h]=s}function Z(e,t,n,i){const r=i&&i.add||l,o=i&&i.rm||c,a=i&&i.listeners||"eventListeners",u=i&&i.rmAll||"removeAllListeners",d=v(r),m="."+r+":",g="prependListener",y="."+g+":",b=function(e,t,n){if(e.isRemoved)return;const i=e.callback;let r;"object"==typeof i&&i.handleEvent&&(e.callback=e=>i.handleEvent(e),e.originalDelegate=i);try{e.invoke(e,t,[n])}catch(e){r=e}const s=e.options;if(s&&"object"==typeof s&&s.once){const i=e.originalDelegate?e.originalDelegate:e.callback;t[o].call(t,n.type,i,s)}return r};function w(n,i,r){if(!(i=i||e.event))return;const s=n||i.target||e,o=s[z[i.type][r?h:p]];if(o){const e=[];if(1===o.length){const t=b(o[0],s,i);t&&e.push(t)}else{const t=o.slice();for(let n=0;n<t.length&&(!i||!0!==i[W]);n++){const r=b(t[n],s,i);r&&e.push(r)}}if(1===e.length)throw e[0];for(let n=0;n<e.length;n++){const i=e[n];t.nativeScheduleMicroTask(()=>{throw i})}}}const _=function(e){return w(this,e,!1)},x=function(e){return w(this,e,!0)};function k(t,n){if(!t)return!1;let i=!0;n&&void 0!==n.useG&&(i=n.useG);const l=n&&n.vh;let c=!0;n&&void 0!==n.chkDup&&(c=n.chkDup);let b=!1;n&&void 0!==n.rt&&(b=n.rt);let w=t;for(;w&&!w.hasOwnProperty(r);)w=s(w);if(!w&&t[r]&&(w=t),!w)return!1;if(w[d])return!1;const k=n&&n.eventNameToString,S={},T=w[d]=w[r],E=w[v(o)]=w[o],I=w[v(a)]=w[a],A=w[v(u)]=w[u];let D;n&&n.prepend&&(D=w[v(n.prepend)]=w[n.prepend]);const M=i?function(e){if(!S.isExisting)return T.call(S.target,S.eventName,S.capture?x:_,S.options)}:function(e){return T.call(S.target,S.eventName,e.invoke,S.options)},O=i?function(e){if(!e.isRemoved){const t=z[e.eventName];let n;t&&(n=t[e.capture?h:p]);const i=n&&e.target[n];if(i)for(let t=0;t<i.length;t++)if(i[t]===e){i.splice(t,1),e.isRemoved=!0,e.removeAbortListener&&(e.removeAbortListener(),e.removeAbortListener=null),0===i.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return E.call(e.target,e.eventName,e.capture?x:_,e.options)}:function(e){return E.call(e.target,e.eventName,e.invoke,e.options)},P=n?.diff||function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},L=Zone[v("UNPATCHED_EVENTS")],N=e[v("PASSIVE_EVENTS")],B=function(t,r,s,o,a=!1,u=!1){return function(){const d=this||e;let f=arguments[0];n&&n.transferEventName&&(f=n.transferEventName(f));let m=arguments[1];if(!m)return t.apply(this,arguments);if(C&&"uncaughtException"===f)return t.apply(this,arguments);let g=!1;if("function"!=typeof m){if(!m.handleEvent)return t.apply(this,arguments);g=!0}if(l&&!l(t,m,d,arguments))return;const v=!!N&&-1!==N.indexOf(f),y=function(e){if("object"==typeof e&&null!==e){const t={...e};return e.signal&&(t.signal=e.signal),t}return e}(function(e,t){return t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?{...e,passive:!0}:e:{passive:!0}:e}(arguments[2],v)),b=y?.signal;if(b?.aborted)return;if(L)for(let e=0;e<L.length;e++)if(f===L[e])return v?t.call(d,f,m,y):t.apply(this,arguments);const w=!!y&&("boolean"==typeof y||y.capture),_=!(!y||"object"!=typeof y)&&y.once,x=Zone.current;let T=z[f];T||(G(f,k),T=z[f]);const E=T[w?h:p];let I,A=d[E],D=!1;if(A){if(D=!0,c)for(let e=0;e<A.length;e++)if(P(A[e],m))return}else A=d[E]=[];const M=d.constructor.name,O=U[M];O&&(I=O[f]),I||(I=M+r+(k?k(f):f)),S.options=y,_&&(S.options.once=!1),S.target=d,S.capture=w,S.eventName=f,S.isExisting=D;const R=i?H:void 0;R&&(R.taskData=S),b&&(S.options.signal=void 0);const B=x.scheduleEventTask(I,m,R,s,o);if(b){S.options.signal=b;const e=()=>B.zone.cancelTask(B);t.call(b,"abort",e,{once:!0}),B.removeAbortListener=()=>b.removeEventListener("abort",e)}return S.target=null,R&&(R.taskData=null),_&&(S.options.once=!0),"boolean"!=typeof B.options&&(B.options=y),B.target=d,B.capture=w,B.eventName=f,g&&(B.originalDelegate=m),u?A.unshift(B):A.push(B),a?d:void 0}};return w[r]=B(T,m,M,O,b),D&&(w[g]=B(D,y,function(e){return D.call(S.target,S.eventName,e.invoke,S.options)},O,b,!0)),w[o]=function(){const t=this||e;let i=arguments[0];n&&n.transferEventName&&(i=n.transferEventName(i));const r=arguments[2],s=!!r&&("boolean"==typeof r||r.capture),o=arguments[1];if(!o)return E.apply(this,arguments);if(l&&!l(E,o,t,arguments))return;const a=z[i];let c;a&&(c=a[s?h:p]);const u=c&&t[c];if(u)for(let e=0;e<u.length;e++){const n=u[e];
1if(P(n,o))return u.splice(e,1),n.isRemoved=!0,0!==u.length||(n.allRemoved=!0,t[c]=null,s||"string"!=typeof i)||(t[f+"ON_PROPERTY"+i]=null),n.zone.cancelTask(n),b?t:void 0}return E.apply(this,arguments)},w[a]=function(){const t=this||e;let i=arguments[0];n&&n.transferEventName&&(i=n.transferEventName(i));const r=[],s=Y(t,k?k(i):i);for(let e=0;e<s.length;e++){const t=s[e];let n=t.originalDelegate?t.originalDelegate:t.callback;r.push(n)}return r},w[u]=function(){const t=this||e;let i=arguments[0];if(i){n&&n.transferEventName&&(i=n.transferEventName(i));const e=z[i];if(e){const n=e[p],r=e[h],s=t[n],a=t[r];if(s){const e=s.slice();for(let t=0;t<e.length;t++){const n=e[t];let r=n.originalDelegate?n.originalDelegate:n.callback;this[o].call(this,i,r,n.options)}}if(a){const e=a.slice();for(let t=0;t<e.length;t++){const n=e[t];let r=n.originalDelegate?n.originalDelegate:n.callback;this[o].call(this,i,r,n.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=e[t],i=q.exec(n);let r=i&&i[1];r&&"removeListener"!==r&&this[u].call(this,r)}this[u].call(this,"removeListener")}if(b)return this},R(w[r],T),R(w[o],E),A&&R(w[u],A),I&&R(w[a],I),!0}let S=[];for(let e=0;e<n.length;e++)S[e]=k(n[e],i);return S}function Y(e,t){if(!t){const n=[];for(let i in e){const r=q.exec(i);let s=r&&r[1];if(s&&(!t||s===t)){const t=e[i];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=z[t];n||(G(t),n=z[t]);const i=e[n[p]],r=e[n[h]];return i?r?i.concat(r):i.slice():r?r.slice():[]}function K(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[W]=!0,e&&e.apply(t,n)})}function J(e,t){t.patchMethod(e,"queueMicrotask",e=>function(e,t){Zone.current.scheduleMicroTask("queueMicrotask",t[0])})}const X=v("zoneTask");function Q(e,t,n,i){let r=null,s=null;n+=i;const o={};function a(t){const n=t.data;n.args[0]=function(){return t.invoke.apply(this,arguments)};const i=r.apply(e,n.args);return j(i)?n.handleId=i:(n.handle=i,n.isRefreshable=$(i.refresh)),t}function l(t){const{handle:n,handleId:i}=t.data;return s.call(e,n??i)}r=L(e,t+=i,n=>function(r,s){if($(s[0])){const e={isRefreshable:!1,isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?s[1]||0:void 0,args:s},n=s[0];s[0]=function(){try{return n.apply(this,arguments)}finally{const{handle:t,handleId:n,isPeriodic:i,isRefreshable:r}=e;i||r||(n?delete o[n]:t&&(t[X]=null))}};const r=g(t,s[0],e,a,l);if(!r)return r;const{handleId:c,handle:u,isRefreshable:d,isPeriodic:h}=r.data;if(c)o[c]=r;else if(u&&(u[X]=r,d&&!h)){const e=u.refresh;u.refresh=function(){const{zone:t,state:n}=r;return"notScheduled"===n?(r._state="scheduled",t._updateTaskCount(r,1)):"running"===n&&(r._state="scheduling"),e.call(this)}}return u??c??r}return n.apply(e,s)}),s=L(e,n,t=>function(n,i){const r=i[0];let s;j(r)?(s=o[r],delete o[r]):(s=r?.[X],s?r[X]=null:s=r),s?.type?s.cancelFn&&s.zone.cancelTask(s):t.apply(e,i)})}function ee(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:i,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:o}=t.getGlobalObjects();for(let e=0;e<n.length;e++){const t=n[e],a=o+(t+s),l=o+(t+r);i[t]={},i[t][s]=a,i[t][r]=l}const a=e.EventTarget;return a&&a.prototype?(t.patchEventTarget(e,t,[a&&a.prototype]),!0):void 0}function te(e,t,n){if(!n||0===n.length)return t;const i=n.filter(t=>t.target===e);if(0===i.length)return t;const r=i[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ne(e,t,n,i){e&&M(e,te(e,t,n),i)}function ie(e){return Object.getOwnPropertyNames(e).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function re(e,t){if(C&&!T)return;if(Zone[e.symbol("patchEvents")])return;const n=t.__Zone_ignore_on_properties;let i=[];if(S){const e=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const t=[];ne(e,ie(e),n?n.concat(t):n,s(e))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let e=0;e<i.length;e++){const r=t[i[e]];r?.prototype&&ne(r.prototype,ie(r.prototype),n)}}function se(e,t,n,i,r){const s=Zone.__symbol__(i);if(t[s])return;const o=t[s]=t[i];t[i]=function(s,a,l){return a&&a.prototype&&r.forEach(function(t){const r=`${n}.${i}::`+t,s=a.prototype;try{if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}catch{}}),o.call(t,s,a,l)},e.attachOriginToPatched(t[i],o)}const oe=function(){const e=globalThis,i=!0===e[t("forceDuplicateZoneCheck")];if(e.Zone&&(i||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=n(),e.Zone}();!function(e){(function(e){e.__load_patch("ZoneAwarePromise",(e,t,n)=>{const i=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,o=[],a=!1!==e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=s("Promise"),c=s("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;o.length;){const e=o.shift();try{e.zone.runGuarded(()=>
vendor: 13,717 bytes, line 1
1{if(e.throwOriginal)throw e.rejection;throw e})}catch(e){d(e)}}};const u=s("unhandledPromiseRejectionHandler");function d(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(e){}}function h(e){return e&&"function"==typeof e.then}function p(e){return e}function f(e){return P.reject(e)}const m=s("state"),g=s("value"),v=s("finally"),y=s("parentPromiseValue"),b=s("parentPromiseState"),w=null,_=!0,x=!1;function k(e,t){return n=>{try{E(e,t,n)}catch(t){E(e,!1,t)}}}const C=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},S="Promise resolved with itself",T=s("currentTaskTrace");function E(e,i,s){const l=C();if(e===s)throw new TypeError(S);if(e[m]===w){let u=null;try{"object"!=typeof s&&"function"!=typeof s||(u=s&&s.then)}catch(t){return l(()=>{E(e,!1,t)})(),e}if(i!==x&&s instanceof P&&s.hasOwnProperty(m)&&s.hasOwnProperty(g)&&s[m]!==w)A(s),E(e,s[m],s[g]);else if(i!==x&&"function"==typeof u)try{u.call(s,l(k(e,i)),l(k(e,!1)))}catch(t){l(()=>{E(e,!1,t)})()}else{e[m]=i;const l=e[g];if(e[g]=s,e[v]===v&&i===_&&(e[m]=e[b],e[g]=e[y]),i===x&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,T,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<l.length;)D(e,l[t++],l[t++],l[t++],l[t++]);if(0==l.length&&i==x){e[m]=0;let i=s;try{throw new Error("Uncaught (in promise): "+((c=s)&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c))+(s&&s.stack?"\n"+s.stack:""))}catch(e){i=e}a&&(i.throwOriginal=!0),i.rejection=s,i.promise=e,i.zone=t.current,i.task=t.currentTask,o.push(i),n.scheduleMicroTask()}}}var c;return e}const I=s("rejectionHandledHandler");function A(e){if(0===e[m]){try{const n=t[I];n&&"function"==typeof n&&n.call(this,{rejection:e[g],promise:e})}catch(e){}e[m]=x;for(let t=0;t<o.length;t++)e===o[t].promise&&o.splice(t,1)}}function D(e,t,n,i,r){A(e);const s=e[m],o=s?"function"==typeof i?i:p:"function"==typeof r?r:f;t.scheduleMicroTask("Promise.then",()=>{try{const i=e[g],r=!!n&&v===n[v];r&&(n[y]=i,n[b]=s);const a=t.run(o,void 0,r&&o!==f&&o!==p?[]:[i]);E(n,!0,a)}catch(e){E(n,!1,e)}},n)}const M=function(){},O=e.AggregateError;class P{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return e instanceof P?e:E(new this(null),_,e)}static reject(e){return E(new this(null),x,e)}static withResolvers(){const e={};return e.promise=new P((t,n)=>{e.resolve=t,e.reject=n}),e}static any(e){if(!e||"function"!=typeof e[Symbol.iterator])return Promise.reject(new O([],"All promises were rejected"));const t=[];let n=0;try{for(let i of e)n++,t.push(P.resolve(i))}catch(e){return Promise.reject(new O([],"All promises were rejected"))}if(0===n)return Promise.reject(new O([],"All promises were rejected"));let i=!1;const r=[];return new P((e,s)=>{for(let o=0;o<t.length;o++)t[o].then(t=>{i||(i=!0,e(t))},e=>{r.push(e),n--,0===n&&(i=!0,s(new O(r,"All promises were rejected")))})})}static race(e){let t,n,i=new this((e,i)=>{t=e,n=i});function r(e){t(e)}function s(e){n(e)}for(let t of e)h(t)||(t=this.resolve(t)),t.then(r,s);return i}static all(e){return P.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof P?this:P).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,i,r=new this((e,t)=>{n=e,i=t}),s=2,o=0;const a=[];for(let r of e){h(r)||(r=this.resolve(r));const e=o;try{r.then(i=>{a[e]=t?t.thenCallback(i):i,s--,0===s&&n(a)},r=>{t?(a[e]=t.errorCallback(r),s--,0===s&&n(a)):i(r)})}catch(e){i(e)}s++,o++}return s-=2,0===s&&n(a),r}constructor(e){const t=this;if(!(t instanceof P))throw new Error("Must be an instanceof Promise.");t[m]=w,t[g]=[];try{const n=C();e&&e(n(k(t,_)),n(k(t,x)))}catch(e){E(t,!1,e)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return P}then(e,n){let i=this.constructor?.[Symbol.species];i&&"function"==typeof i||(i=this.constructor||P);const r=new i(M),s=t.current;return this[m]==w?this[g].push(s,r,e,n):D(this,s,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor?.[Symbol.species];n&&"function"==typeof n||(n=P);const i=new n(M);i[v]=v;const r=t.current;return this[m]==w?this[g].push(r,i,e,e):D(this,r,i,e,e),i}}P.resolve=P.resolve,P.reject=P.reject,P.race=P.race,P.all=P.all;const N=e[l]=e.Promise;e.Promise=P;const R=s("thenPatched");function B(e){const t=e.prototype,n=i(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[c]=r,e.prototype.then=function(e,t){return new P((e,t)=>{r.call(this,e,t)}).then(e,t)},e[R]=!0}return n.patchThen=B,N&&(B(N),L(e,"fetch",e=>{return t=e,function(e,n){let i=t.apply(e,n);if(i instanceof P)return i;let r=i.constructor;return r[R]||B(r),i};var t})),Promise[t.__symbol__("uncaughtPromiseErrors")]=o,P})})(e),function(e){e.__load_patch("toString",e=>{const t=Function.prototype.toString,n=v("OriginalDelegate"),i=v("Promise"),r=v("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[i];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const o=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":o.call(this)}})}(e),function(e){e.__load_patch("util",(e,t,n)=>{const s=ie(e);n.patchOnProperties=M,n.patchMethod=L,n.bindArguments=_,n.patchMacroTask=N;const u=t.__symbol__("BLACK_LISTED_EVENTS"),d=t.__symbol__("UNPATCHED_EVENTS");e[d]&&(e[u]=e[d]),e[u]&&(t[u]=t[d]=e[u]),n.patchEventPrototype=K,n.patchEventTarget=Z,n.isIEOrEdge=V,n.ObjectDefineProperty=r,n.ObjectGetOwnPropertyDescriptor=i,n.ObjectCreate=o,n.ArraySlice=a,n.patchClass=P,n.wrapWithCurrentZone=m,n.filterProperties=te,n.attachOriginToPatched=R,n._redefineProperty=Object.defineProperty,n.patchCallbacks=se,n.getGlobalObjects=()=>({globalSources:U,zoneSymbolEventNames:z,eventNames:s,isBrowser:S,isMix:T,isNode:C,TRUE_STR:h,FALSE_STR:p,ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:l,REMOVE_EVENT_LISTENER_STR:c})})}(e)}(oe),function(e){e.__load_patch("legacy",t=>{const n=t[e.__symbol__("legacyPatch")];n&&n()}),e.__load_patch("timers",e=>{const t="set",n="clear";Q(e,t,n,"Timeout"),Q(e,t,n,"Interval"),Q(e,t,n,"Immediate")}),e.__load_patch("requestAnimationFrame",e=>{Q(e,"request","cancel","AnimationFrame"),Q(e,"mozRequest","mozCancel","AnimationFrame"),Q(e,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let i=0;i<n.length;i++)L(e,n[i],(n,i,r)=>function(i,s){return t.current.run(n,e,s,r)})}),e.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),ee(e,n);const i=e.XMLHttpRequestEventTarget;i&&i.prototype&&n.patchEventTarget(e,n,[i.prototype])}),e.__load_patch("MutationObserver",(e,t,n)=>{P("MutationObserver"),P("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(e,t,n)=>{P("IntersectionObserver")}),e.__load_patch("FileReader",(e,t,n)=>{P("FileReader")}),e.__load_patch("on_property",(e,t,n)=>{re(n,e)}),e.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:i}=t.getGlobalObjects();(n||i)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(e,n)}),e.__load_patch("XHR",(e,t)=>{!function(e){const l=e.XMLHttpRequest;if(!l)return;const c=l.prototype;let h=c[u],p=c[d];if(!h){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;h=e[u],p=e[d]}}const f="readystatechange",m="scheduled";function y(e){const i=e.data,o=i.target;o[s]=!1,o[a]=!1;const l=o[r];h||(h=o[u],p=o[d]),l&&p.call(o,f,l);const c=o[r]=()=>{if(o.readyState===o.DONE)if(!i.aborted&&o[s]&&e.state===m){const n=o[t.__symbol__("loadfalse")];if(0!==o.status&&n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=o[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);i.aborted||e.state!==m||r.call(e)},n.push(e)}else e.invoke()}else i.aborted||!1!==o[s]||(o[a]=!0)};return h.call(o,f,c),o[n]||(o[n]=e),C.apply(o,i.args),o[s]=!0,e}function b(){}function w(e){const t=e.data;return t.aborted=!0,S.apply(t.target,t.args)}const _=L(c,"open",()=>function(e,t){return e[i]=0==t[2],e[o]=t[1],_.apply(e,t)}),x=v("fetchTaskAborting"),k=v("fetchTaskScheduling"),C=L(c,"send",()=>function(e,n){if(!0===t.current[k])return C.apply(e,n);if(e[i])return C.apply(e,n);{const t={target:e,url:e[o],isPeriodic:!1,args:n,aborted:!1},i=g("XMLHttpRequest.send",b,t,y,w);e&&!0===e[a]&&!t.aborted&&i.state===m&&i.invoke()}}),S=L(c,"abort",()=>function(e,i){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[x])return S.apply(e,i)})}(e);const n=v("xhrTask"),i=v("xhrSync"),r=v("xhrListener"),s=v("xhrScheduled"),o=v("xhrURL"),a=v("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const n=e.constructor.name;for(let r=0;r<t.length;r++){const s=t[r],o=e[s];if(o){if(!x(i(e,s)))continue;e[s]=(e=>{const t=function(){return e.apply(this,_(arguments,n+"."+s))};return R(t,e),t})(o)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){Y(e,t).forEach(i=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});i.invoke(e)}})}}e.PromiseRejectionEvent&&(t[v("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[v("rejectionHandledHandler")]=n("rejectionhandled"))}),e.__load_patch("queueMicrotask",(e,t,n)=>{J(e,n)})}(oe)},7556:function(e,t,n){var i={"./content/stageElementMarkets/webpack.module/index.js":6999,"./content/stickybar/marketOverviewCta/webpack.module/index.js":1102};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id=7556},4332:function(e,t,n){var i={"./content/carousel/webpack.module/index.js":8164,"./content/pictureText/webpack.module/index.js":3717};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id=4332},5674:function(e,t,n){var i={"./keplerAccountabilityList/webpack.module/index.js":9705,"./keplerEsgDocList/webpack.module/index.js":5251,"./keplerEsgProductRangeList/webpack.module/index.js":5763,"./keplerFonds/webpack.module/index.js":8962,"./keplerFondsList/webpack.module/index.js":3946,"./keplerFondsPerformance/webpack.module/index.js":6972,"./keplerInstiProductRangeList/webpack.module/index.js":3117,"./keplerKidList/webpack.module/index.js":8,"./keplerProductRangeList/webpack.module/index.js":8112,"./keplerRegister/webpack.module/index.js":1147,"./keplerUnregister/webpack.module/index.js":2814};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id=5674},5462:function(e,t,n){var i={"./config/placeholder/webpack.module/index.js":246,"./config/placeholderFragment/webpack.module/index.js":8582,"./content/automatedList/webpack.module/index.js":3830,"./content/automatedTeaser/webpack.module/index.js":3138,"./content/bank/webpack.module/index.js":998,"./content/bankSearch/webpack.module/index.js":4778,"./content/chatbot/webpack.module/index.js":4997,"./content/comparisonTable/webpack.module/index.js":3209,"./content/contentBoxTeaser/webpack.module/index.js":4930,"./content/contentPlus/webpack.module/index.js":3727,"./content/cta/ctaContainer/webpack.module/index.js":8642,"./content/cta/formOverlay/webpack.module/index.js":7445,"./content/cta/redirectToBranch/webpack.module/index.js":7057,"./content/disclaimerOverlay/webpack.module/index.js":5755,"./content/footer/appTeaser/webpack.module/index.js":9469,"./content/footer/banksearchTeaser/webpack.module/index.js":7338,"./content/footer/contentTeaser/webpack.module/index.js":171,"./content/footer/kontaktTeaser/webpack.module/index.js":2216,"./content/footer/socialmediaTeaser/webpack.module/index.js":3191,"./content/form/formCondition/webpack.module/index.js":8974,"./content/form/formcontainer/webpack.module/index.js":1420,"./content/form/formstepcontainer/webpack.module/index.js":5870,"./content/form/input/checkbox/webpack.module/index.js":221,"./content/form/input/date/webpack.module/index.js":1454,"./content/form/input/datepicker/webpack.module/index.js":9884,"./content/form/input/email/webpack.module/index.js":3186,"./content/form/input/number/webpack.module/index.js":7341,"./content/form/input/radio/webpack.module/index.js":6827,"./content/form/input/select/webpack.module/index.js":9122,"./content/form/input/text/webpack.module/index.js":4767,"./content/form/input/textarea/webpack.module/index.js":4456,"./content/form/input/tooltip/webpack.module/index.js":9411,"./content/form/input/url/webpack.module/index.js":7373,"./content/form/input/validation/webpack.module/index.js":8011,"./content/form/input
1notprefillable/bankSearch/webpack.module/index.js":3091,"./content/form/inputnotprefillable/calculatorPlaceholder/webpack.module/index.js":6500,"./content/form/inputnotprefillable/proposedDate/webpack.module/index.js":5003,"./content/form/inputnotprefillable/upload/webpack.module/index.js":2922,"./content/form/inputspecial/select/webpack.module/index.js":9915,"./content/form/inputspecial/text/webpack.module/index.js":6542,"./content/fullWidthTeaser/webpack.module/index.js":4869,"./content/header/boersespielLogin/webpack.module/index.js":8502,"./content/header/cookieBanner/webpack.module/index.js":1906,"./content/header/loginbutton/webpack.module/index.js":2345,"./content/header/logoutbutton/webpack.module/index.js":748,"./content/header/navigation/main/webpack.module/index.js":4398,"./content/header/quickAccess/webpack.module/index.js":9965,"./content/header/search/webpack.module/index.js":4770,"./content/header/webpack.module/index.js":4681,"./content/html/webpack.module/index.js":2367,"./content/image/webpack.module/index.js":39,"./content/imageGallery/webpack.module/index.js":3403,"./content/interactiveMap/webpack.module/index.js":5828,"./content/login/webpack.module/index.js":4071,"./content/newsletter/subscription/webpack.module/index.js":6444,"./content/primaryBankTeaser/webpack.module/index.js":4076,"./content/productDescription/webpack.module/index.js":553,"./content/quickbar/webpack.module/index.js":8464,"./content/recommendation/webpack.module/index.js":5033,"./content/rti/rtiContainer/webpack.module/index.js":7071,"./content/stage/webpack.module/index.js":4689,"./content/tabAccordion/webpack.module/index.js":4289,"./content/table/webpack.module/index.js":1100,"./content/teletraderElement/webpack.module/index.js":8716,"./content/text/webpack.module/index.js":2973,"./content/textColumnTest/webpack.module/index.js":7671,"./content/video/webpack.module/index.js":6461,"./structure/disclaimerConfigForSinglePage/partials/main/webpack.module/index.js":4522};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id=5462},8211:function(e,t,n){"use strict";var i=n(9326);e.exports=i},780:function(e,t,n){"use strict";var i=n(2473);n(9904),n(1137),n(1545),n(4189),n(7628),n(3799),e.exports=i},6691:function(e,t,n){"use strict";var i=n(884);n(6401),n(1202),n(3275),n(465),e.exports=i},5899:function(e,t,n){"use strict";n(6099),n(3362),n(9391);var i=n(7015);e.exports=i("Promise","finally")},6398:function(e,t,n){"use strict";n(67),n(3792),n(6099),n(3362),n(6167),n(3518),n(1689),n(4628),n(9391),n(7764);var i=n(9167);e.exports=i.Promise},9281:function(e,t,n){"use strict";n(8706),n(6099),n(2675),n(4113),n(6412),n(9463),n(7324),n(193),n(2168),n(2259),n(6964),n(3142),n(3237),n(1833),n(7947),n(1073),n(5700),n(8125),n(326),n(4731),n(479),n(5472);var i=n(9167);e.exports=i.Symbol},6130:function(e,t,n){"use strict";n(1880)},5781:function(e,t,n){"use strict";n(911)},2440:function(e,t,n){"use strict";n(7414)},1880:function(e,t,n){"use strict";var i=n(8211);e.exports=i},911:function(e,t,n){"use strict";var i=n(780);n(9806),n(5874),n(7575),e.exports=i},7414:function(e,t,n){"use strict";var i=n(6691);n(3070),n(3032),n(9604),n(2793),n(7153),n(3803),n(3976),n(8999),n(7208),n(3440),e.exports=i},9306:function(e,t,n){"use strict";var i=n(4901),r=n(6823),s=TypeError;e.exports=function(e){if(i(e))return e;throw new s(r(e)+" is not a function")}},5548:function(e,t,n){"use strict";var i=n(3517),r=n(6823),s=TypeError;e.exports=function(e){if(i(e))return e;throw new s(r(e)+" is not a constructor")}},3506:function(e,t,n){"use strict";var i=n(3925),r=String,s=TypeError;e.exports=function(e){if(i(e))return e;throw new s("Can't set "+r(e)+" as a prototype")}},6469:function(e,t,n){"use strict";var i=n(8227),r=n(2360),s=n(4913).f,o=i("unscopables"),a=Array.prototype;void 0===a[o]&&s(a,o,{configurable:!0,value:r(null)}),e.exports=function(e){a[o][e]=!0}},679:function(e,t,n){"use strict";var i=n(1625),r=TypeError;e.exports=function(e,t){if(i(t,e))return e;throw new r("Incorrect invocation")}},8551:function(e,t,n){"use strict";var i=n(34),r=String,s=TypeError;e.exports=function(e){if(i(e))return e;throw new s(r(e)+" is not an object")}},9617:function(e,t,n){"use strict";var i=n(5397),r=n(5610),s=n(6198),o=function(e){return function(t,n,o){var a=i(t),l=s(a);if(0===l)return!e&&-1;var c,u=r(o,l);if(e&&n!=n){for(;l>u;)if((c=a[u++])!=c)return!0}else for(;l>u;u++)if((e||u in a)&&a[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9213:function(e,t,n){"use strict";var i=n(6080),r=n(7055),s=n(8981),o=n(6198),a=n(1469),l=n(2278),c=function(e){var t=1===e,n=2===e,c=3===e,u=4===e,d=6===e,h=7===e,p=5===e||d;return function(f,m,g){for(var v,y,b=s(f),w=r(b),_=o(w),x=i(m,g),k=0,C=0,S=t?a(f,_):n||h?a(f,0):void 0;_>k;k++)if((p||k in w)&&(y=x(v=w[k],k,b),e))if(t)l(S,k,y);else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:l(S,C++,v)}else switch(e){case 4:return!1;case 7:l(S,C++,v)}return d?-1:c||u?u:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},597:function(e,t,n){"use strict";var i=n(9039),r=n(8227),s=n(9519),o=r("species");e.exports=function(e){return s>=51||!i(function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}
vendor: 4,639 bytes, line 1
1},1!==t[e](Boolean).foo})}},4527:function(e,t,n){"use strict";var i=n(3724),r=n(4376),s=TypeError,o=Object.getOwnPropertyDescriptor,a=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(r(e)&&!o(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},7680:function(e,t,n){"use strict";var i=n(9504);e.exports=i([].slice)},7433:function(e,t,n){"use strict";var i=n(4376),r=n(3517),s=n(34),o=n(8227)("species"),a=Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(r(t)&&(t===a||i(t.prototype))||s(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?a:t}},1469:function(e,t,n){"use strict";var i=n(7433);e.exports=function(e,t){return new(i(e))(0===t?0:t)}},4428:function(e,t,n){"use strict";var i=n(8227)("iterator"),r=!1;try{var s=0,o={next:function(){return{done:!!s++}},return:function(){r=!0}};o[i]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!r)return!1}catch(e){return!1}var n=!1;try{var s={};s[i]=function(){return{next:function(){return{done:n=!0}}}},e(s)}catch(e){}return n}},2195:function(e,t,n){"use strict";var i=n(9504),r=i({}.toString),s=i("".slice);e.exports=function(e){return s(r(e),8,-1)}},6955:function(e,t,n){"use strict";var i=n(2140),r=n(4901),s=n(2195),o=n(8227)("toStringTag"),a=Object,l="Arguments"===s(function(){return arguments}());e.exports=i?s:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:l?s(t):"Object"===(i=s(t))&&r(t.callee)?"Arguments":i}},7740:function(e,t,n){"use strict";var i=n(9297),r=n(5031),s=n(7347),o=n(4913);e.exports=function(e,t,n){for(var a=r(t),l=o.f,c=s.f,u=0;u<a.length;u++){var d=a[u];i(e,d)||n&&i(n,d)||l(e,d,c(t,d))}}},2211:function(e,t,n){"use strict";var i=n(9039);e.exports=!i(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},2529:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:function(e,t,n){"use strict";var i=n(3724),r=n(4913),s=n(6980);e.exports=i?function(e,t,n){return r.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},2278:function(e,t,n){"use strict";var i=n(3724),r=n(4913),s=n(6980);e.exports=function(e,t,n){i?r.f(e,t,s(0,n)):e[t]=n}},2106:function(e,t,n){"use strict";var i=n(283),r=n(4913);e.exports=function(e,t,n){return n.get&&i(n.get,t,{getter:!0}),n.set&&i(n.set,t,{setter:!0}),r.f(e,t,n)}},6840:function(e,t,n){"use strict";var i=n(4901),r=n(4913),s=n(283),o=n(9433);e.exports=function(e,t,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(i(n)&&s(n,c,a),a.global)l?e[t]=n:o(t,n);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:r.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},9433:function(e,t,n){"use strict";var i=n(4576),r=Object.defineProperty;e.exports=function(e,t){try{r(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},3724:function(e,t,n){"use strict";var i=n(9039);e.exports=!i(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055:function(e,t,n){"use strict";var i=n(4576),r=n(34),s=i.document,o=r(s)&&r(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},6837:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw new t("Maximum allowed index exceeded");return e}},7400:function(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:function(e,t,n){"use strict";var i=n(4055)("span").classList,r=i&&i.constructor&&i.constructor.prototype;e.exports=r===Object.prototype?void 0:r},7015:function(e,t,n){"use strict";var i=n(4576),r=n(9504);e.exports=function(e,t){return r(i[e].prototype[t])}},8727:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"]},4265:function(e,t,n){"use strict";var i=n(2839);e.exports=/ipad|iphone|ipod/i.test(i)&&"undefined"!=typeof Pebble},9544:function(e,t,n){"use strict";var i=n(2839);e.exports=/ipad|iphone|ipod/i.test(i)&&/applewebkit/i.test(i)},8574:function(e,t,n){"use strict";var i=n(4215);e.exports="NODE"===i},7860:function(e,t,n){"use strict";var i=n(2839);e.exports=/web0s(?!.*chrome)/i.test(i)},2839:function(e,t,n){"use strict";var i=n(4576).navigator,r=i&&i.userAgent;e.exports=r?String(r):""},9519:function(e,t,n){"use strict";var i,r,s=n(4576),o=n(2839),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(r=(i=u.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&o&&(!(i=o.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=o.match(/Chrome\/(\d+)/))&&(r=+i[1]),e.exports=r},4215:function(e,t,n){"use strict";var i=n(4576),r=n(2839),s=n(2195),o=function(e){return r.slice(0,e.length)===e};e.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":i.Bun&&"string"==typeof Bun.version?"BUN":i.Deno&&"object"==typeof Deno.version?"DENO":"process"===s(i.process)?"NODE":i.window&&i.document?"BROWSER":"REST"},6193:function(e,t,n){"use strict";var i=n(9504),r=Error,s=i("".replace),o=String(new r("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=s(e,a,"");return e}},747:function(e,t,n){"use strict";var i=n(6699),r=n(6193),s=n(4659),o=Error.captureStackTrace;e.exports=function(e,t,n,a){s&&(o?o(e,t):i(e,"stack",r(n,a)))}},4659:function(e,t,n){"use strict";var i=n(9039),r=n(6980);e.exports=!i(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)})},6518:function(e,t,n){"use strict";var i=n(4576),r=n(7347).f,s=n(6699),o=n(6840),a=n(9433),l=n(7740),c=n(2796);e.exports=function(e,t){var n,u,d,h,p,f=e.target,m=e.global,g=e.stat;if(n=m?i:g?i[f]||a(f,{}):i[f]&&i[f].prototype)for(u in t){if(h=t[u],d=e.dontCallGetSet?(p=r(n,u))&&p.value:n[u],!c(m?u:f+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&s(h,"sham",!0),o(n,u,h,e)}}},9039:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8745:function(e,t,n){"use strict";var i=n(616),r=Function.prototype,s=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?o.bind(s):function(){return o.apply(s,arguments)})},6080:function(e,t,n){"use strict";var i=n(7476),r=n(9306),s=n(616),o=i(i.bind);e.exports=function(e,t){return r(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},616:function(e,t,n){"use strict";var i=n(9039);e.exports=!i(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},9565:function(e,t,n){"use strict";var i=n(616),r=Function.prototype.call;e.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},350:function(e,t,n){"use strict";var i=n(3724),r=n(9297),s=Function.prototype,o=i&&Object.getOwnPropertyDescriptor,a=r(s,"name"),l=a&&"something"===function(){}.name,c=a&&(!i||i&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},6706:function(e,t,n){"use strict";var i=n(9504),r=n(9306);e.exports=function(e,t,n){try{return i(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},7476:function(e,t,n){"use strict";var i=n(2195),r=n(9504);e.exports=function(e){if("Function"===i(e))return r(e)}},9504:function(e,t,n){"use strict";var i=n(616),r=Function.prototype,s=r.call,o=i&&r.bind.bind(s,s);e.exports=i?o:function(e){return function(){return s.apply(e,arguments)}}},7751:function(e,t,n){"use strict";var i=n(4576),r=n(4901);e.exports=function(e,t){return arguments.length<2?(n=i[e],r(n)?n:void 0):i[e]&&i[e][t];var n}},8563:function(e,t,n){"use strict";var i=n(9565),r=n(4901),s=n(8551),o=n(6823),a=n(3085),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(r(n))return s(i(n,e));throw new l(o(e)+" is not iterable")}},3085:function(e,t,n){"use strict";var i=n(2195),r=n(4117),s=n(5966),o=n(8227)("iterator"),a=Array.prototype;e.exports=function(e){if(!r(e))return s(e,o)||s(e,"@@iterator")||("Arguments"===i(e)?a[o]:void 0)}},5966:function(e,t,n){"use strict";var i=n(9306),r=n(4117);e.exports=function(e,t){var n=e[t];return r(n)?void 0:i(n)}},4576:function(e,t,n){"use strict";var i=function(e){return e&&e.Math===Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||i("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(e,t,n){"use strict";var i=n(9504),r=n(8981),s=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(r(e),t)}},421:function(e){"use strict";e.exports={}},5519:function(e){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},397:function(e,t,n){"use strict";var i=n(7751);e.exports=i("document","documentElement")},5917:function(e,t,n){"use strict";var i=n(3724),r=n(9039),s=n(4055);e.exports=!i&&!r(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},7055:function(e,t,n){"use strict";var i=n(9504),r=n(9039),s=n(2195),o=Object,a=i("".split);e.exports=r(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?a(e,""):o(e)}:o},3706:function(e,t,n){"use strict";var i=n(9504),r=n(4901),s=n(7629),o=i(Function.toString);r(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},7584:function(e,t,n){"use strict";var i=n(34),r=n(6699);e.exports=function(e,t){i(t)&&"cause"in t&&r(e,"cause",t.cause)}},1181:function(e,t,n){"use strict";var i,r,s,o=n(8622),a=n(4576),l=n(34),c=n(6699),u=n(9297),d=n(7629),h=n(6119),p=n(421),f="Object already initialized",m=a.TypeError,g=a.WeakMap;if(o||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,i=function(e,t){if(v.has(e))throw new m
vendor: 4,596 bytes, line 1
1(f);return t.facade=e,v.set(e,t),t},r=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=h("state");p[y]=!0,i=function(e,t){if(u(e,y))throw new m(f);return t.facade=e,c(e,y,t),t},r=function(e){return u(e,y)?e[y]:{}},s=function(e){return u(e,y)}}e.exports={set:i,get:r,has:s,enforce:function(e){return s(e)?r(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},4209:function(e,t,n){"use strict";var i=n(8227),r=n(6269),s=i("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[s]===e)}},4376:function(e,t,n){"use strict";var i=n(2195);e.exports=Array.isArray||function(e){return"Array"===i(e)}},4901:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},3517:function(e,t,n){"use strict";var i=n(9504),r=n(9039),s=n(4901),o=n(6955),a=n(7751),l=n(3706),c=function(){},u=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=i(d.exec),p=!d.test(c),f=function(e){if(!s(e))return!1;try{return u(c,[],e),!0}catch(e){return!1}},m=function(e){if(!s(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(d,l(e))}catch(e){return!0}};m.sham=!0,e.exports=!u||r(function(){var e;return f(f.call)||!f(Object)||!f(function(){e=!0})||e})?m:f},2796:function(e,t,n){"use strict";var i=n(9039),r=n(4901),s=/#|\.prototype\./,o=function(e,t){var n=l[a(e)];return n===u||n!==c&&(r(t)?i(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},4117:function(e){"use strict";e.exports=function(e){return null==e}},34:function(e,t,n){"use strict";var i=n(4901);e.exports=function(e){return"object"==typeof e?null!==e:i(e)}},3925:function(e,t,n){"use strict";var i=n(34);e.exports=function(e){return i(e)||null===e}},6395:function(e){"use strict";e.exports=!1},5810:function(e,t,n){"use strict";var i=n(34),r=n(1181).get;e.exports=function(e){if(!i(e))return!1;var t=r(e);return!!t&&"RawJSON"===t.type}},757:function(e,t,n){"use strict";var i=n(7751),r=n(4901),s=n(1625),o=n(7040),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return r(t)&&s(t.prototype,a(e))}},2652:function(e,t,n){"use strict";var i=n(6080),r=n(9565),s=n(8551),o=n(6823),a=n(4209),l=n(6198),c=n(1625),u=n(8563),d=n(3085),h=n(9539),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,n){var g,v,y,b,w,_,x,k=n&&n.that,C=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),T=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),I=i(t,k),A=function(e){var t=g;return g=void 0,t&&h(t,"normal"),new f(!0,e)},D=function(e){return C?(s(e),E?I(e[0],e[1],A):I(e[0],e[1])):E?I(e,A):I(e)};if(S)g=e.iterator;else if(T)g=e;else{if(!(v=d(e)))throw new p(o(e)+" is not iterable");if(a(v)){for(y=0,b=l(e);b>y;y++)if((w=D(e[y]))&&c(m,w))return w;return new f(!1)}g=u(e,v)}for(_=S?e.next:g.next;!(x=r(_,g)).done;){var M=x.value;try{w=D(M)}catch(e){if(!g)throw e;h(g,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new f(!1)}},9539:function(e,t,n){"use strict";var i=n(9565),r=n(8551),s=n(5966);e.exports=function(e,t,n){var o,a;r(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw n;return n}o=i(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return r(o),n}},3994:function(e,t,n){"use strict";var i=n(7657).IteratorPrototype,r=n(2360),s=n(6980),o=n(687),a=n(6269),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=r(i,{next:s(+!c,n)}),o(e,u,!1,!0),a[u]=l,e}},8707:function(e,t,n){"use strict";var i=n(6518),r=n(9565),s=n(6395),o=n(350),a=n(4901),l=n(3994),c=n(2787),u=n(2967),d=n(687),h=n(6699),p=n(6840),f=n(8227),m=n(6269),g=n(7657),v=o.PROPER,y=o.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,_=f("iterator"),x="keys",k="values",C="entries",S=function(){return this};e.exports=function(e,t,n,o,f,g,T){l(n,t,o);var E,I,A,D=function(e){if(e===f&&N)return N;if(!w&&e&&e in P)return P[e];switch(e){case x:case k:case C:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",O=!1,P=e.prototype,L=P[_]||P["@@iterator"]||f&&P[f],N=!w&&L||D(f),R="Array"===t&&P.entries||L;if(R&&(E=c(R.call(new e)))!==Object.prototype&&E.next&&(s||c(E)===b||(u?u(E,b):a(E[_])||p(E,_,S)),d(E,M,!0,!0),s&&(m[M]=S)),v&&f===k&&L&&L.name!==k&&(!s&&y?h(P,"
1name",k):(O=!0,N=function(){return r(L,this)})),f)if(I={values:D(k),keys:g?N:D(x),entries:D(C)},T)for(A in I)(w||O||!(A in P))&&p(P,A,I[A]);else i({target:t,proto:!0,forced:w||O},I);return s&&!T||P[_]===N||p(P,_,N,{name:f}),m[t]=N,I}},7657:function(e,t,n){"use strict";var i,r,s,o=n(9039),a=n(4901),l=n(34),c=n(2360),u=n(2787),d=n(6840),h=n(8227),p=n(6395),f=h("iterator"),m=!1;[].keys&&("next"in(s=[].keys())?(r=u(u(s)))!==Object.prototype&&(i=r):m=!0),!l(i)||o(function(){var e={};return i[f].call(e)!==e})?i={}:p&&(i=c(i)),a(i[f])||d(i,f,function(){return this}),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:m}},6269:function(e){"use strict";e.exports=Object.create?Object.create(null):{}},6198:function(e,t,n){"use strict";var i=n(8014);e.exports=function(e){return i(e.length)}},283:function(e,t,n){"use strict";var i=n(9504),r=n(9039),s=n(4901),o=n(9297),a=n(3724),l=n(350).CONFIGURABLE,c=n(3706),u=n(1181),d=u.enforce,h=u.get,p=String,f=Object.defineProperty,m=i("".slice),g=i("".replace),v=i([].join),y=a&&!r(function(){return 8!==f(function(){},"length",{value:8}).length}),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&o(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var i=d(e);return o(i,"source")||(i.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w(function(){return s(this)&&h(this).source||c(this)},"toString")},741:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},1955:function(e,t,n){"use strict";var i,r,s,o,a,l=n(4576),c=n(3389),u=n(6080),d=n(9225).set,h=n(8265),p=n(9544),f=n(4265),m=n(7860),g=n(8574),v=l.MutationObserver||l.WebKitMutationObserver,y=l.document,b=l.process,w=l.Promise,_=c("queueMicrotask");if(!_){var x=new h,k=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&i(),e}e&&e.enter()};p||g||m||!v||!y?!f&&w&&w.resolve?((o=w.resolve(void 0)).constructor=w,a=u(o.then,o),i=function(){a(k)}):g?i=function(){b.nextTick(k)}:(d=u(d,l),i=function(){d(k)}):(r=!0,s=y.createTextNode(""),new v(k).observe(s,{characterData:!0}),i=function(){s.data=r=!r}),_=function(e){x.head||i(),x.add(e)}}e.exports=_},7819:function(e,t,n){"use strict";var i=n(9039);e.exports=!i(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})},6043:function(e,t,n){"use strict";var i=n(9306),r=TypeError,s=function(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw new r("Bad Promise constructor");t=e,n=i}),this.resolve=i(t),this.reject=i(n)};e.exports.f=function(e){return new s(e)}},2603:function(e,t,n){"use strict";var i=n(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},2360:function(e,t,n){"use strict";var i,r=n(8551),s=n(6801),o=n(8727),a=n(421),l=n(397),c=n(4055),u=n(6119),d="prototype",h="script",p=u("IE_PROTO"),f=function(){},m=function(e){return"<"+h+">"+e+"</"+h+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&i?g(i):(t=c("iframe"),n="java"+h+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(i);for(var r=o.length;r--;)delete v[d][o[r]];return v()};a[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[d]=r(e),n=new f,f[d]=null,n[p]=e):n=v(),void 0===t?n:s.f(n,t)}},6801:function(e,t,n){"use strict";var i=n(3724),r=n(8686),s=n(4913),o=n(8551),a=n(5397),l=n(1072);t.f=i&&!r?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),r=l(t),c=r.length,u=0;c>u;)s.f(e,n=r[u++],i[n]);return e}},4913:function(e,t,n){"use strict";var i=n(3724),r=n(5917),s=n(8686),o=n(8551),a=n(6969),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",p="writable";t.f=i?s?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var i=u(e,t);
vendor: 7,261 bytes, line 1
1i&&i[p]&&(e[t]=n.value,n={configurable:h in n?n[h]:i[h],enumerable:d in n?n[d]:i[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(o(e),t=a(t),o(n),r)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7347:function(e,t,n){"use strict";var i=n(3724),r=n(9565),s=n(8773),o=n(6980),a=n(5397),l=n(6969),c=n(9297),u=n(5917),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=a(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return o(!r(s.f,e,t),e[t])}},298:function(e,t,n){"use strict";var i=n(2195),r=n(5397),s=n(8480).f,o=n(7680),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"===i(e)?function(e){try{return s(e)}catch(e){return o(a)}}(e):s(r(e))}},8480:function(e,t,n){"use strict";var i=n(1828),r=n(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},6098:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},2787:function(e,t,n){"use strict";var i=n(9297),r=n(4901),s=n(8981),o=n(6119),a=n(2211),l=o("IE_PROTO"),c=Object,u=c.prototype;e.exports=a?c.getPrototypeOf:function(e){var t=s(e);if(i(t,l))return t[l];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},1625:function(e,t,n){"use strict";var i=n(9504);e.exports=i({}.isPrototypeOf)},1828:function(e,t,n){"use strict";var i=n(9504),r=n(9297),s=n(5397),o=n(9617).indexOf,a=n(421),l=i([].push);e.exports=function(e,t){var n,i=s(e),c=0,u=[];for(n in i)!r(a,n)&&r(i,n)&&l(u,n);for(;t.length>c;)r(i,n=t[c++])&&(~o(u,n)||l(u,n));return u}},1072:function(e,t,n){"use strict";var i=n(1828),r=n(8727);e.exports=Object.keys||function(e){return i(e,r)}},8773:function(e,t){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);t.f=r?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},2967:function(e,t,n){"use strict";var i=n(6706),r=n(34),s=n(7750),o=n(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=i(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return s(n),o(i),r(n)?(t?e(n,i):n.__proto__=i,n):n}}():void 0)},3179:function(e,t,n){"use strict";var i=n(2140),r=n(6955);e.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},4270:function(e,t,n){"use strict";var i=n(9565),r=n(4901),s=n(34),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&r(n=e.toString)&&!s(a=i(n,e)))return a;if(r(n=e.valueOf)&&!s(a=i(n,e)))return a;if("string"!==t&&r(n=e.toString)&&!s(a=i(n,e)))return a;throw new o("Can't convert object to primitive value")}},5031:function(e,t,n){"use strict";var i=n(7751),r=n(9504),s=n(8480),o=n(6098),a=n(8551),l=r([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=s.f(a(e)),n=o.f;return n?l(t,n(e)):t}},8235:function(e,t,n){"use strict";var i=n(9504),r=n(9297),s=SyntaxError,o=parseInt,a=String.fromCharCode,l=i("".charAt),c=i("".slice),u=i(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},h=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var n=!0,i="";t<e.length;){var f=l(e,t);if("\\"===f){var m=c(e,t,t+2);if(r(d,m))i+=d[m],t+=2;else{if("\\u"!==m)throw new s('Unknown escape sequence: "'+m+'"');var g=c(e,t+=2,t+4);if(!u(h,g))throw new s("Bad Unicode escape at: "+t);i+=a(o(g,16)),t+=4}}else{if('"'===f){n=!1,t++;break}if(u(p,f))throw new s("Bad control character in string literal at: "+t);i+=f,t++}}if(n)throw new s("Unterminated string at: "+t);return{value:i,end:t}}},9167:function(e,t,n){"use strict";var i=n(4576);e.exports=i},1103:function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},916:function(e,t,n){"use strict";var i=n(4576),r=n(8169),s=n(4901),o=n(2796),a=n(3706),l=n(8227),c=n(4215),u=n(6395),d=n(9519),h=r&&r.prototype,p=l("species"),f=!1,m=s(i.PromiseRejectionEvent),g=o("Promise",function(){var e=a(r),t=e!==String(r);if(!t&&66===d)return!0;if(u&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new r(function(e){e(1)}),i=function(e){e(function(){},function(){})};if((n.constructor={})[p]=i,!(f=n.then(function(){})instanceof i))return!0}return!(t||"BROWSER"!==c&&"DENO"!==c||m)});e.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:f}},8169:function(e,t,n){"use strict";var i=n(4576);e.exports=i.Promise},3438:function(e,t,n){"use strict";var i=n(8551),r=n(34),s=n(6043);e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=s.f(e);return(0,n.resolve)(t),n.promise}},537:function(e,t,n){"use strict";var i=n(8169),r=n(4428),s=n(916).CONSTRUCTOR;e.exports=s||!r(function(e){i.all(e).then(void 0,function(){})})},8265:function(e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},7750:function(e,t,n){"use strict";var i=n(4117),r=TypeError;e.exports=function(e){if(i(e))throw new r("Can't call method on "+e);return e}},3389:function(e,t,n){"use strict";var i=n(4576),r=n(3724),s=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!r)return i[e];var t=s(i,e);return t&&t.value}},7633:function(e,t,n){"use strict";var i=n(7751),r=n(2106),s=n(8227),o=n(3724),a=s("species");e.exports=function(e){var t=i(e);o&&t&&!t[a]&&r(t,a,{configurable:!0,get:function(){return this}})}},687:function(e,t,n){"use strict";var i=n(4913).f,r=n(9297),s=n(8227)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!r(e,s)&&i(e,s,{configurable:!0,value:t})}},6119:function(e,t,n){"use strict";var i=n(5745),r=n(3392),s=i("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},7629:function(e,t,n){"use strict";var i=n(6395),r=n(4576),s=n(9433),o="__core-js_shared__",a=e.exports=r[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.50.0",mode:i?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(e,t,n){"use strict";var i=n(7629),r=Object.create||Object;e.exports=function(e,t){return i[e]||(i[e]=t||r(null))}},2293:function(e,t,n){"use strict";var i=n(8551),r=n(5548),s=n(4117),o=n(8227)("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||s(n=i(a)[o])?t:r(n)}},8183:function(e,t,n){"use strict";var i=n(9504),r=n(1291),s=n(655),o=n(7750),a=i("".charAt),l=i("".charCodeAt),c=i("".slice),u=function(e){return function(t,n){var i,u,d=s(o(t)),h=r(n),p=d.length;return h<0||h>=p?e?"":void 0:(i=l(d,h))<55296||i>56319||h+1===p||(u=l(d,h+1))<56320||u>57343?e?a(d,h):i:e?c(d,h,h+2):u-56320+(i-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},4495:function(e,t,n){"use strict";var i=n(9519),r=n(9039),s=n(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41})}
vendor: 6,404 bytes, line 1
1,8242:function(e,t,n){"use strict";var i=n(9565),r=n(7751),s=n(8227),o=n(6840);e.exports=function(){var e=r("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,a=s("toPrimitive");t&&!t[a]&&o(t,a,function(e){return i(n,this)},{arity:1})}},2586:function(e,t,n){"use strict";var i=n(7751),r=n(9504),s=i("Symbol"),o=s.keyFor,a=r(s.prototype.valueOf);e.exports=s.isRegisteredSymbol||function(e){try{return void 0!==o(a(e))}catch(e){return!1}}},2104:function(e,t,n){"use strict";for(var i=n(5745),r=n(7751),s=n(9504),o=n(757),a=n(8227),l=r("Symbol"),c=l.isWellKnownSymbol,u=r("Object","getOwnPropertyNames"),d=s(l.prototype.valueOf),h=i("wks"),p=0,f=u(l),m=f.length;p<m;p++)try{var g=f[p];o(l[g])&&a(g)}catch(e){}e.exports=function(e){if(c&&c(e))return!0;try{for(var t=d(e),n=0,i=u(h),r=i.length;n<r;n++)if(h[i[n]]==t)return!0}catch(e){}return!1}},1296:function(e,t,n){"use strict";var i=n(4495);e.exports=i&&!!Symbol.for&&!!Symbol.keyFor},9225:function(e,t,n){"use strict";var i,r,s,o,a=n(4576),l=n(8745),c=n(6080),u=n(4901),d=n(9297),h=n(9039),p=n(397),f=n(7680),m=n(4055),g=n(431),v=n(9544),y=n(8574),b=a.setImmediate,w=a.clearImmediate,_=a.process,x=a.Dispatch,k=a.Function,C=a.MessageChannel,S=a.String,T=0,E={},I="onreadystatechange";h(function(){i=a.location});var A=function(e){if(d(E,e)){var t=E[e];delete E[e],t()}},D=function(e){return function(){A(e)}},M=function(e){A(e.data)},O=function(e){a.postMessage(S(e),i.protocol+"//"+i.host)};b&&w||(b=function(e){g(arguments.length,1);var t=u(e)?e:k(e),n=f(arguments,1);return E[++T]=function(){l(t,void 0,n)},r(T),T},w=function(e){delete E[e]},y?r=function(e){_.nextTick(D(e))}:x&&x.now?r=function(e){x.now(D(e))}:C&&!v?(o=(s=new C).port2,s.port1.onmessage=M,r=c(o.postMessage,o)):a.addEventListener&&u(a.postMessage)&&!a.importScripts&&i&&"file:"!==i.protocol&&!h(O)?(r=O,a.addEventListener("message",M,!1)):r=I in m("script")?function(e){p.appendChild(m("script"))[I]=function(){p.removeChild(this),A(e)}}:function(e){setTimeout(D(e),0)}),e.exports={set:b,clear:w}},1240:function(e,t,n){"use strict";var i=n(9504);e.exports=i(1.1.valueOf)},5610:function(e,t,n){"use strict";var i=n(1291),r=Math.max,s=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):s(n,t)}},5397:function(e,t,n){"use strict";var i=n(7055),r=n(7750);e.exports=function(e){return i(r(e))}},1291:function(e,t,n){"use strict";var i=n(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:i(t)}},8014:function(e,t,n){"use strict";var i=n(1291),r=Math.min;e.exports=function(e){var t=i(e);return t>0?r(t,9007199254740991):0}},8981:function(e,t,n){"use strict";var i=n(7750),r=Object;e.exports=function(e){return r(i(e))}},2777:function(e,t,n){"use strict";var i=n(9565),r=n(34),s=n(757),o=n(5966),a=n(4270),l=n(8227),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!r(e)||s(e))return e;var n,l=o(e,u);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!r(n)||s(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},6969:function(e,t,n){"use strict";var i=n(2777),r=n(757);e.exports=function(e){var t=i(e,"string");return r(t)?t:t+""}},2140:function(e,t,n){"use strict";var i={};i[n(8227)("toStringTag")]="z",e.exports="[object z]"===String(i)},655:function(e,t,n){"use strict";var i=n(6955),r=String;e.exports=function(e){if("Symbol"===i(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},6823:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3392:function(e,t,n){"use strict";var i=n(9504),r=0,s=Math.random(),o=i(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+s,36)}},7040:function(e,t,n){"use strict";var i=n(4495);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(e,t,n){"use strict";var i=n(3724),r=n(9039);e.exports=i&&r(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},431:function(e){"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},8622:function(e,t,n){"use strict";var i=n(4576),r=n(4901),s=i.WeakMap;e.exports=r(s)&&/native code/.test(String(s))},511:function(e,t,n){"use strict";var i=n(9167),r=n(9297),s=n(1951),o=n(4913).f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});r(t,e)||o(t,e,{value:s.f(e)})}},1951:function(e,t,n){"use strict";var i=n(8227);t.f=i},8227:function(e,t,n){"use strict";var i=n(4576),r=n(5745),s=n(9297),o=n(3392),a=n(4495),l=n(7040),c=i.Symbol,u=r("wks"),d=l?c.for||c:c&&c.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(c,e)?c[e]:d("Symbol."+e)),u[e]}},7145:function(e,t,n){"use strict";var i=n(6518),r=n(1625),s=n(2787),o=n(2967),a=n(7740),l=n(2360),c=n(6699),u=n(6980),d=n(7584),h=n(747),p=n(2652),f=n(2603),m=n(8227)("toStringTag"),g=Error,v=[].push,y=function(e,t){var n,i=r(b,this);o?n=o(new g,i?s(this):b):(n=i?this:l(b),c(n,m,"Error")),void 0!==t&&c(n,"message",f(t)),h(n,y,n.stack,1),arguments.length>2&&d(n,arguments[2]);var a=[];return p(e,v,{that:a}),c(n,"errors",a),n};o?o(y,g):a(y,g,{name:!0});var b=y.prototype=l(g.prototype,{constructor:u(1,y),message:u(1,""),name:u(1,"AggregateError")});i({global:!0,constructor:!0,arity:2},{AggregateError:y})},67:function(e,t,n){"use strict";n(7145)},8706:function(e,t,n){"use strict";var i=n(6518),r=n(9039),s=n(4376),o=n(34),a=n(8981),l=n(6198),c=n(6837),u=n(2278),d=n(4527),h=n(1469),p=n(597),f=n(8227),m=n(9519),g=f("isConcatSpreadable"),v=m>=51||!r(function(){var e=[];return e[g]=!1,e.concat()[0]!==e}),y=function(e){if(!o(e))return!1;var t=e[g];return void 0!==t?!!t:s(e)};i({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var t,n,i,r,s,o=a(this),p=h(o,0),f=0;for(t=-1,i=arguments.length;t<i;t++)if(y(s=-1===t?o:arguments[t]))for(r=l(s),c(f+r),n=0;n<r;n++,f++)n in s&&u(p,f,s[n]);else c(f+1),u(p,f++,s);return d(p,f),p}})},3792:function(e,t,n){"use strict";var i=n(5397),r=n(6469),s=n(6269),o=n(1181),a=n(4913).f,l=n(8707),c=n(2529),u=n(6395),d=n(3724),h="Array Iterator",p=o.set,f=o.getterFor(h);e.exports=l(Array,"Array",function(e,t){p(this,{type:h,target:i(e),index:0,kind:t})},function(){var e=f(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)},"values");var m=s.Arguments=s.Array;
1if(r("keys"),r("values"),r("entries"),!u&&d&&"values"!==m.name)try{a(m,"name",{value:"values"})}catch(e){}},3110:function(e,t,n){"use strict";var i=n(6518),r=n(7751),s=n(9565),o=n(9504),a=n(9039),l=n(4376),c=n(4901),u=n(34),d=n(2360),h=n(5810),p=n(757),f=n(2195),m=n(1240),g=n(9617).includes,v=n(9297),y=n(655),b=n(8235),w=n(3392),_=n(4495),x=n(7819),k=String,C=TypeError,S=r("JSON","stringify"),T=r("BigInt"),E=o("".valueOf),I=o((!0).valueOf),A=T&&o(T.prototype.valueOf),D=o(/./.exec),M=o("".charAt),O=o("".charCodeAt),P=o("".replace),L=o("".slice),N=o([].push),R=o([].pop),B=o(1.1.toString),F=/[\uD800-\uDFFF]/g,V=/^[\uD800-\uDBFF]$/,$=/^[\uDC00-\uDFFF]$/,j=/^\d+$/,H=w(),z=w(),U=w(),q=H.length,W=z.length,G=!_||a(function(){var e=r("Symbol")("stringify detection");return"[null]"!==S([e])||"{}"!==S({a:e})||"{}"!==S(Object(e))}),Z=a(function(){return'"\\udf06\\ud834"'!==S("\udf06\ud834")||'"\\udead"'!==S("\udead")}),Y=x?r("JSON","isRawJSON"):h,K=G?function(e,t,n){return S(e,function(e,n){var i=s(t,this,e,n);if(!p(i))return i},n)}:S,J=function(e,t,n){var i=M(n,t-1),r=M(n,t+1);return D(V,e)&&!D($,r)||D($,e)&&!D(V,i)?"\\u"+B(O(e,0),16):e},X=function(e,t){try{return e(t),!0}catch(e){return!1}},Q=function(e,t){return{toJSON:function(){var n=e[t];if(u(n)||"bigint"==typeof n){var i=n.toJSON;c(i)&&(n=s(i,n,t))}return n}}};S&&i({target:"JSON",stat:!0,arity:3,forced:G||Z||!x},{stringify:function(e,t,n){var i,r=c(t)?t:void 0,o=r?void 0:function(e){if(l(e)){for(var t=e.length,n=[],i=d(null),r=0;r<t;r++){var s,o=e[r];if("string"==typeof o)s=o;else{if("number"!=typeof o&&"Number"!==f(o)&&"String"!==f(o))continue;s=y(o)}v(i,s)||(i[s]=!0,N(n,s))}return n}}(t),a=o&&function(e){for(var t=0,n=e.length;t<n;t++)if(D(j,e[t]))return z;return""}(o),h=[],p=[],w=[],_=!1,S=!0,T=K(e,function(e,t){if(e=k(e),o){if(e===U)return R(p),void(i=R(w));if(S)S=!1;else if(this!==i&&!l(this)&&!g(o,e))return}else r&&(t=s(r,this,e,t));if(Y(t))return x?t:(_=!0,H+(N(h,t.rawJSON)-1));if(o&&function(e){if(!u(e)||c(e)||l(e))return!1;try{return!function(e){var t=f(e);return"Number"===t&&X(m,e)||"String"===t&&X(E,e)||"Boolean"===t&&X(I,e)||!!A&&"BigInt"===t&&X(A,e)}(e)}catch(e){return!0}}(t)){if(g(p,t))throw new C("Converting circular structure to JSON");var n=function(e,t,n){for(var i=d(null),r=0,s=t.length;r<s;r++){var o=t[r];i[n+o]=Q(e,o)}return i[U]=null,i}(t,o,a);return N(p,t),N(w,i),i=n,a&&(_=!0),n}return t},n);if("string"!=typeof T)return T;if(Z&&(T=P(T,F,J)),!_)return T;for(var O="",B=T.length,V=0;V<B;V++){var $=M(T,V);if('"'===$){var G=b(T,++V).end-1,ee=L(T,V,G);L(ee,0,q)===H?O+=h[L(ee,q)]:L(ee,0,W)===z?O+='"'+L(ee,W)+'"':O+='"'+ee+'"',V=G}else O+=$}return O}})},4731:function(e,t,n){"use strict";var i=n(4576);n(687)(i.JSON,"JSON",!0)},479:function(e,t,n){"use strict";n(687)(Math,"Math",!0)},9904:function(e,t,n){"use strict";n(6518)({target:"Object",stat:!0,sham:!n(3724)},{create:n(2360)})},9773:function(e,t,n){"use strict";var i=n(6518),r=n(4495),s=n(9039),o=n(6098),a=n(8981);i({target:"Object",stat:!0,forced:!r||s(function(){o.f(1)})},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(a(e)):[]}})},6099:function(e,t,n){"use strict";var i=n(2140),r=n(6840),s=n(3179);i||r(Object.prototype,"toString",s,{unsafe:!0})},6167:function(e,t,n){"use strict";var i=n(6518),r=n(9565),s=n(9306),o=n(6043),a=n(1103),l=n(2652);i({target:"Promise",stat:!0,forced:n(537)},{allSettled:function(e){var t=this,n=o.f(t),i=n.resolve,c=n.reject,u=a(function(){var n=s(t.resolve),o=[],a=0,c=1;l(e,function(e){var s=a++,l=!1;c++,r(n,t,e).then(function(e){l||(l=!0,o[s]={status:"fulfilled",value:e},--c||i(o))},function(e){l||(l=!0,o[s]={status:"rejected",reason:e},--c||i(o))})}),--c||i(o)});return u.error&&c(u.value),n.promise}})},6499:function(e,t,n){"use strict";var i=n(6518),r=n(9565),s=n(9306),o=n(6043),a=n(1103),l=n(2652);i({target:"Promise",stat:!0,forced:n(537)},{all:function(e){var t=this,n=o.f(t),i=n.resolve,c=n.reject,u=a(function(){var n=s(t.resolve),o=[],a=0,u=1;l(e,function(e){var s=a++,l=!1;u++,r(n,t,e).then(function(e){l||(l=!0,o[s]=e,--u||i(o))},c)}),--u||i(o)});return u.error&&c(u.value),n.promise}})},3518:function(e,t,n){"use strict";var i=n(6518),r=n(9565),s=n(9306),o=n(7751),a=n(6043),l=n(1103),c=n(2652),u=n(537),d="No one promise resolved";i({target:"Promise",stat:!0,forced:u},{any:function(e){var t=this,n=o("AggregateError"),i=a.f(t),u=i.resolve,h=i.reject,p=l(function(){var i=s(t.resolve),o=[],a=0,l=1,p=!1;c(e,function(e){var s=a++,c=!1;l++,r(i,t,e).then(function(e){c||p||(p=!0,u(e))},function(e){c||p||(c=!0,o[s]=e,--l||h(new n(o,d)))})}),--l||h(new n(o,d))});return p.error&&h(p.value),i.promise}})},2003:function(e,t,n){"use strict";
vendor: 4,105 bytes, line 1
1var i=n(6518),r=n(6395),s=n(916).CONSTRUCTOR,o=n(8169),a=n(7751),l=n(4901),c=n(6840),u=o&&o.prototype;if(i({target:"Promise",proto:!0,forced:s,real:!0},{catch:function(e){return this.then(void 0,e)}}),!r&&l(o)){var d=a("Promise").prototype.catch;u.catch!==d&&c(u,"catch",d,{unsafe:!0})}},436:function(e,t,n){"use strict";var i,r,s,o,a=n(6518),l=n(6395),c=n(8574),u=n(4576),d=n(9167),h=n(9565),p=n(6840),f=n(2967),m=n(687),g=n(7633),v=n(9306),y=n(4901),b=n(34),w=n(679),_=n(2293),x=n(9225).set,k=n(1955),C=n(5519),S=n(1103),T=n(8265),E=n(1181),I=n(8169),A=n(916),D=n(6043),M="Promise",O=A.CONSTRUCTOR,P=A.REJECTION_EVENT,L=A.SUBCLASSING,N=E.getterFor(M),R=E.set,B=I&&I.prototype,F=I,V=B,$=u.TypeError,j=u.document,H=u.process,z=D.f,U=z,q=!!(j&&j.createEvent&&u.dispatchEvent),W="unhandledrejection",G=function(e){var t;return!(!b(e)||!y(t=e.then))&&t},Z=function(e,t){var n,i,r,s=t.value,o=1===t.state,a=o?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{a?(o||(2===t.rejection&&Q(t),t.rejection=1),!0===a?n=s:(u&&u.enter(),n=a(s),u&&(u.exit(),r=!0)),n===e.promise?c(new $("Promise-chain cycle")):(i=G(n))?h(i,n,l,c):l(n)):c(s)}catch(e){u&&!r&&u.exit(),c(e)}},Y=function(e,t){e.notified||(e.notified=!0,k(function(){for(var n,i=e.reactions;n=i.get();)Z(n,e);e.notified=!1,t&&!e.rejection&&J(e)}))},K=function(e,t,n){var i,r;q?((i=j.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),u.dispatchEvent(i)):i={promise:t,reason:n},!P&&(r=u["on"+e])?r(i):e===W&&C("Unhandled promise rejection",n)},J=function(e){h(x,u,function(){var t,n=e.facade,i=e.value;if(X(e)&&(t=S(function(){c?H.emit("unhandledRejection",i,n):K(W,n,i)}),e.rejection=c||X(e)?2:1,t.error))throw t.value})},X=function(e){return 1!==e.rejection&&!e.parent},Q=function(e){h(x,u,function(){var t=e.facade;c?H.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)})},ee=function(e,t,n){return function(i){e(t,i,n)}},te=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Y(e,!0))},ne=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new $("Promise can't be resolved itself");var i=G(t);i?k(function(){var n={done:!1};try{h(i,t,ee(ne,n,e),ee(te,n,e))}catch(t){te(n,t,e)}}):(e.value=t,e.state=1,Y(e,!1))}catch(t){te({done:!1},t,e)}}};if(O&&(V=(F=function(e){w(this,V),v(e),h(i,this);var t=N(this);try{e(ee(ne,t),ee(te,t))}catch(e){te(t,e)}}).prototype,(i=function(e){R(this,{type:M,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:0,value:null})}).prototype=p(V,"then",function(e,t){var n=N(this),i=z(_(this,F));return n.parent=!0,i.ok=!y(e)||e,i.fail=y(t)&&t,i.domain=c?H.domain:void 0,0===n.state?n.reactions.add(i):k(function(){Z(i,n)}),i.promise}),r=function(){var e=new i,t=N(e);this.promise=e,this.resolve=ee(ne,t),this.reject=ee(te,t)},D.f=z=function(e){return e===F||e===s?new r(e):U(e)},!l&&y(I)&&B!==Object.prototype)){o=B.then,L||p(B,"then",function(e,t){var n=this;return new F(function(e,t){h(o,n,e,t)}).then(e,t)},{unsafe:!0});try{delete B.constructor}catch(e){}f&&f(B,V)}a({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:F}),s=d.Promise,m(F,M,!1,!0),g(M)},9391:function(e,t,n){"use strict";var i=n(6518),r=n(6395),s=n(8169),o=n(9039),a=n(7751),l=n(4901),c=n(2293),u=n(3438),d=n(6840),h=s&&s.prototype;if(i({target:"Promise",proto:!0,real:!0,forced:!!s&&o(function(){h.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=c(this,a("Promise")),n=l(e);return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}}),!r&&l(s)){var p=a("Promise").prototype.finally;h.finally!==p&&d(h,"finally",p,{unsafe:!0})}},3362:function(e,t,n){"use strict";n(436),n(6499),n(2003),n(7743),n(1481),n(280)},7743:function(e,t,n){"use strict";var i=n(6518),r=n(9565),s=n(9306),o=n(6043),a=n(1103),l=n(2652);i({target:"Promise",stat:!0,forced:n(537)},{race:function(e){var t=this,n=o.f(t),i=n.reject,c=a(function(){var o=s(t.resolve);l(e,function(e){r(o,t,e).then(n.resolve,i)})});return c.error&&i(c.value),n.promise}})},1481:function(e,t,n){"use strict";var i=n(6518),r=n(6043);
1i({target:"Promise",stat:!0,forced:n(916).CONSTRUCTOR},{reject:function(e){var t=r.f(this);return(0,t.reject)(e),t.promise}})},280:function(e,t,n){"use strict";var i=n(6518),r=n(7751),s=n(6395),o=n(8169),a=n(916).CONSTRUCTOR,l=n(3438),c=r("Promise"),u=s&&!a;i({target:"Promise",stat:!0,forced:s||a},{resolve:function(e){return l(u&&this===c?o:this,e)}})},1689:function(e,t,n){"use strict";var i=n(6518),r=n(4576),s=n(8745),o=n(7680),a=n(3438),l=n(6043),c=n(9306),u=n(1103),d=n(9039),h=r.Promise,p=!1;i({target:"Promise",stat:!0,forced:!h||!h.try||d(function(){var e=h.resolve();return h.try(function(t){return p=8===t,e},8)!==e})||!p},{try:function(e){var t=arguments.length>1?o(arguments,1):[],n=u(function(){return s(c(e),void 0,t)});if(!n.error)return a(this,n.value);var i=l.f(this);return(0,i.reject)(n.value),i.promise}})},4628:function(e,t,n){"use strict";var i=n(6518),r=n(6043);i({target:"Promise",stat:!0},{withResolvers:function(){var e=r.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},1137:function(e,t,n){"use strict";n(6518)({target:"Reflect",stat:!0},{ownKeys:n(5031)})},5472:function(e,t,n){"use strict";var i=n(6518),r=n(4576),s=n(687);i({global:!0},{Reflect:{}}),s(r.Reflect,"Reflect",!0)},7764:function(e,t,n){"use strict";var i=n(8183).charAt,r=n(655),s=n(1181),o=n(8707),a=n(2529),l="String Iterator",c=s.set,u=s.getterFor(l);o(String,"String",function(e){c(this,{type:l,string:r(e),index:0})},function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?a(void 0,!0):(e=i(n,r),t.index+=e.length,a(e,!1))})},4113:function(e,t,n){"use strict";var i=n(4576),r=n(511),s=n(4913).f,o=n(7347).f,a=i.Symbol;if(r("asyncDispose"),a){var l=o(a,"asyncDispose");l.enumerable&&l.configurable&&l.writable&&s(a,"asyncDispose",{value:l.value,enumerable:!1,configurable:!1,writable:!1})}},6412:function(e,t,n){"use strict";n(511)("asyncIterator")},6761:function(e,t,n){"use strict";var i=n(6518),r=n(4576),s=n(9565),o=n(9504),a=n(6395),l=n(3724),c=n(4495),u=n(9039),d=n(9297),h=n(1625),p=n(8551),f=n(5397),m=n(6969),g=n(655),v=n(6980),y=n(2360),b=n(1072),w=n(8480),_=n(298),x=n(6098),k=n(7347),C=n(4913),S=n(6801),T=n(8773),E=n(6840),I=n(2106),A=n(5745),D=n(6119),M=n(421),O=n(3392),P=n(8227),L=n(1951),N=n(511),R=n(8242),B=n(687),F=n(1181),V=n(9213).forEach,$=D("hidden"),j="Symbol",H="prototype",z=F.set,U=F.getterFor(j),q=Object[H],W=r.Symbol,G=W&&W[H],Z=r.RangeError,Y=r.TypeError,K=r.QObject,J=k.f,X=C.f,Q=_.f,ee=T.f,te=o([].push),ne=A("symbols"),ie=A("op-symbols"),re=A("wks"),se=!K||!K[H]||!K[H].findChild,oe=function(e,t,n){var i=J(q,t);return i&&delete q[t],X(e,t,n),i&&e!==q&&X(q,t,i),e},ae=l&&u(function(){return 7!==y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a})?oe:X,le=function(e,t){var n=ne[e]=y(G);return z(n,{type:j,tag:e,description:t}),l||(n.description=t),n},ce=function(e,t,n){e===q&&ce(ie,t,n),p(e);var i=m(t);return p(n),d(ne,i)?(("enumerable"in n?!n.enumerable:!d(e,i)||d(e,$)&&e[$][i])?(d(e,$)||X(e,$,v(1,y(null))),e[$][i]=!0):(d(e,$)&&e[$][i]&&(e[$][i]=!1),n=y(n,{enumerable:v(0,!1)})),ae(e,i,n)):X(e,i,n)},ue=function(e,t){p(e);var n=f(t),i=b(n).concat(fe(n));return V(i,function(t){l&&!s(de,n,t)||ce(e,t,n[t])}),e},de=function(e){var t=m(e),n=s(ee,this,t);
1return!(this===q&&d(ne,t)&&!d(ie,t))&&(!(n||!d(this,t)||!d(ne,t)||d(this,$)&&this[$][t])||n)},he=function(e,t){var n=f(e),i=m(t);if(n!==q||!d(ne,i)||d(ie,i)){var r=J(n,i);return!r||!d(ne,i)||d(n,$)&&n[$][i]||(r.enumerable=!0),r}},pe=function(e){var t=Q(f(e)),n=[];return V(t,function(e){d(ne,e)||d(M,e)||te(n,e)}),n},fe=function(e){var t=e===q,n=Q(t?ie:f(e)),i=[];return V(n,function(e){!d(ne,e)||t&&!d(q,e)||te(i,ne[e])}),i};c||(W=function(){if(h(G,this))throw new Y("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=O(e),n=function(e){var i=void 0===this?r:this;i===q&&s(n,ie,e),d(i,$)&&d(i[$],t)&&(i[$][t]=!1);var o=v(1,e);try{ae(i,t,o)}catch(e){if(!(e instanceof Z))throw e;oe(i,t,o)}};return l&&se&&ae(q,t,{configurable:!0,set:n}),le(t,e)},E(G=W[H],"toString",function(){return U(this).tag}),E(W,"withoutSetter",function(e){return le(O(e),e)}),T.f=de,C.f=ce,S.f=ue,k.f=he,w.f=_.f=pe,x.f=fe,L.f=function(e){return le(P(e),e)},l&&(I(G,"description",{configurable:!0,get:function(){return U(this).description}}),a||E(q,"propertyIsEnumerable",de,{unsafe:!0}))),i({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),V(b(re),function(e){N(e)}),i({target:j,stat:!0,forced:!c},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),i({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?y(e):ue(y(e),t)},defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:he}),i({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe}),R(),B(W,j),M[$]=!0},9463:function(e,t,n){"use strict";var i=n(6518),r=n(3724),s=n(4576),o=n(9565),a=n(9504),l=n(9297),c=n(4901),u=n(1625),d=n(655),h=n(2106),p=n(7740),f=s.Symbol,m=f&&f.prototype;if(r&&c(f)&&(!("description"in m)||void 0!==f().description)){var g={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:d(arguments[0]),t=u(m,this)?new f(e):void 0===e?f():f(e);return""===e&&(g[t]=!0),t};p(v,f);var y=v.for;v.for={for:function(e){var t=d(e),n=o(y,this,t);return""===t&&(g[n]=!0),n}}.for,v.prototype=m,m.constructor=v;var b="Symbol(description detection)"===String(f("description detection")),w=a(m.valueOf),_=a(m.toString),x=/^Symbol\((.*)\)[^)]+$/,k=a("".replace),C=a("".slice);h(m,"description",{configurable:!0,get:function(){var e=w(this);if(l(g,e))return"";var t=_(e),n=b?C(t,7,-1):k(t,x,"$1");return""===n?void 0:n}}),i({global:!0,constructor:!0,forced:!0},{Symbol:v})}},7324:function(e,t,n){"use strict";var i=n(4576),r=n(511),s=n(4913).f,o=n(7347).f,a=i.Symbol;if(r("dispose"),a){var l=o(a,"dispose");l.enumerable&&l.configurable&&l.writable&&s(a,"dispose",{value:l.value,enumerable:!1,configurable:!1,writable:!1})}},1510:function(e,t,n){"use strict";var i=n(6518),r=n(7751),s=n(9297),o=n(655),a=n(5745),l=n(1296),c=a("string-to-symbol-registry"),u=a("symbol-to-string-registry");i({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=o(e);if(s(c,t))return c[t];var n=r("Symbol")(t);return c[t]=n,u[n]=t,n}})},193:function(e,t,n){"use strict";n(511)("hasInstance")},2168:function(e,t,n){"use strict";n(511)("isConcatSpreadable")},2259:function(e,t,n){"use strict";n(511)("iterator")},2675:function(e,t,n){"use strict";n(6761),n(1510),n(7812),n(3110),n(9773)},7812:function(e,t,n){"use strict";var i=n(6518),r=n(9297),s=n(757),o=n(6823),a=n(5745),l=n(1296),c=a("symbol-to-string-registry");i({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!s(e))throw new TypeError(o(e)+" is not a symbol");if(r(c,e))return c[e]}})},3142:function(e,t,n){"use strict";n(511)("matchAll")},6964:function(e,t,n){"use strict";n(511)("match")},3237:function(e,t,n){"use strict";n(511)("replace")},1833:function(e,t,n){"use strict";n(511)("search")},7947:function(e,t,n){"use strict";n(511)("species")},1073:function(e,t,n){"use strict";n(511)("split")},5700:function(e,t,n){"use strict";var i=n(511),r=n(8242);i("toPrimitive"),r()},8125:function(e,t,n){"use strict";var i=n(7751),r=n(511),s=n(687);r("toStringTag"),s(i("Symbol"),"Symbol")},326:function(e,t,n){"use strict";n(511)("unscopables")},9806:function(e,t,n){"use strict";n(67)},6401:function(e,t,n){"use strict";var i=n(8227),r=n(4913).f,s=i("metadata"),o=Function.prototype;void 0===o[s]&&r(o,s,{value:null})},1545:function(e,t,n){"use strict";var i=n(6518),r=n(9306),s=n(8551),o=n(9565),a=n(2278),l=n(7751),c=n(7347),u=n(6043),d=n(1103),h=l("Object","create"),p=l("Reflect","ownKeys");i({target:"Promise",stat:!0},{allKeyed:function(e){var t=this,n=u.f(t),i=n.resolve,l=n.reject,f=d(function(){for(var n=r(t.resolve),u=p(s(e)),d=[],f=[],m=1,g=0,v=0;v<u.length;v++)(function(r){var s=c.f(e,r);if(s&&s.enumerable){var u=g,p=!1;m++,d[u]=r,f[u]=void 0,o(n,t,e[r]).then(function(e){if(!p&&(p=!0,f[u]=e,0===--m)){for(var t=h(null),n=0;n<d.length;n++)a(t,d[n],f[n]);i(t)}},l),g++}})(u[v]);--m||i(h(null))});return f.error&&l(f.value),n.promise}})},4189:function(e,t,n){"use strict";var i=n(6518),r=n(9306),s=n(8551),o=n(9565),a=n(2278),l=n(7751),c=n(7347),u=n(6043),d=n(1103),h=l("Object","create"),p=l("Reflect","ownKeys");i({target:"Promise",stat:!0},{allSettledKeyed:function(e){var t=this,n=u.f(t),i=n.resolve,l=n.reject,f=d(function(){for(var n=r(t.resolve),l=p(s(e)),u=[],d=[],f=1,m=0,g=0;g<l.length;g++)(function(r){var s=c.f(e,r);if(s&&s.enumerable){var l=function(e){return function(t){if(!g&&(g=!0,d[p]=e?{status:"rejected",reason:t}:{status:"fulfilled",value:t},! --f)){for(var n=h(null),r=0;r<u.length;r++)a(n,u[r],d[r]);i(n)}}},p=m,g=!1;f++,u[p]=r,d[p]=void 0,o(n,t,e[r]).then(l(!1),l(!0)),m++}})(l[g]);--f||i(h(null))});return f.error&&l(f.value),n.promise}})},5874:function(e,t,n){"use strict";n(6167)},7575:function(e,t,n){"use strict";n(3518)},7628:function(e,t,n){"use strict";n(1689)},3799:function(e,t,n){"use strict";n(4628)},1202:function(e,t,n){"use strict";n(4113)},9604:function(e,t,n){"use strict";n(511)("customMatcher")},3275:function(e,t,n){"use strict";n(7324)},3070:function(e,t,n){"use strict";n(6518)({target:"Symbol",stat:!0},{isRegisteredSymbol:n(2586)})},7153:function(e,t,n){"use strict";n(6518)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:n(2586)})},3032:function(e,t,n){"use strict";n(6518)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:n(2104)})},3803:function(e,t,n){"use strict";n(6518)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:n(2104)})},3976:function(e,t,n){"use strict";n(511)("matcher")},8999:function(e,t,n){"use strict";n(511)("metadataKey")},465:function(e,t,n){"use strict";n(511)("metadata")},2793:function(e,t,n){"use strict";n(511)("observable")},7208:function(e,t,n){"use strict";n(511)("patternMatch")},3440:function(e,t,n){"use strict";n(511)("replaceAll")},2953:function(e,t,n){"use strict";var i=n(4576),r=n(7400),s=n(9296),o=n(3792),a=n(6699),l=n(687),c=n(8227)("iterator"),u=o.values,d=function(e,t){if(e){if(e[c]!==u)try{a(e,c,u)}catch(t){e[c]=u}if(l(e,t,!0),r[t])for(var n in o)if(e[n]!==o[n])try{a(e,n,o[n])}catch(t){e[n]=o[n]}}};for(var h in r)d(i[h]&&i[h].prototype,h);d(s,"DOMTokenList")},9326:function(e,t,n){"use strict";var i=n(5899);e.exports=i},2473:function(e,t,n){"use strict";var i=n(6398);n(2953),e.exports=i},884:function(e,t,n){"use strict";var i=n(9281);n(2953),e.exports=i},8630:function(e,t,n){var i;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof n.g?n.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),i=r(e);function r(e,t){return function(n,i){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:i}),t&&t(n,i)}}
vendor: 6,536 bytes, line 1
1void 0!==t.Reflect&&(i=r(t.Reflect,i)),function(e,t){var n=Object.prototype.hasOwnProperty,i="function"==typeof Symbol,r=i&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",s=i&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,a={__proto__:[]}instanceof Array,l=!o&&!a,c={create:o?function(){return H(Object.create(null))}:a?function(){return H({__proto__:null})}:function(){return H({})},has:l?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),d="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[s]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var i=this._keys.length,r=n+1;r<i;r++)this._keys[r-1]=this._keys[r],this._values[r-1]=this._values[r];return this._keys.length--,this._values.length--,L(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,i)},t.prototype.values=function(){return new n(this._keys,this._values,r)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[s]=function(){return this.entries()},t.prototype._find=function(e,t){if(!L(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(L(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function i(e,t){return e}function r(e,t){return t}function o(e,t){return[e,t]}}(),h="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new d}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[s]=function(){return this.keys()},e}(),p="function"==typeof WeakMap?WeakMap:function(){var e=c.create(),t=i();return function(){function e(){this._key=i()}return e.prototype.has=function(e){var t=r(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=r(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return r(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=r(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=i()},e}();function i(){var t;do{t="@@WeakMap@@"+o()}while(c.has(e,t));return e[t]=!0,t}function r(e,i){if(!n.call(e,t)){if(!i)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function s(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):s(t,e),t}return s(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var i=e[n];4!==n&&6!==n&&8!==n||(t+="-"),i<16&&(t+="0"),t+=i.toString(16).toLowerCase()}return t}}(),f=i?Symbol.for("@reflect-metadata:registry"):void 0,m=function(){var e;return!S(f)&&E(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[f]),S(e)&&(e=function(){var e,n,i,r;S(f)||void 0===t.Reflect||f in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,i=e.getOwnMetadata,r=e.getOwnMetadataKeys,s=e.deleteMetadata,o=new p;return{isProviderFor:function(e,t){var n=o.get(e);return!(S(n)||!n.has(t))||!!r(e,t).length&&(S(n)&&(n=new h,o.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:i,OrdinaryOwnMetadataKeys:r,OrdinaryDeleteMetadata:s}}(t.Reflect));var s=new p,o={registerProvider:a,getProvider:c,setProvider:m};return o;function a(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case S(n):n=t;break;case n===t:break;case S(i):i=t;break;case i===t:break;default:void 0===r&&(r=new h),r.add(t)}}function l(t,s){if(!S(n)){if(n.isProviderFor(t,s))return n;if(!S(i)){if(i.isProviderFor(t,s))return n;if(!S(r))for(var o=R(r);;){var a=F(o);if(!a)return;var l=B(a);if(l.isProviderFor(t,s))return V(o),l}}}if(!S(e)&&e.isProviderFor(t,s))return e}function c(e,t){var n,i=s.get(e);return S(i)||(n=i.get(t)),S(n)?(S(n=l(e,t))||(S(i)&&(i=new d,s.set(e,i)),i.set(t,n)),n):n}function u(e){if(S(e))throw new TypeError;return n===e||i===e||!S(r)&&r.has(e)}function m(e,t,n){if(!u(n))throw new Error("Metadata provider not registered.");var i=c(e,t);if(i!==n){if(!S(i))return!1;var r=s.get(e);S(r)&&(r=new d,s.set(e,r)),r.set(t,n)}return!0}}()),!S(f)&&E(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,f,{enumerable:!1,
vendor: 4,236 bytes, line 1
1configurable:!1,writable:!1,value:e}),e}(),g=function(e){var t=new p,n={isProviderFor:function(e,n){var i=t.get(e);return!S(i)&&i.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,r){i(n,r,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var r=i(t,n,!1);return!S(r)&&A(r.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var r=i(t,n,!1);if(!S(r))return r.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],r=i(e,t,!1);if(S(r))return n;for(var s=R(r.keys()),o=0;;){var a=F(s);if(!a)return n.length=o,n;var l=B(a);try{n[o]=l}catch(e){try{V(s)}finally{throw e}}o++}},OrdinaryDeleteMetadata:function(e,n,r){var s=i(n,r,!1);if(S(s))return!1;if(!s.delete(e))return!1;if(0===s.size){var o=t.get(n);S(o)||(o.delete(r),0===o.size&&t.delete(o))}return!0}};return m.registerProvider(n),n;function i(i,r,s){var o=t.get(i),a=!1;if(S(o)){if(!s)return;o=new d,t.set(i,o),a=!0}var l=o.get(r);if(S(l)){if(!s)return;if(l=new d,o.set(r,l),!e.setProvider(i,r,n))throw o.delete(r),a&&t.delete(i),new Error("Wrong provider for target.")}return l}}(m);function v(e,t,n){if(y(e,t,n))return!0;var i=$(t);return!T(i)&&v(e,i,n)}function y(e,t,n){var i=j(t,n,!1);return!S(i)&&A(i.OrdinaryHasOwnMetadata(e,t,n))}function b(e,t,n){if(y(e,t,n))return w(e,t,n);var i=$(t);return T(i)?void 0:b(e,i,n)}function w(e,t,n){var i=j(t,n,!1);if(!S(i))return i.OrdinaryGetOwnMetadata(e,t,n)}function _(e,t,n,i){j(n,i,!0).OrdinaryDefineOwnMetadata(e,t,n,i)}function x(e,t){var n=k(e,t),i=$(e);if(null===i)return n;var r=x(i,t);if(r.length<=0)return n;if(n.length<=0)return r;for(var s=new h,o=[],a=0,l=n;a<l.length;a++){var c=l[a];s.has(c)||(s.add(c),o.push(c))}for(var u=0,d=r;u<d.length;u++)c=d[u],s.has(c)||(s.add(c),o.push(c));return o}function k(e,t){var n=j(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function C(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function S(e){return void 0===e}function T(e){return null===e}function E(e){return"object"==typeof e?null!==e:"function"==typeof e}function I(e,t){switch(C(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",i=N(e,r);if(void 0!==i){var s=i.call(e,n);if(E(s))throw new TypeError;return s}return function(e,t){if("string"===t){var n=e.toString;if(O(n)&&!E(r=n.call(e)))return r;if(O(i=e.valueOf)&&!E(r=i.call(e)))return r}else{var i;if(O(i=e.valueOf)&&!E(r=i.call(e)))return r;var r,s=e.toString;if(O(s)&&!E(r=s.call(e)))return r}throw new TypeError}(e,"default"===n?"number":n)}function A(e){return!!e}function D(e){var t=I(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function M(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function O(e){return"function"==typeof e}function P(e){return"function"==typeof e}function L(e,t){return e===t||e!=e&&t!=t}function N(e,t){var n=e[t];if(null!=n){if(!O(n))throw new TypeError;return n}}function R(e){var t=N(e,s);if(!O(t))throw new TypeError;var n=t.call(e);if(!E(n))throw new TypeError;return n}function B(e){return e.value}function F(e){var t=e.next();return!t.done&&t}function V(e){var t=e.return;t&&t.call(e)}function $(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===u)return t;if(t!==u)return t;var n=e.prototype,i=n&&Object.getPrototypeOf(n);if(null==i||i===Object.prototype)return t;var r=i.constructor;return"function"!=typeof r||r===e?t:r}function j(e,t,n){var i=m.getProvider(e,t);if(!S(i))return i;if(n){if(m.setProvider(e,t,g))return g;throw new Error("Illegal state.")}}function H(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,i){if(S(n)){if(!M(e))throw new TypeError;if(!P(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var i=(0,e[n])(t);if(!S(i)&&!T(i)){if(!P(i))throw new TypeError;t=i}}return t}(e,t)}if(!M(e))throw new TypeError;if(!E(t))throw new TypeError;if(!E(i)&&!S(i)&&!T(i))throw new TypeError;return T(i)&&(i=void 0),function(e,t,n,i){for(var r=e.length-1;r>=0;--r){var s=(0,e[r])(t,n,i);if(!S(s)&&!T(s)){if(!E(s))throw new TypeError;i=s}}return i}(e,t,n=D(n),i)}
1),e("metadata",function(e,t){return function(n,i){if(!E(n))throw new TypeError;if(!S(i)&&!function(e){switch(C(e)){case 3:case 4:return!0;default:return!1}}(i))throw new TypeError;_(e,t,n,i)}}),e("defineMetadata",function(e,t,n,i){if(!E(n))throw new TypeError;return S(i)||(i=D(i)),_(e,t,n,i)}),e("hasMetadata",function(e,t,n){if(!E(t))throw new TypeError;return S(n)||(n=D(n)),v(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!E(t))throw new TypeError;return S(n)||(n=D(n)),y(e,t,n)}),e("getMetadata",function(e,t,n){if(!E(t))throw new TypeError;return S(n)||(n=D(n)),b(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!E(t))throw new TypeError;return S(n)||(n=D(n)),w(e,t,n)}),e("getMetadataKeys",function(e,t){if(!E(e))throw new TypeError;return S(t)||(t=D(t)),x(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!E(e))throw new TypeError;return S(t)||(t=D(t)),k(e,t)}),e("deleteMetadata",function(e,t,n){if(!E(t))throw new TypeError;if(S(n)||(n=D(n)),!E(t))throw new TypeError;S(n)||(n=D(n));var i=j(t,n,!1);return!S(i)&&i.OrdinaryDeleteMetadata(e,t,n)})}(i,t),void 0===t.Reflect&&(t.Reflect=e)}()}(i||(i={}))},3293:function(e,t,n){"use strict";const i="3.9.3",r=i,s="function"==typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0}):void 0,o="function"==typeof TextEncoder?new TextEncoder:void 0,a=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),l=(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(a),c=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,u=String.fromCharCode.bind(String),d="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),h=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),p=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),f=e=>{let t,n,i,r,s="";const o=e.length%3;for(let o=0;o<e.length;){if((n=e.charCodeAt(o++))>255||(i=e.charCodeAt(o++))>255||(r=e.charCodeAt(o++))>255)throw new TypeError("invalid character found");t=n<<16|i<<8|r,s+=a[t>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}return o?s.slice(0,o-3)+"===".substring(o):s},m="function"==typeof btoa?e=>btoa(e):f,g="function"==typeof Uint8Array.prototype.toBase64?e=>e.toBase64():e=>{let t=[];for(let n=0,i=e.length;n<i;n+=4096)t.push(u.apply(null,e.subarray(n,n+4096)));return m(t.join(""))},v=(e,t=!1)=>t?h(g(e)):g(e),y=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},b=/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g,w=e=>e.replace(b,y),_=o?e=>g(o.encode(e)):e=>m(w(e)),x=(e,t=!1)=>t?h(_(e)):_(e),k=e=>x(e,!0),C=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return u((t>>>10)+55296)+u(56320+(1023&t));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},T=e=>e.replace(C,S),E=e=>{if(e=e.replace(/\s+/g,""),!c.test(e))throw new TypeError("malformed base64.");let t,n,i;e+="==".slice(2-(3&e.length));let r=[];for(let s=0;s<e.length;)t=l[e.charAt(s++)]<<18|l[e.charAt(s++)]<<12|(n=l[e.charAt(s++)])<<6|(i=l[e.charAt(s++)]),64===n?r.push(u(t>>16&255)):64===i?r.push(u(t>>16&255,t>>8&255)):r.push(u(t>>16&255,t>>8&255,255&t));return r.join("")},I="function"==typeof atob?e=>atob(p(e)):E,A="function"==typeof Uint8Array.fromBase64?e=>Uint8Array.fromBase64(e):e=>d(I(e).split("").map(e=>e.charCodeAt(0))),D=e=>A(O(e)),M=s?e=>s.decode(A(e)):e=>T(I(e)),O=e=>p(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),P=e=>M(O(e)),L=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),N=function(){const e=(e,t)=>Object.defineProperty(String.prototype,e,L(t));e("fromBase64",function(){return P(this)}),e("toBase64",function(e){return x(this,e)}),e("toBase64URI",function(){return x(this,!0)}),e("toBase64URL",function(){return x(this,!0)}),e("toUint8Array",function(){return D(this)})},R=function(){const e=(e,t)=>
1Object.defineProperty(Uint8Array.prototype,e,L(t));e("toBase64",function(e){return v(this,e)}),e("toBase64URI",function(){return v(this,!0)}),e("toBase64URL",function(){return v(this,!0)})},B={version:i,VERSION:r,atob:I,atobPolyfill:E,btoa:m,btoaPolyfill:f,fromBase64:P,toBase64:x,encode:x,encodeURI:k,encodeURL:k,utob:w,btou:T,decode:P,isValid:e=>{if("string"!=typeof e)return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:v,toUint8Array:D,extendString:N,extendUint8Array:R,extendBuiltins:()=>{N(),R()}};n.d(t,["o4",0,B])},1635:function(e,t,n){"use strict";n.d(t,{AQ:function(){return h},C6:function(){return r},Cl:function(){return s},Ju:function(){return l},N3:function(){return d},YH:function(){return a},fX:function(){return u},sH:function(){return o},xN:function(){return p},zs:function(){return c}});var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},s.apply(this,arguments)};function o(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(e){s(e)}}function a(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function a(e,t){var n,i,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function l(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function u(e,t,n){if(n||2===arguments.length)for(var i,r=0,s=t.length;r<s;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function d(e){return this instanceof d?(this.v=e,this):new d(e)}function h(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),s=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),i[Symbol.asyncIterator]=function(){return this},i;function o(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,i){s.push([e,t,n,i])>1||a(e,t)})},t&&(i[e]=t(i[e])))}function a(e,t){try{(n=r[e](t)).value instanceof d?Promise.resolve(n.value.v).then(l,c):u(s[0][2],n)}catch(e){u(s[0][3],e)}var n}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function p(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=l(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){!function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)}(i,r,(t=e[n](t)).done,t.value)})}}}Object.create,Object.create}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}
vendor: 6,325 bytes, line 1
1o.m=r,o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var r=Object.create(null);o.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(function(e){s[e]=function(){return n[e]}});return s.default=function(){return n},o.d(r,s),r},o.d=function(e,t){if(Array.isArray(t))for(var n=0;n<t.length;){var i=t[n++],r=t[n++];o.o(e,i)?0===r&&n++:0===r?Object.defineProperty(e,i,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,i,{enumerable:!0,get:r})}else for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce(function(t,n){return o.f[n](e,t),t},[]))},o.u=function(e){return({16:"highcharts",57:"videojs-http-streaming",225:"videojs"}[e]||e)+".bundle.js"},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},i="raiffeisen-experience-manager-frontend:",o.l=function(e,t,r,s){if(n[e])n[e].push(t);else{var a,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+r){a=d;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",i+r),a.src=e),n[e]=[t];var h=function(t,i){a.onerror=a.onload=null,clearTimeout(p);var r=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach(function(e){return e(i)}),t)return t(i)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),l&&document.head.appendChild(a)}},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=n[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e}(),function(){var e={792:0};o.f.j=function(t,n){var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise(function(n,r){i=e[t]=[n,r]});n.push(i[2]=r);var s=o.p+o.u(t),a=new Error;o.l(s,function(n){if(o.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+s+")",a.name="ChunkLoadError",a.type=r,a.request=s,a.event=n,i[1](a)}},"chunk-"+t,t)}};var t=function(t,n){var i,r,s=n[0],a=n[1],l=n[2],c=0;if(s.some(function(t){return 0!==e[t]})){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);l&&l(o)}for(t&&t(n);c<s.length;c++)r=s[c],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0},n=self.webpackChunkraiffeisen_experience_manager_frontend=self.webpackChunkraiffeisen_experience_manager_frontend||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";o(3476),o(550),o(1088),o(5127),o(2770),o(6879),o(2552);var e=o(3323),t=o(6295),n=o(8027),i=o(2384),r=o(3285),s=o(2804),a=o(4692);a(document).ready(()=>{e.q.init(),e.q.changeFancyboxDefaults(),e.q.testTouchevents(),n.sM.update(),i.r.getToken(),a(window).on("orientationchange resize",t.A.debounce(()=>{a("html").trigger("cms.resize"),n.sM.update()},300)),e.q.isEditMode()&&window.$("html").on("init.rwm.author",t.A.debounce(t=>{e.q.init(t.target)},300)),r.e.initOneTrust(),window.consentChanged=function(){r.e.consentChanges()},s._.setUTMUrlParameter()})}(),function(){"use strict";var e={};o.r(e),o.d(e,{ANIMATION_MODULE_TYPE:function(){return CS},APP_BOOTSTRAP_LISTENER:function(){return oF},APP_ID:function(){return bS},APP_INITIALIZER:function(){return iF},ApplicationInitStatus:function(){return sF},ApplicationModule:function(){return PZ},ApplicationRef:function(){return hF},Attribute:function(){return dC},COMPILER_OPTIONS:function(){return uq},CSP_NONCE:function(){return SS},CUSTOM_ELEMENTS_SCHEMA:function(){return fE},ChangeDetectionStrategy:function(){return PC},ChangeDetectorRef:function(){return uZ},Compiler:function(){return cq},CompilerFactory:function(){return dq},Component:function(){return tq},ComponentFactory:function(){return IP},ComponentFactoryResolver:function(){return DP},ComponentRef:function(){return EP},ContentChild:function(){return PG},ContentChildren:function(){return OG},DEFAULT_CURRENCY_CODE:function(){return kq},DOCUMENT:function(){return Q_},DebugElement:function(){return Dq},DebugEventListener:function(){return Eq},DebugNode:function(){return Aq},DefaultIterableDiffer:function(){return gZ},DestroyRef:function(){return ex},Directive:function(){return eq},ENVIRONMENT_INITIALIZER:function(){return Zy},ElementRef:function(){return xC},EmbeddedViewRef:function(){return pZ},EnvironmentInjector:function(){return Cb},ErrorHandler:function(){return ix},EventEmitter:function(){return rD},HOST_TAG_NAME:function(){return gG},Host:function(){return Wx},HostAttributeToken:function(){return mG},HostBinding:function(){return sq},HostListener:function(){return oq},INJECTOR:function(){return Yy},Inject:function(){return Hx},Injectable:function(){return bC},InjectionToken:function(){return $v},Injector:function(){return X_},Input:function(){return iq},IterableDiffers:function(){return SZ},KeyValueDiffers:function(){return EZ},LOCALE_ID:function(){return xq},MAX_ANIMATION_TIMEOUT:function(){return aV},MissingTranslationStrategy:function(){return Tq},ModuleWithComponentFactories:function(){return lq}
1,NO_ERRORS_SCHEMA:function(){return mE},NgModule:function(){return aq},NgModuleFactory:function(){return xN},NgModuleRef:function(){return _N},NgProbeToken:function(){return uF},NgZone:function(){return dD},Optional:function(){return zx},Output:function(){return rq},OutputEmitterRef:function(){return Hq},PACKAGE_ROOT_URL:function(){return kS},PLATFORM_ID:function(){return xS},PLATFORM_INITIALIZER:function(){return _S},PendingTasks:function(){return xx},Pipe:function(){return nq},PlatformRef:function(){return GG},Query:function(){return MG},QueryList:function(){return SC},REQUEST:function(){return WY},REQUEST_CONTEXT:function(){return ZY},RESPONSE_INIT:function(){return GY},Renderer2:function(){return OP},RendererFactory2:function(){return MP},RendererStyleFlags2:function(){return zA},Sanitizer:function(){return PP},SecurityContext:function(){return bw},Self:function(){return Ux},SimpleChange:function(){return rk},SkipSelf:function(){return qx},TRANSLATIONS:function(){return Cq},TRANSLATIONS_FORMAT:function(){return Sq},TemplateRef:function(){return tO},Testability:function(){return JB},TestabilityRegistry:function(){return XB},TransferState:function(){return DS},Type:function(){return Yx},VERSION:function(){return Jg},Version:function(){return Kg},ViewChild:function(){return NG},ViewChildren:function(){return LG},ViewContainerRef:function(){return AL},ViewEncapsulation:function(){return pE},ViewRef:function(){return hZ},afterEveryRender:function(){return kD},afterNextRender:function(){return CD},afterRenderEffect:function(){return jY},asNativeElements:function(){return Iq},assertInInjectionContext:function(){return Pb},assertNotInReactiveContext:function(){return px},assertPlatform:function(){return XG},booleanAttribute:function(){return mY},computed:function(){return qq},contentChild:function(){return CG},contentChildren:function(){return SG},createComponent:function(){return zY},createEnvironmentInjector:function(){return IN},createNgModule:function(){return kN},createNgModuleRef:function(){return CN},createPlatform:function(){return YG},createPlatformFactory:function(){return KG},defineInjectable:function(){return Pv},destroyPlatform:function(){return eZ},effect:function(){return Gq},enableProdMode:function(){return oZ},enableProfiling:function(){return jB},forwardRef:function(){return uv},getDebugNode:function(){return Fq},getModuleFactory:function(){return aZ},getNgModuleById:function(){return lZ},getPlatform:function(){return QG},importProvidersFrom:function(){return ab},inject:function(){return Dy},input:function(){return bG},inputBinding:function(){return _L},isDevMode:function(){return sZ},isSignal:function(){return lx},isStandalone:function(){return rb},linkedSignal:function(){return Qq},makeEnvironmentProviders:function(){return sb},makeStateKey:function(){return IS},mergeApplicationConfig:function(){return qY},model:function(){return AG},numberAttribute:function(){return gY},output:function(){return vG},outputBinding:function(){return xL},platformCore:function(){return OZ},provideAppInitializer:function(){return rF},provideBrowserGlobalErrorListeners:function(){return ax},provideCheckNoChangesConfig:function(){return rZ},provideEnvironmentInitializer:function(){return ob},provideNgReflectAttributes:function(){return lA},providePlatformInitializer:function(){return nZ},provideZoneChangeDetection:function(){return mq},provideZonelessChangeDetection:function(){return _q},reflectComponentType:function(){return UY},resolveForwardRef:function(){return dv},resource:function(){return tW},runInInjectionContext:function(){return Mb},setTestabilityGetter:function(){return QB},signal:function(){return ux},twoWayBinding:function(){return kL},untracked:function(){return Uq},viewChild:function(){return _G},viewChildren:function(){return xG},"ɵANIMATIONS_DISABLED":function(){return oV},"ɵAcxChangeDetectionStrategy":function(){return lS},"ɵAcxViewEncapsulation":function(){return cS},"ɵAfterRenderManager":function(){return bD},"ɵCLIENT_RENDER_MODE_FLAG":function(){return dY},"ɵCONTAINER_HEADER_OFFSET":function(){return 10},"ɵChangeDetectionScheduler":function(){return gx},"ɵChangeDetectionSchedulerImpl":function(){return wq},"ɵComponentFactory":function(){return IP},"ɵConsole":function(){return dB},"ɵDEFAULT_LOCALE_ID":function(){return"en-US"},"ɵDEFER_BLOCK_CONFIG":function(){return KR},"ɵDEFER_BLOCK_DEPENDENCY_INTERCEPTOR":function(){return YR},"ɵDEHYDRATED_BLOCK_REGISTRY":function(){return CT},"ɵDeferBlockBehavior":function(){return TR},"ɵDeferBlockState":function(){return fR},"ɵENABLE_ROOT_COMPONENT_BOOTSTRAP":function(){return jG},"ɵEffectScheduler":function(){return Cx},"ɵFramework":function(){return aS},"ɵHydrationStatus":function(){return FT},"ɵIMAGE_CONFIG":function(){return ES},"ɵIMAGE_CONFIG_DEFAULTS":function(){return TS},"ɵINJECTOR_SCOPE":function(){return bb},"ɵINPUT_SIGNAL_BRAND_WRITE_TYPE":function(){return uG},"ɵINTERNAL_APPLICATION_ERROR_HANDLER":function(){return rx},"ɵIS_ENABLED_BLOCKING_INITIAL_NAVIGATION":function(){return nT},"ɵIS_HYDRATION_DOM_REUSE_ENABLED":function(){return YS},"ɵIS_INCREMENTAL_HYDRATION_ENABLED":function(){return eT},"ɵJSACTION_BLOCK_ELEMENT_MAP":function(){return tT},"ɵJSACTION_EVENT_CONTRACT":function(){return bT},"ɵLContext":function(){return FC},"ɵLocaleDataIndex":function(){return O$},"ɵNG_COMP_DEF":function(){return ty},"ɵNG_DIR_DEF":function(){return ny},"ɵNG_ELEMENT_ID":function(){return oy},"ɵNG_INJ_DEF":function(){return Vv},"ɵNG_MOD_DEF":function(){return ry},"ɵNG_PIPE_DEF":function(){return iy},"ɵNG_PROV_DEF":function(){return Fv},"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR":function(){return HP},"ɵNO_CHANGE":function(){return PA},"ɵNgModuleFactory":function(){return TN},"ɵNoopNgZone":function(){return vD},"ɵPERFORMANCE_MARK_PREFIX":function(){return vY},"ɵPROVIDED_NG_ZONE":function(){return pq},"ɵPendingTasksInternal":function(){return _x},"ɵR3Injector":function(){return Sb},"ɵReflectionCapabilities":function(){return tk},"ɵRender3ComponentFactory":function(){return TL},"ɵRender3ComponentRef":function(){return IL},"ɵRender3NgModuleRef":function(){return SN},"ɵResourceImpl":function(){return iW},"ɵRuntimeError":function(){return ev},"ɵSIGNAL":function(){return ug}
1,"ɵSSR_CONTENT_INTEGRITY_MARKER":function(){return"nghm"},"ɵTESTABILITY":function(){return YB},"ɵTESTABILITY_GETTER":function(){return KB},"ɵTimerScheduler":function(){return GR},"ɵTracingAction":function(){return QA},"ɵTracingService":function(){return eD},"ɵViewRef":function(){return XM},"ɵXSS_SECURITY_URL":function(){return Qg},"ɵZONELESS_ENABLED":function(){return vx},"ɵ_sanitizeHtml":function(){return AI},"ɵ_sanitizeUrl":function(){return sI},"ɵallLeavingAnimations":function(){return XA},"ɵallowSanitizationBypassAndThrow":function(){return ZE},"ɵannotateForHydration":function(){return YZ},"ɵassertType":function(){return TY},"ɵbypassSanitizationTrustHtml":function(){return KE},"ɵbypassSanitizationTrustResourceUrl":function(){return eI},"ɵbypassSanitizationTrustScript":function(){return XE},"ɵbypassSanitizationTrustStyle":function(){return JE},"ɵbypassSanitizationTrustUrl":function(){return QE},"ɵclearResolutionOfComponentResourcesQueue":function(){return fN},"ɵcompileComponent":function(){return BU},"ɵcompileDirective":function(){return FU},"ɵcompileNgModule":function(){return kU},"ɵcompileNgModuleDefs":function(){return CU},"ɵcompileNgModuleFactory":function(){return RG},"ɵcompilePipe":function(){return XU},"ɵconvertToBitFlags":function(){return My},"ɵcreateInjector":function(){return K_},"ɵcreateOrReusePlatformInjector":function(){return tZ},"ɵdefaultIterableDiffers":function(){return DZ},"ɵdefaultKeyValueDiffers":function(){return MZ},"ɵdepsTracker":function(){return jP},"ɵdevModeEqual":function(){return oL},"ɵdisableProfiling":function(){return CY},"ɵenableProfiling":function(){return kY},"ɵencapsulateResourceError":function(){return oW},"ɵfindLocaleData":function(){return E$},"ɵflushModuleScopingQueueAsMuchAsPossible":function(){return _U},"ɵformatRuntimeError":function(){return tv},"ɵgenerateStandaloneInDeclarationsError":function(){return SU},"ɵgetAsyncClassMetadataFn":function(){return lB},"ɵgetClosestComponentName":function(){return SY},"ɵgetComponentDef":function(){return eb},"ɵgetDebugNode":function(){return Fq},"ɵgetDeferBlocks":function(){return vB},"ɵgetDirectives":function(){return oS},"ɵgetDocument":function(){return yS},"ɵgetHostElement":function(){return uS},"ɵgetInjectableDef":function(){return Nv},"ɵgetLContext":function(){return VC},"ɵgetLocaleCurrencyCode":function(){return I$},"ɵgetLocalePluralCase":function(){return A$},"ɵgetOutputDestroyRef":function(){return zq},"ɵgetSanitizationBypassType":function(){return YE},"ɵgetTransferState":function(){return HB},"ɵgetUnknownElementStrictMode":function(){return yE},"ɵgetUnknownPropertyStrictMode":function(){return _E},"ɵglobal":function(){return nv},"ɵinferTagNameFromDefinition":function(){return SL},"ɵinjectChangeDetectorRef":function(){return dZ},"ɵinternalCreateApplication":function(){return LZ},"ɵinternalProvideZoneChangeDetection":function(){return fq},"ɵisBoundToModule":function(){return cF},"ɵisComponentDefPendingResolution":function(){return hN},"ɵisEnvironmentProviders":function(){return ey},"ɵisInjectable":function(){return Rv},"ɵisNgModule":function(){return NP},"ɵisPromise":function(){return tF},"ɵisSubscribable":function(){return nF},"ɵisViewDirty":function(){return QM},"ɵmarkForRefresh":function(){return eO},"ɵnoSideEffects":function(){return Lx},"ɵpatchComponentDefWithScope":function(){return PU},"ɵperformanceMarkFeature":function(){return nD},"ɵpublishExternalGlobalUtil":function(){return GB},"ɵreadHydrationInfo":function(){return jT},"ɵregisterLocaleData":function(){return T$},"ɵrenderDeferBlockState":function(){return XR},"ɵresetCompiledComponents":function(){return DU},"ɵresetIncrementalHydrationEnabledWarnedForTests":function(){return ZT},"ɵresetJitOptions":function(){return yU},"ɵresolveComponentResources":function(){return cN},"ɵrestoreComponentResolutionQueue":function(){return mN},"ɵsetAllowDuplicateNgModuleIdsForTest":function(){return wN},"ɵsetAlternateWeakRefImpl":function(){return cW},"ɵsetClassDebugInfo":function(){return dU},"ɵsetClassMetadata":function(){return uB},"ɵsetClassMetadataAsync":function(){return cB},"ɵsetCurrentInjector":function(){return ig},"ɵsetDocument":function(){return vS},"ɵsetInjectorProfilerContext":function(){return zv},"ɵsetLocaleId":function(){return V$},"ɵsetUnknownElementStrictMode":function(){return vE},"ɵsetUnknownPropertyStrictMode":function(){return wE},"ɵstartMeasuring":function(){return bY},"ɵstopMeasuring":function(){return wY},"ɵstore":function(){return Ow},"ɵstringify":function(){return ov},"ɵtransitiveScopesFor":function(){return LU},"ɵtriggerResourceLoading":function(){return wF},"ɵtruncateMiddle":function(){return lv},"ɵunregisterLocaleData":function(){return M$},"ɵunwrapSafeValue":function(){return GE},"ɵunwrapWritableSignal":function(){return cx},"ɵwithDomHydration":function(){return hY},"ɵwithEventReplay":function(){return VZ},"ɵwithI18nSupport":function(){return pY},"ɵwithIncrementalHydration":function(){return fY},"ɵɵCopyDefinitionFeature":function(){return KN},"ɵɵExternalStylesFeature":function(){return Nz},"ɵɵFactoryTarget":function(){return hG},"ɵɵHostDirectivesFeature":function(){return JN},"ɵɵInheritDefinitionFeature":function(){return HN},"ɵɵNgOnChangesFeature":function(){return ok},"ɵɵProvidersFeature":function(){return Lz},"ɵɵadvance":function(){return $A},"ɵɵanimateEnter":function(){return DV},"ɵɵanimateEnterListener":function(){return MV},"ɵɵanimateLeave":function(){return OV},"ɵɵanimateLeaveListener":function(){return PV},"ɵɵariaProperty":function(){return rV},"ɵɵattachSourceLocations":function(){return mz},"ɵɵattribute":function(){return sV},"ɵɵclassMap":function(){return SH},"ɵɵclassProp":function(){return xH},"ɵɵcomponentInstance":function(){return LV},"ɵɵconditional":function(){return UV},"ɵɵconditionalBranchCreate":function(){return zV},"ɵɵconditionalCreate":function(){return HV},"ɵɵcontentQuery":function(){return Yj},"ɵɵcontentQuerySignal":function(){return Qj},"ɵɵdeclareLet":function(){return hz},"ɵɵdefer":function(){return NF},"ɵɵdeferEnableTimerScheduling":function(){return oB},"ɵɵdeferHydrateNever":function(){return VF},"ɵɵdeferHydrateOnHover":function(){return JF},"ɵɵdeferHydrateOnIdle":function(){return HF},"ɵɵdeferHydrateOnImmediate":function(){return qF},"ɵɵdeferHydrateOnInteraction":function(){return eV},"ɵɵdeferHydrateOnTimer":function(){return ZF},"ɵɵdeferHydrateOnViewport":function(){return iV},"ɵɵdeferHydrateWhen":function(){return FF},"ɵɵdeferOnHover":function(){return YF},"ɵɵdeferOnIdle":function(){return $F},"ɵɵdeferOnImmediate":function(){return zF},"ɵɵdeferOnInteraction":function(){return XF},"ɵɵdeferOnTimer":function(){return WF},"ɵɵdeferOnViewport":function(){return tV},"ɵɵdeferPrefetchOnHover":function(){return KF},"ɵɵdeferPrefetchOnIdle":function(){return jF},"ɵɵdeferPrefetchOnImmediate":function(){return UF},"ɵɵdeferPrefetchOnInteraction":function(){return QF},"ɵɵdeferPrefetchOnTimer":function(){return GF},"ɵɵdeferPrefetchOnViewport":function(){return nV},"ɵɵdeferPrefetchWhen":function(){return BF},"ɵɵdeferWhen":function(){return RF},"ɵɵdefineComponent":function(){return DN},"ɵɵdefineDirective":function(){return NN},"ɵɵdefineInjectable":function(){return Ov},"ɵɵdefineInjector":function(){return Lv},"ɵɵdefineNgModule":function(){return ON},"ɵɵdefinePipe":function(){return RN},"ɵɵdirectiveInject":function(){return qP},"ɵɵdisableBindings":function(){return i_},"ɵɵdomElement":function(){return c$},"ɵɵdomElementContainer":function(){return v$},"ɵɵdomElementContainerEnd":function(){return g$},"ɵɵdomElementContainerStart":function(){return m$},"ɵɵdomElementEnd":function(){return l$},"ɵɵdomElementStart":function(){return a$},"ɵɵdomListener":function(){return zj},"ɵɵdomProperty":function(){return _$},"ɵɵdomTemplate":function(){return aR},"ɵɵelement":function(){return o$},"ɵɵelementContainer":function(){return f$},"ɵɵelementContainerEnd":function(){return p$},"ɵɵelementContainerStart":function(){return h$},"ɵɵelementEnd":function(){return s$},"ɵɵelementStart":function(){return r$},"ɵɵenableBindings":function(){return n_},"ɵɵgetComponentDepsFactory":function(){return uU},"ɵɵgetCurrentView":function(){return w$},"ɵɵgetInheritedFactory":function(){return aC},"ɵɵgetReplaceMetadataURL":function(){return hU},"ɵɵi18n":function(){return Rj},"ɵɵi18nApply":function(){return Vj},"ɵɵi18nAttributes":function(){return Bj},"ɵɵi18nEnd":function(){return Nj},"ɵɵi18nExp":function(){return Fj},"ɵɵi18nPostprocess":function(){return $j},"ɵɵi18nStart":function(){return Lj},"ɵɵinject":function(){return Iy},"ɵɵinjectAttribute":function(){return uC},"ɵɵinterpolate":function(){return gz},"ɵɵinterpolate1":function(){return vz},"ɵɵinterpolate2":function(){return yz},"ɵɵinterpolate3":function(){return bz},"ɵɵinterpolate4":function(){return wz},"ɵɵinterpolate5":function(){return _z},"ɵɵinterpolate6":function(){return xz},"ɵɵinterpolate7":function(){return kz},"ɵɵinterpolate8":function(){return Cz},"ɵɵinterpolateV":function(){return Sz},"ɵɵinvalidFactory":function(){return WP},"ɵɵinvalidFactoryDep":function(){return Ay},"ɵɵlistener":function(){return jj},"ɵɵloadQuery":function(){return Xj},"ɵɵnamespaceHTML":function(){return q_},"ɵɵnamespaceMathML":function(){return U_},"ɵɵnamespaceSVG":function(){return z_},"ɵɵnextContext":function(){return qj},"ɵɵngDeclareClassMetadata":function(){return IY},"ɵɵngDeclareClassMetadataAsync":function(){return AY},"ɵɵngDeclareComponent":function(){return DY},"ɵɵngDeclareDirective":function(){return EY},"ɵɵngDeclareFactory":function(){return MY},"ɵɵngDeclareInjectable":function(){return PY},"ɵɵngDeclareInjector":function(){return LY},"ɵɵngDeclareNgModule":function(){return NY},"ɵɵngDeclarePipe":function(){return RY},"ɵɵpipe":function(){return nU},"ɵɵpipeBind1":function(){return iU},"ɵɵpipeBind2":function(){return rU},"ɵɵpipeBind3":function(){return sU},"ɵɵpipeBind4":function(){return oU},"ɵɵpipeBindV":function(){return aU},"ɵɵprojection":function(){return Zj},"ɵɵprojectionDef":function(){return Gj},"ɵɵproperty":function(){return n$},"ɵɵpureFunction0":function(){return $z},"ɵɵpureFunction1":function(){return jz},"ɵɵpureFunction2":function(){return Hz},"ɵɵpureFunction3":function(){return zz},"ɵɵpureFunction4":function(){return Uz},"ɵɵpureFunction5":function(){return qz},"ɵɵpureFunction6":function(){return Wz},"ɵɵpureFunction7":function(){return Gz},"ɵɵpureFunction8":function(){return Zz},"ɵɵpureFunctionV":function(){return Yz},"ɵɵqueryAdvance":function(){return tH},"ɵɵqueryRefresh":function(){return Jj},"ɵɵreadContextLet":function(){return fz},"ɵɵreference":function(){return nH},"ɵɵregisterNgModuleType":function(){return yN},"ɵɵrepeater":function(){return XV},"ɵɵrepeaterCreate":function(){return YV},"ɵɵrepeaterTrackByIdentity":function(){return GV},"ɵɵrepeaterTrackByIndex":function(){return WV},"ɵɵreplaceMetadata":function(){return pU}
1,"ɵɵresetView":function(){return l_},"ɵɵresolveBody":function(){return hA},"ɵɵresolveDocument":function(){return dA},"ɵɵresolveWindow":function(){return uA},"ɵɵrestoreView":function(){return a_},"ɵɵsanitizeHtml":function(){return WI},"ɵɵsanitizeResourceUrl":function(){return YI},"ɵɵsanitizeScript":function(){return KI},"ɵɵsanitizeStyle":function(){return GI},"ɵɵsanitizeUrl":function(){return ZI},"ɵɵsanitizeUrlOrResourceUrl":function(){return QI},"ɵɵsetComponentScope":function(){return Rz},"ɵɵsetNgModuleScope":function(){return Bz},"ɵɵstoreLet":function(){return pz},"ɵɵstyleMap":function(){return kH},"ɵɵstyleProp":function(){return _H},"ɵɵsyntheticHostListener":function(){return Hj},"ɵɵsyntheticHostProperty":function(){return x$},"ɵɵtemplate":function(){return oR},"ɵɵtemplateRefExtractor":function(){return cU},"ɵɵtext":function(){return VH},"ɵɵtextInterpolate":function(){return JH},"ɵɵtextInterpolate1":function(){return XH},"ɵɵtextInterpolate2":function(){return QH},"ɵɵtextInterpolate3":function(){return ez},"ɵɵtextInterpolate4":function(){return tz},"ɵɵtextInterpolate5":function(){return nz},"ɵɵtextInterpolate6":function(){return iz},"ɵɵtextInterpolate7":function(){return rz},"ɵɵtextInterpolate8":function(){return sz},"ɵɵtextInterpolateV":function(){return oz},"ɵɵtrustConstantHtml":function(){return JI},"ɵɵtrustConstantResourceUrl":function(){return XI},"ɵɵtwoWayBindingSet":function(){return cz},"ɵɵtwoWayListener":function(){return uz},"ɵɵtwoWayProperty":function(){return lz},"ɵɵvalidateAttribute":function(){return sA},"ɵɵviewQuery":function(){return Kj},"ɵɵviewQuerySignal":function(){return eH}}),o(5781),o(6130),o(2440),o(7452),o(8216),o(8630);const t=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*
1)","g");class n{element=null;classNames=[];attrs=[];notSelectors=[];static parse(e){const i=[],r=(e,t)=>{t.notSelectors.length>0&&!t.element&&0==t.classNames.length&&0==t.attrs.length&&(t.element="*"),e.push(t)};let s,o=new n,a=o,l=!1;for(t.lastIndex=0;s=t.exec(e);){if(s[1]){if(l)throw new Error("Nesting :not in a selector is not allowed");l=!0,a=new n,o.notSelectors.push(a)}const e=s[2];if(e){const t=s[3];"#"===t?a.addAttribute("id",e.slice(1)):"."===t?a.addClassName(e.slice(1)):a.setElement(e)}const t=s[4];if(t&&a.addAttribute(a.unescapeAttribute(t),s[6]),s[7]&&(l=!1,a=o),s[8]){if(l)throw new Error("Multiple selectors in :not are not supported");r(i,o),o=a=new n}}return r(i,o),i}unescapeAttribute(e){let t="",n=!1;for(let i=0;i<e.length;i++){const r=e.charAt(i);if("\\"!==r){if("$"===r&&!n)throw new Error(`Error in attribute selector "${e}". Unescaped "$" is not supported. Please escape with "\\$".`);n=!1,t+=r}else n=!0}return t}escapeAttribute(e){return e.replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}
1setElement(e=null){this.element=e}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+=`.${t}`),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const n=this.escapeAttribute(this.attrs[t]),i=this.attrs[t+1];e+=`[${n}${i?"="+i:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}}class i{static createNotMatcher(e){const t=new i;return t.addSelectables(e,null),t}_elementMap=new Map;_elementPartialMap=new Map;_classMap=new Map;_classPartialMap=new Map;_attrValueMap=new Map;_attrValuePartialMap=new Map;_listContexts=[];addSelectables(e,t){let n=null;e.length>1&&(n=new r(e),this._listContexts.push(n));for(let i=0;i<e.length;i++)this._addSelectable(e[i],t,n)}_addSelectable(e,t,n){let i=this;const r=e.element,o=e.classNames,a=e.attrs,l=new s(e,t,n);if(r&&(0===a.length&&0===o.length?this._addTerminal(i._elementMap,r,l):i=this._addPartial(i._elementPartialMap,r)),o)for(let e=0;e<o.length;e++){const t=0===a.length&&e===o.length-1,n=o[e];t?this._addTerminal(i._classMap,n,l):i=this._addPartial(i._classPartialMap,n)}if(a)for(let e=0;e<a.length;e+=2){const t=e===a.length-2,n=a[e],r=a[e+1];if(t){const e=i._attrValueMap;let t=e.get(n);t||(t=new Map,e.set(n,t)),this._addTerminal(t,r,l)}else{const e=i._attrValuePartialMap;let t=e.get(n);t||(t=new Map,e.set(n,t)),i=this._addPartial(t,r)}}}_addTerminal(e,t,n){let i=e.get(t);i||(i=[],e.set(t,i)),i.push(n)}_addPartial(e,t){let n=e.get(t);return n||(n=new i,e.set(t,n)),n}match(e,t){let n=!1;const i=e.element,r=e.classNames,s=e.attrs;for(let e=0;e<this._listContexts.length;e++)this._listContexts[e].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,i,e,t)||n,n=this._matchPartial(this._elementPartialMap,i,e,t)||n,r)for(let i=0;i<r.length;i++){const s=r[i];n=this._matchTerminal(this._classMap,s,e,t)||n,n=this._matchPartial(this._classPartialMap,s,e,t)||n}if(s)for(let i=0;i<s.length;i+=2){const r=s[i],o=s[i+1],a=this._attrValueMap.get(r);o&&(n=this._matchTerminal(a,"",e,t)||n),n=this._matchTerminal(a,o,e,t)||n;const l=this._attrValuePartialMap.get(r);o&&(n=this._matchPartial(l,"",e,t)||n),n=this._matchPartial(l,o,e,t)||n}return n}_matchTerminal(e,t,n,i){if(!e||"string"!=typeof t)return!1;let r=e.get(t)||[];const s=e.get("*");if(s&&(r=r.concat(s)),0===r.length)return!1;let o,a=!1;for(let e=0;e<r.length;e++)o=r[e],a=o.finalize(n,i)||a;return a}_matchPartial(e,t,n,i){if(!e||"string"!=typeof t)return!1;const r=e.get(t);return!!r&&r.match(n,i)}}class r{selectors;alreadyMatched=!1;constructor(e){this.selectors=e}}class s{selector;cbContext;listContext;notSelectors;constructor(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}finalize(e,t){let n=!0;return!(this.notSelectors.length>0)||this.listContext&&this.listContext.alreadyMatched||(n=!i.createNotMatcher(this.notSelectors).match(e,null)),!n||!t||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n}}class a{registry;constructor(e){this.registry=e}match(e){return this.registry.has(e)?this.registry.get(e):[]}}var l;let c;function u(e,t,n){for(const[i,r]of n){let n=t&&"unknown"!==i?`:${t}:${i}`:i;n=n.toLowerCase();for(const t of r)c[`${n}|${t.toLowerCase()}`]=e}}var d,h,p;!function(e){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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING"}(l||(l={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(d||(d={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(h||(h={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(p||(p={}));const f="custom-elements",m="no-errors-schema";var g,v,y,b;function w(e){const t=function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return[e.element&&"*"!==e.element?e.element:"",...e.attrs,...t]}(e),n=e.notSelectors&&e.notSelectors.length?e.notSelectors.map(e=>function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return e.element?[5,e.element,...e.attrs,...t]:e.attrs.length?[3,...e.attrs,...t]:e.classNames&&e.classNames.length?[9,...e.classNames]:[]}(e)):[];return t.concat(...n)}function _(e){return e?n.parse(e).map(w):[]}let x;function k(e){return function(e){x??=new TextEncoder;const t=[...x.encode(e)],n=function(e,t){const n=e.length+3>>>2,i=[];for(let r=0;r<n;r++)i[r]=$(e,4*r,t);return i}(t,L.Big),i=8*t.length,r=new Uint32Array(80);let s=1732584193,o=4023233417,a=2562383102,l=271733878,c=3285377520;n[i>>5]|=128<<24-i%32,n[15+(i+64>>9<<4)]=i;for(let e=0;e<n.length;e+=16){const t=s,i=o,u=a,d=l,h=c;for(let t=0;t<80;t++){r[t]=t<16?n[e+t]:F(r[t-3]^r[t-8]^r[t-14]^r[t-16],1);const i=A(t,o,a,l),u=i[0],d=i[1],h=[F(s,5),u,c,d,r[t]].reduce(B);c=l,l=a,a=F(o,30),o=s,s=h}s=B(s,t),o=B(o,i),a=B(a,u),l=B(l,d),c=B(c,h)}return I(s)+I(o)+I(a)+I(l)+I(c)}((t=e.nodes,t.map(e=>e.visit(T,null))).join("")+`[${e.meaning}]`);var t}function C(e){const t=new E;return M(e.nodes.map(e=>e.visit(t,null)).join(""),e.meaning)}!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(g||(g={}
1)),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(v||(v={})),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}(y||(y={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(b||(b={}));class S{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(e=>e.visit(this)).join(", ")}]`}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expression}, ${e.type}, ${n.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(e=>e.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}visitBlockPlaceholder(e,t){return`<ph block name="${e.startName}">${e.children.map(e=>e.visit(this)).join(", ")}</ph name="${e.closeName}">`}}const T=new S;class E extends S{visitIcu(e){let t=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.type}, ${t.join(", ")}}`}}function I(e){return(e>>>0).toString(16).padStart(8,"0")}function A(e,t,n,i){return e<20?[t&n|~t&i,1518500249]:e<40?[t^n^i,1859775393]:e<60?[t&n|t&i|n&i,2400959708]:[t^n^i,3395469782]}function D(e){x??=new TextEncoder;const t=x.encode(e),n=new DataView(t.buffer,t.byteOffset,t.byteLength);let i=O(n,t.length,0),r=O(n,t.length,102072);return 0!=i||0!=r&&1!=r||(i^=319790063,r^=-1801410264),BigInt.asUintN(32,BigInt(i))<<BigInt(32)|BigInt.asUintN(32,BigInt(r))}function M(e,t=""){let n=D(e);return t&&(n=BigInt.asUintN(64,n<<BigInt(1))|n>>BigInt(63)&BigInt(1),n+=D(t)),BigInt.asUintN(63,n).toString()}function O(e,t,n){let i=2654435769,r=2654435769,s=0;const o=t-12;for(;s<=o;s+=12){i+=e.getUint32(s,!0),r+=e.getUint32(s+4,!0);const t=P(i,r,n+=e.getUint32(s+8,!0));i=t[0],r=t[1],n=t[2]}const a=t-s;return n+=t,a>=4?(i+=e.getUint32(s,!0),s+=4,a>=8?(r+=e.getUint32(s,!0),s+=4,a>=9&&(n+=e.getUint8(s++)<<8),a>=10&&(n+=e.getUint8(s++)<<16),11===a&&(n+=e.getUint8(s++)<<24)):(a>=5&&(r+=e.getUint8(s++)),a>=6&&(r+=e.getUint8(s++)<<8),7===a&&(r+=e.getUint8(s++)<<16))):(a>=1&&(i+=e.getUint8(s++)),a>=2&&(i+=e.getUint8(s++)<<8),3===a&&(i+=e.getUint8(s++)<<16)),P(i,r,n)[2]}function P(e,t,n){return e-=t,e-=n,t-=n,t-=e^=n>>>13,n-=e,n-=t^=e<<8,e-=t,e-=n^=t>>>13,t-=n,t-=e^=n>>>12,n-=e,n-=t^=e<<16,e-=t,e-=n^=t>>>5,t-=n,t-=e^=n>>>3,n-=e,n-=t^=e<<10,[e,t,n^=t>>>15]}var L,N,R;function B(e,t){return function(e,t){const n=(65535&e)+(65535&t),i=(e>>>16)+(t>>>16)+(n>>>16);return[i>>>16,i<<16|65535&n]}(e,t)[1]}function F(e,t){return e<<t|e>>>32-t}function V(e,t){return t>=e.length?0:e[t]}function $(e,t,n){let i=0;if(n===L.Big)for(let n=0;n<4;n++)i+=V(e,t+n)<<24-8*n;else for(let n=0;n<4;n++)i+=V(e,t+n)<<8*n;return i}!function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"}(L||(L={})),function(e){e[e.None=0]="None",e[e.Const=1]="Const"}(N||(N={}));class j{modifiers;constructor(e=N.None){this.modifiers=e}hasModifier(e){return 0!==(this.modifiers&e)}}!function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"}(R||(R={}));class H extends j{name;constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class z extends j{value;typeParams;constructor(e,t,n=null){super(t),this.value=e,this.typeParams=n}visitType(e,t){return e.visitExpressionType(this,t)}}const U=new H(R.Dynamic),q=new H(R.Inferred),W=new H(R.Bool),G=(new H(R.Int),new H(R.Number)),Z=new H(R.String),Y=(new H(R.Function),new H(R.None));var K,J;function X(e,t,n){const i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function Q(e,t){return X(e,t,(e,t)=>e.isEquivalent(t))}!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"}(K||(K={})),function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Assign=2]="Assign",e[e.Identical=3]="Identical",e[e.NotIdentical=4]="NotIdentical",e[e.Minus=5]="Minus",e[e.Plus=6]="Plus",e[e.Divide=7]="Divide",e[e.Multiply=8]="Multiply",e[e.Modulo=9]="Modulo",e[e.And=10]="And",e[e.Or=11]="Or",e[e.BitwiseOr=12]="BitwiseOr",e[e.BitwiseAnd=13]="BitwiseAnd",e[e.Lower=14]="Lower",e[e.LowerEquals=15]="LowerEquals",e[e.Bigger=16]="Bigger",e[e.BiggerEquals=17]="BiggerEquals",e[e.NullishCoalesce=18]="NullishCoalesce",e[e.Exponentiation=19]="Exponentiation",e[e.In=20]="In",e[e.AdditionAssignment=21]="AdditionAssignment",e[e.SubtractionAssignment=22]="SubtractionAssignment",e[e.MultiplicationAssignment=23]="MultiplicationAssignment",e[e.DivisionAssignment=24]="DivisionAssignment",e[e.RemainderAssignment=25]="RemainderAssignment",e[e.ExponentiationAssignment=26]="ExponentiationAssignment",e[e.AndAssignment=27]="AndAssignment",e[e.OrAssignment=28]="OrAssignment",e[e.NullishCoalesceAssignment=29]="NullishCoalesceAssignment"}(J||(J={}));class ee{type;sourceSpan;constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new Ie(this,e,null,t)}key(e,t,n){return new Ae(this,e,t,n)}callFn(e,t,n){return new se(this,e,null,t,n)}instantiate(e,t,n){return new ae(this,e,t,n)}conditional(e,t=null,n){return new we(this,e,t,null,n)}equals(e,t){return new Ee(J.Equals,this,e,null,t)}notEquals(e,t){return new Ee(J.NotEquals,this,e,null,t)}identical(e,t){return new Ee(J.Identical,this,e,null,t)}notIdentical(e,t){return new Ee(J.NotIdentical,this,e,null,t)}minus(e,t){return new Ee(J.Minus,this,e,null,t)}plus(e,t){return new Ee(J.Plus,this,e,null,t)}divide(e,t){return new Ee(J.Divide,this,e,null,t)}multiply(e,t){return new Ee(J.Multiply,this,e,null,t)}modulo(e,t){return new Ee(J.Modulo,this,e,null,t)}power(e,t){return new Ee(J.Exponentiation,this,e,null,t)}and(e,t){return new Ee(J.And,this,e,null,t)}bitwiseOr(e,t){return new Ee(J.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new Ee(J.BitwiseAnd,this,e,null,t)}or(e,t){return new Ee(J.Or,this,e,null,t)}lower(e,t){return new Ee(J.Lower,this,e,null,t)}lowerEquals(e,t){return new Ee(J.LowerEquals,this,e,null,t)}bigger(e,t){return new Ee(J.Bigger,this,e,null,t)}biggerEquals(e,t){return new Ee(J.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(Le,e)}nullishCoalesce(e,t){return new Ee(J.NullishCoalesce,this,e,null,t)}toStmt(){return new je(this,null)}}class te extends ee{name;constructor(e,t,n){super(t,n),this.name=e}isEquivalent(e){return e instanceof te&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}clone(){return new te(this.name,this.type,this.sourceSpan)}set(e){return new Ee(J.Assign,this,e,null,this.sourceSpan)}}class ne extends ee{expr;constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof ne&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new ne(this.expr.clone())}}class ie extends ee{expr;constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitVoidExpr(this,t)}isEquivalent(e){return e instanceof ie&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new ie(this.expr.clone())}}class re extends ee{node;constructor(e,t,n){super(t,n),this.node=e}isEquivalent(e){return e instanceof re&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}clone(){return new re(this.node,this.type,this.sourceSpan)}}class se extends ee{fn;args;pure;constructor(e,t,n,i,r=!1){super(n,i),this.fn=e,this.args=t,this.pure=r}get receiver(){return this.fn}isEquivalent(e){return e instanceof se&&this.fn.isEquivalent(e.fn)&&Q(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}clone(){return new se(this.fn.clone(),this.args.map(e=>e.clone()),this.type,this.sourceSpan,this.pure)}}class oe extends ee{tag;template;constructor(e,t,n,i){super(n,i),this.tag=e,this.template=t}isEquivalent(e){return e instanceof oe&&this.tag.isEquivalent(e.tag)&&this.template.isEquivalent(e.template)}isConstant(){return!1}visitExpression(e,t){return e.visitTaggedTemplateLiteralExpr(this,t)}clone(){return new oe(this.tag.clone(),this.template.clone(),this.type,this.sourceSpan)}}class ae extends ee{classExpr;args;constructor(e,t,n,i){super(n,i),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof ae&&this.classExpr.isEquivalent(e.classExpr)&&Q(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}clone(){return new ae(this.classExpr.clone(),this.args.map(e=>e.clone()),this.type,this.sourceSpan)}}class le extends ee{value;constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof le&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}clone(){return new le(this.value,this.type,this.sourceSpan)}}class ce extends ee{elements;expressions;constructor(e,t,n){super(null,n),this.elements=e,this.expressions=t}isEquivalent(e){return e instanceof ce&&X(this.elements,e.elements,(e,t)=>e.text===t.text)&&Q(this.expressions,e.expressions)}isConstant(){return!1}visitExpression(e,t){return e.visitTemplateLiteralExpr(this,t)}clone(){return new ce(this.elements.map(e=>e.clone()),this.expressions.map(e=>e.clone()))}}class ue extends ee{text;rawText;constructor(e,t,n){super(Z,t),this.text=e,this.rawText=n??ve(fe(e))}visitExpression(e,t){return e.visitTemplateLiteralElementExpr(this,t)}isEquivalent(e){return e instanceof ue&&e.text===this.text&&e.rawText===this.rawText}isConstant(){return!0}clone(){return new ue(this.text,this.sourceSpan,this.rawText)}}class de{text;sourceSpan;constructor(e,t){this.text=e,this.sourceSpan=t}}class he{text;sourceSpan;associatedMessage;constructor(e,t,n){this.text=e,this.sourceSpan=t,this.associatedMessage=n}}class pe extends ee{metaBlock;messageParts;placeHolderNames;expressions;constructor(e,t,n,i,r){super(Z,r),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=n,this.expressions=i}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}clone(){return new pe(this.metaBlock,this.messageParts,this.placeHolderNames,this.expressions.map(e=>e.clone()),this.sourceSpan)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}␟${t}`}),ye(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){return this.messageParts[e]?.sourceSpan??this.sourceSpan}
1getPlaceholderSourceSpan(e){return this.placeHolderNames[e]?.sourceSpan??this.expressions[e]?.sourceSpan??this.sourceSpan}serializeI18nTemplatePart(e){const t=this.placeHolderNames[e-1],n=this.messageParts[e];let i=t.text;return 0===t.associatedMessage?.legacyIds.length&&(i+=`@@${M(t.associatedMessage.messageString,t.associatedMessage.meaning)}`),ye(i,n.text,this.getMessagePartSourceSpan(e))}}const fe=e=>e.replace(/\\/g,"\\\\"),me=e=>e.replace(/^:/,"\\:"),ge=e=>e.replace(/:/g,"\\:"),ve=e=>e.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function ye(e,t,n){return""===e?{cooked:t,raw:ve(me(fe(t))),range:n}:{cooked:`:${e}:${t}`,raw:ve(`:${ge(fe(e))}:${fe(t)}`),range:n}}class be extends ee{value;typeParams;constructor(e,t,n=null,i){super(t,i),this.value=e,this.typeParams=n}isEquivalent(e){return e instanceof be&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}clone(){return new be(this.value,this.type,this.typeParams,this.sourceSpan)}}class we extends ee{condition;falseCase;trueCase;constructor(e,t,n=null,i,r){super(i||t.type,r),this.condition=e,this.falseCase=n,this.trueCase=t}isEquivalent(e){return e instanceof we&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&(t=this.falseCase,n=e.falseCase,null==t||null==n?t==n:t.isEquivalent(n));var t,n}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}clone(){return new we(this.condition.clone(),this.trueCase.clone(),this.falseCase?.clone(),this.type,this.sourceSpan)}}class _e extends ee{condition;constructor(e,t){super(W,t),this.condition=e}isEquivalent(e){return e instanceof _e&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}clone(){return new _e(this.condition.clone(),this.sourceSpan)}}class xe{name;type;constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}clone(){return new xe(this.name,this.type)}}class ke extends ee{params;statements;name;constructor(e,t,n,i,r){super(n,i),this.params=e,this.statements=t,this.name=r}isEquivalent(e){return(e instanceof ke||e instanceof $e)&&Q(this.params,e.params)&&Q(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new $e(e,this.params,this.statements,this.type,t,this.sourceSpan)}clone(){return new ke(this.params.map(e=>e.clone()),this.statements,this.type,this.sourceSpan,this.name)}}class Ce extends ee{params;body;constructor(e,t,n,i){super(n,i),this.params=e,this.body=t}isEquivalent(e){return!!(e instanceof Ce&&Q(this.params,e.params))&&(this.body instanceof ee&&e.body instanceof ee?this.body.isEquivalent(e.body):!(!Array.isArray(this.body)||!Array.isArray(e.body))&&Q(this.body,e.body))}isConstant(){return!1}visitExpression(e,t){return e.visitArrowFunctionExpr(this,t)}clone(){return new Ce(this.params.map(e=>e.clone()),Array.isArray(this.body)?this.body:this.body.clone(),this.type,this.sourceSpan)}toDeclStmt(e,t){return new Ve(e,this,q,t,this.sourceSpan)}}class Se extends ee{operator;expr;parens;constructor(e,t,n,i,r=!0){super(n||G,i),this.operator=e,this.expr=t,this.parens=r}isEquivalent(e){return e instanceof Se&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}clone(){return new Se(this.operator,this.expr.clone(),this.type,this.sourceSpan,this.parens)}}class Te extends ee{expr;constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitParenthesizedExpr(this,t)}isEquivalent(e){return e instanceof Te&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new Te(this.expr.clone())}}class Ee extends ee{operator;rhs;lhs;constructor(e,t,n,i,r){super(i||t.type,r),this.operator=e,this.rhs=n,this.lhs=t}isEquivalent(e){return e instanceof Ee&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}clone(){return new Ee(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}isAssignment(){const e=this.operator;return e===J.Assign||e===J.AdditionAssignment||e===J.SubtractionAssignment||e===J.MultiplicationAssignment||e===J.DivisionAssignment||e===J.RemainderAssignment||e===J.ExponentiationAssignment||e===J.AndAssignment||e===J.OrAssignment||e===J.NullishCoalesceAssignment}}class Ie extends ee{receiver;name;constructor(e,t,n,i){super(n,i),this.receiver=e,this.name=t}get index(){return this.name}isEquivalent(e){return e instanceof Ie&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new Ee(J.Assign,this.receiver.prop(this.name),e,null,this.sourceSpan)}clone(){return new Ie(this.receiver.clone(),this.name,this.type,this.sourceSpan)}}class Ae extends ee{receiver;index;constructor(e,t,n,i){super(n,i),this.receiver=e,this.index=t}isEquivalent(e){return e instanceof Ae&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new Ee(J.Assign,this.receiver.key(this.index),e,null,this.sourceSpan)}clone(){return new Ae(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}}class De extends ee{entries;constructor(e,t,n){super(t,n),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof De&&Q(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}clone(){return new De(this.entries.map(e=>e.clone()),this.type,this.sourceSpan)}}class Me{key;value;quoted;constructor(e,t,n){this.key=e,this.value=t,this.quoted=n}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}clone(){return new Me(this.key,this.value.clone(),this.quoted)}}class Oe extends ee{entries;valueType=null;constructor(e,t,n){super(t,n),this.entries=e,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof Oe&&Q(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.value.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}clone(){const e=this.entries.map(e=>e.clone());return new Oe(e,this.type,this.sourceSpan)}}const Pe=new le(null,null,null),Le=new le(null,q,null);var Ne;!function(e){e[e.None=0]="None",e[e.Final=1]="Final",e[e.Private=2]="Private",e[e.Exported=4]="Exported",e[e.Static=8]="Static"}(Ne||(Ne={}));class Re{text;multiline;trailingNewline;constructor(e,t,n){this.text=e,this.multiline=t,this.trailingNewline=n}toString(){return this.multiline?` ${this.text} `:this.text}}class Be extends Re{tags;constructor(e){super("",!0,!0),this.tags=e}toString(){return function(e){if(0===e.length)return"";if(1===e.length&&e[0].tagName&&!e[0].text)return`*${et(e[0])} `;let t="*\n";
1for(const n of e)t+=" *",t+=et(n).replace(/\n/g,"\n * "),t+="\n";return t+=" ",t}(this.tags)}}class Fe{modifiers;sourceSpan;leadingComments;constructor(e=Ne.None,t=null,n){this.modifiers=e,this.sourceSpan=t,this.leadingComments=n}hasModifier(e){return 0!==(this.modifiers&e)}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}}class Ve extends Fe{name;value;type;constructor(e,t,n,i,r,s){super(i,r,s),this.name=e,this.value=t,this.type=n||t&&t.type||null}isEquivalent(e){return e instanceof Ve&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class $e extends Fe{name;params;statements;type;constructor(e,t,n,i,r,s,o){super(r,s,o),this.name=e,this.params=t,this.statements=n,this.type=i||null}isEquivalent(e){return e instanceof $e&&Q(this.params,e.params)&&Q(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class je extends Fe{expr;constructor(e,t,n){super(Ne.None,t,n),this.expr=e}isEquivalent(e){return e instanceof je&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class He extends Fe{value;constructor(e,t=null,n){super(Ne.None,t,n),this.value=e}isEquivalent(e){return e instanceof He&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class ze extends Fe{condition;trueCase;falseCase;constructor(e,t,n=[],i,r){super(Ne.None,i,r),this.condition=e,this.trueCase=t,this.falseCase=n}isEquivalent(e){return e instanceof ze&&this.condition.isEquivalent(e.condition)&&Q(this.trueCase,e.trueCase)&&Q(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}function Ue(e,t,n){return new te(e,t,n)}function qe(e,t=null,n){return new be(e,null,t,n)}function We(e,t,n){return new z(e,t,n)}function Ge(e){return new ne(e)}function Ze(e,t,n){return new De(e,t,n)}function Ye(e,t=null){return new Oe(e.map(e=>new Me(e.key,e.value,e.quoted)),t,null)}function Ke(e,t,n,i,r){return new ke(e,t,n,i,r)}function Je(e,t,n,i){return new Ce(e,t,n,i)}function Xe(e,t,n,i,r){return new ze(e,t,n,i,r)}function Qe(e,t,n){return new le(e,t,n)}function et(e){let t="";if(e.tagName&&(t+=` @${e.tagName}`),e.text){if(e.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+e.text.replace(/@/g,"\\@")}return t}const tt=Ue("<unknown>"),nt={};class it extends ee{resolved;original;shared=!1;constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===nt?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof it&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}clone(){throw new Error("Not supported.")}fixup(e){this.resolved=e,this.shared=!0}}class rt{isClosureCompilerEnabled;statements=[];literals=new Map;literalFactories=new Map;sharedConstants=new Map;_claimedNames=new Map;nextNameIndex=0;constructor(e=!1){this.isClosureCompilerEnabled=e}getConstLiteral(e,t){if(e instanceof le&&!at(e)||e instanceof it)return e;const n=st.INSTANCE.keyOf(e);let i=this.literals.get(n),r=!1;if(i||(i=new it(e),this.literals.set(n,i),r=!0),!r&&!i.shared||r&&t){const t=this.freshName();let n,r;this.isClosureCompilerEnabled&&at(e)?(n=new ke([],[new He(e)]),r=Ue(t).callFn([])):(n=e,r=Ue(t)),this.statements.push(new Ve(t,n,q,Ne.Final)),i.fixup(r)}return i}getSharedConstant(e,t){const n=e.keyOf(t);if(!this.sharedConstants.has(n)){const i=this.freshName();this.sharedConstants.set(n,Ue(i)),this.statements.push(e.toSharedConstantDeclaration(i,t))}return this.sharedConstants.get(n)}getLiteralFactory(e){if(e instanceof De){const t=e.entries.map(e=>e.isConstant()?e:tt),n=st.INSTANCE.keyOf(Ze(t));return this._getLiteralFactory(n,e.entries,e=>Ze(e))}{const t=Ye(e.entries.map(e=>({key:e.key,value:e.value.isConstant()?e.value:tt,quoted:e.quoted}))),n=st.INSTANCE.keyOf(t);return this._getLiteralFactory(n,e.entries.map(e=>e.value),t=>Ye(t.map((t,n)=>({key:e.entries[n].key,value:t,quoted:e.entries[n].quoted}))))}}getSharedFunctionReference(e,t,n=!0){const i=e instanceof Ce;for(const t of this.statements){if(i&&t instanceof Ve&&t.value?.isEquivalent(e))return Ue(t.name);if(!i&&t instanceof $e&&e instanceof ke&&e.isEquivalent(t))return Ue(t.name)}const r=n?this.uniqueName(t):t;return this.statements.push(e instanceof ke?e.toDeclStmt(r,Ne.Final):new Ve(r,e,q,Ne.Final,e.sourceSpan)),Ue(r)}
1_getLiteralFactory(e,t,n){let i=this.literalFactories.get(e);const r=t.filter(e=>!e.isConstant());if(!i){const r=t.map((e,t)=>e.isConstant()?this.getConstLiteral(e,!0):Ue(`a${t}`)),s=Je(r.filter(ot).map(e=>new xe(e.name,U)),n(r),q),o=this.freshName();this.statements.push(new Ve(o,s,q,Ne.Final)),i=Ue(o),this.literalFactories.set(e,i)}return{literalFactory:i,literalFactoryArguments:r}}uniqueName(e,t=!0){const n=this._claimedNames.get(e)??0,i=0!==n||t?`${e}${n}`:`${e}`;return this._claimedNames.set(e,n+1),i}freshName(){return this.uniqueName("_c")}}class st{static INSTANCE=new st;keyOf(e){if(e instanceof le&&"string"==typeof e.value)return`"${e.value}"`;if(e instanceof le)return String(e.value);if(e instanceof De){const t=[];for(const n of e.entries)t.push(this.keyOf(n));return`[${t.join(",")}]`}if(e instanceof Oe){const t=[];for(const n of e.entries){let e=n.key;n.quoted&&(e=`"${e}"`),t.push(e+":"+this.keyOf(n.value))}return`{${t.join(",")}}`}if(e instanceof be)return`import("${e.value.moduleName}", ${e.value.name})`;if(e instanceof te)return`read(${e.name})`;if(e instanceof ne)return`typeof(${this.keyOf(e.expr)})`;throw new Error(`${this.constructor.name} does not handle expressions of type ${e.constructor.name}`)}}function ot(e){return e instanceof te}function at(e){return e instanceof le&&"string"==typeof e.value&&e.value.length>=50}const lt="@angular/core";class ct{static NEW_METHOD="factory";static TRANSFORM_METHOD="transform";static PATCH_DEPS="patchedDeps";static core={name:null,moduleName:lt};static namespaceHTML={name:"ɵɵnamespaceHTML",moduleName:lt};static namespaceMathML={name:"ɵɵnamespaceMathML",moduleName:lt};static namespaceSVG={name:"ɵɵnamespaceSVG",moduleName:lt};static element={name:"ɵɵelement",moduleName:lt};static elementStart={name:"ɵɵelementStart",moduleName:lt};static elementEnd={name:"ɵɵelementEnd",moduleName:lt};static domElement={name:"ɵɵdomElement",moduleName:lt};static domElementStart={name:"ɵɵdomElementStart",moduleName:lt};static domElementEnd={name:"ɵɵdomElementEnd",moduleName:lt};static domElementContainer={name:"ɵɵdomElementContainer",moduleName:lt};static domElementContainerStart={name:"ɵɵdomElementContainerStart",moduleName:lt};static domElementContainerEnd={name:"ɵɵdomElementContainerEnd",moduleName:lt};static domTemplate={name:"ɵɵdomTemplate",moduleName:lt};static domListener={name:"ɵɵdomListener",moduleName:lt};static advance={name:"ɵɵadvance",moduleName:lt};static syntheticHostProperty={name:"ɵɵsyntheticHostProperty",moduleName:lt};static syntheticHostListener={name:"ɵɵsyntheticHostListener",moduleName:lt};static attribute={name:"ɵɵattribute",moduleName:lt};static classProp={name:"ɵɵclassProp",moduleName:lt};static elementContainerStart={name:"ɵɵelementContainerStart",moduleName:lt};static elementContainerEnd={name:"ɵɵelementContainerEnd",moduleName:lt};static elementContainer={name:"ɵɵelementContainer",moduleName:lt};static styleMap={name:"ɵɵstyleMap",moduleName:lt};static classMap={name:"ɵɵclassMap",moduleName:lt};static styleProp={name:"ɵɵstyleProp",moduleName:lt};static interpolate={name:"ɵɵinterpolate",moduleName:lt};static interpolate1={name:"ɵɵinterpolate1",moduleName:lt};static interpolate2={name:"ɵɵinterpolate2",moduleName:lt};static interpolate3={name:"ɵɵinterpolate3",moduleName:lt};static interpolate4={name:"ɵɵinterpolate4",moduleName:lt};static interpolate5={name:"ɵɵinterpolate5",moduleName:lt};static interpolate6={name:"ɵɵinterpolate6",moduleName:lt};static interpolate7={name:"ɵɵinterpolate7",moduleName:lt};static interpolate8={name:"ɵɵinterpolate8",moduleName:lt};static interpolateV={name:"ɵɵinterpolateV",moduleName:lt};static nextContext={name:"ɵɵnextContext",moduleName:lt};static resetView={name:"ɵɵresetView",moduleName:lt};static templateCreate={name:"ɵɵtemplate",moduleName:lt};static defer={name:"ɵɵdefer",moduleName:lt};static deferWhen={name:"ɵɵdeferWhen",moduleName:lt};static deferOnIdle={name:"ɵɵdeferOnIdle",moduleName:lt};static deferOnImmediate={name:"ɵɵdeferOnImmediate",moduleName:lt};static deferOnTimer={name:"ɵɵdeferOnTimer",moduleName:lt};static deferOnHover={name:"ɵɵdeferOnHover",moduleName:lt};static deferOnInteraction={name:"ɵɵdeferOnInteraction",moduleName:lt};static deferOnViewport={name:"ɵɵdeferOnViewport",moduleName:lt};static deferPrefetchWhen={name:"ɵɵdeferPrefetchWhen",moduleName:lt};static deferPrefetchOnIdle={name:"ɵɵdeferPrefetchOnIdle",moduleName:lt};static deferPrefetchOnImmediate={name:"ɵɵdeferPrefetchOnImmediate",moduleName:lt};static deferPrefetchOnTimer={name:"ɵɵdeferPrefetchOnTimer",moduleName:lt};static deferPrefetchOnHover={name:"ɵɵdeferPrefetchOnHover",moduleName:lt};static deferPrefetchOnInteraction={name:"ɵɵdeferPrefetchOnInteraction",moduleName:lt};static deferPrefetchOnViewport={name:"ɵɵdeferPrefetchOnViewport",moduleName:lt};static deferHydrateWhen={name:"ɵɵdeferHydrateWhen",moduleName:lt};static deferHydrateNever={name:"ɵɵdeferHydrateNever",moduleName:lt};static deferHydrateOnIdle={name:"ɵɵdeferHydrateOnIdle",moduleName:lt};static deferHydrateOnImmediate={name:"ɵɵdeferHydrateOnImmediate",moduleName:lt};static deferHydrateOnTimer={name:"ɵɵdeferHydrateOnTimer",moduleName:lt};static deferHydrateOnHover={name:"ɵɵdeferHydrateOnHover",moduleName:lt};static deferHydrateOnInteraction={name:"ɵɵdeferHydrateOnInteraction",moduleName:lt};static deferHydrateOnViewport={name:"ɵɵdeferHydrateOnViewport",moduleName:lt};static deferEnableTimerScheduling={name:"ɵɵdeferEnableTimerScheduling",moduleName:lt};static conditionalCreate={name:"ɵɵconditionalCreate",moduleName:lt};static conditionalBranchCreate={name:"ɵɵconditionalBranchCreate",moduleName:lt};static conditional={name:"ɵɵconditional",moduleName:lt};static repeater={name:"ɵɵrepeater",moduleName:lt};static repeaterCreate={name:"ɵɵrepeaterCreate",moduleName:lt};static repeaterTrackByIndex={name:"ɵɵrepeaterTrackByIndex",moduleName:lt};static repeaterTrackByIdentity={name:"ɵɵrepeaterTrackByIdentity",moduleName:lt};static componentInstance={name:"ɵɵcomponentInstance",moduleName:lt};static text={name:"ɵɵtext",moduleName:lt};static enableBindings={name:"ɵɵenableBindings",moduleName:lt};static disableBindings={name:"ɵɵdisableBindings",moduleName:lt};static getCurrentView={name:"ɵɵgetCurrentView",moduleName:lt};static textInterpolate={name:"ɵɵtextInterpolate",moduleName:lt};static textInterpolate1={name:"ɵɵtextInterpolate1",moduleName:lt};static textInterpolate2={name:"ɵɵtextInterpolate2",moduleName:lt};static textInterpolate3={name:"ɵɵtextInterpolate3",moduleName:lt};static textInterpolate4={name:"ɵɵtextInterpolate4",moduleName:lt};static textInterpolate5={name:"ɵɵtextInterpolate5",moduleName:lt};static textInterpolate6={name:"ɵɵtextInterpolate6",moduleName:lt};static textInterpolate7={name:"ɵɵtextInterpolate7",moduleName:lt};static textInterpolate8={name:"ɵɵtextInterpolate8",moduleName:lt};static textInterpolateV={name:"ɵɵtextInterpolateV",moduleName:lt};static restoreView={name:"ɵɵrestoreView",moduleName:lt};static pureFunction0={name:"ɵɵpureFunction0",moduleName:lt};static pureFunction1={name:"ɵɵpureFunction1",moduleName:lt};static pureFunction2={name:"ɵɵpureFunction2",moduleName:lt};static pureFunction3={name:"ɵɵpureFunction3",moduleName:lt};static pureFunction4={name:"ɵɵpureFunction4",moduleName:lt};static pureFunction5={name:"ɵɵpureFunction5",moduleName:lt};static pureFunction6={name:"ɵɵpureFunction6",moduleName:lt};static pureFunction7={name:"ɵɵpureFunction7",moduleName:lt};static pureFunction8={name:"ɵɵpureFunction8",moduleName:lt};static pureFunctionV={name:"ɵɵpureFunctionV",moduleName:lt};static pipeBind1={name:"ɵɵpipeBind1",moduleName:lt};static pipeBind2={name:"ɵɵpipeBind2",moduleName:lt};static pipeBind3={name:"ɵɵpipeBind3",moduleName:lt};static pipeBind4={name:"ɵɵpipeBind4",moduleName:lt};static pipeBindV={name:"ɵɵpipeBindV",moduleName:lt};static domProperty={name:"ɵɵdomProperty",moduleName:lt};static ariaProperty={name:"ɵɵariaProperty",moduleName:lt};static property={name:"ɵɵproperty",moduleName:lt};static animationEnterListener={name:"ɵɵanimateEnterListener",moduleName:lt};static animationLeaveListener={name:"ɵɵanimateLeaveListener",moduleName:lt};static animationEnter={name:"ɵɵanimateEnter",moduleName:lt};static animationLeave={name:"ɵɵanimateLeave",moduleName:lt};static i18n={name:"ɵɵi18n",moduleName:lt};static i18nAttributes={name:"ɵɵi18nAttributes",moduleName:lt};static i18nExp={name:"ɵɵi18nExp",moduleName:lt};static i18nStart={name:"ɵɵi18nStart",moduleName:lt};static i18nEnd={name:"ɵɵi18nEnd",moduleName:lt};static i18nApply={name:"ɵɵi18nApply",moduleName:lt};static i18nPostprocess={name:"ɵɵi18nPostprocess",moduleName:lt};static pipe={name:"ɵɵpipe",moduleName:lt};static projection={name:"ɵɵprojection",moduleName:lt};static projectionDef={name:"ɵɵprojectionDef",moduleName:lt};static reference={name:"ɵɵreference",moduleName:lt};static inject={name:"ɵɵinject",moduleName:lt};static injectAttribute={name:"ɵɵinjectAttribute",moduleName:lt};static directiveInject={name:"ɵɵdirectiveInject",moduleName:lt};
1static invalidFactory={name:"ɵɵinvalidFactory",moduleName:lt};static invalidFactoryDep={name:"ɵɵinvalidFactoryDep",moduleName:lt};static templateRefExtractor={name:"ɵɵtemplateRefExtractor",moduleName:lt};static forwardRef={name:"forwardRef",moduleName:lt};static resolveForwardRef={name:"resolveForwardRef",moduleName:lt};static replaceMetadata={name:"ɵɵreplaceMetadata",moduleName:lt};static getReplaceMetadataURL={name:"ɵɵgetReplaceMetadataURL",moduleName:lt};static"ɵɵdefineInjectable"={name:"ɵɵdefineInjectable",moduleName:lt};static declareInjectable={name:"ɵɵngDeclareInjectable",moduleName:lt};static InjectableDeclaration={name:"ɵɵInjectableDeclaration",moduleName:lt};static resolveWindow={name:"ɵɵresolveWindow",moduleName:lt};static resolveDocument={name:"ɵɵresolveDocument",moduleName:lt};static resolveBody={name:"ɵɵresolveBody",moduleName:lt};static getComponentDepsFactory={name:"ɵɵgetComponentDepsFactory",moduleName:lt};static defineComponent={name:"ɵɵdefineComponent",moduleName:lt};static declareComponent={name:"ɵɵngDeclareComponent",moduleName:lt};static setComponentScope={name:"ɵɵsetComponentScope",moduleName:lt};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:lt};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:lt};static ComponentDeclaration={name:"ɵɵComponentDeclaration",moduleName:lt};static FactoryDeclaration={name:"ɵɵFactoryDeclaration",moduleName:lt};static declareFactory={name:"ɵɵngDeclareFactory",moduleName:lt};static FactoryTarget={name:"ɵɵFactoryTarget",moduleName:lt};static defineDirective={name:"ɵɵdefineDirective",moduleName:lt};static declareDirective={name:"ɵɵngDeclareDirective",moduleName:lt};static DirectiveDeclaration={name:"ɵɵDirectiveDeclaration",moduleName:lt};static InjectorDef={name:"ɵɵInjectorDef",moduleName:lt};static InjectorDeclaration={name:"ɵɵInjectorDeclaration",moduleName:lt};static defineInjector={name:"ɵɵdefineInjector",moduleName:lt};static declareInjector={name:"ɵɵngDeclareInjector",moduleName:lt};static NgModuleDeclaration={name:"ɵɵNgModuleDeclaration",moduleName:lt};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:lt};static defineNgModule={name:"ɵɵdefineNgModule",moduleName:lt};static declareNgModule={name:"ɵɵngDeclareNgModule",moduleName:lt};static setNgModuleScope={name:"ɵɵsetNgModuleScope",moduleName:lt};static registerNgModuleType={name:"ɵɵregisterNgModuleType",moduleName:lt};static PipeDeclaration={name:"ɵɵPipeDeclaration",moduleName:lt};static definePipe={name:"ɵɵdefinePipe",moduleName:lt};static declarePipe={name:"ɵɵngDeclarePipe",moduleName:lt};static declareClassMetadata={name:"ɵɵngDeclareClassMetadata",moduleName:lt};static declareClassMetadataAsync={name:"ɵɵngDeclareClassMetadataAsync",moduleName:lt};static setClassMetadata={name:"ɵsetClassMetadata",moduleName:lt};static setClassMetadataAsync={name:"ɵsetClassMetadataAsync",moduleName:lt};static setClassDebugInfo={name:"ɵsetClassDebugInfo",moduleName:lt};static queryRefresh={name:"ɵɵqueryRefresh",moduleName:lt};static viewQuery={name:"ɵɵviewQuery",moduleName:lt};static loadQuery={name:"ɵɵloadQuery",moduleName:lt};static contentQuery={name:"ɵɵcontentQuery",moduleName:lt};static viewQuerySignal={name:"ɵɵviewQuerySignal",moduleName:lt};static contentQuerySignal={name:"ɵɵcontentQuerySignal",moduleName:lt};static queryAdvance={name:"ɵɵqueryAdvance",moduleName:lt};static twoWayProperty={name:"ɵɵtwoWayProperty",moduleName:lt};static twoWayBindingSet={name:"ɵɵtwoWayBindingSet",moduleName:lt};static twoWayListener={name:"ɵɵtwoWayListener",moduleName:lt};static declareLet={name:"ɵɵdeclareLet",moduleName:lt};static storeLet={name:"ɵɵstoreLet",moduleName:lt};static readContextLet={name:"ɵɵreadContextLet",moduleName:lt};static attachSourceLocations={name:"ɵɵattachSourceLocations",moduleName:lt};static NgOnChangesFeature={name:"ɵɵNgOnChangesFeature",moduleName:lt};static InheritDefinitionFeature={name:"ɵɵInheritDefinitionFeature",moduleName:lt};static CopyDefinitionFeature={name:"ɵɵCopyDefinitionFeature",moduleName:lt};static ProvidersFeature={name:"ɵɵProvidersFeature",moduleName:lt};static HostDirectivesFeature={name:"ɵɵHostDirectivesFeature",moduleName:lt};static ExternalStylesFeature={name:"ɵɵExternalStylesFeature",moduleName:lt};static listener={name:"ɵɵlistener",moduleName:lt};static getInheritedFactory={name:"ɵɵgetInheritedFactory",moduleName:lt};static sanitizeHtml={name:"ɵɵsanitizeHtml",moduleName:lt};static sanitizeStyle={name:"ɵɵsanitizeStyle",moduleName:lt};
1static validateAttribute={name:"ɵɵvalidateAttribute",moduleName:lt};static sanitizeResourceUrl={name:"ɵɵsanitizeResourceUrl",moduleName:lt};static sanitizeScript={name:"ɵɵsanitizeScript",moduleName:lt};static sanitizeUrl={name:"ɵɵsanitizeUrl",moduleName:lt};static sanitizeUrlOrResourceUrl={name:"ɵɵsanitizeUrlOrResourceUrl",moduleName:lt};static trustConstantHtml={name:"ɵɵtrustConstantHtml",moduleName:lt};static trustConstantResourceUrl={name:"ɵɵtrustConstantResourceUrl",moduleName:lt};static inputDecorator={name:"Input",moduleName:lt};static outputDecorator={name:"Output",moduleName:lt};static viewChildDecorator={name:"ViewChild",moduleName:lt};static viewChildrenDecorator={name:"ViewChildren",moduleName:lt};static contentChildDecorator={name:"ContentChild",moduleName:lt};static contentChildrenDecorator={name:"ContentChildren",moduleName:lt};static InputSignalBrandWriteType={name:"ɵINPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:lt};static UnwrapDirectiveSignalInputs={name:"ɵUnwrapDirectiveSignalInputs",moduleName:lt};static unwrapWritableSignal={name:"ɵunwrapWritableSignal",moduleName:lt};static assertType={name:"ɵassertType",moduleName:lt}}const ut=/-+([a-z0-9])/g;function dt(e,t,n){const i=e.indexOf(t);return-1==i?n:[e.slice(0,i).trim(),e.slice(i+1).trim()]}function ht(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(ht).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;if(!e.toString)return"object";const n=e.toString();if(null==n)return""+n;const i=n.indexOf("\n");return i>=0?n.slice(0,i):n}const pt=globalThis,ft=/^([1-9]|1[0-8])\./;function mt(e){return!!e.startsWith("0.")||!ft.test(e)}class gt{file;sourcesContent=new Map;lines=[];lastCol0=0;hasMappings=!1;constructor(e=null){this.file=e}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,n,i){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==n||null==i))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:n,sourceCol0:i}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],n=[];Array.from(this.sourcesContent.keys()).forEach((i,r)=>{e.set(i,r),t.push(i),n.push(this.sourcesContent.get(i)||null)});let i="",r=0,s=0,o=0,a=0;return this.lines.forEach(t=>{r=0,i+=t.map(t=>{let n=vt(t.col0-r);return r=t.col0,null!=t.sourceUrl&&(n+=vt(e.get(t.sourceUrl)-s),s=e.get(t.sourceUrl),n+=vt(t.sourceLine0-o),o=t.sourceLine0,n+=vt(t.sourceCol0-a),a=t.sourceCol0),n}).join(","),i+=";"}),i=i.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:n,mappings:i}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(e){let t="";const n=function(e){let t=[];for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i>=55296&&i<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,i=(i-55296<<10)+t-56320+65536)}i<=127?t.push(i):i<=2047?t.push(i>>6&31|192,63&i|128):i<=65535?t.push(i>>12|224,i>>6&63|128,63&i|128):i<=2097151&&t.push(i>>18&7|240,i>>12&63|128,i>>6&63|128,63&i|128)}return t}(e);for(let e=0;e<n.length;){const i=n[e++],r=e<n.length?n[e++]:null,s=e<n.length?n[e++]:null;t+=bt(i>>2),t+=bt((3&i)<<4|(null===r?0:r>>4)),t+=null===r?"=":bt((15&r)<<2|(null===s?0:s>>6)),t+=null===r||null===s?"=":bt(63&s)}return t}(JSON.stringify(this,null,0)):""}}function vt(e){e=e<0?1+(-e<<1):e<<1;let t="";do{let n=31&e;(e>>=5)>0&&(n|=32),t+=bt(n)}while(e>0);return t}const yt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function bt(e){if(e<0||e>=64)throw new Error("Can only encode value in the range [0, 63]");return yt[e]}const wt=/'|\\|\n|\r|\$/g,_t=/^[$A-Z_][0-9A-Z_$]*$/i;class xt{indent;partsLength=0;parts=[];srcSpans=[];constructor(e){this.indent=e}}const kt=new Map([[J.And,"&&"],[J.Bigger,">"],[J.BiggerEquals,">
1="],[J.BitwiseOr,"|"],[J.BitwiseAnd,"&"],[J.Divide,"/"],[J.Assign,"="],[J.Equals,"=="],[J.Identical,"==="],[J.Lower,"<"],[J.LowerEquals,"<="],[J.Minus,"-"],[J.Modulo,"%"],[J.Exponentiation,"**"],[J.Multiply,"*"],[J.NotEquals,"!="],[J.NotIdentical,"!=="],[J.NullishCoalesce,"??"],[J.Or,"||"],[J.Plus,"+"],[J.In,"in"],[J.AdditionAssignment,"+="],[J.SubtractionAssignment,"-="],[J.MultiplicationAssignment,"*="],[J.DivisionAssignment,"/="],[J.RemainderAssignment,"%="],[J.ExponentiationAssignment,"**="],[J.AndAssignment,"&&="],[J.OrAssignment,"||="],[J.NullishCoalesceAssignment,"??="]]);class Ct{_indent;static createRoot(){return new Ct(0)}_lines;constructor(e){this._indent=e,this._lines=[new xt(e)]}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return 2*this._currentLine.indent+this._currentLine.partsLength}print(e,t,n=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),n&&this._lines.push(new xt(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map(e=>e.parts.length>0?Et(e.indent)+e.parts.join(""):"").join("\n")}toSourceMapGenerator(e,t=0){const n=new gt(e);let i=!1;const r=()=>{i||(n.addSource(e," ").addMapping(0,e,0,0),i=!0)};for(let e=0;e<t;e++)n.addLine(),r();return this.sourceLines.forEach((e,t)=>{n.addLine();const s=e.srcSpans,o=e.parts;let a=2*e.indent,l=0;for(;l<s.length&&!s[l];)a+=o[l].length,l++;for(l<s.length&&0===t&&0===a?i=!0:r();l<s.length;){const e=s[l],t=e.start.file,i=e.start.line,r=e.start.col;for(n.addSource(t.url,t.content).addMapping(a,t.url,i,r),a+=o[l].length,l++;l<s.length&&(e===s[l]||!s[l]);)a+=o[l].length,l++}}),n}spanOf(e,t){const n=this._lines[e];if(n){let e=t-Et(n.indent).length;for(let t=0;t<n.parts.length;t++){const i=n.parts[t];if(i.length>e)return n.srcSpans[t];e-=i.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class St{_escapeDollarInStrings;lastIfCondition=null;constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,t){if(void 0!==e.leadingComments)for(const n of e.leadingComments)n instanceof Be?t.print(e,`/*${n.toString()}*/`,n.trailingNewline):n.multiline?t.print(e,`/* ${n.text} */`,n.trailingNewline):n.text.split("\n").forEach(n=>{t.println(e,`// ${n}`)})}visitExpressionStmt(e,t){return this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";"),null}visitReturnStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),this.lastIfCondition=e.condition,e.condition.visitExpression(this,t),this.lastIfCondition=null,t.print(e,") {");const n=null!=e.falseCase&&e.falseCase.length>0;return e.trueCase.length<=1&&!n?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),n&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null}visitInvokeFunctionExpr(e,t){const n=e.fn instanceof Ce;return n&&t.print(e.fn,"("),e.fn.visitExpression(this,t),n&&t.print(e.fn,")"),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitTaggedTemplateLiteralExpr(e,t){return e.tag.visitExpression(this,t),e.template.visitExpression(this,t),null}visitTemplateLiteralExpr(e,t){t.print(e,"`");for(let n=0;n<e.elements.length;n++){e.elements[n].visitExpression(this,t);const i=n<e.expressions.length?e.expressions[n]:null;null!==i&&(t.print(i,"${"),i.visitExpression(this,t),t.print(i,"}"))}t.print(e,"`")}visitTemplateLiteralElementExpr(e,t){t.print(e,e.rawText)}visitWrappedNodeExpr(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")}visitTypeofExpr(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitVoidExpr(e,t){t.print(e,"void "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){return t.print(e,e.name),null}visitInstantiateExpr(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitLiteralExpr(e,t){const n=e.value;return"string"==typeof n?t.print(e,Tt(n,this._escapeDollarInStrings)):t.print(e,`${n}`),null}visitLocalizedString(e,t){const n=e.serializeI18nHead();t.print(e,"$localize `"+n.raw);for(let n=1;n<e.messageParts.length;n++)t.print(e,"${"),e.expressions[n-1].visitExpression(this,t),t.print(e,`}${e.serializeI18nTemplatePart(n).raw}`);return t.print(e,"`"),null}visitConditionalExpr(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null}visitDynamicImportExpr(e,t){t.print(e,`import(${e.url})`)}visitNotExpr(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null}visitUnaryOperatorExpr(e,t){let n;switch(e.operator){case K.Plus:n="+";break;case K.Minus:n="-";break;default:throw new Error(`Unknown operator ${e.operator}`)}const i=e!==this.lastIfCondition;return i&&t.print(e,"("),t.print(e,n),e.expr.visitExpression(this,t),i&&t.print(e,")"),null}visitBinaryOperatorExpr(e,t){const n=kt.get(e.operator);if(!n)throw new Error(`Unknown operator ${e.operator}`);const i=e!==this.lastIfCondition;return i&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${n} `),e.rhs.visitExpression(this,t),i&&t.print(e,")"),null}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null}visitLiteralArrayExpr(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null}visitLiteralMapExpr(e,t){return t.print(e,"{"),this.visitAllObjects(n=>{t.print(e,`${Tt(n.key,this._escapeDollarInStrings,n.quoted)}:`),n.value.visitExpression(this,t)},e.entries,t,","),t.print(e,"}"),null}visitCommaExpr(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null}visitParenthesizedExpr(e,t){e.expr.visitExpression(this,t)}visitAllExpressions(e,t,n){this.visitAllObjects(e=>e.visitExpression(this,t),e,t,n)}visitAllObjects(e,t,n,i){let r=!1;for(let s=0;s<t.length;s++)s>0&&(n.lineLength()>80?(n.print(null,i,!0),r||(n.incIndent(),n.incIndent(),r=!0)):n.print(null,i,!1)),e(t[s]);r&&(n.decIndent(),n.decIndent())}
1visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function Tt(e,t,n=!0){if(null==e)return null;const i=e.replace(wt,(...e)=>"$"==e[0]?t?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":`\\${e[0]}`);return n||!_t.test(i)?`'${i}'`:i}function Et(e){let t="";for(let n=0;n<e;n++)t+="  ";return t}function It(e,t){if(0===t)return We(e);const n=[];for(let e=0;e<t;e++)n.push(U);return We(e,void 0,n)}function At(e,t){const n=Tt(t,!1,!1);return n!==t?`${e}[${n}]`:`${e}.${t}`}function Dt(e){const t=new re(e);return{value:t,type:t}}function Mt(e,t){const n=Ze(e.map(e=>e.value));return t?Je([],n):n}function Ot(e,t){return{expression:e,forwardRef:t}}function Pt({expression:e,forwardRef:t}){switch(t){case 0:case 1:return e;case 2:return n=e,qe(ct.forwardRef).callFn([Je([],n)])}var n}var Lt;function Nt(e){const t=Ue("__ngFactoryType__");let n=null;const i=Ft(e)?t:new Ee(J.Or,t,e.type.value);let r=null;null!==e.deps?"invalid"!==e.deps&&(r=new ae(i,Bt(e.deps,e.target))):(n=Ue(`ɵ${e.name}_BaseFactory`),r=n.callFn([i]));const s=[];let o=null;function a(e){const n=Ue("__ngConditionalFactory__");s.push(new Ve(n.name,Pe,q));const i=null!==r?n.set(r).toStmt():qe(ct.invalidFactory).callFn([]).toStmt();return s.push(Xe(t,[i],[n.set(e).toStmt()])),n}if(Ft(e)){const t=Bt(e.delegateDeps,e.target);o=a(new(e.delegateType===Lt.Class?ae:se)(e.delegate,t))}else o=function(e){return void 0!==e.expression}(e)?a(e.expression):r;if(null===o)s.push(qe(ct.invalidFactory).callFn([]).toStmt());else if(null!==n){const t=qe(ct.getInheritedFactory).callFn([e.type.value]),r=new Ee(J.Or,n,n.set(t));s.push(new He(r.callFn([i])))}else s.push(new He(o));let l=Ke([new xe(t.name,U)],s,q,void 0,`${e.name}_Factory`);return null!==n&&(l=Je([],[new Ve(n.name),new He(l)]).callFn([],void 0,!0)),{expression:l,statements:[],type:Rt(e)}}function Rt(e){const t=null!==e.deps&&"invalid"!==e.deps?function(e){let t=!1;const n=e.map(e=>{const n=function(e){const t=[];return null!==e.attributeNameType&&t.push({key:"attribute",value:e.attributeNameType,quoted:!1}),e.optional&&t.push({key:"optional",value:Qe(!0),quoted:!1}),e.host&&t.push({key:"host",value:Qe(!0),quoted:!1}),e.self&&t.push({key:"self",value:Qe(!0),quoted:!1}),e.skipSelf&&t.push({key:"skipSelf",value:Qe(!0),quoted:!1}),t.length>0?Ye(t):null}(e);return null!==n?(t=!0,n):Qe(null)});return t?We(Ze(n)):Y}(e.deps):Y;return We(qe(ct.FactoryDeclaration,[It(e.type.type,e.typeArgumentCount),t]))}function Bt(e,t){return e.map((e,n)=>function(e,t,n){if(null===e.token)return qe(ct.invalidFactoryDep).callFn([Qe(n)]);if(null===e.attributeNameType){const n=(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0)|(t===v.Pipe?16:0);let i=0!==n||e.optional?Qe(n):null;const r=[e.token];i&&r.push(i);const s=function(e){switch(e){case v.Component:case v.Directive:case v.Pipe:return ct.directiveInject;case v.NgModule:case v.Injectable:default:return ct.inject}}(t);return qe(s).callFn(r)}return qe(ct.injectAttribute).callFn([e.token])}(e,t,n))}function Ft(e){return void 0!==e.delegateType}!function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"}(Lt||(Lt={}));class Vt{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new gn(e+this.start,e+this.end)}}class $t{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}}class jt extends $t{nameSpan;constructor(e,t,n){super(e,t),this.nameSpan=n}}let Ht=class extends $t{visit(e,t=null){}};class zt extends $t{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class Ut extends zt{visit(e,t=null){return e.visitThisReceiver?.(this,t)}}class qt extends $t{expressions;constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitChain(this,t)}}class Wt extends $t{condition;trueExp;falseExp;constructor(e,t,n,i,r){super(e,t),this.condition=n,this.trueExp=i,this.falseExp=r}visit(e,t=null){return e.visitConditional(this,t)}}class Gt extends jt{receiver;name;constructor(e,t,n,i,r){super(e,t,n),this.receiver=i,this.name=r}visit(e,t=null){return e.visitPropertyRead(this,t)}}class Zt extends jt{receiver;name;constructor(e,t,n,i,r){super(e,t,n),this.receiver=i,this.name=r}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class Yt extends $t{receiver;key;constructor(e,t,n,i){super(e,t),this.receiver=n,this.key=i}visit(e,t=null){return e.visitKeyedRead(this,t)}}class Kt extends $t{receiver;key;constructor(e,t,n,i){super(e,t),this.receiver=n,this.key=i}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}}var Jt;!function(e){e[e.ReferencedByName=0]="ReferencedByName",e[e.ReferencedDirectly=1]="ReferencedDirectly"}(Jt||(Jt={}));class Xt extends jt{exp;name;args;type;constructor(e,t,n,i,r,s,o){super(e,t,o),this.exp=n,this.name=i,this.args=r,this.type=s}visit(e,t=null){return e.visitPipe(this,t)}}class Qt extends $t{value;constructor(e,t,n){super(e,t),this.value=n}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class en extends $t{expressions;constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitLiteralArray(this,t)}}class tn extends $t{keys;values;constructor(e,t,n,i){super(e,t),this.keys=n,this.values=i}visit(e,t=null){return e.visitLiteralMap(this,t)}}let nn=class extends $t{strings;expressions;constructor(e,t,n,i){super(e,t),this.strings=n,this.expressions=i}visit(e,t=null){return e.visitInterpolation(this,t)}};class rn extends $t{operation;left;right;constructor(e,t,n,i,r){super(e,t),this.operation=n,this.left=i,this.right=r}visit(e,t=null){return e.visitBinary(this,t)}static isAssignmentOperation(e){return"="===e||"+="===e||"-="===e||"*="===e||"/="===e||"%="===e||"**="===e||"&&="===e||"||="===e||"??="===e}}class sn extends rn{operator;expr;left=null;right=null;operation=null;static createMinus(e,t,n){return new sn(e,t,"-",n,"-",new Qt(e,t,0),n)}
1static createPlus(e,t,n){return new sn(e,t,"+",n,"-",n,new Qt(e,t,0))}constructor(e,t,n,i,r,s,o){super(e,t,r,s,o),this.operator=n,this.expr=i}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class on extends $t{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitPrefixNot(this,t)}}class an extends $t{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitTypeofExpression(this,t)}}class ln extends $t{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitVoidExpression(this,t)}}class cn extends $t{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class un extends $t{receiver;args;argumentSpan;constructor(e,t,n,i,r){super(e,t),this.receiver=n,this.args=i,this.argumentSpan=r}visit(e,t=null){return e.visitCall(this,t)}}class dn extends $t{receiver;args;argumentSpan;constructor(e,t,n,i,r){super(e,t),this.receiver=n,this.args=i,this.argumentSpan=r}visit(e,t=null){return e.visitSafeCall(this,t)}}class hn extends $t{tag;template;constructor(e,t,n,i){super(e,t),this.tag=n,this.template=i}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}}class pn extends $t{elements;expressions;constructor(e,t,n,i){super(e,t),this.elements=n,this.expressions=i}visit(e,t){return e.visitTemplateLiteral(this,t)}}class fn extends $t{text;constructor(e,t,n){super(e,t),this.text=n}visit(e,t){return e.visitTemplateLiteralElement(this,t)}}class mn extends $t{expression;constructor(e,t,n){super(e,t),this.expression=n}visit(e,t){return e.visitParenthesizedExpression(this,t)}}class gn{start;end;constructor(e,t){this.start=e,this.end=t}}class vn extends $t{ast;source;location;errors;constructor(e,t,n,i,r){super(new Vt(0,null===t?0:t.length),new gn(i,null===t?i:i+t.length)),this.ast=e,this.source=t,this.location=n,this.errors=r}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class yn{sourceSpan;key;value;constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class bn{sourceSpan;key;value;constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class wn{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let n=0;n<e.elements.length;n++){this.visit(e.elements[n],t);const i=n<e.expressions.length?e.expressions[n]:null;null!==i&&this.visit(i,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitAll(e,t){for(const n of e)this.visit(n,t)}}class _n{name;expression;type;sourceSpan;keySpan;valueSpan;isLiteral;isLegacyAnimation;isAnimation;constructor(e,t,n,i,r,s){this.name=e,this.expression=t,this.type=n,this.sourceSpan=i,this.keySpan=r,this.valueSpan=s,this.isLiteral=this.type===xn.LITERAL_ATTR,this.isLegacyAnimation=this.type===xn.LEGACY_ANIMATION,this.isAnimation=this.type===xn.ANIMATION}}var xn,kn,Cn,Sn;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.LEGACY_ANIMATION=2]="LEGACY_ANIMATION",e[e.TWO_WAY=3]="TWO_WAY",e[e.ANIMATION=4]="ANIMATION"}(xn||(xn={})),function(e){e[e.Regular=0]="Regular",e[e.LegacyAnimation=1]="LegacyAnimation",e[e.TwoWay=2]="TwoWay",e[e.Animation=3]="Animation"}(kn||(kn={}));class Tn{name;targetOrPhase;type;handler;sourceSpan;handlerSpan;keySpan;constructor(e,t,n,i,r,s,o){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=i,this.sourceSpan=r,this.handlerSpan=s,this.keySpan=o}}class En{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,n,i,r){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=i,this.valueSpan=r}}!function(e){e[e.Property=0]="Property",e[e.Attribute=1]="Attribute",e[e.Class=2]="Class",e[e.Style=3]="Style",e[e.LegacyAnimation=4]="LegacyAnimation",e[e.TwoWay=5]="TwoWay",e[e.Animation=6]="Animation"}(Cn||(Cn={}));class In{name;type;securityContext;value;unit;sourceSpan;keySpan;valueSpan;constructor(e,t,n,i,r,s,o,a){this.name=e,this.type=t,this.securityContext=n,this.value=i,this.unit=r,this.sourceSpan=s,this.keySpan=o,this.valueSpan=a}}function An(e,t=!0){if(":"!=e[0])return[null,e];const n=e.indexOf(":",1);
1if(-1===n){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Dn(e){return"ng-container"===An(e)[1]}function Mn(e){return"ng-content"===An(e)[1]}function On(e){return null===e?null:An(e)[0]}function Pn(e,t){return e?`:${e}:${t}`:t}!function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(Sn||(Sn={}));let Ln=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){throw new Error("visit() not implemented for Comment")}},Nn=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}};class Rn{value;sourceSpan;i18n;constructor(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}visit(e){return e.visitBoundText(this)}}class Bn{name;value;sourceSpan;keySpan;valueSpan;i18n;constructor(e,t,n,i,r,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=i,this.valueSpan=r,this.i18n=s}visit(e){return e.visitTextAttribute(this)}}class Fn{name;type;securityContext;value;unit;sourceSpan;keySpan;valueSpan;i18n;constructor(e,t,n,i,r,s,o,a,l){this.name=e,this.type=t,this.securityContext=n,this.value=i,this.unit=r,this.sourceSpan=s,this.keySpan=o,this.valueSpan=a,this.i18n=l}static fromBoundElementProperty(e,t){if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new Fn(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class Vn{name;type;handler;target;phase;sourceSpan;handlerSpan;keySpan;constructor(e,t,n,i,r,s,o,a){this.name=e,this.type=t,this.handler=n,this.target=i,this.phase=r,this.sourceSpan=s,this.handlerSpan=o,this.keySpan=a}static fromParsedEvent(e){const t=e.type===kn.Regular?e.targetOrPhase:null,n=e.type===kn.LegacyAnimation?e.targetOrPhase:null;if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new Vn(e.name,e.type,e.handler,t,n,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}}let $n=class{name;attributes;inputs;outputs;directives;children;references;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;isVoid;i18n;constructor(e,t,n,i,r,s,o,a,l,c,u,d,h){this.name=e,this.attributes=t,this.inputs=n,this.outputs=i,this.directives=r,this.children=s,this.references=o,this.isSelfClosing=a,this.sourceSpan=l,this.startSourceSpan=c,this.endSourceSpan=u,this.isVoid=d,this.i18n=h}visit(e){return e.visitElement(this)}};class jn{nameSpan;sourceSpan;prefetchSpan;whenOrOnSourceSpan;hydrateSpan;constructor(e,t,n,i,r){this.nameSpan=e,this.sourceSpan=t,this.prefetchSpan=n,this.whenOrOnSourceSpan=i,this.hydrateSpan=r}visit(e){return e.visitDeferredTrigger(this)}}class Hn extends jn{value;constructor(e,t,n,i,r){super(null,t,n,i,r),this.value=e}}class zn extends jn{}class Un extends jn{}class qn extends jn{}class Wn extends jn{reference;constructor(e,t,n,i,r,s){super(t,n,i,r,s),this.reference=e}}class Gn extends jn{delay;constructor(e,t,n,i,r,s){super(t,n,i,r,s),this.delay=e}}class Zn extends jn{reference;constructor(e,t,n,i,r,s){super(t,n,i,r,s),this.reference=e}}class Yn extends jn{reference;constructor(e,t,n,i,r,s){super(t,n,i,r,s),this.reference=e}}class Kn{nameSpan;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i){this.nameSpan=e,this.sourceSpan=t,this.startSourceSpan=n,this.endSourceSpan=i}}class Jn extends Kn{children;minimumTime;i18n;constructor(e,t,n,i,r,s,o){super(n,i,r,s),this.children=e,this.minimumTime=t,this.i18n=o}visit(e){return e.visitDeferredBlockPlaceholder(this)}}class Xn extends Kn{children;afterTime;minimumTime;i18n;constructor(e,t,n,i,r,s,o,a){super(i,r,s,o),this.children=e,this.afterTime=t,this.minimumTime=n,this.i18n=a}visit(e){return e.visitDeferredBlockLoading(this)}}class Qn extends Kn{children;i18n;constructor(e,t,n,i,r,s){super(t,n,i,r),this.children=e,this.i18n=s}visit(e){return e.visitDeferredBlockError(this)}}class ei extends Kn{children;placeholder;loading;error;mainBlockSpan;i18n;triggers;prefetchTriggers;hydrateTriggers;definedTriggers;definedPrefetchTriggers;definedHydrateTriggers;constructor(e,t,n,i,r,s,o,a,l,c,u,d,h){super(a,l,u,d),this.children=e,this.placeholder=r,this.loading=s,this.error=o,this.mainBlockSpan=c,this.i18n=h,this.triggers=t,this.prefetchTriggers=n,this.hydrateTriggers=i,this.definedTriggers=Object.keys(t),this.definedPrefetchTriggers=Object.keys(n),this.definedHydrateTriggers=Object.keys(i)}visit(e){return e.visitDeferredBlock(this)}visitAll(e){this.visitTriggers(this.definedHydrateTriggers,this.hydrateTriggers,e),this.visitTriggers(this.definedTriggers,this.triggers,e),this.visitTriggers(this.definedPrefetchTriggers,this.prefetchTriggers,e),vi(e,this.children),vi(e,[this.placeholder,this.loading,this.error].filter(e=>null!==e))}visitTriggers(e,t,n){vi(n,e.map(e=>t[e]))}}class ti extends Kn{expression;cases;unknownBlocks;constructor(e,t,n,i,r,s,o){super(o,i,r,s),this.expression=e,this.cases=t,this.unknownBlocks=n}visit(e){return e.visitSwitchBlock(this)}}class ni extends Kn{expression;children;i18n;constructor(e,t,n,i,r,s,o){super(s,n,i,r),this.expression=e,this.children=t,this.i18n=o}visit(e){return e.visitSwitchBlockCase(this)}}class ii extends Kn{item;expression;trackBy;trackKeywordSpan;contextVariables;children;empty;mainBlockSpan;i18n;constructor(e,t,n,i,r,s,o,a,l,c,u,d,h){super(d,a,c,u),this.item=e,this.expression=t,this.trackBy=n,this.trackKeywordSpan=i,this.contextVariables=r,this.children=s,this.empty=o,this.mainBlockSpan=l,this.i18n=h}visit(e){return e.visitForLoopBlock(this)}}class ri extends Kn{children;i18n;constructor(e,t,n,i,r,s){super(r,t,n,i),this.children=e,this.i18n=s}visit(e){return e.visitForLoopBlockEmpty(this)}}class si extends Kn{branches;constructor(e,t,n,i,r){super(r,t,n,i),this.branches=e}visit(e){return e.visitIfBlock(this)}}class oi extends Kn{expression;children;expressionAlias;i18n;constructor(e,t,n,i,r,s,o,a){super(o,i,r,s),this.expression=e,this.children=t,this.expressionAlias=n,this.i18n=a}visit(e){return e.visitIfBlockBranch(this)}}class ai{name;sourceSpan;nameSpan;constructor(e,t,n){this.name=e,this.sourceSpan=t,this.nameSpan=n}visit(e){return e.visitUnknownBlock(this)}}let li=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,n,i,r){this.name=e,this.value=t,this.sourceSpan=n,this.nameSpan=i,this.valueSpan=r}visit(e){return e.visitLetDeclaration(this)}},ci=class{componentName;tagName;fullName;attributes;inputs;outputs;directives;children;references;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,n,i,r,s,o,a,l,c,u,d,h,p){this.componentName=e,this.tagName=t,this.fullName=n,this.attributes=i,this.inputs=r,this.outputs=s,this.directives=o,this.children=a,this.references=l,this.isSelfClosing=c,this.sourceSpan=u,this.startSourceSpan=d,this.endSourceSpan=h,this.i18n=p}visit(e){return e.visitComponent(this)}},ui=class{name;attributes;inputs;outputs;references;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,n,i,r,s,o,a,l){this.name=e,this.attributes=t,this.inputs=n,this.outputs=i,this.references=r,this.sourceSpan=s,this.startSourceSpan=o,this.endSourceSpan=a,this.i18n=l}
1visit(e){return e.visitDirective(this)}};class di{tagName;attributes;inputs;outputs;directives;templateAttrs;children;references;variables;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,n,i,r,s,o,a,l,c,u,d,h,p){this.tagName=e,this.attributes=t,this.inputs=n,this.outputs=i,this.directives=r,this.templateAttrs=s,this.children=o,this.references=a,this.variables=l,this.isSelfClosing=c,this.sourceSpan=u,this.startSourceSpan=d,this.endSourceSpan=h,this.i18n=p}visit(e){return e.visitTemplate(this)}}class hi{selector;attributes;children;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;name="ng-content";constructor(e,t,n,i,r,s,o,a){this.selector=e,this.attributes=t,this.children=n,this.isSelfClosing=i,this.sourceSpan=r,this.startSourceSpan=s,this.endSourceSpan=o,this.i18n=a}visit(e){return e.visitContent(this)}}class pi{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,n,i,r){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=i,this.valueSpan=r}visit(e){return e.visitVariable(this)}}class fi{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,n,i,r){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=i,this.valueSpan=r}visit(e){return e.visitReference(this)}}let mi=class{vars;placeholders;sourceSpan;i18n;constructor(e,t,n,i){this.vars=e,this.placeholders=t,this.sourceSpan=n,this.i18n=i}visit(e){return e.visitIcu(this)}};class gi{tagNames;bindings;listeners;sourceSpan;constructor(e,t,n,i){if(this.tagNames=e,this.bindings=t,this.listeners=n,this.sourceSpan=i,0===e.length)throw new Error("HostElement must have at least one tag name.")}visit(){throw new Error("HostElement cannot be visited")}}function vi(e,t){const n=[];if(e.visit)for(const n of t)e.visit(n);else for(const i of t){const t=i.visit(e);t&&n.push(t)}return n}class yi{nodes;placeholders;placeholderToMessage;meaning;description;customId;sources;id;legacyIds=[];messageString;constructor(e,t,n,i,r,s){this.nodes=e,this.placeholders=t,this.placeholderToMessage=n,this.meaning=i,this.description=r,this.customId=s,this.id=this.customId,this.messageString=function(e){const t=new Ti;return e.map(e=>e.visit(t)).join("")}(this.nodes),e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}let bi=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}};class wi{children;sourceSpan;constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class _i{expression;type;cases;sourceSpan;expressionPlaceholder;constructor(e,t,n,i,r){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=i,this.expressionPlaceholder=r}visit(e,t){return e.visitIcu(this,t)}}class xi{tag;attrs;startName;closeName;children;isVoid;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i,r,s,o,a,l){this.tag=e,this.attrs=t,this.startName=n,this.closeName=i,this.children=r,this.isVoid=s,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=l}visit(e,t){return e.visitTagPlaceholder(this,t)}}class ki{value;name;sourceSpan;constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitPlaceholder(this,t)}}class Ci{value;name;sourceSpan;previousMessage;constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitIcuPlaceholder(this,t)}}class Si{name;parameters;startName;closeName;children;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i,r,s,o,a){this.name=e,this.parameters=t,this.startName=n,this.closeName=i,this.children=r,this.sourceSpan=s,this.startSourceSpan=o,this.endSourceSpan=a}visit(e,t){return e.visitBlockPlaceholder(this,t)}}class Ti{visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){const t=e.children.map(e=>e.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}visitPlaceholder(e){return`{$${e.name}}`}visitIcuPlaceholder(e){return`{$${e.name}}`}visitBlockPlaceholder(e){const t=e.children.map(e=>e.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}}new class{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const n=e.children.map(e=>e.visit(this));return`<${e.name}${t}>${n.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};const Ei="i18n",Ii="i18n-";function Ai(e){return e===Ei||e.startsWith(Ii)}
1function Di(e){return e.nodes[0]}function Mi(e={},t){const n={};return e&&Object.keys(e).length&&Object.keys(e).forEach(i=>n[Oi(i,t)]=e[i]),n}function Oi(e,t=!0){const n=e.toUpperCase().replace(/[^A-Z0-9_]/g,"_");if(!t)return n;const i=n.split("_");if(1===i.length)return e.toLowerCase();let r;/^\d+$/.test(i[i.length-1])&&(r=i.pop());let s=i.shift().toLowerCase();return i.length&&(s+=i.map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join("")),r?`${s}_${r}`:s}const Pi=/[-.]/,Li="_t",Ni="ctx",Ri="rf";function Bi(e,t){let n=null;return()=>(n||(e(new Ve(Li,void 0,U)),n=Ue(t)),n)}function Fi(e){return Array.isArray(e)?Ze(e.map(Fi)):Qe(e,q)}function Vi(e,t){const n=Object.getOwnPropertyNames(e);return 0===n.length?null:Ye(n.map(n=>{const i=e[n];let r,s,o,a;if("string"==typeof i)r=n,o=n,s=i,a=Fi(s);else{o=n,r=i.classPropertyName,s=i.bindingPropertyName;const e=s!==r,l=null!==i.transformFunction;let c=p.None;if(i.isSignal&&(c|=p.SignalBased),l&&(c|=p.HasDecoratorInputTransform),t&&(e||l||c!==p.None)){const t=[Qe(c),Fi(s)];(e||l)&&(t.push(Fi(r)),l&&t.push(i.transformFunction)),a=Ze(t)}else a=Fi(s)}return{key:o,quoted:Pi.test(o),value:a}}))}class $i{values=[];set(e,t){if(t){const n=this.values.find(t=>t.key===e);n?n.value=t:this.values.push({key:e,value:t,quoted:!1})}}toLiteralMap(){return Ye(this.values)}}function ji(e,t){let n=null;const i={name:e.name,type:e.type,typeArgumentCount:e.typeArgumentCount,deps:[],target:v.Injectable};if(void 0!==e.useClass){const r=e.useClass.expression.isEquivalent(e.type.value);let s;void 0!==e.deps&&(s=e.deps),n=void 0!==s?Nt({...i,delegate:e.useClass.expression,delegateDeps:s,delegateType:Lt.Class}):r?Nt(i):{statements:[],expression:zi(e.type.value,e.useClass.expression,t)}}else n=void 0!==e.useFactory?void 0!==e.deps?Nt({...i,delegate:e.useFactory,delegateDeps:e.deps||[],delegateType:Lt.Function}):{statements:[],expression:Je([],e.useFactory.callFn([]))}:void 0!==e.useValue?Nt({...i,expression:e.useValue.expression}):void 0!==e.useExisting?Nt({...i,expression:qe(ct.inject).callFn([e.useExisting.expression])}):{statements:[],expression:zi(e.type.value,e.type.value,t)};const r=e.type.value,s=new $i;return s.set("token",r),s.set("factory",n.expression),null!==e.providedIn.expression.value&&s.set("providedIn",Pt(e.providedIn)),{expression:qe(ct.ɵɵdefineInjectable).callFn([s.toLiteralMap()],void 0,!0),type:Hi(e),statements:n.statements}}function Hi(e){return new z(qe(ct.InjectableDeclaration,[It(e.type.type,e.typeArgumentCount)]))}function zi(e,t,n){return e.node===t.node?t.prop("ɵfac"):Ui(n?qe(ct.resolveForwardRef).callFn([t]):t)}function Ui(e){const t=new xe("__ngFactoryType__",U);return Je([t],e.prop("ɵfac").callFn([Ue(t.name)]))}const qi=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];class Wi{start;end;static fromArray(e){return e?(function(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected 'interpolation' to be an array, [start, end].");if(null!=t){const e=t[0],n=t[1];qi.forEach(t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)})}}(0,e),new Wi(e[0],e[1])):Gi}constructor(e,t){this.start=e,this.end=t}}const Gi=new Wi("{{","}}"),Zi=new Set(["switch"]),Yi=10,Ki=40,Ji=41,Xi=44,Qi=47,er=58,tr=59,nr=60,ir=61,rr=62,sr=65,or=90,ar=91,lr=92,cr=93,ur=95,dr=97,hr=122,pr=123,fr=125,mr=64;function gr(e){return e>=9&&e<=32||160==e}function vr(e){return 48<=e&&e<=57}function yr(e){return e>=dr&&e<=hr||e>=sr&&e<=or}function br(e){return e===Yi||13===e}function wr(e){return 48<=e&&e<=55}function _r(e){return 39===e||34===e||96===e}class xr{file;offset;line;col;constructor(e,t,n,i){this.file=e,this.offset=t,this.line=n,this.col=i}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,n=t.length;let i=this.offset,r=this.line,s=this.col;for(;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==Yi){r--;const e=t.substring(0,i-1).lastIndexOf(String.fromCharCode(Yi));s=e>0?i-e:i}else s--;for(;i<n&&e>0;){const n=t.charCodeAt(i);i++,e--,n==Yi?(r++,s=0):s++}return new xr(this.file,i,r,s)}getContext(e,t){const n=this.file.content;let i=this.offset;if(null!=i){i>n.length-1&&(i=n.length-1);let r=i,s=0,o=0;for(;s<e&&i>0&&(i--,s++,"\n"!=n[i]||++o!=t););for(s=0,o=0;s<e&&r<n.length-1&&(r++,s++,"\n"!=n[r]||++o!=t););return{before:n.substring(i,this.offset),after:n.substring(this.offset,r+1)}}return null}}class kr{content;url;constructor(e,t){this.content=e,this.url=t}}class Cr{start;end;fullStart;details;constructor(e,t,n=e,i=null){this.start=e,this.end=t,this.fullStart=n,this.details=i}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var Sr;!function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(Sr||(Sr={}));
1class Tr extends Error{span;msg;level;relatedError;constructor(e,t,n=Sr.ERROR,i){super(t),this.span=e,this.msg=t,this.level=n,this.relatedError=i,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Sr[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}let Er=0;function Ir(e){return e.replace(/\W/g,"_")}const Ar='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class Dr extends St{constructor(){super(!1)}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(e,t){return t.print(e,`var ${e.name}`),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitTaggedTemplateLiteralExpr(e,t){const n=e.template.elements;return e.tag.visitExpression(this,t),t.print(e,`(${Ar}(`),t.print(e,`[${n.map(e=>Tt(e.text,!1)).join(", ")}], `),t.print(e,`[${n.map(e=>Tt(e.rawText,!1)).join(", ")}])`),e.template.expressions.forEach(n=>{t.print(e,", "),n.visitExpression(this,t)}),t.print(e,")"),null}visitTemplateLiteralExpr(e,t){t.print(e,"`");for(let n=0;n<e.elements.length;n++){e.elements[n].visitExpression(this,t);const i=n<e.expressions.length?e.expressions[n]:null;null!==i&&(t.print(i,"${"),i.visitExpression(this,t),t.print(i,"}"))}t.print(e,"`")}visitTemplateLiteralElementExpr(e,t){return t.print(e,e.rawText),null}visitFunctionExpr(e,t){return t.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitArrowFunctionExpr(e,t){if(t.print(e,"("),this._visitParams(e.params,t),t.print(e,") =>"),Array.isArray(e.body))t.println(e,"{"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.print(e,"}");else{const n=e.body instanceof Oe;n&&t.print(e,"("),e.body.visitExpression(this,t),n&&t.print(e,")")}return null}visitDeclareFunctionStmt(e,t){return t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitLocalizedString(e,t){t.print(e,`$localize(${Ar}(`);const n=[e.serializeI18nHead()];for(let t=1;t<e.messageParts.length;t++)n.push(e.serializeI18nTemplatePart(t));return t.print(e,`[${n.map(e=>Tt(e.cooked,!1)).join(", ")}], `),t.print(e,`[${n.map(e=>Tt(e.raw,!1)).join(", ")}])`),e.expressions.forEach(n=>{t.print(e,", "),n.visitExpression(this,t)}),t.print(e,")"),null}_visitParams(e,t){this.visitAllObjects(e=>t.print(null,e.name),e,t,",")}}let Mr;function Or(...e){if(!pt.trustedTypes)return new Function(...e);const t=`(function anonymous(${e.slice(0,-1).join(",")}\n) { ${e[e.length-1]}\n})`,n=pt.eval((i=t,function(){if(void 0===Mr){const e=pt.trustedTypes;if(Mr=null,e)try{Mr=e.createPolicy("angular#unsafe-jit",{createScript:e=>e})}catch{}}return Mr}()?.createScript(i)||i));var i;return void 0===n.bind?new Function(...e):(n.toString=()=>t,n.bind(pt))}class Pr{evaluateStatements(e,t,n,i){const r=new Lr(n),s=Ct.createRoot();return t.length>0&&!t[0].isEquivalent(Qe("use strict").toStmt())&&(t=[Qe("use strict").toStmt(),...t]),r.visitAllStatements(t,s),r.createReturnStmt(s),this.evaluateCode(e,s,r.getArgs(),i)}evaluateCode(e,t,n,i){let r=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const s=[],o=[];for(const e in n)o.push(n[e]),s.push(e);if(i){const n=Or(...s.concat("return null;")).toString(),i=n.slice(0,n.indexOf("return null;")).split("\n").length-1;r+=`\n${t.toSourceMapGenerator(e,i).toJsComment()}`}const a=Or(...s.concat(r));return this.executeFunction(a,o)}executeFunction(e,t){return e(...t)}}class Lr extends Dr{refResolver;_evalArgNames=[];_evalArgValues=[];_evalExportedVars=[];constructor(e){super(),this.refResolver=e}createReturnStmt(e){new He(new Oe(this._evalExportedVars.map(e=>new Me(e,Ue(e),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}
1visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.refResolver.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(Ne.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(Ne.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}_emitReferenceToExternal(e,t,n){let i=this._evalArgValues.indexOf(t);if(-1===i){i=this._evalArgValues.length,this._evalArgValues.push(t);const e=function(e){if(!e||!e.reference)return null;const t=e.reference;if(t.__anonymousType)return t.__anonymousType;if(t.__forward_ref__)return"__forward_ref__";let n=ht(t);return n.indexOf("(")>=0?(n="anonymous_"+Er++,t.__anonymousType=n):n=Ir(n),n}({reference:t})||"val";this._evalArgNames.push(`jit_${e}_${i}`)}n.print(e,this._evalArgNames[i])}}function Nr(e){const t=new $i;return null!==e.providers&&t.set("providers",e.providers),e.imports.length>0&&t.set("imports",Ze(e.imports)),{expression:qe(ct.defineInjector).callFn([t.toLiteralMap()],void 0,!0),type:Rr(e),statements:[]}}function Rr(e){return new z(qe(ct.InjectorDeclaration,[new z(e.type.type)]))}class Br{context;constructor(e){this.context=e}resolveExternalReference(e){if("@angular/core"!==e.moduleName)throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}}var Fr,Vr,$r;function jr(e){const t=[],n=new $i;if(n.set("type",e.type.value),e.kind===Vr.Global&&e.bootstrap.length>0&&n.set("bootstrap",Mt(e.bootstrap,e.containsForwardDecls)),e.selectorScopeMode===Fr.Inline)e.declarations.length>0&&n.set("declarations",Mt(e.declarations,e.containsForwardDecls)),e.imports.length>0&&n.set("imports",Mt(e.imports,e.containsForwardDecls)),e.exports.length>0&&n.set("exports",Mt(e.exports,e.containsForwardDecls));else if(e.selectorScopeMode===Fr.SideEffect){const n=function(e){const t=new $i;if(e.kind===Vr.Global?e.declarations.length>0&&t.set("declarations",Mt(e.declarations,e.containsForwardDecls)):e.declarationsExpression&&t.set("declarations",e.declarationsExpression),e.kind===Vr.Global?e.imports.length>0&&t.set("imports",Mt(e.imports,e.containsForwardDecls)):e.importsExpression&&t.set("imports",e.importsExpression),e.kind===Vr.Global?e.exports.length>0&&t.set("exports",Mt(e.exports,e.containsForwardDecls)):e.exportsExpression&&t.set("exports",e.exportsExpression),e.kind===Vr.Local&&e.bootstrapExpression&&t.set("bootstrap",e.bootstrapExpression),0===Object.keys(t.values).length)return null;const n=function(e,t){const n=new be({name:e,moduleName:null}),i=new Ee(J.Identical,new ne(n),Qe("undefined")),r=new Ee(J.Or,i,n,void 0,void 0);return new Ee(J.And,r,t)}("ngJitMode",new se(qe(ct.setNgModuleScope),[e.type.value,t.toLiteralMap()])),i=new ke([],[n.toStmt()]);return new se(i,[]).toStmt()}(e);null!==n&&t.push(n)}return null!==e.schemas&&e.schemas.length>0&&n.set("schemas",Ze(e.schemas.map(e=>e.value))),null!==e.id&&(n.set("id",e.id),t.push(qe(ct.registerNgModuleType).callFn([e.type.value,e.id]).toStmt())),{expression:qe(ct.defineNgModule).callFn([n.toLiteralMap()],void 0,!0),type:Hr(e),statements:t}}function Hr(e){if(e.kind===Vr.Local)return new z(e.type.value);const{type:t,declarations:n,exports:i,imports:r,includeImportTypes:s,publicDeclarationTypes:o}=e;return new z(qe(ct.NgModuleDeclaration,[new z(t.type),null===o?zr(n):Ur(o),s?zr(r):Y,zr(i)]))}function zr(e){const t=e.map(e=>Ge(e.type));return e.length>0?We(Ze(t)):Y}function Ur(e){const t=e.map(e=>Ge(e));return e.length>0?We(Ze(t)):Y}function qr(e){const t=[];return t.push({key:"name",value:Qe(e.pipeName??e.name),quoted:!1}),t.push({key:"type",value:e.type.value,quoted:!1}),t.push({key:"pure",value:Qe(e.pure),quoted:!1}),!1===e.isStandalone&&t.push({key:"standalone",value:Qe(!1),quoted:!1}),{expression:qe(ct.definePipe).callFn([Ye(t)],void 0,!0),type:Wr(e),statements:[]}}function Wr(e){return new z(qe(ct.PipeDeclaration,[It(e.type.type,e.typeArgumentCount),new z(new le(e.pipeName)),new z(new le(e.isStandalone))]))}!function(e){e[e.Inline=0]="Inline",e[e.SideEffect=1]="SideEffect",e[e.Omit=2]="Omit"}(Fr||(Fr={})),function(e){e[e.Global=0]="Global",e[e.Local=1]="Local"}(Vr||(Vr={}
1)),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}($r||($r={}));const Gr=new Set(["inherit","initial","revert","unset","alternate","alternate-reverse","normal","reverse","backwards","both","forwards","none","paused","running","ease","ease-in","ease-in-out","ease-out","linear","step-start","step-end","end","jump-both","jump-end","jump-none","jump-start","start"]),Zr=["@media","@supports","@document","@layer","@container","@scope","@starting-style"];class Yr{shimCssText(e,t,n=""){const i=[];e=e.replace(ys,e=>{if(e.match(bs))i.push(e);else{const t=e.match(vs);i.push((t?.join("")??"")+"\n")}return ws}),e=this._insertDirectives(e);const r=this._scopeCssText(e,t,n);let s=0;return r.replace(_s,()=>i[s++])}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_scopeKeyframesRelatedCss(e,t){const n=new Set,i=Os(e,e=>this._scopeLocalKeyframeDeclarations(e,t,n));return Os(i,e=>this._scopeAnimationRule(e,t,n))}_scopeLocalKeyframeDeclarations(e,t,n){return{...e,selector:e.selector.replace(/(^@(?:-webkit-)?keyframes(?:\s+))(['"]?)(.+)\2(\s*)$/,(e,i,r,s,o)=>(n.add(Ns(s,r)),`${i}${r}${t}_${s}${r}${o}`))}}_scopeAnimationKeyframe(e,t,n){return e.replace(/^(\s*)(['"]?)(.+?)\2(\s*)$/,(e,i,r,s,o)=>`${i}${r}${s=`${n.has(Ns(s,r))?t+"_":""}${s}`}${r}${o}`)}_animationDeclarationKeyframesRe=/(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;_scopeAnimationRule(e,t,n){let i=e.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation\s*:\s*),*([^;]+)/g,(e,i,r)=>i+r.replace(this._animationDeclarationKeyframesRe,(e,i,r="",s,o)=>s?`${i}${this._scopeAnimationKeyframe(`${r}${s}${r}`,t,n)}`:Gr.has(o)?e:`${i}${this._scopeAnimationKeyframe(o,t,n)}`));return i=i.replace(/((?:^|\s+|;)(?:-webkit-)?animation-name(?:\s*):(?:\s*))([^;]+)/g,(e,i,r)=>`${i}${r.split(",").map(e=>this._scopeAnimationKeyframe(e,t,n)).join(",")}`),{...e,content:i}}_insertPolyfillDirectivesInCssText(e){return e.replace(Xr,function(...e){return e[2]+"{"})}_insertPolyfillRulesInCssText(e){return e.replace(Qr,(...e)=>{const t=e[0].replace(e[1],"").replace(e[2],"");return e[4]+t})}_scopeCssText(e,t,n){const i=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeKeyframesRelatedCss(e,t),e=this._scopeSelectors(e,t,n)),(e=e+"\n"+i).trim()}_extractUnscopedRulesFromCssText(e){let t,n="";for(es.lastIndex=0;null!==(t=es.exec(e));)n+=t[0].replace(t[2],"").replace(t[1],t[4])+"\n\n";return n}_convertColonHost(e){return e.replace(rs,(e,t,n)=>{if(t){const e=[],i=t.split(",").map(e=>e.trim());for(const t of i){if(!t)break;const i=ls+t.replace(ts,"")+n;e.push(i)}return e.join(",")}return ls+n})}_convertColonHostContext(e){const t=e.length;let n=0,i=0,r="";for(let s=0;s<t;s++){const o=e[s];if(","!==o||0!==n){if(s===t-1){r+=this._convertColonHostContextInSelectorPart(e.slice(i));break}"("===o?n++:")"===o&&n--}else r+=this._convertColonHostContextInSelectorPart(e.slice(i,s))+",",i=s+1}return r}_convertColonHostContextInSelectorPart(e){return e.replace(os,(e,t)=>{const n=[[]];let i;for(;i=as.exec(e);){const t=(i[1]??"").trim().split(",").map(e=>e.trim()).filter(e=>""!==e),r=n.length;Rs(n,t.length);for(let e=0;e<t.length;e++)for(let i=0;i<r;i++)n[i+e*r].push(t[e]);e=i[2]}return n.map(n=>function(e,t,n=""){const i=ls;fs.lastIndex=0;const r=fs.test(t);if(0===e.length)return i+t;const s=[e.pop()||""];for(;e.length>0;){const t=s.length,n=e.pop();for(let e=0;e<t;e++){const i=s[e];s[2*t+e]=i+" "+n,s[t+e]=n+" "+i,s[e]=n+i}}return s.map(e=>r?`${n}${e}${t}`:`${n}${e}${i}${t}, ${n}${e} ${i}${t}`).join(",")}(n,e,t)).join(", ")})}_convertShadowDOMSelectors(e){return ds.reduce((e,t)=>e.replace(t," "),e)}_scopeSelectors(e,t,n){return Os(e,e=>{let i=e.selector,r=e.content;return"@"!==e.selector[0]?i=this._scopeSelector({selector:i,scopeSelector:t,hostSelector:n,isParentSelector:!0}):Zr.some(t=>e.selector.startsWith(t))?r=this._scopeSelectors(e.content,t,n):(e.selector.startsWith("@font-face")||e.selector.startsWith("@page"))&&(r=this._stripScopingSelectors(e.content)),new Ms(i,r)})}_stripScopingSelectors(e){return Os(e,e=>{const t=e.selector.replace(hs," ").replace(us," ");return new Ms(t,e.content)})}_safeSelector;_shouldScopeIndicator;_scopeSelector({selector:e,scopeSelector:t,hostSelector:n,isParentSelector:i=!1}){return e.split(/ ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/).map(e=>e.split(hs)).map(e=>{const[r,...s]=e;return[(e=>this._selectorNeedsScoping(e,t)?this._applySelectorScope({selector:e,scopeSelector:t,hostSelector:n,isParentSelector:i}):e)(r),...s].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+ps,"m")}_applySimpleSelectorScope(e,t,n){if(fs.lastIndex=0,fs.test(e)){const t=`[${n}]`;let i=e;for(;i.match(us);)i=i.replace(us,(e,n)=>n.replace(/([^:\)]*)(:*)(.*)/,(e,n,i,r)=>n+t+i+r));return i.replace(fs,t)}return t+" "+e}_applySelectorScope({selector:e,scopeSelector:t,hostSelector:n,isParentSelector:i}){const r=`[${t=t.replace(/\[is=([^\]]*)\]/g,(e,...t)=>t[0])}]`,s=e=>{let i=e.trim();if(!i)return e;if(e.includes(ls)){if(i=this._applySimpleSelectorScope(e,t,n),!e.match(cs)){const[e,t,n,s]=i.match(/([^:]*)(:*)([\s\S]*)/);i=t+r+n+s}}else{const t=e.replace(fs,"");if(t.length>0){const e=t.match(/([^:]*)(:*)([\s\S]*)/);e&&(i=e[1]+r+e[2]+e[3])}}return i},o=e=>{let i="";const r=[];let o;for(;null!==(o=Jr.exec(e));){let t=1,n=Jr.lastIndex;for(;n<e.length;){const i=e[n];if(n++,"("!==i){if(")"!==i);else if(t--,0===t)break}else t++}r.push(`${o[0]}${e.slice(Jr.lastIndex,n)}`),Jr.lastIndex=n}return r.join("")===e?i=r.map(e=>{const[i]=e.match(Jr)??[],r=e.slice(i?.length,-1);
1return r.includes(ls)&&(this._shouldScopeIndicator=!0),`${i}${this._scopeSelector({selector:r,scopeSelector:t,hostSelector:n})})`}).join(""):(this._shouldScopeIndicator=this._shouldScopeIndicator||e.includes(ls),i=this._shouldScopeIndicator?s(e):e),i};i&&(this._safeSelector=new Kr(e),e=this._safeSelector.content());let a,l="",c=0;const u=/( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g,d=e.includes(ls);for((i||this._shouldScopeIndicator)&&(this._shouldScopeIndicator=!d);null!==(a=u.exec(e));){const t=a[1],n=e.slice(c,a.index);n.match(/__esc-ph-(\d+)__/)&&e[a.index+1]?.match(/[a-fA-F\d]/)||(l+=`${o(n)} ${t} `,c=u.lastIndex)}return l+=o(e.substring(c)),this._safeSelector.restore(l)}_insertPolyfillHostInCssText(e){return e.replace(gs,ns).replace(ms,ts)}}class Kr{placeholders=[];index=0;_content;constructor(e){e=(e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g)).replace(/(\\.)/g,(e,t)=>{const n=`__esc-ph-${this.index}__`;return this.placeholders.push(t),this.index++,n}),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(e,t,n)=>{const i=`__ph-${this.index}__`;return this.placeholders.push(n),this.index++,t+i})}restore(e){return e.replace(/__(?:ph|esc-ph)-(\d+)__/g,(e,t)=>this.placeholders[+t])}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,(e,t)=>{const n=`__ph-${this.index}__`;return this.placeholders.push(t),this.index++,n})}}const Jr=/:(where|is)\(/gi,Xr=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Qr=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,es=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,ts="-shadowcsshost",ns="-shadowcsscontext",is="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))",rs=new RegExp(ts+is+"?([^,{]*)","gim"),ss=ns+is+"?([^{]*)",os=new RegExp(`(:(where|is)\\()?(${ss})`,"gim"),as=new RegExp(ss,"im"),ls=ts+"-no-combinator",cs=new RegExp(`${ls}(?![^(]*\\))`,"g"),us=/-shadowcsshost-no-combinator([^\s,]*)/,ds=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],hs=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,ps="([>\\s~+[.,{:][\\s\\S]*)?$",fs=/-shadowcsshost/gim,ms=/:host/gim,gs=/:host-context/gim,vs=/\r?\n/g,ys=/\/\*[\s\S]*?\*\//g,bs=/\/\*\s*#\s*source(Mapping)?URL=/g,ws="%COMMENT%",_s=new RegExp(ws,"g"),xs="%BLOCK%",ks=new RegExp(`(\\s*(?:${ws}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),Cs=new Map([["{","}"]]),Ss="%COMMA_IN_PLACEHOLDER%",Ts="%SEMI_IN_PLACEHOLDER%",Es="%COLON_IN_PLACEHOLDER%",Is=new RegExp(Ss,"g"),As=new RegExp(Ts,"g"),Ds=new RegExp(Es,"g");class Ms{selector;content;constructor(e,t){this.selector=e,this.content=t}}function Os(e,t){const n=function(e){let t=e,n=null;for(let e=0;e<t.length;e++){const i=t[e];if("\\"===i)e++;else if(null!==n)if(i===n)n=null;else{const n=Ls[i];n&&(t=`${t.substr(0,e)}${n}${t.substr(e+1)}`,e+=n.length-1)}else"'"!==i&&'"'!==i||(n=i)}return t}(e),i=function(e,t,n){const i=[],r=[];let s,o,a=0,l=0,c=-1;for(let u=0;u<e.length;u++){const d=e[u];"\\"===d?u++:d===o?(a--,0===a&&(r.push(e.substring(c,u)),i.push(n),l=u,c=-1,s=o=void 0)):d===s?a++:0===a&&t.has(d)&&(s=d,o=t.get(d),a=1,c=u+1,i.push(e.substring(l,c)))}return-1!==c?(r.push(e.substring(c)),i.push(n)):i.push(e.substring(l)),new Ps(i.join(""),r)}(n,Cs,xs);let r=0;return function(e){let t=e.replace(Is,",");return t=t.replace(As,";"),t=t.replace(Ds,":"),t}(i.escapedString.replace(ks,(...e)=>{const n=e[2];let s="",o=e[4],a="";o&&o.startsWith("{"+xs)&&(s=i.blocks[r++],o=o.substring(xs.length+1),a="{");const l=t(new Ms(n,s));return`${e[1]}${l.selector}${e[3]}${a}${l.content}${o}`}))}class Ps{escapedString;blocks;constructor(e,t){this.escapedString=e,this.blocks=t}}const Ls={";":Ts,",":Ss,":":Es};function Ns(e,t){return t?e.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g,"$1"):e}function Rs(e,t){const n=e.length;for(let i=1;i<t;i++)for(let t=0;t<n;t++)e[t+i*n]=e[t].slice(0)}var Bs,Fs,Vs,$s,js,Hs,zs,Us,qs,Ws,Gs,Zs,Ys;!function(e){e[e.ListEnd=0]="ListEnd",e[e.Statement=1]="Statement",e[e.Variable=2]="Variable",e[e.ElementStart=3]="ElementStart",e[e.Element=4]="Element",e[e.Template=5]="Template",e[e.ElementEnd=6]="ElementEnd",e[e.ContainerStart=7]="ContainerStart",e[e.Container=8]="Container",e[e.ContainerEnd=9]="ContainerEnd",e[e.DisableBindings=10]="DisableBindings",e[e.ConditionalCreate=11]="ConditionalCreate",e[e.ConditionalBranchCreate=12]="ConditionalBranchCreate",e[e.Conditional=13]="Conditional",e[e.EnableBindings=14]="EnableBindings",e[e.Text=15]="Text",e[e.Listener=16]="Listener",e[e.InterpolateText=17]="InterpolateText",e[e.Binding=18]="Binding",e[e.Property=19]="Property",e[e.StyleProp=20]="StyleProp",e[e.ClassProp=21]="
1ClassProp",e[e.StyleMap=22]="StyleMap",e[e.ClassMap=23]="ClassMap",e[e.Advance=24]="Advance",e[e.Pipe=25]="Pipe",e[e.Attribute=26]="Attribute",e[e.ExtractedAttribute=27]="ExtractedAttribute",e[e.Defer=28]="Defer",e[e.DeferOn=29]="DeferOn",e[e.DeferWhen=30]="DeferWhen",e[e.I18nMessage=31]="I18nMessage",e[e.DomProperty=32]="DomProperty",e[e.Namespace=33]="Namespace",e[e.ProjectionDef=34]="ProjectionDef",e[e.Projection=35]="Projection",e[e.RepeaterCreate=36]="RepeaterCreate",e[e.Repeater=37]="Repeater",e[e.TwoWayProperty=38]="TwoWayProperty",e[e.TwoWayListener=39]="TwoWayListener",e[e.DeclareLet=40]="DeclareLet",e[e.StoreLet=41]="StoreLet",e[e.I18nStart=42]="I18nStart",e[e.I18n=43]="I18n",e[e.I18nEnd=44]="I18nEnd",e[e.I18nExpression=45]="I18nExpression",e[e.I18nApply=46]="I18nApply",e[e.IcuStart=47]="IcuStart",e[e.IcuEnd=48]="IcuEnd",e[e.IcuPlaceholder=49]="IcuPlaceholder",e[e.I18nContext=50]="I18nContext",e[e.I18nAttributes=51]="I18nAttributes",e[e.SourceLocation=52]="SourceLocation",e[e.Animation=53]="Animation",e[e.AnimationString=54]="AnimationString",e[e.AnimationBinding=55]="AnimationBinding",e[e.AnimationListener=56]="AnimationListener"}(Bs||(Bs={})),function(e){e[e.LexicalRead=0]="LexicalRead",e[e.Context=1]="Context",e[e.TrackContext=2]="TrackContext",e[e.ReadVariable=3]="ReadVariable",e[e.NextContext=4]="NextContext",e[e.Reference=5]="Reference",e[e.StoreLet=6]="StoreLet",e[e.ContextLetReference=7]="ContextLetReference",e[e.GetCurrentView=8]="GetCurrentView",e[e.RestoreView=9]="RestoreView",e[e.ResetView=10]="ResetView",e[e.PureFunctionExpr=11]="PureFunctionExpr",e[e.PureFunctionParameterExpr=12]="PureFunctionParameterExpr",e[e.PipeBinding=13]="PipeBinding",e[e.PipeBindingVariadic=14]="PipeBindingVariadic",e[e.SafePropertyRead=15]="SafePropertyRead",e[e.SafeKeyedRead=16]="SafeKeyedRead",e[e.SafeInvokeFunction=17]="SafeInvokeFunction",e[e.SafeTernaryExpr=18]="SafeTernaryExpr",e[e.EmptyExpr=19]="EmptyExpr",e[e.AssignTemporaryExpr=20]="AssignTemporaryExpr",e[e.ReadTemporaryExpr=21]="ReadTemporaryExpr",e[e.SlotLiteralExpr=22]="SlotLiteralExpr",e[e.ConditionalCase=23]="ConditionalCase",e[e.ConstCollected=24]="ConstCollected",e[e.TwoWayBindingSet=25]="TwoWayBindingSet"}(Fs||(Fs={})),function(e){e[e.None=0]="None",e[e.AlwaysInline=1]="AlwaysInline"}(Vs||(Vs={})),function(e){e[e.Context=0]="Context",e[e.Identifier=1]="Identifier",e[e.SavedView=2]="SavedView",e[e.Alias=3]="Alias"}($s||($s={})),function(e){e[e.Normal=0]="Normal",e[e.TemplateDefinitionBuilder=1]="TemplateDefinitionBuilder"}(js||(js={})),function(e){e[e.Attribute=0]="Attribute",e[e.ClassName=1]="ClassName",e[e.StyleProperty=2]="StyleProperty",e[e.Property=3]="Property",e[e.Template=4]="Template",e[e.I18n=5]="I18n",e[e.LegacyAnimation=6]="LegacyAnimation",e[e.TwoWayProperty=7]="TwoWayProperty",e[e.Animation=8]="Animation"}(Hs||(Hs={})),function(e){e[e.Creation=0]="Creation",e[e.Postproccessing=1]="Postproccessing"}(zs||(zs={})),function(e){e[e.I18nText=0]="I18nText",e[e.I18nAttribute=1]="I18nAttribute"}(Us||(Us={})),function(e){e[e.None=0]="None",e[e.ElementTag=1]="ElementTag",e[e.TemplateTag=2]="TemplateTag",e[e.OpenTag=4]="OpenTag",e[e.CloseTag=8]="CloseTag",e[e.ExpressionIndex=16]="ExpressionIndex"}(qs||(qs={})),function(e){e[e.HTML=0]="HTML",e[e.SVG=1]="SVG",e[e.Math=2]="Math"}(Ws||(Ws={})),function(e){e[e.Idle=0]="Idle",e[e.Immediate=1]="Immediate",e[e.Timer=2]="Timer",e[e.Hover=3]="Hover",e[e.Interaction=4]="Interaction",e[e.Viewport=5]="Viewport",e[e.Never=6]="Never"}(Gs||(Gs={})),function(e){e[e.RootI18n=0]="RootI18n",e[e.Icu=1]="Icu",e[e.Attr=2]="Attr"}(Zs||(Zs={})),function(e){e[e.NgTemplate=0]="NgTemplate",e[e.Structural=1]="Structural",e[e.Block=2]="Block"}(Ys||(Ys={}));const Ks=Symbol("ConsumesSlot"),Js=Symbol("DependsOnSlotContext"),Xs=Symbol("ConsumesVars"),Qs=Symbol("UsesVarOffset"),eo={[Ks]:!0,numSlotsUsed:1},to={[Js]:!0},no={[Xs]:!0};function io(e){return!0===e[Ks]}function ro(e){return!0===e[Js]}function so(e){return!0===e[Xs]}function oo(e){return!0===e[Qs]}function ao(e){return{kind:Bs.Statement,statement:e,...co}}function lo(e,t,n,i){return{kind:Bs.Variable,xref:e,variable:t,initializer:n,flags:i,...co}}const co={debugListId:null,prev:null,next:null};class uo{strings;expressions;i18nPlaceholders;constructor(e,t,n){if(this.strings=e,this.expressions=t,this.i18nPlaceholders=n,0!==n.length&&n.length!==t.length)throw new Error(`Expected ${t.length} placeholders to match interpolation expression count, but got ${n.length}`)}}function ho(e,t,n,i,r,s,o,a,l,c,u){return{kind:Bs.Binding,bindingKind:t,target:e,name:n,expression:i,unit:r,securityContext:s,isTextAttribute:o,isStructuralTemplateAttribute:a,templateKind:l,i18nContext:null,i18nMessage:c,sourceSpan:u,...co}}function po(e,t,n,i,r,s,o,a,l,c){return{kind:Bs.Property,target:e,name:t,expression:n,bindingKind:i,securityContext:r,sanitizer:null,isStructuralTemplateAttribute:s,templateKind:o,i18nContext:a,i18nMessage:l,sourceSpan:c,...to,...no,...co}}function fo(e,t,n,i,r,s,o,a,l){return{kind:Bs.TwoWayProperty,target:e,name:t,expression:n,securityContext:i,sanitizer:null,isStructuralTemplateAttribute:r,templateKind:s,i18nContext:o,i18nMessage:a,sourceSpan:l,...to,...no,...co}}function mo(e,t,n,i,r){return{kind:Bs.StyleProp,target:e,name:t,expression:n,unit:i,sourceSpan:r,...to,...no,...co}}function go(e,t,n,i){return{kind:Bs.ClassProp,target:e,name:t,expression:n,sourceSpan:i,...to,...no,...co}}function vo(e,t,n){return{kind:Bs.StyleMap,target:e,expression:t,sourceSpan:n,...to,...no,...co}}function yo(e,t,n){return{kind:Bs.ClassMap,target:e,expression:t,sourceSpan:n,...to,...no,...co}}function bo(e,t,n,i,r,s,o,a,l,c){return{kind:Bs.Attribute,target:e,namespace:t,name:n,expression:i,securityContext:r,sanitizer:null,isTextAttribute:s,isStru
1cturalTemplateAttribute:o,templateKind:a,i18nContext:null,i18nMessage:l,sourceSpan:c,...to,...no,...co}}function wo(e,t){return{kind:Bs.Advance,delta:e,sourceSpan:t,...co}}function _o(e,t,n,i){return{kind:Bs.Conditional,target:e,test:t,conditions:n,processed:null,sourceSpan:i,contextValue:null,...co,...to,...no}}function xo(e,t,n,i,r,s,o){return{kind:Bs.AnimationBinding,name:e,target:t,animationKind:n,expression:i,i18nMessage:null,securityContext:r,sanitizer:null,sourceSpan:s,animationBindingKind:o,...co}}function ko(e,t,n,i,r,s,o,a,l,c,u){return{kind:Bs.I18nExpression,context:e,target:t,i18nOwner:n,handle:i,expression:r,icuPlaceholder:s,i18nPlaceholder:o,resolutionTime:a,usage:l,name:c,sourceSpan:u,...co,...no,...to}}function Co(e,t,n){return{kind:Bs.I18nApply,owner:e,handle:t,sourceSpan:n,...co}}function So(e){return e instanceof To}class To extends ee{constructor(e=null){super(null,e)}}class Eo extends To{name;kind=Fs.LexicalRead;constructor(e){super(),this.name=e}visitExpression(e,t){}isEquivalent(e){return this.name===e.name}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Eo(this.name)}}class Io extends To{target;targetSlot;offset;kind=Fs.Reference;constructor(e,t,n){super(),this.target=e,this.targetSlot=t,this.offset=n}visitExpression(){}isEquivalent(e){return e instanceof Io&&e.target===this.target}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Io(this.target,this.targetSlot,this.offset)}}class Ao extends To{target;value;sourceSpan;kind=Fs.StoreLet;[Xs]=!0;[Js]=!0;constructor(e,t,n){super(),this.target=e,this.value=t,this.sourceSpan=n}visitExpression(){}isEquivalent(e){return e instanceof Ao&&e.target===this.target&&e.value.isEquivalent(this.value)}isConstant(){return!1}transformInternalExpressions(e,t){this.value=ia(this.value,e,t)}clone(){return new Ao(this.target,this.value,this.sourceSpan)}}class Do extends To{target;targetSlot;kind=Fs.ContextLetReference;constructor(e,t){super(),this.target=e,this.targetSlot=t}visitExpression(){}isEquivalent(e){return e instanceof Do&&e.target===this.target}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Do(this.target,this.targetSlot)}}class Mo extends To{view;kind=Fs.Context;constructor(e){super(),this.view=e}visitExpression(){}isEquivalent(e){return e instanceof Mo&&e.view===this.view}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Mo(this.view)}}class Oo extends To{view;kind=Fs.TrackContext;constructor(e){super(),this.view=e}visitExpression(){}isEquivalent(e){return e instanceof Oo&&e.view===this.view}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Oo(this.view)}}class Po extends To{kind=Fs.NextContext;steps=1;constructor(){super()}visitExpression(){}isEquivalent(e){return e instanceof Po&&e.steps===this.steps}isConstant(){return!1}transformInternalExpressions(){}clone(){const e=new Po;return e.steps=this.steps,e}}class Lo extends To{kind=Fs.GetCurrentView;constructor(){super()}visitExpression(){}isEquivalent(e){return e instanceof Lo}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Lo}}class No extends To{view;kind=Fs.RestoreView;constructor(e){super(),this.view=e}visitExpression(e,t){"number"!=typeof this.view&&this.view.visitExpression(e,t)}isEquivalent(e){return e instanceof No&&typeof e.view==typeof this.view&&("number"==typeof this.view?this.view===e.view:this.view.isEquivalent(e.view))}isConstant(){return!1}transformInternalExpressions(e,t){"number"!=typeof this.view&&(this.view=ia(this.view,e,t))}clone(){return new No(this.view instanceof ee?this.view.clone():this.view)}}class Ro extends To{expr;kind=Fs.ResetView;constructor(e){super(),this.expr=e}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof Ro&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}transformInternalExpressions(e,t){this.expr=ia(this.expr,e,t)}clone(){return new Ro(this.expr.clone())}}class Bo extends To{target;value;kind=Fs.TwoWayBindingSet;constructor(e,t){super(),this.target=e,this.value=t}visitExpression(e,t){this.target.visitExpression(e,t),this.value.visitExpression(e,t)}isEquivalent(e){return this.target.isEquivalent(e.target)&&this.value.isEquivalent(e.value)}isConstant(){return!1}transformInternalExpressions(e,t){this.target=ia(this.target,e,t),this.value=ia(this.value,e,t)}clone(){return new Bo(this.target,this.value)}}class Fo extends To{xref;kind=Fs.ReadVariable;name=null;constructor(e){super(),this.xref=e}visitExpression(){}isEquivalent(e){return e instanceof Fo&&e.xref===this.xref}isConstant(){return!1}transformInternalExpressions(){}clone(){const e=new Fo(this.xref);return e.name=this.name,e}}class Vo extends To{kind=Fs.PureFunctionExpr;[Xs]=!0;[Qs]=!0;varOffset=null;body;args;fn=null;constructor(e,t){super(),this.body=e,this.args=t}visitExpression(e,t){this.body?.visitExpression(e,t);for(const n of this.args)n.visitExpression(e,t)}isEquivalent(e){return e instanceof Vo&&e.args.length===this.args.length&&null!==e.body&&null!==this.body&&e.body.isEquivalent(this.body)&&e.args.every((e,t)=>e.isEquivalent(this.args[t]))}isConstant(){return!1}transformInternalExpressions(e,t){null!==this.body?this.body=ia(this.body,e,t|ea.InChildOperation):null!==this.fn&&(this.fn=ia(this.fn,e,t));for(let n=0;n<this.args.length;n++)this.args[n]=ia(this.args[n],e,t)}clone(){const e=new Vo(this.body?.clone()??null,this.args.map(e=>e.clone()));
1return e.fn=this.fn?.clone()??null,e.varOffset=this.varOffset,e}}class $o extends To{index;kind=Fs.PureFunctionParameterExpr;constructor(e){super(),this.index=e}visitExpression(){}isEquivalent(e){return e instanceof $o&&e.index===this.index}isConstant(){return!0}transformInternalExpressions(){}clone(){return new $o(this.index)}}class jo extends To{target;targetSlot;name;args;kind=Fs.PipeBinding;[Xs]=!0;[Qs]=!0;varOffset=null;constructor(e,t,n,i){super(),this.target=e,this.targetSlot=t,this.name=n,this.args=i}visitExpression(e,t){for(const n of this.args)n.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){for(let n=0;n<this.args.length;n++)this.args[n]=ia(this.args[n],e,t)}clone(){const e=new jo(this.target,this.targetSlot,this.name,this.args.map(e=>e.clone()));return e.varOffset=this.varOffset,e}}class Ho extends To{target;targetSlot;name;args;numArgs;kind=Fs.PipeBindingVariadic;[Xs]=!0;[Qs]=!0;varOffset=null;constructor(e,t,n,i,r){super(),this.target=e,this.targetSlot=t,this.name=n,this.args=i,this.numArgs=r}visitExpression(e,t){this.args.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.args=ia(this.args,e,t)}clone(){const e=new Ho(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return e.varOffset=this.varOffset,e}}class zo extends To{receiver;name;kind=Fs.SafePropertyRead;constructor(e,t){super(),this.receiver=e,this.name=t}get index(){return this.name}visitExpression(e,t){this.receiver.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=ia(this.receiver,e,t)}clone(){return new zo(this.receiver.clone(),this.name)}}class Uo extends To{receiver;index;kind=Fs.SafeKeyedRead;constructor(e,t,n){super(n),this.receiver=e,this.index=t}visitExpression(e,t){this.receiver.visitExpression(e,t),this.index.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=ia(this.receiver,e,t),this.index=ia(this.index,e,t)}clone(){return new Uo(this.receiver.clone(),this.index.clone(),this.sourceSpan)}}class qo extends To{receiver;args;kind=Fs.SafeInvokeFunction;constructor(e,t){super(),this.receiver=e,this.args=t}visitExpression(e,t){this.receiver.visitExpression(e,t);for(const n of this.args)n.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=ia(this.receiver,e,t);for(let n=0;n<this.args.length;n++)this.args[n]=ia(this.args[n],e,t)}clone(){return new qo(this.receiver.clone(),this.args.map(e=>e.clone()))}}class Wo extends To{guard;expr;kind=Fs.SafeTernaryExpr;constructor(e,t){super(),this.guard=e,this.expr=t}visitExpression(e,t){this.guard.visitExpression(e,t),this.expr.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.guard=ia(this.guard,e,t),this.expr=ia(this.expr,e,t)}clone(){return new Wo(this.guard.clone(),this.expr.clone())}}class Go extends To{kind=Fs.EmptyExpr;visitExpression(e,t){}isEquivalent(e){return e instanceof Go}isConstant(){return!0}clone(){return new Go}transformInternalExpressions(){}}class Zo extends To{expr;xref;kind=Fs.AssignTemporaryExpr;name=null;constructor(e,t){super(),this.expr=e,this.xref=t}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.expr=ia(this.expr,e,t)}clone(){const e=new Zo(this.expr.clone(),this.xref);return e.name=this.name,e}}class Yo extends To{xref;kind=Fs.ReadTemporaryExpr;name=null;constructor(e){super(),this.xref=e}visitExpression(e,t){}isEquivalent(){return this.xref==this.xref}isConstant(){return!1}transformInternalExpressions(e,t){}clone(){const e=new Yo(this.xref);return e.name=this.name,e}}class Ko extends To{slot;kind=Fs.SlotLiteralExpr;constructor(e){super(),this.slot=e}visitExpression(e,t){}isEquivalent(e){return e instanceof Ko&&e.slot===this.slot}isConstant(){return!0}clone(){return new Ko(this.slot)}transformInternalExpressions(){}}class Jo extends To{expr;target;targetSlot;
1alias;kind=Fs.ConditionalCase;constructor(e,t,n,i=null){super(),this.expr=e,this.target=t,this.targetSlot=n,this.alias=i}visitExpression(e,t){null!==this.expr&&this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof Jo&&e.expr===this.expr}isConstant(){return!0}clone(){return new Jo(this.expr,this.target,this.targetSlot)}transformInternalExpressions(e,t){null!==this.expr&&(this.expr=ia(this.expr,e,t))}}class Xo extends To{expr;kind=Fs.ConstCollected;constructor(e){super(),this.expr=e}transformInternalExpressions(e,t){this.expr=e(this.expr,t)}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof Xo&&this.expr.isEquivalent(e.expr)}isConstant(){return this.expr.isConstant()}clone(){return new Xo(this.expr)}}function Qo(e,t){na(e,(e,n)=>(t(e,n),e),ea.None)}var ea;function ta(e,t,n){for(let i=0;i<e.expressions.length;i++)e.expressions[i]=ia(e.expressions[i],t,n)}function na(e,t,n){switch(e.kind){case Bs.StyleProp:case Bs.StyleMap:case Bs.ClassProp:case Bs.ClassMap:case Bs.AnimationString:case Bs.AnimationBinding:case Bs.Binding:e.expression instanceof uo?ta(e.expression,t,n):e.expression=ia(e.expression,t,n);break;case Bs.Property:case Bs.DomProperty:case Bs.Attribute:e.expression instanceof uo?ta(e.expression,t,n):e.expression=ia(e.expression,t,n),e.sanitizer=e.sanitizer&&ia(e.sanitizer,t,n);break;case Bs.TwoWayProperty:e.expression=ia(e.expression,t,n),e.sanitizer=e.sanitizer&&ia(e.sanitizer,t,n);break;case Bs.I18nExpression:e.expression=ia(e.expression,t,n);break;case Bs.InterpolateText:ta(e.interpolation,t,n);break;case Bs.Statement:ra(e.statement,t,n);break;case Bs.Variable:e.initializer=ia(e.initializer,t,n);break;case Bs.Conditional:for(const i of e.conditions)null!==i.expr&&(i.expr=ia(i.expr,t,n));null!==e.processed&&(e.processed=ia(e.processed,t,n)),null!==e.contextValue&&(e.contextValue=ia(e.contextValue,t,n));break;case Bs.Animation:case Bs.AnimationListener:case Bs.Listener:case Bs.TwoWayListener:for(const i of e.handlerOps)na(i,t,n|ea.InChildOperation);break;case Bs.ExtractedAttribute:e.expression=e.expression&&ia(e.expression,t,n),e.trustedValueFn=e.trustedValueFn&&ia(e.trustedValueFn,t,n);break;case Bs.RepeaterCreate:if(null===e.trackByOps)e.track=ia(e.track,t,n);else for(const i of e.trackByOps)na(i,t,n|ea.InChildOperation);null!==e.trackByFn&&(e.trackByFn=ia(e.trackByFn,t,n));break;case Bs.Repeater:e.collection=ia(e.collection,t,n);break;case Bs.Defer:null!==e.loadingConfig&&(e.loadingConfig=ia(e.loadingConfig,t,n)),null!==e.placeholderConfig&&(e.placeholderConfig=ia(e.placeholderConfig,t,n)),null!==e.resolverFn&&(e.resolverFn=ia(e.resolverFn,t,n));break;case Bs.I18nMessage:for(const[i,r]of e.params)e.params.set(i,ia(r,t,n));for(const[i,r]of e.postprocessingParams)e.postprocessingParams.set(i,ia(r,t,n));break;case Bs.DeferWhen:e.expr=ia(e.expr,t,n);break;case Bs.StoreLet:e.value=ia(e.value,t,n);break;case Bs.Advance:case Bs.Container:case Bs.ContainerEnd:case Bs.ContainerStart:case Bs.DeferOn:case Bs.DisableBindings:case Bs.Element:case Bs.ElementEnd:case Bs.ElementStart:case Bs.EnableBindings:case Bs.I18n:case Bs.I18nApply:case Bs.I18nContext:case Bs.I18nEnd:case Bs.I18nStart:case Bs.IcuEnd:case Bs.IcuStart:case Bs.Namespace:case Bs.Pipe:case Bs.Projection:case Bs.ProjectionDef:case Bs.Template:case Bs.Text:case Bs.I18nAttributes:case Bs.IcuPlaceholder:case Bs.DeclareLet:case Bs.SourceLocation:case Bs.ConditionalCreate:case Bs.ConditionalBranchCreate:break;default:throw new Error(`AssertionError: transformExpressionsInOp doesn't handle ${Bs[e.kind]}`)}}function ia(e,t,n){if(e instanceof To)e.transformInternalExpressions(t,n);else if(e instanceof Ee)e.lhs=ia(e.lhs,t,n),e.rhs=ia(e.rhs,t,n);else if(e instanceof Se)e.expr=ia(e.expr,t,n);else if(e instanceof Ie)e.receiver=ia(e.receiver,t,n);else if(e instanceof Ae)e.receiver=ia(e.receiver,t,n),e.index=ia(e.index,t,n);else if(e instanceof se){e.fn=ia(e.fn,t,n);for(let i=0;i<e.args.length;i++)e.args[i]=ia(e.args[i],t,n)}else if(e instanceof De)for(let i=0;i<e.entries.length;i++)e.entries[i]=ia(e.entries[i],t,n);else if(e instanceof Oe)for(let i=0;i<e.entries.length;i++)e.entries[i].value=ia(e.entries[i].value,t,n);else if(e instanceof we)e.condition=ia(e.condition,t,n),e.trueCase=ia(e.trueCase,t,n),null!==e.falseCase&&(e.falseCase=ia(e.falseCase,t,n));else if(e instanceof ne)e.expr=ia(e.expr,t,n);else if(e instanceof ie)e.expr=ia(e.expr,t,n);else if(e instanceof pe)for(let i=0;i<e.expressions.length;i++)e.expressions[i]=ia(e.expressions[i],t,n);else if(e instanceof _e)e.condition=ia(e.condition,t,n);else if(e instanceof oe)e.tag=ia(e.tag,t,n),e.template.expressions=e.template.expressions.map(e=>
1ia(e,t,n));else if(e instanceof Ce)if(Array.isArray(e.body))for(let i=0;i<e.body.length;i++)ra(e.body[i],t,n);else e.body=ia(e.body,t,n);else if(e instanceof re);else if(e instanceof ce)for(let i=0;i<e.expressions.length;i++)e.expressions[i]=ia(e.expressions[i],t,n);else if(e instanceof Te)e.expr=ia(e.expr,t,n);else if(!(e instanceof te||e instanceof be||e instanceof le))throw new Error(`Unhandled expression kind: ${e.constructor.name}`);return t(e,n)}function ra(e,t,n){if(e instanceof je)e.expr=ia(e.expr,t,n);else if(e instanceof He)e.value=ia(e.value,t,n);else if(e instanceof Ve)void 0!==e.value&&(e.value=ia(e.value,t,n));else{if(!(e instanceof ze))throw new Error(`Unhandled statement kind: ${e.constructor.name}`);e.condition=ia(e.condition,t,n);for(const i of e.trueCase)ra(i,t,n);for(const i of e.falseCase)ra(i,t,n)}}function sa(e){return e instanceof le&&"string"==typeof e.value}!function(e){e[e.None=0]="None",e[e.InChildOperation=1]="InChildOperation"}(ea||(ea={}));class oa{static nextListId=0;debugListId=oa.nextListId++;head={kind:Bs.ListEnd,next:null,prev:null,debugListId:this.debugListId};tail={kind:Bs.ListEnd,next:null,prev:null,debugListId:this.debugListId};constructor(){this.head.next=this.tail,this.tail.prev=this.head}push(e){if(Array.isArray(e)){for(const t of e)this.push(t);return}oa.assertIsNotEnd(e),oa.assertIsUnowned(e),e.debugListId=this.debugListId;const t=this.tail.prev;e.prev=t,t.next=e,e.next=this.tail,this.tail.prev=e}prepend(e){if(0===e.length)return;for(const t of e)oa.assertIsNotEnd(t),oa.assertIsUnowned(t),t.debugListId=this.debugListId;const t=this.head.next;let n=this.head;for(const t of e)n.next=t,t.prev=n,n=t;n.next=t,t.prev=n}*[Symbol.iterator](){let e=this.head.next;for(;e!==this.tail;){oa.assertIsOwned(e,this.debugListId);const t=e.next;yield e,e=t}}*reversed(){let e=this.tail.prev;for(;e!==this.head;){oa.assertIsOwned(e,this.debugListId);const t=e.prev;yield e,e=t}}static replace(e,t){oa.assertIsNotEnd(e),oa.assertIsNotEnd(t),oa.assertIsOwned(e),oa.assertIsUnowned(t),t.debugListId=e.debugListId,null!==e.prev&&(e.prev.next=t,t.prev=e.prev),null!==e.next&&(e.next.prev=t,t.next=e.next),e.debugListId=null,e.prev=null,e.next=null}static replaceWithMany(e,t){if(0===t.length)return void oa.remove(e);oa.assertIsNotEnd(e),oa.assertIsOwned(e);const n=e.debugListId;e.debugListId=null;for(const e of t)oa.assertIsNotEnd(e),oa.assertIsUnowned(e);const{prev:i,next:r}=e;e.prev=null,e.next=null;let s=i;for(const e of t)oa.assertIsUnowned(e),e.debugListId=n,s.next=e,e.prev=s,e.next=null,s=e;const o=t[0],a=s;null!==i&&(i.next=o,o.prev=i),null!==r&&(r.prev=a,a.next=r)}static remove(e){oa.assertIsNotEnd(e),oa.assertIsOwned(e),e.prev.next=e.next,e.next.prev=e.prev,e.debugListId=null,e.prev=null,e.next=null}static insertBefore(e,t){if(Array.isArray(e))for(const n of e)oa.insertBefore(n,t);else{if(oa.assertIsOwned(t),null===t.prev)throw new Error("AssertionError: illegal operation on list start");oa.assertIsNotEnd(e),oa.assertIsUnowned(e),e.debugListId=t.debugListId,e.prev=null,t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e}}static insertAfter(e,t){if(oa.assertIsOwned(t),null===t.next)throw new Error("AssertionError: illegal operation on list end");oa.assertIsNotEnd(e),oa.assertIsUnowned(e),e.debugListId=t.debugListId,t.next.prev=e,e.next=t.next,e.prev=t,t.next=e}static assertIsUnowned(e){if(null!==e.debugListId)throw new Error(`AssertionError: illegal operation on owned node: ${Bs[e.kind]}`)}static assertIsOwned(e,t){if(null===e.debugListId)throw new Error(`AssertionError: illegal operation on unowned node: ${Bs[e.kind]}`);if(void 0!==t&&e.debugListId!==t)throw new Error(`AssertionError: node belongs to the wrong list (expected ${t}, actual ${e.debugListId})`)}static assertIsNotEnd(e){if(e.kind===Bs.ListEnd)throw new Error("AssertionError: illegal operation on list head or tail")}}class aa{slot=null}const la=new Set([Bs.Element,Bs.ElementStart,Bs.Container,Bs.ContainerStart,Bs.Template,Bs.RepeaterCreate,Bs.ConditionalCreate,Bs.ConditionalBranchCreate]);function ca(e){return la.has(e.kind)}function ua(e,t,n,i,r,s,o,a){return{kind:Bs.Template,xref:e,templateKind:t,attributes:null,tag:n,handle:new aa,functionNameSuffix:i,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:r,i18nPlaceholder:s,startSourceSpan:o,wholeSourceSpan:a,...eo,...co}}function da(e,t,n,i,r,s,o,a){return{kind:Bs.ConditionalCreate,xref:e,templateKind:t,attributes:null,tag:n,handle:new aa,functionNameSuffix:i,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:r,i18nPlaceholder:s,startSourceSpan:o,wholeSourceSpan:a,...eo,...co}}function ha(e,t,n,i,r,s,o,a){return{kind:Bs.ConditionalBranchCreate,xref:e,templateKind:t,attributes:null,tag:n,handle:new aa,functionNameSuffix:i,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:r,i18nPlaceholder:s,startSourceSpan:o,wholeSourceSpan:a,...eo,...co}}function pa(e){return{kind:Bs.DisableBindings,xref:e,...co}}function fa(e){return{kind:Bs.EnableBindings,xref:e,...co}}function ma(e,t,n,i){return{kind:Bs.Text,xref:e,handle:new aa,initialValue:t,icuPlaceholder:n,sourceSpan:i,...eo,...co}}function ga(e,t,n,i,r,s,o,a,l){const c=new oa;return c.push(r),{kind:Bs.Listener,target:e,targetSlot:t,tag:i,hostListener:a,name:n,handlerOps:c,handlerFnName:null,consumesDollarEvent:!1,isLegacyAnimationListener:null!==s,legacyAnimationPhase:s,eventTarget:o,sourceSpan:l,...co}}function va(e,t,n,i,r,s,o,a,l){const c=new oa;return c.push(r),{kind:Bs.AnimationListener,target:e,targetSlot:t,tag:i,hostListener:a,name:n,animationKind:s,handlerOps:c,handlerFnName:null,consumesDollarEvent:!1,eventTarget:o,sourceSpan:l,...co}}function ya(e,t,n,i,r,s){const o=new oa;return o.push(r),{kind:Bs.TwoWayListener,target:e,targetSlot:t,tag:i,name:n,handlerOps:o,handlerFnName:null,sourceSpan:s,...co}}function ba(e,t,n){return{kind:Bs.Pipe,xref:e,handle:t,name:n,...co,...eo}}function wa(e){return{kind:Bs.Namespace,active:e,...co}}function _a(e,t,n,i,r,s,o,a){return{kind:Bs.ExtractedAttribute,target:e,bindingKind:t,namespace:n,name:i,expression:r,i18nContext:s,i18nMessage:o,securityContext:a,trustedValueFn:null,...co}}function xa(e,t,n,i){return{kind:Bs.DeferOn,defer:e,trigger:t,modifier:n,sourceSpan:i,...co}}function ka(e,t,n,i){return{kind:Bs.I18nStart,xref:e,handle:new aa,root:n??e,message:t,messageIndex:null,subTemplateIndex:null,context:null,sourceSpan:i,...co,...eo}}function Ca(e,t){return{kind:Bs.I18nEnd,xref:e,sourceSpan:t,...co}}function Sa(e,t,n){return{kind:Bs.IcuPlaceholder,xref:e,name:t,strings:n,expressionPlaceholders:[],...co}}function Ta(e,t,n,i,r){if(null===n&&e!==Zs.Attr)throw new Error("AssertionError: i18nBlock must be provided for non-attribute contexts.");return{kind:Bs.I18nContext,contextKind:e,xref:t,i18nBlock:n,message:i,sourceSpan:r,params:new Map,postprocessingParams:new Map,...co}}function Ea(e,t,n){return{kind:Bs.I18nAttributes,xref:e,handle:t,target:n,i18nAttributesConfig:null,...co,...eo}}function Ia(e,t){return{kind:Bs.SourceLocation,templatePath:e,locations:t,...co}}function Aa(e,t,n,i,r,s){return{kind:Bs.DomProperty,name:e,expression:t,bindingKind:n,i18nContext:i,securityContext:r,sanitizer:null,sourceSpan:s,...no,...co}}const Da="CTX_REF_MARKER";var Ma,Oa;!function(e){e[e.Tmpl=0]="Tmpl",e[e.Host=1]="Host",e[e.Both=2]="Both"}(Ma||(Ma={})),function(e){e[e.Full=0]="Full",e[e.DomOnly=1]="DomOnly"}(Oa||(Oa={}));class Pa{componentName;pool;compatibility;mode;constructor(e,t,n,i){this.componentName=e,this.pool=t,this.compatibility=n,this.mode=i}kind=Ma.Both;allocateXrefId(){return this.nextXrefId++}nextXrefId=0}class La extends Pa{relativeContextFilePath;i18nUseExternalIds;deferMeta;allDeferrableDepsFn;relativeTemplatePath;enableDebugLocations;constructor(e,t,n,i,r,s,o,a,l,c){super(e,t,n,i),this.relativeContextFilePath=r,this.i18nUseExternalIds=s,this.deferMeta=o,this.allDeferrableDepsFn=a,this.relativeTemplatePath=l,this.enableDebugLocations=c,this.root=new Ra(this,this.allocateXrefId(),null),this.views.set(this.root.xref,this.root)}kind=Ma.Tmpl;fnSuffix="Template";root;views=new Map;contentSelectors=null;allocateView(e){const t=new Ra(this,this.allocateXrefId(),e);return this.views.set(t.xref,t),t}get units(){return this.views.values()}addConst(e,t){for(let t=0;t<this.consts.length;t++)if(this.consts[t].isEquivalent(e))return t;const n=this.consts.length;
1return this.consts.push(e),t&&this.constsInitializers.push(...t),n}consts=[];constsInitializers=[]}class Na{xref;constructor(e){this.xref=e}create=new oa;update=new oa;fnName=null;vars=null;*ops(){for(const e of this.create)if(yield e,e.kind===Bs.Listener||e.kind===Bs.Animation||e.kind===Bs.AnimationListener||e.kind===Bs.TwoWayListener)for(const t of e.handlerOps)yield t;else if(e.kind===Bs.RepeaterCreate&&null!==e.trackByOps)for(const t of e.trackByOps)yield t;for(const e of this.update)yield e}}class Ra extends Na{job;parent;constructor(e,t,n){super(t),this.job=e,this.parent=n}contextVariables=new Map;aliases=new Set;decls=null}class Ba extends Pa{constructor(e,t,n,i){super(e,t,n,i),this.root=new Fa(this)}kind=Ma.Host;fnSuffix="HostBindings";root;get units(){return[this.root]}}class Fa extends Na{job;constructor(e){super(0),this.job=e}attributes=null}function Va(e){if(e instanceof se&&e.fn instanceof Eo&&"$any"===e.fn.name){if(1!==e.args.length)throw new Error("The $any builtin function expects exactly one argument.");return e.args[0]}return e}function $a(e,t){if(t.next?.kind!==Bs.I18nExpression)return!0;const n=e.get(t.context),i=e.get(t.next.context);if(void 0===n)throw new Error("AssertionError: expected an I18nContextOp to exist for the I18nExpressionOp's context");if(void 0===i)throw new Error("AssertionError: expected an I18nContextOp to exist for the next I18nExpressionOp's context");return null!==n.i18nBlock?n.i18nBlock!==i.i18nBlock:t.i18nOwner!==t.next.i18nOwner}function ja(e){const t=new Map;for(const n of e.create)io(n)&&(t.set(n.xref,n),n.kind===Bs.RepeaterCreate&&null!==n.emptyView&&t.set(n.emptyView,n));return t}function Ha(e,t){const n=e.get(t);if(void 0===n)throw new Error("All attributes should have an element-like target.");return n}function za(e,t,n){if(t.expression instanceof uo)return;let i=t.isTextAttribute||t.expression.isConstant();if(e.job.compatibility===js.TemplateDefinitionBuilder&&(i&&=t.isTextAttribute),i){const i=_a(t.target,t.isStructuralTemplateAttribute?Hs.Template:Hs.Attribute,t.namespace,t.name,t.expression,t.i18nContext,t.i18nMessage,t.securityContext);if(e.job.kind===Ma.Host)e.create.push(i);else{const e=Ha(n,t.target);oa.insertBefore(i,e)}oa.remove(t)}}function Ua(e){return e.startsWith("aria-")&&e.length>5}function qa(e,t){const n=e.get(t);if(void 0===n)throw new Error("All attributes should have an element-like target.");return n}const Wa=new Map([[ct.ariaProperty,ct.ariaProperty],[ct.attribute,ct.attribute],[ct.classProp,ct.classProp],[ct.element,ct.element],[ct.elementContainer,ct.elementContainer],[ct.elementContainerEnd,ct.elementContainerEnd],[ct.elementContainerStart,ct.elementContainerStart],[ct.elementEnd,ct.elementEnd],[ct.elementStart,ct.elementStart],[ct.domProperty,ct.domProperty],[ct.i18nExp,ct.i18nExp],[ct.listener,ct.listener],[ct.listener,ct.listener],[ct.property,ct.property],[ct.styleProp,ct.styleProp],[ct.syntheticHostListener,ct.syntheticHostListener],[ct.syntheticHostProperty,ct.syntheticHostProperty],[ct.templateCreate,ct.templateCreate],[ct.twoWayProperty,ct.twoWayProperty],[ct.twoWayListener,ct.twoWayListener],[ct.declareLet,ct.declareLet],[ct.conditionalCreate,ct.conditionalBranchCreate],[ct.conditionalBranchCreate,ct.conditionalBranchCreate],[ct.domElement,ct.domElement],[ct.domElementStart,ct.domElementStart],[ct.domElementEnd,ct.domElementEnd],[ct.domElementContainer,ct.domElementContainer],[ct.domElementContainerStart,ct.domElementContainerStart],[ct.domElementContainerEnd,ct.domElementContainerEnd],[ct.domListener,ct.domListener],[ct.domTemplate,ct.domTemplate],[ct.animationEnter,ct.animationEnter],[ct.animationLeave,ct.animationLeave],[ct.animationEnterListener,ct.animationEnterListener],[ct.animationLeaveListener,ct.animationLeaveListener]]);function Ga(e){let t=null;for(const n of e){if(n.kind!==Bs.Statement||!(n.statement instanceof je)){t=null;continue}if(!(n.statement.expr instanceof se&&n.statement.expr.fn instanceof be)){t=null;continue}const e=n.statement.expr.fn.value;if(Wa.has(e))if(null!==t&&Wa.get(t.instruction)===e&&t.length<256){const e=t.expression.callFn(n.statement.expr.args,n.statement.expr.sourceSpan,n.statement.expr.pure);t.expression=e,t.op.statement=e.toStmt(),t.length++,oa.remove(n)}else t={op:n,instruction:e,expression:n.statement.expr,length:1};else t=null}}const Za=new Map([["&&",J.And],[">",J.Bigger],[">=",J.BiggerEquals],["|",J.BitwiseOr],["&",J.BitwiseAnd],["/",J.Divide],["=",J.Assign],["==",J.Equals],["===",J.Identical],["<",J.Lower],["<=",J.LowerEquals],["-",J.Minus],["%",J.Modulo],["**",J.Exponentiation],["*",J.Multiply],["!=",J.NotEquals],["!==",J.NotIdentical],["??",J.NullishCoalesce],["||",J.Or],["+",J.Plus],["in",J.In],["+=",J.AdditionAssignment],["-=",J.SubtractionAssignment],["*=",J.MultiplicationAssignment],["/=",J.DivisionAssignment],["%=",J.RemainderAssignment],["**=",J.ExponentiationAssignment],["&&=",J.AndAssignment],["||=",J.OrAssignment],["??=",J.NullishCoalesceAssignment]]);function Ya(e){const t=new Map([["svg",Ws.SVG],["math",Ws.Math]]);return null===e?Ws.HTML:t.get(e)??Ws.HTML}function Ka(e){return Array.isArray(e)?Ze(e.map(Ka)):Qe(e)}function Ja(e,t,n){const i=t.get(n);if(void 0!==i){const t=el(i);if(t.entries.length>0)return e.addConst(t)}return null}const Xa=Object.freeze([]);class Qa{compatibility;known=new Map;byKind=new Map;propertyBindings=null;projectAs=null;get attributes(){return this.byKind.get(Hs.Attribute)??Xa}get classes(){return this.byKind.get(Hs.ClassName)??Xa}get styles(){return this.byKind.get(Hs.StyleProperty)??Xa}get bindings(){return this.propertyBindings??Xa}get template(){return this.byKind.get(Hs.Template)??Xa}get i18n(){return this.byKind.get(Hs.I18n)??Xa}constructor(e){this.compatibility=e}isKnown(e,t){const n=this.known.get(e)??new Set;return this.known.set(e,n),!!n.has(t)||(n.add(t),!1)}add(e,t,n,i,r){if((this.compatibility!==js.TemplateDefinitionBuilder||e!==Hs.Attribute&&e!==Hs.ClassName&&e!==Hs.StyleProperty)&&this.isKnown(e,t))return;if("ngProjectAs"===t){if(null===n||!(n instanceof le)||null==n.value||"string"!=typeof n.value?.toString())throw Error("ngProjectAs must have a string literal value");this.projectAs=n.value.toString()}const s=this.arrayFor(e);if(s.push(...function(e,t){const n=Qe(t);return e?[Qe(0),Qe(e),n]:[n]}(i,t)),e===Hs.Attribute||e===Hs.StyleProperty){if(null===n)throw Error("Attribute, i18n attribute, & style element attributes must have a value");null!==r&&sa(n)?s.push(function(e,t,n,i){return new oe(e,t,n,i)}(r,new ce([new ue(n.value)],[]),void 0,n.sourceSpan)):s.push(n)}}arrayFor(e){return e===Hs.Property||e===Hs.TwoWayProperty?(this.propertyBindings??=[],this.propertyBindings):(this.byKind.has(e)||this.byKind.set(e,[]),this.byKind.get(e))}}function el({attributes:e,bindings:t,classes:n,i18n:i,projectAs:r,styles:s,template:o}){const a=[...e];if(null!==r){const e=_(r)[0];a.push(Qe(5),Ka(e))}return n.length>0&&a.push(Qe(1),...n),s.length>0&&a.push(Qe(2),...s),t.length>0&&a.push(Qe(3),...t),o.length>0&&a.push(Qe(4),...o),i.length>0&&a.push(Qe(6),...i),Ze(a)}function tl(e,t){const n=e.get(t);if(void 0===n)throw new Error("All attributes should have an element-like target.");return n}function nl(e){if(0===e.animationBindingKind)return t=e.name,n=e.target,i="animate.enter"===e.name?"enter":"leave",r=e.expression,s=e.securityContext,o=e.sourceSpan,{kind:Bs.AnimationString,name:t,target:n,animationKind:i,expression:r,i18nMessage:null,securityContext:s,sanitizer:null,sourceSpan:o,...co};{const t=e.expression;return function(e,t,n,i,r,s){const o=new oa;return o.push(i),{kind:Bs.Animation,name:e,target:t,animationKind:n,handlerOps:o,handlerFnName:null,i18nMessage:null,securityContext:r,sanitizer:null,sourceSpan:s,...co}}(e.name,e.target,"animate.enter"===e.name?"enter":"leave",[ao(new He(t,t.sourceSpan))],e.securityContext,e.sourceSpan)}var t,n,i,r,s,o}let il=class{targets=new Map};const rl=new Map([[Bs.ElementEnd,[Bs.ElementStart,Bs.Element]],[Bs.ContainerEnd,[Bs.ContainerStart,Bs.Container]],[Bs.I18nEnd,[Bs.I18nStart,Bs.I18n]]]),sl=new Set([Bs.Pipe]);function ol(e){return e instanceof Se?ol(e.expr):e instanceof Ee?ol(e.lhs)||ol(e.rhs):e instanceof we?!(!e.falseCase||!ol(e.falseCase))||ol(e.condition)||ol(e.trueCase):e instanceof _e?ol(e.condition):e instanceof Zo?ol(e.expr):e instanceof Ie?ol(e.receiver):e instanceof Ae?ol(e.receiver)||ol(e.index):e instanceof Te?ol(e.expr):e instanceof se||e instanceof De||e instanceof Oe||e instanceof qo||e instanceof jo}function al(e,t,n){let i;if(ol(e)){const t=n.job.allocateXrefId();i=[new Zo(e,t),new Yo(t)]}else i=[e,e.clone()],function(e,t,n){ia(e,e=>{if(e instanceof Zo&&t.has(e.xref)){const t=new Yo(e.xref);return n.job.compatibility===js.TemplateDefinitionBuilder?new Zo(t,t.xref):t}return e},ea.None)}(i[1],function(e){const t=new Set;return ia(e,e=>(e instanceof Zo&&t.add(e.xref),e),ea.None),t}(i[0]),n);return new Wo(i[0],t(i[1]))}function ll(e){return function(e){return e instanceof zo||e instanceof Uo||e instanceof qo}(e)||function(e){return e instanceof Ie||e instanceof Ae||e instanceof se}(e)}function cl(e,t){if(!ll(e))return e;const n=function(e){if(ll(e)&&e.receiver instanceof Wo){let t=e.receiver;for(;t.expr instanceof Wo;)t=t.expr;return t}return null}(e);if(n){if(e instanceof se)return n.expr=n.expr.callFn(e.args),e.receiver;if(e instanceof Ie)return n.expr=n.expr.prop(e.name),e.receiver;if(e instanceof Ae)return n.expr=n.expr.key(e.index),e.receiver;if(e instanceof qo)return n.expr=al(n.expr,t=>t.callFn(e.args),t),e.receiver;if(e instanceof zo)return n.expr=al(n.expr,t=>t.prop(e.name),t),e.receiver;if(e instanceof Uo)return n.expr=al(n.expr,t=>t.key(e.index),t),e.receiver}else{if(e instanceof qo)return al(e.receiver,t=>t.callFn(e.args),t);if(e instanceof zo)return al(e.receiver,t=>t.prop(e.name),t);if(e instanceof Uo)return al(e.receiver,t=>t.key(e.index),t)}return e}
1function ul(e){return e instanceof Wo?new Te(new we(new Ee(J.Equals,e.guard,Pe),Pe,e.expr)):e}function dl(e,t,n){let i=pl(t.params);const r=pl(t.postprocessingParams);let s=[...t.params.values()].some(e=>e.length>1);return function(e,t,n,i,r,s,o,a){return{kind:Bs.I18nMessage,xref:e,i18nContext:t,i18nBlock:n,message:i,messagePlaceholder:null,params:s,postprocessingParams:o,needsPostprocessing:a,subMessages:[],...co}}(e.allocateXrefId(),t.xref,t.i18nBlock,t.message,0,i,r,s)}function hl(e){if(e.strings.length!==e.expressionPlaceholders.length+1)throw Error(`AssertionError: Invalid ICU placeholder with ${e.strings.length} strings and ${e.expressionPlaceholders.length} expressions`);const t=e.expressionPlaceholders.map(ml);return e.strings.flatMap((e,n)=>[e,t[n]||""]).join("")}function pl(e){const t=new Map;for(const[n,i]of e){const e=fl(i);null!==e&&t.set(n,Qe(e))}return t}function fl(e){if(0===e.length)return null;const t=e.map(e=>ml(e));return 1===t.length?t[0]:`[${t.join("|")}]`}function ml(e){if(e.flags&qs.ElementTag&&e.flags&qs.TemplateTag){if("object"!=typeof e.value)throw Error("AssertionError: Expected i18n param value to have an element and template slot");const t=ml({...e,value:e.value.element,flags:e.flags&~qs.TemplateTag}),n=ml({...e,value:e.value.template,flags:e.flags&~qs.ElementTag});return e.flags&qs.OpenTag&&e.flags&qs.CloseTag?`${n}${t}${n}`:e.flags&qs.CloseTag?`${t}${n}`:`${n}${t}`}if(e.flags&qs.OpenTag&&e.flags&qs.CloseTag)return`${ml({...e,flags:e.flags&~qs.CloseTag})}${ml({...e,flags:e.flags&~qs.OpenTag})}`;if(e.flags===qs.None)return`${e.value}`;let t="",n="";e.flags&qs.ElementTag?t="#":e.flags&qs.TemplateTag&&(t="*"),""!==t&&(n=e.flags&qs.CloseTag?"/":"");const i=null===e.subTemplateIndex?"":`:${e.subTemplateIndex}`;return`�${n}${t}${e.value}${i}�`}function gl(e,t){const n=function(e,t){const n={view:e.xref,viewContextVariable:{kind:$s.Context,name:null,view:e.xref},contextVariables:new Map,aliases:e.aliases,references:[],letDeclarations:[],parent:t};for(const t of e.contextVariables.keys())n.contextVariables.set(t,{kind:$s.Identifier,name:null,identifier:t,local:!1});for(const t of e.create)switch(t.kind){case Bs.ElementStart:case Bs.ConditionalCreate:case Bs.ConditionalBranchCreate:case Bs.Template:if(!Array.isArray(t.localRefs))throw new Error("AssertionError: expected localRefs to be an array");for(let e=0;e<t.localRefs.length;e++)n.references.push({name:t.localRefs[e].name,targetId:t.xref,targetSlot:t.handle,offset:e,variable:{kind:$s.Identifier,name:null,identifier:t.localRefs[e].name,local:!1}});break;case Bs.DeclareLet:n.letDeclarations.push({targetId:t.xref,targetSlot:t.handle,variable:{kind:$s.Identifier,name:null,identifier:t.declaredName,local:!1}})}return n}(e,t);for(const t of e.create)switch(t.kind){case Bs.ConditionalCreate:case Bs.ConditionalBranchCreate:case Bs.Template:gl(e.job.views.get(t.xref),n);break;case Bs.Projection:null!==t.fallbackView&&gl(e.job.views.get(t.fallbackView),n);break;case Bs.RepeaterCreate:gl(e.job.views.get(t.xref),n),t.emptyView&&gl(e.job.views.get(t.emptyView),n),null!==t.trackByOps&&t.trackByOps.prepend(vl(e,n,!1));break;case Bs.Animation:case Bs.AnimationListener:case Bs.Listener:case Bs.TwoWayListener:t.handlerOps.prepend(vl(e,n,!0))}e.update.prepend(vl(e,n,!1))}function vl(e,t,n){const i=[];t.view!==e.xref&&i.push(lo(e.job.allocateXrefId(),t.viewContextVariable,new Po,Vs.None));const r=e.job.views.get(t.view);for(const[n,s]of r.contextVariables){const r=new Mo(t.view),o=s===Da?r:new Ie(r,s);i.push(lo(e.job.allocateXrefId(),t.contextVariables.get(n),o,Vs.None))}for(const t of r.aliases)i.push(lo(e.job.allocateXrefId(),t,t.expression.clone(),Vs.AlwaysInline));for(const n of t.references)i.push(lo(e.job.allocateXrefId(),n.variable,new Io(n.targetId,n.targetSlot,n.offset),Vs.None));if(t.view!==e.xref||n)for(const n of t.letDeclarations)i.push(lo(e.job.allocateXrefId(),n.variable,new Do(n.targetId,n.targetSlot),Vs.None));return null!==t.parent&&i.push(...vl(e,t.parent,!1)),i}function yl(e){return e.startsWith("--")}function bl(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function wl(e){const t=e.indexOf("!important");-1!==t&&(e=t>0?e.substring(0,t):"");let n=null,i=e;const r=e.lastIndexOf(".");return r>0&&(n=e.slice(r+1),i=e.substring(0,r)),{property:i,suffix:n}}function _l(e,t=!1){return Ye(Object.keys(e).map(n=>({key:n,quoted:t,value:e[n]})))}const xl=new class{visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitBlockPlaceholder(e){return`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${Oi(e,!1)}}`}};function kl(e){return e.visit(xl)}class Cl{sourceSpan;i18n;constructor(e,t){this.sourceSpan=e,this.i18n=t}}class Sl extends Cl{value;tokens;constructor(e,t,n,i){super(t,i),this.value=e,this.tokens=n}visit(e,t){return e.visitText(this,t)}}class Tl extends Cl{switchValue;type;cases;switchValueSourceSpan;constructor(e,t,n,i,r,s){super(i,s),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=r}visit(e,t){return e.visitExpansion(this,t)}}class El{value;expression;sourceSpan;valueSourceSpan;expSourceSpan;constructor(e,t,n,i,r){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=i,this.expSourceSpan=r}visit(e,t){return e.visitExpansionCase(this,t)}}class Il extends Cl{name;value;keySpan;valueSpan;valueTokens;constructor(e,t,n,i,r,s,o){super(n,o),this.name=e,this.value=t,this.keySpan=i,this.valueSpan=r,this.valueTokens=s}visit(e,t){return e.visitAttribute(this,t)}}class Al extends Cl{name;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;isVoid;constructor(e,t,n,i,r,s,o,a=null,l,c){super(s,c),this.name=e,this.attrs=t,this.directives=n,this.children=i,this.isSelfClosing=r,this.startSourceSpan=o,this.endSourceSpan=a,this.isVoid=l}visit(e,t){return e.visitElement(this,t)}}class Dl{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}class Ml extends Cl{name;parameters;children;nameSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i,r,s,o=null,a){super(i,a),this.name=e,this.parameters=t,this.children=n,this.nameSpan=r,this.startSourceSpan=s,this.endSourceSpan=o}visit(e,t){return e.visitBlock(this,t)}}class Ol extends Cl{componentName;tagName;fullName;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;constructor(e,t,n,i,r,s,o,a,l,c=null,u){super(a,u),this.componentName=e,this.tagName=t,this.fullName=n,this.attrs=i,this.directives=r,this.children=s,this.isSelfClosing=o,this.startSourceSpan=l,this.endSourceSpan=c}visit(e,t){return e.visitComponent(this,t)}}class Pl{name;attrs;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,i,r=null){this.name=e,this.attrs=t,this.sourceSpan=n,this.startSourceSpan=i,this.endSourceSpan=r}visit(e,t){return e.visitDirective(this,t)}}class Ll{expression;sourceSpan;constructor(e,t){this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}}class Nl{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,n,i,r){this.name=e,this.value=t,this.sourceSpan=n,this.nameSpan=i,this.valueSpan=r}visit(e,t){return e.visitLetDeclaration(this,t)}}function Rl(e,t,n=null){const i=[],r=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);
1return t.forEach(e=>{const t=r(e);t&&i.push(t)}),i}const Bl={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim
1:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",
1Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"â
1‹ ",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"â§´",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Å ",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce
1:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil
1:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"â©­",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"â©·",eDDot:"â©·",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"â§¶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"â©®",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"â§£",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"â§¥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"Ä¡",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"Ä¥",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"Ä«",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"Ä©",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"È·",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"Ä·",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"â©¿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"â
1‹–",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"â©»",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"â«°",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"â«®",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"Å¡",scedil:"ş",scirc:"ŝ",
1scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌",ngsp:""};class Fl{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}}const Vl=/\r\n?/g;function $l(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function jl(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}var Hl;!function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Hl||(Hl={}));const zl=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error"];class Ul{_getTagDefinition;_cursor;_tokenizeIcu;_interpolationConfig;_leadingTriviaCodePoints;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,n){this._getTagDefinition=t,this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||Gi,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(e=>e.codePointAt(0)||0);const i=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new nc(e,i):new tc(e,i),this._preserveLineEndings=n.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=n.tokenizeBlocks??!0,this._tokenizeLet=n.tokenizeLet??!0,this._selectorlessEnabled=n.selectorlessEnabled??!1;
1try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Vl,"\n")}tokenize(){for(;0!==this._cursor.peek();){const e=this._cursor.clone();try{this._attemptCharCode(nr)?this._attemptCharCode(33)?this._attemptCharCode(ar)?this._consumeCdata(e):this._attemptCharCode(45)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(Qi)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeLet&&this._cursor.peek()===mr&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):!this._tokenizeBlocks||this._inInterpolation||this._isInExpansionCase()||this._isInExpansionForm()||!this._attemptCharCode(fr)?this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart()):this._consumeBlockEnd(e)}catch(e){this.handleError(e)}}this._beginToken(41),this._endToken([])}_getBlockName(){let e=!1;const t=this._cursor.clone();return this._attemptCharCodeUntilFn(t=>gr(t)?!e:!function(e){return yr(e)||vr(e)||e===ur}(t)||(e=!0,!1)),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._requireCharCode(mr),this._beginToken(24,e);const t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===Ki){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ql),!this._attemptCharCode(Ji))return void(t.type=28);this._attemptCharCodeUntilFn(ql)}this._attemptCharCode(pr)?(this._beginToken(25),this._endToken([])):t.type=28}_consumeBlockEnd(e){this._beginToken(26,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Jl);this._cursor.peek()!==Ji&&0!==this._cursor.peek();){this._beginToken(27);const e=this._cursor.clone();let t=null,n=0;for(;this._cursor.peek()!==tr&&0!==this._cursor.peek()||null!==t;){const e=this._cursor.peek();if(e===lr)this._cursor.advance();else if(e===t)t=null;else if(null===t&&_r(e))t=e;else if(e===Ki&&null===t)n++;else if(e===Ji&&null===t){if(0===n)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Jl)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(29,e),!gr(this._cursor.peek()))return void(this._endToken([this._cursor.getChars(e)]).type=32);this._attemptCharCodeUntilFn(ql);const t=this._endToken([this._getLetDeclarationName()]);this._attemptCharCodeUntilFn(ql),this._attemptCharCode(ir)?(this._attemptCharCodeUntilFn(e=>ql(e)&&!br(e)),this._consumeLetDeclarationValue(),this._cursor.peek()===tr?(this._beginToken(31),this._endToken([]),this._cursor.advance()):(t.type=32,t.sourceSpan=this._cursor.getSpan(e))):t.type=32}_getLetDeclarationName(){const e=this._cursor.clone();let t=!1;return this._attemptCharCodeUntilFn(e=>!(yr(e)||36===e||e===ur||t&&vr(e))||(t=!0,!1)),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){const e=this._cursor.clone();for(this._beginToken(30,e);0!==this._cursor.peek();){const e=this._cursor.peek();if(e===tr)break;_r(e)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(t=>t===lr?(this._cursor.advance(),!1):t===e)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(this._cursor.peek()!==fr&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===fr){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new Tr(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(null===this._currentTokenType)throw new Tr(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");const n={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const n=new Tr(t,e);return this._currentTokenStart=null,this._currentTokenType=null,n}handleError(e){if(e instanceof ic&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof Tr))throw e;this.errors.push(e)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return t=e,Kl(this._cursor.peek())===Kl(t)&&(this._cursor.advance(),!0);var t}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError($l(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const n=this._cursor.clone();for(let i=0;i<t;i++)if(!this._attemptCharCode(e.charCodeAt(i)))return this._cursor=n,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError($l(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError($l(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(){const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const n=this._cursor.clone();for(let i=0;i<t;i++){if(n.peek()!==e.charCodeAt(i))return!1;n.advance()}return!0}_isBlockStart(){return this._cursor.peek()===mr&&zl.some(e=>this._peekStr(e))}_isLetStart(){return this._cursor.peek()===mr&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(9);const t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){const e=this._attemptCharCode(120)||this._attemptCharCode(88),i=this._cursor.clone();if(this._attemptCharCodeUntilFn(Zl),this._cursor.peek()!=tr){this._cursor.advance();const i=e?Hl.HEX:Hl.DEC;throw this._createError((n=i,`Unable to parse entity "${this._cursor.getChars(t)}" - ${n} character reference entities must end with ";"`),this._cursor.getSpan())}const r=this._cursor.getChars(i);this._cursor.advance();try{const n=parseInt(r,e?16:10);this._endToken([String.fromCodePoint(n),this._cursor.getChars(t)])}catch{throw this._createError(jl(this._cursor.getChars(t)),this._cursor.getSpan())}}else{const n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Yl),this._cursor.peek()!=tr)this._beginToken(e,t),this._cursor=n,this._endToken(["&"]);else{const e=this._cursor.getChars(n);this._cursor.advance();const i=Bl.hasOwnProperty(e)&&Bl[e];
1if(!i)throw this._createError(jl(e),this._cursor.getSpan(t));this._endToken([i,`&${e};`])}}var n}_consumeRawText(e,t){this._beginToken(e?6:7);const n=[];for(;;){const i=this._cursor.clone(),r=t();if(this._cursor=i,r)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(n.join(""))]),n.length=0,this._consumeEntity(6),this._beginToken(6)):n.push(this._readChar())}this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(10,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e);const t=this._cursor.clone();this._attemptUntilChar(rr);const n=this._cursor.getChars(t);this._cursor.advance(),this._endToken([n])}_consumePrefixAndName(e){const t=this._cursor.clone();let n,i="";for(;this._cursor.peek()!==er&&!Gl(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===er?(i=this._cursor.getChars(t),this._cursor.advance(),n=this._cursor.clone()):n=t,this._requireCharCodeUntilFn(e,""===i?0:1),[i,this._cursor.getChars(n)]}_consumeTagOpen(e){let t,n,i,r;try{if(this._selectorlessEnabled&&Xl(this._cursor.peek()))r=this._consumeComponentOpenStart(e),[i,n,t]=r.parts,n&&(i+=`:${n}`),t&&(i+=`:${t}`),this._attemptCharCodeUntilFn(ql);else{if(!yr(this._cursor.peek()))throw this._createError($l(this._cursor.peek()),this._cursor.getSpan(e));r=this._consumeTagOpenStart(e),n=r.parts[0],t=i=r.parts[1],this._attemptCharCodeUntilFn(ql)}for(;!ec(this._cursor.peek());)if(this._selectorlessEnabled&&this._cursor.peek()===mr){const e=this._cursor.clone(),t=e.clone();t.advance(),Xl(t.peek())&&this._consumeDirective(e,t)}else this._consumeAttribute();33===r.type?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(t){if(t instanceof Tr)return void(r?r.type=33===r.type?37:4:(this._beginToken(5,e),this._endToken(["<"])));throw t}const s=this._getTagDefinition(t).getContentType(n);s===Sn.RAW_TEXT?this._consumeRawTextWithTagClose(r,i,!1):s===Sn.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,i,!0)}_consumeRawTextWithTagClose(e,t,n){this._consumeRawText(n,()=>!!this._attemptCharCode(nr)&&!!this._attemptCharCode(Qi)&&(this._attemptCharCodeUntilFn(ql),!!this._attemptStrCaseInsensitive(t)&&(this._attemptCharCodeUntilFn(ql),this._attemptCharCode(rr)))),this._beginToken(33===e.type?36:3),this._requireCharCodeUntilFn(e=>e===rr,3),this._cursor.advance(),this._endToken(e.parts)}_consumeTagOpenStart(e){this._beginToken(0,e);const t=this._consumePrefixAndName(Wl);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(33,e);const t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){const e=this._cursor.clone();for(;Ql(this._cursor.peek());)this._cursor.advance();const t=this._cursor.getChars(e);let n="",i="";return this._cursor.peek()===er&&(this._cursor.advance(),[n,i]=this._consumePrefixAndName(Wl)),[t,n,i]}_consumeAttribute(){this._consumeAttributeName(),this._attemptCharCodeUntilFn(ql),this._attemptCharCode(ir)&&(this._attemptCharCodeUntilFn(ql),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(ql)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError($l(e),this._cursor.getSpan());let t;if(this._beginToken(14),this._openDirectiveCount>0){let e=0;t=t=>{if(this._openDirectiveCount>0)if(t===Ki)e++;else if(t===Ji){if(0===e)return!0;e--}return Wl(t)}}else if(e===ar){let e=0;t=t=>(t===ar?e++:t===cr&&e--,e<=0?Wl(t):br(t))}else t=Wl;const n=this._consumePrefixAndName(t);this._endToken(n)}_consumeAttributeValue(){if(39===this._cursor.peek()||34===this._cursor.peek()){const e=this._cursor.peek();this._consumeQuote(e);const t=()=>this._cursor.peek()===e;this._consumeWithInterpolation(16,17,t,t),this._consumeQuote(e)}else{const e=()=>Wl(this._cursor.peek());this._consumeWithInterpolation(16,17,e,e)}}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){const e=this._attemptCharCode(Qi)?2:1;this._beginToken(e),this._requireCharCode(rr),this._endToken([])}_consumeComponentOpenEnd(){const e=this._attemptCharCode(Qi)?35:34;this._beginToken(e),this._requireCharCode(rr),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){const t=e.clone();for(;t.peek()!==rr&&!Xl(t.peek());)t.advance();if(Xl(t.peek())){this._beginToken(36,e);const t=this._consumeComponentName();return this._attemptCharCodeUntilFn(ql),this._requireCharCode(rr),void this._endToken(t)}}this._beginToken(3,e),this._attemptCharCodeUntilFn(ql);const t=this._consumePrefixAndName(Wl);this._attemptCharCodeUntilFn(ql),this._requireCharCode(rr),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(19),this._requireCharCode(pr),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);const e=this._readUntil(Xi),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(Xi),this._attemptCharCodeUntilFn(ql),this._beginToken(7);const n=this._readUntil(Xi);this._endToken([n]),this._requireCharCode(Xi),this._attemptCharCodeUntilFn(ql)}_consumeExpansionCaseStart(){this._beginToken(20);const e=this._readUntil(pr).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ql),this._beginToken(21),this._requireCharCode(pr),this._endToken([]),this._attemptCharCodeUntilFn(ql),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode(fr),this._endToken([]),this._attemptCharCodeUntilFn(ql),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode(fr),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,n,i){this._beginToken(e);const r=[];for(;!n();){const n=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(r.join(""))],n),r.length=0,this._consumeInterpolation(t,n,i),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(e),this._beginToken(e)):r.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(r.join(""))])}_consumeInterpolation(e,t,n){const i=[];this._beginToken(e,t),i.push(this._interpolationConfig.start);const r=this._cursor.clone();let s=null,o=!1;for(;0!==this._cursor.peek()&&(null===n||!n());){const e=this._cursor.clone();if(this._isTagStart())return this._cursor=e,i.push(this._getProcessedChars(r,e)),void this._endToken(i);if(null===s){if(this._attemptStr(this._interpolationConfig.end))return i.push(this._getProcessedChars(r,e)),i.push(this._interpolationConfig.end),void this._endToken(i);this._attemptStr("//")&&(o=!0)}const t=this._cursor.peek();this._cursor.advance(),t===lr?this._cursor.advance():t===s?s=null:!o&&null===s&&_r(t)&&(s=t)}i.push(this._getProcessedChars(r,this._cursor)),this._endToken(i)}_consumeDirective(e,t){for(this._requireCharCode(mr),this._cursor.advance();Ql(this._cursor.peek());)this._cursor.advance();this._beginToken(38,e);const n=this._cursor.getChars(t);if(this._endToken([n]),this._attemptCharCodeUntilFn(ql),this._cursor.peek()===Ki){for(this._openDirectiveCount++,this._beginToken(39),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(ql);!ec(this._cursor.peek())&&this._cursor.peek()!==Ji;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(ql),this._openDirectiveCount--,this._cursor.peek()!==Ji){if(this._cursor.peek()===rr||this._cursor.peek()===Qi)return;throw this._createError($l(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(40),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(ql)}}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){if(this._isTagStart()||0===this._cursor.peek())return!0;
1if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===fr&&this._isInExpansionCase())return!0}return!(!this._tokenizeBlocks||this._inInterpolation||this._isInExpansion()||!this._isBlockStart()&&!this._isLetStart()&&this._cursor.peek()!==fr)}_isTagStart(){if(this._cursor.peek()===nr){const e=this._cursor.clone();e.advance();const t=e.peek();if(dr<=t&&t<=hr||sr<=t&&t<=or||t===Qi||33===t)return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&21===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&19===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(this._cursor.peek()!==pr)return!1;if(this._interpolationConfig){const e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}}function ql(e){return!gr(e)||0===e}function Wl(e){return gr(e)||e===rr||e===nr||e===Qi||39===e||34===e||e===ir||0===e}function Gl(e){return(e<dr||hr<e)&&(e<sr||or<e)&&(e<48||e>57)}function Zl(e){return e===tr||0===e||!function(e){return e>=dr&&e<=102||e>=sr&&e<=70||vr(e)}(e)}function Yl(e){return e===tr||0===e||!yr(e)}function Kl(e){return e>=dr&&e<=hr?e-dr+sr:e}function Jl(e){return e!==tr&&ql(e)}function Xl(e){return e===ur||e>=sr&&e<=or}function Ql(e){return yr(e)||vr(e)||e===ur}function ec(e){return e===Qi||e===rr||e===nr||0===e}class tc{state;file;input;end;constructor(e,t){if(e instanceof tc){this.file=e.file,this.input=e.input,this.end=e.end;const t=e.state;this.state={peek:t.peek,offset:t.offset,line:t.line,column:t.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new tc(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let n=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)n===e&&(e=e.clone()),e.advance();const i=this.locationFromCursor(e),r=this.locationFromCursor(this),s=n!==e?this.locationFromCursor(n):i;return new Cr(i,r,s)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new ic('Unexpected character "EOF"',this);const t=this.charAt(e.offset);t===Yi?(e.line++,e.column=0):br(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new xr(e.file,e.state.offset,e.state.line,e.state.column)}}class nc extends tc{internalState;constructor(e,t){e instanceof nc?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}
1advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new nc(this)}getChars(e){const t=e.clone();let n="";for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){const e=()=>this.internalState.peek;if(e()===lr)if(this.internalState={...this.state},this.advanceState(this.internalState),110===e())this.state.peek=Yi;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),e()===pr){this.advanceState(this.internalState);const t=this.clone();let n=0;for(;e()!==fr;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{const e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(120===e()){this.advanceState(this.internalState);const e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(wr(e())){let t="",n=0,i=this.clone();for(;wr(e())&&n<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else br(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const n=this.input.slice(e.internalState.offset,e.internalState.offset+t),i=parseInt(n,16);if(isNaN(i))throw e.state=e.internalState,new ic("Invalid hexadecimal escape sequence",e);return i}}class ic extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}}class rc extends Tr{elementName;static create(e,t,n){return new rc(e,t,n)}constructor(e,t,n){super(t,n),this.elementName=e}}class sc{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}}let oc=class{getTagDefinition;constructor(e){this.getTagDefinition=e}parse(e,t,n){const i=function(e,t,n,i={}){const r=new Ul(new kr(e,t),n,i);return r.tokenize(),new Fl(function(e){const t=[];let n;for(let i=0;i<e.length;i++){const r=e[i];n&&5===n.type&&5===r.type||n&&16===n.type&&16===r.type?(n.parts[0]+=r.parts[0],n.sourceSpan.end=r.sourceSpan.end):(n=r,t.push(n))}return t}(r.tokens),r.errors,r.nonNormalizedIcuExpressions)}(e,t,this.getTagDefinition,n),r=new ac(i.tokens,this.getTagDefinition);return r.build(),new sc(r.rootNodes,[...i.errors,...r.errors])}};class ac{tokens;tagDefinitionResolver;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(e,t){this.tokens=e,this.tagDefinitionResolver=t,this._advance()}build(){for(;41!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeElementStartTag(this._advance()):3===this._peek.type?this._consumeElementEndTag(this._advance()):12===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):19===this._peek.type?this._consumeExpansion(this._advance()):24===this._peek.type?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):26===this._peek.type?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):28===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):29===this._peek.type?(this._closeVoidElement(),this._consumeLet(this._advance())):32===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):33===this._peek.type||37===this._peek.type?this._consumeComponentStartTag(this._advance()):36===this._peek.type?this._consumeComponentEndTag(this._advance()):this._advance();for(const e of this._containerStack)e instanceof Ml&&this.errors.push(rc.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(13)}_consumeComment(e){const t=this._advanceIf(7),n=this._advanceIf(11),i=null!=t?t.parts[0].trim():null,r=null==n?e.sourceSpan:new Cr(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Dl(i,r))}_consumeExpansion(e){const t=this._advance(),n=this._advance(),i=[];for(;20===this._peek.type;){const e=this._parseExpansionCase();if(!e)return;i.push(e)}if(23!==this._peek.type)return void this.errors.push(rc.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const r=new Cr(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Tl(t.parts[0],n.parts[0],i,r,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(21!==this._peek.type)return this.errors.push(rc.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),n=this._collectExpansionExpTokens(t);if(!n)return null;const i=this._advance();n.push({type:41,parts:[],sourceSpan:i.sourceSpan});const r=new ac(n,this.tagDefinitionResolver);if(r.build(),r.errors.length>0)return this.errors=this.errors.concat(r.errors),null;const s=new Cr(e.sourceSpan.start,i.sourceSpan.end,e.sourceSpan.fullStart),o=new Cr(t.sourceSpan.start,i.sourceSpan.end,t.sourceSpan.fullStart);return new El(e.parts[0],r.rootNodes,s,e.sourceSpan,o)}_collectExpansionExpTokens(e){const t=[],n=[21];for(;;){if(19!==this._peek.type&&21!==this._peek.type||n.push(this._peek.type),22===this._peek.type){if(!lc(n,21))return this.errors.push(rc.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0===n.length)return t}if(23===this._peek.type){if(!lc(n,19))return this.errors.push(rc.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(41===this._peek.type)return this.errors.push(rc.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){const t=[e],n=e.sourceSpan;let i=e.parts[0];if(i.length>0&&"\n"===i[0]){const n=this._getContainer();null!=n&&0===n.children.length&&this._getTagDefinition(n)?.ignoreFirstLf&&(i=i.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[i]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)e=this._advance(),t.push(e),8===e.type?i+=e.parts.join("").replace(/&([^;]+);/g,cc):9===e.type?i+=e.parts[0]:i+=e.parts.join("");if(i.length>0){const r=e.sourceSpan;this._addToParent(new Sl(i,new Cr(n.start,r.end,n.fullStart,n.details),t))}}_closeVoidElement(){const e=this._getContainer();null!==e&&this._getTagDefinition(e)?.isVoid&&this._containerStack.pop()}_consumeElementStartTag(e){const t=[],n=[];this._consumeAttributesAndDirectives(t,n);const i=this._getElementFullName(e,this._getClosestElementLikeParent()),r=this._getTagDefinition(i);let s=!1;2===this._peek.type?(this._advance(),s=!0,r?.canSelfClose||null!==On(i)||r?.isVoid||this.errors.push(rc.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))):1===this._peek.type&&(this._advance(),s=!1);const o=this._peek.sourceSpan.fullStart,a=new Cr(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=new Cr(e.sourceSpan.start,o,e.sourceSpan.fullStart),c=new Al(i,t,n,[],s,a,l,void 0,r?.isVoid??!1),u=this._getContainer(),d=null!==u&&!!this._getTagDefinition(u)?.isClosedByChild(c.name);this._pushContainer(c,d),s?this._popContainer(i,Al,a):4===e.type&&(this._popContainer(i,Al,null),this.errors.push(rc.create(i,a,`Opening tag "${i}" not terminated.`)))}_consumeComponentStartTag(e){const t=e.parts[0],n=[],i=[];this._consumeAttributesAndDirectives(n,i);const r=this._getClosestElementLikeParent(),s=this._getComponentTagName(e,r),o=this._getComponentFullName(e,r),a=35===this._peek.type;this._advance();const l=this._peek.sourceSpan.fullStart,c=new Cr(e.sourceSpan.start,l,e.sourceSpan.fullStart),u=new Cr(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new Ol(t,s,o,n,i,[],a,c,u,void 0),h=this._getContainer(),p=null!==h&&null!==d.tagName&&!!this._getTagDefinition(h)?.isClosedByChild(d.tagName);this._pushContainer(d,p),a?this._popContainer(o,Ol,c):37===e.type&&(this._popContainer(o,Ol,null),this.errors.push(rc.create(o,c,`Opening tag "${o}" not terminated.`)))}_consumeAttributesAndDirectives(e,t){for(;14===this._peek.type||38===this._peek.type;
1)38===this._peek.type?t.push(this._consumeDirective(this._peek)):e.push(this._consumeAttr(this._advance()))}_consumeComponentEndTag(e){const t=this._getComponentFullName(e,this._getClosestElementLikeParent());if(!this._popContainer(t,Ol,e.sourceSpan)){const n=this._containerStack[this._containerStack.length-1];let i;i=n instanceof Ol&&n.componentName===e.parts[0]?`, did you mean "${n.fullName}"?`:". It may happen when the tag has already been closed by another tag.";const r=`Unexpected closing tag "${t}"${i}`;this.errors.push(rc.create(t,e.sourceSpan,r))}}_getTagDefinition(e){return"string"==typeof e?this.tagDefinitionResolver(e):e instanceof Al?this.tagDefinitionResolver(e.name):e instanceof Ol&&null!==e.tagName?this.tagDefinitionResolver(e.tagName):null}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeElementEndTag(e){const t=this._getElementFullName(e,this._getClosestElementLikeParent());if(this._getTagDefinition(t)?.isVoid)this.errors.push(rc.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,Al,e.sourceSpan)){const n=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(rc.create(t,e.sourceSpan,n))}}_popContainer(e,t,n){let i=!1;for(let r=this._containerStack.length-1;r>=0;r--){const s=this._containerStack[r];if(((s instanceof Ol?s.fullName:s.name)===e||null===e)&&s instanceof t)return s.endSourceSpan=n,s.sourceSpan.end=null!==n?n.end:s.sourceSpan.end,this._containerStack.splice(r,this._containerStack.length-r),!i;(s instanceof Ml||!this._getTagDefinition(s)?.closedByParent)&&(i=!0)}return!1}_consumeAttr(e){const t=Pn(e.parts[0],e.parts[1]);let n=e.sourceSpan.end;15===this._peek.type&&this._advance();let i="";const r=[];let s,o;if(16===this._peek.type)for(s=this._peek.sourceSpan,o=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){const e=this._advance();r.push(e),17===e.type?i+=e.parts.join("").replace(/&([^;]+);/g,cc):9===e.type?i+=e.parts[0]:i+=e.parts.join(""),o=n=e.sourceSpan.end}15===this._peek.type&&(n=this._advance().sourceSpan.end);const a=s&&o&&new Cr(s.start,o,s.fullStart);return new Il(t,i,new Cr(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,a,r.length>0?r:void 0,void 0)}_consumeDirective(e){const t=[];let n=e.sourceSpan.end,i=null;if(this._advance(),39===this._peek.type){for(n=this._peek.sourceSpan.end,this._advance();14===this._peek.type;)t.push(this._consumeAttr(this._advance()));40===this._peek.type?(i=this._peek.sourceSpan,this._advance()):this.errors.push(rc.create(null,e.sourceSpan,"Unterminated directive definition"))}const r=new Cr(e.sourceSpan.start,n,e.sourceSpan.fullStart),s=new Cr(r.start,null===i?e.sourceSpan.end:i.end,r.fullStart);return new Pl(e.parts[0],t,s,r,i)}_consumeBlockOpen(e){const t=[];for(;27===this._peek.type;){const e=this._advance();t.push(new Ll(e.parts[0],e.sourceSpan))}25===this._peek.type&&this._advance();const n=this._peek.sourceSpan.fullStart,i=new Cr(e.sourceSpan.start,n,e.sourceSpan.fullStart),r=new Cr(e.sourceSpan.start,n,e.sourceSpan.fullStart),s=new Ml(e.parts[0],t,[],i,e.sourceSpan,r);this._pushContainer(s,!1)}_consumeBlockClose(e){this._popContainer(null,Ml,e.sourceSpan)||this.errors.push(rc.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "&#125;" HTML entity instead.'))}_consumeIncompleteBlock(e){const t=[];for(;27===this._peek.type;){const e=this._advance();t.push(new Ll(e.parts[0],e.sourceSpan))}const n=this._peek.sourceSpan.fullStart,i=new Cr(e.sourceSpan.start,n,e.sourceSpan.fullStart),r=new Cr(e.sourceSpan.start,n,e.sourceSpan.fullStart),s=new Ml(e.parts[0],t,[],i,e.sourceSpan,r);this._pushContainer(s,!1),this._popContainer(null,Ml,null),this.errors.push(rc.create(e.parts[0],i,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(e){const t=e.parts[0];let n,i;if(30!==this._peek.type)return void this.errors.push(rc.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));if(n=this._advance(),31!==this._peek.type)return void this.errors.push(rc.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));i=this._advance();const r=i.sourceSpan.fullStart,s=new Cr(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(o),l=new Cr(a,e.sourceSpan.end),c=new Nl(t,n.parts[0],s,l,n.sourceSpan);this._addToParent(c)}_consumeIncompleteLet(e){const t=e.parts[0]??"",n=t?` "${t}"`:"";if(t.length>0){const n=e.sourceSpan.toString().lastIndexOf(t),i=e.sourceSpan.start.moveBy(n),r=new Cr(i,e.sourceSpan.end),s=new Cr(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),o=new Nl(t,"",e.sourceSpan,r,s);this._addToParent(o)}this.errors.push(rc.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let e=this._containerStack.length-1;e>-1;e--){const t=this._containerStack[e];if(t instanceof Al||t instanceof Ol)return t}return null}_addToParent(e){const t=this._getContainer();null===t?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t){return Pn(this._getPrefix(e,t),e.parts[1])}_getComponentFullName(e,t){const n=e.parts[0],i=this._getComponentTagName(e,t);return null===i?n:i.startsWith(":")?n+i:`${n}:${i}`}_getComponentTagName(e,t){const n=this._getPrefix(e,t),i=e.parts[2];return n||i?!n&&i?i:Pn(n,i||"ng-component"):null}_getPrefix(e,t){let n,i;if(33===e.type||37===e.type||36===e.type?(n=e.parts[1],i=e.parts[2]):(n=e.parts[0],i=e.parts[1]),n=n||this._getTagDefinition(i)?.implicitNamespacePrefix||"",!n&&t){const e=t instanceof Al?t.name:t.tagName;if(null!==e){const t=An(e)[1],i=this._getTagDefinition(t);null===i||i.preventNamespaceInheritance||(n=On(e))}}return n}}function lc(e,t){return e.length>0&&e[e.length-1]===t}function cc(e,t){return void 0!==Bl[t]?Bl[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}
1const uc="ngPreserveWhitespaces",dc=new Set(["pre","template","textarea","script","style"]),hc=" \f\n\r\t\v ᠎ - \u2028\u2029   \ufeff",pc=new RegExp(`[^${hc}]`),fc=new RegExp(`[${hc}]{2,}`,"g");function mc(e){return e.some(e=>e.name===uc)}function gc(e){return e.replace(new RegExp("","g")," ")}class vc{preserveSignificantWhitespace;originalNodeMap;requireContext;icuExpansionDepth=0;constructor(e,t,n=!0){this.preserveSignificantWhitespace=e,this.originalNodeMap=t,this.requireContext=n}visitElement(e,t){if(dc.has(e.name)||mc(e.attrs)){const t=new Al(e.name,wc(this,e.attrs),wc(this,e.directives),e.children,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n);return this.originalNodeMap?.set(t,e),t}const n=new Al(e.name,e.attrs,e.directives,wc(this,e.children),e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n);return this.originalNodeMap?.set(n,e),n}visitAttribute(e,t){return e.name!==uc?e:null}visitText(e,t){const n=e.value.match(pc),i=t&&(t.prev instanceof Tl||t.next instanceof Tl);if(this.icuExpansionDepth>0&&this.preserveSignificantWhitespace)return e;if(n||i){const n=e.tokens.map(e=>5===e.type?function({type:e,parts:t,sourceSpan:n}){return{type:e,parts:[bc(t[0])],sourceSpan:n}}(e):e);if(!this.preserveSignificantWhitespace&&n.length>0){const e=n[0];n.splice(0,1,function(e,t){if(5!==e.type)return e;return!t?.prev?yc(e,e=>e.trimStart()):e}(e,t));const i=n[n.length-1];n.splice(n.length-1,1,function(e,t){if(5!==e.type)return e;return!t?.next?yc(e,e=>e.trimEnd()):e}(i,t))}const i=bc(e.value),r=this.preserveSignificantWhitespace?i:function(e,t){const n=!t?.prev,i=!t?.next,r=n?e.trimStart():e;return i?r.trimEnd():r}(i,t),s=new Sl(r,e.sourceSpan,n,e.i18n);return this.originalNodeMap?.set(s,e),s}return null}visitComment(e,t){return e}visitExpansion(e,t){let n;this.icuExpansionDepth++;try{n=new Tl(e.switchValue,e.type,wc(this,e.cases),e.sourceSpan,e.switchValueSourceSpan,e.i18n)}finally{this.icuExpansionDepth--}return this.originalNodeMap?.set(n,e),n}visitExpansionCase(e,t){const n=new El(e.value,wc(this,e.expression),e.sourceSpan,e.valueSourceSpan,e.expSourceSpan);return this.originalNodeMap?.set(n,e),n}visitBlock(e,t){const n=new Ml(e.name,e.parameters,wc(this,e.children),e.sourceSpan,e.nameSpan,e.startSourceSpan,e.endSourceSpan);return this.originalNodeMap?.set(n,e),n}visitBlockParameter(e,t){return e}visitLetDeclaration(e,t){return e}visitComponent(e,t){if(e.tagName&&dc.has(e.tagName)||mc(e.attrs)){const t=new Ol(e.componentName,e.tagName,e.fullName,wc(this,e.attrs),wc(this,e.directives),e.children,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n);return this.originalNodeMap?.set(t,e),t}const n=new Ol(e.componentName,e.tagName,e.fullName,e.attrs,e.directives,wc(this,e.children),e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n);return this.originalNodeMap?.set(n,e),n}visitDirective(e,t){return e}visit(e,t){if(this.requireContext&&!t)throw new Error("WhitespaceVisitor requires context. Visit via `visitAllWithSiblings` to get this context.");return!1}}function yc({type:e,parts:t,sourceSpan:n},i){return{type:e,parts:[i(t[0])],sourceSpan:n}}function bc(e){return gc(e).replace(fc," ")}function wc(e,t){const n=[];return t.forEach((i,r)=>{const s={prev:t[r-1],next:t[r+1]},o=i.visit(e,s);o&&n.push(o)}),n}var _c,xc;!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.PrivateIdentifier=2]="PrivateIdentifier",e[e.Keyword=3]="Keyword",e[e.String=4]="String",e[e.Operator=5]="Operator",e[e.Number=6]="Number",e[e.Error=7]="Error"}(_c||(_c={})),function(e){e[e.Plain=0]="Plain",e[e.TemplateLiteralPart=1]="TemplateLiteralPart",e[e.TemplateLiteralEnd=2]="TemplateLiteralEnd"}(xc||(xc={}));const kc=["var","let","as","null","undefined","true","false","if","else","this","typeof","void","in"];class Cc{tokenize(e){return new Dc(e).scan()}}class Sc{index;end;type;numValue;strValue;constructor(e,t,n,i,r){this.index=e,this.end=t,this.type=n,this.numValue=i,this.strValue=r}isCharacter(e){return this.type===_c.Character&&this.numValue===e}isNumber(){return this.type===_c.Number}isString(){return this.type===_c.String}isOperator(e){return this.type===_c.Operator&&this.strValue===e}isIdentifier(){return this.type===_c.Identifier}isPrivateIdentifier(){return this.type===_c.PrivateIdentifier}isKeyword(){return this.type===_c.Keyword}isKeywordLet(){return this.type===_c.Keyword&&"let"===this.strValue}isKeywordAs(){return this.type===_c.Keyword&&"as"===this.strValue}isKeywordNull(){return this.type===_c.Keyword&&"null"===this.strValue}isKeywordUndefined(){return this.type===_c.Keyword&&"undefined"===this.strValue}isKeywordTrue(){return this.type===_c.Keyword&&"true"===this.strValue}isKeywordFalse(){return this.type===_c.Keyword&&"false"===this.strValue}isKeywordThis(){return this.type===_c.Keyword&&"this"===this.strValue}isKeywordTypeof(){return this.type===_c.Keyword&&"typeof"===this.strValue}isKeywordVoid(){return this.type===_c.Keyword&&"void"===this.strValue}isKeywordIn(){return this.type===_c.Keyword&&"in"===this.strValue}isError(){return this.type===_c.Error}toNumber(){return this.type===_c.Number?this.numValue:-1}isTemplateLiteralPart(){return this.isString()&&this.kind===xc.TemplateLiteralPart}isTemplateLiteralEnd(){return this.isString()&&this.kind===xc.TemplateLiteralEnd}isTemplateLiteralInterpolationStart(){return this.isOperator("${")}toString(){switch(this.type){case _c.Character:case _c.Identifier:case _c.Keyword:case _c.Operator:case _c.PrivateIdentifier:case _c.String:case _c.Error:return this.strValue;case _c.Number:return this.numValue.toString();default:return null}}}class Tc extends Sc{kind;constructor(e,t,n,i){super(e,t,_c.String,0,n),this.kind=i}}function Ec(e,t,n){return new Sc(e,t,_c.Character,n,String.fromCharCode(n))}function Ic(e,t,n){return new Sc(e,t,_c.Operator,0,n)}const Ac=new Sc(-1,-1,_c.Character,0,"");class Dc{input;tokens=[];length;peek=0;index=-1;braceStack=[];constructor(e){this.input=e,this.length=e.length,this.advance()}scan(){let e=this.scanToken();for(;null!==e;)this.tokens.push(e),e=this.scanToken();return this.tokens}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let n=this.peek,i=this.index;for(;n<=32;){if(++i>=t){n=0;break}n=e.charCodeAt(i)}if(this.peek=n,this.index=i,i>=t)return null;if(Mc(n))return this.scanIdentifier();if(vr(n))return this.scanNumber(i);const r=i;switch(n){case 46:return this.advance(),vr(this.peek)?this.scanNumber(r):Ec(r,this.index,46);case Ki:case Ji:case ar:case cr:case Xi:case er:case tr:return this.scanCharacter(r,n);case pr:return this.scanOpenBrace(r,n);case fr:return this.scanCloseBrace(r,n);case 39:case 34:return this.scanString();case 96:return this.advance(),this.scanTemplateLiteralPart(r);case 35:return this.scanPrivateIdentifier();case 43:return this.scanComplexOperator(r,"+",ir,"=");case 45:return this.scanComplexOperator(r,"-",ir,"=");case Qi:return this.scanComplexOperator(r,"/",ir,"=");case 37:return this.scanComplexOperator(r,"%",ir,"=");case 94:return this.scanOperator(r,"^");case 42:return this.scanStar(r);case 63:return this.scanQuestion(r);case nr:case rr:return this.scanComplexOperator(r,String.fromCharCode(n),ir,"=");case 33:case ir:return this.scanComplexOperator(r,String.fromCharCode(n),ir,"=",ir,"=");case 38:return this.scanComplexOperator(r,"&",38,"&",ir,"=");case 124:return this.scanComplexOperator(r,"|",124,"|",ir,"=");case 160:for(;gr(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(n)}]`,0)}scanCharacter(e,t){return this.advance(),Ec(e,this.index,t)}scanOperator(e,t){return this.advance(),Ic(e,this.index,t)}scanOpenBrace(e,t){return this.braceStack.push("expression"),this.advance(),Ec(e,this.index,t)}scanCloseBrace(e,t){return this.advance(),"interpolation"===this.braceStack.pop()?(this.tokens.push(Ec(e,this.index,fr)),this.scanTemplateLiteralPart(this.index)):Ec(e,this.index,t)}scanComplexOperator(e,t,n,i,r,s){this.advance();let o=t;return this.peek==n&&(this.advance(),o+=i),null!=r&&this.peek==r&&(this.advance(),o+=s),Ic(e,this.index,o)}scanIdentifier(){const e=this.index;for(this.advance();Oc(this.peek);)this.advance();const t=this.input.substring(e,this.index);return kc.indexOf(t)>-1?(n=e,i=this.index,r=t,new Sc(n,i,_c.Keyword,0,r)):function(e,t,n){return new Sc(e,t,_c.Identifier,0,n)}(e,this.index,t);var n,i,r}scanPrivateIdentifier(){const e=this.index;if(this.advance(),!Mc(this.peek))return this.error("Invalid character [#]",-1);for(;Oc(this.peek);)this.advance();const t=this.input.substring(e,this.index);return n=e,i=this.index,r=t,new Sc(n,i,_c.PrivateIdentifier,0,r);var n,i,r}scanNumber(e){let t=this.index===e,n=!1;for(this.advance();;){if(vr(this.peek));else if(this.peek===ur){if(!vr(this.input.charCodeAt(this.index-1))||!vr(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);n=!0}else if(46===this.peek)t=!1;else{if(!Pc(this.peek))break;if(this.advance(),Lc(this.peek)&&this.advance(),!vr(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}let i=this.input.substring(e,this.index);n&&(i=i.replace(/_/g,""));const r=t?function(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}(i):parseFloat(i);return s=e,o=this.index,a=r,new Sc(s,o,_c.Number,a,"");var s,o,a}scanString(){const e=this.index,t=this.peek;this.advance();let n="",i=this.index;const r=this.input;for(;this.peek!=t;)if(this.peek==lr){const e=this.scanStringBackslash(n,i);if("string"!=typeof e)return e;n=e,i=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const s=r.substring(i,this.index);return this.advance(),new Tc(e,this.index,n+s,xc.Plain)}scanQuestion(e){this.advance();let t="?";return 63===this.peek?(t+="?",this.advance(),this.peek===ir&&(t+="=",this.advance())):46===this.peek&&(t+=".",this.advance()),Ic(e,this.index,t)}scanTemplateLiteralPart(e){let t="",n=this.index;for(;96!==this.peek;)if(this.peek===lr){const e=this.scanStringBackslash(t,n);if("string"!=typeof e)return e;t=e,n=this.index}else if(36===this.peek){const i=this.index;if(this.advance(),this.peek===pr)return this.braceStack.push("interpolation"),this.tokens.push(new Tc(e,i,t+this.input.substring(n,i),xc.TemplateLiteralPart)),this.advance(),Ic(i,this.index,this.input.substring(i,this.index))}else{if(0===this.peek)return this.error("Unterminated template literal",0);this.advance()}const i=this.input.substring(n,this.index);return this.advance(),new Tc(e,this.index,t+i,xc.TemplateLiteralEnd)}error(e,t){const n=this.index+t;return function(e,t,n){return new Sc(e,t,_c.Error,0,n)}(n,this.index,`Lexer Error: ${e} at column ${n} in expression [${this.input}]`)}scanStringBackslash(e,t){let n;if(e+=this.input.substring(t,this.index),this.advance(),117===this.peek){const e=this.input.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(e))return this.error(`Invalid unicode escape [\\u${e}]`,0);
1n=parseInt(e,16);for(let e=0;e<5;e++)this.advance()}else n=function(e){switch(e){case 110:return Yi;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return e}}(this.peek),this.advance();return e+String.fromCharCode(n)}scanStar(e){this.advance();let t="*";return 42===this.peek?(t+="*",this.advance(),this.peek===ir&&(t+="=",this.advance())):this.peek===ir&&(t+="=",this.advance()),Ic(e,this.index,t)}}function Mc(e){return dr<=e&&e<=hr||sr<=e&&e<=or||e==ur||36==e}function Oc(e){return yr(e)||vr(e)||e==ur||36==e}function Pc(e){return 101==e||69==e}function Lc(e){return 45==e||43==e}class Nc{strings;expressions;offsets;constructor(e,t,n){this.strings=e,this.expressions=t,this.offsets=n}}class Rc{templateBindings;warnings;errors;constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}}function Bc(e){return e.start.toString()||"(unknown)"}class Fc{_lexer;_supportsDirectPipeReferences;constructor(e,t=!1){this._lexer=e,this._supportsDirectPipeReferences=t}parseAction(e,t,n,i=Gi){const r=[];this._checkNoInterpolation(r,e,t,i);const{stripped:s}=this._stripComments(e),o=this._lexer.tokenize(s),a=new $c(e,t,n,o,1,r,0,this._supportsDirectPipeReferences).parseChain();return new vn(a,e,Bc(t),n,r)}parseBinding(e,t,n,i=Gi){const r=[],s=this._parseBindingAst(e,t,n,i,r);return new vn(s,e,Bc(t),n,r)}checkSimpleExpression(e){const t=new Hc;return e.visit(t),t.errors}parseSimpleBinding(e,t,n,i=Gi){const r=[],s=this._parseBindingAst(e,t,n,i,r),o=this.checkSimpleExpression(s);return o.length>0&&r.push(jc(`Host binding expression cannot contain ${o.join(" ")}`,e,"",t)),new vn(s,e,Bc(t),n,r)}_parseBindingAst(e,t,n,i,r){this._checkNoInterpolation(r,e,t,i);const{stripped:s}=this._stripComments(e),o=this._lexer.tokenize(s);return new $c(e,t,n,o,0,r,0,this._supportsDirectPipeReferences).parseChain()}parseTemplateBindings(e,t,n,i,r){const s=this._lexer.tokenize(t);return new $c(t,n,r,s,0,[],0,this._supportsDirectPipeReferences).parseTemplateBindings({source:e,span:new gn(i,i+e.length)})}parseInterpolation(e,t,n,i,r=Gi){const s=[],{strings:o,expressions:a,offsets:l}=this.splitInterpolation(e,t,s,i,r);if(0===a.length)return null;const c=[];for(let r=0;r<a.length;++r){const o=i?.[2*r+1]?.sourceSpan,u=a[r].text,{stripped:d,hasComments:h}=this._stripComments(u),p=this._lexer.tokenize(d);if(h&&0===d.trim().length&&0===p.length){s.push(jc("Interpolation expression cannot only contain a comment",e,`at column ${a[r].start} in`,t));continue}const f=new $c(o?u:e,o||t,n,p,0,s,l[r],this._supportsDirectPipeReferences).parseChain();c.push(f)}return this.createInterpolationAst(o.map(e=>e.text),c,e,Bc(t),n,s)}parseInterpolationExpression(e,t,n){const{stripped:i}=this._stripComments(e),r=this._lexer.tokenize(i),s=[],o=new $c(e,t,n,r,0,s,0,this._supportsDirectPipeReferences).parseChain();return this.createInterpolationAst(["",""],[o],e,Bc(t),n,s)}createInterpolationAst(e,t,n,i,r,s){const o=new Vt(0,n.length),a=new nn(o,o.toAbsolute(r),e,t);return new vn(a,n,i,r,s)}splitInterpolation(e,t,n,i,r=Gi){const s=[],o=[],a=[],l=i?function(e){let t=new Map,n=0,i=0,r=0;for(;r<e.length;){const s=e[r];if(9===s.type){const[e,t]=s.parts;n+=t.length,i+=e.length}else{const e=s.parts.reduce((e,t)=>e+t.length,0);i+=e,n+=e}t.set(i,n),r++}return t}(i):null;let c=0,u=!1,d=!1,{start:h,end:p}=r;for(;c<e.length;)if(u){const i=c,r=i+h.length,s=this._getInterpolationEndIndex(e,p,r);if(-1===s){u=!1,d=!0;break}const f=s+p.length,m=e.substring(r,s);0===m.trim().length&&n.push(jc("Blank expressions are not allowed in interpolated strings",e,`at column ${c} in`,t)),o.push({text:m,start:i,end:f});const g=(l?.get(i)??i)+h.length;a.push(g),c=f,u=!1}else{const t=c;c=e.indexOf(h,c),-1===c&&(c=e.length);const n=e.substring(t,c);s.push({text:n,start:t,end:c}),u=!0}if(!u)if(d){const t=s[s.length-1];t.text+=e.substring(c),t.end=e.length}else s.push({text:e.substring(c),start:c,end:e.length});return new Nc(s,o,a)}wrapLiteralPrimitive(e,t,n){const i=new Vt(0,null==e?0:e.length);return new vn(new Qt(i,i.toAbsolute(n),e),e,"string"==typeof t?t:Bc(t),n,[])}_stripComments(e){const t=this._commentStart(e);return null!=t?{stripped:e.substring(0,t),hasComments:!0}:{stripped:e,hasComments:!1}}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){const i=e.charCodeAt(n),r=e.charCodeAt(n+1);if(i===Qi&&r==Qi&&null==t)return n;t===i?t=null:null==t&&_r(i)&&(t=i)}return null}_checkNoInterpolation(e,t,n,{start:i,end:r}){let s=-1,o=-1;
1for(const e of this._forEachUnquotedChar(t,0))if(-1===s)t.startsWith(i)&&(s=e);else if(o=this._getInterpolationEndIndex(t,r,e),o>-1)break;s>-1&&o>-1&&e.push(jc(`Got interpolation (${i}${r}) where expression was expected`,t,`at column ${s} in`,n))}_getInterpolationEndIndex(e,t,n){for(const i of this._forEachUnquotedChar(e,n)){if(e.startsWith(t,i))return i;if(e.startsWith("//",i))return e.indexOf(t,i)}return-1}*_forEachUnquotedChar(e,t){let n=null,i=0;for(let r=t;r<e.length;r++){const t=e[r];!_r(e.charCodeAt(r))||null!==n&&n!==t||i%2!=0?null===n&&(yield r):n=null===n?t:null,i="\\"===t?i+1:0}}}var Vc;!function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"}(Vc||(Vc={}));class $c{input;parseSourceSpan;absoluteOffset;tokens;parseFlags;errors;offset;supportsDirectPipeReferences;rparensExpected=0;rbracketsExpected=0;rbracesExpected=0;context=Vc.None;sourceSpanCache=new Map;index=0;constructor(e,t,n,i,r,s,o,a){this.input=e,this.parseSourceSpan=t,this.absoluteOffset=n,this.tokens=i,this.parseFlags=r,this.errors=s,this.offset=o,this.supportsDirectPipeReferences=a}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:Ac}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:0===this.tokens.length?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let n=this.currentEndIndex;if(void 0!==t&&t>this.currentEndIndex&&(n=t),e>n){const t=n;n=e,e=t}return new Vt(e,n)}sourceSpan(e,t){const n=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(n)||this.sourceSpanCache.set(n,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(n)}advance(){this.index++}withContext(e,t){this.context|=e;const n=t();return this.context^=e,n}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}isAssignmentOperator(e){return e.type===_c.Operator&&rn.isAssignmentOperation(e.strValue)}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===Ac?"end of input":`token ${e}`}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const t=this.parsePipe();if(e.push(t),this.consumeOptionalCharacter(tr))for(1&this.parseFlags||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(tr););else if(this.index<this.tokens.length){const e=this.index;if(this.error(`Unexpected token '${this.next}'`),this.index===e)break}}if(0===e.length){const e=this.offset,t=this.offset+this.input.length;return new Ht(this.span(e,t),this.sourceSpan(e,t))}return 1==e.length?e[0]:new qt(this.span(t),this.sourceSpan(t),e)}parsePipe(){const e=this.inputIndex;let t=this.parseExpression();if(this.consumeOptionalOperator("|")){1&this.parseFlags&&this.error("Cannot have a pipe in an action expression");do{const n=this.inputIndex;let i,r,s=this.expectIdentifierOrKeyword();null!==s?i=this.sourceSpan(n):(s="",r=-1!==this.next.index?this.next.index:this.input.length+this.offset,i=new Vt(r,r).toAbsolute(this.absoluteOffset));const o=[];for(;this.consumeOptionalCharacter(er);)o.push(this.parseExpression());let a;if(this.supportsDirectPipeReferences){const e=s.charCodeAt(0);a=e===ur||e>=sr&&e<=or?Jt.ReferencedDirectly:Jt.ReferencedByName}else a=Jt.ReferencedByName;t=new Xt(this.span(e),this.sourceSpan(e,r),t,s,o,a,i)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const n=this.parsePipe();let i;if(this.consumeOptionalCharacter(er))i=this.parsePipe();else{const t=this.inputIndex,n=this.input.substring(e,t);this.error(`Conditional expression ${n} requires all 3 expressions`),i=new Ht(this.span(e),this.sourceSpan(e))}return new Wt(this.span(e),this.sourceSpan(e),t,n,i)}return t}parseLogicalOr(){const e=this.inputIndex;let t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const n=this.parseLogicalAnd();t=new rn(this.span(e),this.sourceSpan(e),"||",t,n)}return t}parseLogicalAnd(){const e=this.inputIndex;let t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){const n=this.parseNullishCoalescing();t=new rn(this.span(e),this.sourceSpan(e),"&&",t,n)}return t}parseNullishCoalescing(){const e=this.inputIndex;let t=this.parseEquality();for(;this.consumeOptionalOperator("??");){const n=this.parseEquality();t=new rn(this.span(e),this.sourceSpan(e),"??",t,n)}return t}parseEquality(){const e=this.inputIndex;let t=this.parseRelational();for(;this.next.type==_c.Operator;){const n=this.next.strValue;switch(n){case"==":case"===":case"!=":case"!==":this.advance();const i=this.parseRelational();t=new rn(this.span(e),this.sourceSpan(e),n,t,i);continue}break}return t}parseRelational(){const e=this.inputIndex;let t=this.parseAdditive();for(;this.next.type==_c.Operator||this.next.isKeywordIn;){const n=this.next.strValue;switch(n){case"<":case">":case"<=":case">=":case"in":this.advance();const i=this.parseAdditive();t=new rn(this.span(e),this.sourceSpan(e),n,t,i);continue}break}return t}parseAdditive(){const e=this.inputIndex;let t=this.parseMultiplicative();for(;this.next.type==_c.Operator;){const n=this.next.strValue;switch(n){case"+":case"-":this.advance();let i=this.parseMultiplicative();t=new rn(this.span(e),this.sourceSpan(e),n,t,i);continue}break}return t}parseMultiplicative(){const e=this.inputIndex;let t=this.parseExponentiation();for(;this.next.type==_c.Operator;){const n=this.next.strValue;switch(n){case"*":case"%":case"/":this.advance();const i=this.parseExponentiation();t=new rn(this.span(e),this.sourceSpan(e),n,t,i);continue}break}return t}parseExponentiation(){const e=this.inputIndex;let t=this.parsePrefix();for(;this.next.type==_c.Operator&&"**"===this.next.strValue;){(t instanceof sn||t instanceof on||t instanceof an||t instanceof ln)&&this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"),this.advance();const n=this.parseExponentiation();t=new rn(this.span(e),this.sourceSpan(e),"**",t,n)}return t}parsePrefix(){if(this.next.type==_c.Operator){const e=this.inputIndex;let t;switch(this.next.strValue){case"+":return this.advance(),t=this.parsePrefix(),sn.createPlus(this.span(e),this.sourceSpan(e),t);case"-":return this.advance(),t=this.parsePrefix(),sn.createMinus(this.span(e),this.sourceSpan(e),t);case"!":return this.advance(),t=this.parsePrefix(),new on(this.span(e),this.sourceSpan(e),t)}}else{if(this.next.isKeywordTypeof()){this.advance();const e=this.inputIndex;let t=this.parsePrefix();return new an(this.span(e),this.sourceSpan(e),t)}if(this.next.isKeywordVoid()){this.advance();const e=this.inputIndex;let t=this.parsePrefix();return new ln(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(Ki)?this.parseCall(t,e,!0):this.consumeOptionalCharacter(ar)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(ar))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(Ki))t=this.parseCall(t,e,!1);
1else if(this.consumeOptionalOperator("!"))t=new cn(this.span(e),this.sourceSpan(e),t);else if(this.next.isTemplateLiteralEnd())t=this.parseNoInterpolationTaggedTemplateLiteral(t,e);else{if(!this.next.isTemplateLiteralPart())return t;t=this.parseTaggedTemplateLiteral(t,e)}}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(Ki)){this.rparensExpected++;const t=this.parsePipe();return this.consumeOptionalCharacter(Ji)||(this.error("Missing closing parentheses"),this.consumeOptionalCharacter(Ji)),this.rparensExpected--,new mn(this.span(e),this.sourceSpan(e),t)}if(this.next.isKeywordNull())return this.advance(),new Qt(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new Qt(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new Qt(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new Qt(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordIn())return this.advance(),new Qt(this.span(e),this.sourceSpan(e),"in");if(this.next.isKeywordThis())return this.advance(),new Ut(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(ar)){this.rbracketsExpected++;const t=this.parseExpressionList(cr);return this.rbracketsExpected--,this.expectCharacter(cr),new en(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(pr))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new zt(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new Qt(this.span(e),this.sourceSpan(e),t)}if(this.next.isTemplateLiteralEnd())return this.parseNoInterpolationTemplateLiteral();if(this.next.isTemplateLiteralPart())return this.parseTemplateLiteral();if(this.next.isString()&&this.next.kind===xc.Plain){const t=this.next.toString();return this.advance(),new Qt(this.span(e),this.sourceSpan(e),t)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new Ht(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new Ht(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new Ht(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){const t=[];do{if(this.next.isCharacter(e))break;t.push(this.parsePipe())}while(this.consumeOptionalCharacter(Xi));return t}parseLiteralMap(){const e=[],t=[],n=this.inputIndex;if(this.expectCharacter(pr),!this.consumeOptionalCharacter(fr)){this.rbracesExpected++;do{const n=this.inputIndex,i=this.next.isString(),r=this.expectIdentifierOrKeywordOrString(),s={key:r,quoted:i};if(e.push(s),i)this.expectCharacter(er),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(er))t.push(this.parsePipe());else{s.isShorthandInitialized=!0;const e=this.span(n),i=this.sourceSpan(n);t.push(new Gt(e,i,i,new zt(e,i),r))}}while(this.consumeOptionalCharacter(Xi)&&!this.next.isCharacter(fr));this.rbracesExpected--,this.expectCharacter(fr)}return new tn(this.span(n),this.sourceSpan(n),e,t)}parseAccessMember(e,t,n){const i=this.inputIndex,r=this.withContext(Vc.Writable,()=>{const t=this.expectIdentifierOrKeyword()??"";return 0===t.length&&this.error("Expected identifier for property access",e.span.end),t}),s=this.sourceSpan(i);if(n)return this.isAssignmentOperator(this.next)?(this.advance(),this.error("The '?.' operator cannot be used in the assignment"),new Ht(this.span(t),this.sourceSpan(t))):new Zt(this.span(t),this.sourceSpan(t),s,e,r);if(this.isAssignmentOperator(this.next)){const n=this.next.strValue;if(!(1&this.parseFlags))return this.advance(),this.error("Bindings cannot contain assignments"),new Ht(this.span(t),this.sourceSpan(t));const i=new Gt(this.span(t),this.sourceSpan(t),s,e,r);this.advance();const o=this.parseConditional();return new rn(this.span(t),this.sourceSpan(t),n,i,o)}return new Gt(this.span(t),this.sourceSpan(t),s,e,r)}parseCall(e,t,n){const i=this.inputIndex;this.rparensExpected++;const r=this.parseCallArguments(),s=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(Ji),this.rparensExpected--;const o=this.span(t),a=this.sourceSpan(t);return n?new dn(o,a,e,r,s):new un(o,a,e,r,s)}parseCallArguments(){if(this.next.isCharacter(Ji))return[];const e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(Xi));return e}expectTemplateBindingKey(){let e="",t=!1;const n=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new gn(n,n+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const n=this.parseLetBinding();if(n)t.push(n);else{const n=this.expectTemplateBindingKey(),i=this.parseAsBinding(n);i?t.push(i):(n.source=e.source+n.source.charAt(0).toUpperCase()+n.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(n)))}this.consumeStatementTerminator()}return new Rc(t,[],this.errors)}parseKeyedReadOrWrite(e,t,n){return this.withContext(Vc.Writable,()=>{this.rbracketsExpected++;const i=this.parsePipe();if(i instanceof Ht&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(cr),!this.isAssignmentOperator(this.next))return n?new Kt(this.span(t),this.sourceSpan(t),e,i):new Yt(this.span(t),this.sourceSpan(t),e,i);{const r=this.next.strValue;if(!n){const n=new Yt(this.span(t),this.sourceSpan(t),e,i);this.advance();const s=this.parseConditional();return new rn(this.span(t),this.sourceSpan(t),r,n,s)}this.advance(),this.error("The '?.' operator cannot be used in the assignment")}return new Ht(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(er);const n=this.getDirectiveBoundTarget();let i=this.currentAbsoluteOffset;const r=this.parseAsBinding(e);r||(this.consumeStatementTerminator(),i=this.currentAbsoluteOffset);const s=new gn(e.span.start,i);return t.push(new bn(s,e,n)),r&&t.push(r),t}
1getDirectiveBoundTarget(){if(this.next===Ac||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:n}=e.span,i=this.input.substring(t,n);return new vn(e,i,Bc(this.parseSourceSpan),this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const n=new gn(e.span.start,this.currentAbsoluteOffset);return new yn(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const i=new gn(e,this.currentAbsoluteOffset);return new yn(i,t,n)}parseNoInterpolationTaggedTemplateLiteral(e,t){const n=this.parseNoInterpolationTemplateLiteral();return new hn(this.span(t),this.sourceSpan(t),e,n)}parseNoInterpolationTemplateLiteral(){const e=this.next.strValue,t=this.inputIndex;this.advance();const n=this.span(t),i=this.sourceSpan(t);return new pn(n,i,[new fn(n,i,e)],[])}parseTaggedTemplateLiteral(e,t){const n=this.parseTemplateLiteral();return new hn(this.span(t),this.sourceSpan(t),e,n)}parseTemplateLiteral(){const e=[],t=[],n=this.inputIndex;for(;this.next!==Ac;){const n=this.next;if(n.isTemplateLiteralPart()||n.isTemplateLiteralEnd()){const t=this.inputIndex;if(this.advance(),e.push(new fn(this.span(t),this.sourceSpan(t),n.strValue)),n.isTemplateLiteralEnd())break}else if(n.isTemplateLiteralInterpolationStart()){this.advance(),this.rbracesExpected++;const e=this.parsePipe();e instanceof Ht?this.error("Template literal interpolation cannot be empty"):t.push(e),this.rbracesExpected--}else this.advance()}return new pn(this.span(n),this.sourceSpan(n),e,t)}consumeStatementTerminator(){this.consumeOptionalCharacter(tr)||this.consumeOptionalCharacter(Xi)}error(e,t=this.index){this.errors.push(jc(e,this.input,this.getErrorLocationText(t),this.parseSourceSpan)),this.skip()}getErrorLocationText(e){return e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let n=`Private identifiers are not supported. Unexpected private identifier: ${e}`;null!==t&&(n+=`, ${t}`),this.error(n)}skip(){let e=this.next;for(;this.index<this.tokens.length&&!e.isCharacter(tr)&&!e.isOperator("|")&&(this.rparensExpected<=0||!e.isCharacter(Ji))&&(this.rbracesExpected<=0||!e.isCharacter(fr))&&(this.rbracketsExpected<=0||!e.isCharacter(cr))&&!(this.context&Vc.Writable&&this.isAssignmentOperator(e));)this.next.isError()&&this.errors.push(jc(this.next.toString(),this.input,this.getErrorLocationText(this.next.index),this.parseSourceSpan)),this.advance(),e=this.next}}function jc(e,t,n,i){n.length>0&&(n=` ${n} `);const r=Bc(i);return new Tr(i,`Parser Error: ${e}${n}[${t}] in ${r}`)}class Hc extends wn{errors=[];visitPipe(){this.errors.push("pipes")}}class zc{visitUnary(e,t){return`${e.operator}${e.expr.visit(this,t)}`}visitBinary(e,t){return`${e.left.visit(this,t)} ${e.operation} ${e.right.visit(this,t)}`}visitChain(e,t){return e.expressions.map(e=>e.visit(this,t)).join("; ")}visitConditional(e,t){return`${e.condition.visit(this,t)} ? ${e.trueExp.visit(this,t)} : ${e.falseExp.visit(this,t)}`}visitThisReceiver(){return"this"}visitImplicitReceiver(){return""}visitInterpolation(e,t){return function(e,t){const n=[];for(let i=0;i<Math.max(e.length,t.length);i++)i<e.length&&n.push(e[i]),i<t.length&&n.push(t[i]);return n}(e.strings,e.expressions.map(e=>e.visit(this,t))).join("")}visitKeyedRead(e,t){return`${e.receiver.visit(this,t)}[${e.key.visit(this,t)}]`}visitLiteralArray(e,t){return`[${e.expressions.map(e=>e.visit(this,t)).join(", ")}]`}visitLiteralMap(e,t){return`{${function(e,t){if(e.length!==t.length)throw new Error("Array lengths must match");return e.map((e,n)=>[e,t[n]])}(e.keys.map(e=>e.quoted?`'${e.key}'`:e.key),e.values.map(e=>e.visit(this,t))).map(([e,t])=>`${e}: ${t}`).join(", ")}}`}visitLiteralPrimitive(e){if(null===e.value)return"null";switch(typeof e.value){case"number":case"boolean":return e.value.toString();case"undefined":return"undefined";case"string":return`'${e.value.replace(/'/g,"\\'")}'`;default:throw new Error(`Unsupported primitive type: ${e.value}`)}}visitPipe(e,t){return`${e.exp.visit(this,t)} | ${e.name}`}visitPrefixNot(e,t){return`!${e.expression.visit(this,t)}`}visitNonNullAssert(e,t){return`${e.expression.visit(this,t)}!`}visitPropertyRead(e,t){return e.receiver instanceof zt?e.name:`${e.receiver.visit(this,t)}.${e.name}`}visitSafePropertyRead(e,t){return`${e.receiver.visit(this,t)}?.${e.name}`}visitSafeKeyedRead(e,t){return`${e.receiver.visit(this,t)}?.[${e.key.visit(this,t)}]`}visitCall(e,t){return`${e.receiver.visit(this,t)}(${e.args.map(e=>e.visit(this,t)).join(", ")})`}visitSafeCall(e,t){return`${e.receiver.visit(this,t)}?.(${e.args.map(e=>e.visit(this,t)).join(", ")})`}visitTypeofExpression(e,t){return`typeof ${e.expression.visit(this,t)}`}visitVoidExpression(e,t){return`void ${e.expression.visit(this,t)}`}visitASTWithSource(e,t){return e.ast.visit(this,t)}visitTemplateLiteral(e,t){let n="";for(let i=0;i<e.elements.length;i++){n+=e.elements[i].visit(this,t);const r=i<e.expressions.length?e.expressions[i]:null;null!==r&&(n+="${"+r.visit(this,t)+"}")}return"`"+n+"`"}visitTemplateLiteralElement(e,t){return e.text}visitTaggedTemplateLiteral(e,t){return e.tag.visit(this,t)+e.template.visit(this,t)}visitParenthesizedExpression(e,t){return"("+e.expression.visit(this,t)+")"}}const Uc="svg",qc="math";class Wc{}function Gc(e){const t=e.toLowerCase(),[n,i]=An(t,!1);return n===Uc||n===qc?`:${n}:${i}`:i}
1const Zc=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*p
1ointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxcl
1ick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Yc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colspan":"ariaColSpan","aria-current":"ariaCurrent","aria-disabled":"ariaDisabled","aria-expanded":"ariaExpanded","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),Kc=Array.from(Yc).reduce((e,[t,n])=>(e.set(t,n),e),new Map);class Jc extends Wc{_schema=new Map;_eventSchema=new Map;constructor(){super(),Zc.forEach(e=>{const t=new Map,n=new Set,[i,r]=e.split("|"),s=r.split(","),[o,a]=i.split("^");o.split(",").forEach(e=>{this._schema.set(e.toLowerCase(),t),this._eventSchema.set(e.toLowerCase(),n)});const l=a&&this._schema.get(a.toLowerCase());if(l){for(const[e,n]of l)t.set(e,n);for(const e of this._eventSchema.get(a.toLowerCase()))n.add(e)}s.forEach(e=>{if(e.length>0)switch(e[0]){case"*":n.add(e.substring(1));break;case"!":t.set(e.substring(1),"boolean");break;case"#":t.set(e.substring(1),"number");break;case"%":t.set(e.substring(1),"object");break;default:t.set(e,"string")}})})}hasProperty(e,t,n){if(n.some(e=>e.name===m))return!0;const i=Gc(e);if(i.includes("-")){if(Dn(i)||Mn(i))return!1;if(n.some(e=>e.name===f))return!0}return(this._schema.get(i)||this._schema.get("unknown")).has(t)}hasElement(e,t){if(t.some(e=>e.name===m))return!0;const n=Gc(e);if(n.includes("-")){if(Dn(n)||Mn(n))return!0;
1if(t.some(e=>e.name===f))return!0}return this._schema.has(n)}securityContext(e,t,n){n&&(t=this.getMappedPropName(t));const i=Gc(e);t=t.toLowerCase();const[r]=An(i,!1),s=(c||(c={},u(l.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),u(l.STYLE,void 0,[["*",["style"]]]),u(l.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),u(l.URL,"math",[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),u(l.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),u(l.URL,"svg",[["a",["href","xlink:href"]]]),u(l.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),u(l.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),c);return s[i+"|"+t]??(r?s[`:${r}:*|${t}`]:void 0)??s["*|"+t]??l.NONE}getMappedPropName(e){return Yc.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){const t=Gc(e),n=this._schema.get(t)||this._schema.get("unknown");return Array.from(n.keys()).map(e=>Kc.get(e)??e)}allKnownEventsOfElement(e){const t=Gc(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return function(e){return e.replace(ut,(...e)=>e[1].toUpperCase())}(e)}normalizeAnimationStyleValue(e,t,n){let i="";const r=n.toString().trim();let s=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&(s=`Please provide a CSS unit value for ${t}:${n}`)}return{error:s,value:r+i}}}class Xc{closedByChildren={};contentType;closedByParent=!1;implicitNamespacePrefix;isVoid;ignoreFirstLf;canSelfClose;preventNamespaceInheritance;constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=Sn.PARSABLE_DATA,closedByParent:i=!1,isVoid:r=!1,ignoreFirstLf:s=!1,preventNamespaceInheritance:o=!1,canSelfClose:a=!1}={}){e&&e.length>
10&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=r,this.closedByParent=i||r,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=s,this.preventNamespaceInheritance=o,this.canSelfClose=a??r}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return"object"==typeof this.contentType?(void 0===e?void 0:this.contentType[e])??this.contentType.default:this.contentType}}let Qc,eu;function tu(e){return eu||(Qc=new Xc({canSelfClose:!0}),eu=Object.assign(Object.create(null),{base:new Xc({isVoid:!0}),meta:new Xc({isVoid:!0}),area:new Xc({isVoid:!0}),embed:new Xc({isVoid:!0}),link:new Xc({isVoid:!0}),img:new Xc({isVoid:!0}),input:new Xc({isVoid:!0}),param:new Xc({isVoid:!0}),hr:new Xc({isVoid:!0}),br:new Xc({isVoid:!0}),source:new Xc({isVoid:!0}),track:new Xc({isVoid:!0}),wbr:new Xc({isVoid:!0}),p:new Xc({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new Xc({closedByChildren:["tbody","tfoot"]}),tbody:new Xc({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Xc({closedByChildren:["tbody"],closedByParent:!0}),tr:new Xc({closedByChildren:["tr"],closedByParent:!0}),td:new Xc({closedByChildren:["td","th"],closedByParent:!0}),th:new Xc({closedByChildren:["td","th"],closedByParent:!0}),col:new Xc({isVoid:!0}),svg:new Xc({implicitNamespacePrefix:"svg"}),foreignObject:new Xc({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new Xc({implicitNamespacePrefix:"math"}),li:new Xc({closedByChildren:["li"],closedByParent:!0}),dt:new Xc({closedByChildren:["dt","dd"]}),dd:new Xc({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Xc({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Xc({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Xc({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Xc({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Xc({closedByChildren:["optgroup"],closedByParent:!0}),option:new Xc({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Xc({ignoreFirstLf:!0}),listing:new Xc({ignoreFirstLf:!0}),style:new Xc({contentType:Sn.RAW_TEXT}),script:new Xc({contentType:Sn.RAW_TEXT}),title:new Xc({contentType:{default:Sn.ESCAPABLE_RAW_TEXT,svg:Sn.PARSABLE_DATA}}),textarea:new Xc({contentType:Sn.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(new Jc).allKnownElementNames().forEach(e=>{eu[e]||null!==On(e)||(eu[e]=new Xc({canSelfClose:!1}))})),eu[e]??eu[e.toLowerCase()]??Qc}const nu={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class iu{_placeHolderNameCounts={};_signatureToName={};getStartTagPlaceholderName(e,t,n){const i=this._hashTag(e,t,n);if(this._signatureToName[i])return this._signatureToName[i];const r=e.toUpperCase(),s=nu[r]||`TAG_${r}`,o=this._generateUniqueName(n?s:`START_${s}`);return this._signatureToName[i]=o,o}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const n=e.toUpperCase(),i=nu[n]||`TAG_${n}`,r=this._generateUniqueName(`CLOSE_${i}`);return this._signatureToName[t]=r,r}getPlaceholderName(e,t){const n=e.toUpperCase(),i=`PH: ${n}=${t}`;if(this._signatureToName[i])return this._signatureToName[i];const r=this._generateUniqueName(n);return this._signatureToName[i]=r,r}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}getStartBlockPlaceholderName(e,t){const n=this._hashBlock(e,t);if(this._signatureToName[n])return this._signatureToName[n];const i=this._generateUniqueName(`START_BLOCK_${this._toSnakeCase(e)}`);return this._signatureToName[n]=i,i}getCloseBlockPlaceholderName(e){const t=this._hashClosingBlock(e);if(this._signatureToName[t])return this._signatureToName[t];const n=this._generateUniqueName(`CLOSE_BLOCK_${this._toSnakeCase(e)}`);return this._signatureToName[t]=n,n}_hashTag(e,t,n){return`<${e}`+Object.keys(t).sort().map(e=>` ${e}=${t[e]}`).join("")+(n?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag(`/${e}`,{},!1)}_hashBlock(e,t){return`@${e}${0===t.length?"":` (${t.sort().join("; ")})`} {}`}_hashClosingBlock(e){return this._hashBlock(`close_${e}`,[])}_toSnakeCase(e){return e.toUpperCase().replace(/[^A-Z0-9]/g,"_")}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const t=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=t+1,`${e}_${t}`}}const ru=new Fc(new Cc);function su(e,t){return t}class ou{_expressionParser;_interpolationConfig;_containerBlocks;_retainEmptyTokens;_preserveExpressionWhitespace;constructor(e,t,n,i,r){this._expressionParser=e,this._interpolationConfig=t,this._containerBlocks=n,this._retainEmptyTokens=i,this._preserveExpressionWhitespace=r}toI18nMessage(e,t="",n="",i="",r){const s={isIcu:1==e.length&&e[0]instanceof Tl,icuDepth:0,placeholderRegistry:new iu,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:r||su},o=Rl(this,e,s);return new yi(o,s.placeholderToContent,s.placeholderToMessage,t,n,i)}visitElement(e,t){return this._visitElementLike(e,t)}visitComponent(e,t){return this._visitElementLike(e,t)}visitDirective(e,t){throw new Error("Unreachable code")}visitAttribute(e,t){const n=void 0===e.valueTokens||1===e.valueTokens.length?new bi(e.value,e.valueSpan||e.sourceSpan):this._visitTextWithInterpolation(e.valueTokens,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitText(e,t){const n=1===e.tokens.length?new bi(e.value,e.sourceSpan):this._visitTextWithInterpolation(e.tokens,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const n={},i=new _i(e.switchValue,e.type,n,e.sourceSpan);
1if(e.cases.forEach(e=>{n[e.value]=new wi(e.expression.map(e=>e.visit(this,t)),e.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){const n=t.placeholderRegistry.getUniquePlaceholder(`VAR_${e.type}`);return i.expressionPlaceholder=n,t.placeholderToContent[n]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,i)}const r=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[r]=this.toI18nMessage([e],"","","",void 0);const s=new Ci(i,r,e.sourceSpan);return t.visitNodeFn(e,s)}visitExpansionCase(e,t){throw new Error("Unreachable code")}visitBlock(e,t){const n=Rl(this,e.children,t);if(this._containerBlocks.has(e.name))return new wi(n,e.sourceSpan);const i=e.parameters.map(e=>e.expression),r=t.placeholderRegistry.getStartBlockPlaceholderName(e.name,i),s=t.placeholderRegistry.getCloseBlockPlaceholderName(e.name);t.placeholderToContent[r]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan},t.placeholderToContent[s]={text:e.endSourceSpan?e.endSourceSpan.toString():"}",sourceSpan:e.endSourceSpan??e.sourceSpan};const o=new Si(e.name,i,r,s,n,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,o)}visitBlockParameter(e,t){throw new Error("Unreachable code")}visitLetDeclaration(e,t){return null}_visitElementLike(e,t){const n=Rl(this,e.children,t),i={},r=e=>{i[e.name]=e.value};let s,o;e instanceof Al?(s=e.name,o=tu(e.name).isVoid):(s=e.fullName,o=!!e.tagName&&tu(e.tagName).isVoid),e.attrs.forEach(r),e.directives.forEach(e=>e.attrs.forEach(r));const a=t.placeholderRegistry.getStartTagPlaceholderName(s,i,o);t.placeholderToContent[a]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let l="";o||(l=t.placeholderRegistry.getCloseTagPlaceholderName(s),t.placeholderToContent[l]={text:`</${s}>`,sourceSpan:e.endSourceSpan??e.sourceSpan});const c=new xi(s,i,a,l,n,o,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,c)}_visitTextWithInterpolation(e,t,n,i){const r=[];let s=!1;for(const t of e)switch(t.type){case 8:case 17:s=!0;const[e,i,o]=t.parts,a=lu(i)||"INTERPOLATION",l=n.placeholderRegistry.getPlaceholderName(a,i);if(this._preserveExpressionWhitespace)n.placeholderToContent[l]={text:t.parts.join(""),sourceSpan:t.sourceSpan},r.push(new ki(i,l,t.sourceSpan));else{const i=this.normalizeExpression(t);n.placeholderToContent[l]={text:`${e}${i}${o}`,sourceSpan:t.sourceSpan},r.push(new ki(i,l,t.sourceSpan))}break;default:if(t.parts[0].length>0||this._retainEmptyTokens){const e=r[r.length-1];e instanceof bi?(e.value+=t.parts[0],e.sourceSpan=new Cr(e.sourceSpan.start,t.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details)):r.push(new bi(t.parts[0],t.sourceSpan))}else this._retainEmptyTokens&&r.push(new bi(t.parts[0],t.sourceSpan))}return s?(function(e,t){if(t instanceof yi&&(function(e){const t=e.nodes;if(1!==t.length||!(t[0]instanceof wi))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(t),t=t.nodes[0]),t instanceof wi){!function(e,t){if(e.length!==t.length)throw new Error(`\nThe number of i18n message children changed between first and second pass.\n\nFirst pass (${e.length} tokens):\n${e.map(e=>`"${e.sourceSpan.toString()}"`).join("\n")}\n\nSecond pass (${t.length} tokens):\n${t.map(e=>`"${e.sourceSpan.toString()}"`).join("\n")}\n    `.trim());if(e.some((e,n)=>t[n].constructor!==e.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(t.children,e);for(let n=0;n<e.length;n++)e[n].sourceSpan=t.children[n].sourceSpan}}(r,i),new wi(r,t)):r[0]}normalizeExpression(e){const t=e.parts[1];return function(e){return e.visit(new zc)}(this._expressionParser.parseBinding(t,e.sourceSpan,e.sourceSpan.start.offset,this._interpolationConfig))}}const au=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;function lu(e){return e.split(au)[2]}const cu=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","iframe|src","object|codebase","object|data"]);function uu(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),cu.has(e+"|"+t)||cu.has("*|"+t)}const du=e=>(t,n)=>{const i=e.get(t)??t;return i instanceof Cl&&(n instanceof Ci&&i.i18n instanceof yi&&(n.previousMessage=i.i18n),i.i18n=n),n};class hu{interpolationConfig;keepI18nAttrs;enableI18nLegacyMessageIdFormat;containerBlocks;preserveSignificantWhitespace;retainEmptyTokens;hasI18nMeta=!1;_errors=[];constructor(e=Gi,t=!1,n=!1,i=Zi,r=!0,s=!r){this.interpolationConfig=e,this.keepI18nAttrs=t,this.enableI18nLegacyMessageIdFormat=n,this.containerBlocks=i,this.preserveSignificantWhitespace=r,this.retainEmptyTokens=s}
1_generateI18nMessage(e,t="",n){const{meaning:i,description:r,customId:s}=this._parseMetadata(t),o=function(e,t,n,i){const r=new ou(ru,e,t,n,i);return(e,t,n,i,s)=>r.toI18nMessage(e,t,n,i,s)}(this.interpolationConfig,this.containerBlocks,this.retainEmptyTokens,this.preserveSignificantWhitespace)(e,i,r,s,n);return this._setMessageId(o,t),this._setLegacyIds(o,t),o}visitAllWithErrors(e){const t=e.map(e=>e.visit(this,null));return new sc(t,this._errors)}visitElement(e){return this._visitElementLike(e),e}visitComponent(e,t){return this._visitElementLike(e),e}visitExpansion(e,t){let n;const i=e.i18n;if(this.hasI18nMeta=!0,i instanceof Ci){const r=i.name;n=this._generateI18nMessage([e],i),Di(n).name=r,null!==t&&(t.placeholderToMessage[r]=n)}else n=this._generateI18nMessage([e],t||i);return e.i18n=n,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}visitBlock(e,t){return Rl(this,e.children,t),e}visitBlockParameter(e,t){return e}visitLetDeclaration(e,t){return e}visitDirective(e,t){return e}_visitElementLike(e){let t;if(function(e){return e.attrs.some(e=>Ai(e.name))}(e)){this.hasI18nMeta=!0;const n=[],i={};for(const r of e.attrs)if(r.name===Ei){const n=e.i18n||r.value,i=new Map,s=this.preserveSignificantWhitespace?e.children:wc(new vc(!1,i),e.children);t=this._generateI18nMessage(s,n,du(i)),0===t.nodes.length&&(t=void 0),e.i18n=t}else if(r.name.startsWith(Ii)){const t=r.name.slice(5);let n;n=e instanceof Ol?null!==e.tagName&&uu(e.tagName,t):uu(e.name,t),n||mu(t)?this._reportError(r,`Translating attribute '${t}' is disallowed for security reasons.`):i[t]=r.value}else n.push(r);if(Object.keys(i).length)for(const e of n){const t=i[e.name];void 0!==t&&e.value&&(e.i18n=this._generateI18nMessage([e],e.i18n||t))}this.keepI18nAttrs||(e.attrs=n)}Rl(this,e.children,t)}_parseMetadata(e){return"string"==typeof e?function(e=""){let t,n,i;if(e=e.trim()){const r=e.indexOf(fu),s=e.indexOf(pu);let o;[o,t]=r>-1?[e.slice(0,r),e.slice(r+2)]:[e,""],[n,i]=s>-1?[o.slice(0,s),o.slice(s+1)]:["",o]}return{customId:t,meaning:n,description:i}}(e):e instanceof yi?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof yi&&t.id||function(e){return e.id||C(e)}(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[k(e),C(e)];else if("string"!=typeof t){const n=t instanceof yi?t:t instanceof Ci?t.previousMessage:void 0;e.legacyIds=n?n.legacyIds:[]}}_reportError(e,t){this._errors.push(new Tr(e.sourceSpan,t))}}const pu="|",fu="@@";function mu(e){const t=e.toLowerCase();return t.length>2&&"only"!==t&&t.startsWith("on")}function gu(e,t,n,i){const r=function(e){return e.nodes.map(e=>e.visit(vu,null)).join("")}(t),s=[Qe(r)];Object.keys(i).length&&(s.push(_l(Mi(i,!0),!0)),s.push(_l({original_code:Ye(Object.keys(i).map(e=>({key:Oi(e),quoted:!0,value:t.placeholders[e]?Qe(t.placeholders[e].sourceSpan.toString()):Qe(t.placeholderToMessage[e].nodes.map(e=>e.sourceSpan.toString()).join(""))})))})));const o=new Ve(n.name,Ue("goog.getMsg").callFn(s),q,Ne.Final);return o.addLeadingComment(function(e){const t=[];return e.description?t.push({tagName:"desc",text:e.description}):t.push({tagName:"suppress",text:"{msgDescriptions}"}),e.meaning&&t.push({tagName:"meaning",text:e.meaning}),function(e=[]){return new Be(e)}(t)}(t)),[o,new je(e.set(n))]}const vu=new class{formatPh(e){return`{$${Oi(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){return kl(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitBlockPlaceholder(e){return`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function yu(e,t,n){const{messageParts:i,placeHolders:r}=function(e){const t=[],n=new bu(e.placeholderToMessage,t);return e.nodes.forEach(e=>e.visit(n)),function(e){const t=[],n=[];e[0]instanceof he&&t.push(wu(e[0].sourceSpan.start));for(let i=0;i<e.length;i++){const r=e[i];r instanceof de?t.push(r):(n.push(r),e[i-1]instanceof he&&t.push(wu(e[i-1].sourceSpan.end)))}return e[e.length-1]instanceof he&&t.push(wu(e[e.length-1].sourceSpan.end)),{messageParts:t,placeHolders:n}}(t)}(t),s=function(e){const t=e.nodes[0],n=e.nodes[e.nodes.length-1];return new Cr(t.sourceSpan.fullStart,n.sourceSpan.end,t.sourceSpan.fullStart,t.sourceSpan.details)}(t),o=r.map(e=>n[e.text]),a=function(e,t,n,i,r){return new pe(e,t,n,i,r)}(t,i,r,o,s),l=e.set(a);return[new je(l)]}class bu{placeholderToMessage;pieces;constructor(e,t){this.placeholderToMessage=e,this.pieces=t}visitText(e){if(this.pieces[this.pieces.length-1]instanceof de)this.pieces[this.pieces.length-1].text+=e.value;else{const t=new Cr(e.sourceSpan.fullStart,e.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details);this.pieces.push(new de(e.value,t))}}
1visitContainer(e){e.children.forEach(e=>e.visit(this))}visitIcu(e){this.pieces.push(new de(kl(e),e.sourceSpan))}visitTagPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.isVoid||(e.children.forEach(e=>e.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan)))}visitPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitBlockPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.children.forEach(e=>e.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan))}visitIcuPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan,this.placeholderToMessage[e.name]))}createPlaceholderPiece(e,t,n){return new he(Oi(e,!1),t,n)}}function wu(e){return new de("",new Cr(e,e))}const _u="ngI18nClosureMode";function xu(e){return`MSG_${e}`.toUpperCase()}function ku(e){return new Ve(e.name,void 0,q,void 0,e.sourceSpan)}function Cu(e,t,n,i){const r=[],s=new Map;for(const o of i.subMessages){const i=n.get(o),{mainVar:a,statements:l}=Cu(e,t,n,i);r.push(...l);const c=s.get(i.messagePlaceholder)??[];c.push(a),s.set(i.messagePlaceholder,c)}!function(e,t){for(const[n,i]of t)1===i.length?e.params.set(n,i[0]):(e.params.set(n,Qe(`�I18N_EXP_${n}�`)),e.postprocessingParams.set(n,Ze(i)))}(i,s),i.params=new Map([...i.params.entries()].sort());const o=Ue(e.pool.uniqueName("i18n_")),a=function(e,t,n,i){let r;const s=n;
1if(i){const n=xu("EXTERNAL_"),i=e.uniqueName(s);r=`${n}${Ir(t)}$$${i}`}else{const t=xu(s);r=e.uniqueName(t)}return Ue(r)}(e.pool,i.message.id,t,e.i18nUseExternalIds);let l;if(i.needsPostprocessing||i.postprocessingParams.size>0){const e=Mi(Object.fromEntries([...i.postprocessingParams.entries()].sort()),!1),t=[];i.postprocessingParams.size>0&&t.push(_l(e,!0)),l=e=>qe(ct.i18nPostprocess).callFn([e,...t])}return r.push(...function(e,t,n,i,r){const s=Object.fromEntries(i),o=[ku(t),Xe(Su(),gu(t,e,n,s),yu(t,e,Mi(s,!1)))];return r&&o.push(new je(t.set(r(t)))),o}(i.message,o,a,i.params,l)),{mainVar:o,statements:r}}function Su(){return Ge(Ue(_u)).notIdentical(Qe("undefined",Z)).and(Ue(_u))}function Tu(e){const t=[];for(const n of e)t.push(Qe(n.name),Qe(n.target));return Ze(t)}function Eu(e){const t=[];let n=0,i=0,r=0,s=0,o=0,a=null;for(;n<e.length;)switch(e.charCodeAt(n++)){case 40:i++;break;case 41:i--;break;case 39:0===r?r=39:39===r&&92!==e.charCodeAt(n-1)&&(r=0);break;case 34:0===r?r=34:34===r&&92!==e.charCodeAt(n-1)&&(r=0);break;case 58:a||0!==i||0!==r||(a=Iu(e.substring(o,n-1).trim()),s=n);break;case 59:if(a&&s>0&&0===i&&0===r){const i=e.substring(s,n-1).trim();t.push(a,i),o=n,s=0,a=null}}if(a&&s){const n=e.slice(s).trim();t.push(a,n)}return t}function Iu(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function Au(e,t,n,i){null===e.fnName&&(e.fnName=e.job.pool.uniqueName(Ir(`${t}_${e.job.fnSuffix}`),!1));const r=new Map;for(const s of e.ops())switch(s.kind){case Bs.Property:case Bs.DomProperty:s.bindingKind===Hs.LegacyAnimation&&(s.name="@"+s.name);break;case Bs.Animation:if(null===s.handlerFnName){const t=s.name.replace(".","");s.handlerFnName=`${e.fnName}_${t}_cb`,s.handlerFnName=Ir(s.handlerFnName)}break;case Bs.AnimationListener:if(null!==s.handlerFnName)break;if(!s.hostListener&&null===s.targetSlot.slot)throw new Error("Expected a slot to be assigned");const o=s.name.replace(".","");s.hostListener?s.handlerFnName=`${t}_${o}_HostBindingHandler`:s.handlerFnName=`${e.fnName}_${s.tag.replace("-","_")}_${o}_${s.targetSlot.slot}_listener`,s.handlerFnName=Ir(s.handlerFnName);break;case Bs.Listener:if(null!==s.handlerFnName)break;if(!s.hostListener&&null===s.targetSlot.slot)throw new Error("Expected a slot to be assigned");let a="";s.isLegacyAnimationListener&&(s.name=`@${s.name}.${s.legacyAnimationPhase}`,a="animation"),s.hostListener?s.handlerFnName=`${t}_${a}${s.name}_HostBindingHandler`:s.handlerFnName=`${e.fnName}_${s.tag.replace("-","_")}_${a}${s.name}_${s.targetSlot.slot}_listener`,s.handlerFnName=Ir(s.handlerFnName);break;case Bs.TwoWayListener:if(null!==s.handlerFnName)break;if(null===s.targetSlot.slot)throw new Error("Expected a slot to be assigned");s.handlerFnName=Ir(`${e.fnName}_${s.tag.replace("-","_")}_${s.name}_${s.targetSlot.slot}_listener`);break;case Bs.Variable:r.set(s.xref,Du(e,s.variable,n));break;case Bs.RepeaterCreate:if(!(e instanceof Ra))throw new Error("AssertionError: must be compiling a component");if(null===s.handle.slot)throw new Error("Expected slot to be assigned");null!==s.emptyView&&Au(e.job.views.get(s.emptyView),`${t}_${s.functionNameSuffix}Empty_${s.handle.slot+2}`,n,i),Au(e.job.views.get(s.xref),`${t}_${s.functionNameSuffix}_${s.handle.slot+1}`,n,i);break;case Bs.Projection:if(!(e instanceof Ra))throw new Error("AssertionError: must be compiling a component");if(null===s.handle.slot)throw new Error("Expected slot to be assigned");null!==s.fallbackView&&Au(e.job.views.get(s.fallbackView),`${t}_ProjectionFallback_${s.handle.slot}`,n,i);break;case Bs.ConditionalCreate:case Bs.ConditionalBranchCreate:case Bs.Template:if(!(e instanceof Ra))throw new Error("AssertionError: must be compiling a component");const l=e.job.views.get(s.xref);if(null===s.handle.slot)throw new Error("Expected slot to be assigned");Au(l,`${t}${0===s.functionNameSuffix.length?"":`_${s.functionNameSuffix}`}_${s.handle.slot}`,n,i);break;case Bs.StyleProp:s.name=Mu(s.name),i&&(s.name=Ou(s.name));break;case Bs.ClassProp:i&&(s.name=Ou(s.name))}for(const t of e.ops())Qo(t,e=>{if(e instanceof Fo&&null===e.name){if(!r.has(e.xref))throw new Error(`Variable ${e.xref} not yet named`);e.name=r.get(e.xref)}})}function Du(e,t,n){if(null===t.name)switch(t.kind){case $s.Context:t.name="ctx_r"+n.index++;break;case $s.Identifier:if(e.job.compatibility===js.TemplateDefinitionBuilder){const e="ctx"===t.identifier?"i":"";t.name=`${t.identifier}_${e}r${++n.index}`}else t.name=`${t.identifier}_i${n.index++}`;break;default:t.name="_r"+ ++n.index}return t.name}function Mu(e){return e.startsWith("--")?e:Iu(e)}function Ou(e){const t=e.indexOf("!important");return t>-1?e.substring(0,t):e}function Pu(e){for(const t of e){if(!(t.kind===Bs.Statement&&t.statement instanceof je&&t.statement.expr instanceof Po))continue;const e=t.statement.expr.steps;let n=!0;for(let i=t.next;i.kind!==Bs.ListEnd&&n;i=i.next)Qo(i,(i,r)=>{if(!So(i))return i;if(n&&!(r&ea.InChildOperation))switch(i.kind){case Fs.NextContext:i.steps+=e,oa.remove(t),n=!1;break;case Fs.GetCurrentView:case Fs.Reference:case Fs.ContextLetReference:n=!1}})}}function Lu(e,t){const n=e.get(t);if(void 0===n)throw new Error("All attributes should have an element-like target.");return n}function Nu(e){return t=>t.kind===e}function Ru(e,t){return n=>n.kind===e&&t===n.expression instanceof uo}const Bu=[{test:e=>e.kind===Bs.Listener&&e.hostListener&&e.isLegacyAnimationListener},{test:function(e){return e.kind===Bs.Listener&&!(e.hostListener&&e.isLegacyAnimationListener)||e.kind===Bs.TwoWayListener||e.kind===Bs.Animation||e.kind===Bs.AnimationListener}}],Fu=[{test:Nu(Bs.StyleMap),transform:zu},{test:Nu(Bs.ClassMap),transform:zu},{test:Nu(Bs.StyleProp)},{test:Nu(Bs.ClassProp)},{test:Ru(Bs.Attribute,!0)},{test:Ru(Bs.Property,!0)},{test:function(e){return!(e.kind!==Bs.Property&&e.kind!==Bs.TwoWayProperty||e.expression instanceof uo)}},{test:Ru(Bs.Attribute,!1)}],Vu=[{test:Ru(Bs.DomProperty,!0)},{test:Ru(Bs.DomProperty,!1)},{test:Nu(Bs.Attribute)},{test:Nu(Bs.StyleMap),transform:zu},{test:Nu(Bs.ClassMap),transform:zu},{test:Nu(Bs.StyleProp)},{test:Nu(Bs.ClassProp)}
1],$u=new Set([Bs.Listener,Bs.TwoWayListener,Bs.AnimationListener,Bs.StyleMap,Bs.ClassMap,Bs.StyleProp,Bs.ClassProp,Bs.Property,Bs.TwoWayProperty,Bs.DomProperty,Bs.Attribute,Bs.Animation]);function ju(e,t){let n=[],i=null;for(const r of e){const e=ro(r)?r.target:null;(!$u.has(r.kind)||e!==i&&null!==i&&null!==e)&&(oa.insertBefore(Hu(n,t),r),n=[],i=null),$u.has(r.kind)&&(n.push(r),oa.remove(r),i=e??i)}e.push(Hu(n,t))}function Hu(e,t){const n=Array.from(t,()=>new Array);for(const i of e)n[t.findIndex(e=>e.test(i))].push(i);return n.flatMap((e,n)=>{const i=t[n].transform;return i?i(e):e})}function zu(e){return e.slice(e.length-1)}function Uu(e){return"select"===e.toLowerCase()}function qu(e,t){const n=e.get(t);if(void 0===n)throw new Error("All attributes should have an slottable target.");return n}function Wu(e){for(const t of e.update)Qo(t,(n,i)=>{if(So(n)&&n.kind===Fs.PipeBinding){if(i&ea.InChildOperation)throw new Error("AssertionError: pipe bindings should not appear in child expressions");if(e.job.compatibility){if(null==t.target)throw new Error("AssertionError: expected slot handle to be assigned for pipe creation");Gu(e,t.target,n)}else e.create.push(ba(n.target,n.targetSlot,n.name))}})}function Gu(e,t,n){for(let i=e.create.head.next;i.kind!==Bs.ListEnd;i=i.next){if(!io(i))continue;if(i.xref!==t)continue;for(;i.next.kind===Bs.Pipe;)i=i.next;const e=ba(n.target,n.targetSlot,n.name);return void oa.insertBefore(e,i.next)}throw new Error(`AssertionError: unable to find insertion point for pipe ${n.name}`)}function Zu(e,t){let n=null;for(const i of e.create)switch(i.kind){case Bs.I18nStart:i.subTemplateIndex=0===t?null:t,n=i;break;case Bs.I18nEnd:null===n.subTemplateIndex&&(t=0),n=null;break;case Bs.ConditionalCreate:case Bs.ConditionalBranchCreate:case Bs.Template:t=Yu(e.job.views.get(i.xref),n,i.i18nPlaceholder,t);break;case Bs.RepeaterCreate:t=Yu(e.job.views.get(i.xref),n,i.i18nPlaceholder,t),null!==i.emptyView&&(t=Yu(e.job.views.get(i.emptyView),n,i.emptyI18nPlaceholder,t));break;case Bs.Projection:null!==i.fallbackView&&(t=Yu(e.job.views.get(i.fallbackView),n,i.fallbackViewI18nPlaceholder,t))}return t}function Yu(e,t,n,i){if(void 0!==n){if(null===t)throw Error("Expected template with i18n placeholder to be in an i18n block.");i++,function(e,t){if(e.create.head.next?.kind!==Bs.I18nStart){const n=e.job.allocateXrefId();oa.insertAfter(ka(n,t.message,t.root,null),e.create.head),oa.insertBefore(Ca(n,null),e.create.tail)}}(e,t)}return Zu(e,i)}class Ku extends st{numArgs;constructor(e){super(),this.numArgs=e}keyOf(e){return e instanceof $o?`param(${e.index})`:super.keyOf(e)}toSharedConstantDeclaration(e,t){const n=[];for(let e=0;e<this.numArgs;e++)n.push(new xe("a"+e));const i=ia(t,e=>e instanceof $o?Ue("a"+e.index):e,ea.None);return new Ve(e,new Ce(n,i),void 0,Ne.Final)}}function Ju(e){const t=[],n=[];for(const i of e.entries)if(i.isConstant())t.push(i);else{const e=n.length;n.push(i),t.push(new $o(e))}return new Vo(Ze(t),n)}function Xu(e){let t=[];const n=[];for(const i of e.entries)if(i.value.isConstant())t.push(i);else{const e=n.length;n.push(i.value),t.push(new Me(i.key,new $o(e),i.quoted))}return new Vo(Ye(t),n)}function Qu(e,t,n,i,r){return td(ct.element,e,t,n,i,r)}function ed(e,t,n,i,r){return td(ct.elementStart,e,t,n,i,r)}function td(e,t,n,i,r,s){const o=[Qe(t)];return null!==n&&o.push(Qe(n)),null!==r?o.push(Qe(i),Qe(r)):null!==i&&o.push(Qe(i)),oh(e,o,s)}function nd(e,t,n,i,r,s,o,a,l){const c=[Qe(t),n,Qe(i),Qe(r),Qe(s),Qe(o)];for(null!==a&&(c.push(Qe(a)),c.push(qe(ct.templateRefExtractor)));c[c.length-1].isEquivalent(Pe);)c.pop();return oh(e,c,l)}function id(e,t,n,i,r){const s=[Qe(t)];return n instanceof uo?s.push(sh(n,r)):s.push(n),null!==i&&s.push(i),oh(e,s,r)}function rd(e){return oh(ct.elementEnd,[],e)}function sd(e,t,n,i){return td(ct.elementContainerStart,e,null,t,n,i)}function od(e,t,n,i){return td(ct.elementContainer,e,null,t,n,i)}function ad(){return oh(ct.elementContainerEnd,[],null)}function ld(e,t,n,i,r,s,o,a){return nd(ct.templateCreate,e,t,n,i,r,s,o,a)}function cd(){return oh(ct.disableBindings,[],null)}function ud(){return oh(ct.enableBindings,[],null)}function dd(e,t,n,i,r){const s=[Qe(e),t];return null!==n&&s.push(qe(n)),oh(i?ct.syntheticHostListener:ct.listener,s,r)}function hd(e,t){return qe(ct.twoWayBindingSet).callFn([e,t])}
1function pd(e,t,n){return oh(ct.twoWayListener,[Qe(e),t],n)}function fd(e,t){return oh(ct.pipe,[Qe(e),Qe(t)],null)}function md(){return oh(ct.namespaceHTML,[],null)}function gd(){return oh(ct.namespaceSVG,[],null)}function vd(){return oh(ct.namespaceMathML,[],null)}function yd(e,t){return oh(ct.advance,e>1?[Qe(e)]:[],t)}function bd(e,t,n){const i=[Qe(e,null)];return""!==t&&i.push(Qe(t)),oh(ct.text,i,n)}function wd(e,t,n,i,r,s,o,a,l,c,u){const d=[Qe(e),Qe(t),n??Qe(null),Qe(i),Qe(r),Qe(s),o??Qe(null),a??Qe(null),l?qe(ct.deferEnableTimerScheduling):Qe(null),Qe(u)];let h;for(;null!==(h=d[d.length-1])&&h instanceof le&&null===h.value;)d.pop();return oh(ct.defer,d,c)}const _d=new Map([[Gs.Idle,{none:ct.deferOnIdle,prefetch:ct.deferPrefetchOnIdle,hydrate:ct.deferHydrateOnIdle}],[Gs.Immediate,{none:ct.deferOnImmediate,prefetch:ct.deferPrefetchOnImmediate,hydrate:ct.deferHydrateOnImmediate}],[Gs.Timer,{none:ct.deferOnTimer,prefetch:ct.deferPrefetchOnTimer,hydrate:ct.deferHydrateOnTimer}],[Gs.Hover,{none:ct.deferOnHover,prefetch:ct.deferPrefetchOnHover,hydrate:ct.deferHydrateOnHover}],[Gs.Interaction,{none:ct.deferOnInteraction,prefetch:ct.deferPrefetchOnInteraction,hydrate:ct.deferHydrateOnInteraction}],[Gs.Viewport,{none:ct.deferOnViewport,prefetch:ct.deferPrefetchOnViewport,hydrate:ct.deferHydrateOnViewport}],[Gs.Never,{none:ct.deferHydrateNever,prefetch:ct.deferHydrateNever,hydrate:ct.deferHydrateNever}]]);function xd(e,t,n,i){const r=_d.get(e)?.[n];if(void 0===r)throw new Error(`Unable to determine instruction for trigger ${e}`);return oh(r,t.map(e=>Qe(e)),i)}function kd(e){return oh(ct.projectionDef,e?[e]:[],null)}function Cd(e,t,n,i,r,s,o){const a=[Qe(e)];return 0===t&&null===n&&null===i||(a.push(Qe(t)),null!==n&&a.push(n),null!==i&&(null===n&&a.push(Qe(null)),a.push(Ue(i),Qe(r),Qe(s)))),oh(ct.projection,a,o)}function Sd(e,t,n,i){const r=[Qe(e),Qe(t)];return null!==n&&r.push(Qe(n)),oh(ct.i18nStart,r,i)}function Td(e,t,n,i,r,s,o,a){const l=[Qe(e),t,Qe(n),Qe(i),Qe(r),Qe(s)];for(null!==o&&(l.push(Qe(o)),l.push(qe(ct.templateRefExtractor)));l[l.length-1].isEquivalent(Pe);)l.pop();return oh(ct.conditionalCreate,l,a)}function Ed(e,t,n,i,r,s,o,a){const l=[Qe(e),t,Qe(n),Qe(i),Qe(r),Qe(s)];for(null!==o&&(l.push(Qe(o)),l.push(qe(ct.templateRefExtractor)));l[l.length-1].isEquivalent(Pe);)l.pop();return oh(ct.conditionalBranchCreate,l,a)}function Id(e,t,n,i,r,s,o,a,l,c,u,d,h,p){const f=[Qe(e),Ue(t),Qe(n),Qe(i),Qe(r),Qe(s),o];return(a||null!==l)&&(f.push(Qe(a)),null!==l&&(f.push(Ue(l),Qe(c),Qe(u)),null===d&&null===h||f.push(Qe(d)),null!==h&&f.push(Qe(h)))),oh(ct.repeaterCreate,f,p)}function Ad(e,t){return oh(ct.repeater,[e],t)}function Dd(e,t,n){return oh("prefetch"===e?ct.deferPrefetchWhen:"hydrate"===e?ct.deferHydrateWhen:ct.deferWhen,[t],n)}function Md(e,t){return oh(ct.declareLet,[Qe(e)],t)}function Od(e,t,n,i){const r=[Qe(e),Qe(t)];return n&&r.push(Qe(n)),oh(ct.i18n,r,i)}function Pd(e){return oh(ct.i18nEnd,[],e)}function Ld(e,t){const n=[Qe(e),Qe(t)];return oh(ct.i18nAttributes,n,null)}function Nd(e,t,n,i){const r=[Qe(e),t];return null!==n&&r.push(n),oh(ct.twoWayProperty,r,i)}function Rd(e,t,n,i,r){const s=[Qe(e)];return t instanceof uo?s.push(sh(t,r)):s.push(t),null===n&&null===i||s.push(n??Qe(null)),null!==i&&s.push(Qe(i)),oh(ct.attribute,s,null)}function Bd(e,t,n,i){const r=[Qe(e)];return t instanceof uo?r.push(sh(t,i)):r.push(t),null!==n&&r.push(Qe(n)),oh(ct.styleProp,r,i)}function Fd(e,t,n){return oh(ct.classProp,[Qe(e),t],n)}function Vd(e,t){const n=e instanceof uo?sh(e,t):e;return oh(ct.styleMap,[n],t)}function $d(e,t){const n=e instanceof uo?sh(e,t):e;return oh(ct.classMap,[n],t)}function jd(e,t,n,i,r){return td(ct.domElement,e,t,n,i,r)}function Hd(e,t,n,i,r){return td(ct.domElementStart,e,t,n,i,r)}function zd(e){return oh(ct.domElementEnd,[],e)}function Ud(e,t,n,i){return td(ct.domElementContainerStart,e,null,t,n,i)}function qd(e,t,n,i){return td(ct.domElementContainer,e,null,t,n,i)}function Wd(){return oh(ct.domElementContainerEnd,[],null)}function Gd(e,t,n,i){const r=[Qe(e),t];return null!==n&&r.push(qe(n)),oh(ct.domListener,r,i)}function Zd(e,t,n,i,r,s,o,a){return nd(ct.domTemplate,e,t,n,i,r,s,o,a)}const Yd=[ct.pipeBind1,ct.pipeBind2,ct.pipeBind3,ct.pipeBind4];function Kd(e,t,n){const i=rh(e,t);return function(e,t,n,i,r){return ao(dh(e,[],n,[],r).toStmt())}(lh,0,i,0,n)}function Jd(e,t){return oh(ct.i18nExp,[e],t)}function Xd(e,t){return oh(ct.i18nApply,[Qe(e)],t)}function Qd(e,t,n,i){const r=[t];return null!==n&&r.push(n),oh("enter"===e?ct.animationEnter:ct.animationLeave,r,i)}function eh(e,t,n,i){const r=[t instanceof uo?sh(t,i):t];return null!==n&&r.push(n),oh("enter"===e?ct.animationEnter:ct.animationLeave,r,i)}function th(e,t,n,i){return oh("enter"===e?ct.animationEnterListener:ct.animationLeaveListener,[t],i)}
1function nh(e,t,n){return oh(ct.syntheticHostProperty,[Qe(e),t],n)}function ih(e,t){return oh(ct.attachSourceLocations,[Qe(e),t],null)}function rh(e,t){if(e.length<1||t.length!==e.length-1)throw new Error("AssertionError: expected specific shape of args for strings/expressions in interpolation");const n=[];if(1===t.length&&""===e[0]&&""===e[1])n.push(t[0]);else{let i;for(i=0;i<t.length;i++)n.push(Qe(e[i]),t[i]);n.push(Qe(e[i]))}return n}function sh(e,t){const n=rh(e.strings,e.expressions);return dh(ch,[],n,[],t)}function oh(e,t,n){const i=qe(e).callFn(t,n);return ao(new je(i,n))}function ah(e,t,n){const i=[e];return null!==t&&i.push(t),oh(ct.conditional,i,n)}const lh={constant:[ct.textInterpolate,ct.textInterpolate1,ct.textInterpolate2,ct.textInterpolate3,ct.textInterpolate4,ct.textInterpolate5,ct.textInterpolate6,ct.textInterpolate7,ct.textInterpolate8],variable:ct.textInterpolateV,mapping:e=>{if(e%2==0)throw new Error("Expected odd number of arguments");return(e-1)/2}},ch={constant:[ct.interpolate,ct.interpolate1,ct.interpolate2,ct.interpolate3,ct.interpolate4,ct.interpolate5,ct.interpolate6,ct.interpolate7,ct.interpolate8],variable:ct.interpolateV,mapping:e=>{if(e%2==0)throw new Error("Expected odd number of arguments");return(e-1)/2}},uh={constant:[ct.pureFunction0,ct.pureFunction1,ct.pureFunction2,ct.pureFunction3,ct.pureFunction4,ct.pureFunction5,ct.pureFunction6,ct.pureFunction7,ct.pureFunction8],variable:ct.pureFunctionV,mapping:e=>e};function dh(e,t,n,i,r){const s=e.mapping(n.length),o=n.at(-1);if(0===i.length&&n.length>1&&o instanceof le&&""===o.value&&n.pop(),s<e.constant.length)return qe(e.constant[s]).callFn([...t,...n,...i],r);if(null!==e.variable)return qe(e.variable).callFn([...t,Ze(n),...i],r);throw new Error("AssertionError: unable to call variadic function")}const hh=new Map([["window",ct.resolveWindow],["document",ct.resolveDocument],["body",ct.resolveBody]]),ph=new Map([["class","className"],["for","htmlFor"],["formaction","formAction"],["innerHtml","innerHTML"],["readonly","readOnly"],["tabindex","tabIndex"]]);function fh(e,t){for(const n of t)switch(na(n,yh,ea.None),n.kind){case Bs.Text:oa.replace(n,bd(n.handle.slot,n.initialValue,n.sourceSpan));break;case Bs.ElementStart:oa.replace(n,e.job.mode===Oa.DomOnly?Hd(n.handle.slot,n.tag,n.attributes,n.localRefs,n.startSourceSpan):ed(n.handle.slot,n.tag,n.attributes,n.localRefs,n.startSourceSpan));break;case Bs.Element:oa.replace(n,e.job.mode===Oa.DomOnly?jd(n.handle.slot,n.tag,n.attributes,n.localRefs,n.wholeSourceSpan):Qu(n.handle.slot,n.tag,n.attributes,n.localRefs,n.wholeSourceSpan));break;case Bs.ElementEnd:oa.replace(n,e.job.mode===Oa.DomOnly?zd(n.sourceSpan):rd(n.sourceSpan));break;case Bs.ContainerStart:oa.replace(n,e.job.mode===Oa.DomOnly?Ud(n.handle.slot,n.attributes,n.localRefs,n.startSourceSpan):sd(n.handle.slot,n.attributes,n.localRefs,n.startSourceSpan));break;case Bs.Container:oa.replace(n,e.job.mode===Oa.DomOnly?qd(n.handle.slot,n.attributes,n.localRefs,n.wholeSourceSpan):od(n.handle.slot,n.attributes,n.localRefs,n.wholeSourceSpan));break;case Bs.ContainerEnd:oa.replace(n,e.job.mode===Oa.DomOnly?Wd():ad());break;case Bs.I18nStart:oa.replace(n,Sd(n.handle.slot,n.messageIndex,n.subTemplateIndex,n.sourceSpan));break;case Bs.I18nEnd:oa.replace(n,Pd(n.sourceSpan));break;case Bs.I18n:oa.replace(n,Od(n.handle.slot,n.messageIndex,n.subTemplateIndex,n.sourceSpan));break;case Bs.I18nAttributes:if(null===n.i18nAttributesConfig)throw new Error("AssertionError: i18nAttributesConfig was not set");oa.replace(n,Ld(n.handle.slot,n.i18nAttributesConfig));break;case Bs.Template:if(!(e instanceof Ra))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(n.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const t=e.job.views.get(n.xref);oa.replace(n,n.templateKind===Ys.Block||e.job.mode===Oa.DomOnly?Zd(n.handle.slot,Ue(t.fnName),t.decls,t.vars,n.tag,n.attributes,n.localRefs,n.startSourceSpan):ld(n.handle.slot,Ue(t.fnName),t.decls,t.vars,n.tag,n.attributes,n.localRefs,n.startSourceSpan));break;
1case Bs.DisableBindings:oa.replace(n,cd());break;case Bs.EnableBindings:oa.replace(n,ud());break;case Bs.Pipe:oa.replace(n,fd(n.handle.slot,n.name));break;case Bs.DeclareLet:oa.replace(n,Md(n.handle.slot,n.sourceSpan));break;case Bs.AnimationString:oa.replace(n,eh(n.animationKind,n.expression,n.sanitizer,n.sourceSpan));break;case Bs.Animation:const i=bh(e,n.handlerFnName,n.handlerOps,!1);oa.replace(n,Qd(n.animationKind,i,n.sanitizer,n.sourceSpan));break;case Bs.AnimationListener:const r=bh(e,n.handlerFnName,n.handlerOps,n.consumesDollarEvent);oa.replace(n,th(n.animationKind,r,0,n.sourceSpan));break;case Bs.Listener:const s=bh(e,n.handlerFnName,n.handlerOps,n.consumesDollarEvent),o=n.eventTarget?hh.get(n.eventTarget):null;if(void 0===o)throw new Error(`Unexpected global target '${n.eventTarget}' defined for '${n.name}' event. Supported list of global targets: window,document,body.`);oa.replace(n,e.job.mode!==Oa.DomOnly||n.hostListener||n.isLegacyAnimationListener?dd(n.name,s,o,n.hostListener&&n.isLegacyAnimationListener,n.sourceSpan):Gd(n.name,s,o,n.sourceSpan));break;case Bs.TwoWayListener:oa.replace(n,pd(n.name,bh(e,n.handlerFnName,n.handlerOps,!0),n.sourceSpan));break;case Bs.Variable:if(null===n.variable.name)throw new Error(`AssertionError: unnamed variable ${n.xref}`);oa.replace(n,ao(new Ve(n.variable.name,n.initializer,void 0,Ne.Final)));break;case Bs.Namespace:switch(n.active){case Ws.HTML:oa.replace(n,md());break;case Ws.SVG:oa.replace(n,gd());break;case Ws.Math:oa.replace(n,vd())}break;case Bs.Defer:const a=!!n.loadingMinimumTime||!!n.loadingAfterTime||!!n.placeholderMinimumTime;oa.replace(n,wd(n.handle.slot,n.mainSlot.slot,n.resolverFn,n.loadingSlot?.slot??null,n.placeholderSlot?.slot??null,n.errorSlot?.slot??null,n.loadingConfig,n.placeholderConfig,a,n.sourceSpan,n.flags));break;case Bs.DeferOn:let l=[];switch(n.trigger.kind){case Gs.Never:case Gs.Idle:case Gs.Immediate:break;case Gs.Timer:l=[n.trigger.delay];break;case Gs.Interaction:case Gs.Hover:case Gs.Viewport:"hydrate"===n.modifier?l=[]:(l=[n.trigger.targetSlot?.slot??null],0!==n.trigger.targetSlotViewSteps&&l.push(n.trigger.targetSlotViewSteps));break;default:throw new Error(`AssertionError: Unsupported reification of defer trigger kind ${n.trigger.kind}`)}oa.replace(n,xd(n.trigger.kind,l,n.modifier,n.sourceSpan));break;case Bs.ProjectionDef:oa.replace(n,kd(n.def));break;case Bs.Projection:if(null===n.handle.slot)throw new Error("No slot was assigned for project instruction");let c=null,u=null,d=null;if(null!==n.fallbackView){if(!(e instanceof Ra))throw new Error("AssertionError: must be compiling a component");const t=e.job.views.get(n.fallbackView);if(void 0===t)throw new Error("AssertionError: projection had fallback view xref, but fallback view was not found");if(null===t.fnName||null===t.decls||null===t.vars)throw new Error("AssertionError: expected projection fallback view to have been named and counted");c=t.fnName,u=t.decls,d=t.vars}oa.replace(n,Cd(n.handle.slot,n.projectionSlotIndex,n.attributes,c,u,d,n.sourceSpan));break;case Bs.ConditionalCreate:if(!(e instanceof Ra))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(n.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const h=e.job.views.get(n.xref);oa.replace(n,Td(n.handle.slot,Ue(h.fnName),h.decls,h.vars,n.tag,n.attributes,n.localRefs,n.startSourceSpan));break;case Bs.ConditionalBranchCreate:if(!(e instanceof Ra))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(n.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const p=e.job.views.get(n.xref);oa.replace(n,Ed(n.handle.slot,Ue(p.fnName),p.decls,p.vars,n.tag,n.attributes,n.localRefs,n.startSourceSpan));break;case Bs.RepeaterCreate:if(null===n.handle.slot)throw new Error("No slot was assigned for repeater instruction");if(!(e instanceof Ra))throw new Error("AssertionError: must be compiling a component");const f=e.job.views.get(n.xref);if(null===f.fnName)throw new Error("AssertionError: expected repeater primary view to have been named");let m=null,g=null,v=null;if(null!==n.emptyView){const t=e.job.views.get(n.emptyView);if(void 0===t)throw new Error("AssertionError: repeater had empty view xref, but empty view was not found");if(null===t.fnName||null===t.decls||null===t.vars)throw new Error("AssertionError: expected repeater empty view to have been named and counted");m=t.fnName,g=t.decls,v=t.vars}oa.replace(n,Id(n.handle.slot,f.fnName,n.decls,n.vars,n.tag,n.attributes,wh(e,n),n.usesComponentInstance,m,g,v,n.emptyTag,n.emptyAttributes,n.wholeSourceSpan));break;case Bs.SourceLocation:const y=Ze(n.locations.map(({targetSlot:e,offset:t,line:n,column:i})=>{if(null===e.slot)throw new Error("No slot was assigned for source location");return Ze([Qe(e.slot),Qe(t),Qe(n),Qe(i)])}));oa.replace(n,ih(n.templatePath,y));break;case Bs.Statement:break;default:throw new Error(`AssertionError: Unsupported reification of create op ${Bs[n.kind]}`)}}function mh(e,t){for(const n of t)switch(na(n,yh,ea.None),n.kind){case Bs.Advance:oa.replace(n,yd(n.delta,n.sourceSpan));break;case Bs.Property:oa.replace(n,e.job.mode===Oa.DomOnly&&n.bindingKind!==Hs.LegacyAnimation&&n.bindingKind!==Hs.Animation?gh(n):vh(n));break;case Bs.TwoWayProperty:oa.replace(n,Nd(n.name,n.expression,n.sanitizer,n.sourceSpan));break;case Bs.StyleProp:oa.replace(n,Bd(n.name,n.expression,n.unit,n.sourceSpan));break;case Bs.ClassProp:oa.replace(n,Fd(n.name,n.expression,n.sourceSpan));break;case Bs.StyleMap:oa.replace(n,Vd(n.expression,n.sourceSpan));break;case Bs.ClassMap:oa.replace(n,$d(n.expression,n.sourceSpan));break;case Bs.I18nExpression:oa.replace(n,Jd(n.expression,n.sourceSpan));break;
1case Bs.I18nApply:oa.replace(n,Xd(n.handle.slot,n.sourceSpan));break;case Bs.InterpolateText:oa.replace(n,Kd(n.interpolation.strings,n.interpolation.expressions,n.sourceSpan));break;case Bs.Attribute:oa.replace(n,Rd(n.name,n.expression,n.sanitizer,n.namespace,n.sourceSpan));break;case Bs.DomProperty:if(n.expression instanceof uo)throw new Error("not yet handled");n.bindingKind===Hs.LegacyAnimation||n.bindingKind===Hs.Animation?oa.replace(n,nh(n.name,n.expression,n.sourceSpan)):oa.replace(n,gh(n));break;case Bs.Variable:if(null===n.variable.name)throw new Error(`AssertionError: unnamed variable ${n.xref}`);oa.replace(n,ao(new Ve(n.variable.name,n.initializer,void 0,Ne.Final)));break;case Bs.Conditional:if(null===n.processed)throw new Error("Conditional test was not set.");oa.replace(n,ah(n.processed,n.contextValue,n.sourceSpan));break;case Bs.Repeater:oa.replace(n,Ad(n.collection,n.sourceSpan));break;case Bs.DeferWhen:oa.replace(n,Dd(n.modifier,n.expr,n.sourceSpan));break;case Bs.StoreLet:throw new Error(`AssertionError: unexpected storeLet ${n.declaredName}`);case Bs.Statement:break;default:throw new Error(`AssertionError: Unsupported reification of update op ${Bs[n.kind]}`)}}function gh(e){return t=ph.get(e.name)??e.name,n=e.expression,i=e.sanitizer,r=e.sourceSpan,id(ct.domProperty,t,n,i,r);var t,n,i,r}function vh(e){return Ua(e.name)?(t=e.name,n=e.expression,i=e.sourceSpan,id(ct.ariaProperty,t,n,null,i)):function(e,t,n,i){return id(ct.property,e,t,n,i)}(e.name,e.expression,e.sanitizer,e.sourceSpan);var t,n,i}function yh(e){if(!So(e))return e;switch(e.kind){case Fs.NextContext:return o=e.steps,qe(ct.nextContext).callFn(1===o?[]:[Qe(o)]);case Fs.Reference:return s=e.targetSlot.slot+1+e.offset,qe(ct.reference).callFn([Qe(s)]);case Fs.LexicalRead:throw new Error(`AssertionError: unresolved LexicalRead of ${e.name}`);case Fs.TwoWayBindingSet:throw new Error("AssertionError: unresolved TwoWayBindingSet");case Fs.RestoreView:if("number"==typeof e.view)throw new Error("AssertionError: unresolved RestoreView");return r=e.view,qe(ct.restoreView).callFn([r]);case Fs.ResetView:return i=e.expr,qe(ct.resetView).callFn([i]);case Fs.GetCurrentView:return qe(ct.getCurrentView).callFn([]);case Fs.ReadVariable:if(null===e.name)throw new Error(`Read of unnamed variable ${e.xref}`);return Ue(e.name);case Fs.ReadTemporaryExpr:if(null===e.name)throw new Error(`Read of unnamed temporary ${e.xref}`);return Ue(e.name);case Fs.AssignTemporaryExpr:if(null===e.name)throw new Error(`Assign of unnamed temporary ${e.xref}`);return Ue(e.name).set(e.expr);case Fs.PureFunctionExpr:if(null===e.fn)throw new Error("AssertionError: expected PureFunctions to have been extracted");return function(e,t,n){return dh(uh,[Qe(e),t],n,[],null)}(e.varOffset,e.fn,e.args);case Fs.PureFunctionParameterExpr:throw new Error("AssertionError: expected PureFunctionParameterExpr to have been extracted");case Fs.PipeBinding:return function(e,t,n){if(n.length<1||n.length>Yd.length)throw new Error("pipeBind() argument count out of bounds");return qe(Yd[n.length-1]).callFn([Qe(e),Qe(t),...n])}(e.targetSlot.slot,e.varOffset,e.args);case Fs.PipeBindingVariadic:return function(e,t,n){return qe(ct.pipeBindV).callFn([Qe(e),Qe(t),n])}(e.targetSlot.slot,e.varOffset,e.args);case Fs.SlotLiteralExpr:return Qe(e.slot.slot);case Fs.ContextLetReference:return function(e){return qe(ct.readContextLet).callFn([Qe(e)])}(e.targetSlot.slot);case Fs.StoreLet:return t=e.value,n=e.sourceSpan,qe(ct.storeLet).callFn([t],n);case Fs.TrackContext:return Ue("this");default:throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${Fs[e.kind]}`)}var t,n,i,r,s,o}function bh(e,t,n,i){mh(e,n);const r=[];for(const e of n){if(e.kind!==Bs.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${Bs[e.kind]}`);r.push(e.statement)}const s=[];return i&&s.push(new xe("$event")),Ke(s,r,void 0,void 0,t)}function wh(e,t){if(null!==t.trackByFn)return t.trackByFn;const n=[new xe("$index"),new xe("$item")];let i;if(null===t.trackByOps)i=t.usesComponentInstance?Ke(n,[new He(t.track)]):Je(n,t.track);else{mh(e,t.trackByOps);const r=[];for(const e of t.trackByOps){if(e.kind!==Bs.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${Bs[e.kind]}`);r.push(e.statement)}i=!t.usesComponentInstance&&1===r.length&&r[0]instanceof He?Je(n,r[0].value):Ke(n,r)}return t.trackByFn=e.job.pool.getSharedFunctionReference(i,"_forTrack"),t.trackByFn}function _h(e,t){const n=new Map;n.set(e.xref,Ue("ctx"));for(const i of t)switch(i.kind){case Bs.Variable:i.variable.kind===$s.Context&&n.set(i.variable.view,new Fo(i.xref));break;case Bs.Animation:case Bs.AnimationListener:case Bs.Listener:case Bs.TwoWayListener:_h(e,i.handlerOps);break;case Bs.RepeaterCreate:null!==i.trackByOps&&_h(e,i.trackByOps)}e===e.job.root&&n.set(e.xref,Ue("ctx"));for(const i of t)na(i,t=>
1{if(t instanceof Mo){if(!n.has(t.view))throw new Error(`No context found for reference to view ${t.view} from view ${e.xref}`);return n.get(t.view)}return t},ea.None)}function xh(e){for(const t of e)t.kind!==Bs.Listener&&t.kind!==Bs.TwoWayListener&&t.kind!==Bs.AnimationListener||na(t,e=>e instanceof Eo&&"$event"===e.name?(t.kind!==Bs.Listener&&t.kind!==Bs.AnimationListener||(t.consumesDollarEvent=!0),new te(e.name)):e,ea.InChildOperation)}function kh(e,t,n,i,r){let s=null,o=new Map;for(const a of t.create)switch(a.kind){case Bs.I18nStart:if(!a.context)throw Error("Could not find i18n context for i18n op");s={i18nBlock:a,i18nContext:n.get(a.context)};break;case Bs.I18nEnd:s=null;break;case Bs.ElementStart:if(void 0!==a.i18nPlaceholder){if(null===s)throw Error("i18n tag placeholder should only occur inside an i18n block");Ch(a,s.i18nContext,s.i18nBlock,r),r&&a.i18nPlaceholder.closeName&&o.set(a.xref,r),r=void 0}break;case Bs.ElementEnd:const t=i.get(a.xref);if(t&&void 0!==t.i18nPlaceholder){if(null===s)throw Error("AssertionError: i18n tag placeholder should only occur inside an i18n block");Sh(t,s.i18nContext,s.i18nBlock,o.get(a.xref)),o.delete(a.xref)}break;case Bs.Projection:if(void 0!==a.i18nPlaceholder){if(null===s)throw Error("i18n tag placeholder should only occur inside an i18n block");Ch(a,s.i18nContext,s.i18nBlock,r),Sh(a,s.i18nContext,s.i18nBlock,r),r=void 0}if(null!==a.fallbackView){const t=e.views.get(a.fallbackView);if(void 0===a.fallbackViewI18nPlaceholder)kh(e,t,n,i);else{if(null===s)throw Error("i18n tag placeholder should only occur inside an i18n block");Th(e,t,a.handle.slot,a.fallbackViewI18nPlaceholder,s.i18nContext,s.i18nBlock,r),kh(e,t,n,i),Eh(e,t,a.handle.slot,a.fallbackViewI18nPlaceholder,s.i18nContext,s.i18nBlock,r),r=void 0}}break;case Bs.ConditionalCreate:case Bs.ConditionalBranchCreate:case Bs.Template:const l=e.views.get(a.xref);if(void 0===a.i18nPlaceholder)kh(e,l,n,i);else{if(null===s)throw Error("i18n tag placeholder should only occur inside an i18n block");a.templateKind===Ys.Structural?kh(e,l,n,i,a):(Th(e,l,a.handle.slot,a.i18nPlaceholder,s.i18nContext,s.i18nBlock,r),kh(e,l,n,i),Eh(e,l,a.handle.slot,a.i18nPlaceholder,s.i18nContext,s.i18nBlock,r),r=void 0)}break;case Bs.RepeaterCreate:if(void 0!==r)throw Error("AssertionError: Unexpected structural directive associated with @for block");const c=a.handle.slot+1,u=e.views.get(a.xref);if(void 0===a.i18nPlaceholder)kh(e,u,n,i);else{if(null===s)throw Error("i18n tag placeholder should only occur inside an i18n block");Th(e,u,c,a.i18nPlaceholder,s.i18nContext,s.i18nBlock,r),kh(e,u,n,i),Eh(e,u,c,a.i18nPlaceholder,s.i18nContext,s.i18nBlock,r),r=void 0}if(null!==a.emptyView){const t=a.handle.slot+2,o=e.views.get(a.emptyView);if(void 0===a.emptyI18nPlaceholder)kh(e,o,n,i);else{if(null===s)throw Error("i18n tag placeholder should only occur inside an i18n block");Th(e,o,t,a.emptyI18nPlaceholder,s.i18nContext,s.i18nBlock,r),kh(e,o,n,i),Eh(e,o,t,a.emptyI18nPlaceholder,s.i18nContext,s.i18nBlock,r),r=void 0}}}}function Ch(e,t,n,i){const{startName:r,closeName:s}=e.i18nPlaceholder;let o=qs.ElementTag|qs.OpenTag,a=e.handle.slot;void 0!==i&&(o|=qs.TemplateTag,a={element:a,template:i.handle.slot}),s||(o|=qs.CloseTag),Ah(t.params,r,a,n.subTemplateIndex,o)}function Sh(e,t,n,i){const{closeName:r}=e.i18nPlaceholder;if(r){let s=qs.ElementTag|qs.CloseTag,o=e.handle.slot;void 0!==i&&(s|=qs.TemplateTag,o={element:o,template:i.handle.slot}),Ah(t.params,r,o,n.subTemplateIndex,s)}}function Th(e,t,n,i,r,s,o){let{startName:a,closeName:l}=i,c=qs.TemplateTag|qs.OpenTag;l||(c|=qs.CloseTag),void 0!==o&&Ah(r.params,a,o.handle.slot,s.subTemplateIndex,c),Ah(r.params,a,n,Ih(0,s,t),c)}function Eh(e,t,n,i,r,s,o){const{closeName:a}=i,l=qs.TemplateTag|qs.CloseTag;a&&(Ah(r.params,a,n,Ih(0,s,t),l),void 0!==o&&Ah(r.params,a,o.handle.slot,s.subTemplateIndex,l))}function Ih(e,t,n){for(const e of n.create)if(e.kind===Bs.I18nStart)return e.subTemplateIndex;return t.subTemplateIndex}function Ah(e,t,n,i,r){const s=e.get(t)??[];s.push({value:n,subTemplateIndex:i,flags:r}),e.set(t,s)}function Dh(e,t,n,i){if(null!==e.i18nPlaceholder){const i=n.get(e.context),r=e.resolutionTime===zs.Creation?i.params:i.postprocessingParams,s=r.get(e.i18nPlaceholder)||[];s.push(t),r.set(e.i18nPlaceholder,s)}if(null!==e.icuPlaceholder){const n=i.get(e.icuPlaceholder);n?.expressionPlaceholders.push(t)}}function Mh(e,t,n){const i=new Map,r=new Map;for(const s of t)switch(s.kind){case Bs.Variable:switch(s.variable.kind){case $s.Identifier:if(s.variable.local){if(r.has(s.variable.
1identifier))continue;r.set(s.variable.identifier,s.xref)}else if(i.has(s.variable.identifier))continue;i.set(s.variable.identifier,s.xref);break;case $s.Alias:if(i.has(s.variable.identifier))continue;i.set(s.variable.identifier,s.xref);break;case $s.SavedView:n={view:s.variable.view,variable:s.xref}}break;case Bs.Animation:case Bs.AnimationListener:case Bs.Listener:case Bs.TwoWayListener:Mh(e,s.handlerOps,n);break;case Bs.RepeaterCreate:null!==s.trackByOps&&Mh(e,s.trackByOps,n)}for(const s of t)s.kind!=Bs.Listener&&s.kind!==Bs.TwoWayListener&&s.kind!==Bs.Animation&&s.kind!==Bs.AnimationListener&&na(s,t=>{if(t instanceof Eo)return r.has(t.name)?new Fo(r.get(t.name)):i.has(t.name)?new Fo(i.get(t.name)):new Ie(new Mo(e.job.root.xref),t.name);if(t instanceof No&&"number"==typeof t.view){if(null===n||n.view!==t.view)throw new Error(`AssertionError: no saved view ${t.view} from view ${e.xref}`);return t.view=new Fo(n.variable),t}return t},ea.None);for(const e of t)Qo(e,e=>{if(e instanceof Eo)throw new Error(`AssertionError: no lexical reads should remain, but found read of ${e.name}`)})}const Oh=new Map([[l.HTML,ct.sanitizeHtml],[l.RESOURCE_URL,ct.sanitizeResourceUrl],[l.SCRIPT,ct.sanitizeScript],[l.STYLE,ct.sanitizeStyle],[l.URL,ct.sanitizeUrl],[l.ATTRIBUTE_NO_BINDING,ct.validateAttribute]]),Ph=new Map([[l.HTML,ct.trustConstantHtml],[l.RESOURCE_URL,ct.trustConstantResourceUrl]]);function Lh(e){let t=!1,n=!1,i=!1;for(const r of e)switch(r){case l.URL:t=!0;break;case l.RESOURCE_URL:n=!0;break;case l.NONE:i=!0;break;default:return!1}return(t||n)&&i||t&&n}function Nh(e){if(!Array.isArray(e))return e;if(e.length<2)return e[0]??l.NONE;const t=e.filter(e=>e!==l.NONE);if(t.length>1)throw Error("AssertionError: Ambiguous security context");return t[0]??l.NONE}function Rh(e,t){t.handlerOps.prepend([lo(e.job.allocateXrefId(),{kind:$s.
1Context,name:null,view:e.xref},new No(e.xref),Vs.None)]);for(const e of t.handlerOps)e.kind===Bs.Statement&&e.statement instanceof He&&(e.statement.value=new Ro(e.statement.value))}function Bh(e){let t=!1;return ia(e,e=>((e instanceof jo||e instanceof Ho)&&(t=!0),e),ea.None),t}function Fh(e,t){e.lhs instanceof Te&&e.lhs.expr instanceof Se&&t.add(e.lhs)}function Vh(e,t){e.lhs instanceof Te&&(jh(e.lhs.expr)||e.lhs.expr instanceof we)&&t.add(e.lhs),e.rhs instanceof Te&&(jh(e.rhs.expr)||e.rhs.expr instanceof we)&&t.add(e.rhs)}function $h(e,t){e.lhs instanceof Te&&e.lhs.expr instanceof Ee&&e.lhs.expr.operator===J.NullishCoalesce&&t.add(e.lhs)}function jh(e){return e instanceof Ee&&(e.operator===J.And||e.operator===J.Or)}function Hh(e){let t=0,n=[];for(const i of e){const e=new Map;Qo(i,(t,n)=>{n&ea.InChildOperation||t instanceof Yo&&e.set(t.xref,t)});let r=0;const s=new Set,o=new Set,a=new Map;Qo(i,(n,i)=>{i&ea.InChildOperation||(n instanceof Zo?(s.has(n.xref)||(s.add(n.xref),a.set(n.xref,`tmp_${t}_${r++}`)),zh(a,n)):n instanceof Yo&&(e.get(n.xref)===n&&(o.add(n.xref),r--),zh(a,n)))}),n.push(...Array.from(new Set(a.values())).map(e=>ao(new Ve(e)))),t++,i.kind===Bs.Listener||i.kind===Bs.Animation||i.kind===Bs.AnimationListener||i.kind===Bs.TwoWayListener?i.handlerOps.prepend(Hh(i.handlerOps)):i.kind===Bs.RepeaterCreate&&null!==i.trackByOps&&i.trackByOps.prepend(Hh(i.trackByOps))}return n}function zh(e,t){const n=e.get(t.xref);if(void 0===n)throw new Error(`Found xref with unassigned name: ${t.xref}`);t.name=n}function Uh(e,t){if(!(t instanceof se)||0===t.args.length||t.args.length>2)return!1;if(!(t.receiver instanceof Ie&&t.receiver.receiver instanceof Mo)||t.receiver.receiver.view!==e)return!1;const[n,i]=t.args;return n instanceof te&&"$index"===n.name&&(1===t.args.length||i instanceof te&&"$item"===i.name)}function qh(e){let t;switch(e.kind){case Bs.Attribute:return t=1,e.expression instanceof uo&&!(1===(n=e.expression).expressions.length&&2===n.strings.length&&""===n.strings[0]&&""===n.strings[1])&&(t+=e.expression.expressions.length),t;case Bs.Property:case Bs.DomProperty:return t=1,e.expression instanceof uo&&(t+=e.expression.expressions.length),t;case Bs.TwoWayProperty:return 1;case Bs.StyleProp:case Bs.ClassProp:case Bs.StyleMap:case Bs.ClassMap:return t=2,e.expression instanceof uo&&(t+=e.expression.expressions.length),t;case Bs.InterpolateText:return e.interpolation.expressions.length;case Bs.I18nExpression:case Bs.Conditional:case Bs.DeferWhen:case Bs.StoreLet:return 1;case Bs.RepeaterCreate:return e.emptyView?1:0;default:throw new Error(`Unhandled op: ${Bs[e.kind]}`)}var n}function Wh(e){switch(e.kind){case Fs.PureFunctionExpr:case Fs.PipeBinding:return 1+e.args.length;case Fs.PipeBindingVariadic:return 1+e.numArgs;case Fs.StoreLet:return 1;default:throw new Error(`AssertionError: unhandled ConsumesVarsTrait expression ${e.constructor.name}`)}}var Gh;function Zh(e){const t=new Map;for(const n of e)n.kind===Bs.Variable&&n.flags&Vs.AlwaysInline&&(Qo(n,e=>{if(So(e)&&Kh(e)!==Gh.None)throw new Error("AssertionError: A context-sensitive variable was marked AlwaysInline")}),t.set(n.xref,n)),na(n,e=>e instanceof Fo&&t.has(e.xref)?t.get(e.xref).initializer.clone():e,ea.None);for(const e of t.values())oa.remove(e)}function Yh(e,t){const n=new Map,i=new Map,r=new Set,s=new Map;for(const t of e){if(t.kind===Bs.Variable){if(n.has(t.xref)||i.has(t.xref))throw new Error(`Should not see two declarations of the same variable: ${t.xref}`);n.set(t.xref,t),i.set(t.xref,0)}s.set(t,Jh(t)),Xh(t,i,r)}let o=!1;for(const t of e.reversed()){const e=s.get(t);if(t.kind!==Bs.Variable||0!==i.get(t.xref))e.fences&Gh.ViewContextRead&&(o=!0);else{if(o&&e.fences&Gh.ViewContextWrite||e.fences&Gh.SideEffectful){const n=ao(t.initializer.toStmt());s.set(n,e),oa.replace(t,n)}else Qh(t,i),oa.remove(t);s.delete(t),n.delete(t.xref),i.delete(t.xref)}}const a=[];for(const[e,t]of i){const i=!!(n.get(e).flags&Vs.AlwaysInline);1!==t||i||r.has(e)||a.push(e)}let l;for(;l=a.pop();){const e=n.get(l),r=s.get(e);if(e.flags&Vs.AlwaysInline)throw new Error("AssertionError: Found an 'AlwaysInline' variable after the always inlining pass.");for(let o=e.next;o.kind!==Bs.ListEnd;o=o.next){const a=s.get(o);if(a.variablesUsed.has(l)){if(t===js.TemplateDefinitionBuilder&&!np(e,o))break;if(tp(l,e.initializer,o,r.fences)){a.variablesUsed.delete(l);for(const e of r.variablesUsed)a.variablesUsed.add(e);a.fences|=r.fences,n.delete(l),i.delete(l),s.delete(e),oa.remove(e)}break}if(!ep(a.fences,r.fences))break}}}function Kh(e){switch(e.kind){case Fs.NextContext:return Gh.ViewContextRead|Gh.ViewContextWrite;case Fs.RestoreView:return Gh.ViewContextRead|Gh.ViewContextWrite|Gh.SideEffectful;case Fs.StoreLet:return Gh.SideEffectful;case Fs.Reference:case Fs.ContextLetReference:return Gh.ViewContextRead;default:return Gh.None}}function Jh(e){let t=Gh.None;const n=new Set;return Qo(e,e=>{So(e)&&(e.kind===Fs.ReadVariable?n.add(e.xref):t|=Kh(e))}),{fences:t,variablesUsed:n}}
1function Xh(e,t,n){Qo(e,(e,i)=>{if(!So(e))return;if(e.kind!==Fs.ReadVariable)return;const r=t.get(e.xref);void 0!==r&&(t.set(e.xref,r+1),i&ea.InChildOperation&&n.add(e.xref))})}function Qh(e,t){Qo(e,e=>{if(!So(e))return;if(e.kind!==Fs.ReadVariable)return;const n=t.get(e.xref);if(void 0!==n){if(0===n)throw new Error(`Inaccurate variable count: ${e.xref} - found another read but count is already 0`);t.set(e.xref,n-1)}})}function ep(e,t){if(e&Gh.ViewContextWrite){if(t&Gh.ViewContextRead)return!1}else if(e&Gh.ViewContextRead&&t&Gh.ViewContextWrite)return!1;return!0}function tp(e,t,n,i){let r=!1,s=!0;return na(n,(n,o)=>{if(!So(n))return n;if(r||!s)return n;if(o&ea.InChildOperation&&i&Gh.ViewContextRead)return n;if(n.kind===Fs.ReadVariable){if(n.xref===e)return r=!0,t}else{const e=Kh(n);s=s&&ep(e,i)}return n},ea.None),r}function np(e,t){switch(e.variable.kind){case $s.Identifier:return e.initializer instanceof te&&"ctx"===e.initializer.name;case $s.Context:return t.kind===Bs.Variable;default:return!0}}!function(e){e[e.None=0]="None",e[e.ViewContextRead=1]="ViewContextRead",e[e.ViewContextWrite=2]="ViewContextWrite",e[e.SideEffectful=4]="SideEffectful"}(Gh||(Gh={}));const ip=[{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){const e=ja(t);for(const n of t.ops())if(n.kind===Bs.Binding){const t=qu(e,n.target);Uu(n.name)&&t.kind===Bs.Projection&&oa.remove(n)}}}},{kind:Ma.Host,fn:function(e){for(const t of e.root.update)if(t.kind===Bs.Binding&&t.bindingKind===Hs.Property)if(t.name.endsWith("!important")&&(t.name=t.name.substring(0,t.name.length-10)),t.name.startsWith("style.")){t.bindingKind=Hs.StyleProperty,t.name=t.name.substring(6),yl(t.name)||(t.name=bl(t.name));const{property:e,suffix:n}=wl(t.name);t.name=e,t.unit=n}else t.name.startsWith("style!")?(t.bindingKind=Hs.StyleProperty,t.name="style"):(t.name.startsWith("class.")||t.name.startsWith("class!"))&&(t.bindingKind=Hs.ClassName,t.name=wl(t.name.substring(6)).property)}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){let e=Ws.HTML;for(const n of t.create)n.kind===Bs.ElementStart&&n.namespace!==e&&(oa.insertBefore(wa(n.namespace),n),e=n.namespace)}}},{kind:Ma.Tmpl,fn:function(e){Zu(e.root,0)}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){let n=null,i=null;for(const r of t.create)switch(r.kind){case Bs.I18nStart:n=r;break;case Bs.I18nEnd:n=null;break;case Bs.IcuStart:null===n&&(i=e.allocateXrefId(),oa.insertBefore(ka(i,r.message,void 0,null),r));break;case Bs.IcuEnd:null!==i&&(oa.insertAfter(Ca(i,null),r),i=null)}}}},{kind:Ma.Both,fn:function(e){const t=new Map;for(const n of e.units)for(const i of n.update.reversed())if(i.kind===Bs.Binding&&i.isTextAttribute){const n=t.get(i.target)||new Set;n.has(i.name)&&e.compatibility===js.TemplateDefinitionBuilder&&("style"!==i.name&&"class"!==i.name||oa.remove(i)),n.add(i.name),t.set(i.target,n)}}},{kind:Ma.Both,fn:function(e){for(const t of e.units)for(const e of t.update)if(e.kind===Bs.Binding)switch(e.bindingKind){case Hs.ClassName:if(e.expression instanceof uo)throw new Error("Unexpected interpolation in ClassName binding");oa.replace(e,go(e.target,e.name,e.expression,e.sourceSpan));break;case Hs.StyleProperty:oa.replace(e,mo(e.target,e.name,e.expression,e.unit,e.sourceSpan));break;case Hs.Property:case Hs.Template:"style"===e.name?oa.replace(e,vo(e.target,e.expression,e.sourceSpan)):"class"===e.name&&oa.replace(e,yo(e.target,e.expression,e.sourceSpan))}}},{kind:Ma.Both,fn:function(e){const t=new Map;for(const n of e.units)for(const e of n.create)ca(e)&&t.set(e.xref,e);for(const n of e.units)for(const i of n.ops())if(i.kind===Bs.Binding)switch(i.bindingKind){case Hs.Attribute:if("ngNonBindable"===i.name)oa.remove(i),qa(t,i.target).nonBindable=!0;else if(i.name.startsWith("animate."))oa.replace(i,xo(i.name,i.target,"animate.enter"===i.name?"enter":"leave",i.expression,i.securityContext,i.sourceSpan,0));else{const[e,t]=An(i.name);oa.replace(i,bo(i.target,e,t,i.expression,i.securityContext,i.isTextAttribute,i.isStructuralTemplateAttribute,i.templateKind,i.i18nMessage,i.sourceSpan))}break;case Hs.Animation:oa.replace(i,xo(i.name,i.target,"animate.enter"===i.name?"enter":"leave",i.expression,i.securityContext,i.sourceSpan,1));break;case Hs.Property:case Hs.LegacyAnimation:e.mode===Oa.DomOnly&&Ua(i.name)?oa.replace(i,bo(i.target,null,i.name,i.expression,i.securityContext,!1,i.isStructuralTemplateAttribute,i.templateKind,i.i18nMessage,i.sourceSpan)):e.kind===Ma.Host?oa.replace(i,Aa(i.name,i.expression,i.bindingKind,i.i18nContext,i.securityContext,i.sourceSpan)):oa.replace(i,po(i.target,i.name,i.expression,i.bindingKind,i.securityContext,i.isStructuralTemplateAttribute,i.templateKind,i.i18nContext,i.i18nMessage,i.sourceSpan));break;case Hs.TwoWayProperty:if(!(i.expression instanceof ee))throw new Error(`Expected value of two-way property binding "${i.name}" to be an expression`);oa.replace(i,fo(i.target,i.name,i.expression,i.securityContext,i.isStructuralTemplateAttribute,i.templateKind,i.i18nContext,i.i18nMessage,i.sourceSpan));break;case Hs.I18n:case Hs.ClassName:case Hs.StyleProperty:throw new Error(`Unhandled binding of kind ${Hs[i.bindingKind]}`)}}},{kind:Ma.Both,fn:function(e){const t=new Map;for(const n of e.units)for(const e of n.create)ca(e)&&t.set(e.xref,e);for(const n of e.units)for(const i of n.ops())if(i.kind===Bs.AnimationBinding){const r=nl(i);e.kind===Ma.Host?n.create.push(r):oa.insertAfter(r,tl(t,i.target)),oa.remove(i)}}},{kind:Ma.Both,fn:function(e){for(const t of e.units){const n=ja(t);for(const i of t.ops())switch(i.kind){case Bs.Attribute:za(t,i,n);break;case Bs.Property:if(i.bindingKind!==Hs.LegacyAnimation&&i.bindingKind!==Hs.Animation){let e;
1e=null!==i.i18nMessage&&null===i.templateKind?Hs.I18n:i.isStructuralTemplateAttribute?Hs.Template:Hs.Property,oa.insertBefore(_a(i.target,e,null,i.name,null,null,null,i.securityContext),Ha(n,i.target))}break;case Bs.TwoWayProperty:oa.insertBefore(_a(i.target,Hs.TwoWayProperty,null,i.name,null,null,null,i.securityContext),Ha(n,i.target));break;case Bs.StyleProp:case Bs.ClassProp:t.job.compatibility===js.TemplateDefinitionBuilder&&i.expression instanceof Go&&oa.insertBefore(_a(i.target,Hs.Property,null,i.name,null,null,null,l.STYLE),Ha(n,i.target));break;case Bs.Listener:if(!i.isLegacyAnimationListener){const r=_a(i.target,Hs.Property,null,i.name,null,null,null,l.NONE);if(e.kind===Ma.Host){if(e.compatibility)break;t.create.push(r)}else oa.insertBefore(r,Ha(n,i.target))}break;case Bs.TwoWayListener:if(e.kind!==Ma.Host){const e=_a(i.target,Hs.Property,null,i.name,null,null,null,l.NONE);oa.insertBefore(e,Ha(n,i.target))}}}}},{kind:Ma.Tmpl,fn:function(e){const t=new Map;for(const n of e.units)for(const i of n.ops())switch(i.kind){case Bs.Binding:case Bs.Property:case Bs.Attribute:case Bs.ExtractedAttribute:if(null===i.i18nMessage)continue;if(!t.has(i.i18nMessage)){const r=Ta(Zs.Attr,e.allocateXrefId(),null,i.i18nMessage,null);n.create.push(r),t.set(i.i18nMessage,r.xref)}i.i18nContext=t.get(i.i18nMessage)}const n=new Map;for(const t of e.units)for(const i of t.create)if(i.kind===Bs.I18nStart&&i.xref===i.root){const r=Ta(Zs.RootI18n,e.allocateXrefId(),i.xref,i.message,null);t.create.push(r),i.context=r.xref,n.set(i.xref,r)}for(const t of e.units)for(const e of t.create)if(e.kind===Bs.I18nStart&&e.xref!==e.root){const t=n.get(e.root);if(void 0===t)throw Error("AssertionError: Root i18n block i18n context should have been created.");e.context=t.xref,n.set(e.xref,t)}let i=null;for(const t of e.units)for(const r of t.create)switch(r.kind){case Bs.I18nStart:i=r;break;case Bs.I18nEnd:i=null;break;case Bs.IcuStart:if(null===i)throw Error("AssertionError: Unexpected ICU outside of an i18n block.");if(r.message.id!==i.message.id){const n=Ta(Zs.Icu,e.allocateXrefId(),i.root,r.message,null);t.create.push(n),r.context=n.xref}else r.context=i.context,n.get(i.xref).contextKind=Zs.Icu}}},{kind:Ma.Both,fn:function(e){const t=new Map;for(const n of e.units)for(const e of n.create)ca(e)&&t.set(e.xref,e);for(const n of e.units)for(const e of n.create)if(e.kind===Bs.ExtractedAttribute&&e.bindingKind===Hs.Attribute&&sa(e.expression)){const n=t.get(e.target);if(void 0!==n&&(n.kind===Bs.Template||n.kind===Bs.ConditionalCreate||n.kind===Bs.ConditionalBranchCreate)&&n.templateKind===Ys.Structural)continue;if("style"===e.name){const t=Eu(e.expression.value);for(let n=0;n<t.length-1;n+=2)oa.insertBefore(_a(e.target,Hs.StyleProperty,null,t[n],Qe(t[n+1]),null,null,l.STYLE),e);oa.remove(e)}else if("class"===e.name){const t=e.expression.value.trim().split(/\s+/g);for(const n of t)oa.insertBefore(_a(e.target,Hs.ClassName,null,n,null,null,null,l.NONE),e);oa.remove(e)}}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const e of t.update)switch(e.kind){case Bs.Attribute:case Bs.Binding:case Bs.ClassProp:case Bs.ClassMap:case Bs.Property:case Bs.StyleProp:case Bs.StyleMap:e.expression instanceof Go&&oa.remove(e)}}},{kind:Ma.Both,fn:function(e){for(const t of e.units)for(const e of t.update)(e.kind===Bs.Attribute||e.kind===Bs.StyleProp||e.kind==Bs.StyleMap||e.kind===Bs.ClassMap)&&e.expression instanceof uo&&2===e.expression.strings.length&&e.expression.strings.every(e=>""===e)&&(e.expression=e.expression.expressions[0])}},{kind:Ma.Both,fn:function(e){for(const t of e.units){ju(t.create,Bu);const e=t.job.kind===Ma.Host?Vu:Fu;ju(t.update,e)}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const n of t.ops()){if(n.kind!==Bs.Conditional)continue;let t;const i=n.conditions.findIndex(e=>null===e.expr);if(i>=0){const e=n.conditions.splice(i,1)[0].targetSlot;t=new Ko(e)}else t=Qe(-1);let r=null==n.test?null:new Zo(n.test,e.allocateXrefId()),s=null;for(let i=n.conditions.length-1;i>=0;i--){let o=n.conditions[i];if(null!==o.expr){if(null!==r){const e=0===i?r:new Yo(r.xref);o.expr=new Ee(J.Identical,e,o.expr)}else null!==o.alias&&(s??=e.allocateXrefId(),o.expr=new Zo(o.expr,
1s),n.contextValue=new Yo(s));t=new we(o.expr,new Ko(o.targetSlot),t)}}n.processed=t,n.conditions=[]}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)Wu(t)}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const e of t.create)e.kind===Bs.Defer&&(null!==e.placeholderMinimumTime&&(e.placeholderConfig=new Xo(Ka([e.placeholderMinimumTime]))),null===e.loadingMinimumTime&&null===e.loadingAfterTime||(e.loadingConfig=new Xo(Ka([e.loadingMinimumTime,e.loadingAfterTime]))))}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const e of t.update)na(e,e=>e instanceof jo?e.args.length<=4?e:new Ho(e.target,e.targetSlot,e.name,Ze(e.args),e.args.length):e,ea.None)}},{kind:Ma.Both,fn:function(e){for(const t of e.units)for(const e of t.update)na(e,(e,t)=>t&ea.InChildOperation?e:e instanceof De?Ju(e):e instanceof Oe?Xu(e):e,ea.None)}},{kind:Ma.Tmpl,fn:function(e){const t=e.compatibility===js.TemplateDefinitionBuilder,n=[];let i=0;for(const t of e.units)for(const e of t.create)e.kind===Bs.Projection&&(n.push(e.selector),e.projectionSlotIndex=i++);if(n.length>0){let i=null;if(n.length>1||"*"!==n[0]){const r=n.map(e=>"*"===e?e:_(e));i=e.pool.getConstLiteral(Ka(r),t)}e.contentSelectors=e.pool.getConstLiteral(Ka(n),t),e.root.create.prepend([(r=i,{kind:Bs.ProjectionDef,def:r,...co})])}var r}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const n of t.update){if(n.kind!==Bs.StoreLet)continue;const t={kind:$s.Identifier,name:null,identifier:n.declaredName,local:!0};oa.replace(n,lo(e.allocateXrefId(),t,new Ao(n.target,n.value,n.sourceSpan),Vs.None))}}},{kind:Ma.Tmpl,fn:function(e){gl(e.root,null)}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){t.create.prepend([lo(t.job.allocateXrefId(),{kind:$s.SavedView,name:null,view:t.xref},new Lo,Vs.None)]);for(const n of t.create){if(n.kind!==Bs.Listener&&n.kind!==Bs.TwoWayListener&&n.kind!==Bs.Animation&&n.kind!==Bs.AnimationListener)continue;let i=t!==e.root;if(!i)for(const e of n.handlerOps)Qo(e,e=>{(e instanceof Io||e instanceof Do)&&(i=!0)});i&&Rh(t,n)}}}},{kind:Ma.Both,fn:function(e){for(const t of e.units)for(const e of t.ops())na(e,Va,ea.None)}},{kind:Ma.Both,fn:function(e){for(const t of e.units)xh(t.create),xh(t.update)}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const e of t.create)e.kind===Bs.RepeaterCreate&&(e.track=ia(e.track,t=>{if(t instanceof Eo){if(e.varNames.$index.has(t.name))return Ue("$index");if(t.name===e.varNames.$implicit)return Ue("$item")}return t},ea.None))}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const e of t.update){if(e.kind!==Bs.Variable||e.variable.kind!==$s.Identifier||!(e.initializer instanceof Ao))continue;const t=e.variable.identifier;let n=e;for(;n&&n.kind!==Bs.ListEnd;)na(n,e=>e instanceof Eo&&e.name===t?Qe(void 0):e,ea.None),n=n.prev}}},{kind:Ma.Both,fn:function(e){for(const t of e.units)Mh(t,t.create,null),Mh(t,t.update,null)}},{kind:Ma.Tmpl,fn:function(e){const t=new Map;function n(e){if(t.has(e.xref))return t.get(e.xref);const n=new il;for(const t of e.create)if(ca(t)&&null!==t.localRefs){if(!Array.isArray(t.localRefs))throw new Error("LocalRefs were already processed, but were needed to resolve defer targets.");for(const e of t.localRefs)""===e.target&&n.targets.set(e.name,{xref:t.xref,slot:t.handle})}return t.set(e.xref,n),n}function i(t,i,r){switch(i.trigger.kind){case Gs.Idle:case Gs.Never:case Gs.Immediate:case Gs.Timer:return;case Gs.Hover:case Gs.Interaction:case Gs.Viewport:if(null===i.trigger.targetName){if(null===r)throw new Error("defer on trigger with no target name must have a placeholder block");const t=e.views.get(r);if(null==t)throw new Error("AssertionError: could not find placeholder view for defer on trigger");for(const e of t.create)if(io(e)&&(ca(e)||e.kind===Bs.Projection))return i.trigger.targetXref=e.xref,i.trigger.targetView=r,i.trigger.targetSlotViewSteps=-1,void(i.trigger.targetSlot=e.handle);return}let s=null!==r?e.views.get(r):t,o=null!==r?-1:0;for(;null!==s;){const t=n(s);if(t.targets.has(i.trigger.targetName)){const{xref:e,slot:n}=t.targets.get(i.trigger.targetName);return i.trigger.targetXref=e,i.trigger.targetView=s.xref,i.trigger.targetSlotViewSteps=o,void(i.trigger.targetSlot=n)}s=null!==s.parent?e.views.get(s.parent):null,o++}break;default:throw new Error(`Trigger kind ${i.trigger.kind} not handled`)}}for(const t of e.units){const e=new Map;for(const n of t.create)switch(n.kind){case Bs.Defer:e.set(n.xref,n);break;case Bs.DeferOn:const r=e.get(n.defer);i(t,n,"hydrate"===n.modifier?r.mainView:r.placeholderView)}}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const e of t.create)e.kind===Bs.TwoWayListener&&na(e,e=>{if(!(e instanceof Bo))return e;const{target:t,value:n}=e;if(t instanceof Ie||t instanceof Ae)return hd(t,n).or(t.set(n));if(t instanceof Fo)return hd(t,n);throw new Error("Unsupported expression in two-way action binding.")},ea.InChildOperation)}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const n of t.create)if(n.kind===Bs.RepeaterCreate)if(n.track instanceof te&&"$index"===n.track.name)n.trackByFn=qe(ct.repeaterTrackByIndex);else if(n.track instanceof te&&"$item"===n.track.name)n.trackByFn=qe(ct.repeaterTrackByIdentity);else if(Uh(e.root.xref,n.track))n.usesComponentInstance=!0,n.track.receiver.receiver.view===t.xref?n.trackByFn=n.track.receiver:(n.trackByFn=qe(ct.componentInstance).callFn([]).prop(n.track.receiver.name),n.track=n.trackByFn);else{n.track=ia(n.track,e=>{if(e instanceof jo||e instanceof Ho)throw new Error("Illegal State: Pipes are not allowed in this context");return e instanceof Mo?(n.usesComponentInstance=!0,new Oo(e.view
1)):e},ea.None);const e=new oa;e.push(ao(new He(n.track,n.track.sourceSpan))),n.trackByOps=e}}},{kind:Ma.Both,fn:function(e){for(const t of e.units)_h(t,t.create),_h(t,t.update)}},{kind:Ma.Both,fn:function(e){for(const t of e.units){if(e.kind!==Ma.Host)for(const e of t.create)if(e.kind===Bs.ExtractedAttribute){const t=Ph.get(Nh(e.securityContext))??null;e.trustedValueFn=null!==t?qe(t):null}for(const e of t.update)switch(e.kind){case Bs.Property:case Bs.Attribute:case Bs.DomProperty:case Bs.TwoWayProperty:let t=null;t=Array.isArray(e.securityContext)&&Lh(e.securityContext)?ct.sanitizeUrlOrResourceUrl:Oh.get(Nh(e.securityContext))??null,e.sanitizer=null!==t?qe(t):null}}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const n of t.create)switch(n.kind){case Bs.ElementStart:case Bs.ConditionalCreate:case Bs.ConditionalBranchCreate:case Bs.Template:if(!Array.isArray(n.localRefs))throw new Error("AssertionError: expected localRefs to be an array still");if(n.numSlotsUsed+=n.localRefs.length,n.localRefs.length>0){const t=Tu(n.localRefs);n.localRefs=e.addConst(t)}else n.localRefs=null}}},{kind:Ma.Both,fn:function(e){for(const t of e.units)for(const n of t.ops())na(n,t=>cl(t,{job:e}),ea.None),na(n,ul,ea.None)}},{kind:Ma.Both,fn:function(e){const t=new Set;for(const n of e.units)for(const e of n.ops())Qo(e,e=>{if(e instanceof Ee)switch(e.operator){case J.Exponentiation:Fh(e,t);break;case J.NullishCoalesce:Vh(e,t);break;case J.And:case J.Or:$h(e,t)}});for(const n of e.units)for(const e of n.ops())na(e,e=>e instanceof Te?t.has(e)?e:e.expr:e,ea.None)}},{kind:Ma.Both,fn:function(e){for(const t of e.units)t.create.prepend(Hh(t.create)),t.update.prepend(Hh(t.update))}},{kind:Ma.Both,fn:function(e){for(const t of e.units){Zh(t.create),Zh(t.update);for(const e of t.create)e.kind===Bs.Listener||e.kind===Bs.Animation||e.kind===Bs.AnimationListener||e.kind===Bs.TwoWayListener?Zh(e.handlerOps):e.kind===Bs.RepeaterCreate&&null!==e.trackByOps&&Zh(e.trackByOps);Yh(t.create,e.compatibility),Yh(t.update,e.compatibility);for(const n of t.create)n.kind===Bs.Listener||n.kind===Bs.Animation||n.kind===Bs.AnimationListener||n.kind===Bs.TwoWayListener?Yh(n.handlerOps,e.compatibility):n.kind===Bs.RepeaterCreate&&null!==n.trackByOps&&Yh(n.trackByOps,e.compatibility)}}},{kind:Ma.Both,fn:function(e){const t=new Set,n=new Map;for(const i of e.units)for(const e of i.ops())e.kind===Bs.DeclareLet&&n.set(e.xref,e),Qo(e,e=>{e instanceof Do&&t.add(e.target)});for(const i of e.units)for(const e of i.update)na(e,e=>e instanceof Ao&&!t.has(e.target)?(Bh(e)||oa.remove(n.get(e.target)),e.value):e,ea.None)}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){let n=null,i=null;const r=new Map,s=new Map,o=new Map;for(const a of t.create)switch(a.kind){case Bs.I18nStart:if(null===a.context)throw Error("I18n op should have its context set.");n=a;break;case Bs.I18nEnd:n=null;break;case Bs.IcuStart:if(null===a.context)throw Error("Icu op should have its context set.");i=a;break;case Bs.IcuEnd:i=null;break;case Bs.Text:if(null!==n)if(r.set(a.xref,n),s.set(a.xref,i),null!==a.icuPlaceholder){const t=Sa(e.allocateXrefId(),a.icuPlaceholder,[a.initialValue]);oa.replace(a,t),o.set(a.xref,t)}else oa.remove(a)}for(const e of t.update)if(e.kind===Bs.InterpolateText){if(!r.has(e.target))continue;const t=r.get(e.target),n=s.get(e.target),i=o.get(e.target),a=n?n.context:t.context,l=n?zs.Postproccessing:zs.Creation,c=[];for(let n=0;n<e.interpolation.expressions.length;n++){const r=e.interpolation.expressions[n];c.push(ko(a,t.xref,t.xref,t.handle,r,i?.xref??null,e.interpolation.i18nPlaceholders[n]??null,l,Us.I18nText,"",r.sourceSpan??e.sourceSpan))}oa.replaceWithMany(e,c),void 0!==i&&(i.strings=e.interpolation.strings)}}}},{kind:Ma.Tmpl,fn:function(e){const t=new Map;for(const n of e.units){for(const e of n.create)e.kind===Bs.I18nAttributes&&t.set(e.target,e);for(const e of n.update)switch(e.kind){case Bs.Property:case Bs.Attribute:if(null===e.i18nContext)continue;if(!(e.expression instanceof uo))continue;const n=t.get(e.target);if(void 0===n)throw new Error("AssertionError: An i18n attribute binding instruction requires the owning element to have an I18nAttributes create instruction");if(n.target!==e.target)throw new Error("AssertionError: Expected i18nAttributes target element to match binding target element");const i=[];for(let t=0;t<e.expression.expressions.length;t++){const r=e.expression.expressions[t];if(e.expression.i18nPlaceholders.length!==e.expression.expressions.length)throw new Error(`AssertionError: An i18n attribute binding instruction requires the same number of expressions and placeholders, but found ${e.expression.i18nPlaceholders.length} placeholders and ${e.expression.expressions.length} expressions`);i.push(ko(e.i18nContext,n.target,n.xref,n.handle,r,null,e.expression.i18nPlaceholders[t],zs.Creation,Us.I18nAttribute,e.name,e.sourceSpan))}oa.replaceWithMany(e,i)}}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){const e=new Set;for(const n of t.update)n.kind===Bs.I18nExpression&&e.add(n.i18nOwner);
1for(const n of t.create)if(n.kind===Bs.I18nAttributes){if(e.has(n.xref))continue;oa.remove(n)}}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){let e=t.update.head,n=[],i=null;for(const r of t.create){if(r.kind===Bs.I18nStart)i={blockXref:r.xref,lastSlotConsumer:r.xref};else if(r.kind===Bs.I18nEnd){for(const t of n)t.target=i.lastSlotConsumer,oa.insertBefore(t,e);n.length=0,i=null}if(io(r))for(null!==i&&(i.lastSlotConsumer=r.xref);null!==e.next;){if(null!==i&&e.kind===Bs.I18nExpression&&e.usage===Us.I18nText&&e.i18nOwner===i.blockXref){const t=e;e=e.next,oa.remove(t),n.push(t);continue}let t=!1;if(ro(e)&&e.target!==r.xref?t=!0:e.kind!==Bs.Statement&&e.kind!==Bs.Variable||Qo(e,e=>{!t&&ro(e)&&e.target!==r.xref&&(t=!0)}),t)break;e=e.next}}}}},{kind:Ma.Tmpl,fn:function(e){const t=new Map;for(const n of e.units)for(const e of n.create)e.kind===Bs.I18nContext&&t.set(e.xref,e);for(const n of e.units)for(const e of n.update)e.kind===Bs.I18nExpression&&$a(t,e)&&oa.insertAfter(Co(e.i18nOwner,e.handle,null),e)}},{kind:Ma.Tmpl,fn:function(e){const t=new Map;for(const n of e.units){let e=0;for(const i of n.create)io(i)&&(i.handle.slot=e,t.set(i.xref,i.handle.slot),e+=i.numSlotsUsed);n.decls=e}for(const t of e.units)for(const n of t.ops())if(n.kind===Bs.Template||n.kind===Bs.ConditionalCreate||n.kind===Bs.ConditionalBranchCreate||n.kind===Bs.RepeaterCreate){const t=e.views.get(n.xref);n.decls=t.decls}}},{kind:Ma.Tmpl,fn:function(e){const t=new Map,n=new Map;for(const i of e.units)for(const e of i.create)switch(e.kind){case Bs.I18nContext:t.set(e.xref,e);break;case Bs.ElementStart:n.set(e.xref,e)}kh(e,e.root,t,n)}},{kind:Ma.Tmpl,fn:function(e){const t=new Map,n=new Map,i=new Map;for(const r of e.units)for(const e of r.create)switch(e.kind){case Bs.I18nStart:t.set(e.xref,e.subTemplateIndex);break;case Bs.I18nContext:n.set(e.xref,e);break;case Bs.IcuPlaceholder:i.set(e.xref,e)}const r=new Map,s=e=>e.usage===Us.I18nText?e.i18nOwner:e.context;
1for(const o of e.units)for(const e of o.update)if(e.kind===Bs.I18nExpression){const o=r.get(s(e))||0;Dh(e,{value:o,subTemplateIndex:t.get(e.i18nOwner)??null,flags:qs.ExpressionIndex},n,i),r.set(s(e),o+1)}}},{kind:Ma.Tmpl,fn:function(e){const t=new Map,n=new Map,i=new Map;for(const r of e.units)for(const s of r.create)switch(s.kind){case Bs.I18nContext:const o=dl(e,s);r.create.push(o),t.set(s.xref,o),i.set(s.xref,s);break;case Bs.I18nStart:n.set(s.xref,s)}let r=null;for(const s of e.units)for(const e of s.create)switch(e.kind){case Bs.IcuStart:r=e,oa.remove(e);const s=i.get(e.context);if(s.contextKind!==Zs.Icu)continue;const o=n.get(s.i18nBlock);if(o.context===s.xref)continue;const a=n.get(o.root),l=t.get(a.context);if(void 0===l)throw Error("AssertionError: ICU sub-message should belong to a root message.");const c=t.get(s.xref);c.messagePlaceholder=e.messagePlaceholder,l.subMessages.push(c.xref);break;case Bs.IcuEnd:r=null,oa.remove(e);break;case Bs.IcuPlaceholder:if(null===r||null==r.context)throw Error("AssertionError: Unexpected ICU placeholder outside of i18n context");t.get(r.context).postprocessingParams.set(e.name,Qe(hl(e))),oa.remove(e)}}},{kind:Ma.Tmpl,fn:function(e){const t=e.relativeContextFilePath.replace(/[^A-Za-z0-9]/g,"_").toUpperCase()+"_",n=new Map,i=new Map,r=new Map,s=new Map;for(const t of e.units)for(const e of t.ops())if(e.kind===Bs.ExtractedAttribute&&null!==e.i18nContext){const t=n.get(e.i18nContext)??[];t.push(e),n.set(e.i18nContext,t)}else if(e.kind===Bs.I18nAttributes)i.set(e.target,e);else if(e.kind===Bs.I18nExpression&&e.usage===Us.I18nAttribute){const t=r.get(e.target)??[];t.push(e),r.set(e.target,t)}else e.kind===Bs.I18nMessage&&s.set(e.xref,e);const o=new Map,a=new Map;for(const i of e.units)for(const r of i.create)if(r.kind===Bs.I18nMessage){if(null===r.messagePlaceholder){const{mainVar:i,statements:l}=Cu(e,t,s,r);if(null!==r.i18nBlock){const t=e.addConst(i,l);a.set(r.i18nBlock,t)}else{e.constsInitializers.push(...l),o.set(r.i18nContext,i);const t=n.get(r.i18nContext);if(void 0!==t)for(const e of t)e.expression=i.clone()}}oa.remove(r)}for(const t of e.units)for(const n of t.create)if(ca(n)){const t=i.get(n.xref);if(void 0===t)continue;let s=r.get(n.xref);if(void 0===s)throw new Error("AssertionError: Could not find any i18n expressions associated with an I18nAttributes instruction");const a=new Set;s=s.filter(e=>{const t=a.has(e.name);return a.add(e.name),!t});const l=s.flatMap(e=>{const t=o.get(e.context);if(void 0===t)throw new Error("AssertionError: Could not find i18n expression's value");return[Qe(e.name),t]});t.i18nAttributesConfig=e.addConst(new De(l))}for(const t of e.units)for(const e of t.create)if(e.kind===Bs.I18nStart){const t=a.get(e.root);if(void 0===t)throw new Error("AssertionError: Could not find corresponding i18n block index for an i18n message op; was an i18n message incorrectly assumed to correspond to an attribute?");e.messageIndex=t}}},{kind:Ma.Tmpl,fn:function(e){const t=new Map;for(const n of e.units)for(const e of n.ops())if(e.kind===Bs.ElementStart||e.kind===Bs.Template){let n=e.tag??"";switch(e.namespace){case Ws.SVG:n=`:${Uc}:${n}`;break;case Ws.Math:n=`:${qc}:${n}`}t.set(e.xref,n)}for(const n of e.units)for(const e of n.create)if(e.kind===Bs.ExtractedAttribute&&null!==e.i18nContext&&null!==e.expression){const n=t.get(e.target)??"";let i=e.expression;switch(e.securityContext){case l.HTML:i=qe(ct.sanitizeHtml).callFn([i]);break;case l.STYLE:i=qe(ct.sanitizeStyle).callFn([i]);break;case l.SCRIPT:i=qe(ct.sanitizeScript).callFn([i]);break;case l.URL:i=qe(ct.sanitizeUrl).callFn([i]);break;case l.RESOURCE_URL:i=qe(ct.sanitizeResourceUrl).callFn([i]);break;case l.ATTRIBUTE_NO_BINDING:i=qe(ct.validateAttribute).callFn([i,Qe(n),Qe(e.name)])}e.expression=i}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const n of t.ops())na(n,t=>t instanceof Xo?Qe(e.addConst(t.expr)):t,ea.None)}},{kind:Ma.Both,fn:function(e){const t=new Map;for(const n of e.units)for(const i of n.create)if(i.kind===Bs.ExtractedAttribute){const n=t.get(i.target)||new Qa(e.compatibility);t.set(i.target,n),n.add(i.bindingKind,i.name,i.expression,i.namespace,i.trustedValueFn),oa.remove(i)}if(e instanceof La)for(const n of e.units)for(const i of n.create)if(i.kind==Bs.Projection){const e=t.get(i.xref);if(void 0!==e){const t=el(e);t.entries.length>0&&(i.attributes=t)}}else ca(i)&&(i.attributes=Ja(e,t,i.xref),i.kind===Bs.RepeaterCreate&&null!==i.emptyView&&(i.emptyAttributes=Ja(e,t,i.emptyView)));else if(e instanceof Ba)for(const[n,i]of t.entries()){if(n!==e.root.xref)throw new Error("An attribute would be const collected into the host binding's template function, but is not associated with the root xref.");const t=el(i);t.entries.length>0&&(e.root.attributes=t)}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const e of t.create)switch(e.kind){case Bs.I18nContext:oa.remove(e);break;case Bs.I18nStart:e.context=null}}},{kind:Ma.Both,fn:function(e){for(const t of e.units){let n=0;for(const e of t.ops())so(e)&&(n+=qh(e));for(const i of t.ops())Qo(i,t=>{So(t)&&(e.compatibility===js.TemplateDefinitionBuilder&&t instanceof Vo||(oo(t)&&(t.varOffset=n),so(t)&&(n+=Wh(t))))});if(e.compatibility===js.TemplateDefinitionBuilder)for(const e of t.ops())Qo(e,e=>{So(e)&&e instanceof Vo&&(oo(e)&&(e.varOffset=n),so(e)&&(n+=Wh(e)))});t.vars=n}if(e instanceof La)for(const t of e.units)for(const n of t.create){if(n.kind!==Bs.Template&&n.kind!==Bs.RepeaterCreate&&n.kind!==Bs.C
1onditionalCreate&&n.kind!==Bs.ConditionalBranchCreate)continue;const t=e.views.get(n.xref);n.vars=t.vars}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){const e=new Map;for(const n of t.create)if(io(n)){if(null===n.handle.slot)throw new Error("AssertionError: expected slots to have been allocated before generating advance() calls");e.set(n.xref,n.handle.slot)}let n=0;for(const i of t.update){let t=null;if(ro(i)?t=i:Qo(i,e=>{null===t&&ro(e)&&(t=e)}),null===t)continue;if(!e.has(t.target))throw new Error(`AssertionError: reference to unknown slot for target ${t.target}`);const r=e.get(t.target);if(n!==r){const e=r-n;if(e<0)throw new Error("AssertionError: slot counter should never need to move backwards");oa.insertBefore(wo(e,t.sourceSpan),i),n=r}}}}},{kind:Ma.Both,fn:function(e){Au(e.root,e.componentName,{index:0},e.compatibility===js.TemplateDefinitionBuilder)}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const n of t.create)if(n.kind===Bs.Defer){if(null!==n.resolverFn)continue;if(null!==n.ownResolverFn){if(null===n.handle.slot)throw new Error("AssertionError: slot must be assigned before extracting defer deps functions");const i=t.fnName?.replace("_Template","");n.resolverFn=e.pool.getSharedFunctionReference(n.ownResolverFn,`${i}_Defer_${n.handle.slot}_DepsFn`,!1)}}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){for(const e of t.create)e.kind!==Bs.Listener&&e.kind!==Bs.Animation&&e.kind!==Bs.AnimationListener&&e.kind!==Bs.TwoWayListener||Pu(e.handlerOps);Pu(t.update)}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units){const e=new Set;for(const n of t.create)n.kind===Bs.ElementStart&&"ng-container"===n.tag&&(n.kind=Bs.ContainerStart,e.add(n.xref)),n.kind===Bs.ElementEnd&&e.has(n.xref)&&(n.kind=Bs.ContainerEnd)}}},{kind:Ma.Tmpl,fn:function(e){for(const t of e.units)for(const e of t.create){const t=rl.get(e.kind);if(void 0===t)continue;const[n,i]=t;let r=e.prev;for(;null!==r&&sl.has(r.kind);)r=r.prev;null!==r&&r.kind===n&&(r.kind=i,oa.remove(e))}}},{kind:Ma.Tmpl,fn:function(e){if(e.enableDebugLocations&&null!==e.relativeTemplatePath)for(const t of e.units){const n=[];for(const e of t.create)if(e.kind===Bs.ElementStart||e.kind===Bs.Element){const t=e.startSourceSpan.start;n.push({targetSlot:e.handle,offset:t.offset,line:t.line,column:t.col})}n.length>0&&t.create.push(Ia(e.relativeTemplatePath,n))}}},{kind:Ma.Tmpl,fn:function(e){const t=new Map;for(const n of e.units)for(const e of n.create)ca(e)&&t.set(e.xref,e);for(const n of e.units)for(const e of n.create)e.kind!==Bs.ElementStart&&e.kind!==Bs.ContainerStart||!e.nonBindable||oa.insertAfter(pa(e.xref),e),e.kind!==Bs.ElementEnd&&e.kind!==Bs.ContainerEnd||!Lu(t,e.xref).nonBindable||oa.insertBefore(fa(e.xref),e)}},{kind:Ma.Both,fn:function(e){for(const t of e.units)for(const n of t.ops())Qo(n,t=>{if(!(t instanceof Vo)||null===t.body)return;const n=new Ku(t.args.length);t.fn=e.pool.getSharedConstant(n,t.body),t.body=null})}},{kind:Ma.Both,fn:function(e){for(const t of e.units)fh(t,t.create),mh(t,t.update)}},{kind:Ma.Both,fn:function(e){for(const t of e.units)Ga(t.create),Ga(t.update)}}];function rp(e,t){for(const n of ip)n.kind!==t&&n.kind!==Ma.Both||n.fn(e)}function sp(e,t){const n=ap(e.root);return op(e.root,t),n}function op(e,t){for(const n of e.job.units){if(n.parent!==e.xref)continue;op(n,t);const i=ap(n);t.statements.push(i.toDeclStmt(i.name))}}function ap(e){if(null===e.fnName)throw new Error(`AssertionError: view ${e.xref} is unnamed`);const t=[];for(const n of e.create){if(n.kind!==Bs.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${Bs[n.kind]}`);t.push(n.statement)}const n=[];for(const t of e.update){if(t.kind!==Bs.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${Bs[t.kind]}`);n.push(t.statement)}const i=lp(1,t),r=lp(2,n);return Ke([new xe("rf"),new xe("ctx")],[...i,...r],void 0,void 0,e.fnName)}function lp(e,t){return 0===t.length?[]:[Xe(new Ee(J.BitwiseAnd,Ue("rf"),Qe(e)),t)]}const cp=".",up="animate";class dp{_exprParser;_interpolationConfig;_schemaRegistry;errors;constructor(e,t,n,i){this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=n,this.errors=i}get interpolationConfig(){return this._interpolationConfig}createBoundHostProperties(e,t){const n=[];for(const i of Object.keys(e)){const r=e[i];"string"==typeof r?this.parsePropertyBinding(i,r,!0,!1,t,t.start.offset,void 0,[],n,t):this._reportError(`Value of the host property binding "${i}" needs to be a string representing an expression but got "${r}" (${typeof r})`,t)}return n}createDirectiveHostEventAsts(e,t){const n=[];for(const i of Object.keys(e)){const r=e[i];"string"==typeof r?this.parseEvent(i,r,!1,t,t,[],n,t):this._reportError(`Value of the host listener "${i}" needs to be a string representing an expression but got "${r}" (${typeof r})`,t)}return n}parseInterpolation(e,t,n){const i=t.fullStart.offset;try{const r=this._exprParser.parseInterpolation(e,t,i,n,this._interpolationConfig);return r&&this.errors.push(...r.errors),r}catch(e){return this._reportError(`${e}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,i)}}parseInterpolationExpression(e,t){const n=t.start.offset;try{const i=this._exprParser.parseInterpolationExpression(e,t,n);return i&&this.errors.push(...i.errors),i}catch(e){return this._reportError(`${e}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,n)}}parseInlineTemplateBinding(e,t,n,i,r,s,o,a){const l=n.start.offset+1,c=this._parseTemplateBindings(e,t,n,l,i);for(const e of c){const t=mp(n,e.sourceSpan),l=e.key.source,c=mp(n,e.key.span);if(e instanceof yn){const i=e.value?e.value.source:"$implicit",r=e.value?mp(n,e.value.span):void 0;o.push(new En(l,i,t,c,r))}else if(e.value){const i=a?t:n,o=mp(n,e.value.ast.sourceSpan);this._parsePropertyAst(l,e.value,!1,i,c,o,r,s)}else r.push([l,""]),this.parseLiteralAttr(l,null,c,i,void 0,r,s,c)}}_parseTemplateBindings(e,t,n,i,r){try{const s=this._exprParser.parseTemplateBindings(e,t,n,i,r);
1return s.errors.forEach(e=>this.errors.push(e)),s.warnings.forEach(e=>{this._reportError(e,n,Sr.WARNING)}),s.templateBindings}catch(e){return this._reportError(`${e}`,n),[]}}parseLiteralAttr(e,t,n,i,r,s,o,a){pp(e)?(e=e.substring(1),void 0!==a&&(a=mp(a,new gn(a.start.offset+1,a.end.offset))),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',n,Sr.ERROR),this._parseLegacyAnimation(e,t,n,i,a,r,s,o)):o.push(new _n(e,this._exprParser.wrapLiteralPrimitive(t,"",i),xn.LITERAL_ATTR,n,a,r))}parsePropertyBinding(e,t,n,i,r,s,o,a,l,c){0===e.length&&this._reportError("Property name is missing in binding",r);let u=!1;e.startsWith("animate-")?(u=!0,e=e.substring(8),void 0!==c&&(c=mp(c,new gn(c.start.offset+8,c.end.offset)))):pp(e)&&(u=!0,e=e.substring(1),void 0!==c&&(c=mp(c,new gn(c.start.offset+1,c.end.offset)))),u?this._parseLegacyAnimation(e,t,r,s,c,o,a,l):e.startsWith(`${up}${cp}`)?this._parseAnimation(e,this.parseBinding(t,n,o||r,s),r,c,o,a,l):this._parsePropertyAst(e,this.parseBinding(t,n,o||r,s),i,r,c,o,a,l)}parsePropertyInterpolation(e,t,n,i,r,s,o,a){const l=this.parseInterpolation(t,i||n,a);return!!l&&(this._parsePropertyAst(e,l,!1,n,o,i,r,s),!0)}_parsePropertyAst(e,t,n,i,r,s,o,a){o.push([e,t.source]),a.push(new _n(e,t,n?xn.TWO_WAY:xn.DEFAULT,i,r,s))}_parseAnimation(e,t,n,i,r,s,o){s.push([e,t.source]),o.push(new _n(e,t,xn.ANIMATION,n,i,r))}_parseLegacyAnimation(e,t,n,i,r,s,o,a){0===e.length&&this._reportError("Animation trigger is missing",n);const l=this.parseBinding(t||"undefined",!1,s||n,i);o.push([e,l.source]),a.push(new _n(e,l,xn.LEGACY_ANIMATION,n,r,s))}parseBinding(e,t,n,i){try{const r=t?this._exprParser.parseSimpleBinding(e,n,i,this._interpolationConfig):this._exprParser.parseBinding(e,n,i,this._interpolationConfig);return r&&this.errors.push(...r.errors),r}catch(e){return this._reportError(`${e}`,n),this._exprParser.wrapLiteralPrimitive("ERROR",n,i)}}createBoundElementProperty(e,t,n=!1,i=!0){if(t.isLegacyAnimation)return new In(t.name,Cn.LegacyAnimation,l.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let r,s=null,o=null;const a=t.name.split(cp);let c;if(a.length>1)if("attr"==a[0]){o=a.slice(1).join(cp),n||this._validatePropertyOrAttributeName(o,t.sourceSpan,!0),c=fp(this._schemaRegistry,e,o,!0);const i=o.indexOf(":");if(i>-1){const e=o.substring(0,i),t=o.substring(i+1);o=Pn(e,t)}r=Cn.Attribute}else"class"==a[0]?(o=a[1],r=Cn.Class,c=[l.NONE]):"style"==a[0]?(s=a.length>2?a[2]:null,o=a[1],r=Cn.Style,c=[l.STYLE]):a[0]==up&&(o=t.name,r=Cn.Animation,c=[l.NONE]);if(null===o){const s=this._schemaRegistry.getMappedPropName(t.name);o=i?s:t.name,c=fp(this._schemaRegistry,e,s,!1),r=t.type===xn.TWO_WAY?Cn.TwoWay:Cn.Property,n||this._validatePropertyOrAttributeName(s,t.sourceSpan,!1)}return new In(o,r,c[0],t.expression,s,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,n,i,r,s,o,a){0===e.length&&this._reportError("Event name is missing in binding",i),pp(e)?(e=e.slice(1),void 0!==a&&(a=mp(a,new gn(a.start.offset+1,a.end.offset))),this._parseLegacyAnimationEvent(e,t,i,r,o,a)):this._parseRegularEvent(e,t,n,i,r,s,o,a)}calcPossibleSecurityContexts(e,t,n){const i=this._schemaRegistry.getMappedPropName(t);return fp(this._schemaRegistry,e,i,n)}parseEventListenerName(e){const[t,n]=function(e,t){return dt(e,":",t)}(e,[null,e]);return{eventName:n,target:t}}parseLegacyAnimationEventName(e){const t=function(e,t){return dt(e,".",t)}(e,[e,null]);return{eventName:t[0],phase:null===t[1]?null:t[1].toLowerCase()}}_parseLegacyAnimationEvent(e,t,n,i,r,s){const{eventName:o,phase:a}=this.parseLegacyAnimationEventName(e),l=this._parseAction(t,i);r.push(new Tn(o,a,kn.LegacyAnimation,l,n,i,s)),0===o.length&&this._reportError("Animation event name is missing in binding",n),a?"start"!==a&&"done"!==a&&this._reportError(`The provided animation output phase value "${a}" for "@${o}" is not supported (use start or done)`,n):this._reportError(`The animation trigger output event (@${o}) is missing its phase value name (start or done are currently supported)`,n)}_parseRegularEvent(e,t,n,i,r,s,o,a){const{eventName:l,target:c}=this.parseEventListenerName(e),u=this.errors.length,d=this._parseAction(t,r),h=this.errors.length===u;s.push([e,d.source]),n&&h&&!this._isAllowedAssignmentEvent(d)&&this._reportError("Unsupported expression in a two-way binding",i);let p=kn.Regular;n&&(p=kn.TwoWay),e.startsWith(`${up}${cp}`)&&(p=kn.Animation),o.push(new Tn(l,c,p,d,i,r,a))}_parseAction(e,t){const n=t&&t.start?t.start.offset:0;try{const i=this._exprParser.parseAction(e,t,n,this._interpolationConfig);return i&&this.errors.push(...i.errors),!i||i.ast instanceof Ht?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",t,n)):i}catch(e){return this._reportError(`${e}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,n)}}_reportError(e,t,n=Sr.ERROR){this.errors.push(new Tr(t,e,n))}_validatePropertyOrAttributeName(e,t,n){const i=n?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);i.error&&this._reportError(i.msg,t,Sr.ERROR)}_isAllowedAssignmentEvent(e){return e instanceof vn?this._isAllowedAssignmentEvent(e.ast):e instanceof cn?this._isAllowedAssignmentEvent(e.expression):e instanceof un&&1===e.args.length&&e.receiver instanceof Gt&&"$any"===e.receiver.name&&e.receiver.receiver instanceof zt&&!(e.receiver.receiver instanceof Ut)?this._isAllowedAssignmentEvent(e.args[0]):(e instanceof Gt||e instanceof Yt)&&!hp(e)}}function hp(e){return e instanceof Zt||e instanceof Kt||(e instanceof mn?hp(e.expression):(e instanceof Gt||e instanceof Yt||e instanceof un)&&hp(e.receiver))}function pp(e){return"@"==e[0]}function fp(e,t,i,r){let s;const[o,a]=t?An(t,!1):[null,t],c=t=>{const[n,s]=An(t,!1),a=n??o,l=a?`:${a}:${s}`:s;return e.securityContext(l,i,r)},u=e.allKnownElementNames();
1return null===a?s=u.map(c):(s=[],n.parse(a).forEach(t=>{let n=t.element?[t.element]:u;if(t.element&&!e.hasElement(t.element,[])){const i=`:${Uc}:${t.element}`,r=`:${qc}:${t.element}`;e.hasElement(i,[])?n=[i]:e.hasElement(r,[])&&(n=[r])}const i=new Set(t.notSelectors.filter(e=>e.isElementSelector()).map(e=>e.element?.toLowerCase())),r=n.filter(e=>{const t=e.toLowerCase();return!i.has(t)&&!i.has(An(t)[1])});s.push(...r.map(c))})),0===s.length?[l.NONE]:Array.from(new Set(s)).sort()}function mp(e,t){const n=t.start-e.start.offset,i=t.end-e.end.offset;return new Cr(e.start.moveBy(n),e.end.moveBy(i),e.fullStart.moveBy(n),e.details)}const gp=js.TemplateDefinitionBuilder,vp=new Jc,yp="ng-template";function bp(e){return e instanceof yi}function wp(e,t,n,i){const r=e.calcPossibleSecurityContexts(t,n,i),s=fp(vp,null,vp.getMappedPropName(n),i),o=s.filter(e=>e!==l.NONE),a=o.length;return a!==s.length&&a>0||o.some(e=>!r.includes(e))?s:r.filter(e=>e!==l.NONE)}function _p(e,t,n,i){let r;const s=t.expression.ast;r=s instanceof nn?new uo(s.strings,s.expressions.map(n=>Vp(n,e,t.sourceSpan)),[]):Vp(s,e,t.sourceSpan),e.root.update.push(ho(e.root.xref,n,t.name,r,null,i,!1,!1,null,null,t.sourceSpan))}function xp(e,t,n,i){const r=ho(e.root.xref,Hs.Attribute,t,n,null,i,!0,!1,null,null,n.sourceSpan);e.root.update.push(r)}function kp(e,t){let n;if(t.type===kn.Animation)n=va(e.root.xref,new aa,t.name,null,qp(e.root,t.handler,t.handlerSpan),t.name.endsWith("enter")?"enter":"leave",t.targetOrPhase,!0,t.sourceSpan);else{const[i,r]=t.type!==kn.LegacyAnimation?[null,t.targetOrPhase]:[t.targetOrPhase,null];n=ga(e.root.xref,new aa,t.name,null,qp(e.root,t.handler,t.handlerSpan),i,r,!0,t.sourceSpan)}e.root.create.push(n)}function Cp(e,t){for(const n of t)if(n instanceof $n)Sp(e,n);else if(n instanceof di)Tp(e,n);else if(n instanceof hi)Ep(e,n);else if(n instanceof Nn)Ip(e,n,null);else if(n instanceof Rn)Ap(e,n,null);else if(n instanceof si)Dp(e,n);else if(n instanceof ti)Mp(e,n);else if(n instanceof ei)Pp(e,n);else if(n instanceof mi)Np(e,n);else if(n instanceof ii)Rp(e,n);else if(n instanceof li)Fp(e,n);else if(!(n instanceof ci))throw new Error(`Unsupported template node: ${n.constructor.name}`)}function Sp(e,t){if(void 0!==t.i18n&&!(t.i18n instanceof yi||t.i18n instanceof xi))throw Error(`Unhandled i18n metadata type for element: ${t.i18n.constructor.name}`);const n=e.job.allocateXrefId(),[i,r]=An(t.name),s=(o=r,a=n,l=Ya(i),c=t.i18n instanceof xi?t.i18n:void 0,u=t.startSourceSpan,d=t.sourceSpan,{kind:Bs.ElementStart,xref:a,tag:o,handle:new aa,attributes:null,localRefs:[],nonBindable:!1,namespace:l,i18nPlaceholder:c,startSourceSpan:u,wholeSourceSpan:d,...eo,...co});var o,a,l,c,u,d;e.create.push(s),function(e,t,n){let i=new Array,r=new Set;for(const s of n.attributes){const[o,a]=An(n.name);let l=o;if(!o)switch(t.namespace){case Ws.SVG:l=Uc;break;case Ws.Math:l=qc}const c=vp.securityContext(l?`:${l}:${a}`:a,s.name,!0);i.push(ho(t.xref,Hs.Attribute,s.name,jp(e.job,s.value,s.i18n),null,c,!0,!1,null,zp(s.i18n),s.sourceSpan)),s.i18n&&r.add(s.name)}for(const s of n.inputs)r.has(s.name)&&console.error(`On component ${e.job.componentName}, the binding ${s.name} is both an i18n attribute and a property. You may want to remove the property binding. This will become a compilation error in future versions of Angular.`),i.push(ho(t.xref,Hp.get(s.type),s.name,jp(e.job,Gp(s.value),s.i18n),s.unit,s.securityContext,!1,!1,null,zp(s.i18n)??null,s.sourceSpan));e.create.push(i.filter(e=>e?.kind===Bs.ExtractedAttribute)),e.update.push(i.filter(e=>e?.kind===Bs.Binding));for(const i of n.outputs){if(i.type===kn.LegacyAnimation&&null===i.phase)throw Error("Animation listener should have a phase");i.type===kn.TwoWay?e.create.push(ya(t.xref,t.handle,i.name,t.tag,Wp(e,i.handler,i.handlerSpan),i.sourceSpan)):i.type===kn.Animation?e.create.push(va(t.xref,t.handle,i.name,t.tag,qp(e,i.handler,i.handlerSpan),i.name.endsWith("enter")?"enter":"leave",i.target,!1,i.sourceSpan)):e.create.push(ga(t.xref,t.handle,i.name,t.tag,qp(e,i.handler,i.handlerSpan),i.phase,i.target,!1,i.sourceSpan))}null!==i.some(e=>e?.i18nMessage)&&e.create.push(Ea(e.job.allocateXrefId(),new aa,t.xref))}(e,s,t),Zp(s,t);let h=null;t.i18n instanceof yi&&(h=e.job.allocateXrefId(),e.create.push(ka(h,t.i18n,void 0,t.startSourceSpan))),Cp(e,t.children);const p=function(e,t){return{kind:Bs.ElementEnd,xref:e,sourceSpan:t,...co}}(n,t.endSourceSpan??t.startSourceSpan);e.create.push(p),null!==h&&oa.insertBefore(Ca(h,t.endSourceSpan??t.startSourceSpan),p)}function Tp(e,t){if(void 0!==t.i18n&&!(t.i18n instanceof yi||t.i18n instanceof xi))throw Error(`Unhandled i18n metadata type for template: ${t.i18n.constructor.name}`);const n=e.job.allocateView(e.xref);let i=t.tagName,r="";t.tagName&&([r,i]=An(t.tagName));const s=t.i18n instanceof xi?t.i18n:void 0,o=Ya(r),a=null===i?"":function(e,t){return t===Ws.HTML?e:`:${function(e){const t=new Map([["svg",Ws.SVG],["math",Ws.Math]]);for(const[n,i]of t.entries())if(i===e)return n;return null}(t)}:${e}`}(i,o),l=function(e){return An(e.tagName??"")[1]===yp}(t)?Ys.NgTemplate:Ys.Structural,c=ua(n.xref,l,i,a,o,s,t.startSourceSpan,t.sourceSpan);e.create.push(c),function(e,t,n,i){let r=new Array;for(const s of n.templateAttrs)if(s instanceof Bn){const n=vp.securityContext(yp,s.name,!0);r.push(Up(e,t.xref,Cn.Attribute,s.name,s.value,null,n,!0,i,zp(s.i18n),s.sourceSpan))}else r.push(Up(e,t.xref,s.type,s.name,Gp(s.value),s.unit,s.securityContext,!0,i,zp(s.i18n),s.sourceSpan));for(const s of n.attributes){const n=vp.securityContext(yp,s.name,!0);r.push(Up(e,t.xref,Cn.Attribute,s.name,s.value,null,n,!1,i,zp(s.i18n),s.sourceSpan))}for(const s of n.inputs)r.push(Up(e,t.xref,s.type,s.name,Gp(s.value),s.unit,s.securityContext,!1,i,zp(s.i18n),s.sourceSpan));e.create.push(r.filter(e=>e?.kind===Bs.ExtractedAttribute)),e.update.push(r.filter(e=>e?.kind===Bs.Binding));for(const r of n.outputs){if(r.type===kn.LegacyAnimation&&null===r.phase)throw Error("Animation listener should have a phase");if(i===Ys.NgTemplate&&(r.type===kn.TwoWay?e.create.push(ya(t.xref,t.handle,r.name,t.tag,Wp(e,r.handler,r.handlerSpan),r.sourceSpan)):e.create.push(ga(t.xref,t.handle,r.name,t.tag,qp(e,r.handler,r.handlerSpan),r.phase,r.target,!1,r.sourceSpan))),i===Ys.Structural&&r.type!==kn.LegacyAnimation){const n=vp.securityContext(yp,r.name,!1);e.create.push(_a(t.xref,Hs.Property,null,r.name,null,null,null,n))}}null!==r.some(e=>e?.i18nMessage)&&e.create.push(Ea(e.job.allocateXrefId(),new aa,t.xref))}(e,c,t,l),Zp(c,t),Cp(n,t.children);for(const{name:e,value:i}of t.variables)n.contextVariables.set(e,""!==i?i:"$implicit");if(l===Ys.NgTemplate&&t.i18n instanceof yi){const i=e.job.allocateXrefId();oa.insertAfter(ka(i,t.i18n,void 0,t.startSourceSpan),n.create.head),oa.insertBefore(Ca(i,t.endSourceSpan??t.startSourceSpan),n.create.tail)}}function Ep(e,t){if(void 0!==t.i18n&&!(t.i18n instanceof xi))throw Error(`Unhandled i18n metadata type for element: ${t.i18n.constructor.name}`);let n=null;t.children.some(e=>!(e instanceof Ln||e instanceof Nn&&!(e.value.trim().length>0)))&&(n=e.job.allocateView(e.xref),Cp(n,t.children));const i=function(e,t,n,i,r){return{kind:Bs.Projection,xref:e,handle:new aa,selector:t,i18nPlaceholder:n,fallbackView:i,projectionSlotIndex:0,attributes:null,localRefs:[],sourceSpan:r,...co,...eo,numSlotsUsed:null===i?1:2}}(e.job.allocateXrefId(),t.selector,t.i18n,n?.xref??null,t.sourceSpan);for(const n of t.attributes){const r=vp.securityContext(t.name,n.name,!0);e.update.push(ho(i.xref,Hs.Attribute,n.name,Qe(n.value),null,r,!0,!1,null,zp(n.i18n),n.sourceSpan))}e.create.push(i)}function Ip(e,t,n){e.create.push(ma(e.job.allocateXrefId(),t.value,n,t.sourceSpan))}function Ap(e,t,n){let i=t.value;if(i instanceof vn&&(i=i.ast),!(i instanceof nn))throw new Error(`AssertionError: expected Interpolation for BoundText node, got ${i.constructor.name}`);if(void 0!==t.i18n&&!(t.i18n instanceof wi))throw Error(`Unhandled i18n metadata type for text interpolation: ${t.i18n?.constructor.name}`);const r=t.i18n instanceof wi?t.i18n.children.filter(e=>e instanceof ki).map(e=>e.name):[];if(r.length>0&&r.length!==i.expressions.length)throw Error(`Unexpected number of i18n placeholders (${i.expressions.length}) for BoundText with ${i.expressions.length} expressions`);const s=e.job.allocateXrefId();e.create.push(ma(s,"",n,t.sourceSpan));const o=e.job.compatibility?null:t.sourceSpan;var a,l,c;e.update.push((a=s,l=new uo(i.strings,i.expressions.map(t=>Vp(t,e.job,o)),r),c=t.sourceSpan,{kind:Bs.InterpolateText,target:a,interpolation:l,sourceSpan:c,...to,...no,...co}))}function Dp(e,t){let n=null,i=[];for(let r=0;r<t.branches.length;r++){const s=t.branches[r],o=e.job.allocateView(e.xref),a=Kp(e,o.xref,s);let l;if(null!==s.expressionAlias&&o.contextVariables.set(s.expressionAlias.name,Da),void 0!==s.i18n){if(!(s.i18n instanceof Si))throw Error(`Unhandled i18n metadata type for if block: ${s.i18n?.constructor.name}`);l=s.i18n}const c=(0===r?da:ha)(o.xref,Ys.Block,a,"Conditional",Ws.HTML,l,s.startSourceSpan,s.sourceSpan);e.create.push(c),null===n&&(n=o.xref);const u=s.expression?Vp(s.expression,e.job,null):null,d=new Jo(u,c.xref,c.handle,s.expressionAlias);i.push(d),Cp(o,s.children)}e.update.push(_o(n,null,i,t.sourceSpan))}function Mp(e,t){if(0===t.cases.length)return;let n=null,i=[];for(let r=0;r<t.cases.length;r++){const s=t.cases[r],o=e.job.allocateView(e.xref),a=Kp(e,o.xref,s);let l;if(void 0!==s.i18n){if(!(s.i18n instanceof Si))throw Error(`Unhandled i18n metadata type for switch block: ${s.i18n?.constructor.name}`);l=s.i18n}const c=(0===r?da:ha)(o.xref,Ys.Block,a,"Case",Ws.HTML,l,s.startSourceSpan,s.sourceSpan);e.create.push(c),null===n&&(n=o.xref);const u=s.expression?Vp(s.expression,e.job,t.startSourceSpan):null,d=new Jo(u,c.xref,c.handle);i.push(d),Cp(o,s.children)}e.update.push(_o(n,Vp(t.expression,e.job,null),i,t.sourceSpan))}function Op(e,t,n,i,r){if(void 0!==n&&!(n instanceof Si))throw Error("Unhandled i18n metadata type for defer block");if(void 0===i)return null;const s=e.job.allocateView(e.xref);Cp(s,i);const o=ua(s.xref,Ys.Block,null,`Defer${t}`,Ws.HTML,n,r,r);return e.create.push(o),o}function Pp(e,t){let n=null;if(0===e.job.deferMeta.mode){if(!e.job.deferMeta.blocks.has(t))throw new Error("AssertionError: unable to find a dependency function for this deferred block");n=e.job.deferMeta.blocks.get(t)??null}const i=Op(e,"",t.i18n,t.children,t.sourceSpan),r=Op(e,"Loading",t.loading?.i18n,t.loading?.children,t.loading?.sourceSpan),s=Op(e,"Placeholder",t.placeholder?.i18n,t.placeholder?.children,t.placeholder?.sourceSpan),o=Op(e,"Error",t.error?.i18n,t.error?.children,t.error?.sourceSpan),a=e.job.allocateXrefId(),l=function(e,t,n,i,r,s){return{kind:Bs.Defer,xref:e,handle:new aa,mainView:t,mainSlot:n,loadingView:null,loadingSlot:null,loadingConfig:null,loadingMinimumTime:null,loadingAfterTime:null,placeholderView:null,placeholderSlot:null,placeholderConfig:null,placeholderMinimumTime:null,errorView:null,errorSlot:null,ownResolverFn:i,resolverFn:r,flags:null,sourceSpan:s,...co,...eo,numSlotsUsed:2}}(a,i.xref,i.handle,n,e.job.allDeferrableDepsFn,t.sourceSpan);var c;l.placeholderView=s?.xref??null,l.placeholderSlot=s?.handle??null,l.loadingSlot=r?.handle??null,l.errorSlot=o?.handle??null,l.placeholderMinimumTime=t.placeholder?.minimumTime??null,l.loadingMinimumTime=t.loading?.minimumTime??null,l.loadingAfterTime=t.loading?.afterTime??null,l.flags=(c=t,Object.keys(c.hydrateTriggers).length>0?1:null),e.create.push(l);const u=[],d=[];Lp("hydrate",t.hydrateTriggers,u,d,e,a),Lp("none",t.triggers,u,d,e,a),Lp("prefetch",t.prefetchTriggers,u,d,e,a),u.some(e=>"none"===e.modifier)||d.some(e=>"none"===e.modifier)||u.push(xa(a,{kind:Gs.Idle},"none",null)),e.create.push(u),e.update.push(d)}function Lp(e,t,n,i,r,s){if(void 0!==t.idle){const i=xa(s,{kind:Gs.Idle},e,t.idle.sourceSpan);n.push(i)}if(void 0!==t.immediate){const i=xa(s,{kind:Gs.Immediate},e,t.immediate.sourceSpan);n.push(i)}if(void 0!==t.timer){const i=xa(s,{kind:Gs.Timer,delay:t.timer.delay},e,t.timer.sourceSpan);n.push(i)}if(void 0!==t.hover){const i=xa(s,{kind:Gs.Hover,targetName:t.hover.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},e,t.hover.sourceSpan);n.push(i)}if(void 0!==t.interaction){const i=xa(s,{kind:Gs.Interaction,targetName:t.interaction.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},e,t.interaction.sourceSpan);n.push(i)}if(void 0!==t.viewport){const i=xa(s,{kind:Gs.Viewport,targetName:t.viewport.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},e,t.viewport.sourceSpan);n.push(i)}if(void 0!==t.never){const i=xa(s,{kind:Gs.Never},e,t.never.sourceSpan);n.push(i)}if(void 0!==t.when){if(t.when.value instanceof nn)throw new Error("Unexpected interpolation in defer block when trigger");const n=function(e,t,n,i){return{kind:Bs.DeferWhen,target:e,expr:t,modifier:n,sourceSpan:i,...co,...to,...no}}(s,Vp(t.when.value,r.job,t.when.sourceSpan),e,t.when.sourceSpan);i.push(n)}}function Np(e,t){if(!(t.i18n instanceof yi&&(n=t.i18n,bp(n)&&1===n.nodes.length&&n.nodes[0]instanceof _i)))throw Error(`Unhandled i18n metadata type for ICU: ${t.i18n?.constructor.name}`);{const n=e.job.allocateXrefId();e.create.push(function(e,t,n){return{kind:Bs.IcuStart,xref:e,message:t,messagePlaceholder:n,context:null,sourceSpan:null,...co}}(n,t.i18n,Di(t.i18n).name));for(const[n,i]of Object.entries({...t.vars,...t.placeholders}))i instanceof Rn?Ap(e,i,n):Ip(e,i,n);e.create.push(function(e){return{kind:Bs.IcuEnd,xref:e,...co}}(n))}var n}function Rp(e,t){const n=e.job.allocateView(e.xref),i=`ɵ$index_${n.xref}`,r=`ɵ$count_${n.xref}`,s=new Set;n.contextVariables.set(t.item.name,t.item.value);for(const e of t.contextVariables)"$index"===e.value&&s.add(e.name),"$index"===e.name?n.contextVariables.set("$index",e.value).set(i,e.value):"$count"===e.name?n.contextVariables.set("$count",e.value).set(r,e.value):n.aliases.add({kind:$s.Alias,name:null,identifier:e.name,expression:Bp(e,i,r)});const o=Yp(t.trackBy.span,t.sourceSpan),a=Vp(t.trackBy,e.job,o);Cp(n,t.children);let l=null,c=null;null!==t.empty&&(l=e.job.allocateView(e.xref),Cp(l,t.empty.children),c=Kp(e,l.xref,t.empty));const u={$index:s,$implicit:t.item.name};if(void 0!==t.i18n&&!(t.i18n instanceof Si))throw Error("AssertionError: Unhandled i18n metadata type or @for");
1if(void 0!==t.empty?.i18n&&!(t.empty.i18n instanceof Si))throw Error("AssertionError: Unhandled i18n metadata type or @empty");const d=t.i18n,h=t.empty?.i18n,p=Kp(e,n.xref,t),f=function(e,t,n,i,r,s,o,a,l,c){return{kind:Bs.RepeaterCreate,attributes:null,xref:e,handle:new aa,emptyView:t,track:i,trackByFn:null,trackByOps:null,tag:n,emptyTag:s,emptyAttributes:null,functionNameSuffix:"For",namespace:Ws.HTML,nonBindable:!1,localRefs:[],decls:null,vars:null,varNames:r,usesComponentInstance:!1,i18nPlaceholder:o,emptyI18nPlaceholder:a,startSourceSpan:l,wholeSourceSpan:c,...eo,...co,...no,numSlotsUsed:null===t?2:3}}(n.xref,l?.xref??null,p,a,u,c,d,h,t.startSourceSpan,t.sourceSpan);e.create.push(f);const m=Vp(t.expression,e.job,Yp(t.expression.span,t.sourceSpan)),g=function(e,t,n,i){return{kind:Bs.Repeater,target:e,targetSlot:t,collection:n,sourceSpan:i,...co,...to}}(f.xref,f.handle,m,t.sourceSpan);e.update.push(g)}function Bp(e,t,n){switch(e.value){case"$index":return new Eo(t);case"$count":return new Eo(n);case"$first":return new Eo(t).identical(Qe(0));case"$last":return new Eo(t).identical(new Eo(n).minus(Qe(1)));case"$even":return new Eo(t).modulo(Qe(2)).identical(Qe(0));case"$odd":return new Eo(t).modulo(Qe(2)).notIdentical(Qe(0));default:throw new Error(`AssertionError: unknown @for loop variable ${e.value}`)}}function Fp(e,t){const n=e.job.allocateXrefId();var i,r,s;e.create.push((i=n,r=t.name,s=t.sourceSpan,{kind:Bs.DeclareLet,xref:i,declaredName:r,sourceSpan:s,handle:new aa,...eo,...co})),e.update.push(function(e,t,n,i){return{kind:Bs.StoreLet,target:e,declaredName:t,value:n,sourceSpan:i,...to,...no,...co}}
1(n,t.name,Vp(t.value,e.job,t.valueSpan),t.sourceSpan))}function Vp(e,t,n){if(e instanceof vn)return Vp(e.ast,t,n);if(e instanceof Gt)return e.receiver instanceof zt&&!(e.receiver instanceof Ut)?new Eo(e.name):new Ie(Vp(e.receiver,t,n),e.name,null,Yp(e.span,n));if(e instanceof un){if(e.receiver instanceof zt)throw new Error("Unexpected ImplicitReceiver");return new se(Vp(e.receiver,t,n),e.args.map(e=>Vp(e,t,n)),void 0,Yp(e.span,n))}if(e instanceof Qt)return Qe(e.value,void 0,Yp(e.span,n));if(!(e instanceof sn)){if(e instanceof rn){const i=Za.get(e.operation);if(void 0===i)throw new Error(`AssertionError: unknown binary operator ${e.operation}`);return new Ee(i,Vp(e.left,t,n),Vp(e.right,t,n),void 0,Yp(e.span,n))}if(e instanceof Ut)return new Mo(t.root.xref);if(e instanceof Yt)return new Ae(Vp(e.receiver,t,n),Vp(e.key,t,n),void 0,Yp(e.span,n));if(e instanceof qt)throw new Error("AssertionError: Chain in unknown context");if(e instanceof tn){const i=e.keys.map((i,r)=>{const s=e.values[r];return new Me(i.key,Vp(s,t,n),i.quoted)});return new Oe(i,void 0,Yp(e.span,n))}if(e instanceof en)return new De(e.expressions.map(e=>Vp(e,t,n)));if(e instanceof Wt)return new we(Vp(e.condition,t,n),Vp(e.trueExp,t,n),Vp(e.falseExp,t,n),void 0,Yp(e.span,n));if(e instanceof cn)return Vp(e.expression,t,n);if(e instanceof Xt)return new jo(t.allocateXrefId(),new aa,e.name,[Vp(e.exp,t,n),...e.args.map(e=>Vp(e,t,n))]);if(e instanceof Kt)return new Uo(Vp(e.receiver,t,n),Vp(e.key,t,n),Yp(e.span,n));if(e instanceof Zt)return new zo(Vp(e.receiver,t,n),e.name);if(e instanceof dn)return new qo(Vp(e.receiver,t,n),e.args.map(e=>Vp(e,t,n)));if(e instanceof Ht)return new Go(Yp(e.span,n));if(e instanceof on)return i=Vp(e.expression,t,n),r=Yp(e.span,n),new _e(i,r);if(e instanceof an)return Ge(Vp(e.expression,t,n));if(e instanceof ln)return new ie(Vp(e.expression,t,n),void 0,Yp(e.span,n));if(e instanceof pn)return $p(e,t,n);if(e instanceof hn)return new oe(Vp(e.tag,t,n),$p(e.template,t,n),void 0,Yp(e.span,n));if(e instanceof mn)return new Te(Vp(e.expression,t,n),void 0,Yp(e.span,n));throw new Error(`Unhandled expression type "${e.constructor.name}" in file "${n?.start.file.url}"`)}var i,r;switch(e.operator){case"+":return new Se(K.Plus,Vp(e.expr,t,n),void 0,Yp(e.span,n));case"-":return new Se(K.Minus,Vp(e.expr,t,n),void 0,Yp(e.span,n));default:throw new Error(`AssertionError: unknown unary operator ${e.operator}`)}}function $p(e,t,n){return new ce(e.elements.map(e=>new ue(e.text,Yp(e.span,n))),e.expressions.map(e=>Vp(e,t,n)),Yp(e.span,n))}function jp(e,t,n,i){let r;return r=t instanceof nn?new uo(t.strings,t.expressions.map(t=>Vp(t,e,null)),Object.keys(zp(n)?.placeholders??{})):t instanceof $t?Vp(t,e,null):Qe(t),r}const Hp=new Map([[Cn.Property,Hs.Property],[Cn.TwoWay,Hs.TwoWayProperty],[Cn.Attribute,Hs.Attribute],[Cn.Class,Hs.ClassName],[Cn.Style,Hs.StyleProperty],[Cn.LegacyAnimation,Hs.LegacyAnimation],[Cn.Animation,Hs.Animation]]);function zp(e){if(null==e)return null;if(!(e instanceof yi))throw Error(`Expected i18n meta to be a Message, but got: ${e.constructor.name}`);return e}function Up(e,t,n,i,r,s,o,a,l,c,u){const d="string"==typeof r;if(l===Ys.Structural){if(!a)switch(n){case Cn.Property:case Cn.Class:case Cn.Style:return _a(t,Hs.Property,null,i,null,null,c,o);case Cn.TwoWay:return _a(t,Hs.TwoWayProperty,null,i,null,null,c,o)}if(!d&&(n===Cn.Attribute||n===Cn.LegacyAnimation||n===Cn.Animation))return null}let h=Hp.get(n);return l===Ys.NgTemplate&&(n===Cn.Class||n===Cn.Style||n===Cn.Attribute&&!d)&&(h=Hs.Property),ho(t,h,i,jp(e.job,r,c),s,o,d,a,l,c,u)}function qp(e,t,n){t=Gp(t);const i=new Array;let r=t instanceof qt?t.expressions:[t];if(0===r.length)throw new Error("Expected listener to have non-empty expression list.");const s=r.map(t=>Vp(t,e.job,n)),o=s.pop();return i.push(...s.map(e=>ao(new je(e,e.sourceSpan)))),i.push(ao(new He(o,o.sourceSpan))),i}function Wp(e,t,n){t=Gp(t);const i=new Array;if(t instanceof qt){if(1!==t.expressions.length)throw new Error("Expected two-way listener to have a single expression.");t=t.expressions[0]}const r=Vp(t,e.job,n),s=new Eo("$event"),o=new Bo(r,s);return i.push(ao(new je(o))),i.push(ao(new He(s))),i}function Gp(e){return e instanceof vn?e.ast:e}function Zp(e,t){!function(e){if(!Array.isArray(e))throw new Error("AssertionError: expected an array")}(e.localRefs);for(const{name:n,value:i}of t.references)e.localRefs.push({name:n,target:i})}function Yp(e,t){if(null===t)return null;const n=t.start.moveBy(e.start),i=t.start.moveBy(e.end),r=t.fullStart.moveBy(e.start);return new Cr(n,i,r)}
1function Kp(e,t,n){let i=null;for(const e of n.children)if(!(e instanceof Ln||e instanceof li)){if(null!==i)return null;if(!(e instanceof $n||e instanceof di&&null!==e.tagName))return null;i=e}if(null!==i){for(const n of i.attributes)if(!n.name.startsWith("animate.")){const i=vp.securityContext(yp,n.name,!0);e.update.push(ho(t,Hs.Attribute,n.name,Qe(n.value),null,i,!0,!1,null,zp(n.i18n),n.sourceSpan))}for(const n of i.inputs)if(n.type!==Cn.LegacyAnimation&&n.type!==Cn.Animation&&n.type!==Cn.Attribute){const i=vp.securityContext(yp,n.name,!0);e.create.push(_a(t,Hs.Property,null,n.name,null,null,null,i))}const n=i instanceof $n?i.name:i.tagName;return n===yp?null:n}return null}function Jp(e,t){return Xe(Ue(Ri).bitwiseAnd(Qe(e),null),t)}function Xp(e,t,n,i){const r=[];return void 0!==i&&r.push(...i),e.isSignal&&r.push(new Ie(Ue(Ni),e.propertyName)),r.push(function(e,t){if(Array.isArray(e.predicate)){let n=[];return e.predicate.forEach(e=>{const t=e.split(",").map(e=>Qe(e.trim()));n.push(...t)}),t.getConstLiteral(Ze(n),!0)}switch(e.predicate.forwardRef){case 0:case 2:return e.predicate.expression;case 1:return qe(ct.resolveForwardRef).callFn([e.predicate.expression])}}(e,t),Qe(function(e){return(e.descendants?1:0)|(e.static?2:0)|(e.emitDistinctChangesOnly?4:0)}(e))),e.read&&r.push(e.read),qe(e.isSignal?n.signalBased:n.nonSignal).callFn(r)}const Qp=Symbol("queryAdvancePlaceholder");function ef(e){const t=[];let n=0;const i=()=>{n>0&&(t.unshift(qe(ct.queryAdvance).callFn(1===n?[]:[Qe(n)]).toStmt()),n=0)};for(let r=e.length-1;r>=0;r--){const s=e[r];s===Qp?n++:(i(),t.unshift(s))}return i(),t}class tf extends oc{constructor(){super(tu)}parse(e,t,n){return super.parse(e,t,n)}}const nf=/^([^:/?#]+):/,rf=new Set([":svg:script","script"]);function sf(e){let t=null,n=null,i=null,r=!1,s="";for(const o of e.attrs){const e=o.name.toLowerCase();"select"==e?t=o.value:"href"==e?n=o.value:"rel"==e?i=o.value:"ngNonBindable"==o.name?r=!0:"ngProjectAs"==o.name&&o.value.length>0&&(s=o.value)}t||="*";const o=e.name.toLowerCase();let a=of.OTHER;return Mn(o)?a=of.NG_CONTENT:"style"===o?a=of.STYLE:rf.has(o)?a=of.SCRIPT:"link"==o&&"stylesheet"==i&&(a=of.STYLESHEET),new af(a,t,n,r,s)}var of;!function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"}(of||(of={}));class af{type;selectAttr;hrefAttr;nonBindable;projectAs;constructor(e,t,n,i,r){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=i,this.projectAs=r}}const lf=/^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/,cf=/^track\s+([\S\s]*)/,uf=/^(as\s+)(.*)/,df=/^else[^\S\r\n]+if/,hf=/^let\s+([\S\s]*)/,pf=/^[$A-Z_][0-9A-Z_$]*$/i,ff=/(\s*)(\S+)(\s*)/,mf=new Set(["$index","$first","$last","$even","$odd","$count"]);function gf(e){return"empty"===e}function vf(e){return"else"===e||df.test(e)}function yf(e,t,n,i,r,s){const o=t.split(",");let a=n.start;for(const t of o){const o=t.split("="),l=2===o.length?o[0].trim():"",c=2===o.length?o[1].trim():"";if(0===l.length||0===c.length)s.push(new Tr(e,'Invalid @for loop "let" parameter. Parameter should match the pattern "<name> = <variable name>"'));else if(mf.has(c))if(l===i)s.push(new Tr(e,`Invalid @for loop "let" parameter. Variable cannot be called "${i}"`));else if(r.some(e=>e.name===l))s.push(new Tr(e,`Duplicate "let" parameter variable "${c}"`));else{const[,e,t]=o[0].match(ff)??[],i=void 0!==e&&2===o.length?new Cr(a.moveBy(e.length),a.moveBy(e.length+t.length)):n;let s;if(2===o.length){const[,e,t]=o[1].match(ff)??[];s=void 0!==e?new Cr(a.moveBy(o[0].length+1+e.length),a.moveBy(o[0].length+1+e.length+t.length)):void 0}const u=new Cr(i.start,s?.end??i.end);r.push(new pi(l,c,u,i,s))}else s.push(new Tr(e,`Unknown "let" parameter variable "${c}". The allowed variables are: ${Array.from(mf).join(", ")}`));a=a.moveBy(t.length+1)}}function bf(e,t,n){let i,r;return"string"==typeof n?(i=Math.max(0,e.expression.lastIndexOf(n)),r=i+n.length):(i=0,r=e.expression.length),t.parseBinding(e.expression.slice(i,r),!1,e.sourceSpan,e.sourceSpan.start.offset+i)}function wf(e,t,n){if(0===e.parameters.length)return t.push(new Tr(e.startSourceSpan,"Conditional block does not have an expression")),null;const i=bf(e.parameters[0],n);let r=null;for(let n=1;n<e.parameters.length;n++){const i=e.parameters[n],s=i.expression.match(uf);if(null===s)t.push(new Tr(i.sourceSpan,`Unrecognized conditional parameter "${i.expression}"`));else if("if"===e.name||df.test(e.name))if(null!==r)t.push(new Tr(i.sourceSpan,'Conditional can only have one "as" expression'));else{const e=s[2].trim();if(pf.test(e)){const t=i.sourceSpan.start.moveBy(s[1].length),n=new Cr(t,t.moveBy(e.length));r=new pi(e,e,n,n)}else t.push(new Tr(i.sourceSpan,'"as" expression must be a valid JavaScript identifier'))}else t.push(new Tr(i.sourceSpan,'"as" expression is only allowed on `@if` and `@else if` blocks'))}return{expression:i,expressionAlias:r}}class _f extends wn{hasPipe=!1;visitPipe(){this.hasPipe=!0}}
1const xf=/^\d+\.?\d*(ms|s)?$/,kf=/^\s$/,Cf=new Map([[pr,fr],[ar,cr],[Ki,Ji]]);var Sf;function Tf({expression:e,sourceSpan:t},n,i){const r=e.indexOf("never"),s=new Cr(t.start.moveBy(r),t.start.moveBy(r+5)),o=Af(e,t),a=Df(e,t);-1===r?i.push(new Tr(t,'Could not find "never" keyword in expression')):Of("never",n,i,new zn(s,t,o,null,a))}function Ef({expression:e,sourceSpan:t},n,i,r){const s=e.indexOf("when"),o=new Cr(t.start.moveBy(s),t.start.moveBy(s+4)),a=Af(e,t),l=Df(e,t);if(-1===s)r.push(new Tr(t,'Could not find "when" keyword in expression'));else{const c=Nf(e,s+1),u=n.parseBinding(e.slice(c),!1,t,t.start.offset+c);Of("when",i,r,new Hn(u,t,a,o,l))}}function If({expression:e,sourceSpan:t},n,i,r){const s=e.indexOf("on"),o=new Cr(t.start.moveBy(s),t.start.moveBy(s+2)),a=Af(e,t),l=Df(e,t);if(-1===s)i.push(new Tr(t,'Could not find "on" keyword in expression'));else{const c=Nf(e,s+1);new Mf(e,c,t,n,i,e.startsWith("hydrate")?Lf:Pf,r,a,o,l).parse()}}function Af(e,t){return e.startsWith("prefetch")?new Cr(t.start,t.start.moveBy(8)):null}function Df(e,t){return e.startsWith("hydrate")?new Cr(t.start,t.start.moveBy(7)):null}!function(e){e.IDLE="idle",e.TIMER="timer",e.INTERACTION="interaction",e.IMMEDIATE="immediate",e.HOVER="hover",e.VIEWPORT="viewport",e.NEVER="never"}(Sf||(Sf={}));class Mf{expression;start;span;triggers;errors;validator;placeholder;prefetchSpan;onSourceSpan;hydrateSpan;index=0;tokens;constructor(e,t,n,i,r,s,o,a,l,c){this.expression=e,this.start=t,this.span=n,this.triggers=i,this.errors=r,this.validator=s,this.placeholder=o,this.prefetchSpan=a,this.onSourceSpan=l,this.hydrateSpan=c,this.tokens=(new Cc).tokenize(e.slice(t))}parse(){for(;this.tokens.length>0&&this.index<this.tokens.length;){const e=this.token();if(!e.isIdentifier()){this.unexpectedToken(e);break}if(this.isFollowedByOrLast(Xi))this.consumeTrigger(e,[]),this.advance();else if(this.isFollowedByOrLast(Ki)){this.advance();const t=this.errors.length,n=this.consumeParameters();if(this.errors.length!==t)break;this.consumeTrigger(e,n),this.advance()}else this.index<this.tokens.length-1&&this.unexpectedToken(this.tokens[this.index+1]);this.advance()}}advance(){this.index++}isFollowedByOrLast(e){return this.index===this.tokens.length-1||this.tokens[this.index+1].isCharacter(e)}token(){return this.tokens[Math.min(this.index,this.tokens.length-1)]}consumeTrigger(e,t){const n=this.span.start.moveBy(this.start+e.index-this.tokens[0].index),i=new Cr(n,n.moveBy(e.strValue.length)),r=n.moveBy(this.token().end-e.index),s=0===e.index,o=s?this.onSourceSpan:null,a=s?this.prefetchSpan:null,l=s?this.hydrateSpan:null,c=new Cr(s?this.span.start:n,r);try{switch(e.toString()){case Sf.IDLE:this.trackTrigger("idle",function(e,t,n,i,r,s){if(e.length>0)throw new Error(`"${Sf.IDLE}" trigger cannot have parameters`);return new Un(t,n,i,r,s)}(t,i,c,a,o,l));break;case Sf.TIMER:this.trackTrigger("timer",function(e,t,n,i,r,s){if(1!==e.length)throw new Error(`"${Sf.TIMER}" trigger must have exactly one parameter`);const o=Rf(e[0]);if(null===o)throw new Error(`Could not parse time value of trigger "${Sf.TIMER}"`);return new Gn(o,t,n,i,r,s)}(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan));break;case Sf.INTERACTION:this.trackTrigger("interaction",function(e,t,n,i,r,s,o){return o(Sf.INTERACTION,e),new Zn(e[0]??null,t,n,i,r,s)}(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;case Sf.IMMEDIATE:this.trackTrigger("immediate",function(e,t,n,i,r,s){if(e.length>0)throw new Error(`"${Sf.IMMEDIATE}" trigger cannot have parameters`);return new qn(t,n,i,r,s)}(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan));break;case Sf.HOVER:this.trackTrigger("hover",function(e,t,n,i,r,s,o,a){return a(Sf.HOVER,e),new Wn(e[0]??null,t,n,i,r,s)}(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.placeholder,this.validator));break;case Sf.VIEWPORT:this.trackTrigger("viewport",function(e,t,n,i,r,s,o){return o(Sf.VIEWPORT,e),new Yn(e[0]??null,t,n,i,r,s)}(t,i,c,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;default:throw new Error(`Unrecognized trigger type "${e}"`)}}catch(t){this.error(e,t.message)}}consumeParameters(){const e=[];
1if(!this.token().isCharacter(Ki))return this.unexpectedToken(this.token()),e;this.advance();const t=[];let n="";for(;this.index<this.tokens.length;){const i=this.token();if(i.isCharacter(Ji)&&0===t.length){n.length&&e.push(n);break}i.type===_c.Character&&Cf.has(i.numValue)&&t.push(Cf.get(i.numValue)),t.length>0&&i.isCharacter(t[t.length-1])&&t.pop(),0===t.length&&i.isCharacter(Xi)&&n.length>0?(e.push(n),n="",this.advance()):(n+=this.tokenText(),this.advance())}return(!this.token().isCharacter(Ji)||t.length>0)&&this.error(this.token(),"Unexpected end of expression"),this.index<this.tokens.length-1&&!this.tokens[this.index+1].isCharacter(Xi)&&this.unexpectedToken(this.tokens[this.index+1]),e}tokenText(){return this.expression.slice(this.start+this.token().index,this.start+this.token().end)}trackTrigger(e,t){Of(e,this.triggers,this.errors,t)}error(e,t){const n=this.span.start.moveBy(this.start+e.index),i=n.moveBy(e.end-e.index);this.errors.push(new Tr(new Cr(n,i),t))}unexpectedToken(e){this.error(e,`Unexpected token "${e}"`)}}function Of(e,t,n,i){t[e]?n.push(new Tr(i.sourceSpan,`Duplicate "${e}" trigger is not allowed`)):t[e]=i}function Pf(e,t){if(t.length>1)throw new Error(`"${e}" trigger can only have zero or one parameters`)}function Lf(e,t){if(t.length>0)throw new Error(`Hydration trigger "${e}" cannot have parameters`)}function Nf(e,t=0){let n=!1;for(let i=t;i<e.length;i++)if(kf.test(e[i]))n=!0;else if(n)return i;return-1}function Rf(e){const t=e.match(xf);if(!t)return null;const[n,i]=t;return parseFloat(n)*("s"===i?1e3:1)}const Bf=/^prefetch\s+when\s/,Ff=/^prefetch\s+on\s/,Vf=/^hydrate\s+when\s/,$f=/^hydrate\s+on\s/,jf=/^hydrate\s+never(\s*)$/,Hf=/^minimum\s/,zf=/^after\s/,Uf=/^when\s/,qf=/^on\s/;function Wf(e){return"placeholder"===e||"loading"===e||"error"===e}function Gf(e,t){let n=null;for(const t of e.parameters){if(!Hf.test(t.expression))throw new Error(`Unrecognized parameter in @placeholder block: "${t.expression}"`);{if(null!=n)throw new Error('@placeholder block can only have one "minimum" parameter');const e=Rf(t.expression.slice(Nf(t.expression)));if(null===e)throw new Error('Could not parse time value of parameter "minimum"');n=e}}return new Jn(Rl(t,e.children,e.children),n,e.nameSpan,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}function Zf(e,t){let n=null,i=null;for(const t of e.parameters)if(zf.test(t.expression)){if(null!=n)throw new Error('@loading block can only have one "after" parameter');const e=Rf(t.expression.slice(Nf(t.expression)));if(null===e)throw new Error('Could not parse time value of parameter "after"');n=e}else{if(!Hf.test(t.expression))throw new Error(`Unrecognized parameter in @loading block: "${t.expression}"`);{if(null!=i)throw new Error('@loading block can only have one "minimum" parameter');const e=Rf(t.expression.slice(Nf(t.expression)));if(null===e)throw new Error('Could not parse time value of parameter "minimum"');i=e}}return new Xn(Rl(t,e.children,e.children),n,i,e.nameSpan,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}function Yf(e,t){if(e.parameters.length>0)throw new Error("@error block cannot have parameters");return new Qn(Rl(t,e.children,e.children),e.nameSpan,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}const Kf=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,Jf={start:"[(",end:")]"},Xf={start:"[",end:"]"},Qf={start:"(",end:")"},em=new Set(["link","style","script","ng-template","ng-container","ng-content"]),tm=new Set(["ngProjectAs","ngNonBindable"]);class nm{bindingParser;options;errors=[];styles=[];styleUrls=[];ngContentSelectors=[];commentNodes=[];inI18nBlock=!1;processedNodes=new Set;constructor(e,t){this.bindingParser=e,this.options=t}visitElement(e){const t=bp(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const n=sf(e);if(n.type===of.SCRIPT)return null;if(n.type===of.STYLE){const t=1===(i=e).children.length&&i.children[0]instanceof Sl?i.children[0].value:null;return null!==t&&this.styles.push(t),null}if(n.type===of.STYLESHEET&&function(e){if(null==e||0===e.length||"/"==e[0])return!1;const t=e.match(nf);return null===t||"package"==t[1]||"asset"==t[1]}(n.hrefAttr))return this.styleUrls.push(n.hrefAttr),null;var i;const r="ng-template"===An(e.name)[1],{attributes:s,boundEvents:o,references:a,variables:l,templateVariables:c,elementHasInlineTemplate:u,parsedProperties:d,templateParsedProperties:h,i18nAttrsMeta:p}=this.prepareAttributes(e.attrs,r),f=this.extractDirectives(e);let m,g;if(m=n.nonBindable?Rl(im,e.children).flat(1/0):Rl(this,e.children,e.children),n.type===of.NG_CONTENT){const t=n.selectAttr,i=e.attrs.map(e=>this.visitAttribute(e));g=new hi(t,i,m,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n),this.ngContentSelectors.push(t)}else if(r){const t=this.categorizePropertyAttributes(e.name,d,p);g=new di(e.name,s,t.bound,o,f,[],m,a,l,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const t=this.categorizePropertyAttributes(e.name,d,p);if("ng-container"===e.name)for(const e of t.bound)e.type===Cn.Attribute&&this.reportError("Attribute bindings are not supported on ng-container. Use property bindings instead.",e.sourceSpan);g=new $n(e.name,s,t.bound,o,f,m,a,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n)}return u&&(g=this.wrapInTemplate(g,h,c,p,r,t)),t&&(this.inI18nBlock=!1),g}visitAttribute(e){return new Bn(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this.processedNodes.has(e)?null:this._visitTextWithInterpolation(e.value,e.sourceSpan,e.tokens,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!bp(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,n={},i={};
1return Object.keys(t.placeholders).forEach(e=>{const r=t.placeholders[e];if(e.startsWith("VAR_")){const t=e.trim(),i=this.bindingParser.parseInterpolationExpression(r.text,r.sourceSpan);n[t]=new Rn(i,r.sourceSpan)}else i[e]=this._visitTextWithInterpolation(r.text,r.sourceSpan,null)}),new mi(n,i,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new Ln(e.value||"",e.sourceSpan)),null}visitLetDeclaration(e,t){const n=this.bindingParser.parseBinding(e.value,!1,e.valueSpan,e.valueSpan.start.offset);return 0===n.errors.length&&n.ast instanceof Ht&&this.reportError("@let declaration value cannot be empty",e.valueSpan),new li(e.name,n,e.sourceSpan,e.nameSpan,e.valueSpan)}visitComponent(e){const t=bp(e.i18n);if(t&&(this.inI18nBlock&&this.reportError("Cannot mark a component as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0),null!==e.tagName&&em.has(e.tagName))return this.reportError(`Tag name "${e.tagName}" cannot be used as a component tag`,e.startSourceSpan),null;const{attributes:n,boundEvents:i,references:r,templateVariables:s,elementHasInlineTemplate:o,parsedProperties:a,templateParsedProperties:l,i18nAttrsMeta:c}=this.prepareAttributes(e.attrs,!1);this.validateSelectorlessReferences(r);const u=this.extractDirectives(e);let d;d=e.attrs.find(e=>"ngNonBindable"===e.name)?Rl(im,e.children).flat(1/0):Rl(this,e.children,e.children);const h=this.categorizePropertyAttributes(e.tagName,a,c);let p=new ci(e.componentName,e.tagName,e.fullName,n,h.bound,i,u,d,r,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n);return o&&(p=this.wrapInTemplate(p,l,s,c,!1,t)),t&&(this.inI18nBlock=!1),p}visitDirective(){return null}visitBlockParameter(){return null}visitBlock(e,t){const n=Array.isArray(t)?t.indexOf(e):-1;if(-1===n)throw new Error("Visitor invoked incorrectly. Expecting visitBlock to be invoked siblings array as its context");if(this.processedNodes.has(e))return null;let i=null;switch(e.name){case"defer":i=function(e,t,n,i){const r=[],{placeholder:s,loading:o,error:a}=function(e,t,n){let i=null,r=null,s=null;for(const o of e)try{if(!Wf(o.name)){t.push(new Tr(o.startSourceSpan,`Unrecognized block "@${o.name}"`));break}switch(o.name){case"placeholder":null!==i?t.push(new Tr(o.startSourceSpan,"@defer block can only have one @placeholder block")):i=Gf(o,n);break;case"loading":null!==r?t.push(new Tr(o.startSourceSpan,"@defer block can only have one @loading block")):r=Zf(o,n);break;case"error":null!==s?t.push(new Tr(o.startSourceSpan,"@defer block can only have one @error block")):s=Yf(o,n)}}catch(e){t.push(new Tr(o.startSourceSpan,e.message))}return{placeholder:i,loading:r,error:s}}(t,r,n),{triggers:l,prefetchTriggers:c,hydrateTriggers:u}=function(e,t,n,i){const r={},s={},o={};for(const a of e.parameters)Uf.test(a.expression)?Ef(a,t,r,n):qf.test(a.expression)?If(a,r,n,i):Bf.test(a.expression)?Ef(a,t,s,n):Ff.test(a.expression)?If(a,s,n,i):Vf.test(a.expression)?Ef(a,t,o,n):$f.test(a.expression)?If(a,o,n,i):jf.test(a.expression)?Tf(a,o,n):n.push(new Tr(a.sourceSpan,"Unrecognized trigger"));return o.never&&Object.keys(o).length>1&&n.push(new Tr(e.startSourceSpan,"Cannot specify additional `hydrate` triggers if `hydrate never` is present")),{triggers:r,prefetchTriggers:s,hydrateTriggers:o}}(e,i,r,s);let d=e.endSourceSpan,h=e.sourceSpan.end;if(t.length>0){const e=t[t.length-1];d=e.endSourceSpan,h=e.sourceSpan.end}const p=new Cr(e.sourceSpan.start,h);return{node:new ei(Rl(n,e.children,e.children),l,c,u,s,o,a,e.nameSpan,p,e.sourceSpan,e.startSourceSpan,d,e.i18n),errors:r}}(e,this.findConnectedBlocks(n,t,Wf),this,this.bindingParser);break;case"switch":i=function(e,t,n){const i=function(e){const t=[];let n=!1;if(1!==e.parameters.length)return t.push(new Tr(e.startSourceSpan,"@switch block must have exactly one parameter")),t;for(const i of e.children)i instanceof Dl||i instanceof Sl&&0===i.value.trim().length||(i instanceof Ml&&("case"===i.name||"default"===i.name)?"default"===i.name?(n?t.push(new Tr(i.startSourceSpan,"@switch block can only have one @default block")):i.parameters.length>0&&t.push(new Tr(i.startSourceSpan,"@default block cannot have parameters")),n=!0):"case"===i.name&&1!==i.parameters.length&&t.push(new Tr(i.startSourceSpan,"@case block must have exactly one parameter")):t.push(new Tr(i.sourceSpan,"@switch block can only contain @case and @default blocks")));return t}(e),r=e.parameters.length>
10?bf(e.parameters[0],n):n.parseBinding("",!1,e.sourceSpan,0),s=[],o=[];let a=null;for(const i of e.children){if(!(i instanceof Ml))continue;if(("case"!==i.name||0===i.parameters.length)&&"default"!==i.name){o.push(new ai(i.name,i.sourceSpan,i.nameSpan));continue}const e="case"===i.name?bf(i.parameters[0],n):null,r=new ni(e,Rl(t,i.children,i.children),i.sourceSpan,i.startSourceSpan,i.endSourceSpan,i.nameSpan,i.i18n);null===e?a=r:s.push(r)}return null!==a&&s.push(a),{node:new ti(r,s,o,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.nameSpan),errors:i}}(e,this,this.bindingParser);break;case"for":i=function(e,t,n,i){const r=[],s=function(e,t,n){if(0===e.parameters.length)return t.push(new Tr(e.startSourceSpan,"@for loop does not have an expression")),null;const[i,...r]=e.parameters,s=function(e,t){const n=e.expression,i=/^\s$/;let r=0,s=0,o=n.length-1;for(let e=0;e<n.length;e++){const t=n[e];if("("!==t){if(i.test(t))continue;break}s=e+1,r++}if(0===r)return n;for(let e=n.length-1;e>-1;e--){const t=n[e];if(")"!==t){if(i.test(t))continue;break}if(o=e,r--,0===r)break}return 0!==r?(t.push(new Tr(e.sourceSpan,"Unclosed parentheses in expression")),null):n.slice(s,o)}(i,t)?.match(lf);if(!s||0===s[2].trim().length)return t.push(new Tr(i.sourceSpan,'Cannot parse expression. @for loop expression must match the pattern "<identifier> of <expression>"')),null;const[,o,a]=s;mf.has(o)&&t.push(new Tr(i.sourceSpan,`@for loop item name cannot be one of ${Array.from(mf).join(", ")}.`));const l=i.expression.split(" ")[0],c=new Cr(i.sourceSpan.start,i.sourceSpan.start.moveBy(l.length)),u={itemName:new pi(o,"$implicit",c,c),trackBy:null,expression:bf(i,n,a),context:Array.from(mf,t=>{const n=new Cr(e.startSourceSpan.end,e.startSourceSpan.end);return new pi(t,t,n,n)})};for(const i of r){const r=i.expression.match(hf);if(null!==r){const e=new Cr(i.sourceSpan.start.moveBy(r[0].length-r[1].length),i.sourceSpan.end);yf(i.sourceSpan,r[1],e,o,u.context,t);continue}const s=i.expression.match(cf);if(null===s)t.push(new Tr(i.sourceSpan,`Unrecognized @for loop parameter "${i.expression}"`));else if(null!==u.trackBy)t.push(new Tr(i.sourceSpan,'@for loop can only have one "track" expression'));else{const r=bf(i,n,s[1]);r.ast instanceof Ht&&t.push(new Tr(e.startSourceSpan,'@for loop must have a "track" expression'));const o=new Cr(i.sourceSpan.start,i.sourceSpan.start.moveBy(5));u.trackBy={expression:r,keywordSpan:o}}}return u}(e,r,i);let o=null,a=null;for(const e of t)"empty"===e.name?null!==a?r.push(new Tr(e.sourceSpan,"@for loop can only have one @empty block")):e.parameters.length>0?r.push(new Tr(e.sourceSpan,"@empty block cannot have parameters")):a=new ri(Rl(n,e.children,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.nameSpan,e.i18n):r.push(new Tr(e.sourceSpan,`Unrecognized @for loop block "${e.name}"`));if(null!==s)if(null===s.trackBy)r.push(new Tr(e.startSourceSpan,'@for loop must have a "track" expression'));else{const t=a?.endSourceSpan??e.endSourceSpan,i=new Cr(e.sourceSpan.start,t?.end??e.sourceSpan.end);!function(e,t,n){const i=new _f;e.ast.visit(i),i.hasPipe&&n.push(new Tr(t,"Cannot use pipes in track expressions"))}(s.trackBy.expression,s.trackBy.keywordSpan,r),o=new ii(s.itemName,s.expression,s.trackBy.expression,s.trackBy.keywordSpan,s.context,Rl(n,e.children,e.children),a,i,e.sourceSpan,e.startSourceSpan,t,e.nameSpan,e.i18n)}return{node:o,errors:r}}(e,this.findConnectedBlocks(n,t,gf),this,this.bindingParser);break;case"if":i=function(e,t,n,i){const r=function(e){const t=[];let n=!1;for(let i=0;i<e.length;i++){const r=e[i];"else"===r.name?(n?t.push(new Tr(r.startSourceSpan,"Conditional can only have one @else block")):e.length>1&&i<e.length-1?t.push(new Tr(r.startSourceSpan,"@else block must be last inside the conditional")):r.parameters.length>0&&t.push(new Tr(r.startSourceSpan,"@else block cannot have parameters")),n=!0):df.test(r.name)||t.push(new Tr(r.startSourceSpan,`Unrecognized conditional block @${r.name}`))}return t}(t),s=[],o=wf(e,r,i);null!==o&&s.push(new oi(o.expression,Rl(n,e.children,e.children),o.expressionAlias,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.nameSpan,e.i18n));for(const e of t)if(df.test(e.name)){const t=wf(e,r,i);if(null!==t){const i=Rl(n,e.children,e.children);s.push(new oi(t.expression,i,t.expressionAlias,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.nameSpan,e.i18n))}}else if("else"===e.name){const t=Rl(n,e.children,e.children);s.push(new oi(null,t,null,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.nameSpan,e.i18n))}const a=s.length>0?s[0].startSourceSpan:e.startSourceSpan,l=s.length>0?s[s.length-1].endSourceSpan:e.endSourceSpan;let c=e.sourceSpan;const u=s[s.length-1];return void 0!==u&&(c=new Cr(a.start,u.sourceSpan.end)),{node:new si(s,c,e.startSourceSpan,l,e.nameSpan),errors:r}}(e,this.findConnectedBlocks(n,t,vf),this,this.bindingParser);break;default:let r;Wf(e.name)?(r=`@${e.name} block can only be used after an @defer block.`,this.processedNodes.add(e)):gf(e.n
1ame)?(r=`@${e.name} block can only be used after an @for block.`,this.processedNodes.add(e)):vf(e.name)?(r=`@${e.name} block can only be used after an @if or @else if block.`,this.processedNodes.add(e)):r=`Unrecognized block @${e.name}.`,i={node:new ai(e.name,e.sourceSpan,e.nameSpan),errors:[new Tr(e.sourceSpan,r)]}}return this.errors.push(...i.errors),i.node}findConnectedBlocks(e,t,n){const i=[];for(let r=e+1;r<t.length;r++){const e=t[r];if(!(e instanceof Dl))if(e instanceof Sl&&0===e.value.trim().length)this.processedNodes.add(e);else{if(!(e instanceof Ml&&n(e.name)))break;i.push(e),this.processedNodes.add(e)}}return i}categorizePropertyAttributes(e,t,n){const i=[],r=[];return t.forEach(t=>{const s=n[t.name];if(t.isLiteral)r.push(new Bn(t.name,t.expression.source||"",t.sourceSpan,t.keySpan,t.valueSpan,s));else{const n=t.name.toLowerCase().startsWith("attr.on"),r=this.bindingParser.createBoundElementProperty(e,t,!n,!1);i.push(Fn.fromBoundElementProperty(r,s))}}),{bound:i,literal:r}}prepareAttributes(e,t){const n=[],i=[],r=[],s=[],o=[],a={},l=[],c=[];let u=!1;for(const d of e){let e=!1;const h=rm(d.name);let p=!1;if(d.i18n&&(a[d.name]=d.i18n),h.startsWith("*")){u&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",d.sourceSpan),p=!0,u=!0;const e=d.value,t=h.substring(1),n=[],i=d.valueSpan?d.valueSpan.fullStart.offset:d.sourceSpan.fullStart.offset+d.name.length;this.bindingParser.parseInlineTemplateBinding(t,e,d.sourceSpan,i,[],l,n,!0),c.push(...n.map(e=>new pi(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan)))}else e=this.parseAttribute(t,d,[],n,i,r,s);e||p||o.push(this.visitAttribute(d))}return{attributes:o,boundEvents:i,references:s,variables:r,templateVariables:c,elementHasInlineTemplate:u,parsedProperties:n,templateParsedProperties:l,i18nAttrsMeta:a}}parseAttribute(e,t,n,i,r,s,o){const a=rm(t.name),l=t.value,c=t.sourceSpan,u=t.valueSpan?t.valueSpan.fullStart.offset:c.fullStart.offset;function d(e,n,i){const r=t.name.length-a.length,s=e.start.moveBy(n.length+r),o=s.moveBy(i.length);return new Cr(s,o,s,i)}const h=a.match(Kf);if(h){if(null!=h[1]){const e=h[7],r=d(c,h[1],e);this.bindingParser.parsePropertyBinding(e,l,!1,!1,c,u,t.valueSpan,n,i,r)}else if(h[2])if(e){const e=h[7],n=d(c,h[2],e);this.parseVariable(e,l,c,n,t.valueSpan,s)}else this.reportError('"let-" is only supported on ng-template elements.',c);else if(h[3]){const e=h[7],n=d(c,h[3],e);this.parseReference(e,l,c,n,t.valueSpan,o)}else if(h[4]){const e=[],i=h[7],s=d(c,h[4],i);this.bindingParser.parseEvent(i,l,!1,c,t.valueSpan||c,n,e,s),sm(e,r)}else if(h[5]){const e=h[7],s=d(c,h[5],e);this.bindingParser.parsePropertyBinding(e,l,!1,!0,c,u,t.valueSpan,n,i,s),this.parseAssignmentEvent(e,l,c,t.valueSpan,n,r,s,u)}else if(h[6]){const e=d(c,"",a);this.bindingParser.parseLiteralAttr(a,l,c,u,t.valueSpan,n,i,e)}return!0}let p=null;if(a.startsWith(Jf.start)?p=Jf:a.startsWith(Xf.start)?p=Xf:a.startsWith(Qf.start)&&(p=Qf),null!==p&&a.endsWith(p.end)&&a.length>p.start.length+p.end.length){const e=a.substring(p.start.length,a.length-p.end.length),s=d(c,p.start,e);if(p.start===Jf.start)this.bindingParser.parsePropertyBinding(e,l,!1,!0,c,u,t.valueSpan,n,i,s),this.parseAssignmentEvent(e,l,c,t.valueSpan,n,r,s,u);else if(p.start===Xf.start)this.bindingParser.parsePropertyBinding(e,l,!1,!1,c,u,t.valueSpan,n,i,s);else{const i=[];this.bindingParser.parseEvent(e,l,!1,c,t.valueSpan||c,n,i,s),sm(i,r)}return!0}const f=d(c,"",a);return this.bindingParser.parsePropertyInterpolation(a,l,c,t.valueSpan,n,i,f,t.valueTokens??null)}extractDirectives(e){const t=e instanceof Ol?e.tagName:e.name,n=[],i=new Set;for(const r of e.directives){let e=!1;for(const t of r.attrs)t.name.startsWith("*")?(e=!0,this.reportError(`Shorthand template syntax "${t.name}" is not supported inside a directive context`,t.sourceSpan)):tm.has(t.name)&&(e=!0,this.reportError(`Attribute "${t.name}" is not supported in a directive context`,t.sourceSpan));if(!e&&i.has(r.name)&&(e=!0,this.reportError(`Cannot apply directive "${r.name}" multiple times on the same element`,r.sourceSpan)),e)continue;const{attributes:s,parsedProperties:o,boundEvents:a,references:l,i18nAttrsMeta:c}=this.prepareAttributes(r.attrs,!1);this.validateSelectorlessReferences(l);const{bound:u}=this.categorizePropertyAttributes(t,o,c);for(const t of u)t.type!==Cn.Property&&t.type!==Cn.TwoWay&&(e=!0,this.reportError("Binding is not supported in a directive context",t.sourceSpan));e||(i.add(r.name),n.push(new ui(r.name,s,u,a,l,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,void 0)))}return n}filterAnimationAttributes(e){return e.filter(e=>!e.name.startsWith("animate."))}filterAnimationInputs(e){return e.filter(e=>e.type!==Cn.Animation)}wrapInTemplate(e,t,n,i,r,s){const o=this.categorizePropertyAttributes("ng-template",t,i),a=[];
1o.literal.forEach(e=>a.push(e)),o.bound.forEach(e=>a.push(e));const l={attributes:[],inputs:[],outputs:[]};(e instanceof $n||e instanceof ci)&&(l.attributes.push(...this.filterAnimationAttributes(e.attributes)),l.inputs.push(...this.filterAnimationInputs(e.inputs)),l.outputs.push(...e.outputs));const c=r&&s?void 0:e.i18n;let u;return u=e instanceof ci?e.tagName:e instanceof di?null:e.name,new di(u,l.attributes,l.inputs,l.outputs,[],a,[e],[],n,!1,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,c)}_visitTextWithInterpolation(e,t,n,i){const r=gc(e),s=this.bindingParser.parseInterpolation(r,t,n);return s?new Rn(s,t,i):new Nn(r,t)}parseVariable(e,t,n,i,r,s){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',n):0===e.length&&this.reportError("Variable does not have a name",n),s.push(new pi(e,t,n,i,r))}parseReference(e,t,n,i,r,s){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',n):0===e.length?this.reportError("Reference does not have a name",n):s.some(t=>t.name===e)&&this.reportError(`Reference "#${e}" is defined more than once`,n),s.push(new fi(e,t,n,i,r))}parseAssignmentEvent(e,t,n,i,r,s,o,a){const l=[];this.bindingParser.parseEvent(`${e}Change`,t,!0,n,i||n,r,l,o),sm(l,s)}validateSelectorlessReferences(e){if(0===e.length)return;const t=new Set;for(const n of e)n.value.length>0?this.reportError("Cannot specify a value for a local reference in this context",n.valueSpan||n.sourceSpan):t.has(n.name)?this.reportError("Duplicate reference names are not allowed",n.sourceSpan):t.add(n.name)}reportError(e,t,n=Sr.ERROR){this.errors.push(new Tr(t,e,n))}}const im=new class{visitElement(e){const t=sf(e);if(t.type===of.SCRIPT||t.type===of.STYLE||t.type===of.STYLESHEET)return null;const n=Rl(this,e.children,null);return new $n(e.name,Rl(this,e.attrs),[],[],[],n,[],e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid)}visitComment(e){return null}visitAttribute(e){return new Bn(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new Nn(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}visitBlock(e,t){const n=[new Nn(e.startSourceSpan.toString(),e.startSourceSpan),...Rl(this,e.children)];return null!==e.endSourceSpan&&n.push(new Nn(e.endSourceSpan.toString(),e.endSourceSpan)),n}visitBlockParameter(e,t){return null}visitLetDeclaration(e,t){return new Nn(`@let ${e.name} = ${e.value};`,e.sourceSpan)}visitComponent(e,t){const n=Rl(this,e.children,null);return new $n(e.fullName,Rl(this,e.attrs),[],[],[],n,[],e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,!1)}visitDirective(e,t){return null}};function rm(e){return/^data-/i.test(e)?e.substring(5):e}function sm(e,t){t.push(...e.map(e=>Vn.fromParsedEvent(e)))}const om=[" ","\n","\r","\t"];const am=new Jc;function lm(e=Gi,t=!1){return new dp(new Fc(new Cc,t),e,am,[])}const cm="%COMP%",um=`_nghost-${cm}`,dm=`_ngcontent-${cm}`;function hm(e,t,n){const i=new $i,r=_(e.selector);return i.set("type",e.type.value),r.length>0&&i.set("selectors",Fi(r)),e.queries.length>0&&i.set("contentQueries",function(e,t,n){const i=[],r=[],s=Bi(e=>r.push(e),Li);for(const n of e){if(i.push(Xp(n,t,{nonSignal:ct.contentQuery,signalBased:ct.contentQuerySignal},[Ue("dirIndex")]).toStmt()),n.isSignal){r.push(Qp);continue}const e=s(),o=qe(ct.loadQuery).callFn([]),a=qe(ct.queryRefresh).callFn([e.set(o)]),l=Ue(Ni).prop(n.propertyName).set(n.first?e.prop("first"):e);r.push(a.and(l).toStmt())}const o=n?`${n}_ContentQueries`:null;return Ke([new xe(Ri,G),new xe(Ni,null),new xe("dirIndex",null)],[Jp(1,i),Jp(2,ef(r))],q,null,o)}(e.queries,t,e.name)),e.viewQueries.length&&i.set("viewQuery",function(e,t,n){const i=[],r=[],s=Bi(e=>r.push(e),Li);e.forEach(e=>{const n=Xp(e,t,{signalBased:ct.viewQuerySignal,nonSignal:ct.viewQuery});if(i.push(n.toStmt()),e.isSignal)return void r.push(Qp);const o=s(),a=qe(ct.loadQuery).callFn([]),l=qe(ct.queryRefresh).callFn([o.set(a)]),c=Ue(Ni).prop(e.propertyName).set(e.first?o.prop("first"):o);r.push(l.and(c).toStmt())});const o=n?`${n}_Query`:null;return Ke([new xe(Ri,G),new xe(Ni,null)],[Jp(1,i),Jp(2,ef(r))],q,null,o)}(e.viewQueries,t,e.name)),i.set("hostBindings",function(e,t,n,i,r,s,o){const a=n.createBoundHostProperties(e.properties,t),l=n.createDirectiveHostEventAsts(e.listeners,t);e.specialAttributes.styleAttr&&(e.attributes.style=Qe(e.specialAttributes.styleAttr)),e.specialAttributes.classAttr&&(e.attributes.class=Qe(e.specialAttributes.classAttr));const c=function(e,t,n){const i=new Ba(e.componentName,n,gp,Oa.DomOnly);for(const n of e.properties??[]){let r=Hs.Property;n.name.startsWith("attr.")&&(n.name=n.name.substring(5),r=Hs.Attribute),n.isLegacyAnimation&&(r=Hs.LegacyAnimation),n.isAnimation&&(r=Hs.Animation),_p(i,n,r,wp(t,e.componentSelector,n.name,r===Hs.Attribute))}for(const[n,r]of Object.entries(e.attributes)??[])xp(i,n,r,wp(t,e.componentSelector,n,!0));for(const t of e.events??[])kp(i,t);return i}({componentName:s,componentSelector:r,properties:a,events:l,attributes:e.attributes},n,i);rp(c,Ma.Host),o.set("hostAttrs",c.root.attributes);const u=c.root.vars;return null!==u&&u>0&&o.set("hostVars",Qe(u)),function(e){if(null===e.root.fnName)throw new Error("AssertionError: host binding function is unnamed");const t=[];for(const n of e.root.create){if(n.kind!==Bs.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${Bs[n.kind]}`);t.push(n.statement)}const n=[];for(const t of e.root.update){if(t.kind!==Bs.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${Bs[t.kind]}`);n.push(t.statement)}if(0===t.length&&0===n.length)return null;const i=lp(1,t),r=lp(2,n);return Ke([new xe("rf"),new xe("ctx")],[...i,...r],void 0,void 0,e.root.fnName)}(c)}(e.host,e.typeSourceSpan,n,t,e.selector||"",e.name,i)),i.set("inputs",Vi(e.inputs,!0)),i.set("outputs",Vi(e.outputs)),null!==e.exportAs&&i.set("exportAs",Ze(e.exp
1ortAs.map(e=>Qe(e)))),!1===e.isStandalone&&i.set("standalone",Qe(!1)),e.isSignal&&i.set("signals",Qe(!0)),i}function pm(e,t){const n=[],i=t.providers,r=t.viewProviders;if(i||r){const e=[i||new De([])];r&&e.push(r),n.push(qe(ct.ProvidersFeature).callFn(e))}if(t.hostDirectives?.length&&n.push(qe(ct.HostDirectivesFeature).callFn([xm(t.hostDirectives)])),t.usesInheritance&&n.push(qe(ct.InheritDefinitionFeature)),t.fullInheritance&&n.push(qe(ct.CopyDefinitionFeature)),t.lifecycle.usesOnChanges&&n.push(qe(ct.NgOnChangesFeature)),"externalStyles"in t&&t.externalStyles?.length){const e=t.externalStyles.map(e=>Qe(e));n.push(qe(ct.ExternalStylesFeature).callFn([Ze(e)]))}n.length&&e.set("features",Ze(n))}function fm(e){const t=vm(e);return t.push(gm(e.template.ngContentSelectors)),t.push(We(Qe(e.isStandalone))),t.push(_m(e)),e.isSignal&&t.push(We(Qe(e.isSignal))),We(qe(ct.ComponentDeclaration,t))}function mm(e){return Ye(Object.keys(e).map(t=>({key:t,value:Qe(Array.isArray(e[t])?e[t][0]:e[t]),quoted:!0})))}function gm(e){return e.length>0?We(Ze(e.map(e=>Qe(e)))):Y}function vm(e){const t=null!==e.selector?e.selector.replace(/\n/g,""):null;return[It(e.type.type,e.typeArgumentCount),null!==t?(n=t,We(Qe(n))):Y,null!==e.exportAs?gm(e.exportAs):Y,We(ym(e)),We(mm(e.outputs)),gm(e.queries.map(e=>e.propertyName))];var n}function ym(e){return Ye(Object.keys(e.inputs).map(t=>{const n=e.inputs[t],i=[{key:"alias",value:Qe(n.bindingPropertyName),quoted:!0},{key:"required",value:Qe(n.required),quoted:!0}];return n.isSignal&&i.push({key:"isSignal",value:Qe(n.isSignal),quoted:!0}),{key:t,value:Ye(i),quoted:!0}}))}function bm(e){const t=vm(e);return t.push(Y),t.push(We(Qe(e.isStandalone))),t.push(_m(e)),e.isSignal&&t.push(We(Qe(e.isSignal))),We(qe(ct.DirectiveDeclaration,t))}const wm=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function _m(e){return e.hostDirectives?.length?We(Ze(e.hostDirectives.map(e=>Ye([{key:"directive",value:Ge(e.directive.type),quoted:!1},{key:"inputs",value:mm(e.inputs||{}),quoted:!1},{key:"outputs",value:mm(e.outputs||{}),quoted:!1}])))):Y}function xm(e){const t=[];let n=!1;for(const i of e){if(i.inputs||i.outputs){const e=[{key:"directive",value:i.directive.type,quoted:!1}];if(i.inputs){const t=km(i.inputs);t&&e.push({key:"inputs",value:t,quoted:!1})}if(i.outputs){const t=km(i.outputs);t&&e.push({key:"outputs",value:t,quoted:!1})}t.push(Ye(e))}else t.push(i.directive.type);i.isForwardReference&&(n=!0)}return n?new ke([],[new He(Ze(t))]):Ze(t)}function km(e){const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(Qe(n),Qe(e[n]));return t.length>0?Ze(t):null}class Cm extends wn{visit(e){e instanceof vn?this.visit(e.ast):e.visit(this)}visitElement(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitTemplate(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.templateAttrs),this.visitAllTemplateNodes(e.variables),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitContent(e){this.visitAllTemplateNodes(e.children)}visitBoundAttribute(e){this.visit(e.value)}visitBoundEvent(e){this.visit(e.handler)}visitBoundText(e){this.visit(e.value)}visitIcu(e){Object.keys(e.vars).forEach(t=>this.visit(e.vars[t])),Object.keys(e.placeholders).forEach(t=>this.visit(e.placeholders[t]))}visitDeferredBlock(e){e.visitAll(this)}visitDeferredTrigger(e){e instanceof Hn&&this.visit(e.value)}visitDeferredBlockPlaceholder(e){this.visitAllTemplateNodes(e.children)}visitDeferredBlockError(e){this.visitAllTemplateNodes(e.children)}visitDeferredBlockLoading(e){this.visitAllTemplateNodes(e.children)}visitSwitchBlock(e){this.visit(e.expression),this.visitAllTemplateNodes(e.cases)}visitSwitchBlockCase(e){e.expression&&this.visit(e.expression),this.visitAllTemplateNodes(e.children)}visitForLoopBlock(e){e.item.visit(this),this.visitAllTemplateNodes(e.contextVariables),this.visit(e.expression),this.visitAllTemplateNodes(e.children),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.visitAllTemplateNodes(e.children)}visitIfBlock(e){this.visitAllTemplateNodes(e.branches)}visitIfBlockBranch(e){e.expression&&this.visit(e.expression),e.expressionAlias?.visit(this),this.visitAllTemplateNodes(e.children)}visitLetDeclaration(e){this.visit(e.value)}visitComponent(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitDirective(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.references)}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitText(e){}visitUnknownBlock(e){}visitAllTemplateNodes(e){for(const t of e)this.visit(t)}}class Sm{directiveMatcher;constructor(e){this.directiveMatcher=e}bind(e){if(!e.template&&!e.host)throw new Error("Empty bound targets are not supported");const t=new Map,n=[],i=new Set,r=new Map,s=new Map,o=new Map,a=new Map,l=new Map,c=new Map,u=new Set,d=new Set,h=[];if(e.template){const p=Tm.apply(e.template);!function(e,t){const n=new Map;function i(e){if(n.has(e.rootNode))return n.get(e.rootNode);const t=e.namedEntities;let r;return r=null!==e.parentScope?new Map([...i(e.parentScope),...t]):new Map(t),n.set(e.rootNode,r),r}const r=[e];for(;r.length>0;){const e=r.pop();for(const t of e.childScopes.values())r.push(t);i(e)}
1for(const[e,i]of n)t.set(e,new Set(i.values()))}(p,o),Em.apply(e.template,this.directiveMatcher,t,n,i,r,s),Im.applyWithScope(e.template,p,a,l,c,u,d,h)}return e.host&&(t.set(e.host.node,e.host.directives),Im.applyWithScope(e.host.node,Tm.apply(e.host.node),a,l,c,u,d,h)),new Am(e,t,n,i,r,s,a,l,c,o,u,d,h)}}class Tm{parentScope;rootNode;namedEntities=new Map;elementLikeInScope=new Set;childScopes=new Map;isDeferred;constructor(e,t){this.parentScope=e,this.rootNode=t,this.isDeferred=!(null===e||!e.isDeferred)||t instanceof ei}static newRootScope(){return new Tm(null,null)}static apply(e){const t=Tm.newRootScope();return t.ingest(e),t}ingest(e){e instanceof di?(e.variables.forEach(e=>this.visitVariable(e)),e.children.forEach(e=>e.visit(this))):e instanceof oi?(null!==e.expressionAlias&&this.visitVariable(e.expressionAlias),e.children.forEach(e=>e.visit(this))):e instanceof ii?(this.visitVariable(e.item),e.contextVariables.forEach(e=>this.visitVariable(e)),e.children.forEach(e=>e.visit(this))):e instanceof ni||e instanceof ri||e instanceof ei||e instanceof Qn||e instanceof Jn||e instanceof Xn||e instanceof hi?e.children.forEach(e=>e.visit(this)):e instanceof gi||e.forEach(e=>e.visit(this))}visitElement(e){this.visitElementLike(e)}visitTemplate(e){e.directives.forEach(e=>e.visit(this)),e.references.forEach(e=>this.visitReference(e)),this.ingestScopedNode(e)}visitVariable(e){this.maybeDeclare(e)}visitReference(e){this.maybeDeclare(e)}visitDeferredBlock(e){this.ingestScopedNode(e),e.placeholder?.visit(this),e.loading?.visit(this),e.error?.visit(this)}visitDeferredBlockPlaceholder(e){this.ingestScopedNode(e)}visitDeferredBlockError(e){this.ingestScopedNode(e)}visitDeferredBlockLoading(e){this.ingestScopedNode(e)}visitSwitchBlock(e){e.cases.forEach(e=>e.visit(this))}visitSwitchBlockCase(e){this.ingestScopedNode(e)}visitForLoopBlock(e){this.ingestScopedNode(e),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.ingestScopedNode(e)}visitIfBlock(e){e.branches.forEach(e=>e.visit(this))}visitIfBlockBranch(e){this.ingestScopedNode(e)}visitContent(e){this.ingestScopedNode(e)}visitLetDeclaration(e){this.maybeDeclare(e)}visitComponent(e){this.visitElementLike(e)}visitDirective(e){e.references.forEach(e=>this.visitReference(e))}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundText(e){}visitText(e){}visitTextAttribute(e){}visitIcu(e){}visitDeferredTrigger(e){}visitUnknownBlock(e){}visitElementLike(e){e.directives.forEach(e=>e.visit(this)),e.references.forEach(e=>this.visitReference(e)),e.children.forEach(e=>e.visit(this)),this.elementLikeInScope.add(e)}maybeDeclare(e){this.namedEntities.has(e.name)||this.namedEntities.set(e.name,e)}lookup(e){return this.namedEntities.has(e)?this.namedEntities.get(e):null!==this.parentScope?this.parentScope.lookup(e):null}getChildScope(e){const t=this.childScopes.get(e);if(void 0===t)throw new Error(`Assertion error: child scope for ${e} not found`);return t}ingestScopedNode(e){const t=new Tm(this,e);t.ingest(e),this.childScopes.set(e,t)}}class Em{directiveMatcher;directives;eagerDirectives;missingDirectives;bindings;references;isInDeferBlock=!1;constructor(e,t,n,i,r,s){this.directiveMatcher=e,this.directives=t,this.eagerDirectives=n,this.missingDirectives=i,this.bindings=r,this.references=s}static apply(e,t,n,i,r,s,o){new Em(t,n,i,r,s,o).ingest(e)}ingest(e){e.forEach(e=>e.visit(this))}visitElement(e){this.visitElementOrTemplate(e)}visitTemplate(e){this.visitElementOrTemplate(e)}visitDeferredBlock(e){const t=this.isInDeferBlock;this.isInDeferBlock=!0,e.children.forEach(e=>e.visit(this)),this.isInDeferBlock=t,e.placeholder?.visit(this),e.loading?.visit(this),e.error?.visit(this)}visitDeferredBlockPlaceholder(e){e.children.forEach(e=>e.visit(this))}visitDeferredBlockError(e){e.children.forEach(e=>e.visit(this))}visitDeferredBlockLoading(e){e.children.forEach(e=>e.visit(this))}visitSwitchBlock(e){e.cases.forEach(e=>e.visit(this))}visitSwitchBlockCase(e){e.children.forEach(e=>e.visit(this))}visitForLoopBlock(e){e.item.visit(this),e.contextVariables.forEac
1h(e=>e.visit(this)),e.children.forEach(e=>e.visit(this)),e.empty?.visit(this)}visitForLoopBlockEmpty(e){e.children.forEach(e=>e.visit(this))}visitIfBlock(e){e.branches.forEach(e=>e.visit(this))}visitIfBlockBranch(e){e.expressionAlias?.visit(this),e.children.forEach(e=>e.visit(this))}visitContent(e){e.children.forEach(e=>e.visit(this))}visitComponent(e){if(this.directiveMatcher instanceof a){const t=this.directiveMatcher.match(e.componentName);t.length>0?this.trackSelectorlessMatchesAndDirectives(e,t):this.missingDirectives.add(e.componentName)}e.directives.forEach(e=>e.visit(this)),e.children.forEach(e=>e.visit(this))}visitDirective(e){if(this.directiveMatcher instanceof a){const t=this.directiveMatcher.match(e.name);t.length>0?this.trackSelectorlessMatchesAndDirectives(e,t):this.missingDirectives.add(e.name)}}visitElementOrTemplate(e){if(this.directiveMatcher instanceof i){const t=[],i=function(e){const t=e instanceof $n?e.name:"ng-template",i=function(e){const t={};return e instanceof di&&"ng-template"!==e.tagName?e.templateAttrs.forEach(e=>t[e.name]=""):(e.attributes.forEach(e=>{Ai(e.name)||(t[e.name]=e.value)}),e.inputs.forEach(e=>{e.type!==Cn.Property&&e.type!==Cn.TwoWay||(t[e.name]="")}),e.outputs.forEach(e=>{t[e.name]=""})),t}(e),r=new n,s=An(t)[1];return r.setElement(s),Object.getOwnPropertyNames(i).forEach(e=>{const t=An(e)[1],n=i[e];r.addAttribute(t,n),"class"===e.toLowerCase()&&n.trim().split(/\s+/).forEach(e=>r.addClassName(e))}),r}(e);this.directiveMatcher.match(i,(e,n)=>t.push(...n)),this.trackSelectorBasedBindingsAndDirectives(e,t)}else e.references.forEach(t=>{""===t.value.trim()&&this.references.set(t,e)});e.directives.forEach(e=>e.visit(this)),e.children.forEach(e=>e.visit(this))}trackMatchedDirectives(e,t){t.length>0&&(this.directives.set(e,t),this.isInDeferBlock||this.eagerDirectives.push(...t))}trackSelectorlessMatchesAndDirectives(e,t){if(0===t.length)return;this.trackMatchedDirectives(e,t);const n=(e,t,n)=>{e[n].hasBindingPropertyName(t.name)&&this.bindings.set(t,e)};for(const i of t)e.inputs.forEach(e=>n(i,e,"inputs")),e.attributes.forEach(e=>n(i,e,"inputs")),e.outputs.forEach(e=>n(i,e,"outputs"));e.references.forEach(n=>this.references.set(n,{directive:t[0],node:e}))}trackSelectorBasedBindingsAndDirectives(e,t){this.trackMatchedDirectives(e,t),e.references.forEach(n=>{let i=null;if(""===n.value.trim())i=t.find(e=>e.isComponent)||null;else if(i=t.find(e=>null!==e.exportAs&&e.exportAs.some(e=>e===n.value))||null,null===i)return;null!==i?this.references.set(n,{directive:i,node:e}):this.references.set(n,e)});const n=(n,i)=>{const r=t.find(e=>e[i].hasBindingPropertyName(n.name)),s=void 0!==r?r:e;this.bindings.set(n,s)};e.inputs.forEach(e=>n(e,"inputs")),e.attributes.forEach(e=>n(e,"inputs")),e instanceof di&&e.templateAttrs.forEach(e=>n(e,"inputs")),e.outputs.forEach(e=>n(e,"outputs"))}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundAttributeOrEvent(e){}visitText(e){}visitBoundText(e){}visitIcu(e){}visitDeferredTrigger(e){}visitUnknownBlock(e){}visitLetDeclaration(e){}}class Im extends Cm{bindings;symbols;usedPipes;eagerPipes;deferBlocks;nestingLevel;scope;rootNode;level;visitNode=e=>e.visit(this);constructor(e,t,n,i,r,s,o,a,l){super(),this.bindings=e,this.symbols=t,this.usedPipes=n,this.eagerPipes=i,this.deferBlocks=r,this.nestingLevel=s,this.scope=o,this.rootNode=a,this.level=l}static applyWithScope(e,t,n,i,r,s,o,a){new Im(n,i,s,o,a,r,t,e instanceof di?e:null,0).ingest(e)}
1ingest(e){if(e instanceof di)e.variables.forEach(this.visitNode),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof oi)null!==e.expressionAlias&&this.visitNode(e.expressionAlias),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof ii)this.visitNode(e.item),e.contextVariables.forEach(e=>this.visitNode(e)),e.trackBy.visit(this),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof ei){if(this.scope.rootNode!==e)throw new Error(`Assertion error: resolved incorrect scope for deferred block ${e}`);this.deferBlocks.push([e,this.scope]),e.children.forEach(e=>e.visit(this)),this.nestingLevel.set(e,this.level)}else e instanceof ni||e instanceof ri||e instanceof Qn||e instanceof Jn||e instanceof Xn||e instanceof hi?(e.children.forEach(e=>e.visit(this)),this.nestingLevel.set(e,this.level)):e instanceof gi?this.nestingLevel.set(e,0):e.forEach(this.visitNode)}visitTemplate(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.directives.forEach(this.visitNode),e.templateAttrs.forEach(this.visitNode),e.references.forEach(this.visitNode),this.ingestScopedNode(e)}visitVariable(e){null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitReference(e){null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitDeferredBlock(e){this.ingestScopedNode(e),e.triggers.when?.value.visit(this),e.prefetchTriggers.when?.value.visit(this),e.hydrateTriggers.when?.value.visit(this),e.hydrateTriggers.never?.visit(this),e.placeholder&&this.visitNode(e.placeholder),e.loading&&this.visitNode(e.loading),e.error&&this.visitNode(e.error)}visitDeferredBlockPlaceholder(e){this.ingestScopedNode(e)}visitDeferredBlockError(e){this.ingestScopedNode(e)}visitDeferredBlockLoading(e){this.ingestScopedNode(e)}visitSwitchBlockCase(e){e.expression?.visit(this),this.ingestScopedNode(e)}visitForLoopBlock(e){e.expression.visit(this),this.ingestScopedNode(e),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.ingestScopedNode(e)}visitIfBlockBranch(e){e.expression?.visit(this),this.ingestScopedNode(e)}visitContent(e){this.ingestScopedNode(e)}visitLetDeclaration(e){super.visitLetDeclaration(e),null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitPipe(e,t){return this.usedPipes.add(e.name),this.scope.isDeferred||this.eagerPipes.add(e.name),super.visitPipe(e,t)}visitPropertyRead(e,t){return this.maybeMap(e,e.name),super.visitPropertyRead(e,t)}visitSafePropertyRead(e,t){return this.maybeMap(e,e.name),super.visitSafePropertyRead(e,t)}ingestScopedNode(e){const t=this.scope.getChildScope(e);new Im(this.bindings,this.symbols,this.usedPipes,this.eagerPipes,this.deferBlocks,this.nestingLevel,t,e,this.level+1).ingest(e)}maybeMap(e,t){if(!(e.receiver instanceof zt)||e.receiver instanceof Ut)return;const n=this.scope.lookup(t);null!==n&&this.bindings.set(e,n)}}class Am{target;directives;eagerDirectives;missingDirectives;bindings;references;exprTargets;symbols;nestingLevel;scopedNodeEntities;usedPipes;eagerPipes;deferredBlocks;deferredScopes;constructor(e,t,n,i,r,s,o,a,l,c,u,d,h){this.target=e,this.directives=t,this.eagerDirectives=n,this.missingDirectives=i,this.bindings=r,this.references=s,this.exprTargets=o,this.symbols=a,this.nestingLevel=l,this.scopedNodeEntities=c,this.usedPipes=u,this.eagerPipes=d,this.deferredBlocks=h.map(e=>e[0]),this.deferredScopes=new Map(h)}getEntitiesInScope(e){return this.scopedNodeEntities.get(e)??new Set}getDirectivesOfNode(e){return this.directives.get(e)||null}getReferenceTarget(e){return this.references.get(e)||null}getConsumerOfBinding(e){return this.bindings.get(e)||null}getExpressionTarget(e){return this.exprTargets.get(e)||null}getDefinitionNodeOfSymbol(e){return this.symbols.get(e)||null}getNestingLevel(e){return this.nestingLevel.get(e)||0}getUsedDirectives(){const e=new Set;return this.directives.forEach(t=>t.forEach(t=>e.add(t))),Array.from(e.values())}getEagerlyUsedDirectives(){const e=new Set(this.eagerDirectives);return Array.from(e.values())}getUsedPipes(){return Array.from(this.usedPipes)}getEagerlyUsedPipes(){return Array.from(this.eagerPipes)}getDeferBlocks(){return this.deferredBlocks}getDeferredTriggerTarget(e,t){if(!(t instanceof Zn||t instanceof Yn||t instanceof Wn))return null;const n=t.reference;if(null===n){let t=null;if(null!==e.placeholder)for(const n of e.placeholder.children)if(!(n instanceof Ln)){if(null!==t)return null;n instanceof $n&&(t=n)}return t}const i=this.findEntityInScope(e,n);if(i instanceof fi&&this.getDefinitionNodeOfSymbol(i)!==e){const e=this.getReferenceTarget(i);if(null!==e)return this.referenceTargetToElement(e)}if(null!==e.placeholder){const t=this.findEntityInScope(e.placeholder,n),i=t instanceof fi?this.getReferenceTarget(t):null;if(null!==i)return this.referenceTargetToElement(i)}return null}isDeferred(e){for(const t of this.deferredBlocks){if(!this.deferredScopes.has(t))continue;const n=[this.deferredScopes.get(t)];for(;n.length>0;){const t=n.pop();if(t.elementLikeInScope.has(e))return!0;n.push(...t.childScopes.values())}}return!1}referencedDirectiveExists(e){return!this.missingDirectives.has(e)}findEntityInScope(e,t){const n=this.getEntitiesInScope(e);for(const e of n)if(e.name===t)return e;return null}referenceTargetToElement(e){return e instanceof $n?e:e instanceof di||e.node instanceof ci||e.node instanceof ui||e.node instanceof gi?null:this.referenceTargetToElement(e.node)}}class Dm{}function Mm(e){return{...e,isSignal:e.isSignal,predicate:Pm(e.predicate),read:e.read?new re(e.read):null,
1static:e.static,emitDistinctChangesOnly:e.emitDistinctChangesOnly}}function Om(e){return{propertyName:e.propertyName,first:e.first??!1,predicate:Pm(e.predicate),descendants:e.descendants??!1,read:e.read?new re(e.read):null,static:e.static??!1,emitDistinctChangesOnly:e.emitDistinctChangesOnly??!0,isSignal:!!e.isSignal}}function Pm(e){return Array.isArray(e)?e:Ot(new re(e),1)}function Lm(e){const t=(e.inputs||[]).reduce((e,t)=>{if("string"==typeof t){const[n,i]=Xm(t);e[i]={bindingPropertyName:n,classPropertyName:i,required:!1,isSignal:!1,transformFunction:null}}else e[t.name]={bindingPropertyName:t.alias||t.name,classPropertyName:t.name,required:t.required||!1,isSignal:!1,transformFunction:null!=t.transform?new re(t.transform):null};return e},{}),n=Jm(e.outputs||[]),i=e.propMetadata,r={},s={};for(const e in i)i.hasOwnProperty(e)&&i[e].forEach(t=>{"Input"===t.ngMetadataName?r[e]={bindingPropertyName:t.alias||e,classPropertyName:e,required:t.required||!1,isSignal:!!t.isSignal,transformFunction:null!=t.transform?new re(t.transform):null}:"Output"===t.ngMetadataName&&(s[e]=t.alias||e)});const o=e.hostDirectives?.length?e.hostDirectives.map(e=>"function"==typeof e?{directive:Dt(e),inputs:null,outputs:null,isForwardReference:!1}:{directive:Dt(e.directive),isForwardReference:!1,inputs:e.inputs?Jm(e.inputs):null,outputs:e.outputs?Jm(e.outputs):null}):null;return{...e,typeArgumentCount:0,typeSourceSpan:e.typeSourceSpan,type:Dt(e.type),deps:null,host:{...Km(e.propMetadata,e.typeSourceSpan,e.host)},inputs:{...t,...r},outputs:{...n,...s},queries:e.queries.map(Mm),providers:null!=e.providers?new re(e.providers):null,viewQueries:e.viewQueries.map(Mm),fullInheritance:!1,hostDirectives:o}}function Nm(e,t){const n=e.hostDirectives?.length?e.hostDirectives.map(e=>({directive:Dt(e.directive),isForwardReference:!1,inputs:e.inputs?Bm(e.input
1s):null,outputs:e.outputs?Bm(e.outputs):null})):null;return{name:e.type.name,type:Dt(e.type),typeSourceSpan:t,selector:e.selector??null,inputs:e.inputs?(i=e.inputs,Object.keys(i).reduce((e,t)=>{const n=i[t];return"string"==typeof n||Array.isArray(n)?e[t]=function(e){return"string"==typeof e?{bindingPropertyName:e,classPropertyName:e,transformFunction:null,required:!1,isSignal:!1}:{bindingPropertyName:e[0],classPropertyName:e[1],transformFunction:e[2]?new re(e[2]):null,required:!1,isSignal:!1}}(n):e[t]={bindingPropertyName:n.publicName,classPropertyName:t,transformFunction:null!==n.transformFunction?new re(n.transformFunction):null,required:n.isRequired,isSignal:n.isSignal},e},{})):{},outputs:e.outputs??{},host:Rm(e.host),queries:(e.queries??[]).map(Om),viewQueries:(e.viewQueries??[]).map(Om),providers:void 0!==e.providers?new re(e.providers):null,exportAs:e.exportAs??null,usesInheritance:e.usesInheritance??!1,lifecycle:{usesOnChanges:e.usesOnChanges??!1},deps:null,typeArgumentCount:0,fullInheritance:!1,isStandalone:e.isStandalone??mt(e.version),isSignal:e.isSignal??!1,hostDirectives:n};var i}function Rm(e={}){return{attributes:Fm(e.attributes??{}),listeners:e.listeners??{},properties:e.properties??{},specialAttributes:{classAttr:e.classAttribute,styleAttr:e.styleAttribute}}}function Bm(e){let t=null;for(let n=1;n<e.length;n+=2)t=t||{},t[e[n-1]]=e[n];return t}function Fm(e){const t={};for(const n of Object.keys(e))t[n]=new re(e[n]);return t}function Vm(e){return{...e,type:new re(e.type)}}function $m(e,t=null){return{kind:$r.Directive,isComponent:t||"component"===e.kind,selector:e.selector,type:new re(e.type),inputs:e.inputs??[],outputs:e.outputs??[],exportAs:e.exportAs??null}}function jm(e){return{kind:$r.Pipe,name:e.name,type:new re(e.type)}}function Hm(e,t,n,i,r,s){const o=r?Wi.fromArray(r):Gi,a=function(e,t,n={}){const{interpolationConfig:i,preserveWhitespaces:r,enableI18nLegacyMessageIdFormat:s}=n,o=n.enableSelectorless??!1,a=lm(i,o),l=(new tf).parse(e,t,{leadingTriviaChars:om,...n,tokenizeExpansionForms:!0,tokenizeBlocks:n.enableBlockSyntax??!0,tokenizeLet:n.enableLetSyntax??!0,selectorlessEnabled:o});if(!n.alwaysAttemptHtmlToR3AstConversion&&l.errors&&l.errors.length>0){const e={interpolationConfig:i,preserveWhitespaces:r,errors:l.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(e.commentNodes=[]),e}let c=l.rootNodes;const u=!(n.preserveSignificantWhitespace??1),d=new hu(i,!r,s,void 0,n.preserveSignificantWhitespace,u),h=d.visitAllWithErrors(c);if(!n.alwaysAttemptHtmlToR3AstConversion&&h.errors&&h.errors.length>0){const e={interpolationConfig:i,preserveWhitespaces:r,errors:h.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(e.commentNodes=[]),e}c=h.rootNodes,r||(c=Rl(new vc(!0,void 0,!1),c),d.hasI18nMeta&&(c=Rl(new hu(i,!1,void 0,void 0,!0,u),c)));const{nodes:p,errors:f,styleUrls:m,styles:g,ngContentSelectors:v,commentNodes:y}=function(e,t,n){const i=new nm(t,n),r={nodes:Rl(i,e,e),errors:t.errors.concat(i.errors),styleUrls:i.styleUrls,styles:i.styles,ngContentSelectors:i.ngContentSelectors};return n.collectCommentNodes&&(r.commentNodes=i.commentNodes),r}(c,a,{collectCommentNodes:!!n.collectCommentNodes});f.push(...l.errors,...h.errors);const b={interpolationConfig:i,preserveWhitespaces:r,errors:f.length>0?f:null,nodes:p,styleUrls:m,styles:g,ngContentSelectors:v};return n.collectCommentNodes&&(b.commentNodes=y),b}(e,n,{preserveWhitespaces:i,interpolationConfig:o});if(null!==a.errors){const e=a.errors.map(e=>e.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${t}: ${e}`)}return{template:a,interpolation:o,defer:Ym(new Sm(null).bind({template:a.nodes}),s)}}function zm(e,t){return e.hasOwnProperty(t)?Ot(new re(e[t]),0):void 0}function Um(e,t){return e.hasOwnProperty(t)?new re(e[t]):void 0}function qm(e){return Ot("function"==typeof e?new re(e):new le(e??null),0)}function Wm(e){const t=null!=e.attribute,n=null===e.token?null:new re(e.token);return Zm(t?new re(e.attribute):n,t,e.host,e.optional,e.self,e.skipSelf)}function Gm(e){const t=e.attribute??!1;return Zm(null===e.token?null:new re(e.token),t,e.host??!1,e.optional??!1,e.self??!1,e.skipSelf??!1)}function Zm(e,t,n,i,r,s){return{token:e,attributeNameType:t?Qe("unknown"):null,host:n,optional:i,self:r,skipSelf:s}}function Ym(e,t){const n=e.getDeferBlocks(),i=new Map;for(let e=0;e<n.length;e++){const r=t?.[e];i.set(n[e],r?new re(r):null)}return{mode:0,blocks:i}}function Km(e,t,n){const i=function(e){const t={},n={},i={},r={};for(const s of Object.keys(e)){const o=e[s],a=s.match(wm);if(null===a)switch(s){case"class":if("string"!=typeof o)throw new Error("Class binding must be string");r.classAttr=o;break;case"style":if("string"!=typeof o)throw new Error("Style binding must be string");r.styleAttr=o;break;default:t[s]="string"==typeof o?Qe(o):o}
1else if(null!=a[1]){if("string"!=typeof o)throw new Error("Property binding must be string");i[a[1]]=o}else if(null!=a[2]){if("string"!=typeof o)throw new Error("Event binding must be string");n[a[2]]=o}}return{attributes:t,listeners:n,properties:i,specialAttributes:r}}(n||{});for(const t in e)e.hasOwnProperty(t)&&e[t].forEach(e=>{"HostBinding"===e.ngMetadataName?i.properties[e.hostPropertyName||t]=At("this",t):"HostListener"===e.ngMetadataName&&(i.listeners[e.eventName||t]=`${t}(${(e.args||[]).join(",")})`)});const r=function(e,t){const n=lm();return n.createDirectiveHostEventAsts(e.listeners,t),n.createBoundHostProperties(e.properties,t),function(e,t,n){for(const i in e.properties){const e=i.startsWith("attr."),r=e?i.slice(5):i;if(r.toLowerCase().startsWith("on")){const s=e?"attribute":"property",o=`(${r.slice(2)})=...`;let a=`Binding to event ${s} '${r}' is disallowed for security reasons, please use ${o}`;e||(a+=`\nIf '${i}' is a directive input, make sure the directive is imported by the current module.`),t.errors.push(new Tr(n,a))}}}(e,n,t),n.errors}(i,t);if(r.length)throw new Error(r.map(e=>e.msg).join("\n"));return i}function Jm(e){return e.reduce((e,t)=>{const[n,i]=Xm(t);return e[i]=n,e},{})}function Xm(e){const[t,n]=e.split(":",2).map(e=>e.trim());return[n??t,t]}var Qm,eg;let tg;function ng(){return tg}function ig(e){const t=tg;return tg=e,t}!function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"}(Qm||(Qm={})),new class{closedByParent=!1;implicitNamespacePrefix=null;isVoid=!1;ignoreFirstLf=!1;canSelfClose=!0;preventNamespaceInheritance=!1;requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return Sn.PARSABLE_DATA}},new class{full;major;minor;patch;constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}("20.3.28"),((eg=pt).ng||(eg.ng={})).ɵcompilerFacade=new class{jitEvaluator;FactoryTarget=v;ResourceLoader=Dm;elementSchemaRegistry=new Jc;constructor(e=new Pr){this.jitEvaluator=e}compilePipe(e,t,n){const i=qr({name:n.name,type:Dt(n.type),typeArgumentCount:0,deps:null,pipeName:n.pipeName,pure:n.pure,isStandalone:n.isStandalone});return this.jitExpression(i.expression,e,t,[])}compilePipeDeclaration(e,t,n){const i=function(e){return{name:e.type.name,type:Dt(e.type),typeArgumentCount:0,pipeName:e.name,deps:null,pure:e.pure??!0,isStandalone:e.isStandalone??mt(e.version)}}(n),r=qr(i);return this.jitExpression(r.expression,e,t,[])}compileInjectable(e,t,n){const{expression:i,statements:r}=ji({name:n.name,type:Dt(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:qm(n.providedIn),useClass:zm(n,"useClass"),useFactory:Um(n,"useFactory"),useValue:zm(n,"useValue"),useExisting:zm(n,"useExisting"),deps:n.deps?.map(Wm)},!0);return this.jitExpression(i,e,t,r)}compileInjectableDeclaration(e,t,n){const{expression:i,statements:r}=ji({name:n.type.name,type:Dt(n.type),typeArgumentCount:0,providedIn:qm(n.providedIn),useClass:zm(n,"useClass"),useFactory:Um(n,"useFactory"),useValue:zm(n,"useValue"),useExisting:zm(n,"useExisting"),deps:n.deps?.map(Gm)},!0);return this.jitExpression(i,e,t,r)}compileInjector(e,t,n){const i=Nr({name:n.name,type:Dt(n.type),providers:n.providers&&n.providers.length>0?new re(n.providers):null,imports:n.imports.map(e=>new re(e))});return this.jitExpression(i.expression,e,t,[])}compileInjectorDeclaration(e,t,n){const i=function(e){return{name:e.type.name,type:Dt(e.type),providers:void 0!==e.providers&&e.providers.length>0?new re(e.providers):null,imports:void 0!==e.imports?e.imports.map(e=>new re(e)):[]}}(n),r=Nr(i);return this.jitExpression(r.expression,e,t,[])}compileNgModule(e,t,n){const i=jr({kind:Vr.Global,type:Dt(n.type),bootstrap:n.bootstrap.map(Dt),declarations:n.declarations.map(Dt),publicDeclarationTypes:null,imports:n.imports.map(Dt),includeImportTypes:!0,exports:n.exports.map(Dt),selectorScopeMode:Fr.Inline,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(Dt):null,id:n.id?new re(n.id):null});return this.jitExpression(i.expression,e,t,[])}compileNgModuleDeclaration(e,t,n){const i=function(e){const t=new $i;return t.set("type",new re(e.type)),void 0!==e.bootstrap&&t.set("bootstrap",new re(e.bootstrap)),void 0!==e.declarations&&t.set("declarations",new re(e.declarations)),void 0!==e.imports&&t.set("imports",new re(e.imports)),void 0!==e.exports&&t.set("exports",new re(e.exports)),void 0!==e.schemas&&t.set("schemas",new re(e.schemas)),void 0!==e.id&&t.set("id",new re(e.id)),qe(ct.defineNgModule).callFn([t.toLiteralMap()])}(n);return this.jitExpression(i,e,t,[])}compileDirective(e,t,n){const i=Lm(n);return this.compileDirectiveFromMeta(e,t,i)}compileDirectiveDeclaration(e,t,n){const i=Nm(n,this.createParseSourceSpan("Directive",n.type.name,t));return this.compileDirectiveFromMeta(e,t,i)}compileDirectiveFromMeta(e,t,n){const i=new rt,r=function(e,t,n){const i=hm(e,t,n);return pm(i,e),{expression:qe(ct.defineDirective).callFn([i.toLiteralMap()],void 0,!0),type:bm(e),statements:[]}}(n,i,lm());return this.jitExpression(r.expression,e,t,i.statements)}compileComponent(e,t,n){const{template:i,interpolation:r,defer:s}
1=Hm(n.template,n.name,t,n.preserveWhitespaces,n.interpolation,void 0),o={...n,...Lm(n),selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:i,declarations:n.declarations.map(Vm),declarationListEmitMode:0,defer:s,styles:[...n.styles,...i.styles],encapsulation:n.encapsulation,interpolation:r,changeDetection:n.changeDetection??null,animations:null!=n.animations?new re(n.animations):null,viewProviders:null!=n.viewProviders?new re(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0,relativeTemplatePath:null},a=`ng:///${n.name}.js`;return this.compileComponentFromMeta(e,a,o)}compileComponentDeclaration(e,t,n){const i=function(e,t,n){const{template:i,interpolation:r,defer:s}=Hm(e.template,e.type.name,n,e.preserveWhitespaces??!1,e.interpolation,e.deferBlockDependencies),o=[];if(e.dependencies)for(const t of e.dependencies)switch(t.kind){case"directive":case"component":o.push($m(t));break;case"pipe":o.push(jm(t))}else(e.components||e.directives||e.pipes)&&(e.components&&o.push(...e.components.map(e=>$m(e,!0))),e.directives&&o.push(...e.directives.map(e=>$m(e))),e.pipes&&o.push(...(a=e.pipes,a?Object.keys(a).map(e=>({kind:$r.Pipe,name:e,type:new re(a[e])})):[])));var a;const l=o.some(({kind:e})=>e===$r.Directive||e===$r.NgModule);return{...Nm(e,t),template:i,styles:e.styles??[],declarations:o,viewProviders:void 0!==e.viewProviders?new re(e.viewProviders):null,animations:void 0!==e.animations?new re(e.animations):null,defer:s,changeDetection:e.changeDetection??h.Default,encapsulation:e.encapsulation??d.Emulated,interpolation:r,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0,relativeTemplatePath:null,hasDirectiveDependencies:l}}(n,this.createParseSourceSpan("Component",n.type.name,t),t);return this.compileComponentFromMeta(e,t,i)}compileComponentFromMeta(e,t,i){const r=new rt,s=function(e,t,i){const r=hm(e,t,i);pm(r,e);const s=e.selector&&n.parse(e.selector),o=s&&s[0];if(o){const e=o.getAttrs();e.length&&r.set("attrs",t.getConstLiteral(Ze(e.map(e=>Qe(null!=e?e:void 0))),!0))}const a=e.name;let l=null;if(1===e.defer.mode&&null!==e.defer.dependenciesFn){const n=`${a}_DeferFn`;t.statements.push(new Ve(n,e.defer.dependenciesFn,void 0,Ne.Final)),l=Ue(n)}const c=e.isStandalone&&!e.hasDirectiveDependencies?Oa.DomOnly:Oa.Full,u=function(e,t,n,i,r,s,o,a,l){const c=new La(e,n,gp,i,r,s,o,a,l,!1);return Cp(c.root,t),c}(e.name,e.template.nodes,t,c,e.relativeContextFilePath,e.i18nUseExternalIds,e.defer,l,e.relativeTemplatePath);rp(u,Ma.Tmpl);const p=sp(u,t);if(null!==u.contentSelectors&&r.set("ngContentSelectors",u.contentSelectors),r.set("decls",Qe(u.root.decls)),r.set("vars",Qe(u.root.vars)),u.consts.length>0&&(u.constsInitializers.length>0?r.set("consts",Je([],[...u.constsInitializers,new He(Ze(u.consts))])):r.set("consts",Ze(u.consts))),r.set("template",p),3!==e.declarationListEmitMode&&e.declarations.length>0)r.set("dependencies",function(e,t){switch(t){case 0:return e;case 1:return Je([],e);case 2:return Je([],e.prop("map").callFn([qe(ct.resolveForwardRef)]));case 3:throw new Error("Unsupported with an array of pre-resolved dependencies")}}(Ze(e.declarations.map(e=>e.type)),e.declarationListEmitMode));else if(3===e.declarationListEmitMode){const t=[e.type.value];e.rawImports&&t.push(e.rawImports),r.set("dependencies",qe(ct.getComponentDepsFactory).callFn(t))}null===e.encapsulation&&(e.encapsulation=d.Emulated);let f=!!e.externalStyles?.length;if(e.styles&&e.styles.length){const n=e.encapsulation==d.Emulated?function(e,t,n){const i=new Yr;return e.map(e=>i.shimCssText(e,t,n))}(e.styles,dm,um):e.styles,i=n.reduce((e,n)=>(n.trim().length>0&&e.push(t.getConstLiteral(Qe(n))),e),[]);i.length>0&&(f=!0,r.set("styles",Ze(i)))}return f||e.encapsulation!==d.Emulated||(e.encapsulation=d.None),e.encapsulation!==d.Emulated&&r.set("encapsulation",Qe(e.encapsulation)),null!==e.animations&&r.set("data",Ye([{key:"animation",value:e.animations,quoted:!1}])),null!==e.changeDetection&&("number"==typeof e.changeDetection&&e.changeDetection!==h.Default?r.set("changeDetection",Qe(e.changeDetection)):"object"==typeof e.changeDetection&&r.set("changeDetection",e.changeDetection)),{expression:qe(ct.defineComponent).callFn([r.toLiteralMap()],void 0,!0),type:fm(e),statements:[]}}(i,r,lm(i.interpolation));return this.jitExpression(s.expression,e,t,r.statements)}
1compileFactory(e,t,n){const i=Nt({name:n.name,type:Dt(n.type),typeArgumentCount:n.typeArgumentCount,deps:(r=n.deps,null==r?null:r.map(Wm)),target:n.target});var r;return this.jitExpression(i.expression,e,t,i.statements)}compileFactoryDeclaration(e,t,n){const i=Nt({name:n.type.name,type:Dt(n.type),typeArgumentCount:0,deps:Array.isArray(n.deps)?n.deps.map(Gm):n.deps,target:n.target});return this.jitExpression(i.expression,e,t,i.statements)}createParseSourceSpan(e,t,n){return function(e,t,n){const i=new kr("",`in ${e} ${t} in ${n}`);return new Cr(new xr(i,-1,-1,-1),new xr(i,-1,-1,-1))}(e,t,n)}jitExpression(e,t,n,i){const r=[...i,new Ve("$def",e,void 0,Ne.Exported)];return this.jitEvaluator.evaluateStatements(n,r,new Br(t),!0).$def}},o(9670);const rg=Symbol("NotFound");function sg(e){return e===rg||"ɵNotFound"===e?.name}Error;let og=null,ag=!1,lg=1,cg=null;const ug=Symbol("SIGNAL");function dg(e){const t=og;return og=e,t}function hg(){return og}const pg={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function fg(e){if(ag)throw new Error("undefined"!=typeof ngDevMode&&ngDevMode?"Assertion error: signal read during notification phase":"");if(null===og)return;og.consumerOnSignalRead(e);const t=og.producersTail;if(void 0!==t&&t.producer===e)return;let n;const i=og.recomputing;if(i&&(n=void 0!==t?t.nextProducer:og.producers,void 0!==n&&n.producer===e))return og.producersTail=n,void(n.lastReadVersion=e.version);const r=e.consumersTail;if(void 0!==r&&r.consumer===og&&(!i||function(e,t){const n=t.producersTail;if(void 0!==n){let i=t.producers;do{if(i===e)return!0;if(i===n)break;i=i.nextProducer}while(void 0!==i)}return!1}(r,og)))return;const s=Tg(og),o={producer:e,consumer:og,nextProducer:n,prevConsumer:r,lastReadVersion:e.version,nextConsumer:void 0};og.producersTail=o,void 0!==t?t.nextProducer=o:og.producers=o,s&&Cg(e,o)}function mg(e){Tg(e)&&!e.dirty||(e.dirty||e.lastCleanEpoch!==lg)&&(e.producerMustRecompute(e)||xg(e)?(e.producerRecomputeValue(e),bg(e)):bg(e))}function gg(e){if(void 0===e.consumers)return;const t=ag;ag=!0;try{for(let t=e.consumers;void 0!==t;t=t.nextConsumer){const e=t.consumer;e.dirty||yg(e)}}finally{ag=t}}function vg(){return!1!==og?.consumerAllowSignalWrites}function yg(e){e.dirty=!0,gg(e),e.consumerMarkedDirty?.(e)}function bg(e){e.dirty=!1,e.lastCleanEpoch=lg}function wg(e){return e&&function(e){e.producersTail=void 0,e.recomputing=!0}(e),dg(e)}function _g(e,t){dg(t),e&&function(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(Tg(e))do{n=Sg(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function xg(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const e=t.producer,n=t.lastReadVersion;if(n!==e.version)return!0;if(mg(e),n!==e.version)return!0}return!1}function kg(e){if(Tg(e)){let t=e.producers;for(;void 0!==t;)t=Sg(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Cg(e,t){const n=e.consumersTail,i=Tg(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!i)for(let t=e.producers;void 0!==t;t=t.nextProducer)Cg(t.producer,t)}function Sg(e){const t=e.producer,n=e.nextProducer,i=e.nextConsumer,r=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==i?i.prevConsumer=r:t.consumersTail=r,void 0!==r)r.nextConsumer=i;else if(t.consumers=i,!Tg(t)){let e=t.producers;for(;void 0!==e;)e=Sg(e)}return n}function Tg(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Eg(e){cg?.(e)}function Ig(e,t){return Object.is(e,t)}function Ag(e,t){const n=Object.create(Pg);n.computation=e,void 0!==t&&(n.equal=t);const i=()=>{if(mg(n),fg(n),n.value===Og)throw n.error;return n.value};if(i[ug]=n,"undefined"!=typeof ngDevMode&&ngDevMode){const e=n.debugName?" ("+n.debugName+")":"";i.toString=()=>`[Computed${e}: ${n.value}]`}return Eg(n),i}const Dg=Symbol("UNSET"),Mg=Symbol("COMPUTING"),Og=Symbol("ERRORED"),Pg=(()=>({...pg,value:Dg,dirty:!0,error:null,equal:Ig,kind:"computed",producerMustRecompute(e){return e.value===Dg||e.value===Mg},producerRecomputeValue(e){if(e.value===Mg)throw new Error("undefined"!=typeof ngDevMode&&ngDevMode?"Detected cycle in computations.":"");const t=e.value;e.value=Mg;const n=wg(e);let i,r=!1;try{i=e.computation(),dg(null),r=t!==Dg&&t!==Og&&i!==Og&&e.equal(t,i)}catch(t){i=Og,e.error=t}finally{_g(e,n)}r?e.value=t:(e.value=i,e.version++)}}))();let Lg=function(){throw new Error};function Ng(e){Lg(e)}let Rg=null;function Bg(e,t){vg()||Ng(e),e.equal(e.value,t)||(e.value=t,function(e){e.version++,lg++,gg(e),Rg?.(e)}(e))}function Fg(e,t){vg()||Ng(e),Bg(e,t(e.value))}const Vg=(()=>({...pg,equal:Ig,value:void 0,kind:"signal"}))();var $g=o(1635),jg=o(8483),Hg=o(2616),zg=o(2947),Ug=(0,zg.L)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),qg=o(6174),Wg=o(7008),Gg=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,$g.C6)(t,e),t.prototype.lift=function(e){var t=new Zg(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ug},t.prototype.next=function(e){var t=this;(0,Wg.Y)(function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=(0,$g.Ju)(t.currentObservers),s=r.next();!s.done;s=r.next())s.value.next(e)}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;(0,Wg.Y)(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;(0,Wg.Y)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}
1,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,i=n.hasError,r=n.isStopped,s=n.observers;return i||r?Hg.Kn:(this.currentObservers=null,s.push(e),new Hg.yU(function(){t.currentObservers=null,(0,qg.o)(s,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,i=t.thrownError,r=t.isStopped;n?e.error(i):r&&e.complete()},t.prototype.asObservable=function(){var e=new jg.c;return e.source=this,e},t.create=function(e,t){return new Zg(e,t)},t}(jg.c),Zg=function(e){function t(t,n){var i=e.call(this)||this;return i.destination=t,i.source=n,i}return(0,$g.C6)(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Hg.Kn},t}(Gg),Yg=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return(0,$g.C6)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,i=e._value;if(t)throw n;return this._throwIfClosed(),i},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(Gg);class Kg{full;major;minor;patch;constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}const Jg=new Kg("20.3.28"),Xg=`https://${"0"!==Jg.major?`v${Jg.major}.`:""}angular.dev/errors`,Qg="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class ev extends Error{code;constructor(e,t){super(tv(e,t)),this.code=e}}function tv(e,t){const n=function(e){return`NG0${Math.abs(e)}`}(e);let i=`${n}${t?": "+t:""}`;if(ngDevMode&&e<0){const e=!i.match(/[.,;!?\n]$/);i=`${i}${e?".":""} Find more at ${Xg}/${n}`}return i}const nv=globalThis;function iv(){return!("undefined"!=typeof ngDevMode&&!ngDevMode||("object"==typeof ngDevMode&&0!==Object.keys(ngDevMode).length||(-1===("undefined"!=typeof location?location.toString():"").indexOf("ngDevMode=false")?("object"!=typeof nv.ngDevMode&&(nv.ngDevMode={}),Object.assign(nv.ngDevMode,{hydratedNodes:0,hydratedComponents:0,dehydratedViewsRemoved:0,dehydratedViewsCleanupRuns:0,componentsSkippedHydration:0,deferBlocksWithIncrementalHydration:0})):nv.ngDevMode=!1),"undefined"==typeof ngDevMode||!ngDevMode))}function rv(e){for(let t in e)if(e[t]===rv)return t;throw Error("undefined"!=typeof ngDevMode&&ngDevMode?"Could not find renamed property on target object.":"")}function sv(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ov(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(ov).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const i=n.indexOf("\n");return i>=0?n.slice(0,i):n}function av(e,t){return e?t?`${e} ${t}`:e:t||""}function lv(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const n=Math.round(t/2);return e.substring(0,n)+"..."+e.substring(e.length-n)}const cv=rv({__forward_ref__:rv});function uv(e){return e.__forward_ref__=uv,e.toString=function(){return ov(this())},e}function dv(e){return hv(e)?e():e}function hv(e){return"function"==typeof e&&e.hasOwnProperty(cv)&&e.__forward_ref__===uv}function pv(e,t){"number"!=typeof e&&Ev(t,typeof e,"number","===")}function fv(e,t,n){pv(e,"Expected a number"),xv(e,n,"Expected number to be less than or equal to"),Cv(e,t,"Expected number to be greater than or equal to")}function mv(e,t){"string"!=typeof e&&Ev(t,null===e?"null":typeof e,"string","===")}
1function gv(e,t){"function"!=typeof e&&Ev(t,null===e?"null":typeof e,"function","===")}function vv(e,t,n){e!=t&&Ev(n,e,t,"==")}function yv(e,t,n){e==t&&Ev(n,e,t,"!=")}function bv(e,t,n){e!==t&&Ev(n,e,t,"===")}function wv(e,t,n){e===t&&Ev(n,e,t,"!==")}function _v(e,t,n){e<t||Ev(n,e,t,"<")}function xv(e,t,n){e<=t||Ev(n,e,t,"<=")}function kv(e,t,n){e>t||Ev(n,e,t,">")}function Cv(e,t,n){e>=t||Ev(n,e,t,">=")}function Sv(e,t){null!=e&&Ev(t,e,null,"==")}function Tv(e,t){null==e&&Ev(t,e,null,"!=")}function Ev(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function Iv(e){e instanceof Node||Ev(`The provided value must be an instance of a DOM Node but got ${ov(e)}`)}function Av(e,t){Tv(e,"Array must be defined.");const n=e.length;(t<0||t>=n)&&Ev(`Index expected to be less than ${n} but got ${t}`)}function Dv(e,...t){if(-1!==t.indexOf(e))return!0;Ev(`Expected value to be one of ${JSON.stringify(t)} but was ${JSON.stringify(e)}.`)}function Mv(e){null!==hg()&&Ev(`${e}() should never be called in a reactive context.`)}function Ov(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Pv=Ov;function Lv(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nv(e){return function(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,Fv)}function Rv(e){return null!==Nv(e)}function Bv(e){return e&&e.hasOwnProperty(Vv)?e[Vv]:null}const Fv=rv({"ɵprov":rv}),Vv=rv({"ɵinj":rv});class $v{_desc;ngMetadataName="InjectionToken";"ɵprov";constructor(e,t){this._desc=e,this.ɵprov=void 0,"number"==typeof t?(("undefined"==typeof ngDevMode||ngDevMode)&&_v(t,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=t):void 0!==t&&(this.ɵprov=Ov({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let jv;function Hv(){return!ngDevMode&&Ev("getInjectorProfilerContext should never be called in production mode"),jv}function zv(e){!ngDevMode&&Ev("setInjectorProfilerContext should never be called in production mode");const t=jv;return jv=e,t}const Uv=[],qv=()=>{};function Wv(e){return!ngDevMode&&Ev("setInjectorProfiler should never be called in production mode"),null!==e?(Uv.includes(e)||Uv.push(e),()=>function(e){const t=Uv.indexOf(e);-1!==t&&Uv.splice(t,1)}(e)):(Uv.length=0,qv)}function Gv(e){!ngDevMode&&Ev("Injector profiler should never be called in production mode");for(let t=0;t<Uv.length;t++)(0,Uv[t])(e)}function Zv(e,t=!1){let n;!ngDevMode&&Ev("Injector profiler should never be called in production mode"),n="function"==typeof e||e instanceof $v?e:dv(e.provide);let i=e;e instanceof $v&&(i=e.ɵprov||e),Gv({type:2,context:Hv(),providerRecord:{token:n,provider:i,isViewProvider:t}})}function Yv(e){!ngDevMode&&Ev("Injector profiler should never be called in production mode"),Gv({type:4,context:Hv(),token:e})}function Kv(e){!ngDevMode&&Ev("Injector profiler should never be called in production mode"),Gv({type:1,context:Hv(),instance:{value:e}})}function Jv(e,t,n){!ngDevMode&&Ev("Injector profiler should never be called in production mode"),Gv({type:0,context:Hv(),service:{token:e,value:t,flags:n}})}function Xv(e){!ngDevMode&&Ev("Injector profiler should never be called in production mode"),Gv({type:3,context:Hv(),effect:e})}function Qv(e,t,n){!ngDevMode&&Ev("runInInjectorProfilerContext should never be called in production mode");const i=zv({injector:e,token:t});try{n()}finally{zv(i)}}function ey(e){return e&&!!e.ɵproviders}const ty=rv({"ɵcmp":rv}),ny=rv({"ɵdir":rv}),iy=rv({"ɵpipe":rv}),ry=rv({"ɵmod":rv}),sy=rv({"ɵfac":rv}),oy=rv({__NG_ELEMENT_ID__:rv}),ay=rv({__NG_ENV_ID__:rv});function ly(e){return"string"==typeof e?e:null==e?"":String(e)}function cy(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ly(e)}const uy=rv({ngErrorCode:rv}),dy=rv({ngErrorMessage:rv}),hy=rv({ngTokenPath:rv});function py(e,t){return by(ngDevMode?`Circular dependency detected for \`${e}\`.`:"",-200,t)}function fy(e,t){return yy(py(e,t),null)}function my(){throw new Error("Cannot mix multi providers and regular providers")}function gy(e,t,n){if(e&&t){const i=t.map(e=>e==n?"?"+n+"?":"...");throw new Error(`Invalid provider for the NgModule '${ov(e)}' - only instances of Provider and Type are allowed, got: [${i.join(", ")}]`)}throw ey(n)?n.ɵfromNgModule?new ev(207,"Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for c
1omponent providers."):new ev(207,"Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers."):new Error("Invalid provider")}function vy(e,t){const n=ngDevMode&&`No provider for ${cy(e)} found${t?` in ${t}`:""}`;throw new ev(-201,n)}function yy(e,t){const n=e[hy],i=e[uy],r=e[dy]||e.message;return e.message=function(e,t,n=[],i=null){let r="";n&&n.length>1&&(r=` Path: ${n.join(" -> ")}.`);return tv(t,`${e}${i?` Source: ${i}.`:""}${r}`)}(r,i,n,t),e}function by(e,t,n){const i=new ev(t,e);return i[uy]=t,i[dy]=e,n&&(i[hy]=n),i}let wy;function _y(){return wy}function xy(e){const t=wy;return wy=e,t}function ky(e,t,n){const i=Nv(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:8&n?null:void 0!==t?t:void vy(e,"Injector")}const Cy={},Sy="__NG_DI_FLAG__";class Ty{injector;constructor(e){this.injector=e}retrieve(e,t){const n=My(t)||0;try{return this.injector.get(e,8&n?null:Cy,n)}catch(e){if(sg(e))return e;throw e}}}function Ey(e,t=0){const n=ng();if(void 0===n)throw new ev(-203,ngDevMode&&`The \`${ov(e)}\` token injection failed. \`inject()\` function must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with \`runInInjectionContext\`.`);if(null===n)return ky(e,void 0,t);{const i=function(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),r=n.retrieve(e,i);if(ngDevMode&&Jv(e,r,t),sg(r)){if(i.optional)return null;throw r}return r}}function Iy(e,t=0){return(_y()||Ey)(dv(e),t)}function Ay(e){throw new ev(202,ngDevMode&&`This constructor is not compatible with Angular Dependency Injection because its dependency at index ${e} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${e} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`)}function Dy(e,t){return Iy(e,My(t))}function My(e){return void 0===e||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Oy(e){const t=[];for(let n=0;n<e.length;n++){const i=dv(e[n]);if(Array.isArray(i)){if(0===i.length)throw new ev(900,ngDevMode&&"Arguments array must have arguments.");let e,n=0;for(let t=0;t<i.length;t++){const r=i[t],s=Ly(r);"number"==typeof s?-1===s?e=r.token:n|=s:e=r}t.push(Iy(e,n))}else t.push(Iy(i))}return t}function Py(e,t){return e[Sy]=t,e.prototype[Sy]=t,e}function Ly(e){return e[Sy]}function Ny(e,t){const n=e.hasOwnProperty(sy);if(!n&&!0===t&&ngDevMode)throw new Error(`Type ${ov(e)} does not have 'ɵfac' property.`);return n?e[sy]:null}function Ry(e){return e.flat(Number.POSITIVE_INFINITY)}function By(e,t){e.forEach(e=>Array.isArray(e)?By(e,t):t(e))}function Fy(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vy(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $y(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function jy(e,t,n){const i=e.length-n;for(;t<i;)e[t]=e[t+n],t++;for(;n--;)e.pop()}function Hy(e,t,n,i){ngDevMode&&xv(t,e.length,"Can't insert past array end.");let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){const t=r-2;e[r]=e[t],r--}
1e[t]=n,e[t+1]=i}}function zy(e,t,n){let i=qy(e,t);return i>=0?e[1|i]=n:(i=~i,Hy(e,i,t,n)),i}function Uy(e,t){const n=qy(e,t);if(n>=0)return e[1|n]}function qy(e,t){return function(e,t){ngDevMode&&vv(Array.isArray(e),!0,"Expecting an array");let n=0,i=e.length>>1;for(;i!==n;){const r=n+(i-n>>1),s=e[r<<1];if(t===s)return r<<1;s>t?i=r:n=r+1}return~(i<<1)}(e,t)}const Wy={},Gy=[];("undefined"==typeof ngDevMode||ngDevMode)&&iv()&&(Object.freeze(Wy),Object.freeze(Gy));const Zy=new $v(ngDevMode?"ENVIRONMENT_INITIALIZER":""),Yy=new $v(ngDevMode?"INJECTOR":"",-1),Ky=new $v(ngDevMode?"INJECTOR_DEF_TYPES":"");class Jy{get(e,t=Cy){if(t===Cy){const t=by(ngDevMode?`No provider found for \`${ov(e)}\`.`:"",-201);throw t.name="ɵNotFound",t}return t}}function Xy(e){return e[ry]||null}function Qy(e){const t=Xy(e);if(!t)throw new ev(915,("undefined"==typeof ngDevMode||ngDevMode)&&`Type ${ov(e)} does not have 'ɵmod' property.`);return t}function eb(e){return e[ty]||null}function tb(e){const t=nb(e);if(!t)throw new ev(916,("undefined"==typeof ngDevMode||ngDevMode)&&`Type ${ov(e)} does not have 'ɵdir' property.`);return t}function nb(e){return e[ny]||null}function ib(e){return e[iy]||null}function rb(e){const t=eb(e)||nb(e)||ib(e);return null!==t&&t.standalone}function sb(e){return{"ɵproviders":e}}function ob(e){return sb([{provide:Zy,multi:!0,useValue:e}])}function ab(...e){return{"ɵproviders":lb(!0,e),"ɵfromNgModule":!0}}function lb(e,...t){const n=[],i=new Set;let r;const s=e=>{n.push(e)};return By(t,t=>{if(("undefined"==typeof ngDevMode||ngDevMode)&&e){const e=eb(t);if(e?.standalone)throw new ev(800,`Importing providers supports NgModule or ModuleWithProviders but got a standalone component "${cy(t)}"`)}const n=t;ub(n,s,[],i)&&(r||=[],r.push(n))}),void 0!==r&&cb(r,s),n}function cb(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];hb(r,e=>{ngDevMode&&db(e,r||Gy,i),t(e,i)})}}function ub(e,t,n,i){if(!(e=dv(e)))return!1;let r=null,s=Bv(e);const o=!s&&eb(e);if(s||o){if(o&&!o.standalone)return!1;r=e}else{const t=e.ngModule;if(s=Bv(t),!s)return!1;r=t}if(ngDevMode&&-1!==n.indexOf(r)){const e=ov(r);throw fy(e,n.map(ov).concat(e))}const a=i.has(r);if(o){if(a)return!1;if(i.add(r),o.dependencies){const e="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const r of e)ub(r,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let e;ngDevMode&&n.push(r),i.add(r);try{By(s.imports,r=>{ub(r,t,n,i)&&(e||=[],e.push(r))})}finally{ngDevMode&&n.pop()}void 0!==e&&cb(e,t)}if(!a){const e=Ny(r)||(()=>new r);t({provide:r,useFactory:e,deps:Gy},r),t({provide:Ky,useValue:r,multi:!0},r),t({provide:Zy,useValue:()=>Iy(r),multi:!0},r)}const o=s.providers;if(null!=o&&!a){const n=e;hb(o,e=>{ngDevMode&&db(e,o,n),t(e,n)})}}}return r!==e&&void 0!==e.providers}function db(e,t,n){vb(e)||fb(e)||gb(e)||mb(e)||dv(e&&(e.useClass||e.provide))||gy(n,t,e)}function hb(e,t){for(let n of e)ey(n)&&(n=n.ɵproviders),Array.isArray(n)?hb(n,t):t(n)}const pb=rv({provide:String,useValue:rv});function fb(e){return null!==e&&"object"==typeof e&&pb in e}function mb(e){return!(!e||!e.useExisting)}function gb(e){return!(!e||!e.useFactory)}function vb(e){return"function"==typeof e}function yb(e){return!!e.useClass}const bb=new $v(ngDevMode?"Set Injector scope.":""),wb={},_b={};let xb;function kb(){return void 0===xb&&(xb=new Jy),xb}class Cb{}class Sb extends Cb{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,n,i){super(),this.parent=t,this.source=n,this.scopes=i,Db(e,e=>this.processProvider(e)),this.records.set(Yy,Ab(void 0,this)),i.has("environment")&&this.records.set(Cb,Ab(void 0,this));const r=this.records.get(bb);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Ky,Gy,{self:!0}))}retrieve(e,t){const n=My(t)||0;try{return this.get(e,Cy,n)}catch(e){if(sg(e))return e;throw e}}destroy(){Ib(this),this._destroyed=!0;const e=dg(null);try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of e)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),dg(e)}}onDestroy(e){return Ib(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Ib(this);const t=ig(this),n=xy(void 0);let i;ngDevMode&&(i=zv({injector:this,token:null}));try{return e()}
1finally{ig(t),xy(n),ngDevMode&&zv(i)}}get(e,t=Cy,n){if(Ib(this),e.hasOwnProperty(ay))return e[ay](this);const i=My(n);let r;ngDevMode&&(r=zv({injector:this,token:e}));const s=ig(this),o=xy(void 0);try{if(!(4&i)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(a=e)||"object"==typeof a&&"InjectionToken"===a.ngMetadataName)&&Nv(e);n&&this.injectableDefInScope(n)?(ngDevMode&&Qv(this,e,()=>{Zv(e)}),t=Ab(Tb(e),wb)):t=null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t,i)}const n=2&i?kb():this.parent;return t=8&i&&t===Cy?null:t,n.get(e,t)}catch(t){const n=function(e){return e[uy]}(t);throw-200===n||-201===n?ngDevMode?(function(e,t){e[hy]??=[];const n=e[hy];let i;"object"==typeof t&&"multi"in t&&!0===t?.multi?(Tv(t.provide,"Token with multi: true should have a provide property"),i=cy(t.provide)):i=cy(t),n[0]!==i&&e[hy].unshift(i)}(t,e),s?t:yy(t,this.source)):new ev(n,null):t}finally{xy(o),ig(s),ngDevMode&&zv(r)}var a}resolveInjectorInitializers(){const e=dg(null),t=ig(this),n=xy(void 0);let i;ngDevMode&&(i=zv({injector:this,token:null}));try{const e=this.get(Zy,Gy,{self:!0});if(ngDevMode&&!Array.isArray(e))throw new ev(-209,`Unexpected type of the \`ENVIRONMENT_INITIALIZER\` token value (expected an array, but got ${typeof e}). Please check that the \`ENVIRONMENT_INITIALIZER\` token is configured as a \`multi: true\` provider.`);for(const t of e)t()}
1finally{ig(t),xy(n),ngDevMode&&zv(i),dg(e)}}toString(){const e=[],t=this.records;for(const n of t.keys())e.push(ov(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){let t=vb(e=dv(e))?e:dv(e&&e.provide);const n=function(e){return fb(e)?Ab(void 0,e.useValue):Ab(Eb(e),wb)}(e);if(ngDevMode&&Qv(this,t,()=>{fb(e)&&(Yv(t),Kv(e.useValue)),Zv(e)}),vb(e)||!0!==e.multi){if(ngDevMode){const e=this.records.get(t);e&&void 0!==e.multi&&my()}}else{let n=this.records.get(t);n?ngDevMode&&void 0===n.multi&&my():(n=Ab(void 0,wb,!0),n.factory=()=>Oy(n.multi),this.records.set(t,n)),t=e,n.multi.push(e)}this.records.set(t,n)}hydrate(e,t,n){const i=dg(null);try{if(t.value===_b)throw py(ov(e));return t.value===wb&&(t.value=_b,ngDevMode?Qv(this,e,()=>{Yv(e),t.value=t.factory(void 0,n),Kv(t.value)}):t.value=t.factory(void 0,n)),"object"==typeof t.value&&t.value&&null!==(r=t.value)&&"object"==typeof r&&"function"==typeof r.ngOnDestroy&&this._ngOnDestroyHooks.add(t.value),t.value}finally{dg(i)}var r}injectableDefInScope(e){if(!e.providedIn)return!1;const t=dv(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){const t=this._onDestroyHooks.indexOf(e);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Tb(e){const t=Nv(e),n=null!==t?t.factory:Ny(e);if(null!==n)return n;if(e instanceof $v)throw new ev(204,ngDevMode&&`Token ${ov(e)} is missing a ɵprov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0)throw new ev(204,ngDevMode&&`Can't resolve all parameters for ${ov(e)}: (${$y(t,"?").join(", ")}).`);const n=function(e){const t=e?.[Fv]??null;return t?(ngDevMode&&console.warn(`DEPRECATED: DI is instantiating a token "${e.name}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e.name}" class.`),t):null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ev(204,ngDevMode&&"unreachable")}function Eb(e,t,n){let i;if(ngDevMode&&ey(e)&&gy(void 0,n,e),vb(e)){const t=dv(e);return Ny(t)||Tb(t)}if(fb(e))i=()=>dv(e.useValue);else if(gb(e))i=()=>e.useFactory(...Oy(e.deps||[]));else if(mb(e))i=(t,n)=>Iy(dv(e.useExisting),void 0!==n&&8&n?8:void 0);else{const r=dv(e&&(e.useClass||e.provide));if(ngDevMode&&!r&&gy(t,n,e),!e.deps)return Ny(r)||Tb(r);i=()=>new r(...Oy(e.deps))}return i}function Ib(e){if(e.destroyed)throw new ev(205,ngDevMode&&"Injector has already been destroyed.")}function Ab(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Db(e,t){for(const n of e)Array.isArray(n)?Db(n,t):n&&ey(n)?Db(n.ɵproviders,t):t(n)}function Mb(e,t){let n,i;e instanceof Sb?(Ib(e),n=e):n=new Ty(e),ngDevMode&&(i=zv({injector:e,token:null}));const r=ig(n),s=xy(void 0);try{return t()}
1finally{ig(r),ngDevMode&&zv(i),xy(s)}}function Ob(){return void 0!==_y()||null!=ng()}function Pb(e){if(!Ob())throw new ev(-203,ngDevMode&&e.name+"() can only be used within an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`")}const Lb=0,Nb=1,Rb=2,Bb=3,Fb=5,Vb=7,$b=8,jb=10,Hb=14,zb=15,Ub=17,qb=21,Wb=24,Gb=27,Zb=1;function Yb(e){return Array.isArray(e)&&"object"==typeof e[Zb]}function Kb(e){return Array.isArray(e)&&!0===e[Zb]}function Jb(e){return!!(4&e.flags)}function Xb(e){return e.componentOffset>-1}function Qb(e){return!(1&~e.flags)}function ew(e){return!!e.template}function tw(e){return!!(512&e[Rb])}function nw(e){return!(16&~e.type)}function iw(e){return!(256&~e[Rb])}function rw(e,t){ow(e,t[Nb])}function sw(e,t){const n=t+Gb;Av(e,n),_v(n,e[Nb].bindingStartIndex,"TNodes should be created before any bindings")}function ow(e,t){aw(e);const n=t.data;for(let t=Gb;t<n.length;t++)if(n[t]===e)return;Ev("This TNode does not belong to this TView.")}function aw(e){Tv(e,"TNode must be defined"),e&&"object"==typeof e&&e.hasOwnProperty("directiveStylingLast")||Ev("Not of type TNode, got: "+e)}function lw(e){Tv(e,"Expected TIcu to be defined"),"number"!=typeof e.currentCaseLViewIndex&&Ev("Object is not of TIcu type.")}function cw(e){Tv(e,"LContainer must be defined"),vv(Kb(e),!0,"Expecting LContainer")}function uw(e){e&&vv(Yb(e),!0,"Expecting LView or undefined or null")}function dw(e){Tv(e,"LView must be defined"),vv(Yb(e),!0,"Expecting LView")}function hw(e,t){vv(e.firstCreatePass,!0,t||"Should only be called in first create pass.")}function pw(e,t){vv(e.firstUpdatePass,!0,"Should only be called in first update pass.")}function fw(e,t){gw(Gb,e.bindingStartIndex,t)}function mw(e,t){gw(e[1].expandoStartIndex,e.length,t)}function gw(e,t,n){e<=n&&n<t||Ev(`Index out of range (expecting ${e} <= ${n} < ${t})`)}function vw(e,t){Tv(e,"Component views should always have a parent view (component's host view)")}function yw(e,t){mw(e,t),mw(e,t+8),pv(e[t+0],"injectorIndex should point to a bloom filter"),pv(e[t+1],"injectorIndex should point to a bloom filter"),pv(e[t+2],"injectorIndex should point to a bloom filter"),pv(e[t+3],"injectorIndex should point to a bloom filter"),pv(e[t+4],"injectorIndex should point to a bloom filter"),pv(e[t+5],"injectorIndex should point to a bloom filter"),pv(e[t+6],"injectorIndex should point to a bloom filter"),pv(e[t+7],"injectorIndex should point to a bloom filter"),pv(e[t+8],"injectorIndex should point to parent injector")}var bw;let ww;!function(e){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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING"}(bw||(bw={}));const _w="svg",xw="math";function kw(){return ww||(ww={},Cw(bw.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Cw(bw.STYLE,void 0,[["*",["style"]]]),Cw(bw.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Cw(bw.URL,xw,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Cw(bw.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Cw(bw.URL,_w,[["a",["href","xlink:href"]]]),Cw(bw.ATTRIBUTE_NO_BINDING,_w,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Cw(bw.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),ww}function Cw(e,t,n){for(const[i,r]of n){let n=t&&"unknown"!==i?`:${t}:${i}`:i;n=n.toLowerCase();for(const t of r)ww[`${n}|${t.toLowerCase()}`]=e}}function Sw(e,t,n){const i=kw(),r=e.toLowerCase(),s=t.toLowerCase(),o=n&&"*"!==r&&"unknown"!==r?i[`:${n}:${r}|${s}`]:void 0,a=n?i[`:${n}:*|${s}`]:void 0;return o??a??i[`${r}|${s}`]??i[`*|${s}`]??bw.NONE}function Tw(e){for(;Array.isArray(e);)e=e[Lb];return e}function Ew(e){for(;Array.isArray(e);){if("object"==typeof e[Zb])return e;e=e[Lb]}return null}function Iw(e,t){return ngDevMode&&Av(t,e),ngDevMode&&Cv(e,Gb,"Expected to be past HEADER_OFFSET"),Tw(t[e])}function Aw(e,t){return ngDevMode&&rw(e,t),ngDevMode&&Av(t,e.index),Tw(t[e.index])}function Dw(e,t){ngDevMode&&kv(t,-1,"wrong index for TNode"),ngDevMode&&_v(t,e.data.length,"wrong index for TNode");const n=e.data[t];return ngDevMode&&null!==n&&aw(n),n}function Mw(e,t){return ngDevMode&&Av(e,t),e[t]}function Ow(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Pw(e,t){ngDevMode&&Av(t,e);const n=t[e];return Yb(n)?n:n[Lb]}function Lw(e){return!(4&~e[Rb])}function Nw(e){return!(128&~e[Rb])}function Rw(e,t){return null==t?null:(ngDevMode&&Av(e,t),e[t])}function Bw(e){e[Ub]=0}function Fw(e){1024&e[Rb]||(e[Rb]|=1024,Nw(e)&&Hw(e))}function Vw(e,t){for(;e>0;)ngDevMode&&Tv(t[Hb],"Declaration view should be defined if nesting level is greater than 0."),t=t[Hb],e--;return t}function $w(e){return!!(9216&e[Rb]||e[Wb]?.dirty)}function jw(e){e[jb].changeDetectionScheduler?.notify(8),64&e[Rb]&&(e[Rb]|=1024),$w(e)&&Hw(e)}function Hw(e){e[jb].changeDetectionScheduler?.notify(0);let t=qw(e);for(;null!==t&&!(8192&t[Rb])&&(t[Rb]|=8192,Nw(t));)t=qw(t)}function zw(e,t){if(iw(e))throw new ev(911,ngDevMode&&"View has already been destroyed.");null===e[qb]&&(e[qb]=[]),e[qb].push(t)}function Uw(e,t){if(null===e[qb])return;const n=e[qb].indexOf(t);-1!==n&&e[qb].splice(n,1)}function qw(e){ngDevMode&&dw(e);const t=e[Bb];return Kb(t)?t[Bb]:t}function Ww(e){return e[Vb]??=[]}function Gw(e){return e.cleanup??=[]}const Zw={lFrame:R_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Yw;!function(e){e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews"}(Yw||(Yw={}));let Kw=0,Jw=!1;function Xw(){Zw.lFrame.elementDepthCount--}function Qw(){return Zw.bindingsEnabled}function e_(){return null!==Zw.skipHydrationRootTNode}function t_(e){return Zw.skipHydrationRootTNode===e}function n_(){Zw.bindingsEnabled=!0}function i_(){Zw.bindingsEnabled=!1}function r_(){Zw.skipHydrationRootTNode=null}function s_(){return Zw.lFrame.lView}function o_(){return Zw.lFrame.tView}function a_(e){return Zw.lFrame.contextLView=e,e[$b]}function l_(e){return Zw.lFrame.contextLView=null,e}function c_(){let e=u_();for(;null!==e&&64===e.type;)e=e.parent;return e}
1function u_(){return Zw.lFrame.currentTNode}function d_(){const e=Zw.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function h_(e,t){ngDevMode&&e&&ow(e,Zw.lFrame.tView);const n=Zw.lFrame;n.currentTNode=e,n.isParent=t}function p_(){return Zw.lFrame.isParent}function f_(){Zw.lFrame.isParent=!1}function m_(){const e=Zw.lFrame.contextLView;return ngDevMode&&Tv(e,"contextLView must be defined."),e}function g_(){return!ngDevMode&&Ev("Must never be called in production mode"),Kw!==Yw.Off}function v_(){return!ngDevMode&&Ev("Must never be called in production mode"),Kw===Yw.Exhaustive}function y_(e){!ngDevMode&&Ev("Must never be called in production mode"),Kw=e}function b_(){return Jw}function w_(e){const t=Jw;return Jw=e,t}function __(){const e=Zw.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function x_(){return Zw.lFrame.bindingIndex}function k_(e){return Zw.lFrame.bindingIndex=e}function C_(){return Zw.lFrame.bindingIndex++}function S_(e){const t=Zw.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function T_(e){Zw.lFrame.inI18n=e}function E_(e,t){const n=Zw.lFrame;n.bindingIndex=n.bindingRootIndex=e,I_(t)}function I_(e){Zw.lFrame.currentDirectiveIndex=e}function A_(e){const t=Zw.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function D_(){return Zw.lFrame.currentQueryIndex}function M_(e){Zw.lFrame.currentQueryIndex=e}function O_(e){const t=e[Nb];return 2===t.type?(ngDevMode&&Tv(t.declTNode,"Embedded TNodes should have declaration parents."),t.declTNode):1===t.type?e[Fb]:null}function P_(e,t,n){if(ngDevMode&&uw(e),4&n){ngDevMode&&ow(t,e[Nb]);let i=t,r=e;for(;ngDevMode&&Tv(i,"Parent TNode should be defined"),i=i.parent,!(null!==i||1&n||(i=O_(r),null===i)||(ngDevMode&&Tv(r,"Parent LView should be defined"),r=r[Hb],10&i.type)););if(null===i)return!1;t=i,e=r}ngDevMode&&rw(t,e);const i=Zw.lFrame=N_();return i.currentTNode=t,i.lView=e,!0}function L_(e){ngDevMode&&yv(e[0],e[1],"????"),ngDevMode&&uw(e);const t=N_();ngDevMode&&(vv(t.isParent,!0,"Expected clean LFrame"),vv(t.lView,null,"Expected clean LFrame"),vv(t.tView,null,"Expected clean LFrame"),vv(t.selectedIndex,-1,"Expected clean LFrame"),vv(t.elementDepthCount,0,"Expected clean LFrame"),vv(t.currentDirectiveIndex,-1,"Expected clean LFrame"),vv(t.currentNamespace,null,"Expected clean LFrame"),vv(t.bindingRootIndex,-1,"Expected clean LFrame"),vv(t.currentQueryIndex,0,"Expected clean LFrame"));const n=e[Nb];Zw.lFrame=t,ngDevMode&&n.firstChild&&ow(n.firstChild,n),t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function N_(){const e=Zw.lFrame,t=null===e?null:e.child;return null===t?R_(e):t}function R_(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function B_(){const e=Zw.lFrame;return Zw.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const F_=B_;function V_(){const e=B_();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 $_(){return Zw.lFrame.selectedIndex}function j_(e){ngDevMode&&-1!==e&&Cv(e,Gb,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&_v(e,Zw.lFrame.lView.length,"Can't set index passed end of LView"),Zw.lFrame.selectedIndex=e}function H_(){const e=Zw.lFrame;return Dw(e.tView,e.selectedIndex)}function z_(){Zw.lFrame.currentNamespace=_w}function U_(){Zw.lFrame.currentNamespace=xw}function q_(){Zw.lFrame.currentNamespace=null}function W_(){return Zw.lFrame.currentNamespace}let G_=!0;function Z_(){return G_}function Y_(e){G_=e}function K_(e,t=null,n=null,i){const r=J_(e,t,n,i);return r.resolveInjectorInitializers(),r}function J_(e,t=null,n=null,i,r=new Set){const s=[n||Gy,ab(e)];
1return i=i||("object"==typeof e?void 0:ov(e)),new Sb(s,t||kb(),i||null,r)}class X_{static THROW_IF_NOT_FOUND=Cy;static NULL=new Jy;static create(e,t){if(Array.isArray(e))return K_({name:""},t,e,"");{const t=e.name??"";return K_({name:t},e.parent,e.providers,t)}}static"ɵprov"=Ov({token:X_,providedIn:"any",factory:()=>Iy(Yy)});static __NG_ELEMENT_ID__=-1}const Q_=new $v(ngDevMode?"DocumentToken":"");class ex{static __NG_ELEMENT_ID__=nx;static __NG_ENV_ID__=e=>e}class tx extends ex{_lView;constructor(e){super(),this._lView=e}get destroyed(){return iw(this._lView)}onDestroy(e){const t=this._lView;return zw(t,e),()=>Uw(t,e)}}function nx(){return new tx(s_())}class ix{_console=console;handleError(e){this._console.error("ERROR",e)}}const rx=new $v("undefined"==typeof ngDevMode||ngDevMode?"internal error handler":"",{providedIn:"root",factory:()=>{const e=Dy(Cb);let t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(ix),t.handleError(n))}}}),sx={provide:Zy,useValue:()=>{Dy(ix)},multi:!0},ox=new $v(ngDevMode?"GlobalErrorListeners":"",{providedIn:"root",factory:()=>
1{if("undefined"!=typeof ngServerMode&&ngServerMode)return;const e=Dy(Q_).defaultView;if(!e)return;const t=Dy(rx),n=e=>{t(e.reason),e.preventDefault()},i=e=>{e.error?t(e.error):t(new Error(ngDevMode?`An ErrorEvent with no error occurred. See Error.cause for details: ${e.message}`:e.message,{cause:e})),e.preventDefault()},r=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",i)};"undefined"!=typeof Zone?Zone.root.run(r):r(),Dy(ex).onDestroy(()=>{e.removeEventListener("error",i),e.removeEventListener("unhandledrejection",n)})}});function ax(){return sb([ob(()=>{Dy(ox)})])}function lx(e){return"function"==typeof e&&void 0!==e[ug]}function cx(e){return null}function ux(e,t){const[n,i,r]=function(e,t){const n=Object.create(Vg);n.value=e,void 0!==t&&(n.equal=t);const i=()=>function(e){return fg(e),e.value}(n);if(i[ug]=n,"undefined"!=typeof ngDevMode&&ngDevMode){const e=n.debugName?" ("+n.debugName+")":"";i.toString=()=>`[Signal${e}: ${n.value}]`}return Eg(n),[i,e=>Bg(n,e),e=>Fg(n,e)]}(e,t?.equal),s=n,o=s[ug];return s.set=i,s.update=r,s.asReadonly=dx.bind(s),ngDevMode&&(s.toString=()=>`[Signal: ${s()}]`,o.debugName=t?.debugName),s}function dx(){const e=this[ug];if(void 0===e.readonlyFn){const t=()=>this();t[ug]=e,e.readonlyFn=t}return e.readonlyFn}function hx(e){return lx(e)&&"function"==typeof e.set}function px(e,t){if(null!==hg())throw new ev(-602,ngDevMode&&`${e.name}() cannot be called from within a reactive context.${t?` ${t}`:""}`)}class fx{view;node;constructor(e,t){this.view=e,this.node=t}static __NG_ELEMENT_ID__=mx}function mx(){return new fx(s_(),c_())}class gx{}const vx=new $v("undefined"==typeof ngDevMode||ngDevMode?"Zoneless enabled":"",{providedIn:"root",factory:()=>!1}),yx=new $v("undefined"==typeof ngDevMode||ngDevMode?"Zoneless provided":"",{providedIn:"root",factory:()=>!1}),bx=new $v("undefined"==typeof ngDevMode||ngDevMode?"scheduler disabled":""),wx=new $v("undefined"==typeof ngDevMode||ngDevMode?"run changes outside zone in root":"");class _x{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Yg(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new jg.c(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){this.hasPendingTasks||this.destroyed||this.pendingTask.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static"ɵprov"=Ov({token:_x,providedIn:"root",factory:()=>new _x})}class xx{internalPendingTasks=Dy(_x);scheduler=Dy(gx);errorHandler=Dy(rx);add(){const e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){const t=this.add();
1e().catch(this.errorHandler).finally(t)}static"ɵprov"=Ov({token:xx,providedIn:"root",factory:()=>new xx})}function kx(...e){}class Cx{static"ɵprov"=Ov({token:Cx,providedIn:"root",factory:()=>new Sx})}class Sx{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){const t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){const t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);const n=this.queues.get(t);n.has(e)||n.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(const[t,n]of this.queues)e||=null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(const n of e)n.dirty&&(this.dirtyEffectCount--,t=!0,n.run());return t}}var Tx=o(1209);function Ex(e){return(0,Tx.T)(null==e?void 0:e.lift)}function Ix(e){return function(t){if(Ex(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}var Ax=o(5508);function Dx(e,t,n,i,r){return new Mx(e,t,n,i,r)}var Mx=function(e){function t(t,n,i,r,s,o){var a=e.call(this,t)||this;return a.onFinalize=s,a.shouldUnsubscribe=o,a._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=r?function(e){try{r(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,$g.C6)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(Ax.vU);function Ox(e,t){return Ix(function(n,i){var r=0;n.subscribe(Dx(i,function(n){i.next(e.call(t,n,r++))}))})}const Px={JSACTION:"jsaction"};function Lx(e){return{toString:e}.toString()}const Nx="__annotations__",Rx="__parameters__",Bx="__prop__metadata__";function Fx(e,t,n,i,r){return Lx(()=>{const i=Vx(t);function s(...e){if(this instanceof s)return i.call(this,...e),this;const t=new s(...e);return function(n){return r&&r(n,...e),(n.hasOwnProperty(Nx)?n[Nx]:Object.defineProperty(n,Nx,{value:[]})[Nx]).push(t),n}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Vx(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function $x(e,t,n){return Lx(()=>{const n=Vx(t);function i(...e){if(this instanceof i)return n.apply(this,e),this;const t=new i(...e);return r.annotation=t,r;function r(e,n,i){const r=e.hasOwnProperty(Rx)?e[Rx]:Object.defineProperty(e,Rx,{value:[]})[Rx];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function jx(e,t,n,i){return Lx(()=>{const i=Vx(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return function(e,n){if(void 0===e)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const i=e.constructor,r=i.hasOwnProperty(Bx)?i[Bx]:Object.defineProperty(i,Bx,{value:{}})[Bx];r[n]=r.hasOwnProperty(n)&&r[n]||[],r[n].unshift(t)}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Hx=Py($x("Inject",e=>({token:e})),-1),zx=Py($x("Optional"),8),Ux=Py($x("Self"),2),qx=Py($x("SkipSelf"),4),Wx=Py($x("Host"),1);function Gx(e){const t=nv.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;if("undefined"==typeof ngDevMode||ngDevMode){console.error(`JIT compilation failed for ${e.kind}`,e.type);let t=`The ${e.kind} '${e.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\n\n`;throw 1===e.usage?(t+=`The ${e.kind} is part of a library that has been partially compiled.\n`,t+="However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\n",t+="\n",t+="Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\n"):t+="JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\n",t+="Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\n",t+="or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.",new Error(t)}throw new Error("JIT compiler unavailable")}const Zx={"ɵɵdefineInjectable":Ov,"ɵɵdefineInjector":Lv,"ɵɵinject":Iy,"ɵɵinvalidFactoryDep":Ay,resolveForwardRef:dv},Yx=Function;function Kx(e){return"function"==typeof e}const Jx=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Xx=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Qx=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ek=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class tk{_reflect;constructor(e){this._reflect=e||nv.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=$y(void 0===e?t.length:e.length);for(let i=0;i<n.length;i++)void 0===e?n[i]=[]:e[i]&&e[i]!=Object?n[i]=[e[i]]:n[i]=[],t&&null!=t[i]&&(n[i]=n[i].concat(t[i]));return n}_ownParameters(e,t){if(n=e.toString(),Jx.test(n)||ek.test(n)||Xx.test(n)&&!Qx.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const i=e.ctorParameters;if(i&&i!==t.ctorParameters){const e="function"==typeof i?i():i,t=e.map(e=>e&&e.type),n=e.map(e=>e&&nk(e.decorators));return this._zipTypesAndAnnotations(t,n)}const r=e.hasOwnProperty(Rx)&&e[Rx],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||r?this._zipTypesAndAnnotations(s,r):$y(e.length)}parameters(e){if(!Kx(e))return[];const t=ik(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?nk(e.decorators):e.hasOwnProperty(Nx)?e[Nx]:null}annotations(e){if(!Kx(e))return[];const t=ik(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};
1return Object.keys(t).forEach(e=>{n[e]=nk(t[e])}),n}return e.hasOwnProperty(Bx)?e[Bx]:null}propMetadata(e){if(!Kx(e))return{};const t=ik(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...i[e]),n[e]=t}),n}ownPropMetadata(e){return Kx(e)&&this._ownPropMetadata(e,ik(e))||{}}hasLifecycleHook(e,t){return e instanceof Yx&&t in e.prototype}}function nk(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function ik(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}class rk{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function sk(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}const ok=(()=>{const e=()=>ak;return e.ngInherit=!0,e})();function ak(e){return e.type.prototype.ngOnChanges&&(e.setInput=ck),lk}function lk(){const e=dk(this),t=e?.current;if(t){const n=e.previous;if(n===Wy)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function ck(e,t,n,i,r){const s=this.declaredInputs[i];ngDevMode&&mv(s,"Name of input in ngOnChanges has to be a string");const o=dk(e)||function(e,t){return e[uk]=t}(e,{previous:Wy,current:null}),a=o.current||(o.current={}),l=o.previous,c=l[s];a[s]=new rk(c&&c.currentValue,n,l===Wy),sk(e,t,r,n)}const uk="__ngSimpleChanges__";function dk(e){return e[uk]||null}const hk=[],pk=()=>{};function fk(e){return null!==e?(hk.includes(e)||hk.push(e),()=>function(e){const t=hk.indexOf(e);-1!==t&&hk.splice(t,1)}(e)):(hk.length=0,pk)}const mk=function(e,t=null,n){for(let i=0;i<hk.length;i++)(0,hk[i])(e,t,n)};function gk(e,t){ngDevMode&&hw(e);for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const t=e.data[n];ngDevMode&&Tv(t,"Expecting DirectiveDef");const i=t.type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:a,ngOnDestroy:l}=i;r&&(e.contentHooks??=[]).push(-n,r),s&&((e.contentHooks??=[]).push(n,s),(e.contentCheckHooks??=[]).push(n,s)),o&&(e.viewHooks??=[]).push(-n,o),a&&((e.viewHooks??=[]).push(n,a),(e.viewCheckHooks??=[]).push(n,a)),null!=l&&(e.destroyHooks??=[]).push(n,l)}}function vk(e,t,n){wk(e,t,3,n)}function yk(e,t,n,i){ngDevMode&&yv(n,3,"Init pre-order hooks should not be called more than once"),(3&e[2])===n&&wk(e,t,n,i)}function bk(e,t){ngDevMode&&yv(t,3,"Init hooks phase should not be incremented after all init hooks have been run.");let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function wk(e,t,n,i){ngDevMode&&vv(g_(),!1,"Hooks should never be run when in check no changes mode.");const r=void 0!==i?65535&e[17]:0,s=null!=i?i:-1,o=t.length-1;let a=0;for(let l=r;l<o;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else t[l]<0&&(e[17]+=65536),(a<s||-1==s)&&(xk(e,n,t,l),e[17]=(4294901760&e[17])+l+2),l++}function _k(e,t){mk(4,e,t);const n=dg(null);try{t.call(e)}finally{dg(n),mk(5,e,t)}}function xk(e,t,n,i){const r=n[i]<0,s=n[i+1],o=e[r?-n[i]:n[i]];r?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,_k(o,s)):_k(o,s)}const kk=-1;class Ck{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n,i){this.factory=e,this.name=i,ngDevMode&&Tv(e,"Factory not specified"),ngDevMode&&vv(typeof e,"function","Expected factory function."),this.canSeeViewProviders=t,this.injectImpl=n}}function Sk(e){let t="";return 1&e&&(t+="|Text"),2&e&&(t+="|Element"),4&e&&(t+="|Container"),8&e&&(t+="|ElementContainer"),16&e&&(t+="|Projection"),32&e&&(t+="|IcuContainer"),64&e&&(t+="|Placeholder"),128&e&&(t+="|LetDeclaration"),t.length>0?t.substring(1):t}function Tk(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Ek(e){return!!(128&e.type)}function Ik(e,t,n){Tv(e,"should be called with a TNode"),0===(e.type&t)&&Ev(n||`Expected [${Sk(t)}] but got ${Sk(e.type)}.`)}function Ak(e){return 3===e||4===e||6===e}function Dk(e){return 64===e.charCodeAt(0)}function Mk(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Ok(e,n,r,0,-1===n||2===n?t[++i]:null)}}return e}function Ok(e,t,n,i,r){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n)return void(null!==r&&(e[s+1]=r));s++,null!==r&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r)}function Pk(e){return e!==kk}function Lk(e){return ngDevMode&&(pv(e,"Number expected"),yv(e,-1,"Not a valid state."),kv(32767&e,27,"Parent injector must be pointing past HEADER_OFFSET.")),32767&e}function Nk(e,t){let n=e>>16,i=t;for(;n>0;)i=i[14],n--;return i}let Rk=!0;function Bk(e){const t=Rk;return Rk=e,t}const Fk=255,Vk=5;let $k=0;const jk={};function Hk(e,t){const n=Uk(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,zk(i.data,e),zk(t,null),zk(i.blueprint,null));const r=qk(e,t),s=e.injectorIndex;if(Pk(r)){const e=Lk(r),n=Nk(r,t),i=n[1].data;for(let r=0;r<8;r++)t[s+r]=n[e+r]|i[e+r]}return t[s+8]=r,s}function zk(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Uk(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:(ngDevMode&&Av(t,e.injectorIndex),e.injectorIndex)}function qk(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=cC(r),null===i)return kk;if(ngDevMode&&i&&rw(i,r[14]),n++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return kk}
1function Wk(e,t,n){!function(e,t,n){let i;ngDevMode&&vv(t.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(oy)&&(i=n[oy]),null==i&&(i=n[oy]=$k++);const r=i&Fk,s=1<<r;t.data[e+(r>>Vk)]|=s}(e,t,n)}function Gk(e,t,n){if(8&n||void 0!==e)return e;vy(t,"NodeInjector")}function Zk(e,t,n,i){if(8&n&&void 0===i&&(i=null),!(3&n)){const r=e[9],s=xy(void 0);try{return r?r.get(t,i,8&n):ky(t,i,8&n)}finally{xy(s)}}return Gk(i,t,n)}function Yk(e,t,n,i=0,r){if(null!==e){if(2048&t[2]&&!(2&i)){const r=function(e,t,n,i,r){let s=e,o=t;for(;null!==s&&null!==o&&2048&o[2]&&!tw(o);){ngDevMode&&rw(s,o);const e=Kk(s,o,n,2|i,jk);if(e!==jk)return e;let t=s.parent;if(!t){const e=o[20];if(e){const t=e.get(n,jk,i);if(t!==jk)return t}t=cC(o),o=o[14]}s=t}return r}(e,t,n,i,jk);if(r!==jk)return r}const r=Kk(e,t,n,i,jk);if(r!==jk)return r}return Zk(t,n,i,r)}function Kk(e,t,n,i,r){const s=function(e){if(ngDevMode&&Tv(e,"token must be defined"),"string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(oy)?e[oy]:void 0;return"number"==typeof t?t>=0?t&Fk:(ngDevMode&&vv(t,-1,"Expecting to get Special Injector Id"),oC):t}(n);if("function"==typeof s){if(!P_(t,e,i))return 1&i?Gk(r,n,i):Zk(t,n,i,r);try{let e;if(ngDevMode?Qv(new sC(c_(),s_()),n,()=>{Yv(n),e=s(i),Kv(e)}):e=s(i),null!=e||8&i)return e;vy(n)}finally{F_()}}else if("number"==typeof s){let r=null,o=Uk(e,t),a=kk,l=1&i?t[15][5]:null;for((-1===o||4&i)&&(a=-1===o?qk(e,t):t[o+8],a!==kk&&nC(i,!1)?(r=t[1],o=Lk(a),t=Nk(a,t)):o=-1);-1!==o;){ngDevMode&&yw(t,o);const e=t[1];if(ngDevMode&&rw(e.data[o+8],t),tC(s,o,e.data)){const e=Jk(o,t,n,r,i,l);if(e!==jk)return e}a=t[o+8],a!==kk&&nC(i,t[1].data[o+8]===l)&&tC(s,o,t)?(r=e,o=Lk(a),t=Nk(a,t)):o=-1}}return r}function Jk(e,t,n,i,r,s){const o=t[1],a=o.data[e+8],l=Xk(a,o,n,null==i?Xb(a)&&Rk:i!=o&&!!(3&a.type),1&r&&s===a);return null!==l?eC(t,o,l,a,r):jk}function Xk(e,t,n,i,r){const s=e.providerIndexes,o=t.data,a=1048575&s,l=e.directiveStart,c=e.directiveEnd,u=s>>20,d=r?a+u:c;for(let e=i?a:a+u;e<d;e++){const t=o[e];if(e<l&&n===t||e>=l&&t.type===n)return e}if(r){const e=o[l];if(e&&ew(e)&&e.type===n)return l}return null}let Qk=[];function eC(e,t,n,i,r){let s=e[n];const o=t.data;if(s instanceof Ck){const l=s;if(ngDevMode&&Qk.push(l.name??"unknown"),l.resolving){const e=cy(o[n]);throw ngDevMode?fy(e,Qk):py(e)}const c=Bk(l.canSeeViewProviders);l.resolving=!0;const u=o[n].type||o[n];let d;ngDevMode&&(d=zv({injector:new sC(i,e),token:u}));const h=l.injectImpl?xy(l.injectImpl):null,p=P_(e,i,0);ngDevMode&&vv(p,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{ngDevMode&&Yv(u),s=e[n]=l.factory(void 0,r,o,e,i),ngDevMode&&Kv(s),t.firstCreatePass&&n>=i.directiveStart&&(ngDevMode&&(void 0!==(a=o[n]).type&&null!=a.selectors&&void 0!==a.inputs||Ev("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")),function(e,t,n){ngDevMode&&hw(n);const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const i=ak(t);(n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i)}r&&(n.preOrderHooks??=[]).push(0-e,r),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,o[n],t))}finally{ngDevMode&&zv(d),null!==h&&xy(h),Bk(c),l.resolving=!1,F_(),ngDevMode&&(Qk=[])}}var a;return s}function tC(e,t,n){const i=1<<e;return!!(n[t+(e>>Vk)]&i)}function nC(e,t){return!(2&e||1&e&&t)}function iC(e){return e._lView}function rC(e){return e._tNode}class sC{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return Yk(this._tNode,this._lView,e,My(n),t)}}function oC(){return new sC(c_(),s_())}function aC(e){return Lx(()=>{const t=e.prototype.constructor,n=t[sy]||lC(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[sy]||lC(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e})}function lC(e){return hv(e)?()=>{const t=lC(dv(e));return t&&t()}:Ny(e)}function cC(e){const t=e[1],n=t.type;return 2===n?(ngDevMode&&Tv(t.declTNode,"Embedded TNodes should have declaration parents."),t.declTNode):1===n?e[5]:null}function uC(e){return function(e,t){if(ngDevMode&&Ik(e,15),ngDevMode&&Tv(e,"expecting tNode"),"class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i<e;){const r=n[i];if(Ak(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<e&&"string"==typeof n[i];)i++;else{if(r===t)return n[i+1];i+=2}}}return null}(c_(),e)}const dC=$x("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>uC(e)}));let hC=null;function pC(){return hC=hC||new tk}function fC(e){return mC(pC().parameters(e))}function mC(e){return e.map(e=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const i=e[n];if(void 0===i)continue;const r=Object.getPrototypeOf(i);if(i instanceof zx||"Optional"===r.ngMetadataName)t.optional=!0;else if(i instanceof qx||"SkipSelf"===r.ngMetadataName)t.skipSelf=!0;else if(i instanceof Ux||"Self"===r.ngMetadataName)t.self=!0;else if(i instanceof Wx||"Host"===r.ngMetadataName)t.host=!0;else if(i instanceof Hx)t.token=i.token;else if(i instanceof dC){if(void 0===i.attributeName)throw new ev(204,ngDevMode&&"Attribute name must be defined.");t.attribute=i.attributeName}else t.token=i}else void 0===e||Array.isArray(e)&&0===e.length?t.token=null:t.token=e;return t}(e))}const gC=rv({provide:String,useValue:rv});function vC(e){return void 0!==e.useClass}function yC(e){return void 0!==e.useFactory}const bC=Fx("Injectable",void 0,void 0,0,(e,t)=>function(e,t){let n=null,i=null;e.hasOwnProperty(Fv)||Object.defineProperty(e,Fv,{get:()=>{if(null===n){const i=Gx({usage:0,kind:"injectable",type:e});n=i.compileInjectable(Zx,`ng:///${e.name}/ɵprov.js`,function(e,t){const n=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(vC(n)||yC(n))&&void 0!==n.deps&&(i.deps=mC(n.deps)),vC(n)?i.useClass=n.useClass:function(e){return gC in e}(n)?i.useValue=n.useValue:yC(n)?i.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(i.useExisting=n.useExisting),i}(e,t))}return n}}),e.hasOwnProperty(sy)||Object.defineProperty(e,sy,{get:()=>{if(null===i){const t=Gx({usage:0,kind:"injectable",type:e});i=t.compileFactory(Zx,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:fC(e),target:t.FactoryTarget.Injectable})}return i},configurable:!0})}(e,t));function wC(){return _C(c_(),s_())}function _C(e,t){return new xC(Aw(e,t))}class xC{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=wC}function kC(e){return e instanceof xC?e.nativeElement:e}function CC(){return this._results[Symbol.iterator]()}class SC{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Gg}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}
1forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;const n=Ry(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=t[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){void 0===this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=(()=>CC)()}const TC="ngSkipHydration",EC="ngskiphydration";function IC(e){const t=e.mergedAttrs;if(null===t)return!1;for(let e=0;e<t.length;e+=2){const n=t[e];if("number"==typeof n)return!1;if("string"==typeof n&&n.toLowerCase()===EC)return!0}return!1}function AC(e){return e.hasAttribute(TC)}function DC(e){return!(128&~e.flags)}function MC(e){if(DC(e))return!0;let t=e.parent;for(;t;){if(DC(e)||IC(t))return!0;t=t.parent}return!1}function OC(e){return DC(e)||IC(e)||MC(e)}var PC;!function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(PC||(PC={}));const LC=new Map;let NC=0;function RC(e){return ngDevMode&&pv(e,"ID used for LView lookup must be a number"),LC.get(e)||null}function BC(e){ngDevMode&&pv(e[19],"Cannot stop tracking an LView that does not have an ID"),LC.delete(e[19])}class FC{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return RC(this.lViewId)}constructor(e,t,n){this.lViewId=e,this.nodeIndex=t,this.native=n}}function VC(e){let t=UC(e);if(t){if(Yb(t)){const i=t;let r,s,o;if(WC(e)){if(r=YC(i,e),-1==r)throw new Error("The provided component was not found in the application");s=e}else if((n=e)&&n.constructor&&n.constructor.ɵdir){if(r=function(e,t){let n=e[1].firstChild;for(;n;){const i=n.directiveStart,r=n.directiveEnd;for(let s=i;s<r;s++)if(e[s]===t)return n.index;n=ZC(n)}return-1}(i,e),-1==r)throw new Error("The provided directive was not found in the application");o=KC(r,i)}else if(r=GC(i,e),-1==r)return null;const a=Tw(i[r]),l=UC(a),c=l&&!Array.isArray(l)?l:$C(i,r,a);if(s&&void 0===c.component&&(c.component=s,zC(c.component,c)),o&&void 0===c.directives){c.directives=o;for(let e=0;e<o.length;e++)zC(o[e],c)}zC(c.native,c),t=c}}else{const n=e;ngDevMode&&Iv(n);let i=n;for(;i=i.parentNode;){const e=UC(i);if(e){const i=Array.isArray(e)?e:e.lView;if(!i)return null;const r=GC(i,n);if(r>=0){const e=Tw(i[r]),n=$C(i,r,e);zC(e,n),t=n;break}}}}var n;return t||null}function $C(e,t,n){return new FC(e[19],t,n)}function jC(e){let t,n=UC(e);if(Yb(n)){const i=n,r=YC(i,e);t=Pw(r,i);const s=$C(i,r,t[0]);s.component=e,zC(e,s),zC(s.native,s)}else{const e=n,i=e.lView;ngDevMode&&dw(i),t=Pw(e.nodeIndex,i)}return t}const HC="__ngContext__";function zC(e,t){var n;ngDevMode&&Tv(e,"Target expected"),Yb(t)?(e[HC]=t[19],n=t,ngDevMode&&pv(n[19],"LView must have an ID in order to be registered"),LC.set(n[19],n)):e[HC]=t}function UC(e){ngDevMode&&Tv(e,"Target expected");const t=e[HC];return"number"==typeof t?RC(t):t||null}function qC(e){const t=UC(e);return t?Yb(t)?t:t.lView:null}function WC(e){return e&&e.constructor&&e.constructor.ɵcmp}function GC(e,t){const n=e[1];for(let i=27;i<n.bindingStartIndex;i++)if(Tw(e[i])===t)return i;return-1}function ZC(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function YC(e,t){const n=e[1].components;if(n)for(let i=0;i<n.length;i++){const r=n[i];if(Pw(r,e)[8]===t)return r}else if(Pw(27,e)[8]===t)return 27;return-1}function KC(e,t){const n=t[1].data[e];if(0===n.directiveStart)return Gy;const i=[];for(let e=n.directiveStart;e<n.directiveEnd;e++){const n=t[e];WC(n)||i.push(n)}return i}function JC(e){const t=function(e){ngDevMode&&Tv(e,"component");let t=Yb(e)?e:qC(e);for(;t&&!tw(t);)t=qw(t);return ngDevMode&&dw(t),t}(e);return ngDevMode&&Tv(t[8],"Root view has no context. Perhaps it is disconnected?"),t[8]}function XC(e){return eS(e[12])}function QC(e){return eS(e[4])}function eS(e){for(;null!==e&&!Kb(e);)e=e[4];return e}function tS(e){ngDevMode&&fS(e);const t=VC(e);if(null===t)return null;if(void 0===t.component){const e=t.lView;if(null===e)return null;t.component=function(e,t){const n=t[1].data[e];
1return Xb(n)?t[n.directiveStart+n.componentOffset]:null}(t.nodeIndex,e)}return t.component}function nS(e){fS(e);const t=VC(e),n=t?t.lView:null;return null===n?null:n[8]}function iS(e){const t=VC(e);let n,i=t?t.lView:null;if(null===i)return null;for(;2===i[1].type&&(n=qw(i));)i=n;return tw(i)?null:i[8]}function rS(e){const t=qC(e);return null!==t?[JC(t)]:[]}function sS(e){const t=VC(e),n=t?t.lView:null;if(null===n)return X_.NULL;const i=n[1].data[t.nodeIndex];return new sC(i,n)}function oS(e){if(e instanceof Text)return[];const t=VC(e),n=t?t.lView:null;if(null===n)return[];const i=n[1],r=t.nodeIndex;return i?.data[r]?(void 0===t.directives&&(t.directives=KC(r,n)),null===t.directives?[]:[...t.directives]):[]}var aS,lS,cS;function uS(e){return VC(e).native}function dS(e){ngDevMode&&fS(e);const t=VC(e),n=null===t?null:t.lView;if(null===n)return[];const i=n[1],r=n[7],s=i.cleanup,o=[];if(s&&r)for(let t=0;t<s.length;){const i=s[t++],a=s[t++];if("string"==typeof i){const l=i,c=Tw(n[a]),u=r[s[t++]],d=s[t++],h="boolean"==typeof d||d>=0?"dom":"output",p="boolean"==typeof d&&d;e==c&&o.push({element:e,name:l,callback:u,useCapture:p,type:h})}}return o.sort(hS),o}function hS(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function pS(e){return void 0!==e.type&&void 0!==e.declaredInputs&&void 0!==e.resolveHostDirectives}function fS(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function mS(e){const t={};for(const n in e)if(e.hasOwnProperty(n)){const i=e[n];void 0!==i&&(t[n]=i[0])}return t}let gS;function vS(e){gS=e}function yS(){if(void 0!==gS)return gS;if("undefined"!=typeof document)return document;throw new ev(210,("undefined"==typeof ngDevMode||ngDevMode)&&"The document object is not available in this context. Make sure the DOCUMENT injection token is provided.")}!function(e){e.Angular="angular",e.ACX="acx",e.Wiz="wiz"}(aS||(aS={})),function(e){e[e.Default=0]="Default",e[e.OnPush=1]="OnPush"}(lS||(lS={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=1]="None"}(cS||(cS={}));const bS=new $v(ngDevMode?"AppId":"",{providedIn:"root",factory:()=>wS}),wS="ng",_S=new $v(ngDevMode?"Platform Initializer":""),xS=new $v(ngDevMode?"Platform ID":"",{providedIn:"platform",factory:()=>"unknown"}),kS=new $v(ngDevMode?"Application Packages Root URL":""),CS=new $v(ngDevMode?"AnimationModuleType":""),SS=new $v(ngDevMode?"CSP nonce":"",{providedIn:"root",factory:()=>yS().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),TS={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ES=new $v(ngDevMode?"ImageConfig":"",{providedIn:"root",factory:()=>TS});function IS(e){return e}function AS(){const e=new DS;return"undefined"!=typeof ngServerMode&&ngServerMode||(e.store=MS(yS(),Dy(bS))),e}class DS{static"ɵprov"=Ov({token:DS,providedIn:"root",factory:AS});store={};onSerializeCallbacks={};get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}function MS(e,t){const n=e.getElementById(t+"-state");if("SCRIPT"===n?.tagName&&n.textContent)try{return JSON.parse(n.textContent)}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return{}}const OS="h",PS="b",LS="f",NS="n",RS="e",BS="t",FS="c",VS="x",$S="r",jS="i",HS="n",zS="d",US="l",qS="di",WS="s",GS="p",ZS="t",YS=new $v("undefined"==typeof ngDevMode||ngDevMode?"IS_HYDRATION_DOM_REUSE_ENABLED":""),KS=!1,JS=new $v("undefined"==typeof ngDevMode||ngDevMode?"PRESERVE_HOST_CONTENT":"",{providedIn:"root",factory:()=>KS}),XS=new $v("undefined"==typeof ngDevMode||ngDevMode?"IS_I18N_HYDRATION_ENABLED":""),QS=new $v("undefined"==typeof ngDevMode||ngDevMode?"IS_EVENT_REPLAY_ENABLED":""),eT=new $v("undefined"==typeof ngDevMode||ngDevMode?"IS_INCREMENTAL_HYDRATION_ENABLED":""),tT=new $v(ngDevMode?"JSACTION_BLOCK_ELEMENT_MAP":"",{providedIn:"root",factory:()=>new Map}
1),nT=new $v("undefined"==typeof ngDevMode||ngDevMode?"IS_ENABLED_BLOCKING_INITIAL_NAVIGATION":""),iT={passive:!0,capture:!0},rT=new WeakMap,sT=new WeakMap,oT=new WeakMap,aT=["click","keydown"],lT=["mouseenter","mouseover","focusin"];let cT=null,uT=0;class dT{callbacks=new Set;listener=()=>{for(const e of this.callbacks)e()}}function hT(e,t){let n=sT.get(e);if(!n){n=new dT,sT.set(e,n);for(const t of aT)e.addEventListener(t,n.listener,iT)}return n.callbacks.add(t),()=>{const{callbacks:i,listener:r}=n;if(i.delete(t),0===i.size){sT.delete(e);for(const t of aT)e.removeEventListener(t,r,iT)}}}function pT(e,t){let n=rT.get(e);if(!n){n=new dT,rT.set(e,n);for(const t of lT)e.addEventListener(t,n.listener,iT)}return n.callbacks.add(t),()=>{const{callbacks:i,listener:r}=n;if(i.delete(t),0===i.size){for(const t of lT)e.removeEventListener(t,r,iT);rT.delete(e)}}}const fT="ngb";function mT(e,t,n=null){if(0===t.length||e.nodeType!==Node.ELEMENT_NODE)return;const i=e.getAttribute(Px.JSACTION),r=t.reduce((e,t)=>-1===(i?.indexOf(t)??-1)?e+t+":;":e,"");e.setAttribute(Px.JSACTION,`${i??""}${r}`);const s=n??"";""!==s&&r.length>0&&e.setAttribute(fT,s)}const gT=(e,t,n)=>{const i=e,r=i.__jsaction_fns??new Map,s=r.get(t)??[];s.push(n),r.set(t,s),i.__jsaction_fns=r},vT=(e,t)=>{const n=e;let i=n.getAttribute(fT)??"";const r=t.get(i)??new Set;r.has(n)||r.add(n),t.set(i,r)},yT=e=>{e.removeAttribute(Px.JSACTION),e.removeAttribute(fT),e.__jsaction_fns=void 0},bT=new $v(ngDevMode?"EVENT_CONTRACT_DETAILS":"",{providedIn:"root",factory:()=>({})});function wT(e,t){const n=t?.__jsaction_fns?.get(e.type);if(n&&t?.isConnected)for(const t of n)t(e)}const _T=new Map;let xT=!1,kT=(e,t,n,i)=>{};const CT=new $v(ngDevMode?"DEHYDRATED_BLOCK_REGISTRY":"");class ST{registry=new Map;cleanupFns=new Map;jsActionMap=Dy(tT);contract=Dy(bT);add(e,t){if(this.registry.set(e,t),this.awaitingCallbacks.has(e)){const t=this.awaitingCallbacks.get(e);for(const e of t)e()}}get(e){return this.registry.get(e)??null}has(e){return this.registry.has(e)}cleanup(e){!function(e,t){if(e.length>0){let n=[];for(let i of e)t.has(i)&&(n=[...n,...t.get(i)]);new Set(n).forEach(yT)}}(e,this.jsActionMap);for(let t of e)this.registry.delete(t),this.jsActionMap.delete(t),this.invokeTriggerCleanupFns(t),this.hydrating.delete(t),this.awaitingCallbacks.delete(t);0===this.size&&this.contract.instance?.cleanUp()}get size(){return this.registry.size}addCleanupFn(e,t){let n=[];this.cleanupFns.has(e)&&(n=this.cleanupFns.get(e)),n.push(t),this.cleanupFns.set(e,n)}invokeTriggerCleanupFns(e){const t=this.cleanupFns.get(e)??[];for(let e of t)e();this.cleanupFns.delete(e)}hydrating=new Map;awaitingCallbacks=new Map;awaitParentBlock(e,t){const n=this.awaitingCallbacks.get(e)??[];n.push(t),this.awaitingCallbacks.set(e,n)}static"ɵprov"=Ov({token:ST,providedIn:null,factory:()=>new ST})}function TT(e){return!(32&~e.flags)}const ET="__nghData__",IT=ET,AT="__nghDeferData__",DT=AT;function MT(e){return e===ET||e===AT}const OT="ngh",PT="nghm";let LT=()=>null;function NT(e,t,n=!1){let i=e.getAttribute(OT);if(null==i)return null;const[r,s]=i.split("|");if(i=n?s:r,!i)return null;const o=n?r:s?`|${s}`:"";let a={};if(""!==i){const e=t.get(DS,null,{optional:!0});null!==e&&(a=e.get(IT,[])[Number(i)],ngDevMode&&Tv(a,"Unable to retrieve hydration info from the TransferState."))}const l={data:a,firstChild:e.firstChild??null};return n&&(l.firstChild=e,UT(l,0,e.nextSibling)),o?e.setAttribute(OT,o):e.removeAttribute(OT),ngDevMode&&HT(e,!1),ngDevMode&&ngDevMode.hydratedComponents++,l}function RT(e,t,n=!1){return LT(e,t,n)}function BT(e){let t=e._lView;return 2===t[1].type?null:(tw(t)&&(t=t[27]),t)}var FT;!function(e){e.Hydrated="hydrated",e.Skipped="skipped",e.Mismatched="mismatched"}(FT||(FT={}));const VT="__ngDebugHydrationInfo__";function $T(e,t){e[VT]=t}function jT(e){return e[VT]??null}function HT(e,t=!0){if(!ngDevMode)throw new Error("Calling `markRNodeAsClaimedByHydration` in prod mode is not supported and likely a mistake.");if(t&&function(e){return jT(e)?.status===FT.Hydrated}(e))throw new Error("Trying to claim a node, which was claimed already.");$T(e,{status:FT.Hydrated}),ngDevMode.hydratedNodes++}function zT(e,t=null,n=null){if(!ngDevMode)throw new Error("Calling `markRNodeAsMismatchedByHydration` in prod mode is not supported and likely a mistake.");for(;e&&!tS(e);)e=e?.parentNode;e&&$T(e,{status:FT.Mismatched,expectedNodeDetails:t,actualNodeDetails:n})}function UT(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function qT(e,t){return e.segmentHeads?.[t]??null}function WT(e){return e.get(eT,!1,{optional:!0})}let GT=!1;function ZT(){GT=!1}function YT(e){Tv(e,"Internal error: expecting an SSR id for a defer block that should be hydrated, but the id is not present")}function KT(e,t){const n=e.data;let i=n[RS]?.[t]??null;return null===i&&n[FS]?.[t]&&(i=XT(e,t)),i}function JT(e,t){return e.data[FS]?.[t]??null}function XT(e,t){const n=JT(e,t)??[];let i=0;for(let e of n)i+=e[$S]*(e[VS]??1);return i}function QT(e){if(void 0===e.disconnectedNodes){const t=e.data[zS];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function eE(e,t){if(void 0===e.disconnectedNodes){const t=e.data[zS];e.disconnectedNodes=t?new Set(t):null}return!!QT(e)?.has(t)}function tE(e,t){const n=e[6];return null!==n&&!e_()&&!TT(t)&&!eE(n,t.index-27)}function nE(e,t){const n=t,i=e.corruptedTextNodes;""===n.textContent?i.set(n,"ngetn"):n.nextSibling?.nodeType===Node.TEXT_NODE&&i.set(n,"ngtns")}let iE=()=>({});
1function rE(e){const t=e.get(DS,null,{optional:!0});if(null!==t){const e=t.get(DT,{});return ngDevMode&&Tv(e,"Unable to retrieve defer block info from the TransferState."),e}return{}}function sE(e){const t=e[ZS]?.find(e=>{return"object"==typeof(t=e)&&5===t.trigger;var t});return t?.delay??null}function oE(e,t){return e[ZS]?.includes(t)??!1}function aE(e){return{data:e,hydrate:{idle:oE(e,0),immediate:oE(e,1),timer:sE(e),viewport:oE(e,2)}}}function lE(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===PT}function cE(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function uE(e,t){const n=e.contentQueries;if(null!==n){const i=dg(null);try{for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=e.data[s];ngDevMode&&Tv(n,"DirectiveDef not found."),ngDevMode&&Tv(n.contentQueries,"contentQueries function should be defined"),M_(r),n.contentQueries(2,t[s],s)}}}finally{dg(i)}}}function dE(e,t,n){ngDevMode&&Tv(t,"View queries function to execute must be defined."),M_(0);const i=dg(null);try{t(e,n)}finally{dg(i)}}function hE(e,t,n){if(Jb(t)){const i=dg(null);try{const i=t.directiveStart,r=t.directiveEnd;for(let t=i;t<r;t++){const i=e.data[t];if(i.contentQueries){const e=n[t];ngDevMode&&Tv(t,"Incorrect reference to a directive defining a content query"),i.contentQueries(1,e,t)}}}finally{dg(i)}}}var pE;!function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(pE||(pE={}));const fE={name:"custom-elements"},mE={name:"no-errors-schema"};let gE=!1;function vE(e){gE=e}function yE(){return gE}let bE=!1;function wE(e){bE=e}function _E(){return bE}function xE(e,t){const n=e[1];if(null===n.schemas)return;const i=t.value;if(!Qb(t)&&null!==i&&("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&Aw(t,e)instanceof HTMLUnknownElement||"undefined"!=typeof customElements&&i.indexOf("-")>-1&&!customElements.get(i))&&!AE(n.schemas,i)){const t=TE(e),n=`'${t?"@Component":"@NgModule"}.schemas'`;let r=`'${i}' is not a known element${EE(e)}:\n`;if(r+=`1. If '${i}' is an Angular component, then verify that it is ${t?"included in the '@Component.imports' of this component":"a part of an @NgModule where this component is declared"}.\n`,i&&i.indexOf("-")>-1?r+=`2. If '${i}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${n} of this component to suppress this message.`:r+=`2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${n} of this component.`,gE)throw new ev(304,r);console.error(tv(304,r))}}function kE(e,t,n,i){t||4!==n||(t="ng-template");const r=TE(i);let s=`Can't bind to '${e}' since it isn't a known property of '${t}'${EE(i)}.`;const o=`'${r?"@Component":"@NgModule"}.schemas'`,a=r?"included in the '@Component.imports' of this component":"a part of an @NgModule where this component is declared";IE.has(e)?s+=`\nIf the '${e}' is an Angular control flow directive, please make sure that either the '${IE.get(e)}' directive or the 'CommonModule' is ${a}.`:(s+=`\n1. If '${t}' is an Angular component and it has the '${e}' input, then verify that it is ${a}.`,t&&t.indexOf("-")>-1?(s+=`\n2. If '${t}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${o} of this component to suppress this message.`,s+=`\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the ${o} of this component.`):s+=`\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the ${o} of this component.`),CE(s)}function CE(e){if(bE)throw new ev(303,e);console.error(tv(303,e))}function SE(e){!ngDevMode&&Ev("Must never be called in production mode");const t=e[15][8];return t&&t.constructor?eb(t.constructor):null}function TE(e){!ngDevMode&&Ev("Must never be called in production mode");const t=SE(e);return!!t?.standalone}function EE(e){!ngDevMode&&Ev("Must never be called in production mode");const t=SE(e),n=t?.type?.name;return n?` (used in the '${n}' component template)`:""}const IE=new Map([["ngIf","NgIf"],["ngFor","NgFor"],["ngSwitchCase","NgSwitchCase"],["ngSwitchDefault","NgSwitchDefault"]]);function AE(e,t){if(null!==e)for(let n=0;n<e.length;n++){const i=e[n];if(i===mE||i===fE&&t&&t.indexOf("-")>-1)return!0}return!1}const DE="svg",ME="math",OE={"http://www.w3.org/2000/svg":DE,"http://www.w3.org/1998/Math/MathML":ME};let PE,LE;function NE(){if(void 0===PE&&(PE=null,nv.trustedTypes))try{PE=nv.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return PE}function RE(e){return NE()?.createHTML(e)||e}function BE(){if(void 0===LE&&(LE=null,nv.trustedTypes))try{LE=nv.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return LE}function FE(e){return BE()?.createHTML(e)||e}function VE(e){return BE()?.createScript(e)||e}function $E(e){return BE()?.createScriptURL(e)||e}class jE{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qg})`}}class HE extends jE{getTypeName(){return"HTML"}}class zE extends jE{getTypeName(){return"Style"}}
1class UE extends jE{getTypeName(){return"Script"}}class qE extends jE{getTypeName(){return"URL"}}class WE extends jE{getTypeName(){return"ResourceURL"}}function GE(e){return e instanceof jE?e.changingThisBreaksApplicationSecurity:e}function ZE(e,t){const n=YE(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Qg})`)}return n===t}function YE(e){return e instanceof jE&&e.getTypeName()||null}function KE(e){return new HE(e)}function JE(e){return new zE(e)}function XE(e){return new UE(e)}function QE(e){return new qE(e)}function eI(e){return new WE(e)}function tI(e){const t=new iI(e);return function(){try{return!!(new window.DOMParser).parseFromString(RE(""),"text/html")}catch{return!1}}()?new nI(t):t}class nI{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(RE(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}}class iI{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=RE(e),t}}const rI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function sI(e){return(e=String(e)).match(rI)?e:(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see ${Qg})`),"unsafe:"+e)}function oI(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function aI(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const lI=oI("area,br,col,hr,img,wbr"),cI=oI("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),uI=oI("rp,rt"),dI=aI(uI,cI),hI=aI(cI,oI("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")),pI=aI(uI,oI("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")),fI=aI(lI,hI,pI,dI),mI=oI("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gI=oI("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"),vI=oI("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"),yI=aI(mI,gI,vI),bI=oI("script,style,template");class wI{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,n=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)i.push(t),t=xI(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=_I(t);if(e){t=e;break}t=i.pop()}return this.buf.join("")}startElement(e){const t=kI(e).toLowerCase();if(!fI.hasOwnProperty(t))return this.sanitizedSomething=!0,!bI.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let e=0;e<n.length;e++){const t=n.item(e),i=t.name,r=i.toLowerCase();if(!yI.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let s=t.value;mI[r]&&(s=sI(s)),this.buf.push(" ",i,'="',EI(s),'"')}return this.buf.push(">"),!0}endElement(e){const t=kI(e).toLowerCase();fI.hasOwnProperty(t)&&!lI.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(EI(e))}}function _I(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw CI(t);return t}function xI(e){const t=e.firstChild;if(t&&(n=t,(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY))throw CI(t);var n;return t}function kI(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function CI(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const SI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TI=/([^\#-~ |!])/g;function EI(e){return e.replace(/&/g,"&amp;").replace(SI,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(TI,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let II;function AI(e,t){let n=null;try{II=II||tI(e);let i=t?String(t):"";n=II.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=II.getInertBodyElement(i)}while(i!==s);const o=new wI,a=o.sanitizeChildren(DI(n)||n);return("undefined"==typeof ngDevMode||ngDevMode)&&o.sanitizedSomething&&console.warn(`WARNING: sanitizing HTML stripped some content, see ${Qg}`),RE(a)}finally{if(n){const e=DI(n)||n;for(;e.firstChild;)e.firstChild.remove()}}}
1function DI(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const MI=/^>|^->|<!--|-->|--!>|<!-$/g,OI=/(<|>)/g,PI="​$1​";function LI(e){return e.replace(MI,e=>e.replace(OI,PI))}function NI(e,t){return e.createText(t)}function RI(e,t,n){e.setValue(t,n)}function BI(e,t){return e.createComment(LI(t))}function FI(e,t,n){return e.createElement(t,n)}function VI(e,t,n,i,r){e.insertBefore(t,n,i,r)}function $I(e,t,n){ngDevMode&&Tv(t,"parent node must be defined"),e.appendChild(t,n)}function jI(e,t,n,i,r){null!==i?VI(e,t,n,i,r):$I(e,t,n)}function HI(e,t,n,i){e.removeChild(null,t,n,i)}function zI(e){e.textContent=""}function UI(e,t,n){const{mergedAttrs:i,classes:r,styles:s}=n;null!==i&&function(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const s=n[i++],o=n[i++],a=n[i++];e.setAttribute(t,o,a,s)}else{const s=r,o=n[++i];Dk(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),i++}}}(e,t,i),null!==r&&function(e,t,n){ngDevMode&&mv(n,"'newValue' should be a string"),""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,r),null!==s&&function(e,t,n){ngDevMode&&mv(n,"'newValue' should be a string"),e.setAttribute(t,"style",n)}(e,t,s)}function qI(e,t=!0){if(":"!=e[0])return[null,e];const n=e.indexOf(":",1);
1if(-1===n){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function WI(e,t,n){if(void 0!==t&&void 0!==n&&tA(t,n)!==bw.HTML)return e;const i=eA();return i?FE(i.sanitize(bw.HTML,e)||""):ZE(e,"HTML")?FE(GE(e)):AI(yS(),ly(e))}function GI(e){const t=eA();return t?t.sanitize(bw.STYLE,e)||"":ZE(e,"Style")?GE(e):ly(e)}function ZI(e){const t=eA();return t?t.sanitize(bw.URL,e)||"":ZE(e,"URL")?GE(e):sI(ly(e))}function YI(e){const t=eA();if(t)return $E(t.sanitize(bw.RESOURCE_URL,e)||"");if(ZE(e,"ResourceURL"))return $E(GE(e));throw new ev(904,ngDevMode&&`unsafe value used in a resource URL context (see ${Qg})`)}function KI(e){const t=eA();if(t)return VE(t.sanitize(bw.SCRIPT,e)||"");if(ZE(e,"Script"))return VE(GE(e));throw new ev(905,ngDevMode&&"unsafe value used in a script context")}function JI(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error(`Unexpected interpolation in trusted HTML constant: ${e.join("?")}`);return RE(e[0])}function XI(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error(`Unexpected interpolation in trusted URL constant: ${e.join("?")}`);return function(e){return NE()?.createScriptURL(e)||e}(e[0])}function QI(e,t,n){return function(e,t){switch(tA(e,t)){case bw.RESOURCE_URL:return YI;case bw.URL:return ZI;default:return null}}(t,n)?.(e)??e}function eA(){const e=s_();return e&&e[10].sanitizer}function tA(e,t){const[n,i]=nA(e);return Sw(i,t,n)}function nA(e){const t=qI(e=e.toLowerCase(),!1);if(t[0])return t;const n=-1===$_()?null:H_();let i=n?.namespace;if("#host"===e&&2===n?.type){const t=Aw(n,s_());if(t.tagName&&(e=t.tagName.toLowerCase()),null==i){const e=t.namespaceURI;i=e&&OE[e]}}return[i,e]}const iA=new Set(["href","xlink:href"]),rA={animate:{to:iA,values:iA,from:iA},set:{to:iA}};function sA(e,t,n){const i=-1===$_()?null:H_();if(i&&2!==i.type)return e;const[r,s]=nA(t);if(Sw(s,n,r)!==bw.ATTRIBUTE_NO_BINDING)return e;const o=s_();if(i)if("iframe"===s)!function(e){const t=s_();e.src="",e.srcdoc=RE(""),HI(t[11],e)}(Aw(i,o));else if("svg"===r){const t=rA[s]?.[n.toLowerCase()];if(t){const r=function(e,t){for(const n of e.getAttributeNames()){if("attributename"!==n.toLowerCase())continue;const i=e.getAttribute(n);if(null!==i&&t.has(i.toLowerCase()))return i}return null}(Aw(i,o),t);if(r){const e=ngDevMode&&`Angular has detected that the \`${n}\` was applied as a binding to the <${s}> element${EE(o)}. For security reasons, the \`${n}\` can be set on the <${s}> element as a static attribute only when the "attributeName" is set to '${r}'. \nTo fix this, switch the \`${r}\` binding to a static attribute in a template or in host bindings section.`;throw new ev(-910,e)}return e}}const a=ngDevMode&&`Angular has detected that the \`${n}\` was applied as a binding to the <${s}> element${i?EE(o):""}. For security reasons, the \`${n}\` can be set on the <${s}> element as a static attribute only. \nTo fix this, switch the \`${n}\` binding to a static attribute in a template or in host bindings section.`;throw new ev(-910,a)}const oA=!1,aA=new $v("undefined"==typeof ngDevMode||ngDevMode?"NG_REFLECT_FLAG":"",{providedIn:"root",factory:()=>oA});function lA(){return sb("undefined"==typeof ngDevMode||ngDevMode?[{provide:aA,useValue:!0}]:[])}const cA=/([A-Z])/g;function uA(e){return e.ownerDocument.defaultView}function dA(e){return e.ownerDocument}function hA(e){return e.ownerDocument.body}const pA="�";function fA(e){return e instanceof Function?e():e}const mA=200;function gA(e){if(!eb(e))throw new ev(906,`The ${cy(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function vA(e,t,n){throw new ev(-300,`Multiple components match node with tagname ${e.value}: ${cy(t)} and ${cy(n)}`)}function yA(e){let t=String(e);try{(Array.isArray(e)||"[object Object]"===t)&&(t=JSON.stringify(e))}catch(e){}return t.length>mA?t.substring(0,mA)+"…":t}function bA(e,t,n,i,r){const[s,o,...a]=i.split(pA);let l=o,c=o;for(let i=0;i<a.length;i++){const s=t+i;l+=`${e[s]}${a[i]}`,c+=`${s===n?r:e[s]}${a[i]}`}return{propName:s,oldValue:l,newValue:c}}function wA(e,t,n){ngDevMode&&yv(t,"",'can not look for "" string.');let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const n=t.length;if(r+n===i||e.charCodeAt(r+n)<=32)return r}n=r+1}}const _A="ng-template";function xA(e,t,n,i){ngDevMode&&vv(n,n.toLowerCase(),"Class name expected to be lowercase.");let r=0;if(i){for(;r<t.length&&"string"==typeof t[r];r+=2)if("class"===t[r]&&-1!==wA(t[r+1].toLowerCase(),n,0))return!0}else if(kA(e))return!1;if(r=t.indexOf(1,r),r>-1){let e;for(;++r<t.length&&"string"==typeof(e=t[r]);)if(e.toLowerCase()===n)return!0}return!1}function kA(e){return 4===e.type&&e.value!==_A}function CA(e,t,n){return t===(4!==e.type||n?e.value:_A)}function SA(e,t,n){ngDevMode&&Tv(t[0],"Selector should have a tag name");let i=4;const r=e.attrs,s=null!==r?function(e){for(let t=0;t<e.length;t++)if(Ak(e[t]))return t;return e.length}(r):0;let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!CA(e,l,n)||""===l&&1===t.length){if(TA(i))return!1;o=!0}}
1else if(8&i){if(null===r||!xA(e,r,l,n)){if(TA(i))return!1;o=!0}}else{const c=t[++a],u=EA(l,r,kA(e),n);if(-1===u){if(TA(i))return!1;o=!0;continue}if(""!==c){let e;if(u>s?e="":(ngDevMode&&yv(r[u],0,"We do not match directives on namespaced attributes"),e=r[u+1].toLowerCase()),2&i&&c!==e){if(TA(i))return!1;o=!0}}}}else{if(!o&&!TA(i)&&!TA(l))return!1;if(o&&TA(l))continue;o=!1,i=l|1&i}}return TA(i)||o}function TA(e){return!(1&e)}function EA(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r<t.length;){const i=t[r];if(i===e)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let e=t[++r];for(;"string"==typeof e;)e=t[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function IA(e,t,n=!1){for(let i=0;i<t.length;i++)if(SA(e,t[i],n))return!0;return!1}function AA(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let t=0;t<e.length;t++)if(e[t]!==i[t])continue e;return!0}}return!1}function DA(e,t){return e?":not("+t.trim()+")":t}function MA(e){let t=e[0],n=1,i=2,r="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&i){const t=e[++n];r+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||TA(o)||(t+=DA(s,r),r=""),i=o,s=s||!TA(i);n++}return""!==r&&(t+=DA(s,r)),t}function OA(e){return e.map(MA).join(",")}const PA="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};function LA(e,t,n,i,r,s,o,a,l,c,u){const d=27+i,h=d+r,p=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:PA);return n}(d,h),f="function"==typeof c?c():c,m=p[1]={type:e,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:t,data:p.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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1,ssrId:u};return ngDevMode&&Object.seal(m),m}function NA(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=LA(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id)}return t}function RA(e,t,n,i,r,s,o,a,l,c,u){const d=t.blueprint.slice();return d[0]=r,d[2]=1228|i,(null!==c||e&&2048&e[2])&&(d[2]|=2048),Bw(d),ngDevMode&&t.declTNode&&e&&rw(t.declTNode,e),d[3]=d[14]=e,d[8]=n,d[10]=o||e&&e[10],ngDevMode&&Tv(d[10],"LViewEnvironment is required"),d[11]=a||e&&e[11],ngDevMode&&Tv(d[11],"Renderer is required"),d[9]=l||e&&e[9]||null,d[5]=s,d[19]=NC++,d[6]=u,d[20]=c,ngDevMode&&vv(2!=t.type||null!==e,!0,"Embedded views must have parentLView"),d[15]=2==t.type?e[15]:d,d}function BA(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function FA(e,t,n,i){if(0===n)return-1;ngDevMode&&(hw(e),bv(e,t[1],"`LView` must be associated with `TView`!"),vv(e.data.length,t.length,"Expecting LView to be same size as TView"),vv(e.data.length,e.blueprint.length,"Expecting Blueprint to be same size as TView"),pw(e));const r=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function VA(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function $A(e=1){ngDevMode&&kv(e,0,"Can only advance forward"),jA(o_(),s_(),$_()+e,!!ngDevMode&&g_())}function jA(e,t,n,i){if(ngDevMode&&fw(t[1],n),!i)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&yk(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&vk(t,i,n)}j_(n)}var HA,zA;function UA(e,t,n,i){const r=dg(null);try{if(ngDevMode){if(!e.inputs.hasOwnProperty(n))throw new Error(`ASSERTION ERROR: Directive ${e.type.name} does not have an input with a public name of "${n}"`);if(t instanceof Ck)throw new Error(`ASSERTION ERROR: Cannot write input to factory for type ${e.type.name}. Directive has not been created yet.`)}const[r,s,o]=e.inputs[n];let a=null;0!==(s&HA.SignalBased)&&(a=t[r][ug]),null!==a&&void 0!==a.transformFn?i=a.transformFn(i):null!==o&&(i=o.call(t,i)),null!==e.setInput?e.setInput(t,a,i,n,r):sk(t,a,r,i)}finally{dg(r)}}let qA;function WA(e,t){return qA(e,t)}function GA(e){if(!e)return 0;const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function ZA(e,t){return e.getPropertyValue(t).split(",").map(e=>e.trim())}function YA(e,t){return void 0!==e&&e.duration>t.duration}function KA(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function JA(e,t,n){if(!n)return;const i=e.getAnimations();return 0===i.length?function(e,t){const n=getComputedStyle(e),i=function(e){const t=ZA(e,"animation-name"),n=ZA(e,"animation-delay"),i=ZA(e,"animation-duration"),r={animationName:"",propertyName:void 0,duration:0};for(let e=0;e<t.length;e++){const s=GA(n[e])+GA(i[e]);s>r.duration&&(r.animationName=t[e],r.duration=s)}return r}(n),r=function(e){const t=ZA(e,"transition-property"),n=ZA(e,"transition-duration"),i=ZA(e,"transition-delay"),r={propertyName:"",duration:0,animationName:void 0};for(let e=0;e<t.length;e++){const s=GA(i[e])+GA(n[e]);s>r.duration&&(r.propertyName=t[e],r.duration=s)}return r}(n),s=i.duration>r.duration?i:r;YA(t.get(e),s)||KA(s)&&t.set(e,s)}(e,t):function(e,t,n){let i={animationName:void 0,propertyName:void 0,duration:0};for(const e of n){const t=e.effect?.getTiming(),n="number"==typeof t?.duration?t.duration:0;let r,s,o=(t?.delay??0)+n;e.animationName?s=e.animationName:r=e.transitionProperty,o>=i.duration&&(i={animationName:s,propertyName:r,duration:o})}YA(t.get(e),i)||KA(i)&&t.set(e,i)}(e,t,i)}!function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(HA||(HA={})),function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(zA||(zA={}));const XA=new Set;var QA;!function(e){e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER"}(QA||(QA={}));const eD=new $v(ngDevMode?"TracingService":""),tD=new Set;function nD(e){tD.has(e)||(tD.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}const iD=!1,rD=class extends Gg{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,Ob()&&(this.destroyRef=Dy(ex,{optional:!0})??void 0,this.pendingTasks=Dy(_x,{optional:!0})??void 0)}emit(e){const t=dg(null);try{super.next(e)}finally{dg(t)}}subscribe(e,t,n){let i=e,r=t||(()=>null),s=n;if(e&&"object"==typeof e){const t=e;i=t.next?.bind(t),r=t.error?.bind(t),s=t.complete?.bind(t)}this.__isAsync&&(r=this.wrapInTimeout(r),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const o=super.subscribe({next:i,error:r,complete:s});return e instanceof Hg.yU&&e.add(o),o}wrapInTimeout(e){return t=>{const n=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{void 0!==n&&this.pendingTasks?.remove(n)}})}}};function sD(e){let t,n;function i(){e=kx;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),i()}
1)),()=>i()}function oD(e){return queueMicrotask(()=>e()),()=>{e=kx}}class aD{createTask;constructor(e,t=console){this.name="asyncStackTagging for "+e,this.createTask=t?.createTask??(()=>null)}name;onScheduleTask(e,t,n,i){return i.consoleTask=this.createTask(`Zone - ${i.source||i.type}`),e.scheduleTask(n,i)}onInvokeTask(e,t,n,i,r,s){let o;return o=i.consoleTask?i.consoleTask.run(()=>e.invokeTask(n,i,r,s)):e.invokeTask(n,i,r,s),o}}const lD="isAngularZone",cD=lD+"_ID";let uD=0;class dD{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new rD(!1);onMicrotaskEmpty=new rD(!1);onStable=new rD(!1);onError=new rD(!1);constructor(e){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:r=iD}=e;if("undefined"==typeof Zone)throw new ev(908,ngDevMode&&"In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,ngDevMode&&(s._inner=s._inner.fork(new aD("Angular"))),Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=r,function(e){const t=()=>{!function(e){function t(){sD(()=>{e.callbackScheduled=!1,fD(e),e.isCheckStableRunning=!0,pD(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),fD(e))}(e)},n=uD++;e._inner=e._inner.fork({name:"angular",properties:{[lD]:!0,[cD]:n,[cD+n]:!0},onInvokeTask:(n,i,r,s,o,a)=>{if(function(e){return yD(e,"__ignore_ng_zone__")}(a))return n.invokeTask(r,s,o,a);try{return mD(e),n.invokeTask(r,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),gD(e)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return mD(e),n.invoke(r,s,o,a,l)}finally{!e.shouldCoalesceRunChangeDetection||e.callbackScheduled||function(e){return yD(e,"__scheduler_tick__")}(a)||t(),gD(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,fD(e),pD(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(s)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get(lD)}static assertInAngularZone(){if(!dD.isInAngularZone())throw new ev(909,ngDevMode&&"Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(dD.isInAngularZone())throw new ev(909,ngDevMode&&"Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,e,hD,kx,kx);try{return r.runTask(s,t,n)}finally{r.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const hD={};function pD(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 fD(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function mD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gD(e){e._nesting--,pD(e)}class vD{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new rD;onMicrotaskEmpty=new rD;onStable=new rD;onError=new rD;run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}function yD(e,t){return!!Array.isArray(e)&&1===e.length&&!0===e[0]?.data?.[t]}class bD{impl=null;execute(){this.impl?.execute()}static"ɵprov"=Ov({token:bD,providedIn:"root",factory:()=>new bD})}const wD=(()=>[0,1,2,3])();class _D{ngZone=Dy(dD);
1scheduler=Dy(gx);errorHandler=Dy(ix,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){Dy(eD,{optional:!0})}execute(){const e=this.sequences.size>0;e&&mk(16),this.executing=!0;for(const e of wD)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[e])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,t.hooks[e])(t.pipelinedValue),t.snapshot))}catch(e){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(e)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&mk(17)}register(e){const{view:t}=e;void 0!==t?((t[25]??=[]).push(e),Hw(t),t[2]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,t){return t?t.run(QA.AFTER_NEXT_RENDER,e):e()}static"ɵprov"=Ov({token:_D,providedIn:"root",factory:()=>new _D})}class xD{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,n,i,r,s=null){this.impl=e,this.hooks=t,this.view=n,this.once=i,this.snapshot=s,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const e=this.view?.[25];e&&(this.view[25]=e.filter(e=>e!==this))}}function kD(e,t){ngDevMode&&px(kD,"Call `afterEveryRender` outside of a reactive context. For example, schedule the render callback inside the component constructor`."),ngDevMode&&!t?.injector&&Pb(kD);const n=t?.injector??Dy(X_);return"undefined"!=typeof ngServerMode&&ngServerMode?TD:(nD("NgAfterRender"),SD(e,n,t,!1))}function CD(e,t){ngDevMode&&!t?.injector&&Pb(CD);const n=t?.injector??Dy(X_);return"undefined"!=typeof ngServerMode&&ngServerMode?TD:(nD("NgAfterNextRender"),SD(e,n,t,!0))}function SD(e,t,n,i){const r=t.get(bD);r.impl??=t.get(_D);const s=t.get(eD,null,{optional:!0}),o=!0!==n?.manualCleanup?t.get(ex):null,a=t.get(fx,null,{optional:!0}),l=new xD(r.impl,function(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),a?.view,i,o,s?.snapshot(null));return r.impl.register(l),l}const TD={destroy(){}},ED=new $v("undefined"!=typeof ngDevMode&&ngDevMode?"AnimationQueue":"",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function ID(e,t,n){const i=e.get(ED);if(Array.isArray(t))for(const e of t)i.queue.add(e),n?.detachedLeaveAnimationFns?.push(e);else i.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);i.scheduler&&i.scheduler(e)}function AD(e){const t=e.get(ED);t.isScheduled||(CD(()=>{t.isScheduled=!1;for(let e of t.queue)e();t.queue.clear()},{injector:e}),t.isScheduled=!0)}function DD(e){const t=e.get(ED);t.scheduler=AD,t.scheduler(e)}function MD(e,t){for(const[n,i]of t)ID(e,i.animateFns)}function OD(e,t,n,i){const r=e?.[26]?.enter;null!==t&&r&&r.has(n.index)&&MD(i,r)}function PD(e,t,n,i,r,s,o,a){if(null!=r){let l,c=!1;Kb(r)?l=r:Yb(r)&&(c=!0,ngDevMode&&Tv(r[0],"HOST must be defined for a component LView"),r=r[0]);const u=Tw(r);0===e&&null!==i?(OD(a,i,s,n),null==o?$I(t,i,u):VI(t,i,u,o||null,!0)):1===e&&null!==i?(OD(a,i,s,n),VI(t,i,u,o||null,!0)):2===e?VD(a,s,n,e=>{HI(t,u,c,e)}):3===e&&VD(a,s,n,()=>{t.destroyNode(u)}),null!=l&&function(e,t,n,i,r,s,o){ngDevMode&&cw(i);const a=i[7];a!==Tw(i)&&PD(t,e,n,s,a,r,o);for(let n=10;n<i.length;n++){const r=i[n];eM(r[1],r,e,t,s,a)}}(t,e,n,l,s,i,o)}}function LD(e,t){ND(e,t),t[0]=null,t[5]=null}function ND(e,t){t[10].changeDetectionScheduler?.notify(9),eM(e,t,t[11],2,null,null)}function RD(e,t){ngDevMode&&cw(e),ngDevMode&&Tv(e[9],"A projected view should belong to a non-empty projected views collection");const n=e[9],i=n.indexOf(t);n.splice(i,1)}function BD(e,t){if(iw(t))return;const n=t[11];n.destroyNode&&eM(e,t,n,3,null,null),function(e){let t=e[12];
1if(!t)return FD(e[1],e);for(;t;){let n=null;if(Yb(t))n=t[12];else{ngDevMode&&cw(t);const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Yb(t)&&FD(t[1],t),t=t[3];null===t&&(t=e),Yb(t)&&FD(t[1],t),n=t&&t[4]}t=n}}(t)}function FD(e,t){if(iw(t))return;const n=dg(null);try{t[2]&=-129,t[2]|=256,t[24]&&kg(t[24]),jD(e,t),$D(e,t),1===t[1].type&&t[11].destroy();const n=t[16];if(null!==n&&Kb(t[3])){n!==t[3]&&RD(n,t);const i=t[18];null!==i&&i.detachView(e)}BC(t)}finally{dg(n)}}function VD(e,t,n,i){const r=e?.[26];if(null==r||null==r.leave||!r.leave.has(t.index))return i(!1);e&&XA.add(e),ID(n,()=>{if(r.leave&&r.leave.has(t.index)){const n=r.leave.get(t.index),s=[];if(n){for(let e=0;e<n.animateFns.length;e++){const t=n.animateFns[e],{promise:i}=t();s.push(i)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),function(e,t){const n=e[26]?.running;n?n.then(()=>{e[26].running=void 0,XA.delete(e),t(!0)}):t(!1)}(e,i)}else e&&XA.delete(e),i(!1)},r)}function $D(e,t){ngDevMode&&Mv($D.name);const n=e.cleanup,i=t[7];if(null!==n)for(let e=0;e<n.length-1;e+=2)if("string"==typeof n[e]){const t=n[e+3];ngDevMode&&pv(t,"cleanup target must be a number"),t>=0?i[t]():i[-t].unsubscribe(),e+=2}else{const t=i[n[e+1]];n[e].call(t)}null!==i&&(t[7]=null);const r=t[21];if(null!==r){t[21]=null;for(let e=0;e<r.length;e++){const t=r[e];ngDevMode&&gv(t,"Expecting destroy hook to be a function."),t()}}const s=t[23];if(null!==s){t[23]=null;for(const e of s)e.destroy()}}function jD(e,t){let n;if(ngDevMode&&Mv(jD.name),null!=e&&null!=(n=e.destroyHooks))for(let e=0;e<n.length;e+=2){const i=t[n[e]];if(!(i instanceof Ck)){const t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){const n=i[t[e]],r=t[e+1];mk(4,n,r);try{r.call(n)}finally{mk(5,n,r)}}else{mk(4,i,t);try{t.call(i)}finally{mk(5,i,t)}}}}}function HD(e,t,n){return zD(e,t.parent,n)}function zD(e,t,n){let i=t;for(;null!==i&&168&i.type;)i=(t=i).parent;if(null===i)return n[0];if(ngDevMode&&Ik(i,7),Xb(i)){ngDevMode&&rw(i,n);const{encapsulation:t}=e.data[i.directiveStart+i.componentOffset];if(t===pE.None||t===pE.Emulated)return null}return Aw(i,n)}function UD(e,t,n){return GD(e,t,n)}
1function qD(e,t,n){return 40&e.type?Aw(e,n):null}let WD,GD=qD;function ZD(e,t){GD=e,WD=t}function YD(e,t,n,i){const r=HD(e,i,t),s=t[11],o=UD(i.parent||t[5],i,t);if(null!=r)if(Array.isArray(n))for(let e=0;e<n.length;e++)jI(s,r,n[e],o,!1);else jI(s,r,n,o,!1);void 0!==WD&&WD(s,i,t,n,r)}function KD(e,t){if(null!==t){ngDevMode&&Ik(t,191);const n=t.type;if(3&n)return Aw(t,e);if(4&n)return XD(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return KD(e,n);{const n=e[t.index];return Kb(n)?XD(-1,n):Tw(n)}}if(128&n)return KD(e,t.next);if(32&n)return WA(t,e)()||Tw(e[t.index]);{const n=JD(e,t);if(null!==n){if(Array.isArray(n))return n[0];const t=qw(e[15]);return ngDevMode&&vw(t),KD(t,n)}return KD(e,t.next)}}return null}function JD(e,t){if(null!==t){const n=e[15][5],i=t.projection;return ngDevMode&&function(e){Tv(e[zb],"Component views should exist."),Tv(e[zb][Fb].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}(e),n.projection[i]}return null}function XD(e,t){const n=10+e+1;if(n<t.length){const e=t[n],i=e[1].firstChild;if(null!==i)return KD(e,i)}return t[7]}function QD(e,t,n,i,r,s,o){for(;null!=n;){ngDevMode&&rw(n,i);const a=i[9];if(128===n.type){n=n.next;continue}ngDevMode&&Ik(n,63);const l=i[n.index],c=n.type;if(o&&0===t&&(l&&zC(Tw(l),i),n.flags|=2),!TT(n))if(8&c)QD(e,t,n.child,i,r,s,!1),PD(t,e,a,r,l,n,s,i);else if(32&c){const o=WA(n,i);let c;for(;c=o();)PD(t,e,a,r,c,n,s,i);PD(t,e,a,r,l,n,s,i)}else 16&c?tM(e,t,i,n,r,s):(ngDevMode&&Ik(n,7),PD(t,e,a,r,l,n,s,i));n=o?n.projectionNext:n.next}}function eM(e,t,n,i,r,s){QD(n,i,e.firstChild,t,r,s,!1)}function tM(e,t,n,i,r,s){const o=n[15],a=o[5];ngDevMode&&vv(typeof i.projection,"number","expecting projection index");const l=a.projection[i.projection];if(Array.isArray(l))for(let o=0;o<l.length;o++){const a=l[o];PD(t,e,n[9],r,a,i,s,n)}else{let n=l;const a=o[3];DC(i)&&(n.flags|=128),QD(e,t,n,a,r,s,!0)}}function nM(e,t,n,i,r){const s=$_(),o=2&i;try{j_(-1),o&&t.length>27&&jA(e,t,27,!!ngDevMode&&g_()),mk(o?2:0,r,n),n(i,r)}finally{j_(s),mk(o?3:1,r,n)}}function iM(e,t,n){!function(e,t,n){const i=n.directiveStart,r=n.directiveEnd;Xb(n)&&(ngDevMode&&Ik(n,3),function(e,t,n){const i=Aw(t,e),r=NA(n),s=e[10].rendererFactory,o=VA(e,RA(e,r,null,BA(n),i,t,null,s.createRenderer(i,n),null,null,null));e[t.index]=o}(t,n,e.data[i+n.componentOffset])),e.firstCreatePass||Hk(n,t);const s=n.initialInputs;for(let o=i;o<r;o++){const r=e.data[o],a=eC(t,e,o,n);zC(a,t),null!==s&&mM(t,o-i,a,r,n,s),ew(r)&&(Pw(n.index,t)[8]=eC(t,e,o,n))}}(e,t,n),64&~n.flags||function(e,t,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,o=Zw.lFrame.currentDirectiveIndex;try{j_(s);for(let n=i;n<r;n++){const i=e.data[n],r=t[n];I_(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||hM(i,r)}}finally{j_(-1),I_(o)}}(e,t,n)}function rM(e,t,n=Aw){const i=t.localNames;if(null!==i){let r=t.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?n(t,e):e[o];e[r++]=a}}}let sM=()=>null;function oM(e){AC(e)?zI(e):function(e){const t=yS(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(e){const t=function(e){return e.textContent?.replace(/\s/gm,"")}(e);return"ngetn"===t||"ngtns"===t?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let i;const r=[];for(;i=n.nextNode();)r.push(i);for(const e of r)"ngetn"===e.textContent?e.replaceWith(t.createTextNode("")):e.remove()}(e)}function aM(e,t,n,i,r,s){ngDevMode&&wv(i,PA,"Incoming value should never be NO_CHANGE.");const o=t[1];if(_M(e,o,t,n,i))return Xb(e)&&cM(t,e.index),void(ngDevMode&&dM(t,o,e,n,i));var a;3&e.type&&(n="class"===(a=n)?"className":"for"===a?"htmlFor":"formaction"===a?"formAction":"innerHtml"===a?"innerHTML":"readonly"===a?"readOnly":"tabindex"===a?"tabIndex":a),lM(e,t,n,i,r,s)}function lM(e,t,n,i,r,s){if(3&e.type){const o=Aw(e,t);ngDevMode&&(t[1].firstUpdatePass&&function(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`;throw new ev(306,t)}}(n),function(e,t,n,i){return!(null!==i&&!(AE(i,n)||t in e||Dk(t))&&"undefined"!=typeof Node&&null!==Node&&e instanceof Node)}(o,n,e.value,t[1].schemas)||kE(n,e.value,e.type,t)),i=null!=s?s(i,e.value||"",n):i,r.setProperty(o,n,i)}else 12&e.type&&ngDevMode&&!AE(t[1].schemas,e.value)&&kE(n,e.value,e.type,t)}function cM(e,t){ngDevMode&&dw(e);const n=Pw(t,e);16&n[2]||(n[2]|=64)}function uM(e,t,n,i){if(!e[10].ngReflect)return;const r=Aw(t,e),s=e[11];var o;o=function(e){return e.replace(cA,(...e)=>"-"+e[1].toLowerCase())}((o=n).replace(/[$@]/g,"_")),n=`ng-reflect-${o}`;const a=function(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}(i);if(3&t.type)null==i?s.removeAttribute(r,n):s.setAttribute(r,n,a);else{const e=LI(`bindings=${JSON.stringify({[n]:a},null,2)}`);s.setValue(r,e)}}function dM(e,t,n,i,r){if(!(e[10].ngReflect&&7&n.type))return;const s=n.inputs?.[i],o=n.hostDirectiveInputs?.[i];if(o)for(let i=0;i<o.length;i+=2){const s=o[i],a=o[i+1];uM(e,n,t.data[s].inputs[a][0],r)}if(s)for(const o of s)uM(e,n,t.data[o].inputs[i][0],r)}function hM(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function pM(e,t){ngDevMode&&hw(e),ngDevMode&&Ik(t,15);const n=e.directiveRegistry;let i=null;if(n)for(let e=0;e<n.length;e++){const r=n[e];IA(t,r.selectors,!1)&&(i??=[],ew(r)?(ngDevMode&&(Ik(t,2,`"${t.value}" tags cannot be used as component hosts. Please use a different tag to activate the ${ov(r.type)} component.`),i.length&&ew(i[0])&&vA(t,i.find(ew).type,r.type)),i.unshift(r)):i.push(r))}return i}function fM(e,t,n,i,r,s,o){if(null==s)e.removeAttribute(t,r,n);else{const a=null==o?ly(s):o(s,i||"",r);e.setAttribute(t,r,a,n)}}function mM(e,t,n,i,r,s){const o=s[t];if(null!==o)for(let t=0;t<o.length;t+=2){const s=o[t],a=o[t+1];UA(i,n,s,a),ngDevMode&&uM(e,r,i.inputs[s][0],a)}}function gM(e,t,n,i,r){const s=27+n,o=t[1],a=r(o,t,e,i,n);t[s]=a,h_(e,!0);const l=2===e.type;return l?(UI(t[11],a,e),(0===Zw.lFrame.elementDepthCount||Qb(e))&&zC(a,t),Zw.lFrame.elementDepthCount++):zC(a,t),!Z_()||l&&TT(e)||YD(o,t,a,e),e}function vM(e){let t=e;return p_()?f_():(ngDevMode&&function(e){Tv(e,"currentTNode should exist!"),Tv(e.parent,"currentTNode should have a parent")}(c_()),t=t.parent,h_(t,!1)),t}function yM(e,t,n,i,...r){if(null===e[i]&&!t.inputs?.[n]&&!t.hostDirectiveInputs?.[n]){(t.propertyBindings||(t.propertyBindings=[])).push(i);let s=n;r.length>0&&(s+=pA+r.join(pA)),e[i]=s}}function bM(e,t,n){return(null===e||ew(e))&&(n=Ew(n[t.index])),n[11]}function wM(e,t){const n=e[9];if(!n)return;let i;try{i=n.get(rx,null)}catch{i=null}i?.(t)}function _M(e,t,n,i,r){const s=e.inputs?.[i],o=e.hostDirectiveInputs?.[i];let a=!1;if(o)for(let e=0;e<o.length;e+=2){const i=o[e];ngDevMode&&Av(n,i);const s=o[e+1];UA(t.data[i],n[i],s,r),a=!0}if(s)for(const e of s){ngDevMode&&Av(n,e);const s=n[e];UA(t.data[e],s,i,r),a=!0}return a}function xM(e,t){ngDevMode&&vv(Lw(e),!0,"Should be run in creation mode");const n=Pw(t,e),i=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[0];null!==r&&null===n[6]&&(n[6]=RT(r,n[9])),mk(18),kM(i,n,n[8]),mk(19,n[8])}function kM(e,t,n){ngDevMode&&vv(Lw(t),!0,"Should be run in creation mode"),ngDevMode&&Mv(kM.name),L_(t);try{const i=e.viewQuery;null!==i&&dE(1,i,n);const r=e.template;
1null!==r&&nM(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&uE(e,t),e.staticViewQueries&&dE(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)xM(e,t[n])}(t,s)}catch(t){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),t}finally{t[2]&=-5,V_()}}function CM(e,t,n,i){const r=dg(null);try{const r=t.tView;ngDevMode&&Tv(r,"TView must be defined for a template node."),ngDevMode&&rw(t,e);const s=RA(e,r,n,4096&e[2]?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),o=e[t.index];ngDevMode&&cw(o),s[16]=o;const a=e[18];return null!==a&&(s[18]=a.createEmbeddedView(r)),kM(r,s,n),s}finally{dg(r)}}function SM(e,t){return!t||null===t.firstChild||DC(e)}const TM=!1,EM=new $v(ngDevMode?"exhaustive checkNoChanges":"");function IM(e,t,n,i,r=!1){for(;null!==n;){if(128===n.type){n=r?n.projectionNext:n.next;continue}ngDevMode&&Ik(n,63);const s=t[n.index];null!==s&&i.push(Tw(s)),Kb(s)&&AM(s,i);const o=n.type;if(8&o)IM(e,t,n.child,i);else if(32&o){const e=WA(n,t);let r;for(;r=e();)i.push(r)}else if(16&o){const e=JD(t,n);if(Array.isArray(e))i.push(...e);else{const n=qw(t[15]);ngDevMode&&vw(n),IM(n[1],n,e,i,!0)}}n=r?n.projectionNext:n.next}return i}function AM(e,t){for(let n=10;n<e.length;n++){const i=e[n],r=i[1].firstChild;null!==r&&IM(i[1],i,r,t)}e[7]!==e[0]&&t.push(e[7])}function DM(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let MM=[];const OM={...pg,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Hw(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},PM={...pg,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=qw(e.lView);for(;t&&!LM(t[1]);)t=qw(t);t&&Fw(t)},consumerOnSignalRead(){this.lView[24]=this}};function LM(e){return 2!==e.type}function NM(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const t of e[23])t.dirty&&(n=!0,null===t.zone||Zone.current===t.zone?t.run():t.zone.run(()=>t.run()));t=n&&!!(8192&e[2])}}const RM=100;function BM(e,t=0){const n=e[10].rendererFactory,i=!!ngDevMode&&g_();i||n.begin?.();try{!function(e,t){const n=b_();try{if(w_(!0),zM(e,t),ngDevMode&&v_())return;let n=0;for(;$w(e);){if(n===RM)throw new ev(103,ngDevMode&&"Infinite change detection while trying to refresh views. There may be components which each cause the other to require a refresh, causing an infinite loop.");n++,zM(e,1)}}finally{w_(n)}}(e,t)}finally{i||n.end?.()}}function FM(e,t){y_(t?Yw.Exhaustive:Yw.OnlyDirtyViews);try{BM(e)}finally{y_(Yw.Off)}}function VM(e,t,n,i){if(ngDevMode&&vv(Lw(t),!1,"Should be run in update mode"),iw(t))return;const r=t[2],s=ngDevMode&&g_(),o=ngDevMode&&v_();L_(t);let a=!0,l=null,c=null;s||(LM(e)?(c=function(e){return e[24]??function(e){const t=MM.pop()??Object.create(OM);return t.lView=e,t}(e)}(t),l=wg(c)):null===hg()?(a=!1,c=function(e){const t=e[24]??Object.create(PM);return t.lView=e,t}(t),l=wg(c)):t[24]&&(kg(t[24]),t[24]=null));try{Bw(t),k_(e.bindingStartIndex),null!==n&&nM(e,t,n,2,i);const a=!(3&~r);if(!s)if(a){const n=e.preOrderCheckHooks;null!==n&&vk(t,n,null)}else{const n=e.preOrderHooks;null!==n&&yk(t,n,0,null),bk(t,0)}if(o||function(e){for(let t=XC(e);null!==t;t=QC(t)){if(!(2&t[2]))continue;const e=t[9];ngDevMode&&Tv(e,"Transplanted View flags set but missing MOVED_VIEWS");for(let t=0;t<e.length;t++)Fw(e[t])}}(t),NM(t),$M(t,0),null!==e.contentQueries&&uE(e,t),!s)if(a){const n=e.contentCheckHooks;null!==n&&vk(t,n)}else{const n=e.contentHooks;null!==n&&yk(t,n,1),bk(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const i=n[e];if(i<0)j_(~i);else{const r=i,s=n[++e],o=n[++e];E_(s,r);const a=t[r];mk(24,a),o(2,a),mk(25,a)}}}finally{j_(-1)}}(e,t);const l=e.components;null!==l&&UM(t,l,0);const c=e.viewQuery;if(null!==c&&dE(2,c,i),!s)if(a){const n=e.viewCheckHooks;null!==n&&vk(t,n)}else{const n=e.viewHooks;null!==n&&yk(t,n,2),bk(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const e of t[22])e();t[22]=null}s||(DM(t),t[2]&=-73)}catch(e){throw s||Hw(t),e}finally{null!==c&&(_g(c,l),a&&(u=c).lView[24]!==u&&(u.lView=null,MM.push(u))),V_()}var u}function $M(e,t){for(let n=XC(e);null!==n;n=QC(n))for(let e=10;e<n.length;e++)HM(n[e],t)}function jM(e,t,n){ngDevMode&&vv(Lw(e),!1,"Should be run in update mode"),mk(18);const i=Pw(t,e);HM(i,n),mk(19,i[8])}function HM(e,t){Nw(e)&&zM(e,t)}function zM(e,t){const n=ngDevMode&&g_(),i=e[1],r=e[2],s=e[24];let o=!!(0===t&&16&r);
1if(o||=!(!(64&r&&0===t)||n),o||=!!(1024&r),o||=!(!s?.dirty||!xg(s)),o||=!(!ngDevMode||!v_()),s&&(s.dirty=!1),e[2]&=-9217,o)VM(i,e,i.template,e[8]);else if(8192&r){const t=dg(null);try{n||NM(e),$M(e,1);const t=i.components;null!==t&&UM(e,t,1),n||DM(e)}finally{dg(t)}}}function UM(e,t,n){for(let i=0;i<t.length;i++)jM(e,t[i],n)}function qM(e,t){const n=b_()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const t=qw(e);if(tw(e)&&!t)return e;e=t}return null}function WM(e,t,n,i){ngDevMode&&dw(t);const r=[e,!0,0,t,null,i,null,n,null,null];return ngDevMode&&vv(r.length,10,"Should allocate correct number of slots for LContainer header."),r}function GM(e,t){const n=10+t;if(n<e.length){const t=e[n];return ngDevMode&&dw(t),t}}function ZM(e,t,n,i=!0){const r=t[1];if(function(e,t,n,i){ngDevMode&&dw(t),ngDevMode&&cw(n);const r=10+i,s=n.length;i>0&&(n[r-1][4]=t),i<s-10?(t[4]=n[r],Fy(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[16];null!==o&&n!==o&&JM(o,t);const a=t[18];null!==a&&a.insertView(e),jw(t),t[2]|=128}(r,t,e,n),i){const i=XD(n,e),s=t[11],o=s.parentNode(e[7]);null!==o&&function(e,t,n,i,r,s){i[0]=r,i[5]=t,eM(e,i,n,1,r,s)}(r,e[5],s,t,o,i)}const s=t[6];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function YM(e,t){const n=KM(e,t);return void 0!==n&&BD(n[1],n),n}function KM(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[16];null!==r&&r!==e&&RD(r,i),t>0&&(e[n-1][4]=i[4]);const s=Vy(e,10+t);LD(i[1],i);const o=s[18];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function JM(e,t){ngDevMode&&Tv(t,"LView required"),ngDevMode&&cw(e);const n=e[9],i=t[3];if(ngDevMode&&Tv(i,"missing parent"),Yb(i))e[2]|=2;else{const n=i[3][15];ngDevMode&&Tv(n,"Missing insertedComponentLView");const r=t[15];ngDevMode&&Tv(r,"Missing declaredComponentLView"),r!==n&&(e[2]|=2)}null===n?e[9]=[t]:n.push(t)}class XM{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const e=this._lView,t=e[1];return IM(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[8]}set context(e){ngDevMode&&console.warn("Angular: Replacing the `context` object of an `EmbeddedViewRef` is deprecated."),this._lView[8]=e}get destroyed(){return iw(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(Kb(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(ngDevMode&&vv(n,e.indexOf(this._lView)-10,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),KM(e,n),Vy(t,n))}this._attachedToViewContainer=!1}BD(this._lView[1],this._lView)}onDestroy(e){zw(this._lView,e)}markForCheck(){qM(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){jw(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,BM(this._lView)}checkNoChanges(){if(ngDevMode){try{this.exhaustive??=this._lView[9].get(EM,TM)}catch{this.exhaustive=TM}FM(this._lView,this.exhaustive)}}attachToViewContainerRef(){if(this._appRef)throw new ev(902,ngDevMode&&"This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=tw(this._lView),t=this._lView[16];null===t||e||RD(t,this._lView),ND(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new ev(902,ngDevMode&&"This view is already attached to a ViewContainer!");this._appRef=e;const t=tw(this._lView),n=this._lView[16];null===n||t||JM(n,this._lView),jw(this._lView)}}function QM(e){return $w(e._lView)||!!(64&e._lView[2])}function eO(e){Fw(e._lView)}class tO{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nO;constructor(e,t,n){this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){const i=CM(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new XM(i)}}function nO(){return iO(c_(),s_())}function iO(e,t){return 4&e.type?(ngDevMode&&Tv(e.tView,"TView must be allocated"),new tO(t,e,_C(e,t))):null}const rO="<-- AT THIS LOCATION";function sO(e,t,n,i,r,s=!1){if(!e||e.nodeType!==t||e.nodeType===Node.ELEMENT_NODE&&e.tagName.toLowerCase()!==n?.toLowerCase()){let o=`During hydration Angular expected ${mO(t,n,null)} but `;const a=SE(i),l=a?.type?.name,c=pO(i,r,s),u=`Angular expected this DOM:\n\n${c}\n\n`;let d="";const h=Tw(i[0]);if(e){o+=`found ${mO(e.nodeType,e.tagName??null,e.textContent??null)}.\n\n`;const t=fO(e);d=`Actual DOM is:\n\n${t}\n\n`,zT(h,c,t)}else o+="the node was not found.\n\n",zT(h,c);const p=gO(l);throw new ev(-500,o+u+d+"Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n"+p)}}function oO(e){if(aO(e),!e.nextSibling){const t="During hydration Angular expected more sibling nodes to be present.\n\n",n=`Actual DOM is:\n\n${fO(e)}\n\n`,i=t+n+gO();throw zT(e,"",n),new ev(-501,i)}}
1function aO(e,t=null,n=null){if(!e){const e="During hydration, Angular expected an element to be present at this location.\n\n";let i="",r="";throw null!==t&&null!==n&&(i=pO(t,n,!1),r=gO(),zT(Tw(t[0]),i,"")),new ev(-502,`${e}${i}\n\n${r}`)}}function lO(e,t){const n=`During hydration Angular was unable to locate a node using the "${t}" path, starting from the ${hO(e)} node.\n\n`,i=gO();throw zT(e),new ev(-502,n+i)}function cO(e){const t=`${fO(e)}\n\n`;return new ev(-503,"During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via `ViewContainerRef.createComponent` or `createComponent` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using `ngSkipHydration` on the host element of the component.\n\n"+t+"Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n")}const uO=new Set(["ngh","ng-version","ng-server-context"]);function dO(e,t="…"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const n=function(e){const t=[];if(e.attrs)for(let n=0;n<e.attrs.length;){const i=e.attrs[n++];if("number"==typeof i)break;const r=e.attrs[n++];t.push(`${i}="${vO(r)}"`)}return t.join(" ")}(e),i=e.value.toLowerCase();return`<${i}${n?" "+n:""}>${t}</${i}>`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";case 128:return"@let";default:return"<unknown>"}}(e.type)})`}}function hO(e,t="…"){const n=e;switch(n.nodeType){case Node.ELEMENT_NODE:const e=n.tagName.toLowerCase(),i=function(e){const t=[];for(let n=0;n<e.attributes.length;n++){const i=e.attributes[n];uO.has(i.name)||t.push(`${i.name}="${vO(i.value)}"`)}return t.join(" ")}(n);return`<${e}${i?" "+i:""}>${t}</${e}>`;case Node.TEXT_NODE:const r=n.textContent?vO(n.textContent):"";return"#text"+(r?`(${r})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${vO(n.textContent??"")} --\x3e`;default:return`#node(${n.nodeType})`}}function pO(e,t,n){const i="  ";let r="";t.prev?(r+="  …\n",r+=i+dO(t.prev)+"\n"):t.type&&12&t.type&&(r+="  …\n"),n?(r+=i+dO(t)+"\n",r+=i+`\x3c!-- container --\x3e  ${rO}\n`):r+=i+dO(t)+`  ${rO}\n`,r+="  …\n";const s=t.type?HD(e[1],t,e):null;return s&&(r=hO(s,"\n"+r)),r}function fO(e){let t="";const n=e;return n.previousSibling&&(t+="  …\n",t+="  "+hO(n.previousSibling)+"\n"),t+="  "+hO(n)+`  ${rO}\n`,e.nextSibling&&(t+="  …\n"),e.parentNode&&(t=hO(n.parentNode,"\n"+t)),t}function mO(e,t,n){switch(e){case Node.ELEMENT_NODE:return`<${t.toLowerCase()}>`;case Node.TEXT_NODE:return"a text node"+(n?` (with the "${vO(n)}" content)`:"");case Node.COMMENT_NODE:return"a comment node";default:return`#node(nodeType=${e})`}}function gO(e){return`To fix this problem:\n  * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues\n  * check to see if your template has valid HTML structure\n  * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}function vO(e,t=50){return e?(e=function(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}…`:e:""}function yO(e,t,n){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?qD(e,0,n):(ngDevMode&&Av(n,r),Tw(n[r]))}function bO(e,t,n,i,r){const s=t.insertBeforeIndex;if(Array.isArray(s)){ngDevMode&&Iv(i);let o=i,a=null;if(3&t.type||(a=o,o=r),null!==o&&-1===t.componentOffset)for(let t=1;t<s.length;t++)VI(e,o,n[s[t]],a,!1)}}function wO(e,t,n,i,r){ngDevMode&&0!==t&&Cv(t,27,"TNodes can't be in the LView header."),ngDevMode&&function(e){2!==e&&1!==e&&4!==e&&8!==e&&32!==e&&16!==e&&64!==e&&128!==e&&Ev(`Expected TNodeType to have only a single type selected, but got ${Sk(e)}.`)}(n);let s=e.data[t];if(null===s)s=_O(e,t,n,i,r),Zw.lFrame.inI18n&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const o=d_();s.injectorIndex=null===o?-1:o.injectorIndex,ngDevMode&&ow(s,e),ngDevMode&&vv(t,s.index,"Expecting same index")}return h_(s,!0),s}function _O(e,t,n,i,r){const s=u_(),o=p_(),a=o?s:s&&s.parent,l=e.data[t]=function(e,t,n,i,r,s){ngDevMode&&0!==i&&Cv(i,27,"TNodes can't be in the LView header."),ngDevMode&&wv(s,void 0,"'undefined' is not val
1id value for 'attrs'"),ngDevMode&&t&&ow(t,e);let o=t?t.injectorIndex:-1,a=0;e_()&&(a|=128);const l={type:n,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,namespace:W_(),attrs:s,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};return ngDevMode&&Object.seal(l),l}(e,a,n,t,i,r);return function(e,t,n,i){null===e.firstChild&&(e.firstChild=t),null!==n&&(i?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,l,s,o),l}function xO(e,t){if(ngDevMode&&vv(t.insertBeforeIndex,null,"We expect that insertBeforeIndex is not set"),e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];kO(i)||CO(i,t)&&null===SO(i)&&TO(i,t.index)}}function kO(e){return!(64&e.type)}function CO(e,t){return kO(t)||e.index>t.index}function SO(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function TO(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(ZD(yO,bO),e.insertBeforeIndex=t)}function EO(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;!ngDevMode||n.hasOwnProperty("tView")||n.hasOwnProperty("currentCaseLViewIndex")||Ev("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+n);const i=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return ngDevMode&&lw(i),i}function IO(e,t,n){const i=_O(e,n,64,null,null);return xO(t,i),i}function AO(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function DO(e){return e>>>17}function MO(e){return(131070&e)>>>1}function OO(e){return 1&e}function PO(e){return-1===e}function LO(e,t,n){e.index=0;const i=AO(t,n);null!==i?(ngDevMode&&fv(i,0,t.cases.length-1),e.removes=t.remove[i]):e.removes=Gy}function NO(e){if(e.index<e.removes.length){const t=e.removes[e.index++];if(ngDevMode&&pv(t,"Expecting OpCode number"),t>0){const n=e.lView[t];return ngDevMode&&Iv(n),n}{e.stack.push(e.index,e.removes);const n=~t,i=e.lView[1].data[n];return ngDevMode&&lw(i),LO(e,i,e.lView),NO(e)}}return 0===e.stack.length?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),NO(e))}function RO(){const e={stack:[],index:-1};return function(t,n){for(e.lView=n;e.stack.length;)e.stack.pop();return ngDevMode&&rw(t,n),LO(e,t.value,n),NO.bind(null,e)}}const BO=new RegExp(`^(\\d+)*(${PS}|${OS})*(.*)`);function FO(e){return e.index-27}function VO(e,t){return!(144&e.type)&&!!t[e.index]&&$O(Tw(t[e.index]))}function $O(e){return!!e&&!e.isConnected}function jO(e,t){const n=e.i18nNodes;if(n)return n.get(t)}function HO(e,t,n){const i=e.data[HS],r=i?.[n];return r?WO(r,t):null}function zO(e,t,n,i){const r=FO(i);let s=jO(e,r);if(void 0===s){const o=e.data[HS];if(o?.[r])s=WO(o[r],n);else if(t.firstChild===i)s=e.firstChild;else{const t=null===i.prev,r=i.prev??i.parent;if(ngDevMode&&Tv(r,"Unexpected state: current TNode does not have a connection to the previous node or a parent node."),function(e){return!e.prev&&8===e.parent?.type}(i))s=qT(e,FO(i.parent));else{let i=Aw(r,n);if(t)s=i.firstChild;else{const t=FO(r),n=qT(e,t);s=2===r.type&&n?UO(XT(e,t)+1,n):i.nextSibling}}}}return s}function UO(e,t){let n=t;for(let t=0;t<e;t++)ngDevMode&&oO(n),n=n.nextSibling;return n}function qO(e){const t=[];for(let n=0;n<e.length;n+=2){const i=e[n],r=e[n+1];for(let e=0;e<r;e++)t.push(i===LS?"firstChild":"nextSibling")}return t.join(".")}function WO(e,t){const[n,...i]=function(e){const t=e.match(BO),[n,i,r,s]=t,o=i?parseInt(i,10):r,a=[];for(const[e,t,n]of s.matchAll(/(f|n)(\d*)/g)){const e=parseInt(n,10)||1;a.push(t,e)}return[o,...a]}(e);let r;return r=n===OS?t[15][0]:n===PS?hA(t[15][0]):Tw(t[Number(n)+27]),function(e,t){let n=e;for(let i=0;i<t.length;i+=2){const r=t[i],s=t[i+1];for(let i=0;i<s;i++){if(ngDevMode&&!n)throw lO(e,qO(t));switch(r){case LS:n=n.firstChild;break;case NS:n=n.nextSibling}}}if(ngDevMode&&!n)throw lO(e,qO(t));return n}(r,i)}function GO(e,t){if(e===t)return[];if(null==e.parentElement||null==t.parentElement)return null;if(e.parentElement===t.parentElement)return function(e,t){const n=[];let i=null;for(i=e;null!=i&&i!==t;i=i.nextSibling)n.push(NS);return null==i?null:n}(e,t);{const n=t.parentElement,i=GO(e,n),r=GO(n.firstChild,t);return i&&r?[...i,LS,...r]:null}}function ZO(e,t,n){const i=GO(e,t);return null===i?null:function(e,t){const n=[e];for(const e of t){const t=n.length-1;if(t>0&&n[t-1]===e){const e=n[t]||1;n[t]=e+1}else n.push(e,"")}return n.join("")}(n,i)}function YO(e){return e.textContent?.trimStart().startsWith("ngh=")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}let KO=!1,JO=()=>{};function XO(e){KO=e}function QO(){return KO}function eP(e,t,n){if(!n.isI18nHydrationEnabled)return null;const i=e[1],r=i.data[t];if(!r||!r.ast)return null;const s=i.data[r.parentTNodeIndex];if(s&&OC(s))return null;const o={caseQueue:[],disconnectedNodes:new Set,disjointNodes:new Set};return tP(e,o,n,r.ast),0===o.caseQueue.length&&0===o.disconnectedNodes.size&&0===o.disjointNodes.size?null:o}function tP(e,t,n,i){let r=null;for(const s of i){const i=iP(e,t,n,s);i&&(nP(r,i)&&t.disjointNodes.add(s.index-27),r=i)}return r}function nP(e,t){return e&&e.nextSibling!==t}function iP(e,t,n,i){const r=Tw(e[i.index]);if(!r||$O(r))return t.disconnectedNodes.add(i.index-27),null;const s=r;switch(i.kind){case 0:nE(n,s);break;case 1:case 2:tP(e,t,n,i.children);break;case 3:{const r=e[i.currentCaseLViewIndex];if(null!=r){const s=r<0?~r:r;t.caseQueue.push(s),tP(e,t,n,i.cases[s])}break}}return function(e,t){const n=e[1].data[t.index];if(Tk(n))return KD(e,n);if(3===t.kind){const i=function(e,t){const n={stack:[],index:-1,lView:t};return ngDevMode&&lw(e),LO(n,e,t),NO.bind(null,n)}(n,e);return i()??Tw(e[t.index])}return Tw(e[t.index])??null}(e,i)}function rP(e,t){e.currentNode=t}function sP(e,t,n){const i=n.index-27,{disconnectedNodes:r}=e,s=t.currentNode;return t.isConnected?(e.i18nNodes.set(i,s),r.delete(i)):r.add(i),s}function oP(e,t){let n=e.currentNode;for(let e=0;e<t&&n;e++)n=n?.nextSibling??null;return n}function aP(e,t){return{currentNode:t,isConnected:e.isConnected}}function lP(e,t,n,i){const r=e[6];if(!r)return;if(!QO()||n&&(OC(n)||eE(r,n.index-27)))return;const s=e[1],o=s.data[t];ngDevMode&&Tv(o,"Expected i18n data to be present in a given TView slot during hydration");const a=function(){if(PO(i)){ngDevMode&&Tv(n,"Expected parent TNode while hydrating i18n root");const t=zO(r,s,e,n);return 8&n.type?t:t.firstChild}return r?.firstChild}();ngDevMode&&Tv(a,"Expected root i18n node during hydration");const l=QT(r)??new Set,c=r.i18nNodes??=new Map,u=r.data[US]?.[t-27]??[],d=r.dehydratedIcuData??=new Map;cP({hydrationInfo:r,lView:e,i18nNodes:c,disconnectedNodes:l,caseQueue:u,dehydratedIcuData:d},{currentNode:a,isConnected:!0},o.ast),r.disconnectedNodes=0===l.size?null:l}function cP(e,t,n){if(Array.isArray(n)){let i=t;for(const r of n){const n=HO(e.hydrationInfo,e.lView,r.index-27);n&&(i=aP(t,n)),cP(e,i,r)}}else{if(e.disconnectedNodes.has(n.index-27))return;switch(n.kind){case 0:{const i=sP(e,t,n);rP(t,i?.nextSibling??null);break}case 1:{cP(e,aP(t,t.currentNode?.firstChild??null),n.children);const i=sP(e,t,n);rP(t,i?.nextSibling??null);break}case 2:{const i=n.index-27,{hydrationInfo:r}=e,s=KT(r,i);switch(n.type){case 0:{const o=sP(e,t,n);!function(e,t){return void 0!==e.data[RS]?.[t]}
1(r,i)?(cP(e,aP(t,t.currentNode?.firstChild??null),n.children),rP(t,o?.nextSibling??null),null!==s&&rP(t,oP(t,s+1))):(cP(e,t,n.children),rP(t,oP(t,1)));break}case 1:ngDevMode&&yv(s,null,"Expected a container size while hydrating i18n subtemplate"),sP(e,t,n),rP(t,oP(t,s+1))}break}case 3:{const i=t.isConnected?e.caseQueue.shift():null,r={currentNode:null,isConnected:!1};for(let s=0;s<n.cases.length;s++)cP(e,s===i?t:r,n.cases[s]);null!==i&&e.dehydratedIcuData.set(n.index,{case:i,node:n});const s=sP(e,t,n);rP(t,s?.nextSibling??null);break}}}}let uP=()=>{};function dP(e,t,n){const i=e[6]?.dehydratedIcuData;if(i){const e=i.get(t);e?.case===n&&i.delete(t)}}function hP(e,t,n){for(const i of n.node.cases[n.case]){const n=t.get(i.index-27);n&&HI(e,n,!1)}}function pP(e){const t=e[6]??[],n=e[3][11],i=[];for(const e of t)void 0!==e.data[qS]?i.push(e):(mP(e,n),ngDevMode&&ngDevMode.dehydratedViewsRemoved++);e[6]=i}function fP(e){const{lContainer:t}=e,n=t[6];if(null===n)return;const i=t[3][11];for(const e of n)mP(e,i),ngDevMode&&ngDevMode.dehydratedViewsRemoved++}function mP(e,t){let n=0,i=e.firstChild;if(i){const r=e.data[$S];for(;n<r;){ngDevMode&&oO(i);const e=i.nextSibling;HI(t,i,!1),i=e,n++}}}function gP(e){pP(e);const t=e[0];Yb(t)&&vP(t);for(let t=10;t<e.length;t++)vP(e[t])}function vP(e){!function(e){const t=e[6];if(t){const{i18nNodes:n,dehydratedIcuData:i}=t;if(n&&i){const t=e[11];for(const e of i.values())hP(t,n,e)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[1];for(let n=27;n<t.bindingStartIndex;n++)Kb(e[n])?gP(e[n]):Yb(e[n])&&vP(e[n])}function yP(e){const t=e._views;for(const e of t){const t=BT(e);null!==t&&null!==t[0]&&(Yb(t)?vP(t):gP(t),ngDevMode&&ngDevMode.dehydratedViewsCleanupRuns++)}}let bP=()=>null,wP=()=>null;function _P(e,t){return SP(e,t)?e[6].shift():(pP(e),null)}function xP(e,t){return bP(e,t)}function kP(e,t,n){if(null===t.tView.ssrId)return null;const i=xP(e,t.tView.ssrId);return n[1].firstUpdatePass&&null===i&&function(e,t){let n=t;for(;n;){if(TP(e,n))return;if(!(256&~n.flags))break;n=n.prev}for(n=t.next;n&&!(512&~n.flags);){if(TP(e,n))return;n=n.next}}(n,t),i}function CP(e,t,n){return wP(e,t,n)}function SP(e,t){const n=e[6];return!(!t||null===n||0===n.length)&&n[0].data[jS]===t}function TP(e,t){const n=t.tView?.ssrId;if(null==n)return!1;const i=e[t.index];return!(!Kb(i)||!SP(i,n)||(pP(i),0))}let EP=class{},IP=class{};class AP{resolveComponentFactory(e){throw new ev(917,"undefined"!=typeof ngDevMode&&ngDevMode&&`No component factory found for ${ov(e)}.`)}}let DP=class{static NULL=new AP};class MP{}class OP{destroyNode=null;static __NG_ELEMENT_ID__=()=>function(){const e=s_(),t=Pw(c_().index,e);return(Yb(t)?t:e)[11]}()}class PP{static"ɵprov"=Ov({token:PP,providedIn:"root",factory:()=>null})}function LP(e){return void 0!==e.ngModule}function NP(e){return!!Xy(e)}function RP(e){return!!ib(e)}function BP(e){return!!nb(e)}function FP(e){return!!eb(e)}function VP(e,t){if(hv(e)&&!(e=dv(e)))throw new Error(`Expected forwardRef function, imported from "${cy(t)}", to return a standalone entity or NgModule but got "${cy(e)||e}".`);if(null==Xy(e)){const i=eb(e)||nb(e)||ib(e);if(null==i)throw LP(e)?new Error(`A module with providers was imported from "${cy(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${cy(e)}" type, imported from "${cy(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${cy(e)}" ${n=e,eb(n)?"component":nb(n)?"directive":ib(n)?"pipe":"type"}, imported from "${cy(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}var n}function $P(e,t){for(const n of e)t.add(n)}const jP=new class{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const e of this.ngModulesWithSomeUnresolvedDecls){const t=Xy(e);if(t?.declarations)for(const n of fA(t.declarations))FP(n)&&this.ownerNgModule.set(n,e)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(e,t){this.resolveNgModulesDecls();const n=eb(e);if(null===n)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${e}`);if(n.standalone){const n=this.getStandaloneComponentScope(e,t);return n.compilation.isPoisoned?{dependencies:[]}
1:{dependencies:[...n.compilation.directives,...n.compilation.pipes,...n.compilation.ngModules]}}{if(!this.ownerNgModule.has(e))return{dependencies:[]};const t=this.getNgModuleScope(this.ownerNgModule.get(e));return t.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...t.compilation.directives,...t.compilation.pipes]}}}registerNgModule(e,t){if(!NP(e))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${e}`);this.ngModulesWithSomeUnresolvedDecls.add(e)}clearScopeCacheFor(e){this.ngModulesScopeCache.delete(e),this.standaloneComponentsScopeCache.delete(e)}getNgModuleScope(e){if(this.ngModulesScopeCache.has(e))return this.ngModulesScopeCache.get(e);const t=this.computeNgModuleScope(e);return this.ngModulesScopeCache.set(e,t),t}computeNgModuleScope(e){const t=Qy(e),n={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const e of fA(t.imports))if(NP(e)){const t=this.getNgModuleScope(e);$P(t.exported.directives,n.compilation.directives),$P(t.exported.pipes,n.compilation.pipes)}else{if(!rb(e)){n.compilation.isPoisoned=!0;break}if(BP(e)||FP(e))n.compilation.directives.add(e);else{if(!RP(e))throw new ev(980,"The standalone imported type is neither a component nor a directive nor a pipe");n.compilation.pipes.add(e)}}if(!n.compilation.isPoisoned)for(const e of fA(t.declarations)){if(NP(e)||rb(e)){n.compilation.isPoisoned=!0;break}RP(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}for(const e of fA(t.exports))if(NP(e)){const t=this.getNgModuleScope(e);$P(t.exported.directives,n.exported.directives),$P(t.exported.pipes,n.exported.pipes),$P(t.exported.directives,n.compilation.directives),$P(t.exported.pipes,n.compilation.pipes)}else RP(e)?n.exported.pipes.add(e):n.exported.directives.add(e);return n}getStandaloneComponentScope(e,t){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);const n=this.computeStandaloneComponentScope(e,t);return this.standaloneComponentsScopeCache.set(e,n),n}computeStandaloneComponentScope(e,t){const n={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}};for(const i of Ry(t??[])){const t=dv(i);try{VP(t,e)}catch(e){return n.compilation.isPoisoned=!0,n}if(NP(t)){n.compilation.ngModules.add(t);const e=this.getNgModuleScope(t);if(e.exported.isPoisoned)return n.compilation.isPoisoned=!0,n;$P(e.exported.directives,n.compilation.directives),$P(e.exported.pipes,n.compilation.pipes)}else if(RP(t))n.compilation.pipes.add(t);else{if(!BP(t)&&!FP(t))return n.compilation.isPoisoned=!0,n;n.compilation.directives.add(t)}}return n}isOrphanComponent(e){const t=eb(e);return!(!t||t.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(e)))}},HP={};class zP{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){const i=this.injector.get(e,HP,n);return i!==HP||t===HP?i:this.parentInjector.get(e,t,n)}}function UP(e,t,n){ngDevMode&&hw(o_(),"Expecting to be called in first template pass only");let i=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let e=0;e<t.length;e++){const n=t[e];"number"==typeof n?s=n:1==s?r=av(r,n):2==s&&(i=av(i,n+": "+t[++e]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function qP(e,t=0){const n=s_();if(null===n)return ngDevMode&&function(e){ngDevMode&&yv(wy,e,"Calling ɵɵinject would cause infinite recursion")}(qP),Iy(e,t);const i=Yk(c_(),n,dv(e),t);return ngDevMode&&Jv(e,i,t),i}function WP(){const e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)}function GP(e,t,n,i,r){ngDevMode&&hw(e);const s=null===i?null:{"":-1},o=r(e,n);if(null!==o){let i=o,r=null,a=null;for(const e of o)if(null!==e.resolveHostDirectives){[i,r,a]=e.resolveHostDirectives(o);break}ngDevMode&&function(e){if(e.length<2)return;const t=new Set;for(const n of e){if(t.has(n))throw new ev(309,`Directive ${n.type.name} matches multiple times on the same element. Directives can only match an element once.`);t.add(n)}}(i),function(e,t,n,i,r,s,o){ngDevMode&&hw(e);const a=i.length;let l=!1;for(let r=0;r<a;r++){const s=i[r];!l&&ew(s)&&(l=!0,ZP(e,n,r)),Wk(Hk(n,t),e,s.type)}!function(e,t,n){ngDevMode&&yv(n,e.directiveEnd-e.directiveStart,"Reached the max number of directives"),e.flags|=1,e.directiveStart=t,e.directiveEnd=t
1+n,e.providerIndexes=t}(n,e.data.length,a);for(let e=0;e<a;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}let c=!1,u=!1,d=FA(e,t,a,null);ngDevMode&&bv(d,n.directiveStart,"TNode.directiveStart should point to just allocated space"),a>0&&(n.directiveToIndex=new Map);for(let l=0;l<a;l++){const a=i[l];if(n.mergedAttrs=Mk(n.mergedAttrs,a.hostAttrs),QP(e,n,t,d,a),eL(d,a,r),null!==o&&o.has(a)){const[e,t]=o.get(a);n.directiveToIndex.set(a.type,[d,e+n.directiveStart,t+n.directiveStart])}else null!==s&&s.has(a)||n.directiveToIndex.set(a.type,d);null!==a.contentQueries&&(n.flags|=4),null===a.hostBindings&&null===a.hostAttrs&&0===a.hostVars||(n.flags|=64);const h=a.type.prototype;!c&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),u||!h.ngOnChanges&&!h.ngDoCheck||((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}!function(e,t,n){ngDevMode&&hw(e);for(let i=t.directiveStart;i<t.directiveEnd;i++){const r=e.data[i];if(null!==n&&n.has(r)){const e=n.get(r);KP(0,t,e,i),KP(1,t,e,i),XP(t,i,!0)}else YP(0,t,r,i),YP(1,t,r,i),XP(t,i,!1)}}(e,n,s)}(e,t,n,i,s,r,a)}null!==s&&null!==i&&function(e,t,n){const i=e.localNames=[];for(let e=0;e<t.length;e+=2){const r=n[t[e+1]];if(null==r)throw new ev(-301,ngDevMode&&`Export of name '${t[e+1]}' not found!`);i.push(t[e],r)}}(n,i,s)}function ZP(e,t,n){ngDevMode&&hw(e),ngDevMode&&kv(n,-1,"componentOffset must be great than -1"),t.componentOffset=n,(e.components??=[]).push(t.index)}function YP(e,t,n,i){const r=0===e?n.inputs:n.outputs;for(const n in r)if(r.hasOwnProperty(n)){let r;r=0===e?t.inputs??={}:t.outputs??={},r[n]??=[],r[n].push(i),JP(t,n)}}function KP(e,t,n,i){const r=0===e?n.inputs:n.outputs;for(const n in r)if(r.hasOwnProperty(n)){const s=r[n];let o;o=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},o[s]??=[],o[s].push(i,n),JP(t,s)}}function JP(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function XP(e,t,n){const{attrs:i,inputs:r,hostDirectiveInputs:s}=e;if(null===i||!n&&null===r||n&&null===s||kA(e))return e.initialInputs??=[],void e.initialInputs.push(null);let o=null,a=0;for(;a<i.length;){const e=i[a];if(0!==e)if(5!==e){if("number"==typeof e)break;if(!n&&r.hasOwnProperty(e)){const n=r[e];for(const r of n)if(r===t){o??=[],o.push(e,i[a+1]);break}}else if(n&&s.hasOwnProperty(e)){const n=s[e];for(let e=0;e<n.length;e+=2)if(n[e]===t){o??=[],o.push(n[e+1],i[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(o)}function QP(e,t,n,i,r){ngDevMode&&Cv(i,27,"Must be in Expando section"),e.data[i]=r;const s=r.factory||(r.factory=Ny(r.type,!0)),o=new Ck(s,ew(r),qP,ngDevMode?r.type.name:null);e.blueprint[i]=o,n[i]=o,function(e,t,n,i,r){ngDevMode&&hw(e);const s=r.hostBindings;if(s){let r=e.hostBindingOpCodes;null===r&&(r=e.hostBindingOpCodes=[]);const o=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(r)!=o&&r.push(o),r.push(n,i,s)}}(e,t,i,FA(e,n,r.hostVars,PA),r)}
1function eL(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;ew(t)&&(n[""]=e)}}function tL(e,t,n,i,r,s,o,a){const l=t[1];ngDevMode&&hw(l);const c=l.consts,u=wO(l,e,n,i,Rw(c,o));return s&&GP(l,t,u,Rw(c,a),r),u.mergedAttrs=Mk(u.mergedAttrs,u.attrs),null!==u.attrs&&UP(u,u.attrs,!1),null!==u.mergedAttrs&&UP(u,u.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,u),u}function nL(e,t){ngDevMode&&hw(e),gk(e,t),Jb(t)&&e.queries.elementEnd(t)}function iL(e,t,n,i,r,s){ngDevMode&&hw(t);const o=t.consts,a=wO(t,e,n,i,Rw(o,r));if(a.mergedAttrs=Mk(a.mergedAttrs,a.attrs),null!=s){const e=Rw(o,s);a.localNames=[];for(let t=0;t<e.length;t+=2)a.localNames.push(e[t],-1)}return null!==a.attrs&&UP(a,a.attrs,!1),null!==a.mergedAttrs&&UP(a,a.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,a),a}function rL(e){return!!sL(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function sL(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function oL(e,t){const n=rL(e),i=rL(t);return n&&i?function(e,t,n){const i=e[Symbol.iterator](),r=t[Symbol.iterator]();for(;;){const e=i.next(),t=r.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,oL):!(n||!e||"object"!=typeof e&&"function"!=typeof e||i||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function aL(e,t,n){return e[t]=n}function lL(e,t){return ngDevMode&&Av(e,t),ngDevMode&&wv(e[t],PA,"Stored value should never be NO_CHANGE."),e[t]}function cL(e,t,n){if(ngDevMode&&_v(t,e.length,"Slot should have been initialized to NO_CHANGE"),n===PA)return!1;const i=e[t];if(Object.is(i,n))return!1;if(ngDevMode&&g_()){const r=i!==PA?i:void 0;if(!oL(r,n)){const s=function(e,t,n,i){const r=e[1].data,s=r[t];if("string"==typeof s)return s.indexOf(pA)>-1?bA(e,t,t,s,i):{propName:s,oldValue:n,newValue:i};if(null===s){let n=t-1;for(;"string"!=typeof r[n]&&null===r[n+1];)n--;const s=r[n];if("string"==typeof s){const r=s.match(new RegExp(pA,"g"));if(r&&r.length-1>t-n)return bA(e,n,t,s,i)}}return{propName:void 0,oldValue:n,newValue:i}}(e,t,r,n);!function(e,t,n,i,r){const s=SE(r),o=s?.type?.name;let a=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${i?` for '${i}'`:""}: '${yA(t)}'. Current value: '${yA(n)}'.${o?` Expression location: ${o} component`:""}`;throw e&&(a+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?"),new ev(-100,a)}(i===PA,s.oldValue,s.newValue,s.propName,e)}return!1}return e[t]=n,!0}function uL(e,t,n,i){const r=cL(e,t,n);return cL(e,t+1,i)||r}function dL(e,t,n,i,r){const s=uL(e,t,n,i);return cL(e,t+2,r)||s}function hL(e,t,n,i,r,s){const o=uL(e,t,n,i);return uL(e,t+2,r,s)||o}function pL(e,t,n){return function i(r){qM(Xb(e)?Pw(e.index,t):t,5);const s=t[8];let o=fL(t,s,n,r),a=i.__ngNextListenerFn__;for(;a;)o=fL(t,s,a,r)&&o,a=a.__ngNextListenerFn__;return o}}function fL(e,t,n,i){const r=dg(null);try{return mk(6,t,n),!1!==n(i)}catch(t){return wM(e,t),!1}finally{mk(7,t,n),dg(r)}}function mL(e,t,n,i,r,s,o,a){ngDevMode&&wv(a,o,"Expected wrapped and original listeners to be different.");const l=Qb(e);let c=!1,u=null;if(!i&&l&&(u=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let e=0;e<r.length-1;e+=2){const s=r[e];if(s===n&&r[e+1]===i){const n=t[7],i=r[e+2];return n&&n.length>i?n[i]:null}"string"==typeof s&&(e+=2)}return null}(t,n,s,e.index)),null!==u)(u.__ngLastListenerFn__||u).__ngNextListenerFn__=o,u.__ngLastListenerFn__=o,c=!0;else{const o=Aw(e,n),l=i?i(o):o;!function(e,t,n,i){kT(e,t,n,i)}(n,l,s,a);const c=r.listen(l,s,a);(function(e){return e.startsWith("animation")||e.startsWith("transition")})(s)||gL(i?t=>i(Tw(t[e.index])):e.index,t,n,s,a,c,!1)}return c}function gL(e,t,n,i,r,s,o){const a=t.firstCreatePass?Gw(t):null,l=Ww(n),c=l.length;l.push(r,s),a&&a.push(i,e,c,(c+1)*(o?-1:1))}function vL(e,t,n,i,r,s){ngDevMode&&Av(t,n);const o=t[n],a=t[1],l=a.data[n].outputs[i],c=o[l];if(ngDevMode&&(null==(u=c)||"function"!=typeof u.subscribe))throw new Error(`@Output ${l} not initialized in '${o.constructor.name}'.`);var u;const d=c.subscribe(s);gL(e.index,a,t,r,s,d,!0)}const yL=Symbol("BINDING"),bL={kind:"input",requiredVars:1},wL={kind:"output",requiredVars:0};function _L(e,t){const n={[yL]:bL,update:()=>function(e,t,n){const i=s_(),r=C_();if(cL(i,r,n)){const s=i[1],o=H_();qM(Pw(o.index,i),1);const a=s.directiveRegistry[e];if(ngDevMode&&!a)throw new ev(315,`Input binding to property "${t}" does not have a target.`);const l=function(e,t,n,i,r,s){let o=null,a=null,l=null,c=!1;if(ngDevMode&&!e.directiveToIndex?.has(i.type))throw new Error(`Node does not have a directive with type ${i.type.name}`);const u=e.directiveToIndex.get(i.type);if("number"==typeof u?o=u:[o,a,l]=u,null!==a&&null!==l&&e.hostDirectiveInputs?.hasOwnProperty(r)){const i=e.hostDirectiveInputs[r];for(let e=0;e<i.length;e+=2){const r=i[e];if(r>=a&&r<=l){ngDevMode&&Av(n,r);const o=t.data[r],a=i[e+1];UA(o,n[r],a,s),c=!0}else if(r>l)break}}return null!==o&&i.inputs.hasOwnProperty(r)&&(ngDevMode&&Av(n,o),UA(i,n[o],r,s),c=!0),c}(o,s,i,a,t,n);if(ngDevMode){if(!l)throw new ev(315,`${cy(a.type)} does not have an input with a public name of "${t}".`);yM(s.data,o,t,r)}}}(n.targetIdx,e,t())};return n}function xL(e,t){const n={[yL]:wL,create:()=>{const i=s_(),r=c_(),s=i[1].directiveRegistry[n.targetIdx];!function(e,t,n,i,r){const s=function(e,t,n,i,r){let s=null,o=null,a=null,l=!1;if(ngDevMode&&!e.directiveToIndex?.has(n.type))throw new Error(`Node does not have a directive with type ${n.type.name}`);const c=e.directiveToIndex.get(n.type);if("number"==typeof c?s=c:[s,o,a]=c,null!==o&&null!==a&&e.hostDirectiveOutputs?.hasOwnProperty(i)){const n=e.hostDirectiveOutputs[i];for(let s=0;s<n.length;s+=2){const c=n[s];if(c>=o&&c<=a)ngDevMode&&Av(t,c),l=!0,vL(e,t,c,n[s+1],i,r);else if(c>a)break}}return n.outputs.hasOwnProperty(i)&&(ngDevMode&&Av(t,s),l=!0,vL(e,t,s,i,i,r)),l}(e,t,i,r,pL(e,t,n));if(!s&&ngDevMode)throw new ev(316,`${cy(i.type)} does not have an output with a public name of "${r}".`)}(r,i,t,s,e)}};return n}function kL(e,t){const n=_L(e,t),i=xL(e+"Change",e=>t.set(e));return ngDevMode&&Sv(n.create,"Unexpected `create` callback in inputBinding"),ngDevMode&&Sv(i.update,"Unexpected `update` callback in outputBinding"),{[yL]:{kind:"twoWay",requiredVars:n[yL].requiredVars+i[yL].requiredVars},set targetIdx(e){n.targetIdx=e,i.targetIdx=e},create:i.create,update:n.update}}class CL extends DP{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){ngDevMode&&function(e,t="Type passed in is not ComponentType, it does not have 'ɵcmp' property."){eb(e)||Ev(t)}(e);const t=eb(e);return new TL(t,this.ngModule)}}function SL(e){return(e.selectors[0][0]||"div").toLowerCase()}class TL extends IP{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function(e){return Object.keys(e).map(t=>{const[n,i,r]=e[t],s={propName:n,templateName:t,isSignal:0!==(i&HA.SignalBased)};return r&&(s.transform=r),s})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=OA(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,i,r,s){mk(22);const o=dg(null);try{const o=this.componentDef;ngDevMode&&function(e){if(("undefined"==typeof ngJitMode||ngJitMode)&&e.debugInfo?.forbidOrphanRendering&&jP.isOrphanComponent(e.type))throw new ev(981,`Orphan component found! Trying to render the component ${function(e){let t=e[ty]||null;return null!==t&&t.debugInfo?(n=t.debugInfo).filePath&&n.lineNumber?`${n.className} (at ${n.filePath}:${n.lineNumber})`:n.className:cy(e);var n}(e.type)} without first loading the NgModule that declares it. It is recommended to make this component standalone in order to avoid this error. If this is not possible now, import the component's NgModule in the appropriate NgModule, or the standalone component in which you are trying to render this component. If this is a lazy import, load the NgModule lazily as well and use its module injector.`)}(o);const a=function(e,t,n,i){const r=e?["ng-version","20.3.28"]:function(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++i]):8===r&&n.push(s);else{if(!TA(r))break;r=s}i++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let s=null,o=null,a=0;if(n)for(const e of n)a+=e[yL].requiredVars,e.create&&(e.targetIdx=0,(s??=[]).push(e)),e.update&&(e.targetIdx=0,(o??=[]).push(e));if(i)for(let e=0;e<i.length;e++){const t=i[e];if("function"!=typeof t)for(const n of t.bindings){a+=n[yL].requiredVars;const t=e+1;n.create&&(n.targetIdx=t,(s??=[]).push(n)),n.update&&(n.targetIdx=t,(o??=[]).push(n))}}const l=[t];if(i)for(const e of i){const t="function"==typeof e?e:e.type,n=ngDevMode?tb(t):nb(t);if(ngDevMode&&!n.standalone)throw new ev(907,`The ${cy(t)} directive must be standalone in order to be applied to a dynamically-created component.`);l.push(n)}const c=LA(0,null,function(e,t){return e||t?n=>
1{if(1&n&&e)for(const t of e)t.create();if(2&n&&t)for(const e of t)e.update()}:null}(s,o),1,a,l,null,null,null,[r],null);return c}(n,o,s,r),l=function(e,t,n){let i=t instanceof Cb?t:t?.injector;return i&&null!==e.getStandaloneInjector&&(i=e.getStandaloneInjector(i)||i),i?new zP(n,i):n}(o,i||this.ngModule,e),c=function(e){const t=e.get(MP,null);if(null===t)throw new ev(407,ngDevMode&&"Angular was not able to inject a renderer (RendererFactory2). Likely this is due to a broken DI hierarchy. Make sure that any injector used to create this component has a correct parent.");const n=e.get(PP,null),i=e.get(gx,null);let r=!1;return("undefined"==typeof ngDevMode||ngDevMode)&&(r=e.get(aA,oA)),{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i,ngReflect:r}}(l),u=c.rendererFactory.createRenderer(null,o),d=n?function(e,t,n,i){const r=i.get(JS,KS)||n===pE.ShadowDom,s=e.selectRootElement(t,r);return function(e){sM(e)}(s),s}(u,n,o.encapsulation,l):function(e,t){const n=SL(e);return FI(t,n,"svg"===n?"svg":"math"===n?"math":null)}(o,u);!function(e){if("script"===e?.toLowerCase())throw new ev(905,ngDevMode&&'"<script>" tag is not allowed as a component host element.')}(d?.tagName);const h=s?.some(EL)||r?.some(e=>"function"!=typeof e&&e.bindings.some(EL)),p=RA(null,a,null,512|BA(o),null,null,c,u,l,null,RT(d,l,!0));p[27]=d,L_(p);let f=null;try{const e=tL(27,p,2,"#host",()=>a.directiveRegistry,!0,0);UI(u,d,e),zC(d,p),iM(a,p,e),hE(a,e,p),nL(a,e),void 0!==t&&function(e,t,n){const i=e.projection=[];for(let e=0;e<t.length;e++){const t=n[e];i.push(null!=t&&t.length?Array.from(t):null)}}(e,this.ngContentSelectors,t),f=Pw(e.index,p),p[8]=f[8],kM(a,p,null)}catch(e){throw null!==f&&BC(f),BC(p),e}finally{mk(23),V_()}return new IL(this.componentType,p,!!h)}finally{dg(o)}}}function EL(e){const t=e[yL].kind;return"input"===t||"twoWay"===t}class IL extends EP{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t,n){super(),this._rootLView=t,this._hasInputBindings=n,this._tNode=Dw(t[1],27),this.location=_C(this._tNode,t),this.instance=Pw(this._tNode.index,t)[8],this.hostView=this.changeDetectorRef=new XM(t,void 0),this.componentType=e}setInput(e,t){if(this._hasInputBindings&&ngDevMode)throw new ev(317,"Cannot call `setInput` on a component that is using the `inputBinding` or `twoWayBinding` functions.");const n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;const i=this._rootLView,r=_M(n,i[1],i,e,t);if(this.previousInputValues.set(e,t),qM(Pw(n.index,i),1),ngDevMode&&!r){let t=`Can't set value of the '${e}' input on the '${cy(this.componentType)}' component. `;t+=`Make sure that the '${e}' property is declared as an input using the input() or model() function or the @Input() decorator.`,CE(t)}}get injector(){return new sC(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class AL{static __NG_ELEMENT_ID__=DL}function DL(){return NL(c_(),s_())}const ML=AL,OL=class extends ML{_lContainer;_hostTNode;_hostLView;constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return _C(this._hostTNode,this._hostLView)}get injector(){return new sC(this._hostTNode,this._hostLView)}get parentInjector(){const e=qk(this._hostTNode,this._hostLView);if(Pk(e)){const t=Nk(e,this._hostLView),n=Lk(e);ngDevMode&&yw(t,n);const i=t[1].data[n+8];return new sC(i,t)}return new sC(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=PL(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){let i,r;"number"==typeof n?i=n:null!=n&&(i=n.index,r=n.injector);const s=xP(this._lContainer,e.ssrId),o=e.createEmbeddedViewImpl(t||{},r,s);return this.insertImpl(o,i,SM(this._hostTNode,s)),o}createComponent(e,t,n,i,r,s,o){const a=e&&!Kx(e);let l;if(a)ngDevMode&&vv("object"!=typeof t,!0,"It looks like Component factory was provided as the first argument and an options object as the second argument. This combination of arguments is incompatible. You can either change the first argument to provide Component type or change the second argument to be a number (representing an index at which to insert the new component's host view into this container)"),l=t;else{ngDevMode&&(Tv(eb(e),"Provided Component class doesn't contain Component definition. Please check whether provided class has @Component decorator."),vv("number"!=typeof t,!0,"It looks like Component type was provided as the first argument and a number (representing an index at which to insert the new component's host view into this container as the second argument. This combination of arguments is incompatible. Please use an object as the second argument instead."));const a=t||{};ngDevMode&&a.environmentInjector&&a.ngModuleRef&&Ev("Cannot pass both environmentInjector and ngModuleRef options to createComponent()."),l=a.index,n=a.injector,i=a.projectableNodes,r=a.environmentInjector||a.ngModuleRef,s=a.directives,o=a.bindings}const c=a?e:new TL(eb(e)),u=n||this.parentInjector;if(!r&&null==c.ngModule){const e=(a?u:this.parentInjector).get(Cb,null);e&&(r=e)}const d=eb(c.componentType??{}),h=xP(this._lContainer,d?.id??null),p=h?.firstChild??null,f=c.create(u,i,p,r,s,o);return this.insertImpl(f.hostView,l,SM(this._hostTNode,h)),f}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){const i=e._lView;if(ngDevMode&&e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(Kb(i[Bb])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=i[3];ngDevMode&&vv(Kb(t),!0,"An attached view should have its PARENT point to a container.");const n=new OL(t,t[5],t[3]);n.detach(n.indexOf(e))}}const r=this._adjustIndex(t),s=this._lContainer;return ZM(s,i,r,n),e.attachToViewContainerRef(),Fy(LL(s),r,e),e}move(e,t){if(ngDevMode&&e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=PL(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=KM(this._lContainer,t);n&&(Vy(LL(this._lContainer),t),BD(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=KM(this._lContainer,t);return n&&null!=Vy(LL(this._lContainer),t)?new XM(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:(ngDevMode&&(kv(e,-1,`ViewRef index must be positive, got ${e}`),_v(e,this.length+1+t,"index")),e)}};function PL(e){return e[8]}function LL(e){return e[8]||(e[8]=[])}function NL(e,t){let n;ngDevMode&&Ik(e,15);const i=t[e.index];return Kb(i)?n=i:(n=WM(i,t,null,e),t[e.index]=n,VA(t,n)),RL(n,t,e,i),new OL(n,e,t)}let RL=VL,BL=()=>!1;function FL(e,t,n){return BL(e,t,n)}function VL(e,t,n,i){if(e[7])return;let r;r=8&n.type?Tw(i):function(e,t){const n=e[11],i=n.createComment(ngDevMode?"container":""),r=Aw(t,e),s=n.parentNode(r);return VI(n,s,i,n.nextSibling(r),!1),i}(t,n),e[7]=r}function $L(e,t,n){if(e[7]&&e[6])return!0;const i=n[6],r=t.index-27;if(!i||MC(t)||eE(i,r))return!1;const s=qT(i,r),o=i.data[FS]?.[r];ngDevMode&&Tv(o,"Unexpected state: no hydration info available for a given TNode, which represents a view container.");const[a,l]=function(e,t){const n=[];for(const i of t)for(let t=0;t<(i[VS]??1);t++){const t={data:i,firstChild:null};i[$S]>0&&(t.firstChild=e,e=UO(i[$S],e)),n.push(t)}return[e,n]}(s,o);return ngDevMode&&(sO(a,Node.COMMENT_NODE,null,n,t,!0),HT(a,!1)),e[7]=a,e[6]=l,!0}function jL(e,t,n,i){BL(e,n,t)||VL(e,t,n,i)}class HL{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new HL(this.queryList)}setDirty(){this.queryList.setDirty()}}class zL{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),r=this.queries[n.indexInDeclarationView];i.push(r.clone())}return new zL(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==nN(e,t).matches&&this.queries[t].setDirty()}}class UL{flags;read;predicate;constructor(e,t,n=null){this.flags=t,this.read=n,this.predicate="string"==typeof e?e.split(",").map(e=>e.trim()):e}}class qL{queries;constructor(e=[]){this.queries=e}elementStart(e,t){ngDevMode&&hw(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const i=null!==t?t.length:0,r=this.getByIndex(n).embeddedTView(e,i);r&&(r.indexInDeclarationView=n,null!==t?t.push(r):t=[r])}return null!==t?new qL(t):null}template(e,t){ngDevMode&&hw(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return ngDevMode&&Av(this.queries,e),this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class WL{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,t=-1){this.metadata=e,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new WL(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}
1matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const r=n[i];this.matchTNodeWithReadOption(e,t,GL(t,r)),this.matchTNodeWithReadOption(e,t,Xk(t,e,r,!1,!1))}else n===tO?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Xk(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===xC||i===AL||i===tO&&4&t.type)this.addMatch(t.index,-2);else{const n=Xk(t,e,i,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function GL(e,t){const n=e.localNames;if(null!==n)for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1];return null}function ZL(e,t,n,i){return-1===n?function(e,t){return 11&e.type?_C(e,t):4&e.type?iO(e,t):null}(t,e):-2===n?function(e,t,n){return n===xC?_C(t,e):n===tO?iO(t,e):n===AL?(ngDevMode&&Ik(t,15),NL(t,e)):void(ngDevMode&&Ev(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${ov(n)}.`))}(e,t,i):eC(e,e[1],n,t)}function YL(e,t,n,i){const r=t[18].queries[i];if(null===r.matches){const i=e.data,s=n.matches,o=[];for(let e=0;null!==s&&e<s.length;e+=2){const r=s[e];if(r<0)o.push(null);else{ngDevMode&&Av(i,r);const a=i[r];o.push(ZL(t,a,s[e+1],n.metadata.read))}}r.matches=o}return r.matches}function KL(e,t,n,i){const r=e.queries.getByIndex(n),s=r.matches;if(null!==s){const o=YL(e,t,r,n);for(let e=0;e<s.length;e+=2){const n=s[e];if(n>0)i.push(o[e/2]);else{const r=s[e+1],o=t[-n];ngDevMode&&cw(o);for(let e=10;e<o.length;e++){const t=o[e];t[16]===t[3]&&KL(t[1],t,r,i)}if(null!==o[9]){const e=o[9];for(let t=0;t<e.length;t++){const n=e[t];KL(n[1],n,r,i)}}}}}return i}function JL(e,t){return ngDevMode&&Tv(e[18],"LQueries should be defined when trying to load a query"),ngDevMode&&Av(e[18].queries,t),e[18].queries[t].queryList}function XL(e,t,n){const i=new SC(!(4&~n));return function(e,t,n,i){const r=Ww(t);ngDevMode&&Tv(n,"Cleanup context is mandatory when registering framework-level destroy hooks"),r.push(n),e.firstCreatePass?Gw(e).push(i,r.length-1):ngDevMode&&Object.freeze(Gw(e))}(e,t,i,i.destroy),(t[18]??=new zL).queries.push(new HL(i))-1}function QL(e,t,n){ngDevMode&&pv(t,"Expecting flags");const i=o_();return i.firstCreatePass&&(tN(i,new UL(e,t,n),-1),2&~t||(i.staticViewQueries=!0)),XL(i,s_(),t)}function eN(e,t,n,i){ngDevMode&&pv(n,"Expecting flags");const r=o_();if(r.firstCreatePass){const s=c_();tN(r,new UL(t,n,i),s.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2&~n||(r.staticContentQueries=!0)}return XL(r,s_(),n)}function tN(e,t,n){null===e.queries&&(e.queries=new qL),e.queries.track(new WL(t,n))}function nN(e,t){return ngDevMode&&Tv(e.queries,"TQueries must be defined to retrieve a TQuery"),e.queries.getByIndex(t)}function iN(e,t){const n=e[1],i=nN(n,t);return i.crossesNgTemplate?KL(n,e,t,[]):YL(n,e,i,t)}function rN(e,t,n){let i;const r=Ag(()=>{i._dirtyCounter();const n=function(e,t){const n=e._lView,i=e._queryIndex;if(void 0===n||void 0===i||4&n[2])return t?void 0:Gy;const r=JL(n,i),s=iN(n,i);return r.reset(s,kC),t?r.first:r._changesDetected||void 0===e._flatValue?e._flatValue=r.toArray():e._flatValue}(i,e);if(t&&void 0===n)throw new ev(-951,ngDevMode&&"Child query result is required but no value is available.");return n});return i=r[ug],i._dirtyCounter=ux(0),i._flatValue=void 0,ngDevMode&&(r.toString=()=>"[Query Signal]",i.debugName=n?.debugName),r}function sN(e){return rN(!0,!1,e)}function oN(e){return rN(!0,!0,e)}function aN(e){return rN(!1,!1,e)}function lN(e,t){const n=e[ug];n._lView=s_(),n._queryIndex=t,n._queryList=JL(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(e=>e+1))}function cN(e){const t=[],n=new Map;function i(t){let i=n.get(t);if(!i){const r=e(t);n.set(t,i=r.then(e=>function(e,t){return"string"==typeof t?t:void 0!==t.status&&200!==t.status?Promise.reject(new ev(918,ngDevMode&&`Could not load resource: ${e}. Response status: ${t.status}`)):t.text()}(t,e)))}return i}
1return uN.forEach((e,n)=>{const r=[];e.templateUrl&&r.push(i(e.templateUrl).then(t=>{e.template=t}));const s="string"==typeof e.styles?[e.styles]:e.styles||[];if(e.styles=s,e.styleUrl&&e.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(e.styleUrls?.length){const t=e.styles.length,n=e.styleUrls;e.styleUrls.forEach((o,a)=>{s.push(""),r.push(i(o).then(i=>{s[t+a]=i,n.splice(n.indexOf(o),1),0==n.length&&(e.styleUrls=void 0)}))})}else e.styleUrl&&r.push(i(e.styleUrl).then(t=>{s.push(t),e.styleUrl=void 0}));const o=Promise.all(r).then(()=>function(e){dN.delete(e)}(n));t.push(o)}),fN(),Promise.all(t).then(()=>{})}let uN=new Map;const dN=new Set;function hN(e){return dN.has(e)}function pN(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function fN(){const e=uN;return uN=new Map,e}function mN(e){dN.clear(),e.forEach((e,t)=>dN.add(t)),uN=e}const gN=new Map;let vN=!0;function yN(e,t){!function(e,t,n){if(t&&t!==n&&vN)throw new Error(`Duplicate module registered for ${e} - ${ov(t)} vs ${ov(t.name)}`)}(t,gN.get(t)||null,e),gN.set(t,e)}function bN(e){return gN.get(e)}function wN(e){vN=!e}let _N=class{},xN=class{};function kN(e,t){return new SN(e,t??null,[])}const CN=kN;class SN extends _N{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new CL(this);constructor(e,t,n,i=!0){super(),this.ngModuleType=e,this._parent=t;const r=Xy(e);
1ngDevMode&&Tv(r,`NgModule '${ov(e)}' is not a subtype of 'NgModuleType'.`),this._bootstrapComponents=fA(r.bootstrap),this._r3Injector=J_(e,t,[{provide:_N,useValue:this},{provide:DP,useValue:this.componentFactoryResolver},...n],ov(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){ngDevMode&&Tv(this.destroyCbs,"NgModule already destroyed");const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){ngDevMode&&Tv(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)}}class TN extends xN{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new SN(this.moduleType,e,[])}}class EN extends _N{injector;componentFactoryResolver=new CL(this);instance=null;constructor(e){super();const t=new Sb([...e.providers,{provide:_N,useValue:this},{provide:DP,useValue:this.componentFactoryResolver}],e.parent||kb(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function IN(e,t,n=null){return new EN({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}class AN{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const t=lb(!1,e.type),n=t.length>0?IN([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,n)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static"ɵprov"=Ov({token:AN,providedIn:"environment",factory:()=>new AN(Iy(Cb))})}function DN(e){return Lx(()=>{("undefined"==typeof ngDevMode||ngDevMode)&&iv();const t=BN(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===PC.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?e=>e.get(AN).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pE.Emulated,styles:e.styles||Gy,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&nD("NgStandalone"),FN(n);const i=e.dependencies;return n.directiveDefs=VN(i,MN),n.pipeDefs=VN(i,ib),n.id=function(e){let t=0;const n="function"==typeof e.consts?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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];if("undefined"==typeof ngDevMode||ngDevMode)for(const e of i)yv(typeof e,"function","Internal error: attempting to use a function in component id computation logic.");for(const e of i.join("|"))t=Math.imul(31,t)+e.charCodeAt(0)|0;t+=2147483648;const r="c"+t;if(("undefined"==typeof ngDevMode||ngDevMode)&&("undefined"==typeof ngServerMode||!ngServerMode))if($N.has(r)){const t=$N.get(r);t!==e.type&&console.warn(tv(-912,`Component ID generation collision detected. Components '${t.name}' and '${e.type.name}' with selector '${OA(e.selectors)}' generated the same component ID. To fix this, you can change the selector of one of those components or add an extra host attribute to force a different ID.`))}else $N.set(r,e.type);return r}(n),n})}function MN(e){return eb(e)||nb(e)}function ON(e){return Lx(()=>({type:e.type,bootstrap:e.bootstrap||Gy,declarations:e.declarations||Gy,imports:e.imports||Gy,exports:e.exports||Gy,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function PN(e,t){if(null==e)return Wy;const n={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let s,o,a,l;Array.isArray(r)?(a=r[0],s=r[1],o=r[2]??s,l=r[3]||null):(s=r,o=r,a=HA.None,l=null),n[s]=[i,a,l],t[s]=o}return n}function LN(e){if(null==e)return Wy;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function NN(e){return Lx(()=>{const t=BN(e);return FN(t),t})}function RN(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function BN(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.input
1s||Wy,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Gy,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:PN(e.inputs,t),outputs:LN(e.outputs),debugInfo:null}}function FN(e){e.features?.forEach(t=>t(e))}function VN(e,t){return e?()=>{const n="function"==typeof e?e():e,i=[];for(const e of n){const n=t(e);null!==n&&i.push(n)}return i}:null}const $N=new Map;function jN(e){return Object.getPrototypeOf(e.prototype).constructor}function HN(e){let t=jN(e.type),n=!0;const i=[e];for(;t;){let r;if(ew(e))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new ev(903,ngDevMode&&`Directives cannot inherit Components. Directive ${cy(e.type)} is attempting to extend component ${cy(t)}`);r=t.ɵdir}if(r){if(n){i.push(r);const t=e;t.inputs=UN(e.inputs),t.declaredInputs=UN(e.declaredInputs),t.outputs=UN(e.outputs);const n=r.hostBindings;n&&GN(e,n);const s=r.viewQuery,o=r.contentQueries;if(s&&qN(e,s),o&&WN(e,o),zN(e,r),sv(e.outputs,r.outputs),ew(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}}const t=r.features;if(t)for(let i=0;i<t.length;i++){const r=t[i];r&&r.ngInherit&&r(e),r===HN&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Mk(r.hostAttrs,n=Mk(n,r.hostAttrs))}}(i)}function zN(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n))continue;if(e.inputs.hasOwnProperty(n))continue;const i=t.inputs[n];void 0!==i&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function UN(e){return e===Wy?{}:e===Gy?[]:e}function qN(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function WN(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function GN(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}const ZN=["providersResolver"],YN=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function KN(e){let t,n=jN(e.type);t=ew(e)?n.ɵcmp:n.ɵdir;const i=e;for(const e of ZN)i[e]=t[e];if(ew(t))for(const e of YN)i[e]=t[e]}function JN(e){const t=t=>{const n=Array.isArray(e);null===t.hostDirectives?(t.resolveHostDirectives=XN,t.hostDirectives=n?e.map(tR):[e]):n?t.hostDirectives.unshift(...e.map(tR)):t.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function XN(e){const t=[];let n=!1,i=null,r=null;for(let s=0;s<e.length;s++){const o=e[s];if(null!==o.hostDirectives){const e=t.length;i??=new Map,r??=new Map,QN(o,t,i),r.set(o,[e,t.length-1])}0===s&&ew(o)&&(n=!0,t.push(o))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,i,r]}function QN(e,t,n){if(null!==e.hostDirectives)for(const i of e.hostDirectives)if("function"==typeof i){const e=i();for(const i of e)eR(tR(i),t,n)}else eR(i,t,n)}function eR(e,t,n){const i=nb(e.directive);("undefined"==typeof ngDevMode||ngDevMode)&&function(e,t){const n=e.directive;if(null===t){if(null!==eb(n))throw new ev(310,`Host directive ${n.name} cannot be a component.`);throw new ev(307,`Could not resolve metadata for host directive ${n.name}. Make sure that the ${n.name} class is annotated with an @Directive decorator.`)}if(!t.standalone)throw new ev(308,`Host directive ${t.type.name} must be standalone.`);iR("input",t,e.inputs),iR("output",t,e.outputs)}(e,i),function(e,t){for(const n in t)if(t.hasOwnProperty(n)){const i=t[n],r=e[n];("undefined"==typeof ngDevMode||ngDevMode)&&e.hasOwnProperty(i)&&vv(e[i],e[n],`Conflicting host directive input alias ${n}.`),e[i]=r}}(i.declaredInputs,e.inputs),QN(i,t,n),n.set(i,e),t.push(i)}function tR(e){return"function"==typeof e?{directive:dv(e),inputs:Wy,outputs:Wy}:{directive:dv(e.directive),inputs:nR(e.inputs),outputs:nR(e.outputs)}}function nR(e){if(void 0===e||0===e.length)return Wy;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function iR(e,t,n){const i=t.type.name,r="input"===e?t.inputs:t.outputs;for(const t in n)if(n.hasOwnProperty(t)){if(!r.hasOwnProperty(t))throw new ev(311,`Directive ${i} does not have an ${e} with a public name of ${t}.`);const s=n[t];if(r.hasOwnProperty(s)&&s!==t)throw new ev(312,`Cannot alias ${e} ${t} of host directive ${i} to ${s}, because it already has a different ${e} with the same public name.`)}}function rR(e,t,n,i,r,s,o,a){if(n.firstCreatePass){e.mergedAttrs=Mk(e.mergedAttrs,e.attrs);const t=e.tView=LA(2,e,r,s,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),t.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),h_(e,!1);const l=lR(n,t,e,i);Z_()&&YD(n,t,l,e),zC(l,t);const c=WM(l,t,l,e);t[i+27]=c,VA(t,c),FL(c,e,t)}function sR(e,t,n,i,r,s,o,a,l,c,u){const d=n+27;let h;if(t.firstCreatePass){if(h=wO(t,d,4,o||null,a||null),null!=c){const e=Rw(t.consts,c);h.localNames=[];for(let t=0;t<e.length;t+=2)h.localNames.push(e[t],-1)}}else h=t.data[d];return rR(h,e,t,n,i,r,s,l),null!=c&&rM(e,h,u),h}function oR(e,t,n,i,r,s,o,a){const l=s_(),c=o_();return function(e,t,n,i,r,s,o,a,l,c,u){const d=n+27;let h;
1t.firstCreatePass?(h=wO(t,d,4,o||null,a||null),Qw()&&GP(t,e,h,Rw(t.consts,c),pM),gk(t,h)):h=t.data[d],rR(h,e,t,n,i,r,s,void 0),Qb(h)&&iM(t,e,h),null!=c&&rM(e,h,u)}(l,c,e,t,n,i,r,Rw(c.consts,s),0,o,a),oR}function aR(e,t,n,i,r,s,o,a){const l=s_(),c=o_();return sR(l,c,e,t,n,i,r,Rw(c.consts,s),void 0,o,a),aR}let lR=cR;function cR(e,t,n,i){return Y_(!0),t[11].createComment(ngDevMode?"container":"")}function uR(e,t,n,i){const r=!tE(t,n);Y_(r);const s=t[6]?.data[BS]?.[i]??null;if(null!==s&&null!==n.tView&&(null===n.tView.ssrId?n.tView.ssrId=s:ngDevMode&&vv(n.tView.ssrId,s,"Unexpected value of the `ssrId` for this TView")),r)return cR(0,t);const o=t[6],a=zO(o,e,t,n);ngDevMode&&aO(a,t,n),UT(o,i,a);const l=UO(XT(o,i),a);return ngDevMode&&(sO(l,Node.COMMENT_NODE,null,t,n),HT(l)),l}var dR;!function(e){e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED"}(dR||(dR={}));const hR=0,pR=1;var fR,mR;!function(e){e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error"}(fR||(fR={})),function(e){e[e.Initial=-1]="Initial"}(mR||(mR={}));const gR=0,vR=1,yR=2,bR=3,wR=4,_R=5,xR=6,kR=7,CR=8,SR=9;var TR;function ER(e,t,n){const i=DR(e);null===t[i]&&(t[i]=[]),t[i].push(n)}function IR(e,t){const n=DR(e),i=t[n];if(null!==i){for(const e of i)e();t[n]=null}}function AR(e){IR(1,e),IR(0,e),IR(2,e)}function DR(e){let t=wR;return 1===e?t=_R:2===e&&(t=SR),t}function MR(e){return e+1}function OR(e,t){const n=e[1],i=MR(t.index);return ngDevMode&&fw(n,i),e[i]}function PR(e,t){const n=MR(t.index);return ngDevMode&&fw(e,n),e.data[n]}function LR(e,t){return t===fR.Placeholder?e.placeholderBlockConfig?.[hR]??null:t===fR.Loading?e.loadingBlockConfig?.[hR]??null:null}function NR(e){return e.loadingBlockConfig?.[pR]??null}function RR(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const e of t)n.add(e);return e.length===n.size?e:Array.from(n)}function BR(e){vv(e.loadingState,dR.COMPLETE,"Expecting all deferred dependencies to be loaded.")}function FR(e){return null!==e&&"object"==typeof e&&"number"==typeof e.primaryTmplIndex}function VR(e,t){let n=null;const i=MR(t.index);return 27<i&&i<e.bindingStartIndex&&(n=PR(e,t)),!!n&&FR(n)}function $R(e,t,n){const i=PR(e,t);i.debug??={},i.debug.triggers??=new Set,i.debug.triggers.add(n)}function jR(e,t,n){const i=n.get(dD);return function(e,t){let n=oT.get(e);return cT=cT||i.runOutsideAngular(()=>new IntersectionObserver(e=>{for(const t of e)t.isIntersecting&&oT.has(t.target)&&oT.get(t.target).listener()})),n||(n=new dT,cT.observe(e),oT.set(e,n),uT++),n.callbacks.add(t),()=>{oT.has(e)&&(n.callbacks.delete(t),0===n.callbacks.size&&(cT?.unobserve(e),oT.delete(e),uT--),0===uT&&(cT?.disconnect(),cT=null))}}(e,()=>i.run(t))}function HR(e,t,n,i,r,s,o){const a=e[9],l=a.get(dD);let c;c=kD({read:function(){if(iw(e))return void c.destroy();const u=OR(e,t),d=u[vR];if(d!==mR.Initial&&d!==fR.Placeholder)return void c.destroy();const h=function(e,t,n){if(null==n)return e;if(n>=0)return Vw(n,e);const i=e[t.index];ngDevMode&&cw(i);const r=i[10]??null;return ngDevMode&&null!==r&&(vv(OR(e,t)[vR],fR.Placeholder,"Expected a placeholder to be rendered in this defer block."),dw(r)),r}(e,t,i);if(!h)return;if(c.destroy(),iw(h))return;const p=function(e,t){const n=Iw(27+t,e);var i;return ngDevMode&&((i=n)instanceof Element||Ev(`The provided value must be an element but got ${ov(i)}`)),n}(h,n),f=r(p,()=>{l.run(()=>{e!==h&&Uw(h,f),s()})},a);e!==h&&zw(h,f),ER(o,u,f)}},{injector:a})}function zR(e,t){const n=t.get(UR);return n.add(e),()=>n.remove(e)}!function(e){e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough"}(TR||(TR={}));class UR{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=Dy(dD);requestIdleCallbackFn=(()=>"undefined"!=typeof requestIdleCallback?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>"undefined"!=typeof requestIdleCallback?cancelIdleCallback:clearTimeout)().bind(globalThis);add(e){(this.executingCallbacks?this.deferred:this.current).add(e),null===this.idleId&&this.scheduleIdleCallback()}remove(e){const{current:t,deferred:n}=this;t.delete(e),n.delete(e),0===t.size&&0===n.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const e=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const e of this.current)e();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const e of this.deferred)this.current.add(e);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(e))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static"ɵprov"=Ov({token:UR,providedIn:"root",factory:()=>new UR})}function qR(e){return(t,n)=>WR(e,t,n)}
1function WR(e,t,n){const i=n.get(GR),r=n.get(dD);return i.add(e,t,r),()=>i.remove(t)}class GR{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(e,t,n){const i=this.executingCallbacks?this.deferred:this.current;this.addToQueue(i,Date.now()+e,t),this.scheduleTimer(n)}remove(e){const{current:t,deferred:n}=this;-1===this.removeFromQueue(t,e)&&this.removeFromQueue(n,e),0===t.length&&0===n.length&&this.clearTimeout()}addToQueue(e,t,n){let i=e.length;for(let n=0;n<e.length;n+=2)if(e[n]>t){i=n;break}Hy(e,i,t,n)}removeFromQueue(e,t){let n=-1;for(let i=0;i<e.length;i+=2)if(e[i+1]===t){n=i;break}return n>-1&&jy(e,n,2),n}scheduleTimer(e){const t=()=>{this.clearTimeout(),this.executingCallbacks=!0;const t=[...this.current],n=Date.now();for(let e=0;e<t.length;e+=2){const i=t[e+1];if(!(t[e]<=n))break;i()}let i=-1;for(let e=0;e<this.current.length&&this.current[e]<=n;e+=2)i=e+1;if(i>=0&&jy(this.current,0,i+1),this.executingCallbacks=!1,this.deferred.length>0){for(let e=0;e<this.deferred.length;e+=2){const t=this.deferred[e],n=this.deferred[e+1];this.addToQueue(this.current,t,n)}this.deferred.length=0}this.scheduleTimer(e)};if(this.current.length>0){const n=Date.now(),i=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-i>16){this.clearTimeout();const r=Math.max(i-n,16);this.invokeTimerAt=i,this.timeoutId=e.runOutsideAngular(()=>setTimeout(()=>e.run(t),r))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static"ɵprov"=Ov({token:GR,providedIn:"root",factory:()=>new GR})}class ZR{cachedInjectors=new Map;getOrCreateInjector(e,t,n,i){if(!this.cachedInjectors.has(e)){const r=n.length>0?IN(n,t,i):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static"ɵprov"=Ov({token:ZR,providedIn:"environment",factory:()=>new ZR})}const YR=new $v("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),KR=new $v(ngDevMode?"DEFER_BLOCK_CONFIG":"");function JR(e,t,n){return e.get(ZR).getOrCreateInjector(t,e,n,ngDevMode?"DeferBlock Injector":"")}function XR(e,t,n,i=!1){const r=n[3],s=r[1];if(iw(r))return;ngDevMode&&rw(t,r);const o=OR(r,t);ngDevMode&&Tv(o,"Expected a defer block state defined");const a=o[vR],l=o[kR];if(!(null!==l&&e<l)&&nB(a,e)&&nB(o[gR]??-1,e)){const a=PR(s,t),l=!i&&("undefined"==typeof ngServerMode||!ngServerMode)&&(null!==NR(a)||null!==LR(a,fR.Loading)||LR(a,fR.Placeholder));ngDevMode&&l&&Tv(sB,"Expected scheduling function to be defined");const c=l?sB:QR;try{c(e,o,n,t,r)}catch(e){wM(r,e)}}}function QR(e,t,n,i,r){mk(20);const s=function(e,t,n){const i=PR(t[1],n);switch(e){case fR.Complete:return i.primaryTmplIndex;case fR.Loading:return i.loadingTmplIndex;case fR.Error:return i.errorTmplIndex;case fR.Placeholder:return i.placeholderTmplIndex;default:return ngDevMode&&Ev(`Unexpected defer block state: ${e}`),null}}(e,r,i);if(null!==s){t[vR]=e;const o=r[1],a=Dw(o,s+27),l=0;let c;if(YM(n,l),e===fR.Complete){const e=PR(o,i),t=e.providers;t&&t.length>0&&(c=function(e,t,n){if(e instanceof zP){const i=e.injector,r=JR(e.parentInjector,t,n);return new zP(i,r)}const i=e.get(Cb);if(i!==e){const r=JR(i,t,n);return new zP(e,r)}return JR(e,t,n)}(r[9],e,t))}const{dehydratedView:u,dehydratedViewIx:d}=function(e,t){const n=e[6]?.findIndex(e=>e.data[WS]===t[vR])??-1;return{dehydratedView:n>-1?e[6][n]:null,dehydratedViewIx:n}}(n,t),h=CM(r,a,null,{injector:c,dehydratedView:u});if(ZM(n,h,l,SM(a,u)),qM(h,2),d>-1&&n[6]?.splice(d,1),(e===fR.Complete||e===fR.Error)&&Array.isArray(t[CR])){for(const e of t[CR])e();t[CR]=null}}mk(21)}function eB(e,t,n,i,r){const s=Date.now(),o=PR(r[1],i);if(null===t[yR]||t[yR]<=s){t[yR]=null;const a=NR(o),l=null!==t[bR];if(e!==fR.Loading||null===a||l){e>fR.Loading&&l&&(t[bR](),t[bR]=null,t[gR]=null),QR(e,t,n,i,r);const a=LR(o,e);null!==a&&(t[yR]=s+a,tB(a,t,i,n,r))}else{t[gR]=e;const s=tB(a,t,i,n,r);t[bR]=s}}else t[gR]=e}function tB(e,t,n,i,r){return WR(e,()=>{const e=t[gR];t[yR]=null,t[gR]=null,null!==e&&XR(e,n,i)},r[9])}function nB(e,t){return e<t}function iB(e,t){const n=e[t.index];ngDevMode&&cw(n),XR(fR.Placeholder,t,n)}function rB(e,t,n){ngDevMode&&Tv(e.loadingPromise,"Expected loading Promise to exist on this defer block"),e.loadingPromise.then(()=>{e.loadingState===dR.COMPLETE?(ngDevMode&&BR(e),XR(fR.Complete,t,n)):e.loadingState===dR.FAILED&&XR(fR.Error,t,n)})}let sB=null;function oB(e,t,n,i){const r=e.consts;null!=n&&(t.placeholderBlockConfig=Rw(r,n)),null!=i&&(t.loadingBlockConfig=Rw(r,i)),null===sB&&(sB=eB)}const aB="__ngAsyncComponentMetadataFn__";function lB(e){return e[aB]??null}function cB(e,t,n){const i=e;return i[aB]=()=>Promise.all(t()).then(e=>(n(...e),i[aB]=null,e)),i[aB]}function uB(e,t,n,i){return Lx(()=>{const r=e;null!==t&&(r.hasOwnProperty("decorators")&&void 0!==r.decorators?r.decorators.push(...t):r.decorators=t),null!==n&&(r.ctorParameters=n),null!==i&&(r.hasOwnProperty("propDecorators")&&void 0!==r.propDecorators?r.propDecorators={...r.propDecorators,...i}:r.propDecorators=i)})}class dB{log(e){console.log(e)}warn(e){console.warn(e)}static"ɵfac"=function(e){return new(e||dB)};static"ɵprov"=Ov({token:dB,factory:dB.ɵfac,providedIn:"platform"})}("undefined"==typeof ngDevMode||ngDevMode)&&uB(dB,[{type:bC,args:[{providedIn:"platform"}]}],null,null);let hB=new class{resolverToTokenToDependencies=new WeakMap;resolverToProviders=new WeakMap;resolverToEffects=new WeakMap;standaloneInjectorToComponent=new WeakMap;reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};function pB(){return hB}function fB(e){const{context:t,type:n}=e;0===n?function(e,t){const n=gB(e.injector);null===n&&Ev("An Inject event must be run within an injection context.");const i=hB.resolverToTokenToDependencies;if(i.has(n)||i.set(n,new WeakMap),!function(e){return null!==e&&("object"==typeof e||"function"==typeof e||"symbol"==typeof e)}(e.token))return;const r=i.get(n);r.has(e.token)||r.set(e.token,[]);const{token:s,value:o,flags:a}=t;Tv(e.token,"Injector profiler context token is undefined.");const l=r.get(e.token);Tv(l,"Could not resolve dependencies for token."),e.injector instanceof sC?l.push({token:s,value:o,flags:a,injectedIn:mB(e.injector)}):l.push({token:s,value:o,flags:a})}(t,e.service):1===n?function(e,t){const{value:n}=t;if(null==t.value)return;let i;if(null===gB(e.injector)&&Ev("An InjectorCreatedInstance event must be run within an injection context."),"object"==typeof n&&(i=n?.constructor),null==i||!function(e){const t=eb(e);return!!t?.standalone}(i))return;const r=e.injector.get(Cb,null,{optional:!0});if(null===r)return;const{standaloneInjectorToComponent:s}=hB;s.has(r)||s.set(r,i)}(t,e.instance):2===n?function(e,t){const{resolverToProviders:n}=hB;let i;i=e?.injector instanceof sC?rC(e.injector):e.injector,null===i&&Ev("A ProviderConfigured event must be run within an injection context."),n.has(i)||n.set(i,[]),n.get(i).push(t)}(t,e.providerRecord):3===n&&function(e,t){const n=gB(e.injector);null===n&&Ev("An EffectCreated event must be run within an injection context.");const{resolverToEffects:i}=hB;i.has(n)||i.set(n,[]),i.get(n).push(t)}(t,e.effect)}function mB(e){e instanceof sC||Ev("getNodeInjectorContext must be called with a NodeInjector");const t=iC(e),n=rC(e);if(null!==n)return rw(n,t),{lView:t,tNode:n}}function gB(e){let t=null;return void 0===e||(t=e instanceof sC?iC(e):e),t}function vB(e,t){const n=e[1];for(let i=27;i<n.bindingStartIndex;i++)if(Kb(e[i])){const r=e[i];if(i!==n.bindingStartIndex-1){const s=n.data[i],o=PR(n,s);if(FR(o)){t.push({lContainer:r,lView:e,tNode:s,tDetails:o});continue}}Yb(r[0])&&vB(r[0],t);for(let e=10;e<r.length;e++)vB(r[e],t)}else Yb(e[i])&&vB(e[i],t)}function yB(e,t,n){const i=t[9],r=i.get(CT,null,{optional:!0}),s=[];vB(t,s);const o=i.get(DS).get(DT,{});for(const t of s){const i=Aw(t.tNode,t.lView),s=OR(t.lView,t.tNode);
1if(!e.contains(i))continue;const a=t.tDetails,l=_B(t),c=[],u=wB(a,s,r);if(null!==l)IM(l[1],l,l[1].firstChild,c);else if("dehydrated"===u){const e=o[s[xR]][$S];let n=0,i=t.lContainer[7].previousSibling;for(;n<e&&i;)c.unshift(i),i=i.previousSibling,n++}const d={state:bB(s[vR]),incrementalHydrationState:u,hasErrorBlock:null!==a.errorTmplIndex,loadingBlock:{exists:null!==a.loadingTmplIndex,minimumTime:a.loadingBlockConfig?.[hR]??null,afterTime:a.loadingBlockConfig?.[pR]??null},placeholderBlock:{exists:null!==a.placeholderTmplIndex,minimumTime:a.placeholderBlockConfig?.[hR]??null},triggers:a.debug?.triggers?Array.from(a.debug.triggers).sort():[],rootNodes:c};n.push(d),null!==l&&yB(e,l,n)}}function bB(e){switch(e){case fR.Complete:return"complete";case fR.Loading:return"loading";case fR.Placeholder:return"placeholder";case fR.Error:return"error";case mR.Initial:return"initial";default:throw new Error(`Unrecognized state ${e}`)}}function wB(e,t,n){return null===n||null===t[xR]||null===e.hydrateTriggers||e.hydrateTriggers.has(7)?"not-configured":n.has(t[xR])?"dehydrated":"hydrated"}function _B(e){if(e.lContainer.length<=10)return null;const t=e.lContainer[10];return ngDevMode&&dw(t),t}function xB(e){const t=pB().resolverToProviders.get(e)??[];if(function(e){return e instanceof Sb&&e.scopes.has("platform")}(e))return t;const n=function(e){const{standaloneInjectorToComponent:t}=pB();if(t.has(e))return t.get(e);const n=e.get(_N,null,{self:!0,optional:!0});return null===n||null===n.instance?null:n.instance.constructor}(e);if(null===n)return t;const i=function(e){const t=new Map,n=function(e,t){return(n,i)=>{if(e.has(n)||e.set(n,[i]),!t.has(i))for(const t of e.keys()){const n=e.get(t);let r=Bv(i);if(r||(r=Bv(i.ngModule)),!r)return;const s=n[0];let o=!1;By(r.imports,n=>{o||(o=n.ngModule===s||n===s,o&&e.get(t)?.unshift(i))})}t.add(i)}}(t,new Set);return ub(e,n,[],new Set),t}(n),r=[];for(const e of t){const t=e.provider,s=t.provide;if(s===Zy||s===Ky)continue;let o=i.get(t)??[];const a=eb(n);!!a?.standalone&&(o=[n,...o]),r.push({...e,importPath:o})}return r}function kB(e){const t=[e];return CB(e,t),t}function CB(e,t){const n=function(e){if(e instanceof Sb)return e.parent;let t,n;if(e instanceof sC)t=rC(e),n=iC(e);else{if(e instanceof Jy)return null;if(e instanceof zP)return e.parentInjector;Ev("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const i=qk(t,n);if(Pk(i)){const e=Lk(i),t=Nk(i,n),r=t[1].data[e+8];return new sC(r,t)}{const e=n[9],t=e.injector?.parent;if(t instanceof sC)return t}return null}(e);if(null===n){if(e instanceof sC){const e=t[0];if(e instanceof sC){const n=function(e){let t;e instanceof sC?t=iC(e):Ev("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const n=t[9],i=n instanceof zP?n.parentInjector:n.parent;return i||Ev("NodeInjector must have some connection to the module injector tree"),i}(e);null===n&&Ev("NodeInjector must have some connection to the module injector tree"),t.push(n),CB(n,t)}return t}}else t.push(n),CB(n,t);return t}function SB(e){return"computed"===e.kind}function TB(e){return"template"===e.kind}function EB(e){return"signal"===e.kind}const IB=new WeakMap;let AB=0;function DB(e,t=new Map){for(const n of e){if(t.has(n))continue;const e=[];for(let t=n.producers;void 0!==t;t=t.nextProducer){const n=t.producer;e.push(n)}t.set(n,e),DB(e,t)}return t}let MB=0,OB=0,PB=0;const LB=[];function NB(e){LB.push([e,PB]),console.timeStamp("Event_"+e+"_"+PB++)}function RB(e,t,n){const i=LB.pop();Tv(i,"Profiling error: could not find start event entry "+e),vv(i[0],e,`Profiling error: expected to see ${e} event but got ${i[0]}`),console.timeStamp(t,"Event_"+i[0]+"_"+i[1],void 0,"🅰️ Angular",void 0,n)}const BB=e=>{const t=e.type;4===t?NB(100):1===t&&RB(100,$B(e.context.token),"tertiary-dark")},FB=(e,t,n)=>{switch(e){case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 0:case 4:case 2:case 24:case 6:NB(e);break;case 9:RB(8,"Bootstrap application","primary-dark");break;case 11:RB(10,"Bootstrap component","primary-dark");break;case 13:OB=0,RB(12,"Change detection "+MB++,"primary-dark");break;case 15:RB(14,"Synchronization "+OB++,"primary");break;case 17:RB(16,"After render hooks","primary");break;case 19:RB(18,VB(t),"primary-light");break;case 21:RB(20,"Defer block","primary-dark");break;case 23:RB(22,"Dynamic component creation","primary-dark");break;case 3:RB(2,cy(n)+" (update)","secondary-dark");break;case 1:RB(0,cy(n)+" (create)","secondary");break;case 25:RB(24,"HostBindings","secondary-dark");break;case 5:RB(4,`${VB(t)}:${cy(n)}`,"tertiary");break;case 7:RB(6,cy(n),"tertiary-light");break;default:throw new Error("Unexpected profiling event type: "+e)}};function VB(e){return e.constructor.name}function $B(e){return vb(e)?e.name:null!=e.provide?$B(e.provide):e.toString()}function jB(){if(nD("Chrome DevTools profiling"),"undefined"!=typeof ngDevMode&&ngDevMode){const e=Wv(BB),t=fk(FB);return()=>{e(),t()}}return()=>{}}
1function HB(e){const t=MS(yS(),e.get(bS)),n={};for(const[e,i]of Object.entries(t))MT(e)||(n[e]=i);return n}const zB="ng",UB={"ɵgetDependenciesFromInjectable":function(e,t){const n=e.get(t,null,{self:!0,optional:!0});if(null===n)throw new Error(`Unable to determine instance of ${t} in given injector`);const i=function(e,t){const{resolverToTokenToDependencies:n}=pB();if(!(t instanceof sC))return n.get(t)?.get?.(e)??[];const i=iC(t),r=n.get(i);return(r?.get(e)??[]).filter(e=>{const n=e.injectedIn?.tNode;if(void 0===n)return!1;const i=rC(t);return aw(n),aw(i),n===i})}(t,e),r=kB(e);return{instance:n,dependencies:i.map(e=>{const t={value:e.value},n=e.flags;t.flags={optional:!(8&~n),host:!(1&~n),self:!(2&~n),skipSelf:!(4&~n)};for(let n=0;n<r.length;n++){const i=r[n];if(0!==n||!t.flags.skipSelf){if(t.flags.host&&i instanceof Cb)break;if(null!==i.get(e.token,null,{self:!0,optional:!0})){if(t.flags.host){null!==r[0].get(e.token,null,{...t.flags,optional:!0})&&(t.providedIn=i);break}t.providedIn=i;break}if(0===n&&t.flags.self)break}}return e.token&&(t.token=e.token),t})}},"ɵgetInjectorProviders":function(e){return e instanceof sC?function(e){const t=rC(e),{resolverToProviders:n}=pB();return n.get(t)??[]}(e):e instanceof Cb?xB(e):void Ev("getInjectorProviders only supports NodeInjector and EnvironmentInjector")},"ɵgetInjectorResolutionPath":kB,"ɵgetInjectorMetadata":function(e){if(e instanceof sC){const t=iC(e),n=rC(e);return rw(n,t),{type:"element",source:Aw(n,t)}}return e instanceof Sb?{type:"environment",source:e.source??null}:e instanceof Jy?{type:"null",source:null}:null},"ɵsetProfiler":fk,"ɵgetSignalGraph":function(e){let t=null;if(!(e instanceof sC||e instanceof Sb))return Ev("getSignalGraph must be called with a NodeInjector or R3Injector");e instanceof sC&&(t=function(e){const t=rC(e);aw(t);const n=iC(e);dw(n);const i=n[t.index];return Yb(i)?i[24]??null:null}(e));const n=function(e){let t=e;return e instanceof sC&&(t=iC(e)),(pB().resolverToEffects.get(t)??[]).map(e=>e[ug])}(e);return function(e){const t=Array.from(e.keys()),n=[],i=[];for(const[r,s]of e.entries()){const e=t.indexOf(r);let o=IB.get(r);o||(AB++,o=AB.toString(),IB.set(r,o)),SB(r)?n.push({label:r.debugName,value:r.value,kind:r.kind,epoch:r.version,debuggableFn:r.computation,id:o}):EB(r)?n.push({label:r.debugName,value:r.value,kind:r.kind,epoch:r.version,id:o}):TB(r)?n.push({label:r.debugName??r.lView?.[0]?.tagName?.toLowerCase?.(),kind:r.kind,epoch:r.version,debuggableFn:r.lView?.[8]?.constructor,id:o}):n.push({label:r.debugName,kind:r.kind,epoch:r.version,id:o});for(const n of s)i.push({consumer:e,producer:t.indexOf(n)})}return{nodes:n,edges:i}}(DB(t?[t,...n]:n))},"ɵgetDeferBlocks":function(e){const t=[],n=VC(e)?.lView;return n&&yB(e,n,t),t},"ɵgetTransferState":HB,getDirectiveMetadata:function(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=eb(t);if(n)return{inputs:mS(n.inputs),outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?PC.OnPush:PC.Default};const i=nb(t);return i?{inputs:mS(i.inputs),outputs:i.outputs}:null},getComponent:tS,getContext:nS,getListeners:dS,getOwningComponent:iS,getHostElement:uS,getInjector:sS,getRootComponents:rS,getDirectives:oS,applyChanges:function(e){ngDevMode&&Tv(e,"component"),qM(jC(e),3),rS(e).forEach(e=>function(e){const t=jC(e);t[2]|=1024,BM(t)}(e))},isSignal:lx,enableProfiling:jB};let qB=!1;function WB(e,t){ZB(e,t)}function GB(e,t){ZB(e,t)}function ZB(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=nv;ngDevMode&&Tv(t,"function not defined"),n[zB]??={},n[zB][e]=t}}const YB=new $v(""),KB=new $v("");class JB{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,t,n){this._ngZone=e,this.registry=t,Ob()&&(this._destroyRef=Dy(ex,{optional:!0})??void 0),eF||(QB(n),n.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),t=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{dD.assertNotInAngularZone(),queueMicrotask(()=>
1{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),t.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e()},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!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(e,t,n),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,n){return[]}static"ɵfac"=function(e){return new(e||JB)(Iy(dD),Iy(XB),Iy(KB))};static"ɵprov"=Ov({token:JB,factory:JB.ɵfac})}("undefined"==typeof ngDevMode||ngDevMode)&&uB(JB,[{type:bC}],()=>[{type:dD},{type:XB},{type:void 0,decorators:[{type:Hx,args:[KB]}]}],null);class XB{_applications=new Map;registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return eF?.findTestabilityInTree(this,e,t)??null}static"ɵfac"=function(e){return new(e||XB)};static"ɵprov"=Ov({token:XB,factory:XB.ɵfac,providedIn:"platform"})}function QB(e){eF=e}let eF;function tF(e){return!!e&&"function"==typeof e.then}function nF(e){return!!e&&"function"==typeof e.subscribe}("undefined"==typeof ngDevMode||ngDevMode)&&uB(XB,[{type:bC,args:[{providedIn:"platform"}]}],null,null);const iF=new $v(ngDevMode?"Application Initializer":"");function rF(e){return sb([{provide:iF,multi:!0,useValue:e}])}class sF{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t});appInits=Dy(iF,{optional:!0})??[];injector=Dy(X_);constructor(){if(("undefined"==typeof ngDevMode||ngDevMode)&&!Array.isArray(this.appInits))throw new ev(-209,`Unexpected type of the \`APP_INITIALIZER\` token value (expected an array, but got ${typeof this.appInits}). Please check that the \`APP_INITIALIZER\` token is configured as a \`multi: true\` provider.`)}runInitializers(){if(this.initialized)return;const e=[];for(const t of this.appInits){const n=Mb(this.injector,t);if(tF(n))e.push(n);else if(nF(n)){const t=new Promise((e,t)=>{n.subscribe({complete:e,error:t})});e.push(t)}}const t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}static"ɵfac"=function(e){return new(e||sF)};static"ɵprov"=Ov({token:sF,factory:sF.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&uB(sF,[{type:bC,args:[{providedIn:"root"}]}],()=>[],null);const oF=new $v(ngDevMode?"appBootstrapListener":"");function aF(){ngDevMode&&function(){if(!qB){qB=!0,"undefined"!=typeof window&&(hB.reset(),Wv(fB));for(const[e,t]of Object.entries(UB))WB(e,t)}}()}function lF(){Lg=()=>{let e="";if(ngDevMode){const t=hg();e=t&&"template"===t.kind?"Writing to signals is not allowed while Angular renders the template (eg. interpolations)":"Writing to signals is not allowed in a `computed`"}throw new ev(600,e)}}function cF(e){return e.isBoundToModule}class uF{name;token;constructor(e,t){this.name=e,this.token=t}}function dF(e,t){return Array.isArray(t)?t.reduce(dF,e):{...e,...t}}class hF{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=Dy(rx);
1afterRenderManager=Dy(bD);zonelessEnabled=Dy(vx);rootEffectScheduler=Dy(Cx);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Gg;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=Dy(_x);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ox(e=>!e))}constructor(){Dy(eD,{optional:!0})}whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:e=>{e&&t()}})}).finally(()=>{e.unsubscribe()})}_injector=Dy(Cb);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,t){return this.bootstrapImpl(e,t)}bootstrapImpl(e,t,n=X_.NULL){return this._injector.get(dD).run(()=>{mk(10),("undefined"==typeof ngDevMode||ngDevMode)&&pF(this._destroyed);const i=e instanceof IP;if(!this._injector.get(sF).done){let t="";throw("undefined"==typeof ngDevMode||ngDevMode)&&(t="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&rb(e)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.")),new ev(405,t)}let r;r=i?e:this._injector.get(DP).resolveComponentFactory(e),this.componentTypes.push(r.componentType);const s=cF(r)?void 0:this._injector.get(_N),o=t||r.selector,a=r.create(n,[],o,s),l=a.location.nativeElement,c=a.injector.get(YB,null);return c?.registerApplication(l),a.onDestroy(()=>{this.detachView(a.hostView),fF(this.components,a),c?.unregisterApplication(l)}),this._loadComponent(a),("undefined"==typeof ngDevMode||ngDevMode)&&this._injector.get(dB).log("Angular is running in development mode."),mk(11,a),a})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){mk(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(QA.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(("undefined"==typeof ngDevMode||ngDevMode)&&pF(this._destroyed),this._runningTick)throw new ev(101,ngDevMode&&"ApplicationRef.tick is called recursively");const e=dg(null);try{if(this._runningTick=!0,this.synchronize(),"undefined"==typeof ngDevMode||ngDevMode)for(let e of this.allViews)e.checkNoChanges()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,dg(e),this.afterTick.next(),mk(13)}};synchronize(){null!==this._rendererFactory||this._injector.destroyed||(this._rendererFactory=this._injector.get(MP,null,{optional:!0}));let e=0;for(;0!==this.dirtyFlags&&e++<10;)mk(14),this.synchronizeOnce(),mk(15);if(("undefined"==typeof ngDevMode||ngDevMode)&&e>=10)throw new ev(103,ngDevMode&&"Infinite change detection while refreshing application views. Ensure views are not calling `markForCheck` on every template execution or that afterRender hooks always mark views for check.")}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(7&this.dirtyFlags){const t=Boolean(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:n}of this.allViews)(t||$w(n))&&(BM(n,t&&!this.zonelessEnabled?0:1),e=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:e})=>$w(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){("undefined"==typeof ngDevMode||ngDevMode)&&pF(this._destroyed);const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){("undefined"==typeof ngDevMode||ngDevMode)&&pF(this._destroyed);const t=e;fF(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(e){this.internalErrorHandler(e)}this.components.push(e);const t=this._injector.get(oF,[]);if(ngDevMode&&!Array.isArray(t))throw new ev(-209,`Unexpected type of the \`APP_BOOTSTRAP_LISTENER\` token value (expected an array, but got ${typeof t}). Please check that the \`APP_BOOTSTRAP_LISTENER\` token is configured as a \`multi: true\` provider.`);t.forEach(t=>t(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEac
1h(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return("undefined"==typeof ngDevMode||ngDevMode)&&pF(this._destroyed),this._destroyListeners.push(e),()=>fF(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ev(406,ngDevMode&&"This instance of the `ApplicationRef` has already been destroyed.");const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static"ɵfac"=function(e){return new(e||hF)};static"ɵprov"=Ov({token:hF,factory:hF.ɵfac,providedIn:"root"})}function pF(e){e&&console.warn(tv(406,"This instance of the `ApplicationRef` has already been destroyed."))}function fF(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function mF(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}function gF(e){const t=s_(),n=c_();if(iB(t,n),!_F(0,t))return;const i=t[9];ER(0,OR(t,n),e(()=>xF(0,t,n),i))}function vF(e){if("undefined"!=typeof ngServerMode&&ngServerMode)return;const t=s_(),n=t[9],i=c_(),r=PR(t[1],i);r.loadingState===dR.NOT_STARTED&&ER(1,OR(t,i),e(()=>bF(r,t,i),n))}function yF(e,t,n){if("undefined"!=typeof ngServerMode&&ngServerMode)return;const i=t[9],r=OR(t,n),s=r[xR];ngDevMode&&YT(s),ER(2,r,e(()=>kF(i,s),i))}function bF(e,t,n){wF(e,t,n)}function wF(e,t,n){const i=t[9],r=t[1];if(e.loadingState!==dR.NOT_STARTED)return e.loadingPromise??Promise.resolve();const s=OR(t,n),o=function(e,t){return Dw(e,t.primaryTmplIndex+27)}(r,e);e.loadingState=dR.IN_PROGRESS,IR(1,s);let a=e.dependencyResolverFn;if(ngDevMode){const e=i.get(YR,null,{optional:!0});e&&(a=e.intercept(a))}const l=i.get(xx).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(n=>{let i=!1;const r=[],s=[];for(const e of n){if("fulfilled"!==e.status){i=!0;break}{const t=e.value,n=eb(t)||nb(t);if(n)r.push(n);else{const e=ib(t);e&&s.push(e)}}}if(i){if(e.loadingState=dR.FAILED,null===e.errorTmplIndex){const e=ngDevMode?EE(t):"",n=new ev(-750,ngDevMode&&`Loading dependencies for \`@defer\` block failed, but no \`@error\` block was configured${e}. Consider using the \`@error\` block to render an error state.`);wM(t,n)}}else{e.loadingState=dR.COMPLETE;const t=o.tView;if(r.length>0){t.directiveRegistry=RR(t.directiveRegistry,r);const n=lb(!1,...r.map(e=>e.type));e.providers=n}s.length>0&&(t.pipeRegistry=RR(t.pipeRegistry,s))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,l()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=dR.COMPLETE,l()}),e.loadingPromise)}function _F(e,t){if(0===e&&"undefined"!=typeof ngServerMode&&ngServerMode)return!1;const n=t[9].get(KR,null,{optional:!0});return n?.behavior!==TR.Manual}function xF(e,t,n){const i=t[1],r=t[n.index];if(ngDevMode&&cw(r),!_F(e,t))return;const s=OR(t,n),o=PR(i,n);switch(AR(s),o.loadingState){case dR.NOT_STARTED:XR(fR.Loading,n,r),wF(o,t,n),o.loadingState===dR.IN_PROGRESS&&rB(o,n,r);break;case dR.IN_PROGRESS:XR(fR.Loading,n,r),rB(o,n,r);break;case dR.COMPLETE:ngDevMode&&BR(o),XR(fR.Complete,n,r);break;case dR.FAILED:XR(fR.Error,n,r);break;default:ngDevMode&&Ev("Unknown defer block state")}}
1async function kF(e,t,n){const i=e.get(CT);if(i.hydrating.has(t))return;const{parentBlockPromise:r,hydrationQueue:s}=function(e,t){const n=t.get(CT),i=t.get(DS).get(DT,{});let r=!1,s=e,o=null;const a=[];for(;!r&&s;){ngDevMode&&vv(a.indexOf(s),-1,"Internal error: defer block hierarchy has a cycle."),r=n.has(s);const e=n.hydrating.get(s);if(null===o&&null!=e){o=e.promise;break}a.unshift(s),s=i[s][GS]}return{parentBlockPromise:o,hydrationQueue:a}}(t,e);if(0===s.length)return;null!==r&&s.shift(),function(e,t){for(let n of t)e.hydrating.set(n,mF())}(i,s),null!==r&&await r;const o=s[0];i.has(o)?await CF(e,s,n):i.awaitParentBlock(o,async()=>await CF(e,s,n))}async function CF(e,t,n){const i=e.get(CT),r=i.hydrating,s=e.get(_x),o=s.add();for(let n=0;n<t.length;n++){const s=t[n],o=i.get(s);if(null==o){TF(n,t,i),EF(t.slice(n),i);break}if(await AF(o),await IF(e),SF(o)){fP(o),EF(t.slice(n),i);break}r.get(s).resolve()}const a=t[t.length-1];var l,c,u,d;await(r.get(a)?.promise),s.remove(o),n&&n(t),l=i.get(a),c=t,u=i,d=e.get(hF),null!==l&&(u.cleanup(c),gP(l.lContainer),yP(d))}function SF(e){return OR(e.lView,e.tNode)[vR]===fR.Error}function TF(e,t,n){const i=e-1,r=i>-1?n.get(t[i]):null;r&&gP(r.lContainer)}function EF(e,t){const n=t.hydrating;for(const t in e)n.get(t)?.reject();t.cleanup(e)}function IF(e){return new Promise(t=>CD(t,{injector:e}))}async function AF(e){const{tNode:t,lView:n}=e,i=OR(n,t);return new Promise(e=>{!function(e,t){Array.isArray(e[CR])||(e[CR]=[]),e[CR].push(t)}(i,e),xF(2,n,t)})}function DF(e,t,n){return 0===e?OF(t,n):2===e?!OF(t,n):!("undefined"!=typeof ngServerMode&&ngServerMode)}function MF(e){return null!=e&&!(1&~e)}function OF(e,t){const n=e[9],i=PR(e[1],t),r=WT(n),s=MF(i.flags);if("undefined"!=typeof ngServerMode&&ngServerMode)return!r||!s;const o=null!==OR(e,t)[xR];return!(s&&o&&r)}function PF(e,t){const n=PR(e,t);return n.hydrateTriggers??=new Map}("undefined"==typeof ngDevMode||ngDevMode)&&uB(hF,[{type:bC,args:[{providedIn:"root"}]}],()=>[],null);let LF=!1;function NF(e,t,n,i,r,s,o,a,l,c){const u=s_(),d=o_(),h=e+27,p=sR(u,d,e,null,0,0),f=u[9],m=WT(f);if(d.firstCreatePass){nD("NgDefer"),ngDevMode&&("undefined"!=typeof ngHmrMode&&ngHmrMode&&function(e){LF||(LF=!0,e.get(dB).log(tv(-751,"Angular has detected that this application contains `@defer` blocks and the hot module replacement (HMR) mode is enabled. All `@defer` block dependencies will be loaded eagerly.")))}(f),MF(c)&&!m&&(GT||(GT=!0,console.warn(tv(508,"Angular has detected that some `@defer` blocks use `hydrate` triggers, but incremental hydration was not enabled. Please ensure that the `withIncrementalHydration()` call is added as an argument for the `provideClientHydration()` function call in your application config.")))));const e={primaryTmplIndex:t,loadingTmplIndex:i??null,placeholderTmplIndex:r??null,errorTmplIndex:s??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:dR.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:c??0};l?.(d,e,a,o),function(e,t,n){const i=MR(t);ngDevMode&&fw(e,i),e.data[i]=n}(d,h,e)}const g=u[h];FL(g,p,u);let v=null,y=null;if(g[6]?.length>0){const e=g[6][0].data;y=e[qS]??null,v=e[WS]}const b=[null,mR.Initial,null,null,null,null,y,v,null,null];!function(e,t,n){const i=e[1],r=MR(t);ngDevMode&&fw(i,r),e[r]=n}(u,h,b);let w=null;null!==y&&m&&(w=f.get(CT),w.add(y,{lView:u,tNode:p,lContainer:g}));const _=()=>{AR(b),null!==y&&w?.cleanup([y])};ER(0,b,()=>Uw(u,_)),zw(u,_)}function RF(e){const t=s_(),n=H_();if(ngDevMode&&$R(t[1],n,"when <expression>"),DF(0,t,n)&&cL(t,C_(),e)){const i=dg(null);try{const i=Boolean(e),r=OR(t,n)[vR];!1===i&&r===mR.Initial?iB(t,n):!0!==i||r!==mR.Initial&&r!==fR.Placeholder||xF(0,t,n)}finally{dg(i)}}}function BF(e){const t=s_(),n=H_();if(ngDevMode&&$R(t[1],n,"prefetch when <expression>"),DF(1,t,n)&&cL(t,C_(),e)){const i=dg(null);try{const i=Boolean(e),r=PR(t[1],n);!0===i&&r.loadingState===dR.NOT_STARTED&&bF(r,t,n)}finally{dg(i)}}}function FF(e){const t=s_(),n=H_();if(ngDevMode&&$R(t[1],n,"hydrate when <expression>"),!DF(2,t,n))return;const i=C_();
1if(PF(o_(),n).set(6,null),cL(t,i,e))if("undefined"!=typeof ngServerMode&&ngServerMode)xF(2,t,n);else{const i=t[9],r=dg(null);try{if(!0===Boolean(e)){const e=OR(t,n)[xR];ngDevMode&&YT(e),kF(i,e)}}finally{dg(r)}}}function VF(){const e=s_(),t=c_();ngDevMode&&$R(e[1],t,"hydrate never"),DF(2,e,t)&&(PF(o_(),t).set(7,null),"undefined"!=typeof ngServerMode&&ngServerMode&&xF(2,e,t))}function $F(){const e=s_(),t=c_();ngDevMode&&$R(e[1],t,"on idle"),DF(0,e,t)&&gF(zR)}function jF(){const e=s_(),t=c_();ngDevMode&&$R(e[1],t,"prefetch on idle"),DF(1,e,t)&&vF(zR)}function HF(){const e=s_(),t=c_();ngDevMode&&$R(e[1],t,"hydrate on idle"),DF(2,e,t)&&(PF(o_(),t).set(0,null),"undefined"!=typeof ngServerMode&&ngServerMode?xF(2,e,t):yF(zR,e,t))}function zF(){const e=s_(),t=c_();ngDevMode&&$R(e[1],t,"on immediate"),DF(0,e,t)&&(null===PR(e[1],t).loadingTmplIndex&&iB(e,t),xF(0,e,t))}function UF(){const e=s_(),t=c_();if(ngDevMode&&$R(e[1],t,"prefetch on immediate"),!DF(1,e,t))return;const n=PR(e[1],t);n.loadingState===dR.NOT_STARTED&&wF(n,e,t)}function qF(){const e=s_(),t=c_();if(ngDevMode&&$R(e[1],t,"hydrate on immediate"),DF(2,e,t))if(PF(o_(),t).set(1,null),"undefined"!=typeof ngServerMode&&ngServerMode)xF(2,e,t);else{const n=e[9],i=OR(e,t)[xR];ngDevMode&&YT(i),kF(n,i)}}function WF(e){const t=s_(),n=c_();ngDevMode&&$R(t[1],n,`on timer(${e}ms)`),DF(0,t,n)&&gF(qR(e))}function GF(e){const t=s_(),n=c_();ngDevMode&&$R(t[1],n,`prefetch on timer(${e}ms)`),DF(1,t,n)&&vF(qR(e))}function ZF(e){const t=s_(),n=c_();ngDevMode&&$R(t[1],n,`hydrate on timer(${e}ms)`),DF(2,t,n)&&(PF(o_(),n).set(5,{delay:e}),"undefined"!=typeof ngServerMode&&ngServerMode?xF(2,t,n):yF(qR(e),t,n))}function YF(e,t){const n=s_(),i=c_();ngDevMode&&$R(n[1],i,"on hover"+(-1===t?"":"(<target>)")),DF(0,n,i)&&(iB(n,i),"undefined"!=typeof ngServerMode&&ngServerMode||HR(n,i,e,t,pT,()=>xF(0,n,i),0))}function KF(e,t){const n=s_(),i=c_();if(ngDevMode&&$R(n[1],i,"prefetch on hover"+(-1===t?"":"(<target>)")),!DF(1,n,i))return;const r=PR(n[1],i);r.loadingState===dR.NOT_STARTED&&HR(n,i,e,t,pT,()=>bF(r,n,i),1)}function JF(){const e=s_(),t=c_();ngDevMode&&$R(e[1],t,"hydrate on hover"),DF(2,e,t)&&(PF(o_(),t).set(4,null),"undefined"!=typeof ngServerMode&&ngServerMode&&xF(2,e,t))}function XF(e,t){const n=s_(),i=c_();ngDevMode&&$R(n[1],i,"on interaction"+(-1===t?"":"(<target>)")),DF(0,n,i)&&(iB(n,i),"undefined"!=typeof ngServerMode&&ngServerMode||HR(n,i,e,t,hT,()=>xF(0,n,i),0))}function QF(e,t){const n=s_(),i=c_();if(ngDevMode&&$R(n[1],i,"prefetch on interaction"+(-1===t?"":"(<target>)")),!DF(1,n,i))return;const r=PR(n[1],i);r.loadingState===dR.NOT_STARTED&&HR(n,i,e,t,hT,()=>bF(r,n,i),1)}function eV(){const e=s_(),t=c_();ngDevMode&&$R(e[1],t,"hydrate on interaction"),DF(2,e,t)&&(PF(o_(),t).set(3,null),"undefined"!=typeof ngServerMode&&ngServerMode&&xF(2,e,t))}function tV(e,t){const n=s_(),i=c_();ngDevMode&&$R(n[1],i,"on viewport"+(-1===t?"":"(<target>)")),DF(0,n,i)&&(iB(n,i),"undefined"!=typeof ngServerMode&&ngServerMode||HR(n,i,e,t,jR,()=>xF(0,n,i),0))}function nV(e,t){const n=s_(),i=c_();if(ngDevMode&&$R(n[1],i,"prefetch on viewport"+(-1===t?"":"(<target>)")),!DF(1,n,i))return;const r=PR(n[1],i);r.loadingState===dR.NOT_STARTED&&HR(n,i,e,t,jR,()=>bF(r,n,i),1)}function iV(){const e=s_(),t=c_();ngDevMode&&$R(e[1],t,"hydrate on viewport"),DF(2,e,t)&&(PF(o_(),t).set(2,null),"undefined"!=typeof ngServerMode&&ngServerMode&&xF(2,e,t))}function rV(e,t){const n=s_(),i=C_();if(cL(n,i,t)){const r=o_(),s=H_();if(_M(s,r,n,e,t))Xb(s)&&cM(n,s.index),ngDevMode&&dM(n,r,s,e,t);else{ngDevMode&&Ik(s,2);const i=Aw(s,n);fM(n[11],i,null,s.value,e,t,null)}ngDevMode&&yM(r.data,s,e,i)}return rV}function sV(e,t,n,i){const r=s_(),s=C_();if(cL(r,s,t)){const o=o_(),a=H_();!function(e,t,n,i,r,s){ngDevMode&&(wv(i,PA,"Incoming value should never be NO_CHANGE."),Ik(e,2,`Attempted to set attribute \`${n}\` on a container node. Host bindings are not valid on ng-container or ng-template.`));const o=Aw(e,t);fM(t[11],o,s,e.value,n,i,r)}(a,r,e,t,n,i),ngDevMode&&yM(o.data,a,"attr."+e,s)}return sV}const oV=new $v("undefined"!=typeof ngDevMode&&ngDevMode?"AnimationsDisabled":"",{providedIn:"root",factory:()=>!1}),aV=new $v("undefined"!=typeof ngDevMode&&ngDevMode?"MaxAnimationTimeout":"",{providedIn:"root",factory:()=>lV}),lV=4e3,cV=!1,uV=("undefined"==typeof ngServerMode||!ngServerMode)&&"undefined"!=typeof document&&"function"==typeof document?.documentElement?.getAnimations;function dV(e){return e[9].get(oV,cV)}function hV(e,t){if(null==e||"string"!=typeof e&&"function"!=typeof e)throw new ev(650,`'${t}' value must be a string of CSS classes or an animation function, got ${ov(e)}`)}function pV(e,t){if(e.nodeType!==Node.ELEMENT_NODE)throw new ev(650,`'${t}' can only be used on an element node, got ${ov(e.nodeType)}`)}function fV(e){const t=gV.get(e);if(t){for(const e of t.cleanupFns)e();gV.delete(e)}vV.delete(e)}const mV=()=>{},gV=new WeakMap,vV=new WeakMap,yV=new WeakMap;function bV(e,t){const n=yV.get(e);if(n&&n.length>0){const e=n.findIndex(e=>e===t);e>-1&&n.splice(e,1)}0===n?.length&&yV.delete(e)}function wV(e,t){const n=yV.get(e)?.shift(),i=t[16];if(i){const t=XD(e.index,i),r=t?.previousSibling;n&&r&&n===r&&n.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function _V(e,t){yV.has(e)?yV.get(e)?.push(t):yV.set(e,[t])}function xV(e){const t=e[26]??={};return t.enter??=new Map}function kV(e){const t=e[26]??={};return t.leave??=new Map}function CV(e){const t="function"==typeof e?e():e;let n=Array.isArray(t)?t:null;return"string"==typeof t&&(n=t.trim().split(/\s+/).filter(e=>e)),n}function SV(e,t){const n=vV.get(t);return void 0===n||t===e.target&&(void 0!==n.animationName&&e.animationName===n.animationName||void 0!==n.propertyName&&e.propertyName===n.propertyName)}function TV(e,t,n){const i=e.get(t.index)??{animateFns:[]};i.animateFns.push(n),e.set(t.index,i)}function EV(e,t){if(e)for(const t of e)t();for(const e of t)e()}function IV(e,t){const n=kV(e).get(t.index);n&&(n.resolvers=void 0)}
1function AV(e,t,n,i,r){bV(t,n),EV(i,r),IV(e,t)}function DV(e){if(nD("NgAnimateEnter"),"undefined"!=typeof ngServerMode&&ngServerMode||!uV)return DV;ngDevMode&&hV(e,"animate.enter");const t=s_();if(dV(t))return DV;const n=c_();return wV(n,t),TV(xV(t),n,()=>function(e,t,n){const i=Aw(t,e);ngDevMode&&pV(i,"animate.enter");const r=e[11],s=e[9].get(dD),o=CV(n),a=[],l=e=>{if(e.target!==i)return;const t=e instanceof AnimationEvent?"animationend":"transitionend";s.runOutsideAngular(()=>{r.listen(i,t,c)})},c=e=>{e.target===i&&function(e,t,n){const i=gV.get(t);if(e.target===t&&i&&SV(e,t)){e.stopImmediatePropagation();for(const e of i.classList)n.removeClass(t,e);fV(t)}}(e,i,r)};if(o&&o.length>0){s.runOutsideAngular(()=>{a.push(r.listen(i,"animationstart",l)),a.push(r.listen(i,"transitionstart",l))}),function(e,t,n){const i=gV.get(e);if(i){for(const e of t)i.classList.push(e);for(const e of n)i.cleanupFns.push(e)}else gV.set(e,{classList:t,cleanupFns:n})}(i,o,a);for(const e of o)r.addClass(i,e);s.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(JA(i,vV,uV),!vV.has(i)){for(const e of o)r.removeClass(i,e);fV(i)}})})}}(t,n,e)),DD(t[9]),MD(t[9],xV(t)),DV}function MV(e){if(nD("NgAnimateEnter"),"undefined"!=typeof ngServerMode&&ngServerMode||!uV)return MV;ngDevMode&&hV(e,"animate.enter");const t=s_();if(dV(t))return MV;const n=c_();return wV(n,t),TV(xV(t),n,()=>function(e,t,n){const i=Aw(t,e);ngDevMode&&pV(i,"animate.enter"),n.call(e[8],{target:i,animationComplete:mV})}(t,n,e)),DD(t[9]),MD(t[9],xV(t)),MV}function OV(e){if(nD("NgAnimateLeave"),"undefined"!=typeof ngServerMode&&ngServerMode||!uV)return OV;ngDevMode&&hV(e,"animate.leave");const t=s_();if(dV(t))return OV;const n=c_();return wV(n,t),TV(kV(t),n,()=>function(e,t,n){const{promise:i,resolve:r}=mF(),s=Aw(t,e);ngDevMode&&pV(s,"animate.leave");const o=e[11],a=e[9].get(dD);XA.add(e),(kV(e).get(t.index).resolvers??=[]).push(r);const l=CV(n);return l&&l.length>0?function(e,t,n,i,r,s){!function(e,t){if(!uV)return;const n=gV.get(e);if(n&&n.classList.length>0&&function(e,t){for(const n of t)if(e.classList.contains(n))return!0;return!1}(e,n.classList))for(const i of n.classList)t.removeClass(e,i);fV(e)}(e,r);const o=[],a=kV(n).get(t.index)?.resolvers,l=s=>{if(s.target===e&&(s instanceof CustomEvent||SV(s,e))){if(s.stopImmediatePropagation(),vV.delete(e),bV(t,e),Array.isArray(t.projection))for(const t of i)r.removeClass(e,t);EV(a,o),IV(n,t)}};s.runOutsideAngular(()=>{o.push(r.listen(e,"animationend",l)),o.push(r.listen(e,"transitionend",l))}),_V(t,e);for(const t of i)r.addClass(e,t);s.runOutsideAngular(()=>{requestAnimationFrame(()=>{JA(e,vV,uV),vV.has(e)||(bV(t,e),EV(a,o),IV(n,t))})})}(s,t,e,l,o,a):r(),{promise:i,resolve:r}}(t,n,e)),DD(t[9]),OV}function PV(e){if(nD("NgAnimateLeave"),"undefined"!=typeof ngServerMode&&ngServerMode||!uV)return PV;ngDevMode&&hV(e,"animate.leave");const t=s_(),n=c_();return wV(n,t),XA.add(t),TV(kV(t),n,()=>function(e,t,n){const{promise:i,resolve:r}=mF(),s=Aw(t,e);ngDevMode&&pV(s,"animate.leave");const o=[],a=e[11],l=dV(e),c=e[9].get(dD),u=e[9].get(aV);(kV(e).get(t.index).resolvers??=[]).push(r);const d=kV(e).get(t.index)?.resolvers;if(l)AV(e,t,s,d,o);else{const i=setTimeout(()=>AV(e,t,s,d,o),u),r={target:s,animationComplete:()=>{AV(e,t,s,d,o),clearTimeout(i)}};_V(t,s),c.runOutsideAngular(()=>{o.push(a.listen(s,"animationend",()=>{AV(e,t,s,d,o),clearTimeout(i)},{once:!0}))}),n.call(e[8],r)}return{promise:i,resolve:r}}(t,n,e)),DD(t[9]),PV}function LV(){const e=s_()[15][8];return ngDevMode&&Tv(e,"Expected component instance to be defined"),e}class NV{destroy(e){}updateValue(e,t){}swap(e,t){const n=Math.min(e,t),i=Math.max(e,t),r=this.detach(i);if(i-n>1){const e=this.detach(n);this.attach(n,r),this.attach(i,e)}else this.attach(n,r)}move(e,t){this.attach(t,this.detach(e))}}function RV(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function BV(e,t,n){const i=e.get(t);void 0!==i?i.add(n):e.set(t,new Set([n]))}function FV(e,t,n,i){return!(void 0===t||!t.has(i)||(e.attach(n,t.get(i)),t.delete(i),0))}function VV(e,t,n,i,r){if(FV(e,t,i,n(i,r)))e.updateValue(i,r);else{const t=e.create(i,r);e.attach(i,t)}}function $V(e,t,n,i){const r=new Set;for(let s=t;s<=n;s++)r.add(i(s,e.at(s)));return r}class jV{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const t=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);if(ngDevMode&&n===t)throw new Error(`Detected a duplicated value ${t} for the key ${e}`);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}}function HV(e,t,n,i,r,s,o,a){nD("NgControlFlow");const l=s_(),c=o_();return sR(l,c,e,t,n,i,r,Rw(c.consts,s),256,o,a),zV}function zV(e,t,n,i,r,s,o,a){nD("NgControlFlow");const l=s_(),c=o_();return sR(l,c,e,t,n,i,r,Rw(c.consts,s),512,o,a),zV}function UV(e,t){nD("NgControlFlow");const n=s_(),i=C_(),r=n[i]!==PA?n[i]:-1,s=-1!==r?QV(n,27+r):void 0;if(cL(n,i,e)){const i=dg(null);try{if(void 0!==s&&YM(s,0),-1!==e){const i=27+e,r=QV(n,i),s=t$(n[1],i),o=CP(r,s,n);ZM(r,CM(n,s,t,{dehydratedView:o}),0,SM(s,o))}}finally{dg(i)}}else if(void 0!==s){const e=GM(s,0);void 0!==e&&(e[8]=t)}}class qV{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-10}}function WV(e){return e}function GV(e,t){return t}class ZV{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}}function YV(e,t,n,i,r,s,o,a,l,c,u,d,h){nD("NgControlFlow"),ngDevMode&&gv(o,`A track expression must be a function, was ${typeof o} instead.`);const p=s_(),f=o_(),m=void 0!==l,g=s_(),v=a?o.bind(g[15][8]):o,y=new ZV(m,v);g[27+e]=y,sR(p,f,e+1,t,n,i,r,Rw(f.consts,s),256),m&&(ngDevMode&&Tv(c,"Missing number of declarations for the empty repeater block."),ngDevMode&&Tv(u,"Missing number of bindings for the empty repeater block."),sR(p,f,e+2,l,c,u,d,Rw(f.consts,h),512))}class KV{created=0;destroyed=0;reset(){this.created=0,this.destroyed=0}recordCreate(){this.created++}recordDestroy(){this.destroyed++}wasReCreated(e){return e>0&&this.created===this.destroyed&&this.created===e}}class JV extends NV{lContainer;hostLView;templateTNode;operationsCounter=ngDevMode?new KV:void 0;needsIndexUpdate=!1;constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-10}at(e){return this.getLView(e)[8].$implicit}attach(e,t){const n=t[6];this.needsIndexUpdate||=e!==this.length,ZM(this.lContainer,t,e,SM(this.templateTNode,n)),function(e,t){if(e.length<=10)return;const n=e[10+t],i=n?n[26]:void 0;n&&i&&i.detachedLeaveAnimationFns&&i.detachedLeaveAnimationFns.length>0&&(!function(e,t){const n=e.get(ED);if(t.detachedLeaveAnimationFns){for(const e of t.detachedLeaveAnimationFns)n.queue.delete(e);t.detachedLeaveAnimationFns=void 0}}(n[9],i),XA.delete(n),i.detachedLeaveAnimationFns=void 0)}(this.lContainer,e)}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function(e,t){if(e.length<=10)return;const n=e[10+t],i=n?n[26]:void 0;i&&i.leave&&i.leave.size>0&&(i.detachedLeaveAnimationFns=[])}(this.lContainer,e),function(e,t){const n=KM(e,t);return ngDevMode&&dw(n),n}(this.lContainer,e)}create(e,t){const n=xP(this.lContainer,this.templateTNode.tView.ssrId),i=CM(this.hostLView,this.templateTNode,new qV(this.lContainer,t,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),i}destroy(e){BD(e[1],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[8].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}
1updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[8].$index=e}getLView(e){return e$(this.lContainer,e)}}function XV(e){const t=dg(null),n=$_();try{const t=s_(),i=t[1],r=t[n],s=n+1,o=QV(t,s);if(void 0===r.liveCollection){const e=t$(i,s);r.liveCollection=new JV(o,t,e)}else r.liveCollection.reset();const a=r.liveCollection;if(function(e,t,n){let i,r,s=0,o=e.length-1;const a=ngDevMode?new Map:void 0;if(Array.isArray(t)){let l=t.length-1;for(;s<=o&&s<=l;){const c=e.at(s),u=t[s];ngDevMode&&BV(a,n(s,u),s);const d=RV(s,c,s,u,n);if(0!==d){d<0&&e.updateValue(s,u),s++;continue}const h=e.at(o),p=t[l];ngDevMode&&BV(a,n(l,p),l);const f=RV(o,h,l,p,n);if(0!==f){f<0&&e.updateValue(o,p),o--,l--;continue}const m=n(s,c),g=n(o,h),v=n(s,u);if(Object.is(v,g)){const t=n(l,p);Object.is(t,m)?(e.swap(s,o),e.updateValue(o,p),l--,o--):e.move(o,s),e.updateValue(s,u),s++;continue}if(i??=new jV,r??=$V(e,s,o,n),FV(e,i,s,v))e.updateValue(s,u),s++,o++;else if(r.has(v))i.set(m,e.detach(s)),o--;else{const n=e.create(s,t[s]);e.attach(s,n),s++,o++}}for(;s<=l;)VV(e,i,n,s,t[s]),s++}else if(null!=t){const l=t[Symbol.iterator]();let c=l.next();for(;!c.done&&s<=o;){const t=e.at(s),u=c.value;ngDevMode&&BV(a,n(s,u),s);const d=RV(s,t,s,u,n);if(0!==d)d<0&&e.updateValue(s,u),s++,c=l.next();else{i??=new jV,r??=$V(e,s,o,n);const a=n(s,u);if(FV(e,i,s,a))e.updateValue(s,u),s++,o++,c=l.next();else if(r.has(a)){const r=n(s,t);i.set(r,e.detach(s)),o--}else e.attach(s,e.create(s,u)),s++,o++,c=l.next()}}for(;!c.done;)VV(e,i,n,e.length,c.value),c=l.next()}for(;s<=o;)e.destroy(e.detach(o--));if(i?.forEach(t=>{e.destroy(t)}),ngDevMode){let e=[];for(const[t,n]of a)if(n.size>1){const i=[...n].sort((e,t)=>e-t);for(let n=1;n<i.length;n++)e.push(`key "${cy(t)}" at index "${i[n-1]}" and "${i[n]}"`)}if(e.length>0){const t=tv(-955,"The provided track expression resulted in duplicated keys for a given collection. Adjust the tracking expression such that it uniquely identifies all the items in the collection. Duplicated keys were: \n"+e.join(", \n")+".");console.warn(t)}}}(a,e,r.trackByFn),ngDevMode&&r.trackByFn===GV&&a.operationsCounter?.wasReCreated(a.length)&&e$(o,0).length-27>2){const e=tv(-956,`The configured tracking expression (track by identity) caused re-creation of the entire collection of size ${a.length}. This is an expensive operation requiring destruction and subsequent creation of DOM nodes, directives, components etc. Please review the "track expression" and make sure that it uniquely identifies items in a collection.`);console.warn(e)}if(a.updateIndexes(),r.hasEmptyBlock){const e=C_(),r=0===a.length;if(cL(t,e,r)){const e=n+2,s=QV(t,e);if(r){const n=t$(i,e),r=CP(s,n,t);ZM(s,CM(t,n,void 0,{dehydratedView:r}),0,SM(n,r))}else i.firstUpdatePass&&pP(s),YM(s,0)}}}finally{dg(t)}}function QV(e,t){const n=e[t];return ngDevMode&&cw(n),n}function e$(e,t){const n=GM(e,t);return ngDevMode&&dw(n),n}function t$(e,t){const n=Dw(e,t);return ngDevMode&&aw(n),n}function n$(e,t,n){const i=s_(),r=C_();if(cL(i,r,t)){const s=o_(),o=H_();aM(o,i,e,t,i[11],n),ngDevMode&&yM(s.data,o,e,r)}return n$}function i$(e,t,n,i,r){_M(t,e,n,r?"class":"style",i)}function r$(e,t,n,i){const r=s_();ngDevMode&&sw(r,e);const s=r[1],o=e+27,a=s.firstCreatePass?tL(o,r,2,t,pM,Qw(),n,i):s.data[o];if(gM(a,r,e,t,u$),Qb(a)){const e=r[1];iM(e,r,a),hE(e,a,r)}return null!=i&&rM(r,a),ngDevMode&&r[1].firstCreatePass&&xE(r,a),r$}function s$(){const e=o_(),t=c_();ngDevMode&&Tv(t,"No parent node to close.");const n=vM(t);return ngDevMode&&Ik(n,3),e.firstCreatePass&&nL(e,n),t_(n)&&r_(),Xw(),null!=n.classesWithoutHost&&8&n.flags&&i$(e,n,s_(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&!!(16&n.flags)&&i$(e,n,s_(),n.stylesWithoutHost,!1),s$}function o$(e,t,n,i){return r$(e,t,n,i),s$(),o$}function a$(e,t,n,i){const r=s_();ngDevMode&&sw(r,e);const s=r[1],o=e+27,a=s.firstCreatePass?iL(o,s,2,t,n,i):s.data[o];return gM(a,r,e,t,u$),null!=i&&rM(r,a),ngDevMode&&r[1].firstCreatePass&&xE(r,a),a$}function l$(){const e=c_();ngDevMode&&Tv(e,"No parent node to close.");const t=vM(e);return ngDevMode&&Ik(t,3),t_(t)&&r_(),Xw(),l$}function c$(e,t,n,i){return a$(e,t,n,i),l$(),c$}let u$=(e,t,n,i,r)=>(Y_(!0),FI(t[11],i,W_()));function d$(e,t,n,i,r){const s=!tE(t,n);if(Y_(s),s)return FI(t[11],i,W_());const o=t[6],a=zO(o,e,t,n);if(ngDevMode&&sO(a,Node.ELEMENT_NODE,i,t,n),ngDevMode&&HT(a),JT(o,r)&&(ngDevMode&&aO(a.nextSibling,t,n),UT(o,r,a.nextSibling)),o&&(IC(n)||AC(a)))if(Xb(n))!function(e){Zw.skipHydrationRootTNode=e}(n),zI(a),ngDevMode&&function(e){if(!ngDevMode)throw new Error("Calling `markRNodeAsSkippedByHydration` in prod mode is not supported and likely a mistake.");$T(e,{status:FT.Skipped}),ngDevMode.componentsSkippedHydration++}(a);else if(ngDevMode)throw function(e){const t=`${fO(e)}\n\n`;return new ev(-504,"The `ngSkipHydration` flag is applied on a node that doesn't act as a component host. Hydration can be skipped only on per-component basis.\n\n"+t+"Please move the `ngSkipHydration` attribute to the component host element.\n\n")}(a);return a}function h$(e,t,n){const i=s_();ngDevMode&&sw(i,e);const r=i[1],s=e+27,o=r.firstCreatePass?tL(s,i,8,"ng-container",pM,Qw(),t,n):r.data[s];if(gM(o,i,e,"ng-container",y$),Qb(o)){const e=i[1];iM(e,i,o),hE(e,o,i)}return null!=n&&rM(i,o),h$}function p$(){const e=o_(),t=c_();ngDevMode&&Tv(t,"No parent node to close.");const n=vM(t);return e.firstCreatePass&&nL(e,n),ngDevMode&&Ik(n,8),p$}function f$(e,t,n){return h$(e,t,n),p$(),f$}function m$(e,t,n){const i=s_();ngDevMode&&sw(i,e);const r=i[1],s=e+27,o=r.firstCreatePass?iL(s,r,8,"ng-container",t,n):r.data[s];return gM(o,i,e,"ng-container",y$),null!=n&&rM(i,o),m$}function g$(){const e=c_();ngDevMode&&Tv(e,"No parent node to close.");const t=vM(e);return ngDevMode&&Ik(t,8),p$}function v$(e,t,n){return m$(e,t,n),g$(),v$}let y$=(e,t,n,i,r)=>(Y_(!0),BI(t[11],ngDevMode?i:""));function b$(e,t,n,i,r){let s;
1const o=!tE(t,n);if(Y_(o),o)return BI(t[11],ngDevMode?i:"");const a=t[6],l=zO(a,e,t,n);ngDevMode&&aO(l,t,n);const c=KT(a,r);return ngDevMode&&pv(c,"Unexpected state: hydrating an <ng-container>, but no hydration info is available."),UT(a,r,l),s=UO(c,l),ngDevMode&&(sO(s,Node.COMMENT_NODE,null,t,n),HT(s)),s}function w$(){return s_()}function _$(e,t,n){const i=s_(),r=C_();if(cL(i,r,t)){const s=o_(),o=H_();lM(o,i,e,t,i[11],n),ngDevMode&&yM(s.data,o,e,r)}return _$}function x$(e,t,n){const i=s_(),r=C_();if(cL(i,r,t)){const s=o_(),o=H_();lM(o,i,e,t,bM(A_(s.data),o,i),n),ngDevMode&&yM(s.data,o,e,r)}return x$}const k$=void 0;var C$=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],k$,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],k$,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",k$,"{1} 'at' {0}",k$],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let S$={};function T$(e,t,n){"string"!=typeof t&&(n=t,t=e[O$.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),S$[t]=e,n&&(S$[t][O$.ExtraData]=n)}function E$(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=D$(t);if(n)return n;const i=t.split("-")[0];if(n=D$(i),n)return n;if("en"===i)return C$;throw new ev(701,ngDevMode&&`Missing locale data for the locale "${e}".`)}function I$(e){return E$(e)[O$.CurrencyCode]||null}function A$(e){return E$(e)[O$.PluralCase]}function D$(e){if(!(e in S$)){const t=nv.ng&&nv.ng.common&&nv.ng.common.locales&&nv.ng.common.locales[e];return void 0!==t&&(S$[e]=t),t}return S$[e]}function M$(){S$={}}var O$;!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(O$||(O$={}));const P$=["zero","one","two","few","many"],L$="en-US",N$={marker:"element"},R$={marker:"ICU"};var B$;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(B$||(B$={}));let F$=L$;function V$(e){ngDevMode&&Tv(e,"Expected localeId to be defined"),"string"==typeof e&&(F$=e.toLowerCase().replace(/_/g,"-"))}let $$=0,j$=0;function H$(e,t,n){const i=e[11];switch(n){case Node.COMMENT_NODE:return BI(i,t);case Node.TEXT_NODE:return NI(i,t);case Node.ELEMENT_NODE:return FI(i,t,null)}}let z$=(e,t,n,i)=>(Y_(!0),H$(e,n,i));function U$(e,t,n,i){const r=e[6],s=t-27,o=!QO()||!r||e_()||eE(r,s);if(Y_(o),o)return H$(e,n,i);const a=jO(r,s);return ngDevMode&&Tv(a,"expected native element"),ngDevMode&&vv(a.nodeType,i,"expected matching nodeType"),ngDevMode&&i===Node.ELEMENT_NODE&&vv(a.tagName.toLowerCase(),n.toLowerCase(),"expecting matching tagName"),ngDevMode&&HT(a),a}function q$(e,t,n,i){ngDevMode&&Iv(i);const r=n[11];let s,o=null;for(let a=0;a<t.length;a++){const l=t[a];if("string"==typeof l){const e=t[++a];null===n[e]&&(ngDevMode&&Av(n,e),n[e]=z$(n,e,l,Node.TEXT_NODE))}else if("number"==typeof l)switch(1&l){case 0:const c=DO(l);let u,d;if(null===o&&(o=c,s=r.parentNode(i)),c===o?(u=i,d=s):(u=null,d=Tw(n[c])),null!==d){ngDevMode&&Iv(d);const t=MO(l);ngDevMode&&kv(t,27,"Missing ref");const i=n[t];ngDevMode&&Iv(i),VI(r,d,i,u,!1);const s=EO(e,t);if(null!==s&&"object"==typeof s){ngDevMode&&lw(s);const t=AO(s,n);null!==t&&q$(e,s.create[t],n,n[s.anchorIdx])}}break;case 1:const h=l>>>1,p=t[++a],f=t[++a];fM(r,Iw(h,n),null,null,p,f,null);break;default:if(ngDevMode)throw new ev(700,`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case R$:const e=t[++a],i=t[++a];null===n[i]&&(ngDevMode&&vv(typeof e,"string",`Expected "${e}" to be a comment node value`),ngDevMode&&mw(n,i),zC(n[i]=z$(n,i,e,Node.COMMENT_NODE),n));break;case N$:const r=t[++a],s=t[++a];null===n[s]&&(ngDevMode&&vv(typeof r,"string",`Expected "${r}" to be an element node tag name`),ngDevMode&&mw(n,s),zC(n[s]=z$(n,s,r,Node.ELEMENT_NODE),n));break;default:ngDevMode&&Ev(`Unable to determine the type of mutate operation for "${l}"`)}}}function W$(e,t,n,i,r){for(let s=0;s<n.length;s++){const o=n[s],a=n[++s];if(o&r){let r="";for(let o=s+1;o<=s+a;o++){const s=n[o];if("string"==typeof s)r+=s;else if("number"==typeof s)if(s<0)r+=ly(t[i-s]);else{const a=s>>>2;switch(3&s){case 1:const s=n[++o],l=n[++o],c=e.data[a];if(ngDevMode&&Tv(c,"Experting TNode or string"),"string"==typeof c)fM(t[11],t[a],null,c,s,r,l);else{const e=$_();j_(a);try{aM(c,t,s,r,t[11],l)}finally{j_(e)}}break;case 0:const u=t[a];null!==u&&RI(t[11],u,r);break;case 2:Z$(e,EO(e,a),t,r);break;case 3:G$(e,EO(e,a),i,t)}}}}else{const r=n[s+1];if(r>0&&!(3&~r)){const n=EO(e,r>>>2);t[n.currentCaseLViewIndex]<0&&G$(e,n,i,t)}}s+=a}}function G$(e,t,n,i){ngDevMode&&Av(i,t.currentCaseLViewIndex);let r=i[t.currentCaseLViewIndex];if(null!==r){let s=$$;r<0&&(r=i[t.currentCaseLViewIndex]=~r,s=-1),W$(e,i,t.update[r],n,s)}}function Z$(e,t,n,i){const r=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){const n=A$(t)(parseInt(e,10)),i=P$[n];return void 0!==i?i:"other"}(t,F$);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(AO(t,n)!==r&&(Y$(e,t,n),n[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const i=n[t.anchorIdx];i&&(ngDevMode&&Iv(i),q$(e,t.create[r],n,i)),function(e,t,n){uP(e,t,n)}(n,t.anchorIdx,r)}}function Y$(e,t,n){let i=AO(t,n);if(null!==i){const r=t.remove[i];for(let t=0;t<r.length;t++){const i=r[t];if(i>0){const e=Iw(i,n);null!==e&&HI(n[11],e)}else Y$(e,EO(e,~i),n)}}}function K$(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const i=t[e++],r=t[e],s=(i&B$.COMMENT)===B$.COMMENT,o=(i&B$.APPEND_EAGERLY)===B$.APPEND_EAGERLY,a=i>>>B$.SHIFT;n.push(`lView[${a}] = document.${s?"createComment":"createText"}(${JSON.stringify(r)});`),o&&n.push(`parent.appendChild(lView[${a}]);`)}return n}function J$(e){const t=new ej(e||(Array.isArray(this)?this:[]));let n=[];function i(e){const n=e>>>2;switch(3&e){case 0:return`(lView[${n}] as Text).textContent = $$$`;case 1:const e=t.consumeString(),i=t.consumeFunction();return`(lView[${n}] as Element).setAttribute('${e}', ${i?`(${i})($$$)`:"$$$"})`;case 2:return`icuSwitchCase(${n}, $$$)`;case 3:return`icuUpdateCase(${n})`}throw new Error("unexpected OpCode")}for(;t.hasMore();){let e=t.consumeNumber(),r=t.consumeNumber();const s=t.i+r,o=[];let a="";for(;t.i<s;){let e=t.consumeNumberOrString();if("string"==typeof e)a+=e;else if(e<0)a+="${lView[i"+e+"]}";else{const t=i(e);o.push(t.replace("$$$","`"+a+"`")+";"),a=""}}n.push(`if (mask & 0b${e.toString(2)}) { ${o.join(" ")} }`)}return n}
1function X$(e){const t=new ej(e||(Array.isArray(this)?this:[]));let n=[];function i(e){const n=DO(e),i=MO(e);switch(OO(e)){case 0:return`(lView[${n}] as Element).appendChild(lView[${r}])`;case 1:return`(lView[${i}] as Element).setAttribute("${t.consumeString()}", "${t.consumeString()}")`}throw new Error("Unexpected OpCode: "+OO(e))}let r=-1;for(;t.hasMore();){let e=t.consumeNumberStringOrMarker();if(e===R$){const e=t.consumeString();r=t.consumeNumber(),n.push(`lView[${r}] = document.createComment("${e}")`)}else if(e===N$){const e=t.consumeString();r=t.consumeNumber(),n.push(`lView[${r}] = document.createElement("${e}")`)}else if("string"==typeof e)r=t.consumeNumber(),n.push(`lView[${r}] = document.createTextNode("${e}")`);else{if("number"!=typeof e)throw new Error("Unexpected value");{const t=i(e);t&&n.push(t)}}}return n}function Q$(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const i=t[e];i>0?n.push(`remove(lView[${i}])`):n.push(`removeNestedICU(${~i})`)}return n}class ej{i=0;codes;constructor(e){this.codes=e}hasMore(){return this.i<this.codes.length}consumeNumber(){let e=this.codes[this.i++];return pv(e,"expecting number in OpCode"),e}consumeString(){let e=this.codes[this.i++];return mv(e,"expecting string in OpCode"),e}consumeFunction(){let e=this.codes[this.i++];if(null===e||"function"==typeof e)return e;throw new Error("expecting function in OpCode")}consumeNumberOrString(){let e=this.codes[this.i++];return"string"==typeof e||pv(e,"expecting number or string in OpCode"),e}consumeNumberStringOrMarker(){let e=this.codes[this.i++];return"string"==typeof e||"number"==typeof e||e==R$||e==N$||pv(e,"expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode"),e}}const tj=/�(\d+):?\d*�/gi,nj=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,ij=/�(\d+)�/,rj=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,sj="�",oj=/�\/?\*(\d+:\d+)�/gi,aj=/�(\/?[#*]\d+):?\d*�/gi,lj=/\uE500/g;function cj(e,t){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{get:t,enumerable:!1})}function uj(e,t,n,i,r,s,o){const a=FA(e,i,1,null);let l=a<<B$.SHIFT,c=d_();t===c&&(c=null),null===c&&(l|=B$.APPEND_EAGERLY),o&&(l|=B$.COMMENT,void 0===qA&&(qA=RO())),r.push(l,null===s?"":s);const u=_O(e,a,o?32:1,null===s?ngDevMode?"{{?}}":"":s,null);xO(n,u);const d=u.index;return h_(u,!1),null!==c&&t!==c&&function(e,t){ngDevMode&&aw(e);let n=e.insertBeforeIndex;null===n?(ZD(yO,bO),n=e.insertBeforeIndex=[null,t]):(vv(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(c,d),u}function dj(e,t,n,i,r,s,o,a){const l=a.match(tj),c=uj(t,n,i,o,r,l?null:a,!1).index;l&&hj(s,a,c,null,0,null),e.push({kind:0,index:c})}function hj(e,t,n,i,r,s){ngDevMode&&Cv(n,27,"Index must be in absolute LView offset");const o=e.length,a=o+1;e.push(null,null);const l=o+2;ngDevMode&&cj(e,J$);const c=t.split(tj);let u=0;for(let t=0;t<c.length;t++){const n=c[t];if(1&t){const t=r+parseInt(n,10);e.push(-1-t),u|=fj(t)}else""!==n&&e.push(n)}return e.push(n<<2|(i?1:0)),i&&e.push(i,s),e[o]=u,e[a]=e.length-l,u}function pj(e){let t=0;for(let n=0;n<e.length;n++){const i=e[n];"number"==typeof i&&i<0&&t++}return t}function fj(e){return 1<<Math.min(e,31)}function mj(e){let t,n,i="",r=0,s=!1;for(;null!==(t=oj.exec(e));)s?t[0]===`${sj}/*${n}${sj}`&&(r=t.index,s=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],s=!0);return ngDevMode&&vv(s,!1,`Tag mismatch: unable to find the end of the sub-template in the translation "${e}"`),i+=e.slice(r),i}function gj(e,t,n,i,r,s,o){ngDevMode&&Tv(s,"ICU expression must be defined");let a=0;const l={type:s.type,currentCaseLViewIndex:FA(t,n,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(fj(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(i,s,o),function(e,t,n){const i=e.data[t];ngDevMode&&vv(null===i||i.hasOwnProperty("tView"),!0,"We expect to get 'null'|'TIcuContainer'"),null===i?e.data[t]=n:(ngDevMode&&Ik(i,32),i.value=n)}(t,o,l);const c=s.values,u=[];for(let e=0;e<c.length;e++){const o=c[e],d=[];for(let e=0;e<o.length;e++){const t=o[e];if("string"!=typeof t){const n=d.push(t)-1;o[e]=`\x3c!--�${n}�--\x3e`}}const h=[];u.push(h),a=bj(h,t,l,n,i,r,s.cases[e],o.join(""),d)|a}a&&function(e,t,n){e.push(t,1,n<<2|3)}(i,a,o),e.push({kind:3,index:o,cases:u,currentCaseLViewIndex:l.currentCaseLViewIndex})}function vj(e){const t=[],n=[];let i=1,r=0;const s=yj(e=e.replace(rj,function(e,t,n){return i="select"===n?0:1,r=parseInt(t.slice(1),10),""}));for(let e=0;e<s.length;){let r=s[e++].trim();1===i&&(r=r.replace(/\s*(?:=)?(\w+)\s*/,"$1")),r.length&&t.push(r);const o=yj(s[e++]);t.length>n.length&&n.push(o)}return{type:i,mainBinding:r,cases:t,values:n}}function yj(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const r=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);rj.test(n)?i.push(vj(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const o=e.substring(t);return i.push(o),i}function bj(e,t,n,i,r,s,o,a,l){const c=[],u=[],d=[];ngDevMode&&(cj(c,X$),cj(u,Q$),cj(d,J$)),n.cases.push(o),n.create.push(c),n.remove.push(u),n.update.push(d);const h=tI(yS()).getInertBodyElement(a);ngDevMode&&Tv(h,"Unable to generate inert body element");const p=DI(h)||h;return p?wj(e,t,n,i,r,c,u,d,p,s,l,0):0}function wj(e,t,n,i,r,s,o,a,l,c,u,d){let h=0,p=l.firstChild;for(;p;){const l=FA(t,i,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:const f=p,m=f.tagName.toLowerCase();if(fI.hasOwnProperty(m)){kj(s,N$,m,c,l),t.data[l]=m;const g=f.attributes;for(let e=0;e<g.length;e++){const t=g.item(e),n=t.name.toLowerCase(),i=!!t.value.match(tj),r=f.namespaceURI,o=r&&OE[r],c=o?`:${o}:${m}`:m;if(i)yI.hasOwnProperty(n)?hj(a,t.value,l,t.name,0,Sj(n,c)):ngDevMode&&console.warn(`WARNING: ignoring unsafe attribute value ${n} on element ${m} (see ${Qg})`);else if(yI[n]){let e=t.value;Sj(n,c)?("undefined"!=typeof ngDevMode&&ngDevMode&&console.warn(`WARNING: ignoring unsafe attribute ${n} on element ${m} (see ${Qg})`),Cj(s,l,t.name,"unsafe:blocked")):Cj(s,l,t.name,e)}else"undefined"!=typeof ngDevMode&&ngDevMode&&console.warn(`WARNING: ignoring unknown attribute name ${n} on element ${m} (see ${Qg})`)}const v={kind:1,index:l,children:[]};e.push(v),h=wj(v.children,t,n,i,r,s,o,a,p,l,u,d+1)|h,_j(o,l,d)}break;case Node.TEXT_NODE:const g=p.textContent||"",v=g.match(tj);kj(s,null,v?"":g,c,l),_j(o,l,d),v&&(h=hj(a,g,l,null,0,null)|h),e.push({kind:0,index:l});break;case Node.COMMENT_NODE:const y=ij.exec(p.textContent||"");if(y){const n=parseInt(y[1],10),a=u[n];kj(s,R$,ngDevMode?`nested ICU ${n}`:"",c,l),gj(e,t,i,r,c,a,l),xj(o,l,d)}}p=p.nextSibling}return h}
1function _j(e,t,n){0===n&&e.push(t)}function xj(e,t,n){0===n&&(e.push(~t),e.push(t))}function kj(e,t,n,i,r){var s,o;null!==t&&e.push(t),e.push(n,r,(s=i,o=r,ngDevMode&&Cv(s,0,"Missing parent index"),ngDevMode&&kv(o,0,"Missing ref index"),s<<17|o<<1))}function Cj(e,t,n,i){e.push(t<<1|1,n,i)}function Sj(e,t){const n=e.toLowerCase(),i=t?function(e){const t=e.toLowerCase(),[n,i]=qI(t,!1);return n===DE||n===ME?`:${n}:${i}`:i}(t):"*",[r]=qI(i,!1),s=kw();switch(s[`${i}|${n}`]||(r?s[`:${r}:*|${n}`]:void 0)||s[`*|${n}`]||bw.NONE){case bw.HTML:return WI;case bw.STYLE:return GI;case bw.SCRIPT:return KI;case bw.URL:return sI;case bw.RESOURCE_URL:return YI;case bw.ATTRIBUTE_NO_BINDING:return sA;default:return null}}const Tj=0,Ej=/\[(�.+?�?)\]/,Ij=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Aj=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Dj=/{([A-Z0-9_]+)}/g,Mj=/�I18N_EXP_(ICU(_\d+)?)�/g,Oj=/\/\*/,Pj=/\d+\:(\d+)/;function Lj(e,t,n=-1){const i=o_(),r=s_(),s=27+e;ngDevMode&&Tv(i,"tView should be defined");const o=Rw(i.consts,t),a=d_();i.firstCreatePass&&function(e,t,n,i,r,s){const o=d_(),a=[],l=[],c=[[]],u=[[]];ngDevMode&&(cj(a,K$),cj(l,J$)),r=function(e,t){if(PO(t))return mj(e);{const n=e.indexOf(`:${t}${sj}`)+2+t.toString().length,i=e.search(new RegExp(`${sj}\\/\\*\\d+:${t}${sj}`));return mj(e.substring(n,i))}}(r,s);const d=(h=r,h.replace(lj," ")).split(aj);var h;for(let s=0;s<d.length;s++){let h=d[s];if(1&s){const t=47===h.charCodeAt(0),n=h.charCodeAt(t?1:0);ngDevMode&&Dv(n,42,35);const i=27+Number.parseInt(h.substring(t?2:1));if(t)c.shift(),u.shift(),h_(d_(),!1);else{const t=IO(e,c[0],i);c.unshift([]),h_(t,!0);const r={kind:2,index:i,children:[],type:35===n?0:1};u[0].push(r),u.unshift(r.children)}}else{const s=yj(h);for(let d=0;d<s.length;d++){let h=s[d];if(1&d){const s=h;if("object"!=typeof s)throw new Error(`Unable to parse ICU expression in "${r}" message.`);const d=uj(e,o,c[0],n,a,ngDevMode?`ICU ${i}:${s.mainBinding}`:"",!0).index;ngDevMode&&Cv(d,27,"Index must be in absolute LView offset"),gj(u[0],e,n,l,t,s,d)}else{const t=h;ngDevMode&&mv(t,"Parsed ICU part should be string"),""!==t&&dj(u[0],e,o,c[0],a,l,n,t)}}}}e.data[i]={create:a,update:l,ast:u[0],parentTNodeIndex:t}}(i,null===a?0:a.index,r,s,o,n),2===i.type?r[15][2]|=32:r[2]|=32;const l=i.data[s],c=zD(i,a===r[5]?null:a,r),u=a&&8&a.type?r[a.index]:null;!function(e,t,n,i){JO(e,t,n,i)}(r,s,a,n),function(e,t,n,i){const r=e[11];for(let s=0;s<t.length;s++){const o=t[s++],a=t[s],l=(o&B$.COMMENT)===B$.COMMENT,c=(o&B$.APPEND_EAGERLY)===B$.APPEND_EAGERLY,u=o>>>B$.SHIFT;let d=e[u],h=!1;null===d&&(d=e[u]=z$(e,u,a,l?Node.COMMENT_NODE:Node.TEXT_NODE),h=Z_()),c&&null!==n&&h&&VI(r,n,d,i,!1)}}(r,l.create,c,u),T_(!0)}function Nj(){T_(!1)}function Rj(e,t,n){Lj(e,t,n),Nj()}function Bj(e,t){const n=o_();ngDevMode&&Tv(n,"tView should be defined"),function(e,t,n){const i=c_(),r=i.index,s=[];if(ngDevMode&&cj(s,J$),e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],o=n[e+1];if(""!==o){if(nj.test(o))throw new Error(`ICU expressions are not supported in attributes. Message: "${o}".`);const e=i.namespace?`:${i.namespace}:${i.value}`:i.value;hj(s,o,r,t,pj(s),Sj(t,e))}}e.data[t]=s}}(n,e+27,Rw(n.consts,t))}function Fj(e){return cL(s_(),C_(),e)&&($$|=1<<Math.min(j$,31)),j$++,Fj}function Vj(e){!function(e,t,n){if(j$>0){ngDevMode&&Tv(e,"tView should be defined");const i=e.data[n];W$(e,t,Array.isArray(i)?i:i.update,x_()-j$-1,$$)}$$=0,j$=0}(o_(),s_(),e+27)}function $j(e,t={}){return function(e,t={}){let n=e;if(Ej.test(e)){const e={},t=[Tj];n=n.replace(Ij,(n,i,r)=>{const s=i||r,o=e[s]||[];if(o.length||(s.split("|").forEach(e=>{const t=e.match(Pj),n=t?parseInt(t[1],10):Tj,i=Oj.test(e);o.push([n,i,e])}),e[s]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${s}`);const a=t[t.length-1];let l=0;for(let e=0;e<o.length;e++)if(o[e][0]===a){l=e;break}const[c,u,d]=o[l];return u?t.pop():a!==c&&t.push(c),o.splice(l,1),d})}return Object.keys(t).length?(n=n.replace(Aj,(e,n,i,r,s,o)=>t.hasOwnProperty(i)?`${n}${t[i]}${o}`:e),n=n.replace(Dj,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(Mj,(e,n)=>{if(t.hasOwnProperty(n)){const i=t[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return i.shift()}return e}),n):n}(e,t)}function jj(e,t,n){const i=s_(),r=o_(),s=c_();return Uj(r,i,i[11],s,e,t,n),jj}function Hj(e,t){const n=c_(),i=s_(),r=o_();return Uj(r,i,bM(A_(r.data),n,i),n,e,t),Hj}function zj(e,t,n){const i=s_(),r=o_(),s=c_();return(3&s.type||n)&&mL(s,r,i,n,i[11],e,t,pL(s,i,t)),zj}function Uj(e,t,n,i,r,s,o){ngDevMode&&Ik(i,15);let a=!0,l=null;if((3&i.type||o)&&(l??=pL(i,t,s),mL(i,e,t,o,n,r,s,l)&&(a=!1)),a){const e=i.outputs?.[r],n=i.hostDirectiveOutputs?.[r];if(n&&n.length)for(let e=0;e<n.length;e+=2){const o=n[e],a=n[e+1];l??=pL(i,t,s),vL(i,t,o,a,r,l)}if(e&&e.length)for(const n of e)l??=pL(i,t,s),vL(i,t,n,r,r,l)}}function qj(e=1){return function(e){return(Zw.lFrame.contextLView=Vw(e,Zw.lFrame.contextLView))[$b]}(e)}function Wj(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(e);for(let r=0;r<t.length;r++){const s=t[r];
1if("*"!==s){if(null===i?IA(e,s,!0):AA(i,s))return r}else n=r}return n}function Gj(e){const t=s_()[15][5];if(!t.projection){const n=e?e.length:1,i=t.projection=$y(n,null),r=i.slice();let s=t.child;for(;null!==s;){if(128!==s.type){const t=e?Wj(s,e):0;null!==t&&(r[t]?r[t].projectionNext=s:i[t]=s,r[t]=s)}s=s.next}}}function Zj(e,t=0,n,i,r,s){const o=s_(),a=o_(),l=i?e+1:null;null!==l&&sR(o,a,l,i,r,s,null,n);const c=wO(a,27+e,16,null,n||null);null===c.projection&&(c.projection=t),f_();const u=!o[6]||e_();null===o[15][5].projection[c.projection]&&null!==l?function(e,t,n){const i=27+n,r=t.data[i],s=e[i];ngDevMode&&aw(r),ngDevMode&&cw(s);const o=xP(s,r.tView.ssrId);ZM(s,CM(e,r,void 0,{dehydratedView:o}),0,SM(r,o))}(o,a,l):u&&!TT(c)&&function(e,t,n){tM(t[11],0,t,n,HD(e,n,t),UD(n.parent||t[5],n,t))}(a,o,c)}function Yj(e,t,n,i){eN(e,t,n,i)}function Kj(e,t,n){QL(e,t,n)}function Jj(e){const t=s_(),n=o_(),i=D_();M_(i+1);const r=nN(n,i);if(e.dirty&&Lw(t)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const n=iN(t,i);e.reset(n,kC),e.notifyOnChanges()}return!0}return!1}function Xj(){return JL(s_(),D_())}function Qj(e,t,n,i,r){lN(t,eN(e,n,i,r))}function eH(e,t,n,i){lN(e,QL(t,n,i))}function tH(e=1){M_(D_()+e)}function nH(e){return Mw(m_(),27+e)}function iH(e,t){return ngDevMode&&fv(e,0,32767),ngDevMode&&fv(t,0,32767),e<<17|t<<2}function rH(e){return ngDevMode&&pv(e,"expected number"),e>>17&32767}function sH(e){return ngDevMode&&pv(e,"expected number"),2|e}function oH(e){return ngDevMode&&pv(e,"expected number"),(131068&e)>>2}function aH(e,t){return ngDevMode&&pv(e,"expected number"),ngDevMode&&fv(t,0,32767),-131069&e|t<<2}function lH(e){return ngDevMode&&pv(e,"expected number"),1|e}function cH(e,t,n,i){const r=e[n+1],s=null===t;let o=i?rH(r):oH(r),a=!1;for(;0!==o&&(!1===a||s);){ngDevMode&&Av(e,o);const n=e[o],r=e[o+1];uH(n,t)&&(a=!0,e[o+1]=i?lH(r):sH(r)),o=i?rH(r):oH(r)}a&&(e[n+1]=i?sH(r):lH(r))}function uH(e,t){return ngDevMode&&yv(Array.isArray(t),!0,"Expected that 'tStylingKey' has been unwrapped"),null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&qy(e,t)>=0}const dH={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hH(e){return e.substring(dH.key,dH.keyEnd)}function pH(e){return e.substring(dH.value,dH.valueEnd)}function fH(e,t){const n=dH.textEnd;return n===t?-1:(t=dH.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,dH.key=t,n),vH(e,t,n))}function mH(e,t){const n=dH.textEnd;let i=dH.key=vH(e,t,n);return n===i?-1:(i=dH.keyEnd=function(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=yH(e,i,n,58),i=dH.value=vH(e,i,n),i=dH.valueEnd=function(e,t,n){let i=-1,r=-1,s=-1,o=t,a=o;for(;o<n;){const l=e.charCodeAt(o++);if(59===l)return a;34===l||39===l?a=o=bH(e,l,o,n):t===o-4&&85===s&&82===r&&76===i&&40===l?a=o=bH(e,41,o,n):l>32&&(a=o),s=r,r=i,i=-33&l}return a}(e,i,n),yH(e,i,n,59))}function gH(e){dH.key=0,dH.keyEnd=0,dH.value=0,dH.valueEnd=0,dH.textEnd=e.length}function vH(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function yH(e,t,n,i){return(t=vH(e,t,n))<n&&(ngDevMode&&e.charCodeAt(t)!==i&&wH(e,String.fromCharCode(i),t),t++),t}function bH(e,t,n,i){let r=-1,s=n;for(;s<i;){const n=e.charCodeAt(s++);if(n==t&&92!==r)return s;r=92==n&&92===r?0:n}throw ngDevMode?wH(e,String.fromCharCode(t),i):new Error}function wH(e,t,n){throw ngDevMode&&vv("string"==typeof e,!0,"String expected here"),Ev(`Malformed style at location ${n} in string '`+e.substring(0,n)+"[>>"+e.substring(n,n+1)+"<<]"+e.slice(n+1)+`'. Expecting '${t}'.`)}function _H(e,t,n){return EH(e,t,n,!1),_H}function xH(e,t){return EH(e,t,null,!0),xH}function kH(e){IH(PH,CH,e,!1)}function CH(e,t){for(let n=function(e){return gH(e),mH(e,vH(e,0,dH.textEnd))}(t);n>=0;n=mH(t,n))PH(e,hH(t),pH(t))}function SH(e){IH(LH,TH,e,!0)}function TH(e,t){for(let n=function(e){return gH(e),fH(e,vH(e,0,dH.textEnd))}(t);n>=0;n=fH(t,n))zy(e,hH(t),!0)}function EH(e,t,n,i){const r=s_(),s=o_(),o=S_(2);s.firstUpdatePass&&DH(s,e,o,i),t!==PA&&cL(r,o,t)&&NH(s,s.data[$_()],r,r[11],e,r[o+1]=function(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ov(GE(e)))),e}(t,n),i,o)}function IH(e,t,n,i){const r=o_(),s=S_(2);r.firstUpdatePass&&DH(r,null,s,i);const o=s_();if(n!==PA&&cL(o,s,n)){const a=r.data[$_()];if(FH(a,i)&&!AH(r,s)){if(ngDevMode){const e=r.data[s];vv(Array.isArray(e)?e[1]:e,!1,"Styling linked list shadow input should be marked as 'false'")}let e=i?a.classesWithoutHost:a.stylesWithoutHost;ngDevMode&&!1===i&&null!==e&&vv(e.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==e&&(n=av(e,n||"")),i$(r,a,o,n,i)}else!function(e,t,n,i,r,s,o,a){r===PA&&(r=Gy);let l=0,c=0,u=0<r.length?r[0]:null,d=0<s.length?s[0]:null;for(;null!==u||null!==d;){ngDevMode&&_v(l,999,"Are we stuck in infinite loop?"),ngDevMode&&_v(c,999,"Are we stuck in infinite loop?");const h=l<r.length?r[l+1]:void 0,p=c<s.length?s[c+1]:void 0;let f,m=null;u===d?(l+=2,c+=2,h!==p&&(m=d,f=p)):null===d||null!==u&&u<d?(l+=2,m=u):(ngDevMode&&Tv(d,"Expecting to have a valid key"),c+=2,m=d,f=p),null!==m&&NH(e,t,n,i,m,f,o,a),u=l<r.length?r[l]:null,d=c<s.length?s[c]:null}}(r,a,o,o[11],o[s+1],o[s+1]=function(e,t,n){if(null==n||""===n)return Gy;const i=[],r=GE(n);if(Array.isArray(r))for(let t=0;t<r.length;t++)e(i,r[t],!0);else if("object"==typeof r)for(const t in r)r.hasOwnProperty(t)&&e(i,t,r[t]);else"string"==typeof r?t(i,r):ngDevMode&&Ev("Unsupported styling type: "+typeof r+" ("+r+")");return i}
1(e,t,n),i,s)}}function AH(e,t){return t>=e.expandoStartIndex}function DH(e,t,n,i){ngDevMode&&pw(e);const r=e.data;if(null===r[n+1]){const s=r[$_()];ngDevMode&&Tv(s,"TNode expected");const o=AH(e,n);FH(s,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){const r=A_(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=OH(n=MH(null,e,t,n,i),t.attrs,i),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=MH(r,e,t,n,i),null===s){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==oH(i))return e[rH(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=MH(null,e,t,n[1],i),n=OH(n,t.attrs,i),function(e,t,n,i){const r=n?t.classBindings:t.styleBindings;ngDevMode&&yv(oH(r),0,"Expecting to have at least one template styling binding."),e[rH(r)]=i}(e,t,i,n))}else s=function(e,t,n){let i;const r=t.directiveEnd;ngDevMode&&yv(t.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(let s=1+t.directiveStylingLast;s<r;s++)i=OH(i,e[s].hostAttrs,n);return OH(i,t.attrs,n)}(e,t,i)}return void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s),n}(r,s,t,i),function(e,t,n,i,r,s){ngDevMode&&pw(o_());let o=s?t.classBindings:t.styleBindings,a=rH(o),l=oH(o);e[i]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||qy(e,c)>0)&&(u=!0)}else c=n;if(r)if(0!==l){const t=rH(e[a+1]);e[i+1]=iH(t,a),0!==t&&(e[t+1]=aH(e[t+1],i)),e[a+1]=(d=e[a+1],h=i,ngDevMode&&pv(d,"expected number"),ngDevMode&&fv(h,0,32767),131071&d|h<<17)}else e[i+1]=iH(a,0),0!==a&&(e[a+1]=aH(e[a+1],i)),a=i;else e[i+1]=iH(l,0),ngDevMode&&vv(0!==a&&0===l,!1,"Adding template bindings after hostBindings is not allowed."),0===a?a=i:e[l+1]=aH(e[l+1],i),l=i;var d,h;u&&(e[i+1]=sH(e[i+1])),cH(e,c,i,!0),cH(e,c,i,!1),function(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&qy(s,t)>=0&&(n[i+1]=lH(n[i+1]))}(t,c,e,i,s),o=iH(a,l),s?t.classBindings=o:t.styleBindings=o}(r,s,t,n,o,i)}}function MH(e,t,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=t[a],ngDevMode&&Tv(s,"expected to be defined"),i=OH(i,s.hostAttrs,r),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function OH(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),zy(e,o,!!n||t[++s]))}return void 0===e?null:e}function PH(e,t,n){zy(e,t,GE(n))}function LH(e,t,n){const i=String(t);""===i||i.includes(" ")||zy(e,i,n)}function NH(e,t,n,i,r,s,o,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];var u;BH((u=c,ngDevMode&&pv(u,"expected number"),1&~u?void 0:RH(l,t,n,r,oH(c),o)))||(BH(s)||function(e){return ngDevMode&&pv(e,"expected number"),!(2&~e)}(c)&&(s=RH(l,null,n,r,a,o)),function(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let t=-1===i.indexOf("-")?void 0:zA.DashCase;null==r?e.removeStyle(n,i,t):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),t|=zA.Important),e.setStyle(n,i,r,t))}}(i,o,Iw($_(),n),r,s))}function RH(e,t,n,i,r,s){const o=null===t;let a;for(;r>0;){const t=e[r],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let u=n[r+1];u===PA&&(u=c?Gy:void 0);let d=c?Uy(u,i):l===i?u:void 0;if(s&&!BH(d)&&(d=Uy(t,i)),BH(d)&&(a=d,o))return a;const h=e[r+1];r=o?rH(h):oH(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=Uy(e,i))}return a}function BH(e){return void 0!==e}function FH(e,t){return!!(e.flags&(t?8:16))}function VH(e,t=""){const n=s_(),i=o_(),r=e+27;ngDevMode&&sw(n,e);const s=i.firstCreatePass?wO(i,r,1,t,null):i.data[r],o=$H(i,n,s,t,e);n[r]=o,Z_()&&YD(i,n,o,s),h_(s,!1)}let $H=(e,t,n,i,r)=>(Y_(!0),NI(t[11],i));function jH(e,t,n,i,r){const s=!tE(t,n);if(Y_(s),s)return NI(t[11],i);const o=zO(t[6],e,t,n);return ngDevMode&&sO(o,Node.TEXT_NODE,null,t,n),ngDevMode&&HT(o),o}function HH(e,t){ngDevMode&&_v(2,t.length,"should have at least 3 values");let n=!1,i=x_();for(let r=1;r<t.length;r+=2)n=cL(e,i++,t[r])||n;if(k_(i),!n)return PA;let r=t[0];for(let e=1;e<t.length;e+=2)r+=ly(t[e])+(e+1!==t.length?t[e+1]:"");return r}function zH(e,t,n,i=""){return cL(e,C_(),n)?t+ly(n)+i:PA}function UH(e,t,n,i,r,s=""){const o=uL(e,x_(),n,r);return S_(2),o?t+ly(n)+i+ly(r)+s:PA}function qH(e,t,n,i,r,s,o,a=""){const l=dL(e,x_(),n,r,o);
1return S_(3),l?t+ly(n)+i+ly(r)+s+ly(o)+a:PA}function WH(e,t,n,i,r,s,o,a,l,c=""){const u=hL(e,x_(),n,r,o,l);return S_(4),u?t+ly(n)+i+ly(r)+s+ly(o)+a+ly(l)+c:PA}function GH(e,t,n,i,r,s,o,a,l,c,u,d=""){const h=x_();let p=hL(e,h,n,r,o,l);return p=cL(e,h+4,u)||p,S_(5),p?t+ly(n)+i+ly(r)+s+ly(o)+a+ly(l)+c+ly(u)+d:PA}function ZH(e,t,n,i,r,s,o,a,l,c,u,d,h,p=""){const f=x_();let m=hL(e,f,n,r,o,l);return m=uL(e,f+4,u,h)||m,S_(6),m?t+ly(n)+i+ly(r)+s+ly(o)+a+ly(l)+c+ly(u)+d+ly(h)+p:PA}function YH(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m=""){const g=x_();let v=hL(e,g,n,r,o,l);return v=dL(e,g+4,u,h,f)||v,S_(7),v?t+ly(n)+i+ly(r)+s+ly(o)+a+ly(l)+c+ly(u)+d+ly(h)+p+ly(f)+m:PA}function KH(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g,v=""){const y=x_();let b=hL(e,y,n,r,o,l);return b=hL(e,y+4,u,h,f,g)||b,S_(8),b?t+ly(n)+i+ly(r)+s+ly(o)+a+ly(l)+c+ly(u)+d+ly(h)+p+ly(f)+m+ly(g)+v:PA}function JH(e){return XH("",e),JH}function XH(e,t,n){const i=s_(),r=zH(i,e,t,n);return r!==PA&&az(i,$_(),r),XH}function QH(e,t,n,i,r){const s=s_(),o=UH(s,e,t,n,i,r);return o!==PA&&az(s,$_(),o),QH}function ez(e,t,n,i,r,s,o){const a=s_(),l=qH(a,e,t,n,i,r,s,o);return l!==PA&&az(a,$_(),l),ez}function tz(e,t,n,i,r,s,o,a,l){const c=s_(),u=WH(c,e,t,n,i,r,s,o,a,l);return u!==PA&&az(c,$_(),u),tz}function nz(e,t,n,i,r,s,o,a,l,c,u){const d=s_(),h=GH(d,e,t,n,i,r,s,o,a,l,c,u);return h!==PA&&az(d,$_(),h),nz}function iz(e,t,n,i,r,s,o,a,l,c,u,d,h){const p=s_(),f=ZH(p,e,t,n,i,r,s,o,a,l,c,u,d,h);return f!==PA&&az(p,$_(),f),iz}function rz(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){const m=s_(),g=YH(m,e,t,n,i,r,s,o,a,l,c,u,d,h,p,f);return g!==PA&&az(m,$_(),g),rz}function sz(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g){const v=s_(),y=KH(v,e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g);return y!==PA&&az(v,$_(),y),sz}function oz(e){const t=s_(),n=HH(t,e);return n!==PA&&az(t,$_(),n),oz}function az(e,t,n){ngDevMode&&mv(n,"Value should be a string"),ngDevMode&&wv(n,PA,"value should not be NO_CHANGE"),ngDevMode&&Av(e,t);const i=Iw(t,e);ngDevMode&&Tv(i,"native element should exist"),RI(e[11],i,n)}function lz(e,t,n){hx(t)&&(t=t());const i=s_(),r=C_();if(cL(i,r,t)){const s=o_(),o=H_();aM(o,i,e,t,i[11],n),ngDevMode&&yM(s.data,o,e,r)}return lz}function cz(e,t){const n=hx(e);return n&&e.set(t),n}function uz(e,t){const n=s_(),i=o_(),r=c_();return Uj(i,n,n[11],r,e,t),uz}const dz={};function hz(e){const t=o_(),n=s_(),i=e+27;return h_(wO(t,i,128,null,null),!1),Ow(t,n,i,dz),hz}function pz(e){return nD("NgLet"),Ow(o_(),s_(),$_(),e),e}function fz(e){const t=Mw(m_(),27+e);if(t===dz)throw new ev(314,ngDevMode&&"Attempting to access a @let declaration whose value is not available yet");return t}function mz(e,t){const n=o_(),i=s_(),r=i[11],s="data-ng-source-location";for(const[o,a,l,c]of t){const t=Dw(n,o+27);ngDevMode&&Ik(t,2);const u=Iw(o+27,i);if(!u.hasAttribute(s)){const t=`${e}@o:${a},l:${l},c:${c}`;r.setAttribute(u,s,t)}}}function gz(e){return cL(s_(),C_(),e)?ly(e):PA}function vz(e,t,n=""){return zH(s_(),e,t,n)}function yz(e,t,n,i,r=""){return UH(s_(),e,t,n,i,r)}function bz(e,t,n,i,r,s,o=""){return qH(s_(),e,t,n,i,r,s,o)}function wz(e,t,n,i,r,s,o,a,l=""){return WH(s_(),e,t,n,i,r,s,o,a,l)}function _z(e,t,n,i,r,s,o,a,l,c,u=""){return GH(s_(),e,t,n,i,r,s,o,a,l,c,u)}function xz(e,t,n,i,r,s,o,a,l,c,u,d,h=""){return ZH(s_(),e,t,n,i,r,s,o,a,l,c,u,d,h)}function kz(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f=""){return YH(s_(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f)}function Cz(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g=""){return KH(s_(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,m,g)}function Sz(e){return HH(s_(),e)}function Tz(e,t,n,i,r){if(e=dv(e),Array.isArray(e))for(let s=0;s<e.length;s++)Tz(e[s],t,n,i,r);else{const s=o_(),o=s_(),a=c_();let l=vb(e)?e:dv(e.provide);const c=Eb(e);ngDevMode&&Qv(new sC(a,o),l,()=>{Zv(e,r)});const u=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(vb(e)||!e.multi){const i=new Ck(c,r,qP,ngDevMode?Pz(e):null),p=Az(l,t,r?u:u+h,d);-1===p?(Wk(Hk(a,o),s,l),Ez(s,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Az(l,t,u+h,d),f=Az(l,t,u,u+h),m=p>=0&&n[p],g=f>=0&&n[f];if(r&&!g||!r&&!m){Wk(Hk(a,o),s,l);const u=function(e,t,n,i,r,s){const o=new Ck(e,n,qP,ngDevMode?Pz(s):null);return o.multi=[],o.index=t,o.componentProviders=0,Iz(o,r,i&&!n),o}(r?Mz:Dz,n.length,r,i,c,e);!r&&g&&(n[f].providerFactory=u),Ez(s,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(u),o.push(u)}else{const t=Iz(n[r?f:p],c,!r&&i);Ez(s,e,p>-1?p:f,t)}!r&&i&&g&&n[f].componentProviders++}}}function Ez(e,t,n,i){const r=vb(t),s=yb(t);if(r||s){const o=(s?dv(t.useClass):t).prototype.ngOnDestroy;if(o){const s=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){ngDevMode&&Tv(i,"indexInFactory when registering multi factory destroy hook");const e=s.indexOf(n);-1===e?s.push(n,[i,o]):s[e+1].push(i,o)}else s.push(n,o)}}}function Iz(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Az(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function Dz(e,t,n,i,r){return Oz(this.multi,[])}function Mz(e,t,n,i,r){const s=this.multi;let o;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=eC(i,i[1],this.providerFactory.index,r);o=t.slice(0,e),Oz(s,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],Oz(s,o);return o}function Oz(e,t){for(let n=0;n<e.length;n++){const i=e[n];t.push(i())}return t}
1function Pz(e){return Array.isArray(e)?null:vb(e)?e.name:yb(e)?e.provide instanceof $v?`('${e.provide.toString()}':${e.useClass.name})`:e.useClass.name:e.provide instanceof $v?e.provide.toString():"string"==typeof e.provide?e.provide:null}function Lz(e,t=[]){return n=>{n.providersResolver=(n,i)=>function(e,t,n){const i=o_();if(i.firstCreatePass){const r=ew(e);Tz(n,i.data,i.blueprint,r,!0),Tz(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}function Nz(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(e=>e+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+t.encapsulation))}}function Rz(e,t,n){const i=e.ɵcmp;i.directiveDefs=VN(t,MN),i.pipeDefs=VN(n,ib)}function Bz(e,t){return Lx(()=>{const n=Qy(e);n.declarations=Fz(t.declarations||Gy),n.imports=Fz(t.imports||Gy),n.exports=Fz(t.exports||Gy),t.bootstrap&&(n.bootstrap=Fz(t.bootstrap)),jP.registerNgModule(e,t)})}function Fz(e){if("function"==typeof e)return e;const t=Ry(e);return t.some(hv)?()=>t.map(dv).map(Vz):t.map(Vz)}function Vz(e){return LP(e)?e.ngModule:e}function $z(e,t,n){const i=__()+e,r=s_();return r[i]===PA?aL(r,i,n?t.call(n):t()):lL(r,i)}function jz(e,t,n,i){return Jz(s_(),__(),e,t,n,i)}function Hz(e,t,n,i,r){return Xz(s_(),__(),e,t,n,i,r)}function zz(e,t,n,i,r,s){return Qz(s_(),__(),e,t,n,i,r,s)}function Uz(e,t,n,i,r,s,o){return eU(s_(),__(),e,t,n,i,r,s,o)}function qz(e,t,n,i,r,s,o,a){const l=__()+e,c=s_(),u=hL(c,l,n,i,r,s);return cL(c,l+4,o)||u?aL(c,l+5,a?t.call(a,n,i,r,s,o):t(n,i,r,s,o)):lL(c,l+5)}function Wz(e,t,n,i,r,s,o,a,l){const c=__()+e,u=s_(),d=hL(u,c,n,i,r,s);return uL(u,c+4,o,a)||d?aL(u,c+6,l?t.call(l,n,i,r,s,o,a):t(n,i,r,s,o,a)):lL(u,c+6)}function Gz(e,t,n,i,r,s,o,a,l,c){const u=__()+e,d=s_();let h=hL(d,u,n,i,r,s);return dL(d,u+4,o,a,l)||h?aL(d,u+7,c?t.call(c,n,i,r,s,o,a,l):t(n,i,r,s,o,a,l)):lL(d,u+7)}function Zz(e,t,n,i,r,s,o,a,l,c,u){const d=__()+e,h=s_(),p=hL(h,d,n,i,r,s);return hL(h,d+4,o,a,l,c)||p?aL(h,d+8,u?t.call(u,n,i,r,s,o,a,l,c):t(n,i,r,s,o,a,l,c)):lL(h,d+8)}function Yz(e,t,n,i){return tU(s_(),__(),e,t,n,i)}function Kz(e,t){ngDevMode&&Av(e,t);const n=e[t];return n===PA?void 0:n}function Jz(e,t,n,i,r,s){const o=t+n;return cL(e,o,r)?aL(e,o+1,s?i.call(s,r):i(r)):Kz(e,o+1)}function Xz(e,t,n,i,r,s,o){const a=t+n;return uL(e,a,r,s)?aL(e,a+2,o?i.call(o,r,s):i(r,s)):Kz(e,a+2)}function Qz(e,t,n,i,r,s,o,a){const l=t+n;return dL(e,l,r,s,o)?aL(e,l+3,a?i.call(a,r,s,o):i(r,s,o)):Kz(e,l+3)}function eU(e,t,n,i,r,s,o,a,l){const c=t+n;return hL(e,c,r,s,o,a)?aL(e,c+4,l?i.call(l,r,s,o,a):i(r,s,o,a)):Kz(e,c+4)}function tU(e,t,n,i,r,s){let o=t+n,a=!1;for(let t=0;t<r.length;t++)cL(e,o++,r[t])&&(a=!0);return a?aL(e,o,i.apply(s,r)):Kz(e,o)}function nU(e,t){const n=o_();let i;const r=e+27;n.firstCreatePass?(i=function(e,t){if(t){if(ngDevMode){const n=t.filter(t=>t.name===e);n.length>1&&console.warn(tv(313,function(e){const t=s_(),n=t[15][8],i=TE(t);return`Multiple pipes match the name \`${e}\`${n?` in the '${n.constructor.name}' component`:""}. ${"check "+(i?"'@Component.imports' of this component":"the imports of this module")}`}(e)))}for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}if(ngDevMode)throw new ev(-302,function(e){const t=s_(),n=t[15][8],i=TE(t);return`The pipe '${e}' could not be found${n?` in the '${n.constructor.name}' component`:""}. ${"Verify that it is "+(i?"included in the '@Component.imports' of this component":"declared or imported in this module")}`}(e))}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=Ny(i.type,!0));let o;ngDevMode&&(o=zv({injector:new sC(c_(),s_()),token:i.type}));const a=xy(qP);try{const e=Bk(!1),t=s();return Bk(e),Ow(n,s_(),r,t),t}finally{xy(a),ngDevMode&&zv(o)}}function iU(e,t,n){const i=e+27,r=s_(),s=Mw(r,i);return lU(r,i)?Jz(r,__(),t,s.transform,n,s):s.transform(n)}function rU(e,t,n,i){const r=e+27,s=s_(),o=Mw(s,r);return lU(s,r)?Xz(s,__(),t,o.transform,n,i,o):o.transform(n,i)}function sU(e,t,n,i,r){const s=e+27,o=s_(),a=Mw(o,s);return lU(o,s)?Qz(o,__(),t,a.transform,n,i,r,a):a.transform(n,i,r)}function oU(e,t,n,i,r,s){const o=e+27,a=s_(),l=Mw(a,o);return lU(a,o)?eU(a,__(),t,l.transform,n,i,r,s,l):l.transform(n,i,r,s)}function aU(e,t,n){const i=e+27,r=s_(),s=Mw(r,i);return lU(r,i)?tU(r,__(),t,s.transform,n,s):s.transform.apply(s,n)}function lU(e,t){return e[1].data[t].pure}function cU(e,t){return iO(e,t)}function uU(e,t){return()=>{try{return jP.getComponentDependencies(e,t).dependencies}catch(t){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,t),t}}}function dU(e,t){const n=eb(e);null!==n&&(n.debugInfo=t)}function hU(e,t,n){const i=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(i,n).href}function pU(e,t,n,i,r=null,s=null){ngDevMode&&gA(e);const o=eb(e);t.apply(null,[e,n,...i]);const{newDef:a,oldDef:l}=function(e,t){const n={...e},i=Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type});return ngDevMode&&vv(i,e,"Expected definition to be merged in place"),{newDef:i,oldDef:n}}(o,eb(e));if(e[ty]=a,l.tView){const e=LC.values();for(const t of e)tw(t)&&null===t[3]&&fU(r,s,a,l,t)}}function fU(e,t,n,i,r){ngDevMode&&Tv(i.tView,"Expected a component definition that has been instantiated at least once");const s=r[1];if(s===i.tView)return ngDevMode&&gA(i.type),void function(e,t,n,i,r){const s=r[8];let o=r[0];const a=r[3];ngDevMode&&dw(a);const l=r[5];
1ngDevMode&&Ik(l,2),ngDevMode&&yv(n,i,"Expected different component definition");const c=r[9].get(dD,null),u=()=>{if(i.encapsulation===pE.ShadowDom){const e=o.cloneNode(!1);o.replaceWith(e),o=e}const e=NA(n),t=RA(a,e,s,BA(n),o,l,null,null,null,null,null);!function(e,t,n,i){for(let i=27;i<e[1].bindingStartIndex;i++){const r=e[i];if((Yb(r)||Kb(r))&&r[4]===t){r[4]=n;break}}e[12]===t&&(e[12]=n),e[13]===t&&(e[13]=n),n[4]=t[4],t[4]=null,e[i]=n}(a,r,t,l.index),BD(r[1],r);const c=r[10].rendererFactory;var u,d;u=c,d=i,u.componentReplaced?.(d.id),t[11]=c.createRenderer(o,n),LD(r[1],r),function(e){if(null!==e.projection){for(const t of e.projection)Tk(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(l),kM(e,t,s),VM(e,t,e.template,s)};null===c?mU(e,t,u):c.run(()=>mU(e,t,u))}(e,t,n,i,r);for(let o=27;o<s.bindingStartIndex;o++){const s=r[o];if(Kb(s)){Yb(s[0])&&fU(e,t,n,i,s[0]);for(let r=10;r<s.length;r++)fU(e,t,n,i,s[r])}else Yb(s)&&fU(e,t,n,i,s)}}function mU(e,t,n){try{n()}catch(n){const i=n;if(null!==t&&i.message){const n=i.message+(i.stack?"\n"+i.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:n,error:!0})}throw n}}const gU={"ɵɵanimateEnter":DV,"ɵɵanimateEnterListener":MV,"ɵɵanimateLeave":OV,"ɵɵanimateLeaveListener":PV,"ɵɵattribute":sV,"ɵɵdefineComponent":DN,"ɵɵdefineDirective":NN,"ɵɵdefineInjectable":Ov,"ɵɵdefineInjector":Lv,"ɵɵdefineNgModule":ON,"ɵɵdefinePipe":RN,"ɵɵdirectiveInject":qP,"ɵɵgetInheritedFactory":aC,"ɵɵinject":Iy,"ɵɵinjectAttribute":uC,"ɵɵinvalidFactory":WP,"ɵɵinvalidFactoryDep":Ay,"ɵɵtemplateRefExtractor":cU,"ɵɵresetView":l_,"ɵɵHostDirectivesFeature":JN,"ɵɵNgOnChangesFeature":ok,"ɵɵProvidersFeature":Lz,"ɵɵCopyDefinitionFeature":KN,"ɵɵInheritDefinitionFeature":HN,"ɵɵExternalStylesFeature":Nz,"ɵɵnextContext":qj,"ɵɵnamespaceHTML":q_,"ɵɵnamespaceMathML":U_,"ɵɵnamespaceSVG":z_,"ɵɵenableBindings":n_,"ɵɵdisableBindings":i_,"ɵɵelementStart":r$,"ɵɵelementEnd":s$,"ɵɵelement":o$,"ɵɵelementContainerStart":h$,"ɵɵelementContainerEnd":p$,"ɵɵdomElement":c$,"ɵɵdomElementStart":a$,"ɵɵdomElementEnd":l$,"ɵɵdomElementContainer":v$,"ɵɵdomElementContainerStart":m$,"ɵɵdomElementContainerEnd":g$,"ɵɵdomTemplate":aR,"ɵɵdomListener":zj,"ɵɵelementContainer":f$,"ɵɵpureFunction0":$z,"ɵɵpureFunction1":jz,"ɵɵpureFunction2":Hz,"ɵɵpureFunction3":zz,"ɵɵpureFunction4":Uz,"ɵɵpureFunction5":qz,"ɵɵpureFunction6":Wz,"ɵɵpureFunction7":Gz,"ɵɵpureFunction8":Zz,"ɵɵpureFunctionV":Yz,"ɵɵgetCurrentView":w$,"ɵɵrestoreView":a_,"ɵɵlistener":jj,"ɵɵprojection":Zj,"ɵɵsyntheticHostProperty":x$,"ɵɵsyntheticHostListener":Hj,"ɵɵpipeBind1":iU,"ɵɵpipeBind2":rU,"ɵɵpipeBind3":sU,"ɵɵpipeBind4":oU,"ɵɵpipeBindV":aU,"ɵɵprojectionDef":Gj,"ɵɵdomProperty":_$,"ɵɵariaProperty":rV,"ɵɵproperty":n$,"ɵɵpipe":nU,"ɵɵqueryRefresh":Jj,"ɵɵqueryAdvance":tH,"ɵɵviewQuery":Kj,"ɵɵviewQuerySignal":eH,"ɵɵloadQuery":Xj,"ɵɵcontentQuery":Yj,"ɵɵcontentQuerySignal":Qj,"ɵɵreference":nH,"ɵɵclassMap":SH,"ɵɵstyleMap":kH,"ɵɵstyleProp":_H,"ɵɵclassProp":xH,"ɵɵadvance":$A,"ɵɵtemplate":oR,"ɵɵconditional":UV,"ɵɵconditionalCreate":HV,"ɵɵconditionalBranchCreate":zV,"ɵɵdefer":NF,"ɵɵdeferWhen":RF,"ɵɵdeferOnIdle":$F,"ɵɵdeferOnImmediate":zF,"ɵɵdeferOnTimer":WF,"ɵɵdeferOnHover":YF,"ɵɵdeferOnInteraction":XF,"ɵɵdeferOnViewport":tV,"ɵɵdeferPrefetchWhen":BF,"ɵɵdeferPrefetchOnIdle":jF,"ɵɵdeferPrefetchOnImmediate":UF,"ɵɵdeferPrefetchOnTimer":GF,"ɵɵdeferPrefetchOnHover":KF,"ɵɵdeferPrefetchOnInteraction":QF,"ɵɵdeferPrefetchOnViewport":nV,"ɵɵdeferHydrateWhen":FF,"ɵɵdeferHydrateNever":VF,"ɵɵdeferHydrateOnIdle":HF,"ɵɵdeferHydrateOnImmediate":qF,"ɵɵdeferHydrateOnTimer":ZF,"ɵɵdeferHydrateOnHover":JF,"ɵɵdeferHydrateOnInteraction":eV,"ɵɵdeferHydrateOnViewport":iV,"ɵɵdeferEnableTimerScheduling":oB,"ɵɵrepeater":XV,"ɵɵrepeaterCreate":YV,"ɵɵrepeaterTrackByIndex":WV,"ɵɵrepeaterTrackByIdentity":GV,"ɵɵcomponentInstance":LV,"ɵɵtext":VH,"ɵɵtextInterpolate":JH,"ɵɵtextInterpolate1":XH,"ɵɵtextInterpolate2":QH,"ɵɵtextInterpolate3":ez,"ɵɵtextInterpolate4":tz,"ɵɵtextInterpolate5":nz,"ɵɵtextInterpolate6":iz,"ɵɵtextInterpolate7":rz,"ɵɵtextInterpolate8":sz,"ɵɵtextInterpolateV":oz,"ɵɵi18n":Rj,"ɵɵi18nAttributes":Bj,"ɵɵi18nExp":Fj,"ɵɵi18nStart":Lj,"ɵɵi18nEnd":Nj,"ɵɵi18nApply":Vj,"ɵɵi18nPostprocess":$j,"ɵɵresolveWindow":uA,"ɵɵresolveDocument":dA,"ɵɵresolveBody":hA,"ɵɵsetComponentScope":Rz,"ɵɵsetNgModuleScope":Bz,"ɵɵregisterNgModuleType":yN,"ɵɵgetComponentDepsFactory":uU,"ɵsetClassDebugInfo":dU,"ɵɵdeclareLet":hz,"ɵɵstoreLet":pz,"ɵɵreadContextLet":fz,"ɵɵattachSourceLocations":mz,"ɵɵinterpolate":gz,"ɵɵinterpolate1":vz,"ɵɵinterpolate2":yz,"ɵɵinterpolate3":bz,"ɵɵinterpolate4":wz,"ɵɵinterpolate5":_z,"ɵɵinterpolate6":xz,"ɵɵinterpolate7":kz,"ɵɵinterpolate8":Cz,"ɵɵinterpolateV":Sz,"ɵɵsanitizeHtml":WI,"ɵɵsanitizeStyle":GI,"ɵɵsanitizeResourceUrl":YI,"ɵɵsanitizeScript":KI,"ɵɵvali
1dateAttribute":sA,"ɵɵsanitizeUrl":ZI,"ɵɵsanitizeUrlOrResourceUrl":QI,"ɵɵtrustConstantHtml":JI,"ɵɵtrustConstantResourceUrl":XI,forwardRef:uv,resolveForwardRef:dv,"ɵɵtwoWayProperty":lz,"ɵɵtwoWayBindingSet":cz,"ɵɵtwoWayListener":uz,"ɵɵreplaceMetadata":pU,"ɵɵgetReplaceMetadataURL":hU};let vU=null;function yU(){vU=null}const bU=[];let wU=!1;function _U(){if(!wU){wU=!0;try{for(let e=bU.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=bU[e];n.declarations&&n.declarations.every(xU)&&(bU.splice(e,1),OU(t,n))}}finally{wU=!1}}}function xU(e){return Array.isArray(e)?e.every(xU):!!dv(e)}function kU(e,t={}){CU(e,t),void 0!==t.id&&yN(e,t.id),function(e,t){bU.push({moduleType:e,ngModule:t})}(e,t)}function CU(e,t,n=!1){ngDevMode&&Tv(e,"Required value moduleType"),ngDevMode&&Tv(t,"Required value ngModule");const i=Ry(t.declarations||Gy);let r=null;Object.defineProperty(e,ry,{configurable:!0,get:()=>{if(null===r){if(ngDevMode&&t.imports&&t.imports.indexOf(e)>-1)throw new Error(`'${cy(e)}' module can't import itself`);const n=Gx({usage:0,kind:"NgModule",type:e});r=n.compileNgModule(gU,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:Ry(t.bootstrap||Gy).map(dv),declarations:i.map(dv),imports:Ry(t.imports||Gy).map(dv).map(NU),exports:Ry(t.exports||Gy).map(dv).map(NU),schemas:t.schemas?Ry(t.schemas):null,id:t.id||null}),r.schemas||(r.schemas=[])}return r}});let s=null;Object.defineProperty(e,sy,{get:()=>{if(null===s){const t=Gx({usage:0,kind:"NgModule",type:e});s=t.compileFactory(gU,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:fC(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!!ngDevMode});let o=null;Object.defineProperty(e,Vv,{get:()=>{if(null===o){ngDevMode&&TU(e,n);const i={name:e.name,type:e,providers:t.providers||Gy,imports:[(t.imports||Gy).map(dv),(t.exports||Gy).map(dv)]},r=Gx({usage:0,kind:"NgModule",type:e});o=r.compileInjector(gU,`ng:///${e.name}/ɵinj.js`,i)}return o},configurable:!!ngDevMode})}function SU(e,t){return`Unexpected "${cy(e)}" found in the "declarations" array of the ${t}, "${cy(e)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}function TU(e,t,n){if(AU.get(e))return;if(rb(e))return;let i;if(AU.set(e,!0),e=dv(e),n){if(i=Xy(e),!i)throw new Error(`Unexpected value '${e.name}' imported by the module '${n.name}'. Please add an @NgModule annotation.`)}else i=Qy(e);const r=[],s=fA(i.declarations),o=fA(i.imports);
1Ry(o).map(EU).forEach(t=>{u(t,e),TU(t,!1,e)});const a=fA(i.exports);s.forEach(function(t){eb(t=dv(t))||nb(t)||ib(t)||r.push(`Unexpected value '${cy(t)}' declared by the module '${cy(e)}'. Please add a @Pipe/@Directive/@Component annotation.`)}),s.forEach(function(e){const t=nb(e=dv(e));!eb(e)&&t&&0==t.selectors.length&&r.push(`Directive ${cy(e)} has no selector, please add it!`)}),s.forEach(t=>function(e,t){const n=eb(e=dv(e))||nb(e)||ib(e);if(n?.standalone){const n=`"${cy(t)}" NgModule`;r.push(SU(e,n))}}(t,e));const l=[...s.map(dv),...Ry(o.map(MU)).map(dv)];a.forEach(function(t){const n=(eb(t=dv(t))?"component":nb(t)&&"directive")||ib(t)&&"pipe";n&&-1===l.lastIndexOf(t)&&r.push(`Can't export ${n} ${cy(t)} from ${cy(e)} as it was neither declared nor imported!`)}),s.forEach(n=>function(t,n){t=dv(t);const i=IU.get(t);if(i&&i!==e){if(!n){const n=[i,e].map(cy).sort();r.push(`Type ${cy(t)} is part of the declarations of 2 modules: ${n[0]} and ${n[1]}! Please consider moving ${cy(t)} to a higher module that imports ${n[0]} and ${n[1]}. You can also create a new NgModule that exports and includes ${cy(t)} then import that NgModule in ${n[0]} and ${n[1]}.`)}}else IU.set(t,e)}(n,t));const c=function(e,t){let n=null;return i(e.__annotations__),i(e.decorators),n;function i(e){e&&e.forEach(r)}function r(e){n||(Object.getPrototypeOf(e).ngMetadataName==t?n=e:e.type&&Object.getPrototypeOf(e.type).ngMetadataName==t&&(n=e.args[0]))}}(e,"NgModule");
1if(c&&(c.imports&&Ry(c.imports).map(EU).forEach(t=>{u(t,e),TU(t,!1,e)}),c.bootstrap&&By(c.bootstrap,function(e){eb(e=dv(e))||r.push(`${cy(e)} cannot be used as an entry component.`),rb(e)&&r.push(`The \`${cy(e)}\` class is a standalone component, which can not be used in the \`@NgModule.bootstrap\` array. Use the \`bootstrapApplication\` function for bootstrap instead.`)}),c.bootstrap&&By(c.bootstrap,function(e){e=dv(e),IU.get(e)||rb(e)||r.push(`Component ${cy(e)} is not part of any NgModule or the module has not been imported into your module.`)})),r.length)throw new Error(r.join("\n"));function u(e,t){const n=eb(e=dv(e))||nb(e);if(null!==n&&!n.standalone)throw new Error(`Unexpected directive '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`);const i=ib(e);if(null!==i&&!i.standalone)throw new Error(`Unexpected pipe '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`)}}function EU(e){return(e=dv(e)).ngModule||e}let IU=new WeakMap,AU=new WeakMap;function DU(){IU=new WeakMap,AU=new WeakMap,bU.length=0,$N.clear()}function MU(e){const t=Xy(e=dv(e));return null===t?[e]:Ry(fA(t.exports).map(e=>Xy(e)?(TU(e,!1),MU(e)):e))}function OU(e,t){const n=Ry(t.declarations||Gy),i=LU(e);n.forEach(t=>{(t=dv(t)).hasOwnProperty(ty)?PU(eb(t),i):t.hasOwnProperty(ny)||t.hasOwnProperty(iy)||(t.ngSelectorScope=e)})}function PU(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(ty)?eb(e):nb(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>ib(e)),e.schemas=t.schemas,e.tView=null}function LU(e){if(NP(e)){const t=jP.getNgModuleScope(e);return{schemas:Qy(e).schemas||null,...t}}if(rb(e)){if(null!==(eb(e)||nb(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==ib(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (ɵmod property)`)}function NU(e){return LP(e)?e.ngModule:e}let RU=0;function BU(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&iv();let n=null;!function(e,t){pN(t)&&(uN.set(e,t),dN.add(e))}(e,t),$U(e,t),Object.defineProperty(e,ty,{get:()=>{if(null===n){const i=Gx({usage:0,kind:"component",type:e});if(pN(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),t.styleUrl&&n.push(` - styleUrl: ${t.styleUrl}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=vU;let s=t.preserveWhitespaces;void 0===s&&(s=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:pE.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,l=HU(e,t),c={...l,typeSourceSpan:i.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:s,styles:"string"==typeof t.styles?[t.styles]:t.styles||Gy,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null,hasDirectiveDependencies:!l.isStandalone||null!=t.imports&&t.imports.length>0};RU++;try{if(c.usesInheritance&&zU(e),n=i.compileComponent(gU,a,c),c.isStandalone){const i=Ry(t.imports||Gy),{directiveDefs:r,pipeDefs:s}=function(e,t){return{directiveDefs:()=>{if(ngDevMode)for(const n of t)VP(n,e);return FP(e)?[...jP.getStandaloneComponentScope(e,t).compilation.directives].map(e=>eb(e)||nb(e)).filter(e=>null!==e):[]},pipeDefs:()=>{if(ngDevMode)for(const n of t)VP(n,e);return FP(e)?[...jP.getStandaloneComponentScope(e,t).compilation.pipes].map(e=>ib(e)).filter(e=>null!==e):[]}}}(e,i);n.directiveDefs=r,n.pipeDefs=s,n.dependencies=()=>i.map(dv)}}finally{RU--}if(0===RU&&_U(),void 0!==e.ngSelectorScope){const t=LU(e.ngSelectorScope);PU(n,t)}if(t.schemas){if(!c.isStandalone)throw new Error(`The 'schemas' was specified for the ${cy(e)} but is only valid on a component that is standalone.`);n.schemas=t.schemas}else c.isStandalone&&(n.schemas=[])}return n},set:e=>{n=e},configurable:!!ngDevMode})}function FU(e,t){let n=null;$U(e,t||{}),Object.defineProperty(e,ny,{get:()=>{if(null===n){const i=VU(e,t||{}),r=Gx({usage:0,kind:"directive",type:e});n=r.compileDirective(gU,i.sourceMapUrl,i.metadata)}return n},configurable:!!ngDevMode})}function VU(e,t){const n=e&&e.name,i=`ng:///${n}/ɵdir.js`,r=Gx({usage:0,kind:"directive",type:e}),s=HU(e,t);return s.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),s.usesInheritance&&zU(e),{metadata:s,sourceMapUrl:i}}function $U(e,t){let n=null;Object.defineProperty(e,sy,{get:()=>{if(null===n){const i=VU(e,t),r=Gx({usage:0,kind:"directive",type:e});n=r.compileFactory(gU,`ng:///${e.name}/ɵfac.js`,{name:i.metadata.name,type:i.metadata.type,typeArgumentCount:0,deps:fC(e),target:r.FactoryTarget.Directive})}return n},configurable:!!ngDevMode})}function jU(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function HU(e,t){const n=pC(),i=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Wy,propMetadata:i,inputs:t.inputs||Gy,outputs:t.outputs||Gy,queries:qU(e,i,WU),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")}
1,typeSourceSpan:null,usesInheritance:!jU(e),exportAs:(r=t.exportAs,void 0===r?null:YU(r)),providers:t.providers||null,viewQueries:qU(e,i,GU),isStandalone:void 0===t.standalone||!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(e=>"function"==typeof e?{directive:e}:e)||null};var r}function zU(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)nb(n)||eb(n)||!JU(n)||FU(n,null),n=Object.getPrototypeOf(n)}function UU(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?YU(n):dv(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly,isSignal:!!t.isSignal};var n}function qU(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];s.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${r}" of "${cy(e)}" since the query selector wasn't defined.`);if(s.some(ZU))throw new Error("Cannot combine @Input decorators with query decorators");i.push(UU(r,t))}})}return i}function WU(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function GU(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function ZU(e){return"Input"===e.ngMetadataName}function YU(e){return e.split(",").map(e=>e.trim())}const KU=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function JU(e){const t=pC();if(KU.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const e in n){const t=n[e];for(let e=0;e<t.length;e++){const n=t[e],i=n.ngMetadataName;if(ZU(n)||WU(n)||GU(n)||"Output"===i||"HostBinding"===i||"HostListener"===i)return!0}}return!1}function XU(e,t){let n=null,i=null;Object.defineProperty(e,sy,{get:()=>{if(null===i){const n=QU(e,t),r=Gx({usage:0,kind:"pipe",type:n.type});i=r.compileFactory(gU,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:fC(e),target:r.FactoryTarget.Pipe})}return i},configurable:!!ngDevMode}),Object.defineProperty(e,iy,{get:()=>{if(null===n){const i=QU(e,t),r=Gx({usage:0,kind:"pipe",type:i.type});n=r.compilePipe(gU,`ng:///${i.name}/ɵpipe.js`,i)}return n},configurable:!!ngDevMode})}function QU(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:void 0===t.standalone||!!t.standalone}}const eq=Fx("Directive",(e={})=>e,void 0,0,(e,t)=>FU(e,t)),tq=Fx("Component",(e={})=>({changeDetection:PC.Default,...e}),eq,0,(e,t)=>BU(e,t)),nq=Fx("Pipe",e=>({pure:!0,...e}),void 0,0,(e,t)=>XU(e,t)),iq=jx("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),rq=jx("Output",e=>({alias:e})),sq=jx("HostBinding",e=>({hostPropertyName:e})),oq=jx("HostListener",(e,t)=>({eventName:e,args:t})),aq=Fx("NgModule",e=>e,void 0,0,(e,t)=>kU(e,t));class lq{ngModuleFactory;componentFactories;constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}class cq{compileModuleSync(e){return new TN(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),n=fA(Xy(e).declarations).reduce((e,t)=>{const n=eb(t);return n&&e.push(new TL(n)),e},[]);return new lq(t,n)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static"ɵfac"=function(e){return new(e||cq)};static"ɵprov"=Ov({token:cq,factory:cq.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&uB(cq,[{type:bC,args:[{providedIn:"root"}]}],null,null);const uq=new $v(ngDevMode?"compilerOptions":"");class dq{}class hq{zone=Dy(dD);changeDetectionScheduler=Dy(gx);applicationRef=Dy(hF);applicationErrorHandler=Dy(rx);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static"ɵfac"=function(e){return new(e||hq)};static"ɵprov"=Ov({token:hq,factory:hq.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&uB(hq,[{type:bC,args:[{providedIn:"root"}]}],null,null);
1const pq=new $v("undefined"==typeof ngDevMode||ngDevMode?"provideZoneChangeDetection token":"",{factory:()=>!1});function fq({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new dD({...gq(),scheduleInRootZone:n}),[{provide:dD,useFactory:e},{provide:Zy,multi:!0,useFactory:()=>{const e=Dy(hq,{optional:!0});if(("undefined"==typeof ngDevMode||ngDevMode)&&null===e)throw new ev(402,"A required Injectable was not found in the dependency injection tree. If you are bootstrapping an NgModule, make sure that the `BrowserModule` is imported.");return()=>e.initialize()}},{provide:Zy,multi:!0,useFactory:()=>{const e=Dy(vq);return()=>{e.initialize()}}},!0===t?{provide:bx,useValue:!0}:[],{provide:wx,useValue:n??iD},{provide:rx,useFactory:()=>{const e=Dy(dD),t=Dy(Cb);let n;return i=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw i}):(n??=t.get(ix),n.handleError(i))})}}}]}function mq(e){const t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,i=fq({ngZoneFactory:()=>{const t=gq(e);return t.scheduleInRootZone=n,t.shouldCoalesceEventChangeDetection&&nD("NgZone_CoalesceEvent"),new dD(t)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return sb([{provide:pq,useValue:!0},{provide:vx,useValue:!1},i])}function gq(e){return{enableLongStackTrace:"undefined"!=typeof ngDevMode&&!!ngDevMode,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}class vq{subscription=new Hg.yU;initialized=!1;zone=Dy(dD);pendingTasks=Dy(_x);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;this.zone.isStable||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{dD.assertNotInAngularZone(),queueMicrotask(()=>{null===e||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{dD.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static"ɵfac"=function(e){return new(e||vq)};static"ɵprov"=Ov({token:vq,factory:vq.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&uB(vq,[{type:bC,args:[{providedIn:"root"}]}],null,null);let yq=0,bq=[];class wq{applicationErrorHandler=Dy(rx);appRef=Dy(hF);taskService=Dy(_x);ngZone=Dy(dD);zonelessEnabled=Dy(vx);tracing=Dy(eD,{optional:!0});disableScheduling=Dy(bx,{optional:!0})??!1;zoneIsDefined="undefined"!=typeof Zone&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Hg.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(cD):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Dy(wx,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof vD||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&5===e)return;let t=!1;switch(e){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,t=!0;break;case 12:this.appRef.dirtyFlags|=16,t=!0;break;case 11:t=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(t))return;("undefined"==typeof ngDevMode||ngDevMode)&&(this.useMicrotaskScheduler?function(){if(yq++,100-yq<5){const e=(new Error).stack;e&&bq.push(e)}if(100===yq)throw new ev(103,"Angular could not stabilize because there were endless change notifications within the browser event loop. The stack from the last several notifications: \n"+bq.join("\n"))}():(yq=0,bq.length=0));const n=this.useMicrotaskScheduler?oD:sD;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>n(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>n(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDef
1ined&&Zone.current.get(cD+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){this.taskService.remove(e),this.applicationErrorHandler(t)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,oD(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static"ɵfac"=function(e){return new(e||wq)};static"ɵprov"=Ov({token:wq,factory:wq.ɵfac,providedIn:"root"})}function _q(){if(nD("NgZoneless"),("undefined"==typeof ngDevMode||ngDevMode)&&"undefined"!=typeof Zone&&Zone){const e=tv(914,'The application is using zoneless change detection, but is still loading Zone.js. Consider removing Zone.js to get the full benefits of zoneless. In applications using the Angular CLI, Zone.js is typically included in the "polyfills" section of the angular.json file.');console.warn(e)}return sb([{provide:gx,useExisting:wq},{provide:dD,useClass:vD},{provide:vx,useValue:!0},{provide:wx,useValue:!1},"undefined"==typeof ngDevMode||ngDevMode?[{provide:yx,useValue:!0}]:[]])}("undefined"==typeof ngDevMode||ngDevMode)&&uB(wq,[{type:bC,args:[{providedIn:"root"}]}],()=>[],null);const xq=new $v(ngDevMode?"LocaleId":"",{providedIn:"root",factory:()=>Dy(xq,{optional:!0,skipSelf:!0})||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:"undefined"!=typeof $localize&&$localize.locale||L$)}),kq=new $v(ngDevMode?"DefaultCurrencyCode":"",{providedIn:"root",factory:()=>"USD"}),Cq=new $v(ngDevMode?"Translations":""),Sq=new $v(ngDevMode?"TranslationsFormat":"");var Tq;!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Tq||(Tq={}));class Eq{name;callback;constructor(e,t){this.name=e,this.callback=t}}function Iq(e){return e.map(e=>e.nativeElement)}class Aq{nativeNode;constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new Dq(e):null}get injector(){return sS(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(tS(e)||iS(e))}get context(){return tS(this.nativeNode)||nS(this.nativeNode)}get listeners(){return dS(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=VC(e);if(null===t)return{};if(void 0===t.localRefs){const e=t.lView;if(null===e)return{};t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let i=n.index+1;for(let r=0;r<n.localNames.length;r+=2)t[n.localNames[r]]=e[i],i++;return t}return null}(e,t.nodeIndex)}return t.localRefs||{}}(this.nativeNode)}get providerTokens(){return function(e){const t=VC(e),n=t?t.lView:null;if(null===n)return[];const i=n[1],r=i.data[t.nodeIndex],s=[],o=1048575&r.providerIndexes,a=r.directiveEnd;for(let e=o;e<a;e++){let t=i.data[e];pS(t)&&(t=t.type),s.push(t)}return s}(this.nativeNode)}}class Dq extends Aq{constructor(e){ngDevMode&&Iv(e),super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const e=VC(this.nativeNode),t=e?e.lView:null;return null!==t?t[1].data[e.nodeIndex].value:this.nativeNode.nodeName}get properties(){const e=VC(this.nativeNode),t=e?e.lView:null;if(null===t)return{};const n=t[1].data,i=n[e.nodeIndex],r={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const i=Node.prototype;for(;null!==n&&n!==i;){const i=Object.getOwnPropertyDescriptors(n);for(let n in i)if(!n.startsWith("__")&&!n.startsWith("on")){const i=e[n];Mq(i)&&(t[n]=i)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,r),function(e,t,n,i){let r=t.propertyBindings;if(null!==r)for(let t=0;t<r.length;t++){const s=r[t],o=i[s].split(pA),a=o[0];if(o.length>
11){let t=o[1];for(let e=1;e<o.length-1;e++)t+=ly(n[s+e-1])+o[e+1];e[a]=t}else e[a]=n[s]}}(r,i,t,n),r}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=VC(t),i=n?n.lView:null;if(null===i)return{};const r=i[1].data[n.nodeIndex].attrs,s=[];if(r){let t=0;for(;t<r.length;){const n=r[t];if("string"!=typeof n)break;const i=r[t+1];e[n]=i,s.push(n.toLowerCase()),t+=2}}for(const n of t.attributes)s.includes(n.name)||(e[n.name]=n.value);return e}get styles(){const e=this.nativeElement;return e?.style??{}}get classes(){const e={},t=this.nativeElement.className;return("string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++){const i=e[n];t.push(Fq(i))}return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let e=0;e<t.length;e++){const i=t[e];n.push(Fq(i))}return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return Oq(this,e,t,!0),t}queryAllNodes(e){const t=[];return Oq(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,i=[];this.listeners.forEach(r=>{if(r.name===e){const e=r.callback;e.call(n,t),i.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const r=e("__ngUnwrap__");return-1===i.indexOf(r)&&r.call(n,t)}})}}function Mq(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Oq(e,t,n,i){const r=VC(e.nativeNode),s=r?r.lView:null;
1null!==s?Pq(s[1].data[r.nodeIndex],s,t,n,i,e.nativeNode):Rq(e.nativeNode,t,n,i)}function Pq(e,t,n,i,r,s){ngDevMode&&rw(e,t);const o=function(e,t){const n=null===e?-1:e.index;return-1!==n?(ngDevMode&&rw(e,t),Tw(t[n])):null}(e,t);if(11&e.type){if(Nq(o,n,i,r,s),Xb(e)){const o=Pw(e.index,t);o&&o[1].firstChild&&Pq(o[1].firstChild,o,n,i,r,s)}else e.child&&Pq(e.child,t,n,i,r,s),o&&Rq(o,n,i,r);const a=t[e.index];Kb(a)&&Lq(a,n,i,r,s)}else if(4&e.type){const o=t[e.index];Nq(o[7],n,i,r,s),Lq(o,n,i,r,s)}else if(16&e.type){const o=t[15],a=o[5].projection[e.projection];if(Array.isArray(a))for(let e of a)Nq(e,n,i,r,s);else if(a){const e=o[3];Pq(e[1].data[a.index],e,n,i,r,s)}}else e.child&&Pq(e.child,t,n,i,r,s);if(s!==o){const o=2&e.flags?e.projectionNext:e.next;o&&Pq(o,t,n,i,r,s)}}function Lq(e,t,n,i,r){for(let s=10;s<e.length;s++){const o=e[s],a=o[1].firstChild;a&&Pq(a,o,t,n,i,r)}}function Nq(e,t,n,i,r){if(r!==e){const r=Fq(e);if(!r)return;(i&&r instanceof Dq&&t(r)&&-1===n.indexOf(r)||!i&&t(r)&&-1===n.indexOf(r))&&n.push(r)}}function Rq(e,t,n,i){const r=e.childNodes,s=r.length;for(let e=0;e<s;e++){const s=r[e],o=Fq(s);o&&((i&&o instanceof Dq&&t(o)&&-1===n.indexOf(o)||!i&&t(o)&&-1===n.indexOf(o))&&n.push(o),Rq(s,t,n,i))}}const Bq="__ng_debug__";function Fq(e){return e instanceof Node?(e.hasOwnProperty(Bq)||(e[Bq]=e.nodeType==Node.ELEMENT_NODE?new Dq(e):new Aq(e)),e[Bq]):null}function Vq(e,t,n){const i=Object.create($q);i.source=e,i.computation=t,null!=n&&(i.equal=n);const r=()=>{if(mg(i),fg(i),i.value===Og)throw i.error;return i.value};if(r[ug]=i,"undefined"!=typeof ngDevMode&&ngDevMode){const e=i.debugName?" ("+i.debugName+")":"";r.toString=()=>`[LinkedSignal${e}: ${i.value}]`}return Eg(i),r}const $q=(()=>({...pg,value:Dg,dirty:!0,error:null,equal:Ig,kind:"linkedSignal",producerMustRecompute(e){return e.value===Dg||e.value===Mg},producerRecomputeValue(e){if(e.value===Mg)throw new Error("undefined"!=typeof ngDevMode&&ngDevMode?"Detected cycle in computations.":"");const t=e.value;e.value=Mg;const n=wg(e);let i;try{const n=e.source(),r=t===Dg||t===Og?void 0:{source:e.sourceValue,value:t};i=e.computation(n,r),e.sourceValue=n}catch(t){i=Og,e.error=t}finally{_g(e,n)}t!==Dg&&i!==Og&&e.equal(t,i)?e.value=t:(e.value=i,e.version++)}}))(),jq=(()=>({...pg,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"}))();class Hq{destroyed=!1;listeners=null;errorHandler=Dy(ix,{optional:!0});destroyRef=Dy(ex);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new ev(953,ngDevMode&&"Unexpected subscription to destroyed `OutputRef`. The owning directive/component is destroyed.");return(this.listeners??=[]).push(e),{unsubscribe:()=>{const t=this.listeners?.indexOf(e);void 0!==t&&-1!==t&&this.listeners?.splice(t,1)}}}emit(e){if(this.destroyed)return void console.warn(tv(953,ngDevMode&&"Unexpected emit for destroyed `OutputRef`. The owning directive/component is destroyed."));if(null===this.listeners)return;const t=dg(null);try{for(const t of this.listeners)try{t(e)}catch(e){this.errorHandler?.handleError(e)}}finally{dg(t)}}}function zq(e){return e.destroyRef}function Uq(e){return function(e){const t=dg(null);try{return e()}finally{dg(t)}}(e)}function qq(e,t){const n=Ag(e,t?.equal);return ngDevMode&&(n.toString=()=>`[Computed: ${n()}]`,n[ug].debugName=t?.debugName),n}class Wq{[ug];constructor(e){this[ug]=e}destroy(){this[ug].destroy()}}function Gq(e,t){ngDevMode&&px(Gq,"Call `effect` outside of a reactive context. For example, schedule the effect inside the component constructor."),ngDevMode&&!t?.injector&&Pb(Gq),ngDevMode&&void 0!==t?.allowSignalWrites&&console.warn("The 'allowSignalWrites' flag is deprecated and no longer impacts effect() (writes are always allowed)");const n=t?.injector??Dy(X_);let i,r=!0!==t?.manualCleanup?n.get(ex):null;const s=n.get(fx,null,{optional:!0}),o=n.get(gx);null!==s?(i=function(e,t,n){const i=Object.create(Kq);return i.view=e,i.zone="undefined"!=typeof Zone?Zone.current:null,i.notifier=t,i.fn=Jq(i,n),e[23]??=new Set,e[23].add(i),i.consumerMarkedDirty(i),i}(s.view,o,e),r instanceof tx&&r._lView===s.view&&(r=null)):i=function(e,t,n){const i=Object.create(Yq);
1return i.fn=Jq(i,e),i.scheduler=t,i.notifier=n,i.zone="undefined"!=typeof Zone?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}(e,n.get(Cx),o),i.injector=n,null!==r&&(i.onDestroyFn=r.onDestroy(()=>i.destroy()));const a=new Wq(i);if(ngDevMode){i.debugName=t?.debugName??"";const e=zv({injector:n,token:null});try{Xv(a)}finally{zv(e)}}return a}const Zq=(()=>({...jq,cleanupFns:void 0,zone:null,onDestroyFn:kx,run(){if(ngDevMode&&ag)throw new Error("Schedulers cannot synchronously execute watches while scheduling.");const e=w_(!1);try{!function(e){if(e.dirty=!1,e.version>0&&!xg(e))return;e.version++;const t=wg(e);try{e.cleanup(),e.fn()}finally{_g(e,t)}}(this)}finally{w_(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=dg(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],dg(e)}}}))(),Yq=(()=>({...Zq,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){kg(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}))(),Kq=(()=>({...Zq,consumerMarkedDirty(){this.view[2]|=8192,Hw(this.view),this.notifier.notify(13)},destroy(){kg(this),this.onDestroyFn(),this.cleanup(),this.view[23]?.delete(this)}}))();function Jq(e,t){return()=>{t(t=>(e.cleanupFns??=[]).push(t))}}const Xq=e=>e;function Qq(e,t){return"function"==typeof e?eW(Vq(e,Xq,t?.equal),t?.debugName):eW(Vq(e.source,e.computation,e.equal),e.debugName)}function eW(e,t){ngDevMode&&(e.toString=()=>`[LinkedSignal: ${e()}]`,e[ug].debugName=t);const n=e[ug],i=e;return i.set=e=>function(e,t){mg(e),Bg(e,t),bg(e)}(n,e),i.update=e=>function(e,t){mg(e),Fg(e,t),bg(e)}(n,e),i.asReadonly=dx.bind(e),i}function tW(e){ngDevMode&&!e?.injector&&Pb(tW);const t=e.request,n=e.params??t??(()=>null);return new iW(n,function(e){return function(e){return!!e.stream}(e)?e.stream:async t=>{try{return ux({value:await e.loader(t)})}catch(e){return ux({error:oW(e)})}}}(e),e.defaultValue,e.equal?(i=e.equal,(e,t)=>void 0===e||void 0===t?e===t:i(e,t)):void 0,e.injector??Dy(X_));var i}class nW{value;constructor(e){this.value=e,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=dx}isError=qq(()=>"error"===this.status());update(e){this.set(e(Uq(this.value)))}isLoading=qq(()=>"loading"===this.status()||"reloading"===this.status());isValueDefined=qq(()=>!this.isError()&&void 0!==this.value());hasValue(){return this.isValueDefined()}asReadonly(){return this}}class iW extends nW{loaderFn;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;constructor(e,t,n,i,r){super(qq(()=>{const e=this.state().stream?.();if(!e)return n;if("loading"===this.state().status&&this.error())return n;if(!sW(e))throw new aW(this.error());return e.value},{equal:i})),this.loaderFn=t,this.equal=i,this.extRequest=Qq({source:e,computation:e=>({request:e,reload:0})}),this.state=Qq({source:this.extRequest,computation:(e,t)=>{const n=void 0===e.request?"idle":"loading";return t?{extRequest:e,status:n,previousStatus:rW(t.value),stream:t.value.extRequest.request===e.request?t.value.stream
1:void 0}:{extRequest:e,status:n,previousStatus:"idle",stream:void 0}}}),this.effectRef=Gq(this.loadEffect.bind(this),{injector:r,manualCleanup:!0}),this.pendingTasks=r.get(xx),this.unregisterOnDestroy=r.get(ex).onDestroy(()=>this.destroy())}status=qq(()=>rW(this.state()));error=qq(()=>{const e=this.state().stream?.();return e&&!sW(e)?e.error:void 0});set(e){if(this.destroyed)return;const t=Uq(this.error),n=Uq(this.state);if(!t){const t=Uq(this.value);if("local"===n.status&&(this.equal?this.equal(t,e):t===e))return}this.state.set({extRequest:n.extRequest,status:"local",previousStatus:"local",stream:ux({value:e})}),this.abortInProgressLoad()}reload(){const{status:e}=Uq(this.state);return"idle"!==e&&"loading"!==e&&(this.extRequest.update(({request:e,reload:t})=>({request:e,reload:t+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}async loadEffect(){const e=this.extRequest(),{status:t,previousStatus:n}=Uq(this.state);if(void 0===e.request)return;if("loading"!==t)return;this.abortInProgressLoad();let i=this.resolvePendingTask=this.pendingTasks.add();const{signal:r}=this.pendingController=new AbortController;try{const t=await Uq(()=>this.loaderFn({params:e.request,request:e.request,abortSignal:r,previous:{status:n}}));if(r.aborted||Uq(this.extRequest)!==e)return;this.state.set({extRequest:e,status:"resolved",previousStatus:"resolved",stream:t})}catch(t){if(r.aborted||Uq(this.extRequest)!==e)return;this.state.set({extRequest:e,status:"resolved",previousStatus:"error",stream:ux({error:oW(t)})})}finally{i?.(),i=void 0}}abortInProgressLoad(){Uq(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}}function rW(e){switch(e.status){case"loading":return 0===e.extRequest.reload?"loading":"reloading";case"resolved":return sW(e.stream())?"resolved":"error";default:return e.status}}function sW(e){return void 0===e.error}function oW(e){return e instanceof Error?e:new lW(e)}class aW extends Error{constructor(e){super(ngDevMode?`Resource is currently in an error state (see Error.cause for details): ${e.message}`:e.message,{cause:e})}}class lW extends Error{constructor(e){super(ngDevMode?`Resource returned an error that's not an Error instance: ${String(e)}. Check this error's .cause for the actual error.`:String(e),{cause:e})}}function cW(e){}const uW="__jsaction",dW={};function hW(e,t){e[uW]=t}const pW="click",fW="clickmod",mW="mouseover",gW="mouseout",vW="mouseenter",yW="mouseleave",bW="pointerover",wW="pointerout",_W="pointerenter",xW="pointerleave",kW=[vW,yW,"pointerenter","pointerleave"],CW=["focus","blur","error","load","toggle"],SW=e=>CW.indexOf(e)>=0,TW=[pW,"dblclick","focusin","focusout","keydown","keyup","keypress",mW,gW,"submit","touchstart","touchend","touchmove","touchcancel","auxclick","change","compositionstart","compositionupdate","compositionend","beforeinput","input","select","copy","cut","paste","mousedown","mouseup","wheel","contextmenu","dragover","dragenter","dragleave","drop","dragstart","dragend","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","gotpointercapture","lostpointercapture","ended","loadedmetadata","pagehide","pageshow","visibilitychange","beforematch"].concat(CW),EW=e=>TW.indexOf(e)>=0;function IW(e,t){if(e.removeEventListener){const n="boolean"==typeof t.passive?{capture:t.capture}:t.capture;e.removeEventListener(t.eventType,t.handler,n)}else e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}let AW="undefined"!=typeof navigator&&/Macintosh/.test(navigator.userAgent);const DW="undefined"!=typeof navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent);class MW{element;handlerInfos=[];constructor(e){this.element=e}addEventListener(e,t,n){DW&&(this.element.style.cursor="pointer"),this.handlerInfos.push(function(e,t,n,i){let r=!1;SW(t)&&(r=!0);const s="boolean"==typeof i?{capture:r,passive:i}:r;return e.addEventListener(t,n,s),{eventType:t,handler:n,capture:r,passive:i}}(this.element,e,t(this.element),n))}cleanUp(){for(let e=0;e<this.handlerInfos.length;e++)IW(this.element,this.handlerInfos[e]);this.handlerInfos=[]}}function OW(e){return e.eventType}function PW(e,t){e.eventType=t}function LW(e){return e.event}function NW(e,t){e.event=t}function RW(e){return e.targetElement}function BW(e,t){e.targetElement=t}function FW(e){return e.eic}function VW(e){return e.eia}function $W(e,t,n){e.eia=[t,n]}function jW(e){e.eia=void 0}function HW(e){return e[1]}function zW(e,t){e.eirp=t}function UW(e){return e.eir}function qW(e,t){e.eir=t}function WW(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}class GW{eventInfo;constructor(e){this.eventInfo=e}getEventType(){return OW(this.eventInfo)}setEventType(e){PW(this.eventInfo,e)}getEvent(){return LW(this.eventInfo)}setEvent(e){NW(this.eventInfo,e)}getTargetElement(){return RW(this.eventInfo)}setTargetElement(e){BW(this.eventInfo,e)}getContainer(){return FW(this.eventInfo)}setContainer(e){!function(e,t){e.eic=t}(this.eventInfo,e)}getTimestamp(){return this.eventInfo.timeStamp}setTimestamp(e){!function(e,t){e.timeStamp=t}(this.eventInfo,e)}getAction(){const e=VW(this.eventInfo);if(e)return{name:e[0],element:e[1]}}setAction(e){e?$W(this.eventInfo,e.name,e.element):jW(this.eventInfo)}getIsReplay(){return this.eventInfo.eirp}setIsReplay(e){zW(this.eventInfo,e)}getResolved(){return UW(this.eventInfo)}setResolved(e){qW(this.eventInfo,e)}clone(){return new GW(WW(this.eventInfo))}}const ZW={},YW=/\s*;\s*/,KW=pW;class JW{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:e=!1,clickModSupport:t=!0}={}){this.syntheticMouseEventSupport=e,this.clickModSupport=t}resolveEventType(e){var t;this.clickModSupport&&OW(e)===pW&&(t=LW(e),AW&&t.metaKey||!AW&&t.ctrlKey||function(e){return 2===e.which||null==e.which&&4===e.button}(t)||t.shiftKey)?PW(e,fW):this.a11yClickSupport&&this.updateEventInfoForA11yClick(e)}resolveAction(e){UW(e)||(this.populateAction(e,RW(e)),qW(e,!0))}resolveParentAction(e){const t=VW(e),n=t&&HW(t);jW(e);const i=n&&this.getParentNode(n);i&&this.populateAction(e,i)}populateAction(e,t){let n=t;for(;n&&n!==FW(e)&&(n.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(n,e),!VW(e));)n=this.getParentNode(n);const i=VW(e);if(i&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(e),this.syntheticMouseEventSupport&&(OW(e)===vW||OW(e)===yW||OW(e)===_W||OW(e)===xW)))if(function(e,t,n){const i=e.relatedTarget;return(e.type===mW&&t===vW||e.type===gW&&t===yW||e.type===bW&&t===_W||e.type===wW&&t===xW)&&(!i||i!==n&&!n.contains(i))}(LW(e),OW(e),HW(i))){NW(e,function(e,t){const n={};for(const t in e){if("srcElement"===t||"target"===t)continue;const i=t,r=e[i];"function"!=typeof r&&(n[i]=r)}return e.type===mW?n.type=vW:e.type===gW?n.type=yW:e.type===bW?n.type=_W:n.type=xW,n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}(LW(e),HW(i))),BW(e,HW(i))}else jW(e)}getParentNode(e){const t=e.__owner;if(t)return t;const n=e.parentNode;return"#document-fragment"===n?.nodeName?n?.host??null:n}populateActionOnElement(e,t){const n=this.parseActions(e),i=n[OW(t)];void 0!==i&&$W(t,i,e),this.a11yClickSupport&&this.populateClickOnlyAction(e,t,n)}parseActions(e){let t=e[uW];var n;if(!t){const i=e.getAttribute(Px.JSACTION);if(i){if(t=dW[i],!t){t={};const e=i.split(YW);for(let n=0;n<e.length;n++){const i=e[n];if(!i)continue;const r=i.indexOf(":"),s=-1!==r,o=s?i.substr(0,r).trim():KW,a=s?i.substr(r+1).trim():i;t[o]=a}n=t,dW[i]=n}hW(e,t)}else t=ZW,hW(e,t)}return t}addA11yClickSupport(e,t,n){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=e,this.preventDefaultForA11yClick=t,this.populateClickOnlyAction=n}}var XW;!function(e){e[e.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK"}(XW||(XW={}));class QW{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(e,{actionResolver:t,eventReplayer:n}={}){this.dispatchDelegate=e,this.actionResolver=t,this.eventReplayer=n}
1dispatch(e){const t=new GW(e);this.actionResolver?.resolveEventType(e),this.actionResolver?.resolveAction(e);const n=t.getAction();var i;n&&function(e,t){return"A"===e.tagName&&(t.getEventType()===pW||t.getEventType()===fW)}(n.element,t)&&((i=t.getEvent()).preventDefault?i.preventDefault():i.returnValue=!1),this.eventReplayer&&t.getIsReplay()?this.scheduleEventInfoWrapperReplay(t):this.dispatchDelegate(t)}scheduleEventInfoWrapperReplay(e){this.replayEventInfoWrappers.push(e),this.eventReplayScheduled||(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}}const eG=Symbol.for("propagationStopped");class tG{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(e,t=!0){this.dispatchDelegate=e,this.clickModSupport=t,this.actionResolver=new JW({clickModSupport:t}),this.dispatcher=new QW(e=>{this.dispatchToDelegate(e)},{actionResolver:this.actionResolver})}dispatch(e){this.dispatcher.dispatch(e)}dispatchToDelegate(e){for(e.getIsReplay()&&function(e){const t=e.getEvent(),n=e.getTargetElement(),i=t.preventDefault.bind(t);rG(t,"target",n),rG(t,"eventPhase",101),rG(t,"preventDefault",()=>{throw i(),new Error("`preventDefault` called during event replay."+(ngDevMode?" Because event replay occurs after browser dispatch, `preventDefault` would have no effect. You can check whether an event is being replayed by accessing the event phase: `event.eventPhase === EventPhase.REPLAY`.":""))}),rG(t,"composedPath",()=>{throw new Error("`composedPath` called during event replay."+(ngDevMode?" Because event replay occurs after browser dispatch, `composedPath()` will be empty. Iterate parent nodes from `event.target` or `event.currentTarget` if you need to check elements in the event path.":""))})}(e),function(e){const t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),i=()=>{t[eG]=!0,n()};rG(t,"stopPropagation",i),rG(t,"stopImmediatePropagation",i)}(e);e.getAction();){if(iG(e),SW(e.getEventType())&&e.getAction().element!==e.getTargetElement())return;if(this.dispatchDelegate(e.getEvent(),e.getAction().name),nG(e))return;this.actionResolver.resolveParentAction(e.eventInfo)}}}function nG(e){return!!e.getEvent()[eG]}function iG(e){const t=e.getEvent(),n=e.getAction()?.element;n&&rG(t,"currentTarget",n,{configurable:!0})}function rG(e,t,n,{configurable:i=!1}={}){Object.defineProperty(e,t,{value:n,configurable:i})}function sG(e,t,n,i){for(let r=0;r<t.length;r++)e.removeEventListener(t[r],n,i)}class oG{static MOUSE_SPECIAL_SUPPORT=!1;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(e){this.containerManager=e}handleEvent(e,t,n){const i=function(e,t,n,i,r,s,o,a){return{eventType:e,event:t,targetElement:n,eic:i,timeStamp:r,eia:s,eirp:o,eiack:a}}(e,t,t.target,n,Date.now());this.handleEventInfo(i)}handleEventInfo(e){if(!this.dispatcher)return zW(e,!0),void this.queuedEventInfos?.push(e);this.dispatcher(e)}addEvent(e,t,n){if(e in this.eventHandlers||!this.containerManager)return;if(!oG.MOUSE_SPECIAL_SUPPORT&&kW.indexOf(e)>=0)return;const i=(e,t,n)=>{this.handleEvent(e,t,n)};this.eventHandlers[e]=i;const r=function(e){return e===vW?mW:e===yW?gW:e===_W?bW:e===xW?wW:e}(t||e);if(r!==e){const t=this.browserEventTypeToExtraEventTypes[r]||[];t.push(e),this.browserEventTypeToExtraEventTypes[r]=t}this.containerManager.addEventListener(r,t=>n=>{i(e,n,t)},n)}replayEarlyEvents(e=window._ejsa){e&&(this.replayEarlyEventInfos(e.q),function(e){e&&(sG(e.c,e.et,e.h),sG(e.c,e.etc,e.h,!0))}(e),delete window._ejsa)}replayEarlyEventInfos(e){for(let t=0;t<e.length;t++){const n=e[t],i=this.getEventTypesForBrowserEventType(n.eventType);for(let e=0;e<i.length;e++){const t=WW(n);PW(t,i[e]),this.handleEventInfo(t)}}}getEventTypesForBrowserEventType(e){const t=[];return this.eventHandlers[e]&&t.push(e),this.browserEventTypeToExtraEventTypes[e]&&t.push(...this.browserEventTypeToExtraEventTypes[e]),t}handler(e){return this.eventHandlers[e]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(e,t){this.ecrd(e,t)}ecrd(e,t){if(this.dispatcher=e,this.queuedEventInfos?.length){for(let e=0;e<this.queuedEventInfos.length;e++)this.handleEventInfo(this.queuedEventInfos[e]);this.queuedEventInfos=null}}}function aG(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}const lG=Symbol("InputSignalNode#UNSET"),cG=(()=>({...Vg,transformFn:void 0,applyValueToInputSignal(e,t){Bg(e,t)}}))(),uG=Symbol();function dG(e,t){const n=Object.create(cG);function i(){if(fg(n),n.value===lG){let e=null;if(ngDevMode){const n=t?.debugName??t?.alias;e=`Input${n?` "${n}"`:""} is required but no value is available yet.`}throw new ev(-950,e)}return n.value}return n.value=e,n.transformFn=t?.transform,i[ug]=n,ngDevMode&&(i.toString=()=>`[Input Signal: ${i()}]`,n.debugName=t?.debugName),i}var hG,pG,fG;
1!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(hG||(hG={})),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}(pG||(pG={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(fG||(fG={}));class mG{attributeName;constructor(e){this.attributeName=e}__NG_ELEMENT_ID__=()=>uC(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const gG=new $v(ngDevMode?"HOST_TAG_NAME":"");function vG(e){return ngDevMode&&Pb(vG),new Hq}function yG(e,t){return ngDevMode&&Pb(bG),dG(e,t)}gG.__NG_ELEMENT_ID__=e=>{const t=c_();if(null===t)throw new ev(204,ngDevMode&&"HOST_TAG_NAME can only be injected in directives and components during construction time (in a class constructor or as a class field initializer)");if(2&t.type)return t.value;if(8&e)return null;throw new ev(204,ngDevMode&&`HOST_TAG_NAME was used on ${function(e){return 8&e.type?"an <ng-container>":4&e.type?"an <ng-template>":128&e.type?"an @let declaration":"a node"}(t)} which doesn't have an underlying element in the DOM. This is invalid, and so the dependency should be marked as optional.`)};const bG=(yG.required=function(e){return ngDevMode&&Pb(bG),dG(lG,e)},yG);function wG(e,t){return ngDevMode&&Pb(_G),sN(t)}const _G=(wG.required=function(e,t){return ngDevMode&&Pb(_G),oN(t)},wG);function xG(e,t){return ngDevMode&&Pb(xG),aN(t)}function kG(e,t){return ngDevMode&&Pb(CG),sN(t)}const CG=(kG.required=function(e,t){return ngDevMode&&Pb(SG),oN(t)},kG);function SG(e,t){return aN(t)}function TG(e,t){const n=Object.create(cG),i=new Hq;function r(){return fg(n),EG(n.value),n.value}return n.value=e,r[ug]=n,r.asReadonly=dx.bind(r),r.set=e=>{n.equal(n.value,e)||(Bg(n,e),i.emit(e))},r.update=e=>{EG(n.value),r.set(e(n.value))},r.subscribe=i.subscribe.bind(i),r.destroyRef=i.destroyRef,ngDevMode&&(r.toString=()=>`[Model Signal: ${r()}]`,n.debugName=t?.debugName),r}function EG(e){if(e===lG)throw new ev(952,ngDevMode&&"Model is required but no value is available yet.")}function IG(e,t){return ngDevMode&&Pb(AG),TG(e,t)}const AG=(IG.required=function(e){return ngDevMode&&Pb(AG),TG(lG,e)},IG),DG=!0;class MG{}const OG=jx("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:DG,...t}),MG),PG=jx("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),MG),LG=jx("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:DG,...t}),MG),NG=jx("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),MG);function RG(e,t,n){ngDevMode&&function(e,t="Type passed in is not NgModuleType, it does not have 'ɵmod' property."){Xy(e)||Ev(t)}(n);const i=new TN(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(i);const r=e.get(uq,[]).concat(t);if(function(e){if(null!==vU){if(e.defaultEncapsulation!==vU.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==vU.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}vU=e}({defaultEncapsulation:BG(r.map(e=>e.defaultEncapsulation)),preserveWhitespaces:BG(r.map(e=>e.preserveWhitespaces))}),0===uN.size)return Promise.resolve(i);const s=r.flatMap(e=>e.providers??[]);if(0===s.length)return Promise.resolve(i);const o=Gx({usage:0,kind:"NgModule",type:n}),a=X_.create({providers:s}).get(o.ResourceLoader);return cN(e=>Promise.resolve(a.get(e))).then(()=>i)}function BG(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}class FG{window=null;observer=null;options=Dy(ES);lcpImageUrl;start(){if("undefined"!=typeof ngServerMode&&ngServerMode||"undefined"==typeof PerformanceObserver||this.options?.disableImageSizeWarning&&this.options?.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const e=yS(),t=e.defaultView;if(t){this.window=t;const n=()=>{setTimeout(this.scanImages.bind(this),200)},i=()=>{"complete"===e.readyState?n():this.window?.addEventListener("load",n,{once:!0})};"undefined"!=typeof Zone?Zone.root.run(()=>i()):i()}}ngOnDestroy(){this.observer?.disconnect()}initPerformanceObserver(){if("undefined"==typeof PerformanceObserver)return null;const e=new PerformanceObserver(e=>{const t=e.getEntries();if(0===t.length)return;const n=t[t.length-1],i=n.element?.src??"";i.startsWith("data:")||i.startsWith("blob:")||(this.lcpImageUrl=i)});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}scanImages(){const e=yS().querySelectorAll("img");let t,n=!1;for(let i=0;i<e.length;i++){const r=e[i];r&&(this.options?.disableImageSizeWarning||!r.getAttribute("ng-img")&&this.isOversized(r)&&VG(r.src),!this.options?.disableImageLazyLoadWarning&&this.lcpImageUrl&&r.src===this.lcpImageUrl&&(t=!0,("lazy"!==r.loading||r.getAttribute("ng-img"))&&(n=!0)))}var i;t&&!n&&this.lcpImageUrl&&!this.options?.disableImageLazyLoadWarning&&(i=this.lcpImageUrl,console.warn(tv(-913,`An image with src ${i} is the Largest Contentful Paint (LCP) element but was given a "loading" value of "lazy", which can negatively impact application loading performance. This warning can be addressed by changing the loading value of the LCP image to "eager", or by using the NgOptimizedImage directive's prioritization utilities. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913`)))}isOversized(e){if(!this.window)return!1;const t=(e.src||"").toLowerCase();if([".svg"].some(e=>t.endsWith(e)))return!1;const n=this.window.getComputedStyle(e);let i=parseFloat(n.getPropertyValue("width")),r=parseFloat(n.getPropertyValue("height"));const s=n.getPropertyValue("box-sizing");if("cover"===n.getPropertyValue("object-fit"))return!1;if("border-box"===s){const e=n.getPropertyValue("padding-top"),t=n.getPropertyValue("padding-right"),s=n.getPropertyValue("padding-bottom"),o=n.getPropertyValue("padding-left");i-=parseFloat(t)+parseFloat(o),r-=parseFloat(e)+parseFloat(s)}
1const o=e.naturalWidth,a=e.naturalHeight,l=this.window.devicePixelRatio*i,c=this.window.devicePixelRatio*r;return o-l>=1200||a-c>=1200}static"ɵfac"=function(e){return new(e||FG)};static"ɵprov"=Ov({token:FG,factory:FG.ɵfac,providedIn:"root"})}function VG(e){console.warn(tv(-913,`An image with src ${e} has intrinsic file dimensions much larger than its rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913`))}("undefined"==typeof ngDevMode||ngDevMode)&&uB(FG,[{type:bC,args:[{providedIn:"root"}]}],null,null);const $G=new $v(ngDevMode?"PlatformDestroyListeners":""),jG=new $v(ngDevMode?"ENABLE_ROOT_COMPONENT_BOOTSTRAP":"");function HG(e){return!e.moduleRef}function zG(e){const t=HG(e)?e.r3Injector:e.moduleRef.injector,n=t.get(dD);return n.run(()=>{HG(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=t.get(rx);if(("undefined"==typeof ngDevMode||ngDevMode)&&t.get(yx)&&t.get(pq))throw new ev(408,"Invalid change detection configuration: provideZoneChangeDetection and provideZonelessChangeDetection cannot be used together.");let r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:i})}),HG(e)){const n=()=>t.destroy(),i=e.platformInjector.get($G);i.add(n),t.onDestroy(()=>{r.unsubscribe(),i.delete(n)})}else{const t=()=>e.moduleRef.destroy(),n=e.platformInjector.get($G);n.add(t),e.moduleRef.onDestroy(()=>{fF(e.allPlatformModules,e.moduleRef),r.unsubscribe(),n.delete(t)})}return function(n,i){try{const r=(()=>{const n=t.get(_x),i=n.add(),r=t.get(sF);return r.runInitializers(),r.donePromise.then(()=>{if(V$(t.get(xq,"en-US")||"en-US"),!t.get(jG,!0))return HG(e)?t.get(hF):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(("undefined"==typeof ngDevMode||ngDevMode)&&t.get(FG).start(),HG(e)){const n=t.get(hF);return void 0!==e.rootComponent&&n.bootstrap(e.rootComponent),n}return UG?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{n.remove(i)})})();return tF(r)?r.catch(e=>{throw i.runOutsideAngular(()=>n(e)),e}):r}catch(e){throw i.runOutsideAngular(()=>n(e)),e}}(i,n)})}let UG;function qG(){UG=WG}function WG(e,t){const n=e.injector.get(hF);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>n.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new ev(-403,ngDevMode&&`The module ${ov(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(n)}t.push(e)}class GG{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,t){const n=t?.scheduleInRootZone,i=t?.ignoreChangesOutsideZone,r=[fq({ngZoneFactory:()=>function(e="zone.js",t){return"noop"===e?new vD:"zone.js"===e?new dD(t):e}(t?.ngZone,{...gq({eventCoalescing:t?.ngZoneEventCoalescing,runCoalescing:t?.ngZoneRunCoalescing}),scheduleInRootZone:n}),ignoreChangesOutsideZone:i}),{provide:gx,useExisting:wq},sx],s=(o=e.moduleType,a=this.injector,new SN(o,a,r,!1));var o,a;return qG(),zG({moduleRef:s,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){const n=dF({},t);return qG(),RG(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ev(404,ngDevMode&&"The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e());const e=this._injector.get($G,null);e&&(e.forEach(e=>e()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static"ɵfac"=function(e){return new(e||GG)(Iy(X_))};static"ɵprov"=Ov({token:GG,factory:GG.ɵfac,providedIn:"platform"})}("undefined"==typeof ngDevMode||ngDevMode)&&uB(GG,[{type:bC,args:[{providedIn:"platform"}]}],()=>[{type:X_}],null);let ZG=null;function YG(e){if(QG())throw new ev(400,ngDevMode&&"There can be only one platform. Destroy the previous one to create a new one.");aF(),lF(),ZG="undefined"!=typeof ngServerMode&&ngServerMode?null:e;const t=e.get(GG);return iZ(e),t}function KG(e,t,n=[]){const i=`Platform: ${t}
1`,r=new $v(i);return(t=[])=>{let s=QG();if(!s){const o=[...n,...t,{provide:r,useValue:!0}];s=e?.(o)??YG(JG(o,i))}return"undefined"!=typeof ngServerMode&&ngServerMode?s:XG(r)}}function JG(e=[],t){return X_.create({name:t,providers:[{provide:bb,useValue:"platform"},{provide:$G,useValue:new Set([()=>ZG=null])},...e]})}function XG(e){const t=QG();if(!t)throw new ev(-401,ngDevMode&&"No platform exists!");if(("undefined"==typeof ngDevMode||ngDevMode)&&!t.injector.get(e,null))throw new ev(400,"A platform with a different configuration has been created. Please destroy it first.");return t}function QG(){return"undefined"!=typeof ngServerMode&&ngServerMode?null:ZG?.get(GG)??null}function eZ(){QG()?.destroy()}function tZ(e=[]){if(ZG)return ZG;aF();const t=JG(e);return"undefined"!=typeof ngServerMode&&ngServerMode||(ZG=t),lF(),iZ(t),t}function nZ(e){return sb([{provide:_S,useValue:e,multi:!0}])}function iZ(e){const t=e.get(_S,null);Mb(e,()=>{t?.forEach(e=>e())})}function rZ(e){return sb("undefined"==typeof ngDevMode||ngDevMode?[{provide:EM,useValue:e.exhaustive},void 0!==e?.interval?(t=e.interval,ob(()=>{const e=Dy(hF),n=Dy(ix),i=Dy(wq),r=Dy(dD);!function s(){r.runOutsideAngular(()=>{setTimeout(()=>{if(!e.destroyed)if(i.pendingRenderTaskId||i.runningTick)s();else{for(const t of e.allViews)try{FM(t._lView,!0)}catch(e){n.handleError(e)}s()}},t)})}()})):[]]:[]);var t}function sZ(){return"undefined"==typeof ngDevMode||!!ngDevMode}function oZ(){("undefined"==typeof ngDevMode||ngDevMode)&&(nv.ngDevMode=!1)}function aZ(e){const t=bN(e);if(!t)throw cZ(e);return new TN(t)}function lZ(e){const t=bN(e);if(!t)throw cZ(e);return t}function cZ(e){return new Error(`No module with ID ${e} loaded`)}class uZ{static __NG_ELEMENT_ID__=dZ}function dZ(e){return function(e,t,n){if(Xb(e)&&!n){const n=Pw(e.index,t);return new XM(n,n)}if(175&e.type){const e=t[15];return new XM(e,t)}return null}(c_(),s_(),!(16&~e))}class hZ extends uZ{}class pZ extends hZ{}class fZ{constructor(){}supports(e){return rL(e)}create(e){return new gZ(e)}}const mZ=(e,t)=>t;class gZ{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(e){this._trackByFn=e||mZ}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const s=!n||t&&t.currentIndex<wZ(n,i,r)?t:n,o=wZ(s,i,r),a=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)i++;else{r||(r=[]);const e=o-i,t=a-i;if(e!=t){for(let n=0;n<e;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;t<=s&&s<e&&(r[n]=i+1)}r[s.previousIndex]=t-e}}o!==a&&e(s,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!rL(e))throw new ev(900,ngDevMode&&`Error trying to diff '${ov(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,i,r=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],i=this._trackByFn(t,n),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,t)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,t),s=!0),r=r._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(e,e=>{i=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,e,i,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),s=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new vZ(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=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(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new bZ),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bZ),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class vZ{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(e,t){this.item=e,this.trackById=t}}class yZ{_head=null;_tail=null;add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class bZ{map=new Map;put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new yZ,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,i=this.map.get(n);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}
1function wZ(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class _Z{constructor(){}supports(e){return e instanceof Map||sL(e)}create(){return new xZ}}class xZ{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||sL(e)))throw new ev(900,ngDevMode&&`Error trying to diff '${ov(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new kZ(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class kZ{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}}function CZ(){return new SZ([new fZ])}class SZ{factories;static"ɵprov"=Ov({token:SZ,providedIn:"root",factory:CZ});constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new SZ(e)}static extend(e){return{provide:SZ,useFactory:()=>{const t=Dy(SZ,{optional:!0,skipSelf:!0});return SZ.create(e,t||CZ())}}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new ev(901,ngDevMode&&`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}function TZ(){return new EZ([new _Z])}class EZ{static"ɵprov"=Ov({token:EZ,providedIn:"root",factory:TZ});factories;constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new EZ(e)}static extend(e){return{provide:EZ,useFactory:()=>{const t=Dy(EZ,{optional:!0,skipSelf:!0});return EZ.create(e,t||TZ())}}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new ev(901,ngDevMode&&`Cannot find a differ supporting object '${e}'`)}}const IZ=[new _Z],AZ=[new fZ],DZ=new SZ(AZ),MZ=new EZ(IZ),OZ=KG(null,"core",[]);class PZ{constructor(e){}static"ɵfac"=function(e){return new(e||PZ)(Iy(hF))};static"ɵmod"=ON({type:PZ});static"ɵinj"=Lv({})}function LZ(e){const{rootComponent:t,appProviders:n,platformProviders:i,platformRef:r}=e;if(mk(8),"undefined"!=typeof ngServerMode&&ngServerMode&&!r)throw new ev(-401,ngDevMode&&"Missing Platform: This may be due to using `bootstrapApplication` on the server without passing a `BootstrapContext`. Please make sure that `bootstrapApplication` is called with a `context` argument.");try{const e=r?.injector??tZ(i);"undefined"!=typeof ngDevMode&&!ngDevMode||void 0===t||function(e){if(gA(e),!eb(e).standalone)throw new ev(907,`The ${cy(e)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${cy(e)} component has the \`standalone: true\` flag in the decorator.`)}(t);const s=[fq({}),{provide:gx,useExisting:wq},sx,...n||[]];return zG({r3Injector:new EN({providers:s,parent:e,debugName:"undefined"==typeof ngDevMode||ngDevMode?"Environment Injector":"",runEnvironmentInitializer
1s:!1}).injector,platformInjector:e,rootComponent:t})}catch(e){return Promise.reject(e)}finally{mk(9)}}("undefined"==typeof ngDevMode||ngDevMode)&&uB(PZ,[{type:aq}],()=>[{type:hF}],null);const NZ=new WeakSet,RZ="";let BZ=[];function FZ(e){return e.get(QS,!1)}function VZ(){const e=[{provide:QS,useFactory:()=>{let e=!0;if("undefined"==typeof ngServerMode||!ngServerMode){const t=Dy(bS);e=!!window._ejsas?.[t]}return e&&nD("NgEventReplay"),e}}];return"undefined"!=typeof ngServerMode&&ngServerMode||e.push({provide:Zy,useValue:()=>{const e=Dy(hF),{injector:t}=e;if(!NZ.has(e)){const i=Dy(tT);if(FZ(t)){xT||(kT=(e,t,n,i)=>{const r=e[9].get(bS),s=_T.get(r);s?.(t,n,i)},xT=!0);const r=(n=t.get(bS),_T.set(n,(e,t,n)=>{e.nodeType===Node.ELEMENT_NODE&&(gT(e,t,n),vT(e,i))}),()=>_T.delete(n));e.onDestroy(r)}}var n},multi:!0},{provide:oF,useFactory:()=>{const e=Dy(hF),{injector:t}=e;return()=>{if(!FZ(t)||NZ.has(e))return;NZ.add(e);const n=t.get(bS);e.onDestroy(()=>{NZ.delete(e),"undefined"==typeof ngServerMode||ngServerMode||aG(n)}),e.whenStable().then(()=>{if(e.destroyed)return;const n=t.get(bT);$Z(n,t);const i=t.get(tT);i.get(RZ)?.forEach(yT),i.delete(RZ);const r=n.instance;WT(t)?e.onDestroy(()=>r.cleanUp()):r.cleanUp()})}},multi:!0}),e}const $Z=(e,t)=>{const n=t.get(bS),i=window._ejsas[n],r=e.instance=new oG(new MW(i.c));for(const e of i.et)r.addEvent(e);for(const e of i.etc)r.addEvent(e);const s=function(e,t=window){return n=t._ejsas?.[e],n?.q??[];var n}(n);r.replayEarlyEventInfos(s),aG(n);const o=new tG(e=>{!function(e,t,n){const i=(n&&n.getAttribute("ngb"))??"";/d\d+/.test(i)?function(e,t,n,i){BZ.push({event:n,currentTarget:i}),kF(t,e,jZ)}(i,e,t,n):101===t.eventPhase&&wT(t,n)}(t,e,e.currentTarget)});!function(e,t){e.ecrd(e=>{t.dispatch(e)},XW.I_AM_THE_JSACTION_FRAMEWORK)}(r,o)};function jZ(e){const t=[...BZ],n=new Set(e);BZ=[];for(let{event:e,currentTarget:i}of t){const t=i.getAttribute("ngb");n.has(t)?wT(e,i):BZ.push({event:e,currentTarget:i})}}class HZ{views=[];indexByContent=new Map;add(e){const t=JSON.stringify(e);if(!this.indexByContent.has(t)){const n=this.views.length;return this.views.push(e),this.indexByContent.set(t,n),n}return this.indexByContent.get(t)}getAll(){return this.views}}let zZ=0;function UZ(e){return e.ssrId||(e.ssrId="t"+zZ++),e.ssrId}function qZ(e,t,n){const i=[];return IM(e,t,n,i),i.length}function WZ(e){const t=[];return AM(e,t),t.length}function GZ(e,t,n){const i=e[0];return i&&!i.hasAttribute(TC)?nY(i,e,null,t):null}function ZZ(e,t,n){const i=Ew(e[0]),r=GZ(i,t);if(null===r)return;const s=Tw(i[0]),o=`${r}|${nY(s,e[3],null,t)}`;i[11].setAttribute(s,"ngh",o)}function YZ(e,t){const n=e.injector,i=function(e){return(e=e??Dy(X_)).get(XS,!1)}(n),r=WT(n),s=new HZ,o=new Map,a=e._views,l=n.get(QS,!1),c={regular:new Set,capture:new Set},u=new Map,d=e.injector.get(bS);for(const e of a){const n=BT(e);if(null!==n){const e={serializedViewCollection:s,corruptedTextNodes:o,isI18nHydrationEnabled:i,isIncrementalHydrationEnabled:r,i18nChildren:new Map,eventTypesToReplay:c,shouldReplayEvents:l,appId:d,deferBlocks:u};Kb(n)?ZZ(n,e):GZ(n,e),rY(o,t)}}const h=s.getAll(),p=n.get(DS);if(p.set(IT,h),u.size>0){const e={};for(const[t,n]of u.entries())e[t]=n;p.set(DT,e)}return c}function KZ(e,t,n,i,r){const s=[];let o="";for(let a=10;a<e.length;a++){let l,c,u,d=e[a];if(tw(d)&&(d=d[27],Kb(d))&&(c=WZ(d)+1,ZZ(d,r),u={i:Ew(d[0])[1].ssrId,r:c}),!u){const s=d[1];1===s.type?(l=s.ssrId,c=1):(l=UZ(s),c=qZ(s,d,s.firstChild)),u={i:l,r:c};let o=!1;if(VR(n[1],t)){const s=OR(n,t),a=PR(n[1],t);if(r.isIncrementalHydrationEnabled&&null!==a.hydrateTriggers){const n=`d${r.deferBlocks.size}`;a.hydrateTriggers.has(7)&&(o=!0);let l=[];AM(e,l);const c={r:l.length,s:s[1]},h=JZ(a.hydrateTriggers);h.length>0&&(c.t=h),null!==i&&(c.p=i),r.deferBlocks.set(n,c);const p=Tw(e);void 0!==p?p.nodeType===Node.COMMENT_NODE&&iY(p,n):(ngDevMode&&aO(p,d,t),ngDevMode&&sO(p,Node.COMMENT_NODE,null,d,t,!0),iY(p,n)),o||oY(a,l,n,r),i=n,u.di=n}u.s=s[1]}o||Object.assign(u,eY(e[a],i,r))}const h=JSON.stringify(u);if(s.length>0&&h===o){const e=s[s.length-1];e.x??=1,e.x++}else o=h,s.push(u)}return s}function JZ(e){const t=new Set([0,1,2,5]);let n=[];for(let[i,r]of e)t.has(i)&&(null===r?n.push(i):n.push({trigger:i,delay:r.delay}));return n}function XZ(e,t,n,i){const r=t.index-27;e.n??={},e.n[r]??=function(e,t,n){let i,r,s,o=e.parent;for(;null!==o&&(VO(o,t)||n?.has(o.index));)o=o.parent;null!==o&&3&o.type?(i=o.index,r=Tw(t[i]),s=ly(i-27)):(i=s=OS,r=t[15][0]);let a=Tw(t[e.index]);if(44&e.type){const n=KD(t,e);n&&(a=n)}let l=ZO(r,a,s);if(null===l&&r!==a&&(l=ZO(r.ownerDocument.body,a,PS),null===l))throw function(e,t){const n=`${pO(e,t,!1)}\n\n`,i=gO();throw new ev(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+n+i)}(t,e);return l}(t,n,i)}function QZ(e,t){const n="number"==typeof t?t:t.index-27;e.d??=[],e.d.includes(n)||e.d.push(n)}function eY(e,t=null,n){const i={},r=e[1],s=function(e,t){let n=t.i18nChildren.get(e);return void 0===n&&(n=function(e){const t=new Set;function n(e){switch(t.add(e.index),e.kind){case 1:case 2:for(const t of e.children)n(t);break;case 3:for(const t of e.cases)for(const e of t)n(e)}}for(let t=27;t<e.bindingStartIndex;t++){const i=e.data[t];if(i&&i.ast)for(const e of i.ast)n(e)}return 0===t.size?null:t}(e),t.i18nChildren.set(e,n)),n}(r,n),o=n.shouldReplayEvents?function(e,t,n){const i=new Map,r=t[7],s=e.cleanup;if(!s||!r)return i;for(let e=0;e<s.length;){const r=s[e++],o=s[e++];if("string"!=typeof r)continue;const a=r;if(!EW(a))continue;SW(a)?n.capture.add(a):n.regular.add(a);const l=Tw(t[o]);e++;const c=s[e++];("boolean"==typeof c||c>=0)&&(i.has(l)?i.get(l).push(a):i.set(l,[a]))}return i}(r,e,n.eventTypesToReplay):null;for(let a=27;a<r.bindingStartIndex;a++){const l=r.data[a],c=a-27,u=eP(e,a,n);if(u){i.l??={},i.l[c]=u.caseQueue;for(const e of u.disconnectedNodes)QZ(i,e);for(const t of u.disjointNodes){const n=r.data[t+27];ngDevMode&&aw(n),XZ(i,n,e,s)}}else if(Tk(l)&&!TT(l))if(Kb(e[a])&&l.tView&&(i.t??={}
1,i.t[c]=UZ(l.tView)),VO(l,e)&&sY(l))QZ(i,l);else{if(Array.isArray(l.projection))for(const t of l.projection)if(t){if(Array.isArray(t))throw cO(Tw(e[a]));nw(t)||MC(t)||(VO(t,e)?QZ(i,t):XZ(i,t,e,s))}if(tY(i,l,e,s),Kb(e[a])){const r=e[a][0];if(Array.isArray(r)){const e=Tw(r);e.hasAttribute(TC)||nY(e,r,t,n)}i.c??={},i.c[c]=KZ(e[a],l,e,t,n)}else if(Array.isArray(e[a])&&!Ek(l)){const i=Tw(e[a][0]);i.hasAttribute(TC)||nY(i,e[a],t,n)}else if(8&l.type)i.e??={},i.e[c]=qZ(r,e,l.child);else if(144&l.type){let t=l.next;for(;null!==t&&144&t.type;)t=t.next;t&&!MC(t)&&XZ(i,t,e,s)}else 1&l.type&&nE(n,Tw(e[a]));if(o&&2&l.type){const n=Tw(e[a]);o.has(n)&&mT(n,o.get(n),t)}}}return i}function tY(e,t,n,i){nw(t)||(t.projectionNext&&t.projectionNext!==t.next&&!MC(t.projectionNext)&&XZ(e,t.projectionNext,n,i),null===t.prev&&null!==t.parent&&VO(t.parent,n)&&!VO(t,n)&&XZ(e,t,n,i))}function nY(e,t,n,i){const r=t[11];if(function(e){return!(32&~e[Rb])}(t)&&!QO()||function(e){const t=e[8];return!!t?.constructor&&eb(t.constructor)?.encapsulation===pE.ShadowDom}(t))return r.setAttribute(e,TC,""),null;{const s=eY(t,n,i),o=i.serializedViewCollection.add(s);return r.setAttribute(e,"ngh",o.toString()),o}}function iY(e,t){e.textContent=`ngh=${t}`}function rY(e,t){for(const[n,i]of e)n.after(t.createComment(i))}function sY(e){let t=e;for(;null!=t;){if(Xb(t))return!0;t=t.parent}return!1}function oY(e,t,n,i){const r=function(e){let t=[];return null!==e&&(e.has(4)&&t.push(...lT),e.has(3)&&t.push(...aT)),t}(e.hydrateTriggers);for(let e of r)i.eventTypesToReplay.regular.add(e);if(r.length>0){const e=t.filter(e=>e.nodeType===Node.ELEMENT_NODE);for(let t of e)mT(t,r,n)}}let aY=!1,lY=!1,cY=!1;const uY=1e4;const dY="ngcm";function hY(){const e=[{provide:YS,useFactory:()=>{let e=!0;if("undefined"==typeof ngServerMode||!ngServerMode){const t=Dy(DS,{optional:!0});e=!!t?.get(IT,null)}return e&&nD("NgHydration"),e}},{provide:Zy,useValue:()=>{if(XO(!1),"undefined"==typeof ngServerMode||!ngServerMode)if(Dy(YS))!function(e){for(const t of e.body.childNodes)if(lE(t))return;if(!lE(cE(e.body.previousSibling))&&!lE(cE(e.head.lastChild)))throw new ev(-507,"undefined"!=typeof ngDevMode&&ngDevMode&&"Angular hydration logic detected that HTML content of this page was modified after it was produced during server side rendering. Make sure that there are no optimizations that remove comment nodes from HTML enabled on your CDN. Angular hydration relies on HTML produced by the server, including whitespaces and comment nodes.")}(yS()),aY||(aY=!0,LT=NT,u$=d$,$H=jH,y$=b$,lR=uR,RL=jL,BL=$L,bP=_P,wP=kP,sM=oM);else if("undefined"!=typeof ngDevMode&&ngDevMode&&!function(){const e=yS();return("undefined"==typeof ngServerMode||!ngServerMode)&&e.body.hasAttribute(dY)}()){const e=Dy(dB),t=tv(-505,"Angular hydration was requested on the client, but there was no serialized information present in the server response, thus hydration was not enabled. Make sure the `provideClientHydration()` is included into the list of providers in the server part of the application configuration.");e.warn(t)}},multi:!0}];return"undefined"!=typeof ngServerMode&&ngServerMode||e.push({provide:JS,useFactory:()=>Dy(YS)},{provide:oF,useFactory:()=>
1{if(Dy(YS)){const e=Dy(hF);return()=>{(function(e){const t=e.whenStable();if("undefined"!=typeof ngDevMode&&ngDevMode){const n=uY,i=e.injector.get(dB),r=e.injector.get(dD).runOutsideAngular(()=>setTimeout(()=>function(e,t){const n=`Angular hydration expected the ApplicationRef.isStable() to emit \`true\`, but it didn't happen within ${e}ms. Angular hydration logic depends on the application becoming stable as a signal to complete hydration process.`;t.warn(tv(-506,n))}(n,i),n));t.finally(()=>clearTimeout(r))}return t})(e).then(()=>{e.destroyed||(yP(e),"undefined"!=typeof ngDevMode&&ngDevMode&&(function(e){const t=e.get(DS).get(DT,{});ngDevMode&&(ngDevMode.deferBlocksWithIncrementalHydration=Object.keys(t).length)}(e.injector),function(e){const t=e.get(dB),n=`Angular hydrated ${ngDevMode.hydratedComponents} component(s) and ${ngDevMode.hydratedNodes} node(s), ${ngDevMode.componentsSkippedHydration} component(s) were skipped. `+(WT(e)?`${ngDevMode.deferBlocksWithIncrementalHydration} defer block(s) were configured to use incremental hydration. `:"")+"Learn more at https://angular.dev/guide/hydration.";t.log(n)}(e.injector)))})}}return()=>{}},multi:!0}),sb(e)}function pY(){return[{provide:XS,useFactory:()=>Dy(YS)},{provide:Zy,useValue:()=>{Dy(YS)&&(lY||(lY=!0,z$=U$,JO=lP,uP=dP),XO(!0),nD("NgI18nHydration"))},multi:!0}]}function fY(){const e=[VZ(),{provide:eT,useValue:!0},{provide:CT,useClass:ST},{provide:Zy,useValue:()=>{cY||(cY=!0,iE=rE),nD("NgIncrementalHydration")},multi:!0}];return"undefined"!=typeof ngServerMode&&ngServerMode||e.push({provide:oF,useFactory:()=>{const e=Dy(X_),t=yS();return()=>{const n=function(e){const t=function(e){return iE(e)}(e);let n=new Map;for(let e in t)n.set(e,aE(t[e]));return n}(e),i=function(e,t){const n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode:YO});let i;const r=new Map;for(;i=n.nextNode();){const e="ngh=",t=i?.textContent,n=t?.indexOf(e)??-1;if(n>-1){const s=t.substring(n+e.length).trim();ngDevMode&&vv(s.startsWith("d"),!0,"Invalid defer block id found in a comment node."),r.set(s,i)}}return r}(t,t.body);(function(e,t,n){const i=[],r=[],s=[],o=[];for(let[e,a]of t){const t=n.get(e);if(void 0!==t){const n=a.data[$S];let l=t;for(let t=0;t<n;t++){if(l=l.previousSibling,l.nodeType!==Node.ELEMENT_NODE)continue;const t={el:l,blockName:e};a.hydrate.idle&&i.push(t),a.hydrate.immediate&&o.push(t),null!==a.hydrate.timer&&(t.delay=a.hydrate.timer,r.push(t)),a.hydrate.viewport&&s.push(t)}}}!function(e,t){for(const n of t){const t=e.get(CT),i=zR(()=>kF(e,n.blockName),e);t.addCleanupFn(n.blockName,i)}}(e,i),function(e,t){for(const n of t)kF(e,n.blockName)}(e,o),function(e,t){if(t.length>0){const n=e.get(CT);for(let i of t){const t=jR(i.el,()=>kF(e,i.blockName),e);n.addCleanupFn(i.blockName,t)}}}(e,s),function(e,t){for(const n of t){const t=e.get(CT),i=()=>kF(e,n.blockName),r=qR(n.delay)(i,e);t.addCleanupFn(n.blockName,r)}}(e,r)})(e,n,i),function(e,t){const n=function(e){const t=e.body.querySelectorAll("[jsaction]"),n=new Set,i=[lT.join(":;"),aT.join(":;")].join("|");for(let e of t){const t=e.getAttribute("jsaction"),r=e.getAttribute("ngb");t?.match(i)&&null!==r&&n.add(e)}return n}(e),i=t.get(tT);for(let e of n)vT(e,i)}(t,e)}},multi:!0}),e}function mY(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function gY(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}const vY="🅰️";let yY=!1;function bY(e){if(!yY)return;const{startLabel:t}=_Y(e);performance.mark(t)}function wY(e){if(!yY)return;const{startLabel:t,labelName:n,endLabel:i}=_Y(e);performance.mark(i),performance.measure(n,t,i),performance.clearMarks(t),performance.clearMarks(i)}function _Y(e){const t=`${vY}:${e}`;return{labelName:t,startLabel:`start:${t}`,endLabel:`end:${t}`}}let xY=!1;function kY(){if(!(xY||"undefined"!=typeof performance&&performance.mark&&performance.measure))return xY=!0,void console.warn("Performance API is not supported on this platform");yY=!0}function CY(){yY=!1}function SY(e){let t=e;for(;t;){const e=qC(t);if(null!==e)for(let n=27;n<e.length;n++){const i=e[n];if(!Yb(i)&&!Kb(i)||i[0]!==t)continue;const r=e[1],s=Dw(r,n);
1if(Xb(s)){const e=r.data[s.directiveStart+s.componentOffset],t=e.debugInfo?.className||e.type.name;if(t)return t;break}}t=t.parentNode}return null}function TY(e){}function EY(e){return Gx({usage:1,kind:"directive",type:e.type}).compileDirectiveDeclaration(gU,`ng:///${e.type.name}/ɵfac.js`,e)}function IY(e){uB(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function AY(e){cB(e.type,e.resolveDeferredDeps,(...t)=>{const n=e.resolveMetadata(...t);uB(e.type,n.decorators,n.ctorParameters,n.propDecorators)})}function DY(e){return Gx({usage:1,kind:"component",type:e.type}).compileComponentDeclaration(gU,`ng:///${e.type.name}/ɵcmp.js`,e)}function MY(e){return Gx({usage:1,kind:OY(e.target),type:e.type}).compileFactoryDeclaration(gU,`ng:///${e.type.name}/ɵfac.js`,e)}function OY(e){switch(e){case hG.Directive:return"directive";case hG.Component:return"component";case hG.Injectable:return"injectable";case hG.Pipe:return"pipe";case hG.NgModule:return"NgModule"}}function PY(e){return Gx({usage:1,kind:"injectable",type:e.type}).compileInjectableDeclaration(gU,`ng:///${e.type.name}/ɵprov.js`,e)}function LY(e){return Gx({usage:1,kind:"NgModule",type:e.type}).compileInjectorDeclaration(gU,`ng:///${e.type.name}/ɵinj.js`,e)}function NY(e){return Gx({usage:1,kind:"NgModule",type:e.type}).compileNgModuleDeclaration(gU,`ng:///${e.type.name}/ɵmod.js`,e)}function RY(e){return Gx({usage:1,kind:"pipe",type:e.type}).compilePipeDeclaration(gU,`ng:///${e.type.name}/ɵpipe.js`,e)}const BY=Symbol("NOT_SET"),FY=new Set,VY=(()=>({...Vg,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:BY,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==BY&&!xg(this))return this.signal;try{for(const e of this.cleanup??FY)e()}finally{this.cleanup?.clear()}const t=[];void 0!==e&&t.push(e),t.push(this.registerCleanupFn);const n=wg(this);let i;try{i=this.userFn.apply(null,t)}finally{_g(this,n)}return this.value!==BY&&this.equal(this.value,i)||(this.value=i,this.version++),this.signal}}))();class $Y extends xD{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(e,t,n,i,r,s=null){super(e,[void 0,void 0,void 0,void 0],n,!1,r.get(ex),s),this.scheduler=i;for(const e of wD){const n=t[e];if(void 0===n)continue;const i=Object.create(VY);i.sequence=this,i.phase=e,i.userFn=n,i.dirty=!0,i.signal=()=>(fg(i),i.value),i.signal[ug]=i,i.registerCleanupFn=e=>(i.cleanup??=new Set).add(e),this.nodes[e]=i,this.hooks[e]=e=>i.phaseFn(e),ngDevMode&&HY(i,r)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const e of this.nodes)if(e)try{for(const t of e.cleanup??FY)t()}finally{kg(e)}}}function jY(e,t){if(ngDevMode&&px(jY,"Call `afterRenderEffect` outside of a reactive context. For example, create the render effect inside the component constructor`."),ngDevMode&&!t?.injector&&Pb(jY),"undefined"!=typeof ngServerMode&&ngServerMode)return TD;const n=t?.injector??Dy(X_),i=n.get(gx),r=n.get(bD),s=n.get(eD,null,{optional:!0});r.impl??=n.get(_D);let o=e;"function"==typeof o&&(o={mixedReadWrite:e});const a=n.get(fx,null,{optional:!0}),l=new $Y(r.impl,[o.earlyRead,o.write,o.mixedReadWrite,o.read],a?.view,i,n,s?.snapshot(null));return r.impl.register(l),l}function HY(e,t){e.debugName=`afterRenderEffect - ${function(e){switch(e){case 0:return"EarlyRead";case 1:return"Write";case 2:return"MixedReadWrite";case 3:return"Read"}}(e.phase)} phase`;const n=zv({injector:t,token:null});try{Xv({[ug]:e,destroy(){}})}finally{zv(n)}}function zY(e,t){ngDevMode&&gA(e);const n=eb(e),i=t.elementInjector||kb();return new TL(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function UY(e){const t=eb(e);if(!t)return null;const n=new TL(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function qY(...e){return e.reduce((e,t)=>
1Object.assign(e,t,{providers:[...e.providers,...t.providers]}),{providers:[]})}const WY=new $v("undefined"==typeof ngDevMode||ngDevMode?"REQUEST":"",{providedIn:"platform",factory:()=>null}),GY=new $v("undefined"==typeof ngDevMode||ngDevMode?"RESPONSE_INIT":"",{providedIn:"platform",factory:()=>null}),ZY=new $v("undefined"==typeof ngDevMode||ngDevMode?"REQUEST_CONTEXT":"",{providedIn:"platform",factory:()=>null});let YY=null;function KY(){return YY}class JY{}class XY{historyGo(e){throw new Error(ngDevMode?"Not implemented":"")}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:XY,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:XY,providedIn:"platform",useFactory:()=>Dy(eK)})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:XY,decorators:[{type:bC,args:[{providedIn:"platform",useFactory:()=>Dy(eK)}]}]});const QY=new $v(ngDevMode?"Location Initialized":"");class eK extends XY{_location;_history;_doc=Dy(Q_);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return KY().getBaseHref(this._doc)}onPopState(e){const t=KY().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=KY().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,n){this._history.pushState(e,t,n)}replaceState(e,t,n){this._history.replaceState(e,t,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:eK,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:eK,providedIn:"platform",useFactory:()=>new eK})}function tK(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function nK(e){const t=e.search(/#|\?|$/);return"/"===e[t-1]?e.slice(0,t-1)+e.slice(t):e}function iK(e){return e&&"?"!==e[0]?`?${e}`:e}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:eK,decorators:[{type:bC,args:[{providedIn:"platform",useFactory:()=>new eK}]}],ctorParameters:()=>[]});class rK{historyGo(e){throw new Error(ngDevMode?"Not implemented":"")}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:rK,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:rK,providedIn:"root",useFactory:()=>Dy(oK)})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:rK,decorators:[{type:bC,args:[{providedIn:"root",useFactory:()=>Dy(oK)}]}]});const sK=new $v(ngDevMode?"appBaseHref":"");class oK extends rK{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??Dy(Q_).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return tK(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+iK(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+iK(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+iK(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:oK,deps:[{token:XY},{token:sK,optional:!0}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:oK,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:oK,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:XY},{type:void 0,decorators:[{type:zx},{type:Hx,args:[sK]}]}]});class aK{_subject=new Gg;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(nK(cK(t))),this._locationStrategy.onPopState(e=>{this._subject.next({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+iK(t))}normalize(e){return aK.stripTrailingSlash(function(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,cK(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._locationStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+iK(t)),n)}replaceState(e,t="",n=null){this._locationStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+iK(t)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}),()=>{const t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t??void 0,complete:n??void 0})}static normalizeQueryParams=iK;static joinWithSlash=tK;static stripTrailingSlash=nK;static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:aK,deps:[{token:rK}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:aK,providedIn:"root",useFactory:lK})}function lK(){return new aK(Iy(rK))}function cK(e){return e.replace(/\/index.html$/,"")}function uK(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:aK,decorators:[{type:bC,args:[{providedIn:"root",useFactory:lK}]}],ctorParameters:()=>[{type:rK}]});class dK{}function hK(e,t,n){return T$(e,t,n)}function pK(e){return"server"===e}class fK{static"ɵprov"=Ov({token:fK,providedIn:"root",factory:()=>"undefined"!=typeof ngServerMode&&ngServerMode?new gK:new mK(Dy(Q_),window)})}class mK{document;window;offset=()=>[0,0];constructor(e,t){this.document=e,this.window=t}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e,t){this.window.scrollTo({...t,left:e[0],top:e[1]})}scrollToAnchor(e,t){const n=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const e=i.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,e);n&&(this.scrollToElement(n,t),n.focus())}setHistoryScrollRestoration(e){try{this.window.history.scrollRestoration=e}catch{console.warn(tv(2400,ngDevMode&&"Failed to set `window.history.scrollRestoration`. This may occur when:\n• The script is running inside a sandboxed iframe\n• The window is partially navigated or inactive\n• The script is executed in an untrusted or special context (e.g., test runners, browser extensions, or content previews)\nScroll position may not be preserved across navigation."))}}scrollToElement(e,t){const n=e.getBoundingClientRect(),i=n.left+this.window.pageXOffset,r=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo({...t,left:i-s[0],top:r-s[1]})}}class gK{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}const vK="20";function yK(e,t){return bK(e)?new URL(e):new URL(e,t.location.href)}function bK(e){return/^https?:\/\//.test(e)}function wK(e){return bK(e)?new URL(e).hostname:e}const _K=e=>e.src,xK=new $v(ngDevMode?"ImageLoader":"",{providedIn:"root",factory:()=>_K});function kK(e,t){return function(n){(function(e){if("string"!=typeof e||""===e.trim())return!1;try{return new URL(e),!0}catch{return!1}})(n)||function(e,t){throw new ev(2959,ngDevMode&&`Image loader has detected an invali
1d path (\`${e}\`). To fix this, supply a path using one of the following formats: ${t.join(" or ")}`)}(n,t||[]),n=function(e){return e.endsWith("/")?e.slice(0,-1):e}(n);const i=[{provide:xK,useValue:t=>{return bK(t.src)&&function(e,t){throw new ev(2959,ngDevMode&&`Image loader has detected a \`<img>\` tag with an invalid \`ngSrc\` attribute: ${t}. This image loader expects \`ngSrc\` to be a relative URL - however the provided value is an absolute URL. To fix this, provide \`ngSrc\` as a path relative to the base URL configured for this loader (\`${e}\`).`)}(n,t.src),e(n,{...t,src:(i=t.src,i.startsWith("/")?i.slice(1):i)});var i}}];return i}}kK(function(e,t){let n="format=auto";return t.width&&(n+=`,width=${t.width}`),t.isPlaceholder&&(n+=`,quality=${vK}`),`${e}/cdn-cgi/image/${n}/${t.src}`},ngDevMode?["https://<ZONE>/cdn-cgi/image/<OPTIONS>/<SOURCE-IMAGE>"]:void 0);const CK={name:"Cloudinary",testUrl:function(e){return SK.test(e)}},SK=/https?\:\/\/[^\/]+\.cloudinary\.com\/.+/;kK(function(e,t){let n=`f_auto,${t.isPlaceholder?"q_auto:low":"q_auto"}`;return t.width&&(n+=`,w_${t.width}`),t.loaderParams?.rounded&&(n+=",r_max"),`${e}/image/upload/${n}/${t.src}`},ngDevMode?["https://res.cloudinary.com/mysite","https://mysite.cloudinary.com","https://subdomain.mysite.com"]:void 0);const TK={name:"ImageKit",testUrl:function(e){return EK.test(e)}},EK=/https?\:\/\/[^\/]+\.imagekit\.io\/.+/;kK(function(e,t){const{src:n,width:i}=t,r=[];i&&r.push(`w-${i}`),t.isPlaceholder&&r.push(`q-${vK}`);const s=r.length?[e,`tr:${r.join(",")}`,n]:[e,n];return new URL(s.join("/")).href},ngDevMode?["https://ik.imagekit.io/mysite","https://subdomain.mysite.com"]:void 0);const IK={name:"Imgix",testUrl:function(e){return AK.test(e)}},AK=/https?\:\/\/[^\/]+\.imgix\.net\/.+/;kK(function(e,t){const n=new URL(`${e}/${t.src}`);return n.searchParams.set("auto","format"),t.width&&n.searchParams.set("w",t.width.toString()),t.isPlaceholder&&n.searchParams.set("q",vK),n.href},ngDevMode?["https://somepath.imgix.net/"]:void 0);const DK={name:"Netlify",testUrl:function(e){return MK.test(e)}},MK=/https?\:\/\/[^\/]+\.netlify\.app\/.+/;function OK(e,t=!0){return`The NgOptimizedImage directive ${t?`(activated on an <img> element with the \`ngSrc="${e}"\`) `:""}has detected that`}function PK(e){if(!ngDevMode)throw new ev(2958,`Unexpected invocation of the ${e} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);class LK{images=new Map;window=Dy(Q_).defaultView;observer=null;constructor(){PK("LCP checker"),"undefined"!=typeof ngServerMode&&ngServerMode||"undefined"==typeof PerformanceObserver||(this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver(e=>{const t=e.getEntries();if(0===t.length)return;const n=t[t.length-1],i=n.element?.src??"";if(i.startsWith("data:")||i.startsWith("blob:"))return;const r=this.images.get(i);r&&(r.priority||r.alreadyWarnedPriority||(r.alreadyWarnedPriority=!0,function(e){const t=OK(e);console.error(tv(2955,`${t} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(i)),r.modified&&!r.alreadyWarnedModified&&(r.alreadyWarnedModified=!0,function(e){const t=OK(e);console.warn(tv(2964,`${t} this image is the Largest Contentful Paint (LCP) element and has had its "ngSrc" attribute modified. This can cause slower loading performance. It is recommended not to modify the "ngSrc" property on any image which could be the LCP element.`))}(i)))});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}registerImage(e,t,n){if(!this.observer)return;const i={priority:n,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1};this.images.set(yK(e,this.window).href,i)}unregisterImage(e){this.observer&&this.images.delete(yK(e,this.window).href)}updateImage(e,t){if(!this.observer)return;const n=yK(e,this.window).href,i=this.images.get(n);i&&(i.modified=!0,this.images.set(yK(t,this.window).href,i),this.images.delete(n))}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:LK,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:LK,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:LK,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[]});const NK=new Set(["localhost","127.0.0.1","0.0.0.0","[::1]"]),RK=new $v(ngDevMode?"PRECONNECT_CHECK_BLOCKLIST":"");class BK{document=Dy(Q_);preconnectLinks=null;alreadySeen=new Set;window=this.document.defaultView;blocklist=new Set(NK);constructor(){PK("preconnect link checker");const e=Dy(RK,{optional:!0});e&&this.populateBlocklist(e)}populateBlocklist(e){Array.isArray(e)?FK(e,e=>{this.blocklist.add(wK(e))}):this.blocklist.add(wK(e))}assertPreconnect(e,t){if("undefined"!=typeof ngServerMode&&ngServerMode)return;const n=yK(e,this.window);this.blocklist.has(n.hostname)||this.alreadySeen.has(n.origin)||(this.alreadySeen.add(n.origin),this.preconnectLinks??=this.queryPreconnectLinks(),this.preconnectLinks.has(n.origin)||console.warn(tv(2956,`${OK(t)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the <head> of the document:\n  <link rel="preconnect" href="${n.origin}">`)))}queryPreconnectLinks(){const e=new Set,t=this.document.querySelectorAll("link[rel=preconnect]");for(const n of t){const t=yK(n.href,this.window);e.add(t.origin)}return e}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:BK,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:BK,providedIn:"root"})}function FK(e,t){for(let n of e)Array.isArray(n)?FK(n,t):t(n)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:BK,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[]});const VK=new $v("undefined"==typeof ngDevMode||ngDevMode?"NG_OPTIMIZED_PRELOADED_IMAGES":"",{providedIn:"root",factory:()=>new Set});class $K{preloadedImages=Dy(VK);document=Dy(Q_);errorShown=!1;createPreloadLinkTag(e,t,n,i){if(ngDevMode&&!this.errorShown&&this.preloadedImages.size>=5&&(this.errorShown=!0,console.warn(tv(2961,'The `NgOptimizedImage` directive has detected that more than 5 images were marked as priority. This might negatively affect an overall performance of the page. To fix this, remove the "priority" attribute from images with less priority.'))),this.preloadedImages.has(t))return;this.preloadedImages.add(t);const r=e.createElement("link");e.setAttribute(r,"as","image"),e.setAttribute(r,"href",t),e.setAttribute(r,"rel","preload"),e.setAttribute(r,"fetchpriority","high"),i&&e.setAttribute(r,"imageSizes",i),n&&e.setAttribute(r,"imageSrcset",n),e.appendChild(this.document.head,r)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:$K,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:$K,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:$K,decorators:[{type:bC,args:[{providedIn:"root"}]}]});const jK=/^((\s*\d+w\s*(,|$)){1,})$/,HK=/^((\s*\d+(\.\d+)?x\s*(,|$)){1,})$/,zK=[1,2],UK=[IK,TK,CK,DK];let qK=0;class WK{imageLoader=Dy(xK);config=function(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((e,t)=>e-t)),Object.assign({},TS,e,t)}(Dy(ES));renderer=Dy(OP);imgElement=Dy(xC).nativeElement;injector=Dy(X_);destroyRef=Dy(ex);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){ngDevMode&&(this.lcpObserver=this.injector.get(LK),this.destroyRef.onDestroy(()=>{this.priority||null===this._renderedSrc||this.lcpObserver.unregisterImage(this._renderedSrc)}))}ngOnInit(){if(nD("NgOptimizedImage"),ngDevMode){const n=this.injector.get(dD);GK(this,"ngSrc",this.ngSrc),function(e,t){if(null==t)return;GK(e,"ngSrcset",t);const n=t,i=jK.test(n),r=HK.test(n);if(r&&function(e,t){if(!t.split(",").every(e=>""===e||parseFloat(e)<=3))throw new ev(2952,`${OK(e.ngSrc)} the \`ngSrcset\` contains an unsupported image density:\`${t}\`. NgOptimizedImage generally recommends a max image density of 2x but supports image densities up to 3x. The human eye cannot distinguish between image densities greater than 2x - which makes them unnecessary for most use cases. Images that will be pinch-zoomed are typically the primary use case for 3x images. Please remove the high density descriptor and try again.`)}(e,n),!i&&!r)throw new ev(2952,`${OK(e.ngSrc)}
1 \`ngSrcset\` has an invalid value (\`${t}\`). To fix this, supply \`ngSrcset\` using a comma-separated list of one or more width descriptors (e.g. "100w, 200w") or density descriptors (e.g. "1x, 2x").`)}(this,this.ngSrcset),function(e){if(e.src)throw new ev(2950,`${OK(e.ngSrc)} both \`src\` and \`ngSrc\` have been set. Supplying both of these attributes breaks lazy loading. The NgOptimizedImage directive sets \`src\` itself based on the value of \`ngSrc\`. To fix this, please remove the \`src\` attribute.`)}(this),this.ngSrcset&&function(e){if(e.srcset)throw new ev(2951,`${OK(e.ngSrc)} both \`srcset\` and \`ngSrcset\` have been set. Supplying both of these attributes breaks lazy loading. The NgOptimizedImage directive sets \`srcset\` itself based on the value of \`ngSrcset\`. To fix this, please remove the \`srcset\` attribute.`)}(this),function(e){let t=e.ngSrc.trim();if(t.startsWith("data:"))throw t.length>50&&(t=t.substring(0,50)+"..."),new ev(2952,`${OK(e.ngSrc,!1)} \`ngSrc\` is a Base64-encoded string (${t}). NgOptimizedImage does not support Base64-encoded strings. To fix this, disable the NgOptimizedImage directive for this element by removing \`ngSrc\` and using a standard \`src\` attribute instead.`)}(this),function(e){const t=e.ngSrc.trim();if(t.startsWith("blob:"))throw new ev(2952,`${OK(e.ngSrc)} \`ngSrc\` was set to a blob URL (${t}). Blob URLs are not supported by the NgOptimizedImage directive. To fix this, disable the NgOptimizedImage directive for this element by removing \`ngSrc\` and using a regular \`src\` attribute instead.`)}(this),this.fill?(function(e){if(e.width||e.height)throw new ev(2952,`${OK(e.ngSrc)} the attributes \`height\` and/or \`width\` are present along with the \`fill\` attribute. Because \`fill\` mode causes an image to fill its containing element, the size attributes have no effect and should be removed.`)}(this),n.runOutsideAngular(()=>function(e,t,n,i){const r=()=>{s(),o();const n=t.clientHeight;e.fill&&0===n&&console.warn(tv(2952,`${OK(e.ngSrc)} the height of the fill-mode image is zero. This is likely because the containing element does not have the CSS 'position' property set to one of the following: "relative", "fixed", or "absolute". To fix this problem, make sure the container element has the CSS 'position' property defined and the height of the element is not zero.`))},s=n.listen(t,"load",r),o=n.listen(t,"error",()=>{s(),o()});i.onDestroy(()=>{s(),o()}),YK(t,r)}(this,this.imgElement,this.renderer,this.destroyRef))):(function(e){let t=[];if(void 0===e.width&&t.push("width"),void 0===e.height&&t.push("height"),t.length>0)throw new ev(2954,`${OK(e.ngSrc)} these required attributes are missing: ${t.map(e=>`"${e}"`).join(", ")}. Including "width" and "height" attributes will prevent image-related layout shifts. To fix this, include "width" and "height" attributes on the image tag or turn on "fill" mode with the \`fill\` attribute.`)}(this),void 0!==this.height&&ZK(this,this.height,"height"),void 0!==this.width&&ZK(this,this.width,"width"),n.runOutsideAngular(()=>function(e,t,n,i){const r=()=>{s(),o();const n=window.getComputedStyle(t);let i=parseFloat(n.getPropertyValue("width")),r=parseFloat(n.getPropertyValue("height"));if("border-box"===n.getPropertyValue("box-sizing")){const e=n.getPropertyValue("padding-top"),t=n.getPropertyValue("padding-right"),s=n.getPropertyValue("padding-bottom"),o=n.getPropertyValue("padding-left");i-=parseFloat(t)+parseFloat(o),r-=parseFloat(e)+parseFloat(s)}const a=i/r,l=0!==i&&0!==r,c=t.naturalWidth,u=t.naturalHeight,d=c/u,h=e.width,p=e.height,f=h/p,m=Math.abs(f-d)>.1,g=l&&Math.abs(d-a)>.1;if(m)console.warn(tv(2952,`${OK(e.ngSrc)} the aspect ratio of the image does not match the aspect ratio indicated by the width and height attributes. \nIntrinsic image size: ${c}w x ${u}h (aspect-ratio: ${KK(d)}). \nSupplied width and height attributes: ${h}w x ${p}h (aspect-ratio: ${KK(f)}). \nTo fix this, update the width and height attributes.`));else if(g)console.warn(tv(2952,`${OK(e.ngSrc)} the aspect ratio of the rendered image does not match the image's intrinsic aspect ratio. \nIntrinsic image size: ${c}w x ${u}h (aspect-ratio: ${KK(d)}). \nRendered image size: ${i}w x ${r}h (aspect-ratio: ${KK(a)}). \nThis issue can occur if "width" and "height" attributes are added to an image without updating the corresponding image styling. To fix this, adju
1st image styling. In most cases, adding "height: auto" or "width: auto" to the image styling will fix this issue.`));else if(!e.ngSrcset&&l){const t=2*i,n=2*r;(c-t>=1e3||u-n>=1e3)&&console.warn(tv(2960,`${OK(e.ngSrc)} the intrinsic image is significantly larger than necessary. \nRendered image size: ${i}w x ${r}h. \nIntrinsic image size: ${c}w x ${u}h. \nRecommended intrinsic image size: ${t}w x ${n}h. \nNote: Recommended intrinsic image size is calculated assuming a maximum DPR of 2. To improve loading time, resize the image or consider using the "ngSrcset" and "sizes" attributes.`))}},s=n.listen(t,"load",r),o=n.listen(t,"error",()=>{s(),o()});i.onDestroy(()=>{s(),o()}),YK(t,r)}(this,this.imgElement,this.renderer,this.destroyRef))),function(e){if(e.loading&&e.priority)throw new ev(2952,`${OK(e.ngSrc)} the \`loading\` attribute was used on an image that was marked "priority". Setting \`loading\` on priority images is not allowed because these images will always be eagerly loaded. To fix this, remove the “loading” attribute from the priority image.`);if("string"==typeof e.loading&&!["auto","eager","lazy"].includes(e.loading))throw new ev(2952,`${OK(e.ngSrc)} the \`loading\` attribute has an invalid value (\`${e.loading}\`). To fix this, provide a valid value ("lazy", "eager", or "auto").`)}(this),function(e){if("string"==typeof e.decoding&&!["sync","async","auto"].includes(e.decoding))throw new ev(2952,`${OK(e.ngSrc)} the \`decoding\` attribute has an invalid value (\`${e.decoding}\`). To fix this, provide a valid value ("sync", "async", or "auto").`)}(this),this.ngSrcset||function(e){let t=e.sizes;if(t?.match(/((\)|,)\s|^)\d+px/))throw new ev(2952,`${OK(e.ngSrc,!1)} \`sizes\` was set to a string including pixel values. For automatic \`srcset\` generation, \`sizes\` must only include responsive values, such as \`sizes="50vw"\` or \`sizes="(min-width: 768px) 50vw, 100vw"\`. To fix this, modify the \`sizes\` attribute, or provide your own \`ngSrcset\` value directly.`)}(this),e=this,t=this.imageLoader,function(e){if(e.placeholderConfig&&!e.placeholder)throw new ev(2952,`${OK(e.ngSrc,!1)} \`placeholderConfig\` options were provided for an image that does not use the \`placeholder\` attribute, and will have no effect.`)}(e),function(e,t){if(!0===e.placeholder&&t===_K)throw new ev(2963,`${OK(e.ngSrc)} the \`placeholder\` attribute is set to true but no image loader is configured (i.e. the default one is being used), which would result in the same image being used for the primary image and its placeholder. To fix this, provide a loader or remove the \`placeholder\` attribute from the image.`)}(e,t),function(e){if(e.placeholder&&"string"==typeof e.placeholder&&e.placeholder.startsWith("data:")){if(e.placeholder.length>1e4)throw new ev(2965,`${OK(e.ngSrc)} the \`placeholder\` attribute is set to a data URL which is longer than 10000 characters. This is strongly discouraged, as large inline placeholders directly increase the bundle size of Angular and hurt page load performance. To fix this, generate a smaller data URL placeholder.`);e.placeholder.length>4e3&&console.warn(tv(2965,`${OK(e.ngSrc)} the \`placeholder\` attribute is set to a data URL which is longer than 4000 characters. This is discouraged, as large inline placeholders directly increase the bundle size of Angular and hurt page load performance. For better loading performance, generate a smaller data URL placeholder.`))}}(e),function(e,t){if(t===_K){let t="";for(const n of UK)if(n.testUrl(e)){t=n.name;break}t&&console.warn(tv(2962,`NgOptimizedImage: It looks like your images may be hosted on the ${t} CDN, but your app is not using Angular's built-in loader for that CDN. We recommend switching to use the built-in by calling \`provide${t}Loader()\` in your \`providers\` and passing it your instance's base URL. If you don't want to use the built-in loader, define a custom loader function using IMAGE_LOADER to silence this warning.`))}}(this.ngSrc,this.imageLoader),function(e,t){e.ngSrcset&&t===_K&&console.warn(tv(2963,`${OK(e.ngSrc)} the \`ngSrcset\` attribute is present but no image loader is configured (i.e. the default one is being used), which would result in the same image being used for all c
1onfigured sizes. To fix this, provide a loader or remove the \`ngSrcset\` attribute from the image.`))}(this,this.imageLoader),function(e,t){e.loaderParams&&t===_K&&console.warn(tv(2963,`${OK(e.ngSrc)} the \`loaderParams\` attribute is present but no image loader is configured (i.e. the default one is being used), which means that the loaderParams data will not be consumed and will not affect the URL. To fix this, provide a custom loader or remove the \`loaderParams\` attribute from the image.`))}(this,this.imageLoader),n.runOutsideAngular(()=>{this.lcpObserver.registerImage(this.getRewrittenSrc(),this.ngSrc,this.priority)}),this.priority&&(this.injector.get(BK).assertPreconnect(this.getRewrittenSrc(),this.ngSrc),"undefined"==typeof ngServerMode||ngServerMode||async function(e){0===qK?(qK++,await e.whenStable(),qK>10&&console.warn(tv(2966,`NgOptimizedImage: The "priority" attribute is set to true more than 10 times (${qK} times). Marking too many images as "high" priority can hurt your application's LCP (https://web.dev/lcp). "Priority" should only be set on the image expected to be the page's LCP element.`))):qK++}(this.injector.get(hF)))}var e,t;this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");const e=this.updateSrcAndSrcset();this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&jK.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw"),"undefined"!=typeof ngServerMode&&ngServerMode&&this.priority&&this.injector.get($K).createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),e,this.sizes)}ngOnChanges(e){if(ngDevMode&&function(e,t){["ngSrcset","width","height","priority","fill","loading","sizes","loaderParams","disableOptimizedSrcset"].forEach(n=>{if(t.hasOwnProperty(n)&&!t[n].isFirstChange())throw"ngSrc"===n&&(e={ngSrc:t[n].previousValue}),function(e,t){let n;return n="width"===t||"height"===t?`Changing \`${t}\` may result in different attribute value applied to the underlying image element and cause layout shifts on a page.`:`Changing the \`${t}\` would have no effect on the underlying image element, because the resource loading has already occurred.`,new ev(2953,`${OK(e.ngSrc)} \`${t}\` was updated after initialization. The NgOptimizedImage directive will not react to this input change. ${n} To fix this, either switch \`${t}\` to a static value or wrap the image element in an @if that is gated on the necessary value.`)}(e,n)})}(this,e),e.ngSrc&&!e.ngSrc.isFirstChange()){const e=this._renderedSrc;if(this.updateSrcAndSrcset(!0),ngDevMode){const t=this._renderedSrc;e&&t&&e!==t&&this.injector.get(dD).runOutsideAngular(()=>{this.lcpObserver.updateImage(e,t)})}}ngDevMode&&e.placeholder?.currentValue&&"undefined"!=typeof ngServerMode&&!ngServerMode&&function(e,t){const n=window.getComputedStyle(t);let i=parseFloat(n.getPropertyValue("width")),r=parseFloat(n.getPropertyValue("height"));(i>1e3||r>1e3)&&console.warn(tv(2967,`${OK(e.ngSrc)} it uses a placeholder image, but at least one of the dimensions attribute (height or width) exceeds the limit of 1000px. To fix this, use a smaller image as a placeholder.`))}(this,this.imgElement)}callImageLoader(e){let t=e;return this.loaderParams&&(t.loaderParams=this.loaderParams),this.imageLoader(t)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){const e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){const e=jK.test(this.ngSrcset);return this.ngSrcset.split(",").filter(e=>""!==e).map(t=>{t=t.trim();const n=e?parseFloat(t):parseFloat(t)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:n})} ${t}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:e}=this.config;let t=e;return"100vw"===this.sizes?.trim()&&(t=e.filter(e=>e>=640)),t.map(e=>`${this.callImageLoader({src:this.ngSrc,width:e})} ${e}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);const t=this.getRewrittenSrc();let n;return this.setHostAttribute("src",t),this.ngSrcset?n=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(n=this.getAutomaticSrcset()),n&&this.setHostAttribute("srcset",n
1),n}getFixedSrcset(){return zK.map(e=>`${this.callImageLoader({src:this.ngSrc,width:this.width*e})} ${e}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==_K&&!e}generatePlaceholder(e){const{placeholderResolution:t}=this.config;return!0===e?`url("${XK(this.callImageLoader({src:this.ngSrc,width:t,isPlaceholder:!0}))}")`:"string"==typeof e?`url("${XK(e)}")`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")||Boolean(e.blur)}removePlaceholderOnLoad(e){const t=()=>{const e=this.injector.get(uZ);n(),i(),this.placeholder=!1,e.markForCheck()},n=this.renderer.listen(e,"load",t),i=this.renderer.listen(e,"error",t);this.destroyRef.onDestroy(()=>{n(),i()}),YK(e,t)}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:WK,deps:[],target:hG.Directive});static"ɵdir"=EY({minVersion:"16.1.0",version:"20.3.28",type:WK,isStandalone:!0,selector:"img[ngSrc]",inputs:{ngSrc:["ngSrc","ngSrc",JK],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",gY],height:["height","height",gY],decoding:"decoding",loading:"loading",priority:["priority","priority",mY],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",mY],fill:["fill","fill",mY],placeholder:["placeholder","placeholder",QK],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},host:{properties:{"style.position":'fill ? "absolute" : null',"style.width":'fill ? "100%" : null',"style.height":'fill ? "100%" : null',"style.inset":'fill ? "0" : null',"style.background-size":'placeholder ? "cover" : null',"style.background-position":'placeholder ? "50% 50%" : null',"style.background-repeat":'placeholder ? "no-repeat" : null',"style.background-image":"placeholder ? generatePlaceholder(placeholder) : null","style.filter":'placeholder && shouldBlurPlaceholder(placeholderConfig) ? "blur(15px)" : null'}},usesOnChanges:!0,ngImport:e})}function GK(e,t,n){const i="string"==typeof n,r=i&&""===n.trim();if(!i||r)throw new ev(2952,`${OK(e.ngSrc)} \`${t}\` has an invalid value (\`${n}\`). To fix this, change the value to a non-empty string.`)}function ZK(e,t,n){const i="number"==typeof t&&t>0,r="string"==typeof t&&/^\d+$/.test(t.trim())&&parseInt(t)>0;if(!i&&!r)throw new ev(2952,`${OK(e.ngSrc)} \`${n}\` has an invalid value. To fix this, provide \`${n}\` as a number greater than 0.`)}function YK(e,t){e.complete&&e.naturalWidth&&t()}function KK(e){return Number.isInteger(e)?e:e.toFixed(2)}function JK(e){return"string"==typeof e?e:GE(e)}function XK(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function QK(e){return"string"==typeof e&&"true"!==e&&"false"!==e&&""!==e?e:mY(e)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:WK,decorators:[{type:eq,args:[{selector:"img[ngSrc]",host:{"[style.position]":'fill ? "absolute" : null',"[style.width]":'fill ? "100%" : null',"[style.height]":'fill ? "100%" : null',"[style.inset]":'fill ? "0" : null',"[style.background-size]":'placeholder ? "cover" : null',"[style.background-position]":'placeholder ? "50% 50%" : null',"[style.background-repeat]":'placeholder ? "no-repeat" : null',"[style.background-image]":"placeholder ? generatePlaceholder(placeholder) : null","[style.filter]":'placeholder && shouldBlurPlaceholder(placeholderConfig) ? "blur(15px)" : null'}}]}],ctorParameters:()=>[],propDecorators:{ngSrc:[{type:iq,args:[{required:!0,transform:JK}]}],ngSrcset:[{type:iq}],sizes:[{type:iq}],width:[{type:iq,args:[{transform:gY}]}],height:[{type:iq,args:[{transform:gY}]}],decoding:[{type:iq}],loading:[{type:iq}],priority:[{type:iq,args:[{transform:mY}]}],loaderParams:[{type:iq}],disableOptimizedSrcset:[{type:iq,args:[{transform:mY}]}],fill:[{type:iq,args:[{transform:mY}]}],placeholder:[{type:iq,args:[{transform:QK}]}],placeholderConfig:[{type:iq}],src:[{type:iq}],srcset:[{type:iq}]}});class eJ extends rK{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,null!=t&&(this._baseHref=t)}
1ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){const t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=tK(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+iK(i))||this._platformLocation.pathname;this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+iK(i))||this._platformLocation.pathname;this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:eJ,deps:[{token:XY},{token:sK,optional:!0}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:eJ})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:eJ,decorators:[{type:bC}],ctorParameters:()=>[{type:XY},{type:void 0,decorators:[{type:zx},{type:Hx,args:[sK]}]}]});const tJ={ADP:[void 0,void 0,0],AFN:[void 0,"؋",0],ALL:[void 0,void 0,0],AMD:[void 0,"֏",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"₼"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GHS:[void 0,"GH₵"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var nJ,iJ,rJ,sJ,oJ;!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(nJ||(nJ={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(iJ||(iJ={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(rJ||(rJ={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(sJ||(sJ={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(oJ||(oJ={}));var aJ;function lJ(e,t){return mJ(E$(e)[O$.DateFormat],t)}function cJ(e,t){return mJ(E$(e)[O$.TimeFormat],t)}function uJ(e,t){return mJ(E$(e)[O$.DateTimeFormat],t)}function dJ(e,t){const n=E$(e),i=n[O$.NumberSymbols][t];if(void 0===i){if(12===t)return n[O$.NumberSymbols][0];if(13===t)return n[O$.NumberSymbols][1]}return i}function hJ(e,t){return E$(e)[O$.NumberFormats][t]}!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(aJ||(aJ={}));const pJ=A$;function fJ(e){if(!e[O$.ExtraData])throw new ev(2303,ngDevMode&&`Missing extra locale data for the locale "${e[O$.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function mJ(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new ev(2304,ngDevMode&&"Locale data API: locale data undefined")}function gJ(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const vJ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yJ={},bJ=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function wJ(e,t,n,i){let r=function(e){if(NJ(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,i=1]=e.split("-").map(e=>+e);return _J(t,n-1,i)}const t=parseFloat(e);
1if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(vJ))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!NJ(t))throw new ev(2311,ngDevMode&&`Unable to convert "${e}" into a date`);return t}(e);!function(e){if(e.length>256)throw new ev(2300,ngDevMode&&"Date format is too long. Exceeded maximum length of 256 characters.")}(t),t=xJ(n,t)||t;let s,o=[];for(;t;){if(s=bJ.exec(t),!s){o.push(t);break}{o=o.concat(s.slice(1));const e=o.pop();if(!e)break;t=e}}("undefined"==typeof ngDevMode||ngDevMode)&&function(e){if(e.some(e=>/^Y+$/.test(e))&&!e.some(e=>/^w+$/.test(e))){const t=`Suspicious use of week-based year "Y" in date pattern "${e.join("")}". Did you mean to use calendar year "y" instead?`;if(1!==e.length)throw new ev(2300,t);console.error(tv(2300,t))}}(o);let a=r.getTimezoneOffset();i&&(a=LJ(i,a),r=function(e,t){const n=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(LJ(t,n)-n))}(r,i));let l="";return o.forEach(e=>{const t=function(e){if(PJ[e])return PJ[e];let t;switch(e){case"G":case"GG":case"GGG":t=TJ(3,sJ.Abbreviated);break;case"GGGG":t=TJ(3,sJ.Wide);break;case"GGGGG":t=TJ(3,sJ.Narrow);break;case"y":t=SJ(0,1,0,!1,!0);break;case"yy":t=SJ(0,2,0,!0,!0);break;case"yyy":t=SJ(0,3,0,!1,!0);break;case"yyyy":t=SJ(0,4,0,!1,!0);break;case"Y":t=OJ(1);break;case"YY":t=OJ(2,!0);break;case"YYY":t=OJ(3);break;case"YYYY":t=OJ(4);break;case"M":case"L":t=SJ(1,1,1);break;case"MM":case"LL":t=SJ(1,2,1);break;case"MMM":t=TJ(2,sJ.Abbreviated);break;case"MMMM":t=TJ(2,sJ.Wide);break;case"MMMMM":t=TJ(2,sJ.Narrow);break;case"LLL":t=TJ(2,sJ.Abbreviated,rJ.Standalone);break;case"LLLL":t=TJ(2,sJ.Wide,rJ.Standalone);break;case"LLLLL":t=TJ(2,sJ.Narrow,rJ.Standalone);break;case"w":t=MJ(1);break;case"ww":t=MJ(2);break;case"W":t=MJ(1,!0);break;case"d":t=SJ(2,1);break;case"dd":t=SJ(2,2);break;case"c":case"cc":t=SJ(7,1);break;case"ccc":t=TJ(1,sJ.Abbreviated,rJ.Standalone);break;case"cccc":t=TJ(1,sJ.Wide,rJ.Standalone);break;case"ccccc":t=TJ(1,sJ.Narrow,rJ.Standalone);break;case"cccccc":t=TJ(1,sJ.Short,rJ.Standalone);break;case"E":case"EE":case"EEE":t=TJ(1,sJ.Abbreviated);break;case"EEEE":t=TJ(1,sJ.Wide);break;case"EEEEE":t=TJ(1,sJ.Narrow);break;case"EEEEEE":t=TJ(1,sJ.Short);break;case"a":case"aa":case"aaa":t=TJ(0,sJ.Abbreviated);break;case"aaaa":t=TJ(0,sJ.Wide);break;case"aaaaa":t=TJ(0,sJ.Narrow);break;case"b":case"bb":case"bbb":t=TJ(0,sJ.Abbreviated,rJ.Standalone,!0);break;case"bbbb":t=TJ(0,sJ.Wide,rJ.Standalone,!0);break;case"bbbbb":t=TJ(0,sJ.Narrow,rJ.Standalone,!0);break;case"B":case"BB":case"BBB":t=TJ(0,sJ.Abbreviated,rJ.Format,!0);break;case"BBBB":t=TJ(0,sJ.Wide,rJ.Format,!0);break;case"BBBBB":t=TJ(0,sJ.Narrow,rJ.Format,!0);break;case"h":t=SJ(3,1,-12);break;case"hh":t=SJ(3,2,-12);break;case"H":t=SJ(3,1);break;case"HH":t=SJ(3,2);break;case"m":t=SJ(4,1);break;case"mm":t=SJ(4,2);break;case"s":t=SJ(5,1);break;case"ss":t=SJ(5,2);break;case"S":t=SJ(6,1);break;case"SS":t=SJ(6,2);break;case"SSS":t=SJ(6,3);break;case"Z":case"ZZ":case"ZZZ":t=EJ(0);break;case"ZZZZZ":t=EJ(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=EJ(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=EJ(2);break;default:return null}return PJ[e]=t,t}(e);l+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function _J(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function xJ(e,t){const n=function(e){return E$(e)[O$.LocaleId]}(e);if(yJ[n]??={},yJ[n][t])return yJ[n][t];let i="";switch(t){case"shortDate":i=lJ(e,oJ.Short);break;case"mediumDate":i=lJ(e,oJ.Medium);break;case"longDate":i=lJ(e,oJ.Long);break;case"fullDate":i=lJ(e,oJ.Full);break;case"shortTime":i=cJ(e,oJ.Short);break;case"mediumTime":i=cJ(e,oJ.Medium);break;case"longTime":i=cJ(e,oJ.Long);break;case"fullTime":i=cJ(e,oJ.Full);break;case"short":const t=xJ(e,"shortTime"),n=xJ(e,"shortDate");i=kJ(uJ(e,oJ.Short),[t,n]);break;case"medium":const r=xJ(e,"mediumTime"),s=xJ(e,"mediumDate");i=kJ(uJ(e,oJ.Medium),[r,s]);break;case"long":const o=xJ(e,"longTime"),a=xJ(e,"longDate");i=kJ(uJ(e,oJ.Long),[o,a]);break;
1case"full":const l=xJ(e,"fullTime"),c=xJ(e,"fullDate");i=kJ(uJ(e,oJ.Full),[l,c])}return i&&(yJ[n][t]=i),i}function kJ(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function CJ(e,t,n="-",i,r){let s="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,s=n));let o=String(e);for(;o.length<t;)o="0"+o;return i&&(o=o.slice(o.length-t)),s+o}function SJ(e,t,n=0,i=!1,r=!1){return function(s,o){let a=function(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new ev(2301,ngDevMode&&`Unknown DateType value "${e}".`)}}(e,s);if((n>0||a>-n)&&(a+=n),3===e)0===a&&-12===n&&(a=12);else if(6===e)return l=t,CJ(a,3).substring(0,l);var l;const c=dJ(o,5);return CJ(a,t,c,i,r)}}function TJ(e,t,n=rJ.Format,i=!1){return function(r,s){return function(e,t,n,i,r,s){switch(n){case 2:return function(e,t,n){const i=E$(e),r=mJ([i[O$.MonthsFormat],i[O$.MonthsStandalone]],t);return mJ(r,n)}(t,r,i)[e.getMonth()];case 1:return function(e,t,n){const i=E$(e),r=mJ([i[O$.DaysFormat],i[O$.DaysStandalone]],t);return mJ(r,n)}(t,r,i)[e.getDay()];case 0:const o=e.getHours(),a=e.getMinutes();if(s){const e=function(e){const t=E$(e);return fJ(t),(t[O$.ExtraData][2]||[]).map(e=>"string"==typeof e?gJ(e):[gJ(e[0]),gJ(e[1])])}(t),n=function(e,t,n){const i=E$(e);fJ(i);const r=mJ([i[O$.ExtraData][0],i[O$.ExtraData][1]],t)||[];return mJ(r,n)||[]}(t,r,i),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=o>=t.hours&&a>=t.minutes,r=o<n.hours||o===n.hours&&a<n.minutes;if(t.hours<n.hours){if(i&&r)return!0}else if(i||r)return!0}else if(e.hours===o&&e.minutes===a)return!0;return!1});if(-1!==s)return n[s]}return function(e,t,n){const i=E$(e),r=mJ([i[O$.DayPeriodsFormat],i[O$.DayPeriodsStandalone]],t);return mJ(r,n)}(t,r,i)[o<12?0:1];case 3:return function(e,t){return mJ(E$(e)[O$.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new ev(2302,ngDevMode&&`unexpected translation type ${n}`)}}(r,s,e,t,n,i)}}function EJ(e){return function(t,n,i){const r=-1*i,s=dJ(n,5),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+CJ(o,2,s)+CJ(Math.abs(r%60),2,s);case 1:return"GMT"+(r>=0?"+":"")+CJ(o,1,s);case 2:return"GMT"+(r>=0?"+":"")+CJ(o,2,s)+":"+CJ(Math.abs(r%60),2,s);case 3:return 0===i?"Z":(r>=0?"+":"")+CJ(o,2,s)+":"+CJ(Math.abs(r%60),2,s);default:throw new ev(2310,ngDevMode&&`Unknown zone width "${e}"`)}}}const IJ=0,AJ=4;function DJ(e){const t=e.getDay(),n=0===t?-3:AJ-t;return _J(e.getFullYear(),e.getMonth(),e.getDate()+n)}function MJ(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=DJ(n),t=function(e){const t=_J(e,IJ,1).getDay();return _J(e,0,1+(t<=AJ?AJ:AJ+7)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();r=1+Math.round(i/6048e5)}return CJ(r,e,dJ(i,5))}}function OJ(e,t=!1){return function(n,i){return CJ(DJ(n).getFullYear(),e,dJ(i,5),t)}}const PJ={};function LJ(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function NJ(e){return e instanceof Date&&!isNaN(e.valueOf())}const RJ=/^(\d+)?\.((\d+)(-(\d+))?)?$/,BJ=".",FJ="0";function VJ(e,t,n,i,r,s,o=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,i,r,s,o=Math.abs(e)+"",a=0;for((n=o.indexOf(BJ))>-1&&(o=o.replace(BJ,"")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;o.charAt(i)===FJ;i++);if(i===(s=o.length))t=[0],n=1;else{for(s--;o.charAt(s)===FJ;)s--;for(n-=i,t=[],r=0;i<=s;i++,r++)t[r]=Number(o.charAt(i))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);o&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(s){const e=s.match(RJ);if(null===e)throw new ev(2306,ngDevMode&&`${s} is not a valid digit info`);const t=e[1],n=e[3],i=e[5];null!=t&&(u=jJ(t)),null!=n&&(d=jJ(n)),null!=i?h=jJ(i):null!=n&&d>h&&(h=d);const r=100;if(u>r||d>r||h>r)throw new ev(2306,ngDevMode&&`${s} is not a valid digit info. Exceeded maximum limits of ${r} digits.`)}!function(e,t,n){if(t>n)throw new ev(2307,ngDevMode&&`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let i=e.digits,r=i.length-e.integerLen;const s=Math.min(Math.max(t,r),n);let o=s+e.integerLen,a=i[o];if(o>0){i.splice(Math.max(e.integerLen,o));for(let e=o;e<i.length;e++)i[e]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,o=s+1),i[0]=0;for(let e=1;e<o;e++)i[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[o-1]++;for(;r<Math.max(0,s);r++)i.push(0);let l=0!==s;const c=t+e.integerLen,u=i.reduceRight(function(e,t,n,i){return t+=e,i[n]=t<10?t:t-10,l&&(0===i[n]&&n>=c?i.pop():l=!1),t>=10?1:0},0);u&&(i.unshift(u),e.integerLen++)}(c,d,h);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const v=[];for(p.length>=t.lgSize&&v.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)v.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&v.unshift(p.join("")),a=v.join(dJ(n,i)),g.length&&(a+=dJ(n,r)+g.join("")),m&&(
1a+=dJ(n,6)+"+"+m)}else a=dJ(n,9);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function $J(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],s=i[1],o=-1!==r.indexOf(BJ)?r.split(BJ):[r.substring(0,r.lastIndexOf(FJ)+1),r.substring(r.lastIndexOf(FJ)+1)],a=o[0],l=o[1]||"";n.posPre=a.substring(0,a.indexOf("#"));for(let e=0;e<l.length;e++){const t=l.charAt(e);t===FJ?n.minFrac=n.maxFrac=e+1:"#"===t?n.maxFrac=e+1:n.posSuf+=t}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,s){const e=r.length-n.posPre.length-n.posSuf.length,t=s.indexOf("#");n.negPre=s.substring(0,t).replace(/'/g,""),n.negSuf=s.slice(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function jJ(e){const t=parseInt(e);if(isNaN(t))throw new ev(2305,ngDevMode&&"Invalid integer literal when parsing "+e);return t}class HJ{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:HJ,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:HJ,providedIn:"root",useFactory:e=>new UJ(e),deps:[{token:xq}]})}function zJ(e,t,n,i){let r=`=${e}`;if(t.indexOf(r)>-1)return r;if(r=n.getPluralCategory(e,i),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new ev(2308,ngDevMode&&`No plural message found for value "${e}"`)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:HJ,decorators:[{type:bC,args:[{providedIn:"root",useFactory:e=>new UJ(e),deps:[xq]}]}]});class UJ extends HJ{locale;constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(pJ(t||this.locale)(e)){case iJ.Zero:return"zero";case iJ.One:return"one";case iJ.Two:return"two";case iJ.Few:return"few";case iJ.Many:return"many";default:return"other"}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:UJ,deps:[{token:xq}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:UJ})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:UJ,decorators:[{type:bC}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[xq]}]}]});const qJ=/\s+/,WJ=[];class GJ{_ngEl;_renderer;initialClasses=WJ;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=null!=e?e.trim().split(qJ):WJ}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(qJ):e}ngDoCheck(){for(const e of this.initialClasses)this._updateState(e,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const t of e)this._updateState(t,!0);else if(null!=e)for(const t of Object.keys(e))this._updateState(t,Boolean(e[t]));this._applyStateDiff()}_updateState(e,t){const n=this.stateMap.get(e);void 0!==n?(n.enabled!==t&&(n.changed=!0,n.enabled=t),n.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],n=e[1];n.changed?(this._toggleClass(t,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),n.touched=!1}}_toggleClass(e,t){if(ngDevMode&&"string"!=typeof e)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ov(e)}`);(e=e.trim()).length>0&&e.split(qJ).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:GJ,deps:[{token:xC},{token:OP}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:GJ,isStandalone:!0,selector:"[ngClass]",inputs:{klass:["class","klass"],ngClass:"ngClass"},ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:GJ,decorators:[{type:eq,args:[{selector:"[ngClass]"}]}],ctorParameters:()=>[{type:xC},{type:OP}],propDecorators:{klass:[{type:iq,args:["class"]}],ngClass:[{type:iq,args:["ngClass"]}]}});class ZJ{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}
1constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return void 0!==e.ngComponentOutletNgModule||void 0!==e.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(e){return void 0!==e.ngComponentOutlet||void 0!==e.ngComponentOutletContent||void 0!==e.ngComponentOutletInjector||void 0!==e.ngComponentOutletEnvironmentInjector||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=kN(this.ngComponentOutletNgModule,YJ(t)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(YJ(t)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:t,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(const[t,n]of this._inputsUsed)n?(e.setInput(t,this.ngComponentOutletInputs[t]),this._inputsUsed.set(t,!1)):(e.setInput(t,void 0),this._inputsUsed.delete(t))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:ZJ,deps:[{token:AL}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:ZJ,isStandalone:!0,selector:"[ngComponentOutlet]",inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],usesOnChanges:!0,ngImport:e})}function YJ(e){return e.get(_N).injector}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:ZJ,decorators:[{type:eq,args:[{selector:"[ngComponentOutlet]",exportAs:"ngComponentOutlet"}]}],ctorParameters:()=>[{type:AL}],propDecorators:{ngComponentOutlet:[{type:iq}],ngComponentOutletInputs:[{type:iq}],ngComponentOutletInjector:[{type:iq}],ngComponentOutletEnvironmentInjector:[{type:iq}],ngComponentOutletContent:[{type:iq}],ngComponentOutletNgModule:[{type:iq}],ngComponentOutletNgModuleFactory:[{type:iq}]}});class KJ{$implicit;ngForOf;index;count;constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}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}}class JJ{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){"undefined"!=typeof ngDevMode&&!ngDevMode||null==e||"function"==typeof e||console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.dev/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;if(!this._differ&&t)if("undefined"==typeof ngDevMode||ngDevMode)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch{let n=`Cannot find a differ supporting object '${t}' of type '${e=t,e.name||typeof e}'. NgFor only supports binding to Iterables, such as Arrays.`;throw"object"==typeof t&&(n+=" Did you mean to use the keyvalue pipe?"),new ev(-2200,n)}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=this._viewContainer;e.forEachOperation((e,n,i)=>{if(null==e.previousIndex)t.createEmbeddedView(this._template,new KJ(e.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)t.remove(null===n?void 0:n);else if(null!==n){const r=t.get(n);t.move(r,i),XJ(r,e)}});for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.index=e,i.count=n,i.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{XJ(t.get(e.currentIndex),e)})}static ngTemplateContextGuard(e,t){return!0}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:JJ,deps:[{token:AL},{token:tO},{token:SZ}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:JJ,isStandalone:!0,selector:"[ngFor][ngForOf]",inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},ngImport:e})}function XJ(e,t){e.context.$implicit=t.item}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:JJ,decorators:[{type:eq,args:[{selector:"[ngFor][ngForOf]"}]}],ctorParameters:()=>[{type:AL},{type:tO},{type:SZ}],propDecorators:{ngForOf:[{type:iq}],ngForTrackBy:[{type:iq}],ngForTemplate:[{type:iq}]}});class QJ{_viewContainer;_context=new eX;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){tX(e,("undefined"==typeof ngDevMode||ngDevMode)&&"ngIfThen"),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){tX(e,("undefined"==typeof ngDevMode||ngDevMode)&&"ngIfElse"),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,t){return!0}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:QJ,deps:[{token:AL},{token:tO}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:QJ,isStandalone:!0,selector:"[ngIf]",inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:QJ,decorators:[{type:eq,args:[{selector:"[ngIf]"}]}],ctorParameters:()=>[{type:AL},{type:tO}],propDecorators:{ngIf:[{type:iq}],ngIfThen:[{type:iq}],ngIfElse:[{type:iq}]}});class eX{$implicit=null;ngIf=null}function tX(e,t){if(e&&!e.createEmbeddedView)throw new ev(2020,("undefined"==typeof ngDevMode||ngDevMode)&&`${t} must be a TemplateRef, but received '${ov(e)}'.`)}class nX{_viewContainerRef;_templateRef;_created=!1;constructor(e,t){this._viewContainerRef=e,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class iX{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const t=e===this._ngSwitch;return this._lastCasesMatched||=t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const t of this._defaultViews)t.enforceState(e)}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:iX,deps:[],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:iX,isStandalone:!0,selector:"[ngSwitch]",inputs:{ngSwitch:"ngSwitch"},ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:iX,decorators:[{type:eq,args:[{selector:"[ngSwitch]"}]}],propDecorators:{ngSwitch:[{type:iq}]}});class rX{ngSwitch;_view;ngSwitchCase;constructor(e,t,n){this.ngSwitch=n,"undefined"!=typeof ngDevMode&&!ngDevMode||n||oX("ngSwitchCase","NgSwitchCase"),n._addCase(),this._view=new nX(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:rX,deps:[{token:AL},{token:tO},{token:iX,host:!0,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:rX,isStandalone:!0,selector:"[ngSwitchCase]",inputs:{ngSwitchCase:"ngSwitchCase"},ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:rX,decorators:[{type:eq,args:[{selector:"[ngSwitchCase]"}]}],ctorParameters:()=>[{type:AL},{type:tO},{type:iX,decorators:[{type:zx},{type:Wx}]}],propDecorators:{ngSwitchCase:[{type:iq}]}});class sX{constructor(e,t,n){"undefined"!=typeof ngDevMode&&!ngDevMode||n||oX("ngSwitchDefault","NgSwitchDefault"),n._addDefault(new nX(e,t))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:sX,deps:[{token:AL},{token:tO},{token:iX,host:!0,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:sX,isStandalone:!0,selector:"[ngSwitchDefault]",ngImport:e})}function oX(e,t){throw new ev(2e3,`An element with the "${e}" attribute (matching the "${t}" directive) must be located inside an element with the "ngSwitch" attribute (matching "NgSwitch" directive)`)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:sX,decorators:[{type:eq,args:[{selector:"[ngSwitchDefault]"}]}],ctorParameters:()=>[{type:AL},{type:tO},{type:iX,decorators:[{type:zx},{type:Wx}]}]});class aX{_localization;_activeView;_caseViews={};constructor(e){this._localization=e}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();const t=zJ(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:aX,deps:[{token:HJ}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:aX,isStandalone:!0,selector:"[ngPlural]",inputs:{ngPlural:"ngPlural"},ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:aX,decorators:[{type:eq,args:[{selector:"[ngPlural]"}]}],ctorParameters:()=>[{type:HJ}],propDecorators:{ngPlural:[{type:iq}]}});class lX{value;constructor(e,t,n,i){this.value=e;const r=!isNaN(Number(e));i.addCase(r?`=${e}`:e,new nX(n,t))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:lX,deps:[{token:"ngPluralCase",attribute:!0},{token:tO},{token:AL},{token:aX,host:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:lX,isStandalone:!0,selector:"[ngPluralCase]",ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:lX,decorators:[{type:eq,args:[{selector:"[ngPluralCase]"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:dC,args:["ngPluralCase"]}]},{type:tO},{type:AL},{type:aX,decorators:[{type:Wx}]}]});class cX{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split("."),r=-1===n.indexOf("-")?void 0:zA.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,n,i?`${t}${i}`:t,r):this._renderer.removeStyle(this._ngEl.nativeElement,n,r)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:cX,deps:[{token:xC},{token:EZ},{token:OP}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:cX,isStandalone:!0,selector:"[ngStyle]",inputs:{ngStyle:"ngStyle"},ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:cX,decorators:[{type:eq,args:[{selector:"[ngStyle]"}]}],ctorParameters:()=>[{type:xC},{type:EZ},{type:OP}],propDecorators:{ngStyle:[{type:iq,args:["ngStyle"]}]}});class uX{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;
1constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const t=this._createContextForwardProxy();this._viewRef=e.createEmbeddedView(this.ngTemplateOutlet,t,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,n)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,t,n),get:(e,t,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,n)}})}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:uX,deps:[{token:AL}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:uX,isStandalone:!0,selector:"[ngTemplateOutlet]",inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},usesOnChanges:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:uX,decorators:[{type:eq,args:[{selector:"[ngTemplateOutlet]"}]}],ctorParameters:()=>[{type:AL}],propDecorators:{ngTemplateOutletContext:[{type:iq}],ngTemplateOutlet:[{type:iq}],ngTemplateOutletInjector:[{type:iq}]}});const dX=[GJ,ZJ,JJ,QJ,uX,cX,iX,rX,sX,aX,lX];function hX(e,t){return new ev(2100,ngDevMode&&`InvalidPipeArgument: '${t}' for pipe '${ov(e)}'`)}const pX=new class{createSubscription(e,t,n){return e.then(e=>t?.(e),e=>n?.(e)),{unsubscribe:()=>{t=null,n=null}}}dispose(e){e.unsubscribe()}},fX=new class{createSubscription(e,t,n){return Uq(()=>e.subscribe({next:t,error:n}))}dispose(e){Uq(()=>e.unsubscribe())}};class mX{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=Dy(rx);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t),e=>this.applicationErrorHandler(e))}_selectStrategy(e){if(tF(e))return pX;if(nF(e))return fX;throw hX(mX,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:mX,deps:[{token:uZ}],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:mX,isStandalone:!0,name:"async",pure:!1})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:mX,decorators:[{type:nq,args:[{name:"async",pure:!1}]}],ctorParameters:()=>[{type:uZ}]});class gX{transform(e){if(null==e)return null;if("string"!=typeof e)throw hX(gX,e);return e.toLowerCase()}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:gX,deps:[],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:gX,isStandalone:!0,name:"lowercase"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:gX,decorators:[{type:nq,args:[{name:"lowercase"}]}]});const vX=/(?:[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\u
10EB3\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;class yX{transform(e){if(null==e)return null;if("string"!=typeof e)throw hX(yX,e);return e.replace(vX,e=>e[0].toUpperCase()+e.slice(1).toLowerCase())}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:yX,deps:[],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:yX,isStandalone:!0,name:"titlecase"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:yX,decorators:[{type:nq,args:[{name:"titlecase"}]}]});class bX{transform(e){if(null==e)return null;if("string"!=typeof e)throw hX(bX,e);return e.toUpperCase()}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:bX,deps:[],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:bX,isStandalone:!0,name:"uppercase"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:bX,decorators:[{type:nq,args:[{name:"uppercase"}]}]});const wX=new $v(ngDevMode?"DATE_PIPE_DEFAULT_TIMEZONE":""),_X=new $v(ngDevMode?"DATE_PIPE_DEFAULT_OPTIONS":"");class xX{locale;defaultTimezone;defaultOptions;constructor(e,t,n){this.locale=e,this.defaultTimezone=t,this.defaultOptions=n}transform(e,t,n,i){if(null==e||""===e||e!=e)return null;try{const r=t??this.defaultOptions?.dateFormat??"mediumDate",s=n??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return wJ(e,r,i||this.locale,s)}catch(e){throw hX(xX,e.message)}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:xX,deps:[{token:xq},{token:wX,optional:!0},{token:_X,optional:!0}],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:xX,isStandalone:!0,name:"date"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:xX,decorators:[{type:nq,args:[{name:"date"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[xq]}]},{type:void 0,decorators:[{type:Hx,args:[wX]},{type:zx}]},{type:void 0,decorators:[{type:Hx,args:[_X]},{type:zx}]}]});const kX=/#/g;class CX{_localization;constructor(e){this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw hX(CX,t);return t[zJ(e,Object.keys(t),this._localization,n)].replace(kX,e.toString())}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:CX,deps:[{token:HJ}],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:CX,isStandalone:!0,name:"i18nPlural"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:CX,decorators:[{type:nq,args:[{name:"i18nPlural"}]}],ctorParameters:()=>[{type:HJ}]});class SX{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw hX(SX,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:SX,deps:[],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:SX,isStandalone:!0,name:"i18nSelect"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:SX,decorators:[{type:nq,args:[{name:"i18nSelect"}]}]});class TX{transform(e){return JSON.stringify(e,null,2)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:TX,deps:[],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:TX,isStandalone:!0,name:"json",pure:!1})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:TX,decorators:[{type:nq,args:[{name:"json",pure:!1}]}]});class EX{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=IX;transform(e,t=IX){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ??=this.differs.find(e).create();const n=this.differ.diff(e),i=t!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})})),(n||i)&&(t&&this.keyValues.sort(t),this.compareFn=t),this.keyValues}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:EX,deps:[{token:EZ}],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:EX,isStandalone:!0,name:"keyvalue",pure:!1})}function IX(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(null==n)return 1;if(null==i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),s=String(i);return r==s?0:r<s?-1:1}
1IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:EX,decorators:[{type:nq,args:[{name:"keyvalue",pure:!1}]}],ctorParameters:()=>[{type:EZ}]});class AX{_locale;constructor(e){this._locale=e}transform(e,t,n){if(!OX(e))return null;n||=this._locale;try{return function(e,t,n){return VJ(e,$J(hJ(t,nJ.Decimal),dJ(t,5)),t,1,0,n)}(PX(e),n,t)}catch(e){throw hX(AX,e.message)}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:AX,deps:[{token:xq}],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:AX,isStandalone:!0,name:"number"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:AX,decorators:[{type:nq,args:[{name:"number"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[xq]}]}]});class DX{_locale;constructor(e){this._locale=e}transform(e,t,n){if(!OX(e))return null;n||=this._locale;try{return function(e,t,n){return VJ(e,$J(hJ(t,nJ.Percent),dJ(t,5)),t,1,0,n,!0).replace(new RegExp("%","g"),dJ(t,3))}(PX(e),n,t)}catch(e){throw hX(DX,e.message)}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:DX,deps:[{token:xq}],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:DX,isStandalone:!0,name:"percent"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:DX,decorators:[{type:nq,args:[{name:"percent"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[xq]}]}]});class MX{_locale;_defaultCurrencyCode;constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n="symbol",i,r){if(!OX(e))return null;r||=this._locale,"boolean"==typeof n&&(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),n=n?"symbol":"code");let s=t||this._defaultCurrencyCode;"code"!==n&&(s="symbol"===n||"symbol-narrow"===n?function(e,t,n="en"){const i=function(e){return E$(e)[O$.Currencies]}(n)[e]||tJ[e]||[],r=i[1];return"narrow"===t&&"string"==typeof r?r:i[0]||e}(s,"symbol"===n?"wide":"narrow",r):n);try{return function(e,t,n,i,r){const s=$J(hJ(t,nJ.Currency),dJ(t,5));return s.minFrac=function(e){let t;const n=tJ[e];return n&&(t=n[2]),"number"==typeof t?t:2}(i),s.maxFrac=s.minFrac,VJ(e,s,t,13,12,r).replace("¤",n).replace("¤","").trim()}(PX(e),r,s,t,i)}catch(e){throw hX(MX,e.message)}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:MX,deps:[{token:xq},{token:kq}],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:MX,isStandalone:!0,name:"currency"})}function OX(e){return!(null==e||""===e||e!=e)}function PX(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new ev(2309,ngDevMode&&`${e} is not a number`);return e}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:MX,decorators:[{type:nq,args:[{name:"currency"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[xq]}]},{type:void 0,decorators:[{type:Hx,args:[kq]}]}]});class LX{transform(e,t,n){if(null==e)return null;if("string"!=typeof e&&!Array.isArray(e))throw hX(LX,e);return e.slice(t,n)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:LX,deps:[],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:LX,isStandalone:!0,name:"slice",pure:!1})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:LX,decorators:[{type:nq,args:[{name:"slice",pure:!1}]}]});const NX=[mX,bX,gX,TX,LX,AX,DX,yX,MX,xX,CX,SX,EX];class RX{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:RX,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:RX,imports:[GJ,ZJ,JJ,QJ,uX,cX,iX,rX,sX,aX,lX,mX,bX,gX,TX,LX,AX,DX,yX,MX,xX,CX,SX,EX],exports:[GJ,ZJ,JJ,QJ,uX,cX,iX,rX,sX,aX,lX,mX,bX,gX,TX,LX,AX,DX,yX,MX,xX,CX,SX,EX]});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:RX})}
1IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:RX,decorators:[{type:aq,args:[{imports:[dX,NX],exports:[dX,NX]}]}]});class BX{_doc;constructor(e){this._doc=e}manager}class FX extends BX{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n,i){return e.addEventListener(t,n,i),()=>this.removeEventListener(e,t,n,i)}removeEventListener(e,t,n,i){return e.removeEventListener(t,n,i)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:FX,deps:[{token:Q_}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:FX})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:FX,decorators:[{type:bC}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[Q_]}]}]});const VX=new $v(ngDevMode?"EventManagerPlugins":"");class $X{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(e=>{e.manager=this});const n=e.filter(e=>!(e instanceof FX));this._plugins=n.slice().reverse();const i=e.find(e=>e instanceof FX);i&&this._plugins.push(i)}addEventListener(e,t,n,i){return this._findPluginFor(t).addEventListener(e,t,n,i)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(t=>t.supports(e)),!t)throw new ev(5101,("undefined"==typeof ngDevMode||ngDevMode)&&`No event manager plugin found for event ${e}`);return this._eventNameToPlugin.set(e,t),t}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:$X,deps:[{token:VX},{token:dD}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:$X})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:$X,decorators:[{type:bC}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[VX]}]},{type:dD}]});const jX="ng-app-id";function HX(e){for(const t of e)t.remove()}function zX(e,t){const n=t.createElement("style");return n.textContent=e,n}function UX(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}class qX{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,n,i={}){this.doc=e,this.appId=t,this.nonce=n,function(e,t,n,i){const r=e.head?.querySelectorAll(`style[${jX}="${t}"],link[${jX}="${t}"]`);if(r)for(const e of r)e.removeAttribute(jX),e instanceof HTMLLinkElement?i.set(e.href.slice(e.href.lastIndexOf("/")+1),{usage:0,elements:[e]}):e.textContent&&n.set(e.textContent,{usage:0,elements:[e]})}(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(const t of e)this.addUsage(t,this.inline,zX);t?.forEach(e=>this.addUsage(e,this.external,UX))}removeStyles(e,t){for(const t of e)this.removeUsage(t,this.inline);t?.forEach(e=>this.removeUsage(e,this.external))}addUsage(e,t,n){const i=t.get(e);i?("undefined"!=typeof ngDevMode&&!ngDevMode||0!==i.usage||i.elements.forEach(e=>e.setAttribute("ng-style-reused","")),i.usage++):t.set(e,{usage:1,elements:[...this.hosts].map(t=>this.addElement(t,n(e,this.doc)))})}removeUsage(e,t){const n=t.get(e);n&&(n.usage--,n.usage<=0&&(HX(n.elements),t.delete(e)))}ngOnDestroy(){for(const[,{elements:e}]of[...this.inline,...this.external])HX(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(const[t,{elements:n}]of this.inline)n.push(this.addElement(e,zX(t,this.doc)));for(const[t,{elements:n}]of this.external)n.push(this.addElement(e,UX(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),"undefined"!=typeof ngServerMode&&ngServerMode&&t.setAttribute(jX,this.appId),e.appendChild(t)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:qX,deps:[{token:Q_},{token:bS},{token:SS,optional:!0},{token:xS}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:qX})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:qX,decorators:[{type:bC}],ctorParameters:()=>[{type:Document,decorators:[{type:Hx,args:[Q_]}]},{type:void 0,decorators:[{type:Hx,args:[bS]}]},{type:void 0,decorators:[{type:Hx,args:[SS]},{type:zx}]},{type:void 0,decorators:[{type:Hx,args:[xS]}]}]});const WX={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},GX=/%COMP%/g,ZX=/\/\*#\s*sourceMappingURL=(.+?)\s*\*\//,YX=/^https?:/,KX="%COMP%",JX=`_nghost-${KX}`,XX=`_ngcontent-${KX}`,QX=new $v(ngDevMode?"RemoveStylesOnCompDestroy":"",{providedIn:"root",factory:()=>!0});function eQ(e,t){return t.map(t=>t.replace(GX,e))}function tQ(e,t){if(!e)return t;const n=new URL(e,"http://localhost");return t.map(e=>e.includes("sourceMappingURL=")?e.replace(ZX,(e,t)=>{if("/"===t[0]||t.startsWith("data:")||YX.test(t))return`/*# sourceMappingURL=${t} */`;const{pathname:i}=new URL(t,n);return`/*# sourceMappingURL=${i} */`}):e)}class nQ{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,n,i,r,s,o=null,a=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.removeStylesOnCompDestroy=i,this.doc=r,this.ngZone=s,this.nonce=o,this.tracingService=a,this.platformIsServer="undefined"!=typeof ngServerMode&&ngServerMode,this.defaultRenderer=new iQ(e,r,s,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;"undefined"!=typeof ngServerMode&&ngServerMode&&t.encapsulation===pE.ShadowDom&&(t={...t,encapsulation:pE.Emulated});const n=this.getOrCreateRenderer(e,t);
1return n instanceof cQ?n.applyToHost(e):n instanceof lQ&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let i=n.get(t.id);if(!i){const r=this.doc,s=this.ngZone,o=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,c=this.platformIsServer,u=this.tracingService;switch(t.encapsulation){case pE.Emulated:i=new cQ(o,a,t,this.appId,l,r,s,c,u);break;case pE.ShadowDom:return new aQ(o,a,e,t,r,s,this.nonce,c,u);default:i=new lQ(o,a,t,l,r,s,c,u)}n.set(t.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:nQ,deps:[{token:$X},{token:qX},{token:bS},{token:QX},{token:Q_},{token:dD},{token:SS},{token:eD,optional:!0}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:nQ})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:nQ,decorators:[{type:bC}],ctorParameters:()=>[{type:$X},{type:qX},{type:void 0,decorators:[{type:Hx,args:[bS]}]},{type:void 0,decorators:[{type:Hx,args:[QX]}]},{type:Document,decorators:[{type:Hx,args:[Q_]}]},{type:dD},{type:void 0,decorators:[{type:Hx,args:[SS]}]},{type:eD,decorators:[{type:Hx,args:[eD]},{type:zx}]}]});class iQ{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,n,i,r){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.tracingService=r}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(WX[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(oQ(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(oQ(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new ev(-5104,("undefined"==typeof ngDevMode||ngDevMode)&&`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=WX[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=WX[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(zA.DashCase|zA.Important)?e.style.setProperty(t,n,i&zA.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&zA.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){null!=e&&(("undefined"==typeof ngDevMode||ngDevMode)&&this.throwOnSyntheticProps&&sQ(t,"property"),e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,i){if(("undefined"==typeof ngDevMode||ngDevMode)&&this.throwOnSyntheticProps&&sQ(t,"listener"),"string"==typeof e&&!(e=KY().getGlobalEventTarget(this.doc,e)))throw new ev(5102,("undefined"==typeof ngDevMode||ngDevMode)&&`Unsupported event target ${e} for event ${t}`);let r=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(r=this.tracingService.wrapEventListener(e,t,r)),this.eventManager.addEventListener(e,t,r,i)}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===("undefined"!=typeof ngServerMode&&ngServerMode?this.ngZone.runGuarded(()=>e(t)):e(t))&&t.preventDefault()}}}const rQ="@".charCodeAt(0);function sQ(e,t){if(e.charCodeAt(0)===rQ)throw new ev(5105,`Unexpected synthetic ${t} ${e} found. Please make sure that:\n  - Make sure \`provideAnimationsAsync()\`, \`provideAnimations()\` or \`provideNoopAnimations()\` call was added to a list of providers used to bootstrap an application.\n  - There is a corresponding animation configuration named \`${e}\` defined in the \`animations\` field of the \`@Component\` decorator (see https://angular.dev/api/core/Component#animations).`)}function oQ(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class aQ extends iQ{sharedStylesHost;hostEl;shadowRoot;constructor(e,t,n,i,r,s,o,a,l){super(e,r,s,a,l),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=i.styles;ngDevMode&&(c=tQ(KY().getBaseHref(r)??"",c)),c=eQ(i.id,c);for(const e of c){const t=document.createElement("style");o&&t.setAttribute("nonce",o),t.textContent=e,this.shadowRoot.appendChild(t)}const u=i.getExternalStyles?.();if(u)for(const e of u){const t=UX(e,r);o&&t.setAttribute("nonce",o),this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class lQ extends iQ{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,n,i,r,s,o,a,l){super(e,r,s,o,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i;let c=n.styles;ngDevMode&&(c=tQ(KY().getBaseHref(r)??"",c)),this.styles=l?eQ(l,c):c,this.styleUrls=n.getExternalStyles?.(l)}
1applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===XA.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class cQ extends lQ{contentAttr;hostAttr;constructor(e,t,n,i,r,s,o,a,l){const c=i+"-"+n.id;var u;super(e,t,n,r,s,o,a,l,c),this.contentAttr=(u=c,XX.replace(GX,u)),this.hostAttr=function(e){return JX.replace(GX,e)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class uQ extends JY{supportsDOMEvents=!0;static makeCurrent(){var e;e=new uQ,YY??=e}onAndCancel(e,t,n,i){return e.addEventListener(t,n,i),()=>{e.removeEventListener(t,n,i)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(dQ=dQ||document.head.querySelector("base"),dQ?dQ.getAttribute("href"):null);return null==t?null:new URL(t,document.baseURI).pathname}resetBaseElement(){dQ=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return uK(document.cookie,e)}}let dQ=null;class hQ{build(){return new XMLHttpRequest}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:hQ,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:hQ})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:hQ,decorators:[{type:bC}]});const pQ=["alt","control","meta","shift"],fQ={"\b":"Backspace","\t":"Tab","�":"Delete","�":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},mQ={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class gQ extends BX{constructor(e){super(e)}supports(e){return null!=gQ.parseEventName(e)}addEventListener(e,t,n,i){const r=gQ.parseEventName(t),s=gQ.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>KY().onAndCancel(e,r.domEventName,s,i))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const i=gQ._normalizeKey(t.pop());let r="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),r="code."),pQ.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),r+=e+".")}),r+=i,0!=t.length||0===i.length)return null;const o={};return o.domEventName=n,o.fullKey=r,o}static matchEventFullKeyCode(e,t){let n=fQ[e.key]||e.key,i="";return t.indexOf("code.")>-1&&(n=e.code,i="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),pQ.forEach(t=>{t!==n&&(0,mQ[t])(e)&&(i+=t+".")}),i+=n,i===t)}static eventCallback(e,t,n){return i=>{gQ.matchEventFullKeyCode(i,e)&&n.runGuarded(()=>t(i))}}static _normalizeKey(e){return"esc"===e?"escape":e}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:gQ,deps:[{token:Q_}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:gQ})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:gQ,decorators:[{type:bC}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[Q_]}]}]});const vQ=KG(OZ,"browser",[{provide:xS,useValue:"browser"},{provide:_S,useValue:function(){uQ.makeCurrent()},multi:!0},{provide:Q_,useFactory:function(){return vS(document),document}}]),yQ=new $v("undefined"==typeof ngDevMode||ngDevMode?"BrowserModule Providers Marker":""),bQ=[{provide:KB,useClass:class{addToWindow(e){nv.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new ev(5103,("undefined"==typeof ngDevMode||ngDevMode)&&"Could not find testability for element.");return i},nv.getAllAngularTestabilities=()=>e.getAllTestabilities(),nv.getAllAngularRootElements=()=>e.getAllRootElements(),nv.frameworkStabilizers||(nv.frameworkStabilizers=[]),nv.frameworkStabilizers.push(e=>{const t=nv.getAllAngularTestabilities();let n=t.length;const i=function(){n--,0==n&&e()};
1t.forEach(e=>{e.whenStable(i)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?KY().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}},{provide:YB,useClass:JB,deps:[dD,XB,KB]},{provide:JB,useClass:JB,deps:[dD,XB,KB]}],wQ=[{provide:bb,useValue:"root"},{provide:ix,useFactory:function(){return new ix}},{provide:VX,useClass:FX,multi:!0,deps:[Q_]},{provide:VX,useClass:gQ,multi:!0,deps:[Q_]},nQ,qX,$X,{provide:MP,useExisting:nQ},{provide:dK,useClass:hQ},"undefined"==typeof ngDevMode||ngDevMode?{provide:yQ,useValue:!0}:[]];class _Q{constructor(){if(("undefined"==typeof ngDevMode||ngDevMode)&&Dy(yQ,{optional:!0,skipSelf:!0}))throw new ev(5100,"Providers from the `BrowserModule` have already been loaded. If you need access to common directives such as NgIf and NgFor, import the `CommonModule` instead.")}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_Q,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:_Q,exports:[RX,PZ]});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_Q,providers:[...wQ,...bQ],imports:[RX,PZ]})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_Q,decorators:[{type:aq,args:[{providers:[...wQ,...bQ],exports:[RX,PZ]}]}],ctorParameters:()=>[]});var xQ=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function kQ(e){return(0,Tx.T)(null==e?void 0:e.then)}var CQ=o(5604);function SQ(e){return(0,Tx.T)(e[CQ.s])}function TQ(e){return Symbol.asyncIterator&&(0,Tx.T)(null==e?void 0:e[Symbol.asyncIterator])}function EQ(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.")}var IQ="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function AQ(e){return(0,Tx.T)(null==e?void 0:e[IQ])}function DQ(e){return(0,$g.AQ)(this,arguments,function(){var t,n,i;return(0,$g.YH)(this,function(r){switch(r.label){case 0:t=e.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,(0,$g.N3)(t.read())];case 3:return n=r.sent(),i=n.value,n.done?[4,(0,$g.N3)(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,(0,$g.N3)(i)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function MQ(e){return(0,Tx.T)(null==e?void 0:e.getReader)}var OQ=o(2564);function PQ(e){if(e instanceof jg.c)return e;if(null!=e){if(SQ(e))return r=e,new jg.c(function(e){var t=r[CQ.s]();if((0,Tx.T)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if(xQ(e))return i=e,new jg.c(function(e){for(var t=0;t<i.length&&!e.closed;t++)e.next(i[t]);e.complete()});if(kQ(e))return t=e,new jg.c(function(e){t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,OQ.m)});if(TQ(e))return LQ(e);if(AQ(e))return n=e,new jg.c(function(e){var t,i;try{for(var r=(0,$g.Ju)(n),s=r.next();!s.done;s=r.next()){var o=s.value;if(e.next(o),e.closed)return}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(t)throw t.error}}e.complete()});if(MQ(e))return LQ(DQ(e))}var t,n,i,r;throw EQ(e)}function LQ(e){return new jg.c(function(t){(function(e,t){var n,i,r,s;return(0,$g.sH)(this,void 0,void 0,function(){var o,a;return(0,$g.YH)(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=(0,$g.xN)(e),l.label=1;case 1:return[4,n.next()];case 2:if((i=l.sent()).done)return[3,4];if(o=i.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=l.sent(),r={error:a},[3,11];case 6:return l.trys.push([6,,9,10]),i&&!i.done&&(s=n.return)?[4,s.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(r)throw r.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function NQ(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=!1);var s=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(s),!r)return s}function RQ(e,t,n){return void 0===n&&(n=1/0),(0,Tx.T)(t)?RQ(function(n,i){return Ox(function(e,r){return t(n,e,i,r)})(PQ(e(n,i)))},n):("number"==typeof t&&(n=t),Ix(function(t,i){return function(e,t,n,i){var r=[],s=0,o=0,a=!1,l=function(){!a||r.length||s||t.complete()},c=function(e){return s<i?u(e):r.push(e)},u=function(e){s++;var a=!1;PQ(n(e,o++)).subscribe(Dx(t,function(e){t.next(e)},function(){a=!0},void 0,function(){if(a)try{s--;for(var e=function(){var e=r.shift();u(e)};r.length&&s<i;)e();l()}catch(e){t.error(e)}}))};return e.subscribe(Dx(t,c,function(){a=!0,l()})),function(){}}(t,i,e,n)}))}function BQ(e,t){return(0,Tx.T)(t)?RQ(e,t,1):RQ(e,1)}function FQ(e,t){return Ix(function(n,i){var r=0;n.subscribe(Dx(i,function(n){return e.call(t,n,r++)&&i.next(n)}))})}function VQ(e){return Ix(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function $Q(e,t){return Ix(function(n,i){var r=null,s=0,o=!1,a=function(){return o&&!r&&i.complete()};n.subscribe(Dx(i,function(n){null==r||r.unsubscribe();var o=0,l=s++;PQ(e(n,l)).subscribe(r=Dx(i,function(e){return i.next(t?t(n,e,l,o++):e)},function(){r=null,a()}))},function(){o=!0,a()}))})}function jQ(e){return e&&(0,Tx.T)(e.schedule)}function HQ(e){return e[e.length-1]}function zQ(e){return(0,Tx.T)(HQ(e))?e.pop():void 0}function UQ(e){return jQ(HQ(e))?e.pop():void 0}function qQ(e,t){return void 0===t&&(t=0),Ix(function(n,i){n.subscribe(Dx(i,function(n){return NQ(i,e,function(){return i.next(n)},t)},function(){return NQ(i,e,function(){return i.complete()},t)},function(n){return NQ(i,e,function(){return i.error(n)},t)}))})}function WQ(e,t){return void 0===t&&(t=0),Ix(function(n,i){i.add(e.schedule(function(){return n.subscribe(i)},t))})}function GQ(e,t){if(!e)throw new Error("Iterable cannot be null");return new jg.c(function(n){NQ(n,t,function(){var i=e[Symbol.asyncIterator]();NQ(n,t,function(){i.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}function ZQ(e,t){return t?function(e,t){if(null!=e){if(SQ(e))return function(e,t){return PQ(e).pipe(WQ(t),qQ(t))}(e,t);if(xQ(e))return function(e,t){return new jg.c(function(n){var i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(kQ(e))return function(e,t){return PQ(e).pipe(WQ(t),qQ(t))}(e,t);if(TQ(e))return GQ(e,t);if(AQ(e))return function(e,t){return new jg.c(function(n){var i;return NQ(n,t,function(){i=e[IQ](),NQ(n,t,function(){var e,t,r;try{t=(e=i.next()).value,r=e.done}catch(e){return void n.error(e)}r?n.complete():n.next(t)},0,!0)}),function(){return(0,Tx.T)(null==i?void 0:i.return)&&i.return()}})}(e,t);if(MQ(e))return function(e,t){return GQ(DQ(e),t)}(e,t)}throw EQ(e)}(e,t):PQ(e)}function YQ(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ZQ(e,UQ(e))}class KQ{}class JQ{}class XQ{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?"string"==typeof e?this.lazyInit=()=>
vendor: 4,751 bytes, line 1
1{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=e.slice(t+1).trim();this.addHeaderEntry(n,i)}})}:"undefined"!=typeof Headers&&e instanceof Headers?(this.headers=new Map,e.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{("undefined"==typeof ngDevMode||ngDevMode)&&function(e){for(const[t,n]of Object.entries(e))if("string"!=typeof n&&"number"!=typeof n&&!Array.isArray(n))throw new Error(`Unexpected value of the \`${t}\` header provided. Expecting either a string, a number or an array, but got: \`${n}\`.`)}(e),this.headers=new Map,Object.entries(e).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof XQ?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init();for(const[t,n]of e.headers.entries())this.headers.set(t,n),this.normalizedNames.set(t,e.normalizedNames.get(t))}clone(e){const t=new XQ;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof XQ?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i="a"===e.op?(this.headers.get(t)||[]).slice():[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(void 0===r)this.headers.delete(t),this.normalizedNames.delete(t);else{const e=Array.isArray(r)?r:[r];let n=this.headers.get(t);if(!n)return;n=n.filter(t=>-1===e.indexOf(t)),0===n.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,n)}}}addHeaderEntry(e,t){const n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(t):this.headers.set(n,[t])}setHeaderEntries(e,t){const n=(Array.isArray(t)?t:[t]).map(e=>e.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class QQ{encodeKey(e){return n1(e)}encodeValue(e){return n1(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const e1=/%(\d[a-f0-9])/gi,t1={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function n1(e){return encodeURIComponent(e).replace(e1,(e,t)=>t1[t]??e)}function i1(e){return`${e}`}class r1{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new QQ,e.fromString){if(e.fromObject)throw new ev(2805,ngDevMode&&"Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const i=e.indexOf("="),[r,s]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t],i=Array.isArray(n)?n.map(i1):[i1(n)];this.map.set(t,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)?i.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new r1({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){if(null===this.map&&(this.map=new Map),null!==this.cloneFrom){this.cloneFrom.init();for(const[e,t]of this.cloneFrom.map.entries())this.map.set(e,t);
vendor: 4,146 bytes, line 1
1this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t="a"===e.op?(this.map.get(e.param)||[]).slice():[];t.push(i1(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{const t=(this.map.get(e.param)||[]).slice(),n=t.indexOf(i1(e.value));-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null}}}class s1{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function o1(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function a1(e){return"undefined"!=typeof Blob&&e instanceof Blob}function l1(e){return"undefined"!=typeof FormData&&e instanceof FormData}const c1="Content-Type",u1="Accept",d1="X-Request-URL",h1="text/plain",p1="application/json",f1=`${p1}, ${h1}, */*`;class m1{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(e,t,n,i){let r;if(this.url=t,this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r){if(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,this.keepalive=!!r.keepalive,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),r.priority&&(this.priority=r.priority),r.cache&&(this.cache=r.cache),r.credentials&&(this.credentials=r.credentials),"number"==typeof r.timeout){if(r.timeout<1||!Number.isInteger(r.timeout))throw new ev(2822,ngDevMode?"`timeout` must be a positive integer value":"");this.timeout=r.timeout}r.mode&&(this.mode=r.mode),r.redirect&&(this.redirect=r.redirect),r.integrity&&(this.integrity=r.integrity),void 0!==r.referrer&&(this.referrer=r.referrer),this.transferCache=r.transferCache}if(this.headers??=new XQ,this.context??=new s1,this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?"),i=-1===n?"?":n<t.length-1?"&":"";this.urlWithParams=t+i+e}}else this.params=new r1,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||o1(this.body)||a1(this.body)||l1(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)?this.body:this.body instanceof r1?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var e}detectContentTypeHeader(){return null===this.body||l1(this.body)?null:a1(this.body)?this.body.type||null:o1(this.body)?null:"string"==typeof this.body?h1:this.body instanceof r1?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?p1:null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,r=e.keepalive??this.keepalive,s=e.priority||this.priority,o=e.cache||this.cache,a=e.mode||this.mode,l=e.redirect||this.redirect,c=e.credentials||this.credentials,u=e.referrer??this.referrer,d=e.integrity||this.integrity,h=e.transferCache??this.transferCache,p=e.timeout??this.timeout,f=void 0!==e.body?e.body:this.body,m=e.withCredentials??this.withCredentials,g=e.reportProgress??this.reportProgress;let v=e.headers||this.headers,y=e.params||this.params;const b=e.context??this.context;return void 0!==e.setHeaders&&(v=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),v)),e.setParams&&(y=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),y)),new m1(t,n,f,{params:y,headers:v,context:b,reportProgress:g,responseType:i,withCredentials:m,transferCache:h,keepalive:r,cache:o,priority:s,timeout:p,mode:a,redirect:l,credentials:c,referrer:u,integrity:d})}}var g1,v1;
vendor: 6,357 bytes, line 1
1!function(e){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"}(g1||(g1={}));class y1{headers;status;statusText;url;ok;type;redirected;constructor(e,t=200,n="OK"){this.headers=e.headers||new XQ,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.redirected=e.redirected,this.ok=this.status>=200&&this.status<300}}class b1 extends y1{constructor(e={}){super(e)}type=g1.ResponseHeader;clone(e={}){return new b1({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class w1 extends y1{body;constructor(e={}){super(e),this.body=void 0!==e.body?e.body:null}type=g1.Response;clone(e={}){return new w1({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0,redirected:e.redirected??this.redirected})}}class _1 extends y1{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function x1(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}!function(e){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"}(v1||(v1={}));class k1{handler;constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof m1)i=e;else{let r,s;r=n.headers instanceof XQ?n.headers:new XQ(n.headers),n.params&&(s=n.params instanceof r1?n.params:new r1({fromObject:n.params})),i=new m1(e,t,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials,transferCache:n.transferCache,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,credentials:n.credentials,referrer:n.referrer,integrity:n.integrity,timeout:n.timeout})}const r=YQ(i).pipe(BQ(e=>this.handler.handle(e)));if(e instanceof m1||"events"===n.observe)return r;const s=r.pipe(FQ(e=>e instanceof w1));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe(Ox(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new ev(2806,ngDevMode&&"Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe(Ox(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new ev(2807,ngDevMode&&"Response is not a Blob.");return e.body}));case"text":return s.pipe(Ox(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new ev(2808,ngDevMode&&"Response is not a string.");return e.body}));default:return s.pipe(Ox(e=>e.body))}case"response":return s;default:throw new ev(2809,ngDevMode&&`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new r1).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,x1(n,t))}post(e,t,n={}){return this.request("POST",e,x1(n,t))}put(e,t,n={}){return this.request("PUT",e,x1(n,t))}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:k1,deps:[{token:KQ}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:k1})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:k1,decorators:[{type:bC}],ctorParameters:()=>[{type:KQ}]});const C1=/^\)\]\}',?\n/;function S1(e){if(e.url)return e.url;const t=d1.toLocaleLowerCase();return e.headers.get(t)}const T1=new $v("undefined"==typeof ngDevMode||ngDevMode?"FETCH_BACKEND":"");class E1{fetchImpl=Dy(I1,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=Dy(dD);destroyRef=Dy(ex);handle(e){return new jg.c(t=>{const n=new AbortController;let i;return this.doRequest(e,n.signal,t).then(A1,e=>t.error(new _1({error:e}))),e.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{n.signal.aborted||n.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{void 0!==i&&clearTimeout(i),n.abort()}})}async doRequest(e,t,n){const i=this.createRequestInit(e);let r;try{const s=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,{signal:t,...i}));s.then(A1,A1),n.next({type:g1.Sent}),r=await s}catch(t){return void n.error(new _1({error:t,status:t.status??0,statusText:t.statusText,url:e.urlWithParams,headers:t.headers}))}const s=new XQ(r.headers),o=r.statusText,a=S1(r)??e.urlWithParams;let l=r.status,c=null;if(e.reportProgress&&n.next(new b1({headers:s,status:l,statusText:o,url:a})),r.body){const t=r.headers.get("content-length"),i=[],s=r.body.getReader();let o,a,u=0;const d="undefined"!=typeof Zone&&Zone.current;let h=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await s.cancel(),h=!0;break}const{done:r,value:l}=await s.read();if(r)break;if(i.push(l),u+=l.length,e.reportProgress){a="text"===e.responseType?(a??"")+(o??=new TextDecoder).decode(l,{stream:!0}):void 0;const i=()=>n.next({type:g1.DownloadProgress,total:t?+t:void 0,loaded:u,partialText:a});d?d.run(i):i()}}}),h)return void n.complete();const p=this.concatChunks(i,u);try{const t=r.headers.get(c1)??"";c=this.parseBody(e,p,t,l)}catch(t){return void n.error(new _1({error:t,headers:new XQ(r.headers),status:r.status,statusText:r.statusText,url:S1(r)??e.urlWithParams}))}}0===l&&(l=c?200:0);const u=l>=200&&l<300,d=r.redirected;u?(n.next(new w1({body:c,headers:s,status:l,statusText:o,url:a,redirected:d})),n.complete()):n.error(new _1({error:c,headers:s,status:l,statusText:o,url:a,redirected:d}))}parseBody(e,t,n,i){switch(e.responseType){case"json":const e=(new TextDecoder).decode(t).replace(C1,"");if(""===e)return null;try{return JSON.parse(e)}catch(t){if(i<200||i>=300)return e;throw t}case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t],{type:n});case"arraybuffer":return t.buffer}}createRequestInit(e){const t={};let n;if(n=e.credentials,e.withCredentials&&(("undefined"==typeof ngDevMode||ngDevMode)&&function(e){e.credentials&&e.withCredentials&&console.warn(tv(2819,`Angular detected that a \`HttpClient\` request has both \`withCredentials: true\` and \`credentials: '${e.credentials}'\` options. The \`withCredentials\` option is overriding the explicit \`credentials\` setting to 'include'. Consider removing \`withCredentials\` and using \`credentials: '${e.credentials}'\` directly for clarity.`))}(e),n="include"),e.headers.forEach((e,n)=>t[e]=n.join(",")),e.headers.has(u1)||(t[u1]=f1),!e.headers.has(c1)){const n=e.detectContentTypeHeader();null!==n&&(t[c1]=n)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:n,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity}}concatChunks(e,t){const n=new Uint8Array(t);let i=0;for(const t of e)n.set(t,i),i+=t.length;return n}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:E1,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:E1})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:E1,decorators:[{type:bC}]});class I1{}function A1(){}function D1(e,t){return t(e)}function M1(e,t){return(n,i)=>t.intercept(n,{handle:t=>e(t,i)})}const O1=new $v(ngDevMode?"HTTP_INTERCEPTORS":""),P1=new $v(ngDevMode?"HTTP_INTERCEPTOR_FNS":""),L1=new $v(ngDevMode?"HTTP_ROOT_INTERCEPTOR_FNS":""),N1=new $v(ngDevMode?"REQUESTS_CONTRIBUTE_TO_STABILITY":"",{providedIn:"root",factory:()=>!0});function R1(){let e=null;return(t,n)=>{if(null===e){const t=Dy(O1,{optional:!0})??[];e=t.reduceRight(M1,D1)}const i=Dy(xx);if(Dy(N1)){const r=i.add();return e(t,n).pipe(VQ(r))}return e(t,n)}}let B1=!1;class F1 extends KQ{backend;injector;chain=null;pendingTasks=Dy(xx);contributeToStability=Dy(N1);constructor(e,t){if(super(),this.backend=e,this.injector=t,("undefined"==typeof ngDevMode||ngDevMode)&&!B1){const e=this.backend.isTestingBackend;"undefined"==typeof ngServerMode||!ngServerMode||this.backend instanceof E1||e||(B1=!0,t.get(dB).warn(tv(2801,"Angular detected that `HttpClient` is not configured to use `fetch` APIs. It's strongly recommended to enable `fetch` for applications that use Server-Side Rendering for better performance and compatibility. To enable `fetch`, add the `withFetch()` to the `provideHttpClient()` call at the root of the application.")))}}handle(e){if(null===this.chain){const e=this.injector.get(KQ,null,{skipSelf:!0}),t=null!==e&&this.backend===e,n=this.injector.get(L1,[],t?{self:!0}:void 0),i=Array.from(new Set([...this.injector.get(P1),...n]));this.chain=i.reduceRight((e,t)=>function(e,t,n){return(i,r)=>Mb(n,()=>t(i,t=>e(t,r)))}(e,t,this.injector),D1)}if(this.contributeToStability){const t=this.pendingTasks.add();return this.chain(e,e=>this.backend.handle(e)).pipe(VQ(t))}return this.chain(e,e=>this.backend.handle(e))}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:F1,deps:[{token:JQ},{token:Cb}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:F1})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:F1,decorators:[{type:bC}],ctorParameters:()=>[{type:JQ},{type:Cb}]});let V1,$1=0;class j1{}function H1(){return"object"==typeof window?window:{}}class z1{callbackMap;document;resolvedPromise=Promise.resolve();constructor(e,t){this.callbackMap=e,this.document=t}nextCallback(){return"ng_jsonp_callback_"+$1++}handle(e){if("JSONP"!==e.method)throw new ev(2810,ngDevMode&&"JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new ev(2811,ngDevMode&&"JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new ev(2812,ngDevMode&&"JSONP requests do not support headers.");if(!this.isAllowedJsonpUrl(e.urlWithParams))throw new ev(2826,ngDevMode&&"JSONP requests only support absolute URLs with HTTP(S) protocols.");return new jg.c(t=>{const n=this.nextCallback(),i=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),r=this.document.createElement("script");r.src=i;let s=null,o=!1;this.callbackMap[n]=e=>{delete this.callbackMap[n],s=e,o=!0};const a=()=>{r.removeEventListener("load",l),r.removeEventListener("error",c),r.remove(),delete this.callbackMap[n]},l=()=>{this.resolvedPromise.then(()=>{a(),o?(t.next(new w1({body:s,status:200,statusText:"OK",url:i})),t.complete()):t.error(new _1({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},c=e=>{a(),t.error(new _1({error:e,status:0,statusText:"JSONP Error",url:i}))};return r.addEventListener("load",l),r.addEventListener("error",c),this.document.body.appendChild(r),t.next({type:g1.Sent}),()=>{o||this.removeListeners(r),a()}})}removeListeners(e){V1??=this.document.implementation.createHTMLDocument(),V1.adoptNode(e)}isAllowedJsonpUrl(e){return/^https?:\/\//i.test(e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:z1,deps:[{token:j1},{token:Q_}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:z1})}function U1(e,t){return"JSONP"===e.method?Dy(z1).handle(e):t(e)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:z1,decorators:[{type:bC}],ctorParameters:()=>[{type:j1},{type:void 0,decorators:[{type:Hx,args:[Q_]}]}]});class q1{injector;constructor(e){this.injector=e}intercept(e,t){return Mb(this.injector,()=>U1(e,e=>t.handle(e)))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:q1,deps:[{token:Cb}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:q1})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:q1,decorators:[{type:bC}],ctorParameters:()=>[{type:Cb}]});const W1=/^\)\]\}',?\n/,G1=RegExp(`^${d1}:`,"m");class Z1{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new ev(-2800,("undefined"==typeof ngDevMode||ngDevMode)&&"Cannot make a JSONP request without JSONP support. To fix the problem, either add the `withJsonpSupport()` call (if `provideHttpClient()` is used) or import the `HttpClientJsonpModule` in the root NgModule.");ngDevMode&&function(e){const t=[{property:"keepalive",errorCode:2813},{property:"cache",errorCode:2814},{property:"priority",errorCode:2815},{property:"mode",errorCode:2816},{property:"redirect",errorCode:2817},{property:"credentials",errorCode:2818},{property:"integrity",errorCode:2820},{property:"referrer",errorCode:2821}];for(const{property:n,errorCode:i}
1of t)e[n]&&console.warn(tv(i,`Angular detected that a \`HttpClient\` request with the \`${n}\` option was sent using XHR, which does not support it. To use the \`${n}\` option, enable Fetch API support by passing \`withFetch()\` as an argument to \`provideHttpClient()\`.`))}(e);const t=this.xhrFactory;return("undefined"!=typeof ngServerMode&&ngServerMode&&t.ɵloadImpl?ZQ(t.ɵloadImpl()):YQ(null)).pipe($Q(()=>new jg.c(n=>{const i=t.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((e,t)=>i.setRequestHeader(e,t.join(","))),e.headers.has(u1)||i.setRequestHeader(u1,f1),!e.headers.has(c1)){const t=e.detectContentTypeHeader();null!==t&&i.setRequestHeader(c1,t)}if(e.timeout&&(i.timeout=e.timeout),e.responseType){const t=e.responseType.toLowerCase();i.responseType="json"!==t?t:"text"}const r=e.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const t=i.statusText||"OK",n=new XQ(i.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:G1.test(e.getAllResponseHeaders())?e.getResponseHeader(d1):null}(i)||e.url;return s=new b1({headers:n,status:i.status,statusText:t,url:r}),s},a=()=>{let{headers:t,status:r,statusText:s,url:a}=o(),l=null;204!==r&&(l=void 0===i.response?i.responseText:i.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(W1,"");try{l=""!==l?JSON.parse(l):null}catch(t){l=e,c&&(c=!1,l={error:t,text:l})}}c?(n.next(new w1({body:l,headers:t,status:r,statusText:s,url:a||void 0})),n.complete()):n.error(new _1({error:l,headers:t,status:r,statusText:s,url:a||void 0}))},l=e=>{const{url:t}=o(),r=new _1({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)};let c=l;e.timeout&&(c=e=>{const{url:t}=o(),r=new _1({error:new DOMException("Request timed out","TimeoutError"),status:i.status||0,statusText:i.statusText||"Request timeout",url:t||void 0});n.error(r)});let u=!1;const d=t=>{u||(n.next(o()),u=!0);let r={type:g1.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},h=e=>{let t={type:g1.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",a),i.addEventListener("error",l),i.addEventListener("timeout",c),i.addEventListener("abort",l),e.reportProgress&&(i.addEventListener("progress",d),null!==r&&i.upload&&i.upload.addEventListener("progress",h)),i.send(r),n.next({type:g1.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",a),i.removeEventListener("timeout",c),e.reportProgress&&(i.removeEventListener("progress",d),null!==r&&i.upload&&i.upload.removeEventListener("progress",h)),i.readyState!==i.DONE&&i.abort()}})))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Z1,deps:[{token:dK}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Z1})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Z1,decorators:[{type:bC}],ctorParameters:()=>[{type:dK}]});const Y1=new $v(ngDevMode?"XSRF_ENABLED":""),K1="XSRF-TOKEN",J1=new $v(ngDevMode?"XSRF_COOKIE_NAME":"",{providedIn:"root",factory:()=>K1}),X1="X-XSRF-TOKEN",Q1=new $v(ngDevMode?"XSRF_HEADER_NAME":"",{providedIn:"root",factory:()=>X1});class e0{}class t0{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,t){this.doc=e,this.cookieName=t}getToken(){if("undefined"!=typeof ngServerMode&&ngServerMode)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=uK(e,this.cookieName),this.lastCookieString=e),this.lastToken}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:t0,deps:[{token:Q_},{token:J1}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:t0})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:t0,decorators:[{type:bC}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[Q_]}]},{type:void 0,decorators:[{type:Hx,args:[J1]}]}]});const n0=/^(?:https?:)?\/\//i;function i0(e,t){if(!Dy(Y1)||"GET"===e.method||"HEAD"===e.method||n0.test(e.url))return t(e);const n=Dy(e0).getToken(),i=Dy(Q1);return null==n||e.headers.has(i)||(e=e.clone({headers:e.headers.set(i,n)})),t(e)}class r0{injector;constructor(e){this.injector=e}intercept(e,t){return Mb(this.injector,()=>i0(e,e=>t.handle(e)))}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:r0,deps:[{token:Cb}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:r0})}var s0;function o0(e,t){return{"ɵkind":e,"ɵproviders":t}}function a0(...e){if(ngDevMode){const t=new Set(e.map(e=>e.ɵkind));if(t.has(s0.NoXsrfProtection)&&t.has(s0.CustomXsrfConfiguration))throw new Error("Configuration error: found both withXsrfConfiguration() and withNoXsrfProtection() in the same call to provideHttpClient(), which is a contradiction.");if(t.has(s0.RequestsMadeViaParent)&&t.has(s0.Fetch))throw new Error("Configuration error: withRequestsMadeViaParent() cannot be combined with withFetch() in the same call to provideHttpClient().")}const t=[k1,Z1,F1,{provide:KQ,useExisting:F1},{provide:JQ,useFactory:()=>Dy(T1,{optional:!0})??Dy(Z1)},{provide:P1,useValue:i0,multi:!0},{provide:Y1,useValue:!0},{provide:e0,useClass:t0}];for(const n of e)t.push(...n.ɵproviders);return sb(t)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:r0,decorators:[{type:bC}],ctorParameters:()=>[{type:Cb}]}),function(e){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"}(s0||(s0={}));const l0=new $v(ngDevMode?"LEGACY_INTERCEPTOR_FN":"");function c0(){return o0(s0.LegacyInterceptors,[{provide:l0,useFactory:R1},{provide:P1,useExisting:l0,multi:!0}])}function u0({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:J1,useValue:e}),void 0!==t&&n.push({provide:Q1,useValue:t}),o0(s0.CustomXsrfConfiguration,n)}function d0(){return o0(s0.JsonpSupport,[z1,{provide:j1,useFactory:H1},{provide:P1,useValue:U1,multi:!0}])}class h0{static disable(){return{ngModule:h0,providers:[o0(s0.NoXsrfProtection,[{provide:Y1,useValue:!1}]).ɵproviders]}}static withOptions(e={}){return{ngModule:h0,providers:u0(e).ɵproviders}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:h0,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:h0});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:h0,providers:[r0,{provide:O1,useExisting:r0,multi:!0},{provide:e0,useClass:t0},u0({cookieName:K1,headerName:X1}).ɵproviders,{provide:Y1,useValue:!0}]})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:h0,decorators:[{type:aq,args:[{providers:[r0,{provide:O1,useExisting:r0,multi:!0},{provide:e0,useClass:t0},u0({cookieName:K1,headerName:X1}).ɵproviders,{provide:Y1,useValue:!0}]}]}]});class p0{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:p0,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:p0});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:p0,providers:[a0(c0())]})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:p0,decorators:[{type:aq,args:[{providers:[a0(c0())]}]}]});class f0{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:f0,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:f0});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:f0,providers:[d0().ɵproviders]})}function m0(e){return!!e&&(e instanceof jg.c||(0,Tx.T)(e.lift)&&(0,Tx.T)(e.subscribe))}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:f0,decorators:[{type:aq,args:[{providers:[d0().ɵproviders]}]}]});var g0=Array.isArray,v0=Object.getPrototypeOf,y0=Object.prototype,b0=Object.keys;function w0(e){if(1===e.length){var t=e[0];if(g0(t))return{args:t,keys:null};if((i=t)&&"object"==typeof i&&v0(i)===y0){var n=b0(t);return{args:n.map(function(e){return t[e]}),keys:n}}}var i;return{args:e,keys:null}}var _0=Array.isArray;function x0(e){return Ox(function(t){return function(e,t){return _0(t)?e.apply(void 0,(0,$g.fX)([],(0,$g.zs)(t))):e(t)}(e,t)})}function k0(e,t){return e.reduce(function(e,n,i){return e[n]=t[i],e},{})}function C0(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=zQ(e),i=w0(e),r=i.args,s=i.keys,o=new jg.c(function(e){var t=r.length;if(t)for(var n=new Array(t),i=t,o=t,a=function(t){var a=!1;PQ(r[t]).subscribe(Dx(e,function(e){a||(a=!0,o--),n[t]=e},function(){return i--},void 0,function(){i&&a||(o||e.next(s?k0(s,n):n),e.complete())}))},l=0;l<t;l++)a(l);else e.complete()});return n?o.pipe(x0(n)):o}var S0=o(8307);function T0(e){return void 0===e&&(e=1/0),RQ(S0.D,e)}function E0(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return T0(1)(ZQ(e,UQ(e)))}function I0(e){return new jg.c(function(t){PQ(e()).subscribe(t)})}var A0=new jg.c(function(e){return e.complete()});function D0(e){return e<=0?function(){return A0}:Ix(function(t,n){var i=0;t.subscribe(Dx(n,function(t){++i<=e&&(n.next(t),e<=i&&n.complete())}))})}var M0={now:function(){return(M0.delegate||Date).now()},delegate:void 0},O0=function(e){function t(t,n,i){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===i&&(i=M0);var r=e.call(this)||this;return r._bufferSize=t,r._windowTime=n,r._timestampProvider=i,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=n===1/0,r._bufferSize=Math.max(1,t),r._windowTime=Math.max(1,n),r}return(0,$g.C6)(t,e),t.prototype.next=function(t){var n=this,i=n.isStopped,r=n._buffer,s=n._infiniteTimeWindow,o=n._timestampProvider,a=n._windowTime;i||(r.push(t),!s&&r.push(o.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,i=e._buffer,r=e._infiniteTimeWindow,s=(r?1:2)*t;if(t<1/0&&s<i.length&&i.splice(0,i.length-s),!r){for(var o=n.now(),a=0,l=1;l<i.length&&i[l]<=o;l+=2)a=l;a&&i.splice(0,a+1)}},t}(Gg);function P0(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new Gg}:t,i=e.resetOnError,r=void 0===i||i,s=e.resetOnComplete,o=void 0===s||s,a=e.resetOnRefCountZero,l=void 0===a||a;return function(e){var t,i,s,a=0,c=!1,u=!1,d=function(){null==i||i.unsubscribe(),i=void 0},h=function(){d(),t=s=void 0,c=u=!1},p=function(){var e=t;h(),null==e||e.unsubscribe()};return Ix(function(e,f){a++,u||c||d();var m=s=null!=s?s:n();f.add(function(){0!==--a||u||c||(i=L0(p,l))}),m.subscribe(f),!t&&a>0&&(t=new Ax.Ms({next:function(e){return m.next(e)},error:function(e){u=!0,d(),i=L0(h,r,e),m.error(e)},complete:function(){c=!0,d(),i=L0(h,o),m.complete()}}),PQ(e).subscribe(t))})(e)}}function L0(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!0!==t){if(!1!==t){var r=new Ax.Ms({next:function(){r.unsubscribe(),e()}});return PQ(t.apply(void 0,(0,$g.fX)([],(0,$g.zs)(n)))).subscribe(r)}}else e()}function N0(e,t,n){var i,r,s,o,a=!1;return e&&"object"==typeof e?(i=e.bufferSize,o=void 0===i?1/0:i,r=e.windowTime,t=void 0===r?1/0:r,a=void 0!==(s=e.refCount)&&s,n=e.scheduler):o=null!=e?e:1/0,P0({connector:function(){return new O0(o,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}class R0{}class B0 extends R0{getTranslation(e){return YQ({})}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:B0,deps:null,target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:B0})}IY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:B0,decorators:[{type:bC}]});class F0{}class V0{handle(e){return e.key}static"ɵfac"=MY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:V0,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:V0})}function $0(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,i,r,s=typeof e;if(s==typeof t&&"object"==s){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in r=Object.create(null),e){if(!$0(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!$0(e[i],t[i]))return!1;return!0}}return!1}function j0(e){return null!=e}function H0(e){return e&&"object"==typeof e&&!Array.isArray(e)}function z0(e,t){let n=Object.assign({},e);return H0(e)&&H0(t)&&Object.keys(t).forEach(i=>{H0(t[i])?i in e?n[i]=z0(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n}IY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:V0,decorators:[{type:bC}]});class U0{}class q0 extends U0{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!j0(e)||!j0(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let i=this.getValue(t,n);return j0(i)?i:e}):e}static"ɵfac"=MY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:q0,deps:null,target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:q0})}IY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:q0,decorators:[{type:bC}]});class W0{}class G0 extends W0{compile(e,t){return e}compileTranslations(e,t){return e}static"ɵfac"=MY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:G0,deps:null,target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:G0})}IY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:G0,decorators:[{type:bC}]});class Z0{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new rD;onLangChange=new rD;onDefaultLangChange=new rD}const Y0=new $v("USE_STORE"),K0=new $v("USE_DEFAULT_LANG"),J0=new $v("DEFAULT_LANGUAGE"),X0=new $v("USE_EXTEND");class Q0{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new rD;_onLangChange=new rD;_onDefaultLangChange=new rD;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,t,n,i,r,s=!0,o=!1,a=!1,l){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=i,this.missingTranslationHandler=r,this.useDefaultLang=s,this.isolate=o,this.extend=a,l&&this.setDefaultLang(l)}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(D0(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return YQ(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(D0(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),YQ(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(N0(1),D0(1));return this.loadingTranslations=t.pipe(Ox(t=>this.compiler.compileTranslations(t,e)),N0(1),D0(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?{...t,...this.translations[e]}:t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),(n||this.extend)&&this.translations[e]?this.translations[e]=z0(this.translations[e],t):this.translations[e]=t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}
1addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let i;if(t instanceof Array){let i={},r=!1;for(let s of t)i[s]=this.getParsedResult(e,s,n),m0(i[s])&&(r=!0);return r?C0(t.map(e=>m0(i[e])?i[e]:YQ(i[e]))).pipe(Ox(e=>{let n={};return e.forEach((e,i)=>{n[t[i]]=e}),n})):i}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),i=this.missingTranslationHandler.handle(e)}return void 0!==i?i:t}get(e,t){if(!j0(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(BQ(n=>m0(n=this.getParsedResult(n,e,t))?n:YQ(n)));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return m0(n)?n:YQ(n)}}getStreamOnTranslationChange(e,t){if(!j0(e)||!e.length)throw new Error('Parameter "key" required');return E0(I0(()=>this.get(e,t)),this.onTranslationChange.pipe($Q(n=>{const i=this.getParsedResult(n.translations,e,t);return"function"==typeof i.subscribe?i:YQ(i)})))}stream(e,t){if(!j0(e)||!e.length)throw new Error('Parameter "key" required');return E0(I0(()=>this.get(e,t)),this.onLangChange.pipe($Q(n=>{const i=this.getParsedResult(n.translations,e,t);return m0(i)?i:YQ(i)})))}instant(e,t){if(!j0(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(m0(n)){if(e instanceof Array){let t={};return e.forEach((n,i)=>{t[e[i]]=e[i]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static"ɵfac"=MY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:Q0,deps:[{token:Z0},{token:R0},{token:W0},{token:U0},{token:F0},{token:K0},{token:Y0},{token:X0},{token:J0}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:Q0})}IY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:Q0,decorators:[{type:bC}],ctorParameters:function(){return[{type:Z0},{type:R0},{type:W0},{type:U0},{type:F0},{type:void 0,decorators:[{type:Hx,args:[K0]}]},{type:void 0,decorators:[{type:Hx,args:[Y0]}]},{type:void 0,decorators:[{type:Hx,args:[X0]}]},{type:void 0,decorators:[{type:Hx,args:[J0]}]}]}});class e2{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(e){e&&(this.key=e,this.checkNodes())}set translateParams(e){$0(this.currentParams,e)||(this.currentParams=e,this.checkNodes(!0))}constructor(e,t,n){this.translateService=e,this.element=t,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(e=>{e.lang===this.translateService.currentLang&&this.checkNodes(!0,e.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(e=>{this.checkNodes(!0,e.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(e=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(e=!1,t){let n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(let i=0;i<n.length;++i){let r=n[i];if(3===r.nodeType){let n;if(e&&(r.lastKey=null),j0(r.lookupKey))n=r.lookupKey;else if(this.key)n=this.key;else{let e=this.getContent(r),t=e.trim();t.length&&(r.lookupKey=t,e!==r.currentValue?(n=t,r.originalContent=e||r.originalContent):r.originalContent?n=r.originalContent.trim():e!==r.currentValue&&(n=t,r.originalContent=e||r.originalContent))}
1this.updateValue(n,r,t)}}}updateValue(e,t,n){if(e){if(t.lastKey===e&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let i=n=>{n!==e&&(t.lastKey=e),t.originalContent||(t.originalContent=this.getContent(t)),t.currentValue=j0(n)?n:t.originalContent||e,this.setContent(t,this.key?t.currentValue:t.originalContent.replace(e,t.currentValue)),this._ref.markForCheck()};if(j0(n)){let t=this.translateService.getParsedResult(n,e,this.currentParams);m0(t)?t.subscribe({next:i}):i(t)}else this.translateService.get(e,this.currentParams).subscribe(i)}}getContent(e){return j0(e.textContent)?e.textContent:e.data}setContent(e,t){j0(e.textContent)?e.textContent=t:e.data=t}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static"ɵfac"=MY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:e2,deps:[{token:Q0},{token:xC},{token:uZ}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"16.0.0",type:e2,selector:"[translate],[ngx-translate]",inputs:{translate:"translate",translateParams:"translateParams"},ngImport:e})}IY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:e2,decorators:[{type:eq,args:[{selector:"[translate],[ngx-translate]"}]}],ctorParameters:function(){return[{type:Q0},{type:xC},{type:uZ}]},propDecorators:{translate:[{type:iq}],translateParams:[{type:iq}]}});class t2{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,t){this.translate=e,this._ref=t}updateValue(e,t,n){let i=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let r=this.translate.getParsedResult(n,e,t);m0(r.subscribe)?r.subscribe(i):i(r)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if($0(e,this.lastKey)&&$0(t,this.lastParams))return this.value;let n;if(j0(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(e){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static"ɵfac"=MY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:t2,deps:[{token:Q0},{token:uZ}],target:hG.Pipe});static"ɵpipe"=RY({minVersion:"14.0.0",version:"16.0.0",ngImport:e,type:t2,name:"translate",pure:!1});static"ɵprov"=PY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:t2})}IY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:t2,decorators:[{type:bC},{type:nq,args:[{name:"translate",pure:!1}]}],ctorParameters:function(){return[{type:Q0},{type:uZ}]}});class n2{static forRoot(e={}){return{ngModule:n2,providers:[e.loader||{provide:R0,useClass:B0},e.compiler||{provide:W0,useClass:G0},e.parser||{provide:U0,useClass:q0},e.missingTranslationHandler||{provide:F0,useClass:V0},Z0,{provide:Y0,useValue:e.isolate},{provide:K0,useValue:e.useDefaultLang},{provide:X0,useValue:e.extend},{provide:J0,useValue:e.defaultLanguage},Q0]}}static forChild(e={}){return{ngModule:n2,providers:[e.loader||{provide:R0,useClass:B0},e.compiler||{provide:W0,useClass:G0},e.parser||{provide:U0,useClass:q0},e.missingTranslationHandler||{provide:F0,useClass:V0},{provide:Y0,useValue:e.isolate},{provide:K0,useValue:e.useDefaultLang},{provide:X0,useValue:e.extend},{provide:J0,useValue:e.defaultLanguage},Q0]}}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:n2,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"16.0.0",ngImport:e,type:n2,declarations:[t2,e2],exports:[t2,e2]});static"ɵinj"=LY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:n2})}IY({minVersion:"12.0.0",version:"16.0.0",ngImport:e,type:n2,decorators:[{type:aq,args:[{declarations:[t2,e2],exports:[t2,e2]}]}]});class i2{http;prefix;suffix;constructor(e,t="/assets/i18n/",n=".json"){this.http=e,this.prefix=t,this.suffix=n}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}}const r2=void 0;var s2=["de",[["AM","PM"]],r2,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."]],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",r2,"{1} 'um' {0}",r2],[",",".",";","%","+","-","E","·","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","Euro",{ATS:["öS"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[r2,"р."],CUC:[r2,"Cub$"],DEM:["DM"],FKP:[r2,"Fl£"],GHS:[r2,"₵"],GNF:[r2,"F.G."],KMF:[r2,"FC"],PHP:[r2,"₱"],RON:[r2,"L"],RUR:[r2,"р."],RWF:[r2,"F.Rw"],SYP:[],THB:["฿"],TWD:["NT$"],XXX:[],ZMW:[r2,"K"]},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],o2=function(){function e(){this.scripts={},console.log("DynamicScriptLoaderService Init")}return e.prototype.loadScriptByUrl=function(e){if(console.log("loadScriptByUrl "+e),this.scripts[e]||(this.scripts[e]={loaded:!1}),this.scripts[e].loaded)console.log("loadScript, skipping "+e);else{this.scripts[e].loaded=!0;var t=document.createElement("script");t.src=e,t.type="text/javascript",t.defer=!0,t.charset="utf-8",document.getElementsByTagName("head")[0].appendChild(t),console.log("loadScript, appended "+e)}},e.ɵfac=function(t){return new(t||e)},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}();class a2{_doc;_dom;constructor(e){this._doc=e,this._dom=KY()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){if(!e)return null;const t=this._doc.querySelector(`meta[${e}]`);return"meta"===t?.nodeName.toLowerCase()?t:null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t).filter(e=>"meta"===e.nodeName.toLowerCase()):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter(t=>this._containsAttributes(e,t))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(n),e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}=${this._escapeSelectorValue(String(e[t]))}`}_escapeSelectorValue(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return l2[e]||e}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:a2,deps:[{token:Q_}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:a2,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:a2,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[Q_]}]}]});const l2={httpEquiv:"http-equiv"};class c2{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:c2,deps:[{token:Q_}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:c2,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:c2,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[Q_]}]}]});const u2={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},d2=new $v("undefined"==typeof ngDevMode||ngDevMode?"HammerGestureConfig":""),h2=new $v("undefined"==typeof ngDevMode||ngDevMode?"HammerLoa
1der":"");class p2{events=[];overrides={};options;buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:p2,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:p2})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:p2,decorators:[{type:bC}]});class f2 extends BX{_config;_injector;loader;_loaderPromise=null;constructor(e,t,n,i){super(e),this._config=t,this._injector=n,this.loader=i}supports(e){return!(!u2.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&(!(!window.Hammer&&!this.loader)||(("undefined"==typeof ngDevMode||ngDevMode)&&this._injector.get(dB).warn(`The "${e}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),!1))}addEventListener(e,t,n){const i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||i.runOutsideAngular(()=>this.loader());let r=!1,s=()=>{r=!0};return i.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?r||(s=this.addEventListener(e,t,n)):(("undefined"==typeof ngDevMode||ngDevMode)&&this._injector.get(dB).warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),s=()=>{})}).catch(()=>{("undefined"==typeof ngDevMode||ngDevMode)&&this._injector.get(dB).warn(`The "${t}" event cannot be bound because the custom Hammer.JS loader failed.`),s=()=>{}})),()=>{s()}}return i.runOutsideAngular(()=>{const r=this._config.buildHammer(e),s=function(e){i.runGuarded(function(){n(e)})};return r.on(t,s),()=>{r.off(t,s),"function"==typeof r.destroy&&r.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:f2,deps:[{token:Q_},{token:d2},{token:X_},{token:h2,optional:!0}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:f2})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:f2,decorators:[{type:bC}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[Q_]}]},{type:p2,decorators:[{type:Hx,args:[d2]}]},{type:X_},{type:void 0,decorators:[{type:zx},{type:Hx,args:[h2]}]}]});class m2{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:m2,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:m2});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:m2,providers:[{provide:VX,useClass:f2,multi:!0,deps:[Q_,d2,X_,[new zx,h2]]},{provide:d2,useClass:p2}]})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:m2,decorators:[{type:aq,args:[{providers:[{provide:VX,useClass:f2,multi:!0,deps:[Q_,d2,X_,[new zx,h2]]},{provide:d2,useClass:p2}]}]}]});class g2{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:g2,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:g2,providedIn:"root",useExisting:uv(()=>v2)})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:g2,decorators:[{type:bC,args:[{providedIn:"root",useExisting:uv(()=>v2)}]}]});class v2 extends g2{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case bw.NONE:return t;case bw.HTML:return ZE(t,"HTML")?GE(t):AI(this._doc,String(t)).toString();case bw.STYLE:return ZE(t,"Style")?GE(t):t;case bw.SCRIPT:if(ZE(t,"Script"))return GE(t);throw new ev(5200,("undefined"==typeof ngDevMode||ngDevMode)&&"unsafe value used in a script context");case bw.URL:return ZE(t,"URL")?GE(t):sI(String(t));case bw.RESOURCE_URL:if(ZE(t,"ResourceURL"))return GE(t);throw new ev(5201,("undefined"==typeof ngDevMode||ngDevMode)&&`unsafe value used in a resource URL context (see ${Qg})`);default:throw new ev(5202,("undefined"==typeof ngDevMode||ngDevMode)&&`Unexpected SecurityContext ${e} (see ${Qg})`)}}bypassSecurityTrustHtml(e){return KE(e)}bypassSecurityTrustStyle(e){return JE(e)}bypassSecurityTrustScript(e){return XE(e)}bypassSecurityTrustUrl(e){return QE(e)}bypassSecurityTrustResourceUrl(e){return eI(e)}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:v2,deps:[{token:Q_}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:v2,providedIn:"root"})}var y2;IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:v2,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:Hx,args:[Q_]}]}]}),function(e){e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay",e[e.IncrementalHydration=4]="IncrementalHydration"}(y2||(y2={}));var b2=function(){function e(e,t,n){this.dynamicScriptLoader=e,this.renderer=t,this.sanitizer=n,console.log("TeletraderPageComponent")}return Object.defineProperty(e.prototype,"gamedepotpage",{get:function(){return this._gamedepotpage},set:function(e){this._gamedepotpage=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"siteid",{get:function(){return this._siteid},set:function(e){this._siteid=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loginpage",{get:function(){return this._loginpage},set:function(e){this._loginpage=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rankingpage",{get:function(){return this._rankingpage},set:function(e){this._rankingpage=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"usersettingspage",{get:function(){return this._usersettingspage},set:function(e){this._usersettingspage=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"externalcomponent",{get:function(){return this._externalComponent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"initroute",{get:function(){return this._initroute},set:function(e){this._initroute=e},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=window.rwmConfig.teletraderScriptPath;console.log("TeletraderPageComponent ngOnInit "+this._siteid+", "+this._initroute),this.dynamicScriptLoader.loadScriptByUrl(e);var t=null!=this._initroute?' init-route="'+this._initroute+'"':"",n=null!=this._loginpage?' loginpage="'+this._loginpage+'"':"",i=null!=this._rankingpage?' rankingpage="'+this._rankingpage+'"':"",r=null!=this._usersettingspage?' usersettingspage="'+this._usersettingspage+'"':"",s=null!=this._gamedepotpage?' gamedepotpage="'+this._gamedepotpage+'"':"";this._externalComponent=this.sanitizer.bypassSecurityTrustHtml('<teletrader-overview lang="de" siteId="'+this._siteid+'"'+t+n+i+r+s+'"> <div class="load-trigger-container"></div></teletrader-overview>')},e.ɵfac=function(t){return new(t||e)(qP(o2),qP(OP),qP(g2))},e.ɵcmp=DN({type:e,selectors:[["tt-integration-page"]],inputs:{gamedepotpage:"gamedepotpage",siteid:"siteid",loginpage:"loginpage",rankingpage:"rankingpage",usersettingspage:"usersettingspage",initroute:"initroute"},standalone:!1,features:[Lz([])],decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(e,t){1&e&&o$(0,"div",0),2&e&&n$("innerHTML",t.externalcomponent,WI)},encapsulation:2}),e}();const w2={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let _2;function x2(e,t,n){let i=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){if(!_2){const e=Element.prototype;_2=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&_2.call(e,t)}(e,t)||(i=n,0))),i}class k2{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(DP).resolveComponentFactory(e);for(const e of this.componentFactory.inputs)this.inputMap.set(e.propName,e.templateName)}create(e){return new C2(this.componentFactory,e,this.inputMap)}}class C2{componentFactory;injector;inputMap;eventEmitters=new O0(1);events=this.eventEmitters.pipe($Q(e=>function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=UQ(e),i=function(e){return"number"==typeof HQ(e)?e.pop():1/0}(e),r=e;return r.length?1===r.length?PQ(r[0]):T0(i)(ZQ(r,n)):A0}(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,n){this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(dD),this.appRef=this.injector.get(hF),this.cdScheduler
vendor: 4,195 bytes, line 1
1=t.get(gx),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=w2.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),QM(this.componentRef.hostView)&&(eO(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(e,t)}initializeComponent(e){const t=X_.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,i=t.map(()=>[]);let r=-1;t.some((e,t)=>"*"===e&&(r=t,!0));for(let e=0,s=n.length;e<s;++e){const s=n[e],o=x2(s,t,r);-1!==o&&i[o].push(s)}return i}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>{const i=e.instance[t];return new jg.c(e=>{const t=i.subscribe(t=>e.next({name:n,value:t}));return()=>t.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class S2 extends HTMLElement{ngElementEventsSubscription=null}function T2(e,t){const n=function(e,t){return t.get(DP).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new k2(e,t.injector),r=function(e){const t={};return e.forEach(({propName:e,templateName:n,transform:i})=>{t[function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(n)]=[e,i]}),t}(n);class s extends S2{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:t,transform:n})=>{if(!this.hasOwnProperty(t))return;const i=this[t];delete this[t],e.setInputValue(t,i,n)})}return this._ngElementStrategy}_ngElementStrategy;constructor(e){super(),this.injector=e}attributeChangedCallback(e,t,n,i){const[s,o]=r[e];this.ngElementStrategy.setInputValue(s,n,o)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=new CustomEvent(e.name,{detail:e.value});this.dispatchEvent(t)})}}return n.forEach(({propName:e,transform:t})=>{Object.defineProperty(s.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(n){this.ngElementStrategy.setInputValue(e,n,t)},configurable:!0,enumerable:!0})}),s}var E2=function(){function e(e,t,n){this.dynamicScriptLoader=e,this.renderer=t,this.sanitizer=n,console.log("TeletraderFragmentComponent")}return Object.defineProperty(e.prototype,"detailpage",{get:function(){return this._detailpage},set:function(e){this._detailpage=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"siteid",{get:function(){return this._siteid},set:function(e){this._siteid=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"externalcomponent",{get:function(){return this._externalComponent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fragment",{get:function(){return this._fragment},set:function(e){this._fragment=e}
1,enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=window.rwmConfig.teletraderScriptPath;console.log("TeletraderFragmentComponent ngOnInit "+this._siteid+", "+this._fragment+", "+this._detailpage),this.dynamicScriptLoader.loadScriptByUrl(e);var t='<teletrader-overview lang="de" siteId="'+this._siteid+'" detailpage="'+this._detailpage+'"><'+this._fragment+"></"+this._fragment+"></div></teletrader-overview>";this._externalComponent=this.sanitizer.bypassSecurityTrustHtml(t)},e.ɵfac=function(t){return new(t||e)(qP(o2),qP(OP),qP(g2))},e.ɵcmp=DN({type:e,selectors:[["tt-integration-fragment"]],inputs:{detailpage:"detailpage",siteid:"siteid",fragment:"fragment"},standalone:!1,features:[Lz([])],decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(e,t){1&e&&o$(0,"div",0),2&e&&n$("innerHTML",t.externalcomponent,WI)},encapsulation:2}),e}(),I2=function(){function e(e){this.injector=e,console.log("ttIntegrationModule");var t=T2(b2,{injector:e});customElements.define("tt-integration-page",t);var n=T2(E2,{injector:e});customElements.define("tt-integration-fragment",n)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q]}),e}(),A2=function(){function e(e,t,n){this.dynamicScriptLoader=e,this.renderer=t,this.sanitizer=n,console.log("KeplerPageComponent")}return Object.defineProperty(e.prototype,"externalcomponent",{get:function(){return this._externalComponent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"route",{set:function(e){this._route=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostpath",{set:function(e){this._hostpath=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parameter",{set:function(e){this._parameter=e},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=this._hostpath+"/webcomponent.js";console.log("KeplerPageComponent ngOnInit "+this._route+", "+this._parameter),this.dynamicScriptLoader.loadScriptByUrl(e),this._externalComponent=this.sanitizer.bypassSecurityTrustHtml("<kepler-page route='"+this._route+"' parameter='"+this._parameter+"'></kepler-page>")},e.ɵfac=function(t){return new(t||e)(qP(o2),qP(OP),qP(g2))},e.ɵcmp=DN({type:e,selectors:[["kepler-integration-page"]],inputs:{route:"route",hostpath:"hostpath",parameter:"parameter"},standalone:!1,features:[Lz([])],decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(e,t){1&e&&o$(0,"div",0),2&e&&n$("innerHTML",t.externalcomponent,WI)},encapsulation:2}),e}(),D2=function(){function e(e){this.injector=e,console.log("KeplerIntegrationModule");var t=T2(A2,{injector:e});customElements.define("kepler-integration-page",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q]}),e}();class M2{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:M2,deps:[{token:OP},{token:xC}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:M2,isStandalone:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:M2,decorators:[{type:eq}],ctorParameters:()=>[{type:OP},{type:xC}]});class O2 extends M2{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:O2,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:O2,isStandalone:!0,usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:O2,decorators:[{type:eq}]});const P2=new $v(ngDevMode?"NgValueAccessor":""),L2={provide:P2,useExisting:uv(()=>N2),multi:!0};class N2 extends O2{writeValue(e){this.setProperty("checked",e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:N2,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:N2,isStandalone:!1,selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{listeners:{change:"onChange($any($event.target).checked)",blur:"onTouched()"}},providers:[L2],usesInheritance:!0,ngImport:e})}
1IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:N2,decorators:[{type:eq,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($any($event.target).checked)","(blur)":"onTouched()"},providers:[L2],standalone:!1}]}]});const R2={provide:P2,useExisting:uv(()=>F2),multi:!0},B2=new $v(ngDevMode?"CompositionEventMode":"");class F2 extends M2{_compositionMode;_composing=!1;constructor(e,t,n){super(e,t),this._compositionMode=n,null==this._compositionMode&&(this._compositionMode=!function(){const e=KY()?KY().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){const t=null==e?"":e;this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:F2,deps:[{token:OP},{token:xC},{token:B2,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:F2,isStandalone:!1,selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{listeners:{input:"_handleInput($any($event.target).value)",blur:"onTouched()",compositionstart:"_compositionStart()",compositionend:"_compositionEnd($any($event.target).value)"}},providers:[R2],usesInheritance:!0,ngImport:e})}function V2(e){return null==e||0===$2(e)}function $2(e){return null==e?null:Array.isArray(e)||"string"==typeof e?e.length:e instanceof Set?e.size:null}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:F2,decorators:[{type:eq,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"_handleInput($any($event.target).value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($any($event.target).value)"},providers:[R2],standalone:!1}]}],ctorParameters:()=>[{type:OP},{type:xC},{type:void 0,decorators:[{type:zx},{type:Hx,args:[B2]}]}]});const j2=new $v(ngDevMode?"NgValidators":""),H2=new $v(ngDevMode?"NgAsyncValidators":""),z2=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class U2{static min(e){return q2(e)}static max(e){return W2(e)}static required(e){return G2(e)}static requiredTrue(e){return Z2(e)}static email(e){return Y2(e)}static minLength(e){return K2(e)}static maxLength(e){return J2(e)}static pattern(e){return X2(e)}static nullValidator(e){return null}static compose(e){return s3(e)}static composeAsync(e){return a3(e)}}function q2(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function W2(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function G2(e){return V2(e.value)?{required:!0}:null}function Z2(e){return!0===e.value?null:{required:!0}}function Y2(e){return V2(e.value)||z2.test(e.value)?null:{email:!0}}function K2(e){return t=>{const n=t.value?.length??$2(t.value);return null===n||0===n?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function J2(e){return t=>{const n=t.value?.length??$2(t.value);return null!==n&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function X2(e){if(!e)return Q2;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(V2(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function Q2(e){return null}function e3(e){return null!=e}function t3(e){const t=tF(e)?ZQ(e):e;if(("undefined"==typeof ngDevMode||ngDevMode)&&!nF(t)){let t="Expected async validator to return Promise or Observable.";throw"object"==typeof e&&(t+=" Are you using a synchronous validator where an async validator is expected?"),new ev(-1101,t)}return t}function n3(e){let t={};
vendor: 4,150 bytes, line 1
1return e.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function i3(e,t){return t.map(t=>t(e))}function r3(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function s3(e){if(!e)return null;const t=e.filter(e3);return 0==t.length?null:function(e){return n3(i3(e,t))}}function o3(e){return null!=e?s3(r3(e)):null}function a3(e){if(!e)return null;const t=e.filter(e3);return 0==t.length?null:function(e){return C0(i3(e,t).map(t3)).pipe(Ox(n3))}}function l3(e){return null!=e?a3(r3(e)):null}function c3(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function u3(e){return e._rawValidators}function d3(e){return e._rawAsyncValidators}function h3(e){return e?Array.isArray(e)?e:[e]:[]}function p3(e,t){return Array.isArray(e)?e.includes(t):e===t}function f3(e,t){const n=h3(t);return h3(e).forEach(e=>{p3(n,e)||n.push(e)}),n}function m3(e,t){return h3(t).filter(t=>!p3(e,t))}class g3{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=o3(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=l3(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class v3 extends g3{name;get formDirective(){return null}get path(){return null}}class y3 extends g3{_parent=null;name=null;valueAccessor=null}class b3{_cd;constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}const w3={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},_3={...w3,"[class.ng-submitted]":"isSubmitted"};class x3 extends b3{constructor(e){super(e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:x3,deps:[{token:y3,self:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:x3,isStandalone:!1,selector:"[formControlName],[ngModel],[formControl]",host:{properties:{"class.ng-untouched":"isUntouched","class.ng-touched":"isTouched","class.ng-pristine":"isPristine","class.ng-dirty":"isDirty","class.ng-valid":"isValid","class.ng-invalid":"isInvalid","class.ng-pending":"isPending"}},usesInheritance:!0,ngImport:e})}
1IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:x3,decorators:[{type:eq,args:[{selector:"[formControlName],[ngModel],[formControl]",host:w3,standalone:!1}]}],ctorParameters:()=>[{type:y3,decorators:[{type:Ux}]}]});class k3 extends b3{constructor(e){super(e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:k3,deps:[{token:v3,optional:!0,self:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:k3,isStandalone:!1,selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:{properties:{"class.ng-untouched":"isUntouched","class.ng-touched":"isTouched","class.ng-pristine":"isPristine","class.ng-dirty":"isDirty","class.ng-valid":"isValid","class.ng-invalid":"isInvalid","class.ng-pending":"isPending","class.ng-submitted":"isSubmitted"}},usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:k3,decorators:[{type:eq,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:_3,standalone:!1}]}],ctorParameters:()=>[{type:v3,decorators:[{type:zx},{type:Ux}]}]});const C3='\n  <div [formGroup]="myGroup">\n    <input formControlName="firstName">\n  </div>\n\n  In your class:\n\n  this.myGroup = new FormGroup({\n      firstName: new FormControl()\n  });',S3='\n  <div [formGroup]="myGroup">\n      <div formGroupName="person">\n        <input formControlName="firstName">\n      </div>\n  </div>\n\n  In your class:\n\n  this.myGroup = new FormGroup({\n      person: new FormGroup({ firstName: new FormControl() })\n  });',T3='\n  <form>\n      <div ngModelGroup="person">\n        <input [(ngModel)]="person.name" name="firstName">\n      </div>\n  </form>',E3="\n  It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n  when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n  you. We recommend using this approach to avoid 'changed after checked' errors.\n\n  Example:\n  // Specify the `disabled` property at control creation time:\n  form = new FormGroup({\n    first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n    last: new FormControl('Drew', Validators.required)\n  });\n\n  // Controls can also be enabled/disabled after creation:\n  form.get('first')?.enable();\n  form.get('last')?.disable();\n";function I3(e,t){return e?`with name: '${t}'`:`at index: ${t}`}const A3="VALID",D3="INVALID",M3="PENDING",O3="DISABLED";class P3{}class L3 extends P3{value;source;constructor(e,t){super(),this.value=e,this.source=t}}class N3 extends P3{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}}class R3 extends P3{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}}class B3 extends P3{status;source;constructor(e,t){super(),this.status=e,this.source=t}}class F3 extends P3{source;constructor(e){super(),this.source=e}}class V3 extends P3{source;constructor(e){super(),this.source=e}}function $3(e){return(H3(e)?e.validators:e)||null}function j3(e,t){return("undefined"==typeof ngDevMode||ngDevMode)&&H3(t)&&e&&console.warn("\n  It looks like you're constructing using a FormControl with both an options argument and an\n  async validators argument. Mixing these arguments will cause your async validators to be dropped.\n  You should either put all your validators in the options object, or in separate validators\n  arguments. For example:\n\n  // Using validators arguments\n  fc = new FormControl(42, Validators.required, myAsyncValidator);\n\n  // Using AbstractControlOptions\n  fc = new FormControl(42, {validators: Validators.required, asyncValidators: myAV});\n\n  // Do NOT mix them: async validators will be dropped!\n  fc = new FormControl(42, {validators: Validators.required}, /* Oops! */ myAsyncValidator);\n"),(H3(t)?t.asyncValidators:e)||null}function H3(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function z3(e,t,n){const i=e.controls;if(!(t?Object.keys(i):i).length)throw new ev(1e3,"undefined"==typeof ngDevMode||ngDevMode?`\n    There are no form controls registered with this ${t?"group":"array"} yet. If you're using ngModel,\n    you may want to check next tick (e.g. use setTimeout).\n  `:"");if(!i[n])throw new ev(1001,"undefined"==typeof ngDevMode||ngDevMode?function(e,t){return`Cannot find form control ${I3(e,t)}`}(t,n):"")}function U3(e,t,n){e._forEachChild((e,i)=>{if(void 0===n[i])throw new ev(1002,"undefined"==typeof ngDevMode||ngDevMode?function(e,t){return`Must supply a value for form control ${I3(e,t)}`}(t,i):"")})}
1class q3{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Uq(this.statusReactive)}set status(e){Uq(()=>this.statusReactive.set(e))}_status=qq(()=>this.statusReactive(),...ngDevMode?[{debugName:"_status"}]:[]);statusReactive=ux(void 0,...ngDevMode?[{debugName:"statusReactive"}]:[]);get valid(){return this.status===A3}get invalid(){return this.status===D3}get pending(){return this.status==M3}get disabled(){return this.status===O3}get enabled(){return this.status!==O3}errors;get pristine(){return Uq(this.pristineReactive)}set pristine(e){Uq(()=>this.pristineReactive.set(e))}_pristine=qq(()=>this.pristineReactive(),...ngDevMode?[{debugName:"_pristine"}]:[]);pristineReactive=ux(!0,...ngDevMode?[{debugName:"pristineReactive"}]:[]);get dirty(){return!this.pristine}get touched(){return Uq(this.touchedReactive)}set touched(e){Uq(()=>this.touchedReactive.set(e))}_touched=qq(()=>this.touchedReactive(),...ngDevMode?[{debugName:"_touched"}]:[]);touchedReactive=ux(!1,...ngDevMode?[{debugName:"touchedReactive"}]:[]);get untouched(){return!this.touched}_events=new Gg;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(f3(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(f3(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(m3(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(m3(e,this._rawAsyncValidators))}hasValidator(e){return p3(this._rawValidators,e)}hasAsyncValidator(e){return p3(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){const t=!1===this.touched;this.touched=!0;const n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched({...e,sourceControl:n}),t&&!1!==e.emitEvent&&this._events.next(new R3(!0,n))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const n=e.sourceControl??this;this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),t&&!1!==e.emitEvent&&this._events.next(new R3(!1,n))}
1markAsDirty(e={}){const t=!0===this.pristine;this.pristine=!1;const n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty({...e,sourceControl:n}),t&&!1!==e.emitEvent&&this._events.next(new N3(!1,n))}markAsPristine(e={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const n=e.sourceControl??this;this._forEachChild(t=>{t.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),t&&!1!==e.emitEvent&&this._events.next(new N3(!0,n))}markAsPending(e={}){this.status=M3;const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new B3(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending({...e,sourceControl:t})}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=O3,this.errors=null,this._forEachChild(t=>{t.disable({...e,onlySelf:!0})}),this._updateValue();const n=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new L3(this.value,n)),this._events.next(new B3(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=A3,this._forEachChild(t=>{t.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==A3&&this.status!==M3||this._runAsyncValidator(t,e.emitEvent)}const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new L3(this.value,t)),this._events.next(new B3(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity({...e,sourceControl:t})}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?O3:A3}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=M3,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t,shouldHaveEmitted:!1!==e};const n=t3(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(e){let t=e;return null==t?null:(Array.isArray(t)||(t=t.split(".")),0===t.length?null:t.reduce((e,t)=>e&&e._find(t),this))}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new B3(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,n)}_initObservables(){this.valueChanges=new rD,this.statusChanges=new rD}_calculateStatus(){return this._allControlsDisabled()?O3:this.errors?D3:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(M3)?M3:this._anyControlsHaveStatus(D3)?D3:A3}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}
1_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){const n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),i&&this._events.next(new N3(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new R3(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){H3(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){var t;this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=(t=this._rawValidators,Array.isArray(t)?o3(t):t||null)}_assignAsyncValidators(e){var t;this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=(t=this._rawAsyncValidators,Array.isArray(t)?l3(t):t||null)}}class W3 extends q3{constructor(e,t,n){super($3(t),j3(n,t)),("undefined"==typeof ngDevMode||ngDevMode)&&function(e){const t=Object.keys(e).filter(e=>e.includes("."));t.length>0&&console.warn(`FormGroup keys cannot include \`.\`, please replace the keys for: ${t.join(",")}.`)}(e),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){U3(this,!0,e),Object.keys(e).forEach(n=>{z3(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{const i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),!1!==t?.emitEvent&&this._events.next(new V3(this))}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[t,n]of Object.entries(this.controls))if(this.contains(t)&&e(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}class G3 extends W3{}const Z3=new $v("undefined"==typeof ngDevMode||ngDevMode?"CallSetDisabledState":"",{providedIn:"root",factory:()=>Y3}),Y3="always";function K3(e,t){return[...t.path,e]}function J3(e,t,n=Y3){("undefined"==typeof ngDevMode||ngDevMode)&&(e||r4(t,"Cannot find control with"),t.valueAccessor||function(e){const t=s4(e);throw new ev(-1203,`No value accessor for form control ${t}.`)}(t)),e4(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&n4(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&n4(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function X3(e,t,n=!0){const i=()=>{n&&("undefined"==typeof ngDevMode||ngDevMode)&&function(e){r4(e,"There is no FormControl instance attached to form control element with")}(t)};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),t4(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}
1function Q3(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function e4(e,t){const n=u3(e);null!==t.validator?e.setValidators(c3(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=d3(e);null!==t.asyncValidator?e.setAsyncValidators(c3(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Q3(t._rawValidators,r),Q3(t._rawAsyncValidators,r)}function t4(e,t){let n=!1;if(null!==e){if(null!==t.validator){const i=u3(e);if(Array.isArray(i)&&i.length>0){const r=i.filter(e=>e!==t.validator);r.length!==i.length&&(n=!0,e.setValidators(r))}}if(null!==t.asyncValidator){const i=d3(e);if(Array.isArray(i)&&i.length>0){const r=i.filter(e=>e!==t.asyncValidator);r.length!==i.length&&(n=!0,e.setAsyncValidators(r))}}}const i=()=>{};return Q3(t._rawValidators,i),Q3(t._rawAsyncValidators,i),n}function n4(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function i4(e,t){null!=e||"undefined"!=typeof ngDevMode&&!ngDevMode||r4(t,"Cannot find control with"),e4(e,t)}function r4(e,t){const n=s4(e);throw new Error(`${t} ${n}`)}function s4(e){const t=e.path;return t&&t.length>1?`path: '${t.join(" -> ")}'`:t?.[0]?`name: '${t}'`:"unspecified name attribute"}function o4(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function a4(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function l4(e,t){if(!t)return null;let n,i,r;return Array.isArray(t)||"undefined"!=typeof ngDevMode&&!ngDevMode||function(e){const t=s4(e);throw new ev(1200,`Value accessor was not provided as an array for form control with ${t}. Check that the \`NG_VALUE_ACCESSOR\` token is configured as a \`multi: true\` provider.`)}(e),t.forEach(t=>{var s;t.constructor===F2?n=t:(s=t,Object.getPrototypeOf(s.constructor)===O2?(i&&("undefined"==typeof ngDevMode||ngDevMode)&&r4(e,"More than one built-in value accessor matches form control with"),i=t):(r&&("undefined"==typeof ngDevMode||ngDevMode)&&r4(e,"More than one custom value accessor matches form control with"),r=t))}),r||i||n||(("undefined"==typeof ngDevMode||ngDevMode)&&r4(e,"No valid value accessor for form control with"),null)}function c4(e,t,n,i){var r;"never"!==i&&((null!==i&&"once"!==i||t._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(console.warn(`\n  It looks like you're using ngModel on the same form field as ${r=e}.\n  Support for using the ngModel input property and ngModelChange event with\n  reactive form directives has been deprecated in Angular v6 and will be removed\n  in a future version of Angular.\n\n  For more information on this, see our API docs here:\n  https://angular.io/api/forms/${"formControl"
1===r?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n  `),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}const u4={provide:v3,useExisting:uv(()=>h4)},d4=Promise.resolve();class h4 extends v3{callSetDisabledState;get submitted(){return Uq(this.submittedReactive)}_submitted=qq(()=>this.submittedReactive(),...ngDevMode?[{debugName:"_submitted"}]:[]);submittedReactive=ux(!1,...ngDevMode?[{debugName:"submittedReactive"}]:[]);_directives=new Set;form;ngSubmit=new rD;options;constructor(e,t,n){super(),this.callSetDisabledState=n,this.form=new W3({},o3(e),l3(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){d4.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),J3(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){d4.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){d4.then(()=>{const t=this._findContainer(e.path),n=new W3({});i4(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){d4.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){d4.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),a4(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new F3(this.control)),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:h4,deps:[{token:j2,optional:!0,self:!0},{token:H2,optional:!0,self:!0},{token:Z3,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:h4,isStandalone:!1,selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},host:{listeners:{submit:"onSubmit($event)",reset:"onReset()"}},providers:[u4],exportAs:["ngForm"],usesInheritance:!0,ngImport:e})}function p4(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function f4(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:h4,decorators:[{type:eq,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",providers:[u4],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm",standalone:!1}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[j2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[H2]}]},{type:void 0,decorators:[{type:zx},{type:Hx,args:[Z3]}]}],propDecorators:{options:[{type:iq,args:["ngFormOptions"]}]}});const m4=class extends q3{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,n){super($3(t),j3(n,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),H3(t)&&(t.nonNullable||t.initialValueIsDefault)&&(f4(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1,!1!==t?.emitEvent&&this._events.next(new V3(this))}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){p4(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){p4(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pe
1ndingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){f4(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};class g4 extends v3{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return K3(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:g4,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:g4,isStandalone:!1,usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:g4,decorators:[{type:eq,args:[{standalone:!1}]}]});const v4={provide:v3,useExisting:uv(()=>y4)};class y4 extends g4{name="";constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){if(!(this._parent instanceof y4)&&!(this._parent instanceof h4)&&("undefined"==typeof ngDevMode||ngDevMode))throw new ev(1353,`\n    ngModelGroup cannot be used with a parent formGroup directive.\n\n    Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n    ${S3}\n\n    Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n    ${T3}`)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:y4,deps:[{token:v3,host:!0,skipSelf:!0},{token:j2,optional:!0,self:!0},{token:H2,optional:!0,self:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:y4,isStandalone:!1,selector:"[ngModelGroup]",inputs:{name:["ngModelGroup","name"]},providers:[v4],exportAs:["ngModelGroup"],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:y4,decorators:[{type:eq,args:[{selector:"[ngModelGroup]",providers:[v4],exportAs:"ngModelGroup",standalone:!1}]}],ctorParameters:()=>[{type:v3,decorators:[{type:Wx},{type:qx}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[j2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[H2]}]}],propDecorators:{name:[{type:iq,args:["ngModelGroup"]}]}});const b4={provide:y3,useExisting:uv(()=>_4)},w4=Promise.resolve();class _4 extends y3{_changeDetectorRef;callSetDisabledState;control=new m4;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new rD;constructor(e,t,n,i,r,s){super(),this._changeDetectorRef=r,this.callSetDisabledState=s,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=l4(this,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),o4(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){J3(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){"undefined"!=typeof ngDevMode&&!ngDevMode||this._isStandalone()||function(e){if(!(e instanceof y4)&&e instanceof g4)throw new ev(1351,`\n    ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n    Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n    ${S3}\n\n    Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n    ${T3}`);if(!(e instanceof y4||e instanceof h4))throw new ev(1350,`\n    ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n    formGroup's partner directive "formControlName" instead.  Example:\n\n    ${C3}\n\n    Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n    Example:\n\n    \n  <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n      <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n  </div>\n`)}(this._parent),this._checkName()}_checkName(){if(this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&!this.name&&("undefined"==typeof ngDevMode||ngDevMode))throw new ev(1352,'If ngModel is used within a form tag, either the name attribute must be set or the form\n    control must be defined as \'standalone\' in ngModelOptions.\n\n    Example 1: <input [(ngModel)]="person.firstName" name="first">\n    Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}_updateValue(e){w4.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=0!==t&&mY(t);w4.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?K3(e,this._parent):[e]}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_4,deps:[{token:v3,host:!0,optional:!0},{token:j2,optional:!0,self:!0},{token:H2,optional:!0,self:!0},{token:P2,optional:!0,self:!0},{token:uZ,optional:!0},{token:Z3,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:_4,isStandalone:!1,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},providers:[b4],exportAs:["ngModel"],usesInheritance:!0,usesOnChanges:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_4,decorators:[{type:eq,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[b4],exportAs:"ngModel",standalone:!1}]}],ctorParameters:()=>[{type:v3,decorators:[{type:zx},{type:Wx}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[j2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[H2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[P2]}]},{type:uZ,decorators:[{type:zx},{type:Hx,args:[uZ]}]},{type:void 0,decorators:[{type:zx},{type:Hx,args:[Z3]}]}],propDecorators:{name:[{type:iq}],isDisabled:[{type:iq,args:["disabled"]}],model:[{type:iq,args:["ngModel"]}],options:[{type:iq,args:["ngModelOptions"]}],update:[{type:rq,args:["ngModelChange"]}]}});class x4{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:x4,deps:[],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:x4,isStandalone:!1,selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{attributes:{novalidate:""}},ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:x4,decorators:[{type:eq,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""},standalone:!1}]}]});const k4={provide:P2,useExisting:uv(()=>C4),multi:!0};class C4 extends O2{writeValue(e){const t=null==e?"":e;this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:C4,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:C4,isStandalone:!1,selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{listeners:{input:"onChange($any($event.target).value)",blur:"onTouched()"}},providers:[k4],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:C4,decorators:[{type:eq,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(input)":"onChange($any($event.target).value)","(blur)":"onTouched()"},providers:[k4],standalone:!1}]}]});const S4={provide:P2,useExisting:uv(()=>E4),multi:!0};class T4{_accessors=[];add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:T4,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:T4,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:T4,decorators:[{type:bC,args:[{providedIn:"root"}]}]});class E4 extends O2{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=Dy(Z3,{optional:!0})??Y3;constructor(e,t,n,i){super(e,t),this._registry=n,this._injector=i}ngOnInit(){this._control=this._injector.get(y3),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&("undefined"==typeof ngDevMode||ngDevMode)&&function(){throw new ev(1202,'\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}(),!this.name&&this.formControlName&&(this.name=this.formControlName)}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:E4,deps:[{token:OP},{token:xC},{token:T4},{token:X_}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:E4,isStandalone:!1,selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",inputs:{name:"name",formControlName:"formControlName",value:"value"},host:{listeners:{change:"onChange()",blur:"onTouched()"}},providers:[S4],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:E4,decorators:[{type:eq,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[S4],standalone:!1}]}],ctorParameters:()=>[{type:OP},{type:xC},{type:T4},{type:X_}],propDecorators:{name:[{type:iq}],formControlName:[{type:iq}],value:[{type:iq}]}});const I4={provide:P2,useExisting:uv(()=>A4),multi:!0};class A4 extends O2{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:A4,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:A4,isStandalone:!1,selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{listeners:{change:"onChange($any($event.target).value)",input:"onChange($any($event.target).value)",blur:"onTouched()"}},providers:[I4],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:A4,decorators:[{type:eq,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($any($event.target).value)","(input)":"onChange($any($event.target).value)","(blur)":"onTouched()"},providers:[I4],standalone:!1}]}]});const D4=new $v(ngDevMode?"NgModelWithFormControlWarning":""),M4={provide:y3,useExisting:uv(()=>O4)};class O4 extends y3{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(E3)}model;update=new rD;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,n,i,r){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=l4(this,n)}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&X3(t,this,!1),J3(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}o4(e,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&c4("formControl",O4,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&X3(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:O4,deps:[{token:j2,optional:!0,self:!0},{token:H2,optional:!0,self:!0},{token:P2,optional:!0,self:!0},{token:D4,optional:!0},{token:Z3,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:O4,isStandalone:!1,selector:"[formControl]",inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},providers:[M4],exportAs:["ngForm"],usesInheritance:!0,usesOnChanges:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:O4,decorators:[{type:eq,args:[{selector:"[formControl]",providers:[M4],exportAs:"ngForm",standalone:!1}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[j2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[H2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[P2]}]},{type:void 0,decorators:[{type:zx},{type:Hx,args:[D4]}]},{type:void 0,decorators:[{type:zx},{type:Hx,args:[Z3]}]}],propDecorators:{form:[{type:iq,args:["formControl"]}],isDisabled:[{type:iq,args:["disabled"]}],model:[{type:iq,args:["ngModel"]}],update:[{type:rq,args:["ngModelChange"]}]}});const P4={provide:v3,useExisting:uv(()=>L4)};class L4 extends v3{callSetDisabledState;get submitted(){return Uq(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=qq(()=>this._submittedReactive(),...ngDevMode?[{debugName:"_submitted"}]:[]);_submittedReactive=ux(!1,...ngDevMode?[{debugName:"_submittedReactive"}]:[]);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new rD;constructor(e,t,n){super(),this.callSetDisabledState=n,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){if(("undefined"==typeof ngDevMode||ngDevMode)&&!this.form)throw new ev(1052,`formGroup expects a FormGroup instance. Please pass one in.\n\n      Example:\n\n      ${C3}`);
1e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(t4(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return J3(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){X3(e.control||null,e,!1),function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),a4(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new F3(this.control)),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0,t={}){this.form.reset(e,t),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(X3(t||null,e),n instanceof m4&&(J3(n,e,this.callSetDisabledState),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);i4(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);if(t){const n=function(e,t){return t4(e,t)}(t,e);n&&t.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){e4(this.form,this),this._oldForm&&t4(this._oldForm,this)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:L4,deps:[{token:j2,optional:!0,self:!0},{token:H2,optional:!0,self:!0},{token:Z3,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:L4,isStandalone:!1,selector:"[formGroup]",inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},host:{listeners:{submit:"onSubmit($event)",reset:"onReset()"}},providers:[P4],exportAs:["ngForm"],usesInheritance:!0,usesOnChanges:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:L4,decorators:[{type:eq,args:[{selector:"[formGroup]",providers:[P4],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm",standalone:!1}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[j2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[H2]}]},{type:void 0,decorators:[{type:zx},{type:Hx,args:[Z3]}]}],propDecorators:{form:[{type:iq,args:["formGroup"]}],ngSubmit:[{type:rq}]}});const N4={provide:v3,useExisting:uv(()=>R4)};class R4 extends g4{name=null;constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){if(V4(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode))throw new ev(1053,`formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n    directive and pass it an existing FormGroup instance (you can create one in your class).\n\n    Example:\n\n    ${S3}`)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:R4,deps:[{token:v3,host:!0,optional:!0,skipSelf:!0},{token:j2,optional:!0,self:!0},{token:H2,optional:!0,self:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:R4,isStandalone:!1,selector:"[formGroupName]",inputs:{name:["formGroupName","name"]},providers:[N4],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:R4,decorators:[{type:eq,args:[{selector:"[formGroupName]",providers:[N4],standalone:!1}]}],ctorParameters:()=>[{type:v3,decorators:[{type:zx},{type:Wx},{type:qx}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[j2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[H2]}]}],propDecorators:{name:[{type:iq,args:["formGroupName"]}]}});const B4={provide:v3,useExisting:uv(()=>F4)};class F4 extends v3{_parent;name=null;constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}ngOnInit(){if(V4(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode))throw new ev(1054,'formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\
1n\n      Example:\n\n      \n  <div [formGroup]="myGroup">\n    <div formArrayName="cities">\n      <div *ngFor="let city of cityArray.controls; index as i">\n        <input [formControlName]="i">\n      </div>\n    </div>\n  </div>\n\n  In your class:\n\n  this.cityArray = new FormArray([new FormControl(\'SF\')]);\n  this.myGroup = new FormGroup({\n    cities: this.cityArray\n  });');this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return K3(null==this.name?this.name:this.name.toString(),this._parent)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:F4,deps:[{token:v3,host:!0,optional:!0,skipSelf:!0},{token:j2,optional:!0,self:!0},{token:H2,optional:!0,self:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:F4,isStandalone:!1,selector:"[formArrayName]",inputs:{name:["formArrayName","name"]},providers:[B4],usesInheritance:!0,ngImport:e})}function V4(e){return!(e instanceof R4||e instanceof L4||e instanceof F4)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:F4,decorators:[{type:eq,args:[{selector:"[formArrayName]",providers:[B4],standalone:!1}]}],ctorParameters:()=>[{type:v3,decorators:[{type:zx},{type:Wx},{type:qx}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[j2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[H2]}]}],propDecorators:{name:[{type:iq,args:["formArrayName"]}]}});const $4={provide:y3,useExisting:uv(()=>j4)};
1class j4 extends y3{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(E3)}model;update=new rD;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,n,i,r){super(),this._ngModelWarningConfig=r,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=l4(this,i)}ngOnChanges(e){this._added||this._setUpControl(),o4(e,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&c4("formControlName",j4,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return K3(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){("undefined"==typeof ngDevMode||ngDevMode)&&function(e,t){if(!(e instanceof R4)&&e instanceof g4)throw new ev(1051,`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n      that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n      Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n      ${S3}\n\n      Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n      ${T3}`);if(!(e instanceof R4||e instanceof L4||e instanceof F4))throw new ev(1050,`formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      ${n=t,null==n||""===n?"":`Affected Form Control ${"string"==typeof n?"name":"index"}: "${n}"`}\n\n    Example:\n\n    ${C3}`);var n}(this._parent,this.name),this.control=this.formDirective.addControl(this),this._added=!0}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:j4,deps:[{token:v3,host:!0,optional:!0,skipSelf:!0},{token:j2,optional:!0,self:!0},{token:H2,optional:!0,self:!0},{token:P2,optional:!0,self:!0},{token:D4,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:j4,isStandalone:!1,selector:"[formControlName]",inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},providers:[$4],usesInheritance:!0,usesOnChanges:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:j4,decorators:[{type:eq,args:[{selector:"[formControlName]",providers:[$4],standalone:!1}]}],ctorParameters:()=>[{type:v3,decorators:[{type:zx},{type:Wx},{type:qx}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[j2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[H2]}]},{type:void 0,decorators:[{type:zx},{type:Ux},{type:Hx,args:[P2]}]},{type:void 0,decorators:[{type:zx},{type:Hx,args:[D4]}]}],propDecorators:{name:[{type:iq,args:["formControlName"]}],isDisabled:[{type:iq,args:["disabled"]}],model:[{type:iq,args:["ngModel"]}],update:[{type:rq,args:["ngModelChange"]}]}});const H4={provide:P2,useExisting:uv(()=>U4),multi:!0};function z4(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class U4 extends O2{value;_optionMap=new Map;_idCounter=0;set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new ev(1201,`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}_compareWith=Object.is;appRefInjector=Dy(hF).injector;destroyRef=Dy(ex);cdr=Dy(uZ);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,CD({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;const t=z4(this._getOptionId(e),e);this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of this._optionMap.keys())if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:U4,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:U4,isStandalone:!1,selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",inputs:{compareWith:"compareWith"},host:{listeners:{change:"onChange($any($event.target).value)",blur:"onTouched()"}},providers:[H4],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:U4,decorators:[{type:eq,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($any($event.target).value)","(blur)":"onTouched()"},providers:[H4],standalone:!1}]}],propDecorators:{compareWith:[{type:iq}]}});class q4{_element;_renderer;_select;id;constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(z4(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select&&this._select._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select._writeValueAfterRender())}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:q4,deps:[{token:xC},{token:OP},{token:U4,host:!0,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:q4,isStandalone:!1,selector:"option",inputs:{ngValue:"ngValue",value:"value"},ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:q4,decorators:[{type:eq,args:[{selector:"option",standalone:!1}]}],ctorParameters:()=>[{type:xC},{type:OP},{type:U4,decorators:[{type:zx},{type:Wx}]}],propDecorators:{ngValue:[{type:iq,args:["ngValue"]}],value:[{type:iq,args:["value"]}]}});const W4={provide:P2,useExisting:uv(()=>Z4),multi:!0};function G4(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class Z4 extends O2{value;_optionMap=new Map;_idCounter=0;set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new ev(1201,`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}_compareWith=Object.is;writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[],i=t.selectedOptions;if(void 0!==i){const e=i;for(let t=0;t<e.length;t++){const i=e[t],r=this._getOptionValue(i.value);n.push(r)}}else{const e=t.options;for(let t=0;t<e.length;t++){const i=e[t];if(i.selected){const e=this._getOptionValue(i.value);n.push(e)}}}this.value=n,e(n)}}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of this._optionMap.keys())if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Z4,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:Z4,isStandalone:!1,selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",inputs:{compareWith:"compareWith"},host:{listeners:{change:"onChange($event.target)",blur:"onTouched()"}},providers:[W4],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Z4,decorators:[{type:eq,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[W4],standalone:!1}]}],propDecorators:{compareWith:[{type:iq}]}});class Y4{_element;_renderer;_select;id;_value;constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(G4(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(G4(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Y4,deps:[{token:xC},{token:OP},{token:Z4,host:!0,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:Y4,isStandalone:!1,selector:"option",inputs:{ngValue:"ngValue",value:"value"},ngImport:e})}function K4(e){return"number"==typeof e?e:parseInt(e,10)}function J4(e){return"number"==typeof e?e:parseFloat(e)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Y4,decorators:[{type:eq,args:[{selector:"option",standalone:!1}]}],ctorParameters:()=>[{type:xC},{type:OP},{type:Z4,decorators:[{type:zx},{type:Wx}]}],propDecorators:{ngValue:[{type:iq,args:["ngValue"]}],value:[{type:iq,args:["value"]}]}});class X4{_validator=Q2;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Q2,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:X4,deps:[],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:X4,isStandalone:!0,usesOnChanges:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:X4,decorators:[{type:eq}]});const Q4={provide:j2,useExisting:uv(()=>e5),multi:!0};class e5 extends X4{max;inputName="max";normalizeInput=e=>J4(e);createValidator=e=>W2(e);static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:e5,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:e5,isStandalone:!1,selector:"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]",inputs:{max:"max"},host:{properties:{"attr.max":"_enabled ? max : null"}},providers:[Q4],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:e5,decorators:[{type:eq,args:[{selector:"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]",providers:[Q4],host:{"[attr.max]":"_enabled ? max : null"},standalone:!1}]}],propDecorators:{max:[{type:iq}]}});const t5={provide:j2,useExisting:uv(()=>n5),multi:!0};class n5 extends X4{min;inputName="min";normalizeInput=e=>J4(e);createValidator=e=>q2(e);static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:n5,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:n5,isStandalone:!1,selector:"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]",inputs:{min:"min"},host:{properties:{"attr.min":"_enabled ? min : null"}},providers:[t5],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:n5,decorators:[{type:eq,args:[{selector:"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]",providers:[t5],host:{"[attr.min]":"_enabled ? min : null"},standalone:!1}]}],propDecorators:{min:[{type:iq}]}});const i5={provide:j2,useExisting:uv(()=>s5),multi:!0},r5={provide:j2,useExisting:uv(()=>o5),multi:!0};class s5 extends X4{required;inputName="required";normalizeInput=mY;createValidator=e=>G2;enabled(e){return e}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:s5,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:s5,isStandalone:!1,selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",inputs:{required:"required"},host:{properties:{"attr.required":'_enabled ? "" : null'}},providers:[i5],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:s5,decorators:[{type:eq,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[i5],host:{"[attr.required]":'_enabled ? "" : null'},standalone:!1}]}],propDecorators:{required:[{type:iq}]}});class o5 extends s5{createValidator=e=>Z2;
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:o5,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:o5,isStandalone:!1,selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",host:{properties:{"attr.required":'_enabled ? "" : null'}},providers:[r5],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:o5,decorators:[{type:eq,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[r5],host:{"[attr.required]":'_enabled ? "" : null'},standalone:!1}]}]});const a5={provide:j2,useExisting:uv(()=>l5),multi:!0};class l5 extends X4{email;inputName="email";normalizeInput=mY;createValidator=e=>Y2;enabled(e){return e}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:l5,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:l5,isStandalone:!1,selector:"[email][formControlName],[email][formControl],[email][ngModel]",inputs:{email:"email"},providers:[a5],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:l5,decorators:[{type:eq,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[a5],standalone:!1}]}],propDecorators:{email:[{type:iq}]}});const c5={provide:j2,useExisting:uv(()=>u5),multi:!0};class u5 extends X4{minlength;inputName="minlength";normalizeInput=e=>K4(e);createValidator=e=>K2(e);static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:u5,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:u5,isStandalone:!1,selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",inputs:{minlength:"minlength"},host:{properties:{"attr.minlength":"_enabled ? minlength : null"}},providers:[c5],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:u5,decorators:[{type:eq,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[c5],host:{"[attr.minlength]":"_enabled ? minlength : null"},standalone:!1}]}],propDecorators:{minlength:[{type:iq}]}});const d5={provide:j2,useExisting:uv(()=>h5),multi:!0};class h5 extends X4{maxlength;inputName="maxlength";normalizeInput=e=>K4(e);createValidator=e=>J2(e);static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:h5,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:h5,isStandalone:!1,selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",inputs:{maxlength:"maxlength"},host:{properties:{"attr.maxlength":"_enabled ? maxlength : null"}},providers:[d5],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:h5,decorators:[{type:eq,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[d5],host:{"[attr.maxlength]":"_enabled ? maxlength : null"},standalone:!1}]}],propDecorators:{maxlength:[{type:iq}]}});const p5={provide:j2,useExisting:uv(()=>f5),multi:!0};class f5 extends X4{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>X2(e);static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:f5,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:f5,isStandalone:!1,selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",inputs:{pattern:"pattern"},host:{properties:{"attr.pattern":"_enabled ? pattern : null"}},providers:[p5],usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:f5,decorators:[{type:eq,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[p5],host:{"[attr.pattern]":"_enabled ? pattern : null"},standalone:!1}]}],propDecorators:{pattern:[{type:iq}]}});const m5=[x4,q4,Y4,F2,C4,A4,N2,U4,Z4,E4,x3,k3,s5,u5,h5,f5,o5,l5,n5,e5],g5=[_4,y4,h4],v5=[O4,L4,j4,R4,F4];
1class y5{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:y5,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:y5,declarations:[x4,q4,Y4,F2,C4,A4,N2,U4,Z4,E4,x3,k3,s5,u5,h5,f5,o5,l5,n5,e5],exports:[x4,q4,Y4,F2,C4,A4,N2,U4,Z4,E4,x3,k3,s5,u5,h5,f5,o5,l5,n5,e5]});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:y5})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:y5,decorators:[{type:aq,args:[{declarations:m5,exports:m5}]}]});class b5 extends q3{constructor(e,t,n){super($3(t),j3(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){Array.isArray(e)?e.forEach(e=>{this.controls.push(e),this._registerControl(e)}):(this.controls.push(e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){U3(this,!1,e),e.forEach((e,n)=>{z3(this,!1,n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),!1!==t?.emitEvent&&this._events.next(new V3(this))}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}}function w5(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}class _5{useNonNullable=!1;get nonNullable(){const e=new _5;return e.useNonNullable=!0,e}group(e,t=null){const n=this._reduceControls(e);let i={};return w5(t)?i=t:null!==t&&(i.validators=t.validator,i.asyncValidators=t.asyncValidator),new W3(n,i)}record(e,t=null){const n=this._reduceControls(e);return new G3(n,t)}control(e,t,n){let i={};return this.useNonNullable?(w5(t)?i=t:(i.validators=t,i.asyncValidators=n),new m4(e,{...i,nonNullable:!0})):new m4(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new b5(i,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){if(e instanceof m4)return e;if(e instanceof q3)return e;if(Array.isArray(e)){const t=e[0],n=e.length>1?e[1]:null,i=e.length>2?e[2]:null;return this.control(t,n,i)}return this.control(e)}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_5,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_5,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_5,decorators:[{type:bC,args:[{providedIn:"root"}]}]});class x5{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:x5,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:x5,providedIn:"root",useFactory:()=>Dy(_5).nonNullable})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:x5,decorators:[{type:bC,args:[{providedIn:"root",useFactory:()=>Dy(_5).nonNullable}]}]});class k5 extends _5{group(e,t=null){return super.group(e,t)}control(e,t,n){return super.control(e,t,n)}array(e,t,n){return super.array(e,t,n)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:k5,deps:null,target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:k5,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:k5,decorators:[{type:bC,args:[{providedIn:"root"}]}]});class C5{static withConfig(e){return{ngModule:C5,providers:[{provide:Z3,useValue:e.callSetDisabledState??Y3}]}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:C5,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:C5,declarations:[_4,y4,h4],exports:[y5,_4,y4,h4]});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:C5,imports:[y5]})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:C5,decorators:[{type:aq,args:[{declarations:g5,exports:[y5,g5]}]}]});class S5{static withConfig(e){return{ngModule:S5,providers:[{provide:D4,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Z3,useValue:e.callSetDisabledState??Y3}]}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:S5,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:S5,declarations:[O4,L4,j4,R4,F4],exports:[y5,O4,L4,j4,R4,F4]});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:S5,imports:[y5]})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:S5,decorators:[{type:aq,args:[{declarations:[v5],exports:[y5,v5]}]}]});var T5=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,n2]}),e}(),E5=o(6295),I5=o(4692),A5=["popoverButton"],D5=["popover"],M5=["closeButton"],O5=["*"];function P5(e,t){1&e&&o$(0,"h3",10),2&e&&n$("translate",qj(2).tooltipHeadline)}function L5(e,t){if(1&e){var n=w$();r$(0,"div",5,1),o$(2,"div",6),r$(3,"button",7,2),jj("click",function(){return a_(n),l_(qj().closePopOver())}),o$(5,"span",8)(6,"span",9),s$(),HV(7,P5,1,1,"h3",10),r$(8,"div",11),o$(9,"p",12),nU(10,"translate"),s$()()}if(2&e){var i=qj();kH(i.popoverStyles),xH("show",i.show),n$("id",i.uId),$A(2),_H("left",i.arrowStyle,"px"),$A(4),n$("translate","CLOSE"),$A(),UV(i.tooltipHeadline?7:-1),$A(),xH("overflow",i.overflow),$A(),n$("innerHTML",iU(10,12,i.tooltipContent),WI)}}var N5=function(){function e(e){this.changeRef=e,this.tooltipHeadline="",this.tooltipContent="",this.overflow=!1,this.uId="popover"+E5.A.uidGenerator(),this.show=!1,this.arrowStyle=0}return e.prototype.onKeydownHandler=function(e){this.closePopOver()},e.prototype.onFocusOut=function(e){this.popover.nativeElement.contains(e.relatedTarget)||this.closeBtn.nativeElement.focus()},e.prototype.closePopOver=function(){this.show&&this.closeElements()},e.prototype.togglePopup=function(){var e=this;this.show=!this.show,this.changeRef.detectChanges(),this.show?(this.appendTo&&(this.appendPopover=I5(this.popover.nativeElement).appendTo(this.appendTo)),this.backdrop=I5("<div>",{class:"popover-backdrop","aria-hidden":"true"}).appendTo("body"),I5(".popover-backdrop").on("click",function(){e.closeElements()}),I5(this.popover.nativeElement).on("focusout",function(t){e.onFocusOut(t)}),this.placement(),this.closeBtn.nativeElement.focus()):this.closeElements()},e.prototype.closeElements=function(){this.show=!1,this.backdrop.remove(),this.appendTo&&this.appendPopover.remove(),this.changeRef.detectChanges(),this.button.nativeElement.focus()},e.prototype.onResize=function(){this.show&&(this.appendTo?this.closeElements():this.placement())},e.prototype.placement=function(){var e={position:"absolute",transform:"translate3d( 0, 0,  0)",top:0,left:0,right:0,"will-change":"transform"};this.popoverStyles=e,this.changeRef.detectChanges();var t,n=this.button.nativeElement,i=this.popover.nativeElement?this.popover.nativeElement:this.appendPopover,r=n.offsetHeight,s=n.offsetWidth,o=0!==i.offsetWidth?i.offsetWidth:s,a=r+n.offsetTop,l=window.outerWidth;switch(!0){case void 0!==this.appendTo:var c=this.pageOffset(n);a=c.top+(r+n.offsetTop),o=o>l?l:o;var u=c.left+s/2-o/2;l<u+o?(this.arrowStyle=Math.floor(c.left)+s/2-(l-o),t=l-o):(this.arrowStyle=Math.floor(o/2),t=u),e.width=o+"px";break;case this.pageOffset(n).left+o/2>=window.innerWidth:var d=this.pageOffset(n).left+o/2-window.innerWidth;t=n.offsetLeft-o/2-d-15,this.arrowStyle=Math.floor(o/2+d+15);break;default:t=n.offsetLeft-s/2-o/2,this.arrowStyle=Math.floor(o/2+15)}this.popoverStyles=(0,$g.Cl)((0,$g.Cl)({},e),{transform:"translate3d("+t+"px, "+a+"px,  0)"}),this.changeRef.detectChanges()},e.prototype.pageOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+i,left:t.left+n}},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["tooltip"]],viewQuery:function(e,t){if(1&e&&(Kj(A5,5),Kj(D5,5),Kj(M5,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.button=n.first),Jj(n=Xj())&&(t.popover=n.first),Jj(n=Xj())&&(t.closeBtn=n.first)}},hostBindings:function(e,t){1&e&&jj("resize",function(){return t.onResize()},uA)("keydown.escape",function(e){return t.onKeydownHandler(e)},dA)},inputs:{tooltipHeadline:"tooltipHeadline",tooltipContent:"tooltipContent",overflow:"overflow",params:"params",appendTo:"appendTo"},standalone:!1,ngContentSelectors:O5,decls:4,vars:6,consts:[["popoverButton",""],["popover",""],["closeButton",""],["type","button",1,"tooltip-button",3,"click"],["role","tooltip",1,"popover","bs-popover-bottom","fade",3,"show","id","style"],["role","tooltip",1,"popover","bs-popover-bottom","fade",3,"id"],[1,"arrow"],["type","button",1,"close",3,"click"],["aria-hidden","true",1,"icon-close-small"],[1,"visually-hidden",3,"translate"],[1,"popover-header",3,"translate"],[1,"popover-body","text-start"],[3,"innerHTML"]],template:function(e,t){if(1&e){var n=w$();Gj(),r$(0,"button",3,0),jj("click",function(){return a_(n),l_(t.togglePopup())}),Zj(2),s$(),HV(3,L5,11,14,"div",4)}2&e&&(xH("popover-open",t.show),sV("aria-describedby",t.uId)("aria-haspopup","dialog")("aria-expanded",t.show),$A(3),UV(t.show?3:-1))},dependencies:[e2,t2],encapsulation:2}),e}(),R5=function(){function e(e){this.injector=e;var t=T2(N5,{injector:e});customElements.define("rwm-tooltip",t)}return e.prototype.ngDoBootstrap=function(){},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,T5]}),e}(),B5=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,C5,R5]}),e}(),F5=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,C5]}),e}(),V5=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX]}),e}(),$5=o(282),j5=o(2242);function H5(e,t,n){var i=(0,Tx.T)(e)||t||n?{next:e,error:t,complete:n}:e;return i?Ix(function(e,t){var n;null===(n=i.subscribe)||void 0===n||n.call(i);var r=!0;e.subscribe(Dx(t,function(e){var n;null===(n=i.next)||void 0===n||n.call(i,e),t.next(e)},function(){var e;r=!1,null===(e=i.complete)||void 0===e||e.call(i),t.complete()},function(e){var n;r=!1,null===(n=i.error)||void 0===n||n.call(i,e),t.error(e)},function(){var e,t;r&&(null===(e=i.unsubscribe)||void 0===e||e.call(i)),null===(t=i.finalize)||void 0===t||t.call(i)}))}):S0.D}var z5=function(){function e(){this.messages=[]}return e.prototype.add=function(e){this.messages.push(e)},e.prototype.clear=function(){this.messages=[]},e.ɵfac=function(t){return new(t||e)},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),U5=new $5.c9,q5=function(){function e(e,t){this.messageService=e,this.http=t,this.accessToken=null,this.userProfileUrl=j5.KT+j5.vZ.stockmarket.userprofile,this.userProfileSetupUrl=j5.KT+j5.vZ.stockmarket.userprofileSetup,this.userDuplicationCheckUrl=j5.KT+j5.vZ.stockmarket.userprofileDuplications}return e.prototype.setHttpOptions=function(){return{headers:new XQ({"Content-Type":"application/json",Authorization:"Bearer "+this.accessToken})}},e.prototype.getUserInfo=function(){return this.accessToken=U5.get("accessToken"),this.accessToken?this.http.get(this.userProfileUrl,this.setHttpOptions()).pipe(Ox(function(e){var t=e;return t.address=e.zipCode+" "+e.city,t.confirmPassword=e.password,t})):null},e.prototype.getProfileSetup=function(){return this.http.get(this.userProfileSetupUrl).pipe(Ox(function(e){return{schools:e.schools,banks:e.banks,salutations:e.salutations}}))},e.prototype.postUserData=function(e){var t=JSON.stringify(e);return this.http.post(this.userProfileUrl,t).pipe(H5(function(e){}))},e.prototype.putUserData=function(e){this.accessToken=U5.get("accessToken");var t=JSON.stringify(e);return this.http.put(this.userProfileUrl,t,this.setHttpOptions()).pipe(H5(function(e){}))},e.prototype.userDuplicationCheck=function(e){return console.log(e),this.http.post(this.userDuplicationCheckUrl,{username:e}).pipe(Ox(function(e){return e}))},e.ɵfac=function(t){return new(t||e)(Iy(z5),Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),W5=o(2384),G5=o(5093),Z5=o.n(G5),Y5=o(4692),K5=o.n(Y5),J5=function(){function e(){}return e.unwrapTag=function(e){K5()(e).unwrap()},e.focus=function(e){K5()(e).focus()},e.scrollTo=function(e,t,n){void 0===t&&(t=100),void 0===n&&(n="slow"),K5()("html, body").animate({scrollTop:K5()(e).offset().top-t},n)},e}(),X5=o(3293),Q5=o(4302),e8=[{title:"Oberösterreich",value:"ooe",key:"ooe"},{title:"Niederösterreich",value:"noe",key:"142"},{title:"Wien",value:"wien",key:"138"},{title:"Burgenland",value:"bgld",key:"145"},{title:"Steiermark",value:"stmk",key:"143"},{title:"Kärnten",value:"ktn",key:"144"},{title:"Salzburg",value:"ktn",key:"141"},{title:"Tirol",value:"tirol",key:"140"},{title:"Vorarlberg",value:"vbg",key:"139"},{title:"Außerhalb Österreich",value:"eu",key:"146"}],t8=[{title:"Linz",value:"129"},{title:"Wels",value:"130"},{title:"Steyr",value:"131"},{title:"Mühlviertel",value:"132"},{title:"Innviertel",value:"133"},{title:"Salzkammergut",value:"134"}],n8=["selectNgModel"];function i8(e,t){if(1&e&&o$(0,"option",5),2&e){var n=t.$implicit,i=qj();n$("innerText",n[i.selectOptions.bindLabel])("value",n[i.selectOptions.bindValue])}}var r8=function(){function e(e){var t=this;this.cd=e,this.id="select-"+E5.A.uidGenerator(),this.type="text",this.hideLabel=!1,this.placeholder=null,this.disabled=!1,this.required=!1,this.sortable=!1,this.fieldInvalid=!1,this.modelChange=new rD,this.setItems=[],this.floatLabel=!1,this.defaultOptions={clearable:!1,searchable:!1,multiple:!1,selectableGroup:!1,bindValue:!1,bindLabel:!1,closeOnSelect:!0,labelUppercase:!1},this.onChange=function(e){},this.onTouched=function(){},this.sortItems=function(){var e;if(t.items){for(var n=0;n<t.items.length;n++)t.items[n][t.selectOptions.bindLabel]||(t.items[n]=((e={})[t.selectOptions.bindLabel]=t.items[n],e[t.selectOptions.bindValue]=t.items[n],e));if(t.sortable&&t.items.length>1){var i=t.items.shift();t.items.sort(function(e,n){var i=e[t.selectOptions.bindLabel].toLowerCase(),r=n[t.selectOptions.bindLabel].toLowerCase();return i<r?-1:i>r?1:0}),t.items.unshift(i)}t.setItems=t.items}},this.floatingLabel=function(e,t){return e||t}}return e.prototype.ngOnInit=function(){var e=this;this.selectOptions=(0,$g.Cl)((0,$g.Cl)({},this.defaultOptions),this.selectOptions),this.sortItems(),window.setTimeout(function(){e.cd.detectChanges()},100)},e.prototype.ngOnChanges=function(){this.value=this.value?this.value:"",this.sortItems()},Object.defineProperty(e.prototype,"innerControl",{get:function(){var e;return null===(e=this.selectNgModel)||void 0===e?void 0:e.control}
1,enumerable:!1,configurable:!0}),e.prototype.writeValue=function(e){this.value=e,this.cd.detectChanges()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.onSelectChange=function(e){this.value=e,this.onChange(e),this.modelChange.emit(e)},e.prototype.setDisabledState=function(e){this.disabled=e,this.cd.detectChanges()},e.prototype.onBlur=function(){this.onTouched()},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-select"]],viewQuery:function(e,t){var n;(1&e&&Kj(n8,5),2&e)&&(Jj(n=Xj())&&(t.selectNgModel=n.first))},inputs:{name:"name",id:"id",type:"type",label:"label",optionAll:"optionAll",hideLabel:"hideLabel",placeholder:"placeholder",items:"items",disabled:"disabled",selectOptions:"selectOptions",required:"required",sortable:"sortable",fieldInvalid:"fieldInvalid"},outputs:{modelChange:"modelChange"},exportAs:["rwmSelect"],standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}]),ok],decls:8,vars:13,consts:[["selectNgModel","ngModel"],[1,"form-group-inner"],[3,"for"],[1,"label"],[1,"form-control",3,"ngModelChange","blur","id","name","ngModel","required","disabled"],[3,"innerText","value"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",1)(1,"label",2)(2,"span",3),VH(3),s$()(),r$(4,"select",4,0),uz("ngModelChange",function(e){return a_(n),cz(t.value,e)||(t.value=e),l_(e)}),jj("ngModelChange",function(e){return a_(n),l_(t.onSelectChange(e))})("blur",function(){return a_(n),l_(t.onBlur())}),YV(6,i8,1,2,"option",5,GV),s$()()}2&e&&($A(),xH("visually-hidden",t.hideLabel)("float-label",t.floatingLabel(t.value,t.placeholder)),n$("for",t.id),$A(2),JH(t.label),$A(),n$("id",t.id)("name",t.id),lz("ngModel",t.value),n$("required",t.required)("disabled",t.disabled),sV("aria-describedby","validation-box-"+t.id)("aria-invalid",t.fieldInvalid),$A(2),XV(t.setItems))},dependencies:[q4,Y4,U4,x3,s5,_4],encapsulation:2}),e}(),s8=["ngModel"];function o8(e,t){1&e&&(r$(0,"span"),VH(1,"(optional)"),s$())}function a8(e,t){1&e&&(r$(0,"span"),VH(1,"(optional)"),s$())}function l8(e,t){if(1&e&&(r$(0,"span",4),VH(1),HV(2,a8,2,0,"span"),s$()),2&e){var n=qj();$A(),XH("",n.shortLabel," "),$A(),UV(n.required?-1:2)}}function c8(e,t){if(1&e){var n=w$();r$(0,"input",9,0),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.value,e)||(t.value=e),l_(e)}),jj("ngModelChange",function(e){return a_(n),l_(qj().onInputChange(e))})("blur",function(e){a_(n);var t=qj();return t.checkFloatingLabel(e),l_(t.onTouched())})("focus",function(e){return a_(n),l_(qj().checkFloatingLabel(e))}),s$()}if(2&e){var i=nH(1),r=qj();xH("ng-invalid",r.invalidClass||i.invalid),n$("id",gz(r.id))("name",gz(r.name))("type",gz(r.type))("disabled",r.disabled),lz("ngModel",r.value),n$("required",r.required)("minlength",r.minlength)("pattern",r.combinedPattern),sV("placeholder",r.placeholder)("min",r.minDate)("max",r.maxDate)("aria-describedby","validation-box-"+r.id)("aria-invalid",r.fieldInvalid)}}function u8(e,t){if(1&e&&(r$(0,"div"),VH(1),s$()),2&e){var n=qj();SH("form-control disabled"),$A(),XH(" ",n.value," ")}}function d8(e,t){if(1&e&&(r$(0,"div"),VH(1),nU(2,"date"),s$()),2&e){var n=qj();SH("form-control disabled"),$A(),XH(" ",rU(2,3,n.value,"dd.MM.yyyy")," ")}}function h8(e,t){if(1&e&&(r$(0,"button",7),o$(1,"span",10),r$(2,"span",11),VH(3),s$()()),2&e){var n=qj();$A(),n$("className",n.searchButtonSymbol),$A(2),JH(n.searchButtonLabel)}}function p8(e,t){if(1&e&&(r$(0,"tooltip",8),o$(1,"span",12),r$(2,"span",11),VH(3,"Information"),s$()()),2&e){var n=qj();n$("tooltipContent",n.tooltipContent)("tooltipHeadline",n.tooltipHeadline)("overflow",!0)}}var f8=function(){function e(e){var t=this;this.changeRef=e,this.type="text",this.hideLabel=!1,this.disabled=!1,this.searchButton=!1,this.searchButtonSymbol="icon-search",this.tooltipHeadline="",this.tooltipContent="",this.modelOptions={standalone:!0},this.showDisabledFakeInput=!1,this.required=!1,this.minlength=null,this.maxlength=null,this.requiredRules=null,this.minDate=null,this.maxDate=null,this.validationPattern=null,this.modelChange=new rD,this.fieldInvalid=!1,this.invalidClass=!1,this.floatLabel=!1,this.onChange=function(){},this.onTouched=function(){},this.checkFloatingLabel=function(e){"focus"===e.type?t.floatLabel=!0:t.floatLabel=!1,t.changeRef.detectChanges()},this.floatingStyles=function(e,t){return e||t?"float-label":""}}return Object.defineProperty(e.prototype,"innerControl",{get:function(){var e;return null===(e=this.ngModel)||void 0===e?void 0:e.control}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"combinedPattern",{get:function(){if("date"!==this.type){var e="[^\\uD800-\\uDFFF]*";if(this.validationPattern){var t=this.validationPattern.replace(/^\^|\$$/g,"");return"^(?=".concat(t,")").concat(e,"$")}return"^".concat(e,"$")}},enumerable:!1,configurable:!0}),e.prototype.writeValue=function(e){this.value=e,this.changeRef.detectChanges()},e.prototype.blur=function(){this.onTouched()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.onInputChange=function(e){this.value=e,this.onChange(e),this.modelChange.emit(e)},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.validate=function(e){return this.required&&!e.value?{required:!0}:this.combinedPattern&&!new RegExp(this.combinedPattern).test(e.value)?{pattern:{requiredPattern:this.combinedPattern,actualValue:e.value}}:null},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-input"]],viewQuery:function(e,t){var n;(1&e&&Kj(s8,5),2&e)&&(Jj(n=Xj())&&(t.ngModel=n.first))},inputs:{name:"name",id:"id",type:"type",label:"label",shortLabel:"shortLabel",hideLabel:"hideLabel",disabled:"disabled",placeholder:"placeholder",searchButton:"searchButton",searchButtonSymbol:"searchButtonSymbol",searchButtonLabel:"searchButtonLabel",tooltipHeadline:"tooltipHeadline",tooltipContent:"tooltipContent",modelOptions:"modelOptions",showDisabledFakeInput:"showDisabledFakeInput",required:"required",errorMessage:"errorMessage",minlength:"minlength",maxlength:"maxlength",requiredRules:"requiredRules",minDate:"minDate",maxDate:"maxDate",validationPattern:"validationPattern",fieldInvalid:"fieldInvalid",invalidClass:"invalidClass"},outputs:{modelChange:"modelChange"},exportAs:["rwmInput"],standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0},{provide:j2,useExisting:uv(function(){return e}),multi:!0}])],decls:11,vars:16,consts:[["ngModel","ngModel"],[1,"form-group-inner"],[3,"for"],[1,"label"],["aria-hidden","true",1,"short-label"],[1,"form-control",3,"id","name","type","ng-invalid","disabled","ngModel","required","minlength","pattern"],[3,"class"],["title","Suchen","type","submit",1,"search-button"],[3,"tooltipContent","tooltipHeadline","overflow"],[1,"form-control",3,"ngModelChange","blur","focus","id","name","type","disabled","ngModel","required","minlength","pattern"],["aria-hidden","true",3,"className"],[1,"visually-hidden"],["aria-hidden","true",1,"icon-info"]],template:function(e,t){1&e&&(r$(0,"div",1)(1,"label",2)(2,"span",3),VH(3),HV(4,o8,2,0,"span"),s$(),HV(5,l8,3,2,"span",4),s$(),HV(6,c8,2,18,"input",5),HV(7,u8,2,3,"div",6),HV(8,d8,3,6,"div",6),HV(9,h8,4,2,"button",7),HV(10,p8,4,3,"tooltip",8),s$()),2&e&&($A(),SH(t.floatingStyles(t.value,t.floatLabel)),xH("pb-2",t.placeholder)("visually-hidden",t.hideLabel),n$("for",gz(t.id)),$A(2),XH("",t.label," "),$A(),UV(t.required?-1:4),$A(),UV(t.shortLabel?5:-1),$A(),UV(t.disabled?-1:6),$A(),UV(t.disabled&&"date"!==t.type?7:-1),$A(),UV(t.disabled&&"date"===t.type?8:-1),$A(),UV(t.searchButton&&t.searchButtonLabel?9:-1),$A(),UV(t.tooltipHeadline||t.tooltipContent?10:-1))},dependencies:[F2,x3,s5,u5,f5,_4,N5,xX],encapsulation:2}),e}();function m8(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=UQ(e),i=zQ(e),r=w0(e),s=r.args,o=r.keys;if(0===s.length)return ZQ([],n);var a=new jg.c(function(e,t,n){return void 0===n&&(n=S0.D),function(i){g8(t,function(){for(var r=e.length,s=new Array(r),o=r,a=r,l=function(r){g8(t,function(){var l=ZQ(e[r],t),c=!1;l.subscribe(Dx(i,function(e){s[r]=e,c||(c=!0,a--),a||i.next(n(s.slice()))},function(){--o||i.complete()}))},i)},c=0;c<r;c++)l(c)},i)}}(s,n,o?function(e){return k0(o,e)}:S0.D));return i?a.pipe(x0(i)):a}function g8(e,t,n){e?NQ(n,e,t):t()}var v8=(0,zg.L)(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}),y8=o(1485);function b8(e,t){var n=(0,Tx.T)(e)?e:function(){return e},i=function(e){return e.error(n())};return new jg.c(t?function(e){return t.schedule(i,0,e)}:i)}function w8(){return Ix(function(e,t){var n=null;e._refCount++;var i=Dx(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount)n=null;else{var i=e._connection,r=n;n=null,!i||r&&i!==r||i.unsubscribe(),t.unsubscribe()}});e.subscribe(i),i.closed||(n=e.connect())})}var _8=function(e){function t(t,n){var i=e.call(this)||this;return i.source=t,i.subjectFactory=n,i._subject=null,i._refCount=0,i._connection=null,Ex(t)&&(i.lift=t.lift),i}return(0,$g.C6)(t,e),t.prototype._subscribe=function(e){return this.get
1Subject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new Hg.yU;var n=this.getSubject();t.add(this.source.subscribe(Dx(n,void 0,function(){e._teardown(),n.complete()},function(t){e._teardown(),n.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=Hg.yU.EMPTY)}return t},t.prototype.refCount=function(){return w8()(this)},t}(jg.c);function x8(e){return Ix(function(t,n){var i=!1;t.subscribe(Dx(n,function(e){i=!0,n.next(e)},function(){i||n.next(e),n.complete()}))})}function k8(e){return void 0===e&&(e=C8),Ix(function(t,n){var i=!1;t.subscribe(Dx(n,function(e){i=!0,n.next(e)},function(){return i?n.complete():n.error(e())}))})}function C8(){return new v8}function S8(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?FQ(function(t,n){return e(t,n,i)}):S0.D,D0(1),n?x8(t):k8(function(){return new v8}))}}function T8(e){return Ix(function(t,n){var i,r=null,s=!1;r=t.subscribe(Dx(n,void 0,void 0,function(o){i=PQ(e(o,T8(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):s=!0})),s&&(r.unsubscribe(),r=null,i.subscribe(n))})}function E8(e,t){return Ix(function(e,t,n){return function(i,r){var s=n,o=t,a=0;i.subscribe(Dx(r,function(t){var n=a++;o=s?e(o,t,n):(s=!0,t),r.next(o)},undefined))}}(e,t,arguments.length>=2))}function I8(e){return e<=0?function(){return A0}:Ix(function(t,n){var i=[];t.subscribe(Dx(n,function(t){i.push(t),e<i.length&&i.shift()},function(){var e,t;try{for(var r=(0,$g.Ju)(i),s=r.next();!s.done;s=r.next()){var o=s.value;n.next(o)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}n.complete()},void 0,function(){i=null}))})}var A8=o(2357);function D8(e){return Ix(function(t,n){PQ(e).subscribe(Dx(n,function(){return n.complete()},A8.l)),!n.closed&&t.subscribe(n)})}const M8="primary",O8=Symbol("RouteTitle");class P8{params;constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function L8(e){return new P8(e)}function N8(e,t,n){const i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;const r={};for(let t=0;t<i.length;t++){const n=i[t],s=e[t];if(":"===n[0])r[n.substring(1)]=s;else if(n!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function R8(e,t){const n=e?B8(e):void 0,i=t?B8(t):void 0;if(!n||!i||n.length!=i.length)return!1;let r;for(let i=0;i<n.length;i++)if(r=n[i],!F8(e[r],t[r]))return!1;return!0}function B8(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function F8(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),i=[...t].sort();return n.every((e,t)=>i[t]===e)}return e===t}function V8(e){return e.length>0?e[e.length-1]:null}function $8(e){return m0(e)?e:tF(e)?ZQ(Promise.resolve(e)):YQ(e)}const j8={exact:function e(t,n,i){if(!K8(t.segments,n.segments))return!1;if(!W8(t.segments,n.segments,i))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r],i))return!1}return!0},subset:U8},H8={exact:function(e,t){return R8(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>F8(e[n],t[n]))},ignored:()=>!0};function z8(e,t,n){return j8[n.paths](e.root,t.root,n.matrixParams)&&H8[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function U8(e,t,n){return q8(e,t,t.segments,n)}function q8(e,t,n,i){if(e.segments.length>n.length){const r=e.segments.slice(0,n.length);return!!K8(r,n)&&!t.hasChildren()&&!!W8(r,n,i)}if(e.segments.length===n.length){if(!K8(e.segments,n))return!1;if(!W8(e.segments,n,i))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!U8(e.children[n],t.children[n],i))return!1}return!0}{const r=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!K8(e.segments,r)&&!!W8(e.segments,r,i)&&!!e.children[M8]&&q8(e.children[M8],t,s,i)}}function W8(e,t,n){return t.every((t,i)=>H8[n](e[i].parameters,t.parameters))}class G8{root;queryParams;fragment;_queryParamMap;constructor(e=new Z8([],{}),t={},n=null){if(this.root=e,this.queryParams=t,this.fragment=n,("undefined"==typeof ngDevMode||ngDevMode)&&e.segments.length>0)throw new ev(4015,"The root `UrlSegmentGroup` should not contain `segments`. Instead, these segments belong in the `children` so they can be associated with a named outlet.")}get queryParamMap(){return this._queryParamMap??=L8(this.queryParams),this._queryParamMap}toString(){return Q8.serialize(this)}}class Z8{segments;children;parent=null;constructor(e,t){this.segments=e,this.children=t,Object.values(t).forEach(e
1=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return e6(this)}}class Y8{path;parameters;_parameterMap;constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap??=L8(this.parameters),this._parameterMap}toString(){return a6(this)}}function K8(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class J8{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:J8,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:J8,providedIn:"root",useFactory:()=>new X8})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:J8,decorators:[{type:bC,args:[{providedIn:"root",useFactory:()=>new X8}]}]});class X8{parse(e){const t=new p6(e);return new G8(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${t6(e.root,!0)}`,n=function(e){const t=Object.entries(e).map(([e,t])=>Array.isArray(t)?t.map(t=>`${i6(e)}=${i6(t)}`).join("&"):`${i6(e)}=${i6(t)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}(e.queryParams);var i;return`${t}${n}${"string"==typeof e.fragment?`#${i=e.fragment,encodeURI(i)}`:""}`}}const Q8=new X8;function e6(e){return e.segments.map(e=>a6(e)).join("/")}function t6(e,t){if(!e.hasChildren())return e6(e);if(t){const t=e.children[M8]?t6(e.children[M8],!1):"",n=[];return Object.entries(e.children).forEach(([e,t])=>{e!==M8&&n.push(`${e}:${t6(t,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return Object.entries(e.children).forEach(([e,i])=>{e===M8&&(n=n.concat(t(i,e)))}),Object.entries(e.children).forEach(([e,i])=>{e!==M8&&(n=n.concat(t(i,e)))}),n}(e,(t,n)=>n===M8?[t6(e.children[M8],!1)]:[`${n}:${t6(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[M8]?`${e6(e)}/${t[0]}`:`${e6(e)}/(${t.join("//")})`}}function n6(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function i6(e){return n6(e).replace(/%3B/gi,";")}function r6(e){return n6(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function s6(e){return decodeURIComponent(e)}function o6(e){return s6(e.replace(/\+/g,"%20"))}function a6(e){return`${r6(e.path)}${function(e){return Object.entries(e).map(([e,t])=>`;${r6(e)}=${r6(t)}`).join("")}(e.parameters)}`}const l6=/^[^\/()?;#]+/;function c6(e){const t=e.match(l6);return t?t[0]:""}const u6=/^[^\/()?;=#]+/,d6=/^[^=?&#]+/,h6=/^[^&#]+/;class p6{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Z8([],{}):new Z8([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[M8]=new Z8(e,t)),n}parseSegment(){const e=c6(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new ev(4009,("undefined"==typeof ngDevMode||ngDevMode)&&`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Y8(s6(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=function(e){const t=e.match(u6);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=c6(this.remaining);e&&(n=e,this.capture(n))}e[s6(t)]=s6(n)}parseQueryParam(e){const t=function(e){const t=e.match(d6);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(h6);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=o6(t),r=o6(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(r)}else e[i]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=c6(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new ev(4010,("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.slice(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=M8);const s=this.parseChildren();t[r??M8]=1===Object.keys(s).length&&s[M8]?s[M8]:new Z8([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new ev(4011,("undefined"==typeof ngDevMode||ngDevMode)&&`Expected "${e}".`)}}function f6(e){return e.segments.length>0?new Z8([],{[M8]:e}):e}function m6(e){const t={};for(const[n,i]of Object.entries(e.children)){const e=m6(i);if(n===M8&&0===e.segments.length&&e.hasChildren())for(const[n,i]of Object.entries(e.children))t[n]=i;else(e.segments.length>0||e.hasChildren())&&(t[n]=e)}return function(e){if(1===e.numberOfChildren&&e.children[M8]){const t=e.children[M8];return new Z8(e.segments.concat(t.segments),t.children)}return e}(new Z8(e.segments,t))}function g6(e){return e instanceof G8}function v6(e){let t;const n=f6(function n(i){const r={};for(const e of i.children){const t=n(e);r[e.outlet]=t}const s=new Z8(i.url,r);return i===e&&(t=s),s}(e.root));return t??n}function y6(e,t,n,i){let r=e;for(;r.parent;)r=r.parent;if(0===t.length)return _6(r,r,r,n,i);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new k6(!0,
10,e);let t=0,n=!1;const i=e.reduce((e,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return Object.entries(i.outlets).forEach(([e,n])=>{t[e]="string"==typeof n?n.split("/"):n}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);return new k6(n,t,i)}(t);if(s.toRoot())return _6(r,r,new Z8([],{}),n,i);const o=function(e,t,n){if(e.isAbsolute)return new C6(t,!0,0);if(!n)return new C6(t,!1,NaN);if(null===n.parent)return new C6(n,!0,0);const i=b6(e.commands[0])?0:1;return function(e,t,n){let i=e,r=t,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new ev(4005,("undefined"==typeof ngDevMode||ngDevMode)&&"Invalid number of '../'");r=i.segments.length}return new C6(i,!1,r-s)}(n,n.segments.length-1+i,e.numberOfDoubleDots)}(s,r,e),a=o.processChildren?T6(o.segmentGroup,o.index,s.commands):S6(o.segmentGroup,o.index,s.commands);return _6(r,o.segmentGroup,a,n,i)}function b6(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function w6(e){return"object"==typeof e&&null!=e&&e.outlets}function _6(e,t,n,i,r){let s,o={};i&&Object.entries(i).forEach(([e,t])=>{o[e]=Array.isArray(t)?t.map(e=>`${e}`):`${t}`}),s=e===t?n:x6(e,t,n);const a=f6(m6(s));return new G8(a,o,r)}function x6(e,t,n){const i={};return Object.entries(e.children).forEach(([e,r])=>{i[e]=r===t?n:x6(r,t,n)}),new Z8(e.segments,i)}class k6{isAbsolute;numberOfDoubleDots;commands;constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&b6(n[0]))throw new ev(4003,("undefined"==typeof ngDevMode||ngDevMode)&&"Root segment cannot have matrix parameters");const i=n.find(w6);if(i&&i!==V8(n))throw new ev(4004,("undefined"==typeof ngDevMode||ngDevMode)&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class C6{segmentGroup;processChildren;index;constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function S6(e,t,n){if(e??=new Z8([],{}),0===e.segments.length&&e.hasChildren())return T6(e,t,n);const i=function(e,t,n){let i=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=n.length)return s;const t=e.segments[r],o=n[i];if(w6(o))break;const a=`${o}`,l=i<n.length-1?n[i+1]:null;if(r>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!D6(a,l,t))return s;i+=2}else{if(!D6(a,{},t))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const t=new Z8(e.segments.slice(0,i.pathIndex),{});return t.children[M8]=new Z8(e.segments.slice(i.pathIndex),e.children),T6(t,0,r)}return i.match&&0===r.length?new Z8(e.segments,{}):i.match&&!e.hasChildren()?E6(e,t,n):i.match?T6(e,0,r):E6(e,t,n)}function T6(e,t,n){if(0===n.length)return new Z8(e.segments,{});{const i=function(e){return w6(e[0])?e[0].outlets:{[M8]:e}}(n),r={};if(Object.keys(i).some(e=>e!==M8)&&e.children[M8]&&1===e.numberOfChildren&&0===e.children[M8].segments.length){const i=T6(e.children[M8],t,n);return new Z8(e.segments,i.children)}return Object.entries(i).forEach(([n,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(r[n]=S6(e.children[n],t,i))}),Object.entries(e.children).forEach(([e,t])=>{void 0===i[e]&&(r[e]=t)}),new Z8(e.segments,r)}}function E6(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r<n.length;){const s=n[r];if(w6(s)){const e=I6(s.outlets);return new Z8(i,e)}if(0===r&&b6(n[0])){const s=e.segments[t];i.push(new Y8(s.path,A6(n[0]))),r++;continue}const o=w6(s)?s.outlets[M8]:`${s}`,a=r<n.length-1?n[r+1]:null;o&&a&&b6(a)?(i.push(new Y8(o,A6(a))),r+=2):(i.push(new Y8(o,{})),r++)}return new Z8(i,{})}function I6(e){const t={};return Object.entries(e).forEach(([e,n])=>{"string"==typeof n&&(n=[n]),null!==n&&(t[e]=E6(new Z8([],{}),0,n))}),t}function A6(e){const t={};return Object.entries(e).forEach(([e,n])=>t[e]=`${n}`),t}function D6(e,t,n){return e==n.path&&R8(t,n.parameters)}const M6="imperative";var O6,P6,L6,N6;(N6=O6||(O6={}))[N6.NavigationStart=0]="NavigationStart",N6[N6.NavigationEnd=1]="NavigationEnd",N6[N6.NavigationCancel=2]="NavigationCancel",N6[N6.NavigationError=3]="NavigationError",N6[N6.RoutesRecognized=4]="RoutesRecognized",N6[N6.ResolveStart=5]="ResolveStart",N6[N6.ResolveEnd=6]="ResolveEnd",N6[N6.GuardsCheckStart=7]="GuardsCheckStart",N6[N6.GuardsCheckEnd=8]="GuardsCheckEnd",N6[N6.RouteConfigLoadStart=9]="RouteConfigLoadStart",N6[N6.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",N6[N6.ChildActivationStart=11]="ChildActivationStart",N6[N6.ChildActivationEnd=12]="ChildActivationEnd",N6[N6.ActivationStart=13]="ActivationStart",N6[N6.ActivationEnd=14]="ActivationEnd",N6[N6.Scroll=15]="Scroll",N6[N6.NavigationSkipped=16]="NavigationSkipped";class R6{id;url;constructor(e,t){this.id=e,this.url=t}}class B6 extends R6{type=O6.NavigationStart;navigationTrigger;restoredState;constructor(e,t,n="imperative",i=null){super(e,t),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class F6 extends R6{urlAfterRedirects;type=O6.NavigationEnd;constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}!function(e){e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
1solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted"}(P6||(P6={})),function(e){e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(L6||(L6={}));class V6 extends R6{reason;code;type=O6.NavigationCancel;constructor(e,t,n,i){super(e,t),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $6 extends R6{reason;code;type=O6.NavigationSkipped;constructor(e,t,n,i){super(e,t),this.reason=n,this.code=i}}class j6 extends R6{error;target;type=O6.NavigationError;constructor(e,t,n,i){super(e,t),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class H6 extends R6{urlAfterRedirects;state;type=O6.RoutesRecognized;constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class z6 extends R6{urlAfterRedirects;state;type=O6.GuardsCheckStart;constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class U6 extends R6{urlAfterRedirects;state;shouldActivate;type=O6.GuardsCheckEnd;constructor(e,t,n,i,r){super(e,t),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class q6 extends R6{urlAfterRedirects;state;type=O6.ResolveStart;constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class W6 extends R6{urlAfterRedirects;state;type=O6.ResolveEnd;constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class G6{route;type=O6.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Z6{route;type=O6.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Y6{snapshot;type=O6.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K6{snapshot;type=O6.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class J6{snapshot;type=O6.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X6{snapshot;type=O6.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q6{routerEvent;position;anchor;type=O6.Scroll;constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}class e7{}class t7{url;navigationBehaviorOptions;constructor(e,t){this.url=e,this.navigationBehaviorOptions=t}}function n7(e,t="",n=!1){for(let i=0;i<e.length;i++){const r=e[i];r7(r,s7(t,r),n)}}function i7(e,t){if(t&&NP(t))throw new ev(4014,`Invalid configuration of route '${e}'. You are using 'loadComponent' with a module, but it must be used with standalone components. Use 'loadChildren' instead.`);if(t&&!rb(t))throw new ev(4014,`Invalid configuration of route '${e}'. The component must be standalone.`)}function r7(e,t,n){if("undefined"==typeof ngDevMode||ngDevMode){if(!e)throw new ev(4014,`\n      Invalid configuration of route '${t}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(e))throw new ev(4014,`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.redirectTo&&!e.component&&!e.loadComponent&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==M8)throw new ev(4014,`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new ev(4014,`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new ev(4014,`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new ev(4014,`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.component&&e.loadComponent)throw new ev(4014,`Invalid configuration of route '${t}': component and loadComponent cannot be used together`);if(e.redirectTo){if(e.component||e.loadComponent)throw new ev(4014,`Invalid configuration of route '${t}': redirectTo and component/loadComponent cannot be used together`);if(e.canMatch||e.canActivate)throw new ev(4014,`Invalid configuration of route '${t}': redirectTo and ${e.canMatch?"canMatch":"canActivate"} cannot be used together.Redirects happen before guards are executed.`)}if(e.path&&e.matcher)throw new ev(4014,`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(!(void 0!==e.redirectTo||e.component||e.loadComponent||e.children||e.loadChildren))throw new ev(4014,`Invalid configuration of route '${t}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new ev(4014,`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new ev(4014,`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch){const n="The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.";throw new ev(4014,`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. ${n}`)}n&&i7(t,e.component)}e.children&&n7(e.children,t,n)}function s7(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function o7(e){return e.outlet||M8}function a7(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class l7{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return a7(this.route?.snapshot)??this.rootInjector}constructor(e){this.rootInjector=e,this.children=new c7(this.rootInjector)}}class c7{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new l7(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:c7,deps:[{token:Cb}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:c7,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:c7,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:Cb}]});class u7{_root;constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=d7(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=d7(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=h7(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return h7(e,this._root).map(e=>e.value)}}function d7(e,t){if(e===t.value)return t;for(const n of t.children){const t=d7(e,n);if(t)return t}return null}function h7(e,t){if(e===t.value)return[t];for(const n of t.children){const i=h7(e,n);if(i.length)return i.unshift(t),i}return[]}class p7{value;children;constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function f7(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class m7 extends u7{snapshot;constructor(e,t){super(e),this.snapshot=t,_7(this,e)}toString(){return this.snapshot.toString()}}function g7(e){const t=function(e){const t=new b7([],{},{},"",{},M8,e,null,{});return new w7("",new p7(t,[]))}(e),n=new Yg([new Y8("",{})]),i=new Yg({}),r=new Yg({}),s=new Yg({}),o=new Yg(""),a=new v7(n,i,s,o,r,M8,e,t.root);return a.snapshot=t.root,new m7(new p7(a,[]),t)}class v7{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,t,n,i,r,s,o,a){this.urlSubject=e,this.paramsSubject=t,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=r,this.outlet=s,this.component=o,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(Ox(e=>e[O8]))??YQ(void 0),this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Ox(e=>L8(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Ox(e=>L8(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function y7(e,t,n="emptyOnly"){let i;const{routeConfig:r}=e;return i=null===t||"always"!==n&&""!==r?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...r?.data,...e._resolvedData}},r&&S7(r)&&(i.resolve[O8]=r.title),i}class b7{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[O8]}constructor(e,t,n,i,r,s,o,a,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=a,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=L8(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=L8(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class w7 extends u7{url;
1constructor(e,t){super(t),this.url=e,_7(this,t)}toString(){return x7(this._root)}}function _7(e,t){t.value._routerState=e,t.children.forEach(t=>_7(e,t))}function x7(e){const t=e.children.length>0?` { ${e.children.map(x7).join(", ")} } `:"";return`${e.value}${t}`}function k7(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,R8(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),R8(t.params,n.params)||e.paramsSubject.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!R8(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.urlSubject.next(n.url),R8(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function C7(e,t){const n=R8(e.params,t.params)&&(K8(i=e.url,r=t.url)&&i.every((e,t)=>R8(e.parameters,r[t].parameters)));var i,r;const s=!e.parent!=!t.parent;return n&&!s&&(!e.parent||C7(e.parent,t.parent))}function S7(e){return"string"==typeof e.title||null===e.title}const T7=new $v(ngDevMode?"RouterOutlet data":"");class E7{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=M8;activateEvents=new rD;deactivateEvents=new rD;attachEvents=new rD;detachEvents=new rD;routerOutletData=bG(...ngDevMode?[void 0,{debugName:"routerOutletData"}]:[]);parentContexts=Dy(c7);location=Dy(AL);changeDetector=Dy(uZ);inputBinder=Dy(A7,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){const{firstChange:t,previousValue:n}=e.name;if(t)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ev(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ev(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ev(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new ev(4013,("undefined"==typeof ngDevMode||ngDevMode)&&"Cannot activate an already activated outlet");this._activatedRoute=e;const n=this.location,i=e.snapshot.component,r=this.parentContexts.getOrCreateContext(this.name).children,s=new I7(e,r,n.injector,this.routerOutletData);this.activated=n.createComponent(i,{index:n.length,injector:s,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:E7,deps:[],target:hG.Directive});static"ɵdir"=EY({minVersion:"17.1.0",version:"20.3.28",type:E7,isStandalone:!0,selector:"router-outlet",inputs:{name:{classPropertyName:"name",publicName:"name",isSignal:!1,isRequired:!1,transformFunction:null},routerOutletData:{classPropertyName:"routerOutletData",publicName:"routerOutletData",isSignal:!0,isRequired:!1,transformFunction:null}},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],usesOnChanges:!0,ngImport:e})}
1IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:E7,decorators:[{type:eq,args:[{selector:"router-outlet",exportAs:"outlet"}]}],propDecorators:{name:[{type:iq}],activateEvents:[{type:rq,args:["activate"]}],deactivateEvents:[{type:rq,args:["deactivate"]}],attachEvents:[{type:rq,args:["attach"]}],detachEvents:[{type:rq,args:["detach"]}],routerOutletData:[{type:iq,args:[{isSignal:!0,alias:"routerOutletData",required:!1}]}]}});class I7{route;childContexts;parent;outletData;constructor(e,t,n,i){this.route=e,this.childContexts=t,this.parent=n,this.outletData=i}get(e,t){return e===v7?this.route:e===c7?this.childContexts:e===T7?this.outletData:this.parent.get(e,t)}}const A7=new $v("");class D7{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:t}=e,n=m8([t.queryParams,t.params,t.data]).pipe($Q(([e,t,n],i)=>(n={...e,...t,...n},0===i?YQ(n):Promise.resolve(n)))).subscribe(n=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||null===t.component)return void this.unsubscribeFromRouteData(e);const i=UY(t.component);if(i)for(const{templateName:t}of i.inputs)e.activatedComponentRef.setInput(t,n[t]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,n)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:D7,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:D7})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:D7,decorators:[{type:bC}]});class M7{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:M7,deps:[],target:hG.Component});static"ɵcmp"=DY({minVersion:"14.0.0",version:"20.3.28",type:M7,isStandalone:!0,selector:"ng-component",exportAs:["emptyRouterOutlet"],ngImport:e,template:"<router-outlet/>",isInline:!0,dependencies:[{kind:"directive",type:E7,selector:"router-outlet",inputs:["name","routerOutletData"],outputs:["activate","deactivate","attach","detach"],exportAs:["outlet"]}]})}function O7(e){const t=e.children&&e.children.map(O7),n=t?{...e,children:t}:{...e};return n.component||n.loadComponent||!t&&!n.loadChildren||!n.outlet||n.outlet===M8||(n.component=M7),n}function P7(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=t.value;const r=function(e,t,n){return t.children.map(t=>{for(const i of n.children)if(e.shouldReuseRoute(t.value,i.value.snapshot))return P7(e,t,i);return P7(e,t)})}(e,t,n);return new p7(i,r)}{if(e.shouldAttach(t.value)){const n=e.retrieve(t.value);if(null!==n){const i=n.route;return i.value._futureSnapshot=t.value,i.children=t.children.map(t=>P7(e,t)),i}}const n=(i=t.value,new v7(new Yg(i.url),new Yg(i.params),new Yg(i.queryParams),new Yg(i.fragment),new Yg(i.data),i.outlet,i.component,i)),r=t.children.map(t=>P7(e,t));return new p7(n,r)}var i}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:M7,decorators:[{type:tq,args:[{template:"<router-outlet/>",imports:[E7],exportAs:"emptyRouterOutlet"}]}]});class L7{redirectTo;navigationBehaviorOptions;constructor(e,t){this.redirectTo=e,this.navigationBehaviorOptions=t}}const N7="ngNavigationCancelingError";function R7(e,t){const{redirectTo:n,navigationBehaviorOptions:i}=g6(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=B7(ngDevMode&&`Redirecting to "${e.serialize(n)}"`,P6.Redirect);return r.url=n,r.navigationBehaviorOptions=i,r}function B7(e,t){const n=new Error(`NavigationCancelingError: ${e||""}`);return n[N7]=!0,n.cancellationCode=t,n}function F7(e){return!!e&&e[N7]}let V7=!1;class $7{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,t,n,i,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),k7(this.futureState.root),this.activateChildRoutes(t,n,e)}
1deactivateChildRoutes(e,t,n){const i=f7(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),Object.values(i).forEach(e=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,r=f7(e);for(const e of Object.values(r))this.deactivateRouteAndItsChildren(e,i);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,r=f7(e);for(const e of Object.values(r))this.deactivateRouteAndItsChildren(e,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,t,n){const i=f7(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new X6(e.value.snapshot))}),e.children.length&&this.forwardEvent(new K6(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(k7(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const n=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(n.contexts),t.attachRef=n.componentRef,t.route=n.route.value,t.outlet&&t.outlet.attach(n.componentRef,n.route.value),k7(n.route.value),this.activateChildRoutes(e,null,t.children)}else t.attachRef=null,t.route=i,t.outlet&&t.outlet.activateWith(i,t.injector),this.activateChildRoutes(e,null,t.children)}else this.activateChildRoutes(e,null,n);if("undefined"==typeof ngDevMode||ngDevMode){const e=n.getOrCreateContext(i.outlet).outlet;e&&this.inputBindingEnabled&&!e.supportsBindingToComponentInputs&&!V7&&(console.warn("'withComponentInputBinding' feature is enabled but this application is using an outlet that may not support binding to component inputs."),V7=!0)}}}class j7{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class H7{component;route;constructor(e,t){this.component=e,this.route=t}}function z7(e,t,n){const i=e._root;return q7(i,t?t._root:null,n,[i.value])}function U7(e,t){const n=Symbol(),i=t.get(e,n);return i===n?"function"!=typeof e||Rv(e)?t.get(e):e:i}function q7(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=f7(t);return e.children.forEach(e=>{!function(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!K8(e.url,t.url);case"pathParamsOrQueryParamsChange":return!K8(e.url,t.url)||!R8(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!C7(e,t)||!R8(e.queryParams,t.queryParams);default:return!C7(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new j7(i)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?q7(e,t,a?a.children:null,i,r):q7(e,t,n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new H7(a.outlet.component,o))}else o&&W7(t,a,r),r.canActivateChecks.push(new j7(i)),s.component?q7(e,null,a?a.children:null,i,r):q7(e,null,n,i,r)}(e,s[e.value.outlet],n,i.concat([e.value]),r),delete s[e.value.outlet]}),Object.entries(s).forEach(([e,t])=>W7(t,n.getContext(e),r)),r}function W7(e,t,n){const i=f7(e),r=e.value;
1Object.entries(i).forEach(([e,i])=>{r.component?W7(i,t?t.children.getContext(e):null,n):W7(i,t,n)}),r.component&&t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new H7(t.outlet.component,r)):n.canDeactivateChecks.push(new H7(null,r))}function G7(e){return"function"==typeof e}function Z7(e){return e instanceof v8||"EmptyError"===e?.name}const Y7=Symbol("INITIAL_VALUE");function K7(){return $Q(e=>m8(e.map(e=>e.pipe(D0(1),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=UQ(e);return Ix(function(t,i){(n?E0(e,t,n):E0(e,t)).subscribe(i)})}(Y7)))).pipe(Ox(e=>{for(const t of e)if(!0!==t){if(t===Y7)return Y7;if(!1===t||J7(t))return t}return!0}),FQ(e=>e!==Y7),D0(1)))}function J7(e){return g6(e)||e instanceof L7}function X7(e){return(0,y8.F)(H5(t=>{if("boolean"!=typeof t)throw R7(e,t)}),Ox(e=>!0===e))}class Q7{segmentGroup;constructor(e){this.segmentGroup=e||null}}class e9 extends Error{urlTree;constructor(e){super(),this.urlTree=e}}function t9(e){return b8(new Q7(e))}function n9(e){return b8(new ev(4e3,("undefined"==typeof ngDevMode||ngDevMode)&&`Only absolute redirects can have named outlets. redirectTo: '${e}'`))}class i9{urlSerializer;urlTree;constructor(e,t){this.urlSerializer=e,this.urlTree=t}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return YQ(n);if(i.numberOfChildren>1||!i.children[M8])return n9(`${e.redirectTo}`);i=i.children[M8]}}applyRedirectCommands(e,t,n,i,r){return function(e,t,n){if("string"==typeof e)return YQ(e);const i=e,{queryParams:r,fragment:s,routeConfig:o,url:a,outlet:l,params:c,data:u,title:d}=t;return $8(Mb(n,()=>i({params:c,data:u,queryParams:r,fragment:s,routeConfig:o,url:a,outlet:l,title:d})))}(t,i,r).pipe(Ox(t=>{if(t instanceof G8)throw new e9(t);const i=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,n);if("/"===t[0])throw new e9(i);return i}))}applyRedirectCreateUrlTree(e,t,n,i){const r=this.createSegmentGroup(e,t.root,n,i);return new G8(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Object.entries(e).forEach(([e,i])=>{if("string"==typeof i&&":"===i[0]){const r=i.substring(1);n[e]=t[r]}else n[e]=i}),n}createSegmentGroup(e,t,n,i){const r=this.createSegments(e,t.segments,n,i);let s={};return Object.entries(t.children).forEach(([t,r])=>{s[t]=this.createSegmentGroup(e,r,n,i)}),new Z8(r,s)}createSegments(e,t,n,i){return t.map(t=>":"===t.path[0]?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new ev(4001,("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}const r9={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function s9(e,t,n,i,r){const s=o9(e,t,n);return s.matched?(i=function(e,t){return e.providers&&!e._injector&&(e._injector=IN(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,i),function(e,t,n,i){const r=t.canMatch;return r&&0!==r.length?YQ(r.map(i=>{const r=U7(i,e);return $8(function(e){return e&&G7(e.canMatch)}(r)?r.canMatch(t,n):Mb(e,()=>r(t,n)))})).pipe(K7(),X7(i)):YQ(!0)}(i,t,n,r).pipe(Ox(e=>!0===e?s:{...r9}))):YQ(s)}function o9(e,t,n){if("**"===t.path)return function(e){return{matched:!0,parameters:e.length>0?V8(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...r9}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(t.matcher||N8)(n,e,t);if(!i)return{...r9};const r={};Object.entries(i.posParams??{}).forEach(([e,t])=>{r[e]=t.path});const s=i.consumed.length>0?{...r,...i.consumed[i.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function a9(e,t,n,i){if(n.length>0&&function(e,t,n){return n.some(n=>l9(e,t,n)&&o7(n)!==M8)}(e,n,i)){const r=new Z8(t,function(e,t){const n={};n[M8]=t;for(const t of e)if(""===t.path&&o7(t)!==M8){const e=new Z8([],{});n[o7(t)]=e}return n}(i,new Z8(n,e.children)));return{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>l9(e,t,n))}(e,n,i)){const t=new Z8(e.segments,function(e,t,n,i){const r={};
1for(const s of n)if(l9(e,t,s)&&!i[o7(s)]){const e=new Z8([],{});r[o7(s)]=e}return{...i,...r}}(e,n,i,e.children));return{segmentGroup:t,slicedSegments:n}}return{segmentGroup:new Z8(e.segments,e.children),slicedSegments:n}}function l9(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class c9{}class u9{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,t,n,i,r,s,o){this.injector=e,this.configLoader=t,this.rootComponentType=n,this.config=i,this.urlTree=r,this.paramsInheritanceStrategy=s,this.urlSerializer=o,this.applyRedirects=new i9(this.urlSerializer,this.urlTree)}noMatchError(e){return new ev(4002,"undefined"==typeof ngDevMode||ngDevMode?`Cannot match any routes. URL Segment: '${e.segmentGroup}'`:`'${e.segmentGroup}'`)}recognize(){const e=a9(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(Ox(({children:e,rootSnapshot:t})=>{const n=new p7(t,e),i=new w7("",n),r=function(e,t,n=null,i=null){return y6(v6(e),t,n,i)}(t,[],this.urlTree.queryParams,this.urlTree.fragment);return r.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(r),{state:i,tree:r}}))}match(e){const t=new b7([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),M8,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,M8,t).pipe(Ox(e=>({children:e,rootSnapshot:t})),T8(e=>{if(e instanceof e9)return this.urlTree=e.urlTree,this.match(e.urlTree.root);if(e instanceof Q7)throw this.noMatchError(e);throw e}))}processSegmentGroup(e,t,n,i,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(e,t,n,r):this.processSegment(e,t,n,n.segments,i,!0,r).pipe(Ox(e=>e instanceof p7?[e]:[]))}processChildren(e,t,n,i){const r=[];for(const e of Object.keys(n.children))"primary"===e?r.unshift(e):r.push(e);return ZQ(r).pipe(BQ(r=>{const s=n.children[r],o=function(e,t){const n=e.filter(e=>o7(e)===t);return n.push(...e.filter(e=>o7(e)!==t)),n}(t,r);return this.processSegmentGroup(e,o,s,r,i)}),E8((e,t)=>(e.push(...t),e)),x8(null),function(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?FQ(function(t,n){return e(t,n,i)}):S0.D,I8(1),n?x8(t):k8(function(){return new v8}))}}(),RQ(e=>{if(null===e)return t9(n);const t=h9(e);return("undefined"==typeof ngDevMode||ngDevMode)&&function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),i=e.value.url.map(e=>e.toString()).join("/");throw new ev(4006,("undefined"==typeof ngDevMode||ngDevMode)&&`Two segments cannot have the same outlet name: '${t}' and '${i}'.`)}t[e.value.outlet]=e.value})}(t),t.sort((e,t)=>e.value.outlet===M8?-1:t.value.outlet===M8?1:e.value.outlet.localeCompare(t.value.outlet)),YQ(t)}))}processSegment(e,t,n,i,r,s,o){return ZQ(t).pipe(BQ(a=>this.processSegmentAgainstRoute(a._injector??e,t,a,n,i,r,s,o).pipe(T8(e=>{if(e instanceof Q7)return YQ(null);throw e}))),S8(e=>!!e),T8(e=>{if(Z7(e))return function(e,t,n){return 0===t.length&&!e.children[n]}(n,i,r)?YQ(new c9):t9(n);throw e}))}processSegmentAgainstRoute(e,t,n,i,r,s,o,a){return o7(n)===s||s!==M8&&l9(i,r,n)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,i,n,r,s,a):this.allowRedirects&&o?this.expandSegmentAgainstRouteUsingRedirect(e,i,t,n,r,s,a):t9(i):t9(i)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s,o){const{matched:a,parameters:l,consumedSegments:c,positionalParamSegments:u,remainingSegments:d}=o9(t,i,r);if(!a)return t9(t);if("string"==typeof i.redirectTo&&"/"===i.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31)){if(ngDevMode)throw new ev(4016,`Detected possible infinite redirect when redirecting from '${this.urlTree}' to '${i.redirectTo}'.\nThis is currently a dev mode only error but will become a call stack size exceeded error in production in a future major version.`);this.allowRedirects=!1}const h=new b7(r,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,p9(i),o7(i),i.component??i._loadedComponent??null,i,f9(i)),p=y7(h,o,this.paramsInheritanceStrategy);return h.params=Object.freeze(p.params),h.data=Object.freeze(p.data),this.applyRedirects.applyRedirectCommands(c,i.redirectTo,u,h,e).pipe($Q(e=>this.applyRedirects.lineralizeSegments(i,e)),RQ(i=>this.processSegment(e,n,t,i.concat(d),s,!1,o)))}matchSegmentAgainstRoute(e,t,n,i,r,s){const o=s9(t,n,i,e,this.urlSerializer);return"**"===n.path&&(t.children={}),o.pipe($Q(o=>o.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe($Q(({routes:i})=>{const a=n._loadedInjector??e,{parameters:l,consumedSegments:c,remainingSegments:u}=o,d=new b7(c,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,p9(n),o7(n),n.component??n._loadedComponent??null,n,f9(n)),h=y7(d,s,this.paramsInheritanceStrategy);d.params=Object.freeze(h.params),d.data=Object.freeze(h.data);const{segmentGroup:p,slicedSegments:f}=a9(t,c,u,i);if(0===f.length&&p.hasChildren())return this.processChildren(a,i,p,d).pipe(Ox(e=>
1new p7(d,e)));if(0===i.length&&0===f.length)return YQ(new p7(d,[]));const m=o7(n)===r;return this.processSegment(a,i,p,f,m?M8:r,!0,d).pipe(Ox(e=>new p7(d,e instanceof p7?[e]:[])))}))):t9(t)))}getChildConfig(e,t,n){return t.children?YQ({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?YQ({routes:t._loadedRoutes,injector:t._loadedInjector}):function(e,t,n,i){const r=t.canLoad;return void 0===r||0===r.length?YQ(!0):YQ(r.map(i=>{const r=U7(i,e);return $8(function(e){return e&&G7(e.canLoad)}(r)?r.canLoad(t,n):Mb(e,()=>r(t,n)))})).pipe(K7(),X7(i))}(e,t,n,this.urlSerializer).pipe(RQ(n=>n?this.configLoader.loadChildren(e,t).pipe(H5(e=>{t._loadedRoutes=e.routes,t._loadedInjector=e.injector})):function(e){return b8(B7(("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot load children because the guard of the route "path: '${e.path}'" returned false`,P6.GuardRejected))}(t))):YQ({routes:[],injector:e})}}function d9(e){const t=e.value.routeConfig;return t&&""===t.path}function h9(e){const t=[],n=new Set;for(const i of e){if(!d9(i)){t.push(i);continue}const e=t.find(e=>i.value.routeConfig===e.value.routeConfig);void 0!==e?(e.children.push(...i.children),n.add(e)):t.push(i)}for(const e of n){const n=h9(e.children);t.push(new p7(e.value,n))}return t.filter(e=>!n.has(e))}function p9(e){return e.data||{}}function f9(e){return e.resolve||{}}function m9(e){const t=e.children.map(e=>m9(e)).flat();return[e,...t]}function g9(e){return $Q(t=>{const n=e(t);return n?ZQ(n).pipe(Ox(()=>t)):YQ(t)})}class v9{buildTitle(e){let t,n=e.root;for(;void 0!==n;)t=this.getResolvedTitleForRoute(n)??t,n=n.children.find(e=>e.outlet===M8);return t}getResolvedTitleForRoute(e){return e.data[O8]}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:v9,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:v9,providedIn:"root",useFactory:()=>Dy(y9)})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:v9,decorators:[{type:bC,args:[{providedIn:"root",useFactory:()=>Dy(y9)}]}]});class y9 extends v9{title;constructor(e){super(),this.title=e}updateTitle(e){const t=this.buildTitle(e);void 0!==t&&this.title.setTitle(t)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:y9,deps:[{token:c2}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:y9,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:y9,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:c2}]});const b9=new $v("undefined"==typeof ngDevMode||ngDevMode?"router config":"",{providedIn:"root",factory:()=>({})}),w9=new $v(ngDevMode?"ROUTES":"");class _9{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=Dy(cq);loadComponent(e,t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return YQ(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const n=$8(Mb(e,()=>t.loadComponent())).pipe(Ox(x9),$Q(k9),H5(e=>{this.onLoadEndListener&&this.onLoadEndListener(t),("undefined"==typeof ngDevMode||ngDevMode)&&i7(t.path??"",e),t._loadedComponent=e}),VQ(()=>{this.componentLoaders.delete(t)})),i=new _8(n,()=>new Gg).pipe(w8());return this.componentLoaders.set(t,i),i}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return YQ({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);const n=function(e,t,n,i){return $8(Mb(n,()=>e.loadChildren())).pipe(Ox(x9),$Q(k9),RQ(e=>e instanceof xN||Array.isArray(e)?YQ(e):ZQ(t.compileModuleAsync(e))),Ox(t=>{let r,s;i&&i(e);let o=!1;Array.isArray(t)?(s=t,o=!0):(r=t.create(n).injector,s=r.get(w9,[],{optional:!0,self:!0}).flat());const a=s.map(O7);return("undefined"==typeof ngDevMode||ngDevMode)&&n7(a,e.path,o),{routes:a,injector:r}}))}(t,this.compiler,e,this.onLoadEndListener),i=n.pipe(VQ(()=>{this.childrenLoaders.delete(t)})),r=new _8(i,()=>new Gg).pipe(w8());return this.childrenLoaders.set(t,r),r}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_9,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_9,providedIn:"root"})}function x9(e){return(t=e)&&"object"==typeof t&&"default"in t?e.default:e;var t}function k9(e){return"undefined"!=typeof ngJitMode&&!ngJitMode||"function"!=typeof fetch?YQ(e):cN(fetch).catch(e=>(console.error(e),Promise.resolve())).then(()=>e)}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_9,decorators:[{type:bC,args:[{providedIn:"root"}]}]});class C9{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:C9,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:C9,providedIn:"root",useFactory:()=>Dy(S9)})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:C9,decorators:[{type:bC,args:[{providedIn:"root",useFactory:()=>Dy(S9)}]}]});class S9{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:S9,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:S9,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:S9,decorators:[{type:bC,args:[{providedIn:"root"}]}]});const T9=new $v(ngDevMode?"view transition helper":""),E9=new $v(ngDevMode?"view transition options":"");function I9(e,t,n){const i=e.get(E9),r=e.get(Q_);if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(e=>setTimeout(e));let s;const o=new Promise(e=>{s=e}),a=r.startViewTransition(()=>(s(),function(e){return new Promise(t=>{CD({read:()=>setTimeout(t)},{injector:e})})}(e)));a.ready.catch(e=>{("undefined"==typeof ngDevMode||ngDevMode)&&console.error(e)});const{onViewTransitionCreated:l}=i;return l&&Mb(e,()=>l({transition:a,from:t,to:n})),o}const A9=new $v("undefined"==typeof ngDevMode||ngDevMode?"navigation error handler":"");class D9{currentNavigation=ux(null,...ngDevMode?[{debugName:"currentNavigation",equal:()=>!1}]:[{equal:()=>!1}]);currentTransition=null;lastSuccessfulNavigation=null;events=new Gg;transitionAbortWithErrorSubject=new Gg;configLoader=Dy(_9);environmentInjector=Dy(Cb);destroyRef=Dy(ex);urlSerializer=Dy(J8);rootContexts=Dy(c7);location=Dy(aK);inputBindingEnabled=null!==Dy(A7,{optional:!0});titleStrategy=Dy(v9);options=Dy(b9,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=Dy(C9);createViewTransition=Dy(T9,{optional:!0});navigationErrorHandler=Dy(A9,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>YQ(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=e=>this.events.next(new Z6(e)),this.configLoader.onLoadStartListener=e=>this.events.next(new G6(e)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){const t=++this.navigationId;Uq(()=>{this.transitions?.next({...e,extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:t})})}setupNavigations(e){return this.transitions=new Yg(null),this.transitions.pipe(FQ(e=>null!==e),$Q(t=>{let n=!1;return YQ(t).pipe($Q(n=>{if(this.navigationId>t.id){const e="undefined"==typeof ngDevMode||ngDevMode?`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`:"";return this.cancelNavigationTransition(t,e,P6.SupersededByNewNavigation),A0}this.currentTransition=t,this.currentNavigation.set({id:n.id,initialUrl:n.rawUrl,extractedUrl:n.extractedUrl,targetBrowserUrl:"string"==typeof n.extras.browserUrl?this.urlSerializer.parse(n.extras.browserUrl):n.extras.browserUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>n.abortController.abort()});const i=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),r=n.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!i&&"reload"!==r){const e="undefined"==typeof ngDevMode||ngDevMode?`Navigation to ${n.rawUrl} was ignored because it is the same as the current Router URL.`:"";return this.events.next(new $6(n.id,this.urlSerializer.serialize(n.rawUrl),e,L6.IgnoredSameUrlNavigation)),n.resolve(!1),A0}if(this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return YQ(n).pipe($Q(e=>(this.events.next(new B6(e.id,this.urlSerializer.serialize(e.extractedUrl),e.source,e.restoredState)),e.id!==this.navigationId?A0:Promise.resolve(e))),function(e,t,n,i,r,s){return RQ(o=>function(e,t,n,i,r,s,o="emptyOnly"){return new u9(e,t,n,i,r,o,s).recognize()}(e,t,n,i,o.extractedUrl,r,s).pipe(Ox(({state:e,tree:t})=>({...o,targetSnapshot:e,urlAfterRedirects:t}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),H5(e=>{t.targetSnapshot=e.targetSnapshot,t.urlAfterRedirects=e.urlAfterRedirects,this.currentNavigation.update(t=>(t.finalUrl=e.urlAfterRedirects,t));const n=new H6(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects),e.targetSnapshot);this.events.next(n)}));if(i&&this.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:e,extractedUrl:i,source:r,restoredState:s,extras:o}=n,a=new B6(e,this.urlSerializer.serialize(i),r,s);this.events.next(a);const l=g7(this.rootComponentType).snapshot;return this.currentTransition=t={...n,targetSnapshot:l,urlAfterRedirects:i,extras:{...o,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(e=>(e.finalUrl=i,e)),YQ(t)}{const e="undefined"==typeof ngDevMode||ngDevMode?`Navigation was ignored because the UrlHandlingStrategy indicated neither the current URL ${n.currentRawUrl} nor target URL ${n.rawUrl} should be processed.`:"";return this.events.next(new $6(n.id,this.urlSerializer.serialize(n.extractedUrl),e,L6.IgnoredByUrlHandlingStrategy)),n.resolve(!1),A0}}),H5(e=>{const t=new z6(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects),e.targetSnapshot);this.events.next(t)}),Ox(e=>(this.currentTransition=t={...e,guards:z7(e.targetSnapshot,e.currentSnapshot,this.rootContexts)},t)),function(e,t){return RQ(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?YQ({...n,guardsResult:!0}):function(e,t,n,i){return ZQ(e).pipe(RQ(e=>function(e,t,n,i,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?YQ(s.map(s=>{const o=a7(t)??r,a=U7(s,o);return $8(function(e){return e&&G7(e.canDeactivate)}(a)?a.canDeactivate(e,t,n,i):Mb(o,()=>a(e,t,n,i))).pipe(S8())})).pipe(K7()):YQ(!0)}(e.component,e.route,n,t,i)),S8(e=>!0!==e,!0))}(o,i,r,e).pipe(RQ(n=>n&&"boolean"==typeof n?function(e,t,n,i){return ZQ(t).pipe(BQ(t=>E0(function(e,t){return null!==e&&t&&t(new Y6(e)),YQ(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new J6(e)),YQ(!0)}(t.route,i),function(e,t,n){const i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>I0(()=>YQ(t.guards.map(r=>{const s=a7(t.node)??n,o=U7(r,s);return $8(function(e){return e&&G7(e.canActivateChild)}(o)?o.canActivateChild(i,e):Mb(s,()=>o(i,e))).pipe(S8())})).pipe(K7())));return YQ(r).pipe(K7())}(e,t.path,n),function(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?YQ(i.map(i=>I0(()=>{const r=a7(t)??n,s=U7(i,r);return $8(function(e){return e&&G7(e.canActivate)}(s)?s.canActivate(t,e):Mb(r,()=>s(t,e))).pipe(S8())}))).pipe(K7()):YQ(!0)}(e,t.route,n))),S8(e=>!0!==e,!0))}(i,s,e,t):YQ(n)),Ox(e=>({...n,guardsResult:e})))})}(this.environmentInjector,e=>this.events.next(e)),H5(e=>{if(t.guardsResult=e.guardsResult,e.guardsResult&&"boolean"!=typeof e.guardsResult)throw R7(this.urlSerializer,e.guardsResult);const n=new U6(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.events.next(n)}),FQ(e=>!!e.guardsResult||(this.cancelNavigationTransition(e,"",P6.GuardRejected),!1)),g9(e=>{if(0!==e.guards.canActivateChecks.length)return YQ(e).pipe(H5(e=>{const t=new q6(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects),e.targetSnapshot);this.events.next(t)}),$Q(e=>{let t=!1;return YQ(e).pipe((n=this.paramsInheritanceStrategy,i=this.environmentInjector,RQ(e=>{const{targetSnapshot:t,guards:{canActivateChecks:r}}=e;if(!r.length)return YQ(e);const s=new Set(r.map(e=>e.route)),o=new Set;for(const e of s)if(!o.has(e))for(const t of m9(e))o.add(t);let a=0;return ZQ(o).pipe(BQ(e=>s.has(e)?function(e,t,n,i){const r=e.routeConfig,s=e._resolve;return void 0===r?.title||S7(r)||(s[O8]=r.title),I0(()=>(e.data=y7(e,e.parent,n).resolve,function(e,t,n,i){const r=B8(e);if(0===r.length)return YQ({});const s={};return ZQ(r).pipe(RQ(r=>function(e,t,n,i){const r=a7(t)??i,s=U7(e,r);return $8(s.resolve?s.resolve(t,n):Mb(r,()=>s(t,n)))}(e[r],t,n,i).pipe(S8(),H5(e=>{if(e instanceof L7)throw R7(new X8,e);s[r]=e}))),I8(1),Ox(()=>s),T8(e=>Z7(e)?A0:b8(e)))}(s,e,t,i).pipe(Ox(t=>(e._resolvedData=t,e.data={...e.data,...t},null)))))}(e,t,n,i):(e.data=y7(e,e.parent,n).resolve,YQ(void 0))),H5(()=>a++),I8(1),RQ(t=>a===o.size?YQ(e):A0))})),H5({next:()=>t=!0,complete:()=>{t||this.cancelNavigationTransition(e,"undefined"==typeof ngDevMode||ngDevMode?"At least one route resolver didn't emit any value.":"",P6.NoDataFromRe
1solver)}}));var n,i}),H5(e=>{const t=new W6(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects),e.targetSnapshot);this.events.next(t)}))}),g9(e=>{const t=e=>{const n=[];if(e.routeConfig?.loadComponent){const t=a7(e)??this.environmentInjector;n.push(this.configLoader.loadComponent(t,e.routeConfig).pipe(H5(t=>{e.component=t}),Ox(()=>{})))}for(const i of e.children)n.push(...t(i));return n};return m8(t(e.targetSnapshot.root)).pipe(x8(null),D0(1))}),g9(()=>this.afterPreactivation()),$Q(()=>{const{currentSnapshot:e,targetSnapshot:n}=t,i=this.createViewTransition?.(this.environmentInjector,e.root,n.root);return i?ZQ(i).pipe(Ox(()=>t)):YQ(t)}),Ox(n=>{const i=function(e,t,n){const i=P7(e,t._root,n?n._root:void 0);return new m7(i,t)}(e.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=t={...n,targetRouterState:i},this.currentNavigation.update(e=>(e.targetRouterState=i,e)),t}),H5(()=>{this.events.next(new e7)}),(i=this.rootContexts,r=e.routeReuseStrategy,s=e=>this.events.next(e),o=this.inputBindingEnabled,Ox(e=>(new $7(r,e.targetRouterState,e.currentRouterState,s,o).activate(i),e))),D0(1),D8(new jg.c(e=>{const n=t.abortController.signal,i=()=>e.next();return n.addEventListener("abort",i),()=>n.removeEventListener("abort",i)}).pipe(FQ(()=>!n&&!t.targetRouterState),H5(()=>{this.cancelNavigationTransition(t,t.abortController.signal.reason+"",P6.Aborted)}))),H5({next:e=>{n=!0,this.lastSuccessfulNavigation=Uq(this.currentNavigation),this.events.next(new F6(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects))),this.titleStrategy?.updateTitle(e.targetRouterState.snapshot),e.resolve(!0)},complete:()=>{n=!0}}),D8(this.transitionAbortWithErrorSubject.pipe(H5(e=>{throw e}))),VQ(()=>{if(!n){const e="undefined"==typeof ngDevMode||ngDevMode?`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`:"";this.cancelNavigationTransition(t,e,P6.SupersededByNewNavigation)}this.currentTransition?.id===t.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),T8(e=>{if(this.destroyed)return t.resolve(!1),A0;if(n=!0,F7(e))this.events.next(new V6(t.id,this.urlSerializer.serialize(t.extractedUrl),e.message,e.cancellationCode)),F7(i=e)&&g6(i.url)?this.events.next(new t7(e.url,e.navigationBehaviorOptions)):t.resolve(!1);else{const n=new j6(t.id,this.urlSerializer.serialize(t.extractedUrl),e,t.targetSnapshot??void 0);try{const i=Mb(this.environmentInjector,()=>this.navigationErrorHandler?.(n));if(!(i instanceof L7))throw this.events.next(n),e;{const{message:e,cancellationCode:n}=R7(this.urlSerializer,i);this.events.next(new V6(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n)),this.events.next(new t7(i.redirectTo,i.navigationBehaviorOptions))}}catch(e){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(e)}}var i;return A0}));var i,r,s,o}))}cancelNavigationTransition(e,t,n){const i=new V6(e.id,this.urlSerializer.serialize(e.extractedUrl),t,n);this.events.next(i),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=Uq(this.currentNavigation),n=t?.targetBrowserUrl??t?.extractedUrl;return e.toString()!==n?.toString()&&!t?.extras.skipLocationChange}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:D9,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:D9,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:D9,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[]});class M9{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:M9,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:M9,providedIn:"root",useFactory:()=>Dy(P9)})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:M9,decorators:[{type:bC,args:[{providedIn:"root",useFactory:()=>Dy(P9)}]}]});class O9{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}
1class P9 extends O9{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:P9,deps:null,target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:P9,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:P9,decorators:[{type:bC,args:[{providedIn:"root"}]}]});class L9{urlSerializer=Dy(J8);options=Dy(b9,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=Dy(aK);urlHandlingStrategy=Dy(C9);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new G8;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:n}){const i=void 0!==e?this.urlHandlingStrategy.merge(e,t):t,r=n??i;return r instanceof G8?this.urlSerializer.serialize(r):r}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:n}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,n),this.routerState=e):this.rawUrlTree=n}routerState=g7(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:L9,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:L9,providedIn:"root",useFactory:()=>Dy(N9)})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:L9,decorators:[{type:bC,args:[{providedIn:"root",useFactory:()=>Dy(N9)}]}]});class N9 extends L9{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{"popstate"===t.type&&setTimeout(()=>{e(t.url,t.state,"popstate")})})}handleRouterEvent(e,t){e instanceof B6?this.updateStateMemento():e instanceof $6?this.commitTransition(t):e instanceof H6?"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof e7?(this.commitTransition(t),"deferred"!==this.urlUpdateStrategy||t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof V6&&e.code!==P6.SupersededByNewNavigation&&e.code!==P6.Redirect?this.restoreHistory(t):e instanceof j6?this.restoreHistory(t,!0):e instanceof F6&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:t,id:n}){const{replaceUrl:i,state:r}=t;if(this.location.isCurrentPathEqualTo(e)||i){const t=this.browserPageId,i={...r,...this.generateNgRouterState(n,t)};this.location.replaceState(e,"",i)}else{const t={...r,...this.generateNgRouterState(n,this.browserPageId+1)};this.location.go(e,"",t)}}restoreHistory(e,t=!1){if("computed"===this.canceledNavigationResolution){const t=this.browserPageId,n=this.currentPageId-t;0!==n?this.location.historyGo(n):this.getCurrentUrlTree()===e.finalUrl&&0===n&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,"ɵrouterPageId":t}:{navigationId:e}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:N9,deps:null,target:hG.Injectable});
1static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:N9,providedIn:"root"})}function R9(e,t){e.events.pipe(FQ(e=>e instanceof F6||e instanceof V6||e instanceof j6||e instanceof $6),Ox(e=>e instanceof F6||e instanceof $6?0:e instanceof V6&&(e.code===P6.Redirect||e.code===P6.SupersededByNewNavigation)?2:1),FQ(e=>2!==e),D0(1)).subscribe(()=>{t()})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:N9,decorators:[{type:bC,args:[{providedIn:"root"}]}]});const B9={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},F9={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class V9{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=Dy(dB);stateManager=Dy(L9);options=Dy(b9,{optional:!0})||{};pendingTasks=Dy(_x);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=Dy(D9);urlSerializer=Dy(J8);location=Dy(aK);urlHandlingStrategy=Dy(C9);injector=Dy(Cb);_events=new Gg;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=Dy(M9);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=Dy(w9,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!Dy(A7,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(ngDevMode?`Unhandled Navigation Error: ${e}`:e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Hg.yU;subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(e=>{try{const n=this.navigationTransitions.currentTransition,i=Uq(this.navigationTransitions.currentNavigation);if(null!==n&&null!==i)if(this.stateManager.handleRouterEvent(e,i),e instanceof V6&&e.code!==P6.Redirect&&e.code!==P6.SupersededByNewNavigation)this.navigated=!0;else if(e instanceof F6)this.navigated=!0;else if(e instanceof t7){const i=e.navigationBehaviorOptions,r=this.urlHandlingStrategy.merge(e.url,n.currentRawUrl),s={browserUrl:n.extras.browserUrl,info:n.extras.info,skipLocationChange:n.extras.skipLocationChange,replaceUrl:n.extras.replaceUrl||"eager"===this.urlUpdateStrategy||(t=n.source,t!==M6),...i};this.scheduleNavigation(r,M6,null,s,{resolve:n.resolve,reject:n.reject,promise:n.promise})}(function(e){return!(e instanceof e7||e instanceof t7)})(e)&&this._events.next(e)}catch(e){this.navigationTransitions.transitionAbortWithErrorSubject.next(e)}var t});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),M6,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,n)=>{this.navigateToSyncWithBrowser(e,n,t)})}navigateToSyncWithBrowser(e,t,n){const i={replaceUrl:!0},r=n?.navigationId?n:null;if(n){const e={...n};delete e.navigationId,delete e.ɵrouterPageId,0!==Object.keys(e).length&&(i.state=e)}const s=this.parseUrl(e);this.scheduleNavigation(s,t,r,i).catch(e=>{this.disposed||this.injector.get(rx)(e)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Uq(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){("undefined"==typeof ngDevMode||ngDevMode)&&n7(e),this.config=e.map(O7),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:o}=t,a=o?this.currentUrlTree.fragment:r;let l,c=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{l=v6(n?n.snapshot:this.routerState.snapshot.root)}catch(t){"string"==typeof e[0]&&"/"===e[0][0]||(e=[]),l=this.currentUrlTree.root}return y6(l,e,c,a??null)}navigateByUrl(e,t={skipLocationChange:!1}){const n=g6(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,M6,null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new ev(4008,("undefined"==typeof ngDevMode||ngDevMode)&&`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(t){return this.console.warn(tv(4018,ngDevMode&&`Error parsing URL ${e}. Falling back to '/' instead. \n`+t)),this.urlSerializer.parse("/")}}isActive(e,t){let n;if(n=!0===t?{...B9}:!1===t?{...F9}:t,g6(e))return z8(this.currentUrlTree,e,n);const i=this.parseUrl(e);return z8(this.currentUrlTree,i,n)}removeEmptyProps(e){return Object.entries(e).reduce((e,[t,n])=>(null!=n&&(e[t]=n),e),{})}scheduleNavigation(e,t,n,i,r){if(this.disposed)return Promise.resolve(!1);let s,o,a;r?(s=r.resolve,o=r.reject,a=r.promise):a=new Promise((e,t)=>
1{s=e,o=t});const l=this.pendingTasks.add();return R9(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:i,resolve:s,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(e=>Promise.reject(e))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:V9,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:V9,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:V9,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[]});var $9=o(3323),j9=function(){function e(){}return e.prototype.transform=function(e,t,n,i){if(void 0===t&&(t="|"),e){if(e.includes(t)){var r=e.split(t);if(void 0===n)return r;var s=r[n];switch(i){case"lowercase":return s.toLowerCase();case"uppercase":return s.toUpperCase();default:return s}}return e}},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"splitString",type:e,pure:!0,standalone:!1}),e}();function H9(e,t){if(1&e&&(o$(0,"img",0),nU(1,"translate")),2&e){var n=qj();n$("src",n.path(n.icon),ZI)("alt",iU(1,2,"BLIVE_AVATAR_"+n.iconString))}}function z9(e,t){if(1&e&&(o$(0,"img",0),nU(1,"translate")),2&e){var n=qj(2);n$("src",n.path(n.icon),ZI)("alt",iU(1,2,"BLIVE_AVATAR_"+n.iconString))}}function U9(e,t){if(1&e&&(r$(0,"span"),nU(1,"splitString"),HV(2,z9,2,4,"img",0),s$()),2&e){var n=qj();SH(bz("",n.wrapperClass," ",oU(1,8,n.icon,"|",0,"lowercase")," ",n.defaultIcon)),xH("unassigned",!n.icon),$A(2),UV(n.icon?2:-1)}}var q9=function(){function e(){this.imgPath=$9.q.getThemeImagePath()+"boersespiel/avatar/"}return e.prototype.path=function(e){var t,n;if(e&&"null"!==e){if(e.includes("|"))t=(e=e.split("|"))[0].toLowerCase(),n=e[1];else switch(n=e,!0){case e.startsWith("m"):t="male";break;case e.startsWith("w"):t="female";break;case e.startsWith("job"):t="jobs";break;case e.startsWith("sport"):t="sports";break;case e.startsWith("animal"):t="animals"}return this.iconString=n,this.imgPath+t+"/"+n+".svg"}},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["avatar"]],inputs:{icon:"icon",wrapperClass:"wrapperClass",defaultIcon:"defaultIcon"},standalone:!1,decls:2,vars:2,consts:[[3,"src","alt"],[3,"class","unassigned"]],template:function(e,t){1&e&&(HV(0,H9,2,4,"img",0),HV(1,U9,3,13,"span",1)),2&e&&(UV(t.icon&&!t.wrapperClass?0:-1),$A(),UV(t.wrapperClass?1:-1))},dependencies:[t2,j9],encapsulation:2}),e}(),W9=["resultFilters"],G9=["editBtn"],Z9=["navTabs"];function Y9(e,t){if(1&e){var n=w$();r$(0,"button",11),jj("click",function(){return a_(n),l_(qj().updateAvatar())}),r$(1,"span",12),o$(2,"span",13),r$(3,"span",14),VH(4," Profilbild löschen"),s$()()()}}function K9(e,t){if(1&e){var n=w$();r$(0,"button",18,2),jj("click",function(){var e=a_(n).$implicit;return l_(qj(2).toggleGroup(e.name))})("keydown.arrowLeft",function(){var e=a_(n).$index;return l_(qj(2).shiftFocus("prev",e))})("keydown.arrowRight",function(){var e=a_(n).$index;return l_(qj(2).shiftFocus("next",e))}),s$()}if(2&e){var i=t.$implicit,r=qj(2);xH("active",i.name===r.activeGroup),n$("id","avatar-group-"+i.name)("tabIndex",i.name===r.activeGroup?"0":"-1")("translate",i.name),sV("aria-selected",i.name===r.activeGroup)("aria-controls","radiogroup-avatar")}}function J9(e,t){if(1&e){var n=w$();r$(0,"div",19)(1,"button",20),nU(2,"lowercase"),jj("click",function(){var e=a_(n).$implicit,t=qj(2).$implicit;return l_(qj(2).updateAvatar(t.name,e.filename))}),o$(3,"avatar",4),r$(4,"span",14),VH(5),s$()()()}if(2&e){var i=t.$implicit,r=qj(2).$implicit,s=qj(2);$A(),SH(vz("avatar-picker avatar ",iU(2,10,r.name)," btn-clear")),xH("selected",r.name+"|"+i.filename===s.model),sV("aria-checked",r.name+"|"+i.filename===s.model),$A(2),n$("icon",i.filename),$A(2),ez("",i.label," - Avatar ",i.counter," von ",i.max)}}function X9(e,t){1&e&&YV(0,J9,6,12,"div",19,GV),2&e&&XV(qj().$implicit.icons)}function Q9(e,t){if(1&e&&HV(0,X9,2,0),2&e){var n=t.$implicit;UV(qj(2).activeGroup===n.name?0:-1)}}function eee(e,t){if(1&e&&(r$(0,"div",10)(1,"div",15),YV(2,K9,2,7,"button",16,GV),s$(),r$(4,"div",17),YV(5,Q9,1,1,null,null,GV),s$()()),2&e){var n=qj();$A(2),XV(n.genderGroups),$A(2),sV("aria-labelledby","avatar-group-"+n.activeGroup),$A(),XV(n.genderGroups)}}var tee=function(){function e(e){var t=this;this.cd=e,this.modelChange=new rD,this.open=!1,this.themeImgPath=$9.q.getThemeImagePath(),this.genderGroups=[{name:"MALE",label:"Männliches Avatar",icons:this.createIcons("m")},{name:"FEMALE",label:"Weibliches Avatar",icons:this.createIcons("w")},{name:"ANIMALS",label:"Tiere Avatar",icons:this.createIcons("animal",54)},{name:"SPORTS",label:"Hobbys Avatar",icons:this.createIcons("sport",60)},{name:"JOBS",label:"Berufe Avatar",icons:this.createIcons("job",55)}],this.imgPath=$9.q.getThemeImagePath()+"boersespiel/avatar/",this.openAvatarSelector=function(){t.activeGroup=t.checkActiveGroup();var e={baseClass:"resultFilterFancybox",afterLoad:function(){t.triggerOpen(!0)},afterClose:function(){t.triggerOpen(!1),t.editAvatarBtn.nativeElement.focus()}};E5.A.openFancybox(t.overlay.nativeElement,e,"article")},this.triggerOpen=function(e){t.open=e,t.cd.detectChanges()},this.updateAvatar=function(e,n){e+"|"+n!==t.model&&n?t.model=e+"|"+n:(t.model=null,t.editAvatarBtn.nativeElement.focus()),t.selected=t.model,t.modelChange.emit(t.selected),e&&E5.A.closeFancybox(),t.cd.detectChanges()}}return e.prototype.ngOnInit=function(){},e.prototype.shiftFocus=function(e,t){"next"===e?t<this.tabElements.length-1?this.tabElements.forEac
1h(function(e,n){t+1===n&&e.nativeElement.focus()}):this.tabElements.first.nativeElement.focus():"prev"===e&&(t>0?this.tabElements.forEach(function(e,n){t-1===n&&e.nativeElement.focus()}):this.tabElements.last.nativeElement.focus())},e.prototype.checkActiveGroup=function(){var e="Frau"===this.salutation?"FEMALE":"MALE";return this.model&&(e=this.model.split("|")[0]),e},e.prototype.createIcons=function(e,t){void 0===t&&(t=40);for(var n=[],i=1;i<=t;i++){var r=e+i;n.push({filename:r,counter:i,max:t})}return n},e.prototype.toggleGroup=function(e){this.activeGroup=e,this.cd.detectChanges()},e.prototype.getStyleType=function(e){return e?e.split("|")[0].toLowerCase():"unassigned"},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["avatar-dialog"]],viewQuery:function(e,t){if(1&e&&(Kj(W9,5),Kj(G9,5),Kj(Z9,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.overlay=n.first),Jj(n=Xj())&&(t.editAvatarBtn=n.first),Jj(n=Xj())&&(t.tabElements=n)}},inputs:{salutation:"salutation",model:"model"},outputs:{modelChange:"modelChange"},standalone:!1,decls:13,vars:13,consts:[["editBtn",""],["resultFilters",""],["navTabs",""],[1,"user-profile-image"],[3,"icon"],["type","button",1,"edit",3,"click"],[1,"icon-edit"],["type","button",1,"delete-profile-img"],[1,"collapse",2,"display","none"],[1,"text-center"],[1,"column-wrapper","avatar-collection"],["type","button",1,"delete-profile-img",3,"click"],[1,"delete"],["aria-hidden","true",1,"icon-trash"],[1,"visually-hidden"],["role","tablist",1,"component-spacer","button-list"],["type","button","role","tab",1,"btn","btn-button-list",3,"id","active","tabIndex","translate"],["id","radiogroup-avatar","role","tabpanel",1,"row"],["type","button","role","tab",1,"btn","btn-button-list",3,"click","keydown.arrowLeft","keydown.arrowRight","id","tabIndex","translate"],[1,"col-md-3","col-sm-4","col-4"],["role","radio",3,"click"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",3)(1,"div"),o$(2,"avatar",4),r$(3,"button",5,0),jj("click",function(){return a_(n),l_(t.openAvatarSelector())}),o$(5,"span",6),VH(6," Profilbild bearbeiten "),s$(),HV(7,Y9,5,0,"button",7),s$(),r$(8,"div",8,1)(10,"h2",9),VH(11,"Wählen Sie ein Benutzerbild"),s$(),HV(12,eee,7,1,"div",10),s$()()}2&e&&($A(),SH(vz("avatar-settings avatar ",t.getStyleType(t.model))),xH("female","Frau"===t.salutation&&!t.model)("male","Herr"===t.salutation&&!t.model)("neutral",!t.salutation&&!t.model),$A(),n$("icon",t.model),$A(),sV("aria-haspopup","dialog"),$A(4),UV(t.model?7:-1),$A(5),UV(t.open?12:-1))},dependencies:[q9,e2,gX],encapsulation:2}),e}(),nee=["*"],iee=function(){function e(e){this.df=e}return e.prototype.ngOnChanges=function(){this.df.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-validation-container"]],inputs:{id:"id"},standalone:!1,features:[ok],ngContentSelectors:nee,decls:4,vars:2,consts:[[1,"component-form-validation"],[1,"validation-box","hide-validation-box","parsley-error",3,"id"],[1,"validation-inner"]],template:function(e,t){1&e&&(Gj(),r$(0,"div",0)(1,"div",1)(2,"div",2),Zj(3),s$()()()),2&e&&($A(),n$("id",vz("validation-box-",t.id)))},encapsulation:2}),e}(),ree=["navTabs"],see=function(e){return{"form-field-disabled":e}},oee=function(){return{bindLabel:"value",bindValue:"value"}};function aee(e,t){1&e&&(r$(0,"h1"),VH(1,"Anmeldung"),s$())}function lee(e,t){1&e&&(r$(0,"h2"),VH(1,"Benutzereinstellungen"),s$())}function cee(e,t){if(1&e){var n=w$();r$(0,"button",74,11),jj("click",function(){var e=a_(n).$implicit;qj(2);var t=nH(6);return l_(qj().setActiveGroup("group",e.value,t))})("keydown.arrowLeft",function(){var e=a_(n).$index;return l_(qj(3).shiftFocus("prev",e))})("keydown.arrowRight",function(){var e=a_(n).$index;return l_(qj(3).shiftFocus("next",e))}),VH(2),s$()}if(2&e){var i=t.$implicit,r=qj(3);SH(r.activeGroupStyle(i.value,r.userProfile.group)),n$("title",gz(i.title))("id","settings-tab-"+i.value)("tabIndex",i.value===r.userProfile.group?"0":"-1"),sV("aria-selected",i.value===r.userProfile.group)("aria-controls","user-settings-panel"),$A(2),XH(" ",i.title," ")}}function uee(e,t){if(1&e&&(r$(0,"div",27),YV(1,cee,3,9,"button",73,GV),s$()),2&e){var n=qj(2);$A(),XV(n.groups)}}function dee(e,t){1&e&&(r$(0,"span"),VH(1,"Der eingegebene Benutzername ist bereits vergeben!"),s$())}function hee(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie Ihren Benutzernamen ein!"),s$())}function pee(e,t){if(1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),HV(3,dee,2,0,"span"),HV(4,hee,2,0,"span"),s$()()),2&e){var n=qj(2);n$("id","login"),$A(3),UV(n.userExistError?3:-1),$A(),UV(n.userExistError?-1:4)}}function fee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),s$()()),2&e&&n$("id","login")}function mee(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie Ihr Passwort ein!"),s$())}function gee(e,t){1&e&&(r$(0,"span"),VH(1,"Passwort entspricht nicht den Richtlinien!"),s$())}function vee(e,t){if(1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),HV(3,mee,2,0,"span"),HV(4,gee,2,0,"span"),s$()()),2&e){qj();var n=nH(22);n$("id","password"),$A(3),UV(""===(null==n.innerControl?null:n.innerControl.value)?3:-1),$A(),UV(""!==(null==n.innerControl?null:n.innerControl.value)?4:-1)}}function yee(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte bestätigen Sie Ihr Passwort!"),s$())}function bee(e,t){1&e&&(r$(0,"span"),VH(1,"Passwort und Passwort-Bestätigung stimmen nicht überein!"),s$())}function wee(e,t){if(1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),HV(3,yee,2,0,"span"),HV(4,bee,2,0,"span"),s$()()),2&e){var n=qj(2);n$("id","passwordConfirm"),$A(3),UV(n.matchPassword?-1:3),$A(),UV(n.matchPassword?4:-1)}}function _ee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte wählen Sie ihr Bundesland aus!"),s$()()()),2&e&&n$("id","federalState")}function xee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte wählen Sie eine Bank aus!"),s$()()()),2&e&&n$("id","bank")}function kee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte wählen Sie eine Bankstelle au
1s!"),s$()()()),2&e&&n$("id","bankbranch")}function Cee(e,t){if(1&e){var n=w$();r$(0,"div",77)(1,"rwm-select",81,14),uz("ngModelChange",function(e){a_(n);var t=qj(3);return cz(t.userProfile.bankbranch,e)||(t.userProfile.bankbranch=e),l_(e)}),s$(),HV(3,kee,5,1,"rwm-validation-container",35),s$()}if(2&e){var i=nH(2),r=qj(3);xH("form-error",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&r.isEmpty(r.userProfile.bankbranch)),$A(),lz("ngModel",r.userProfile.bankbranch),n$("selectOptions",$z(11,oee))("items",r.selectGroupChildItems(r.userProfile.bank,"bank",i))("id","bankbranch")("label","Bankstelle *")("sortable",!0)("required",!0)("fieldInvalid",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&r.isEmpty(r.userProfile.bankbranch)),$A(2),UV((r.submitted||null!=i.innerControl&&i.innerControl.touched)&&r.isEmpty(r.userProfile.bankbranch)?3:-1)}}function See(e,t){if(1&e){var n=w$();r$(0,"div",77)(1,"rwm-select",78,12),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.federalState,e)||(t.userProfile.federalState=e),l_(e)}),s$(),HV(3,_ee,5,1,"rwm-validation-container",35),s$(),r$(4,"div",77)(5,"rwm-select",79,13),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.bank,e)||(t.userProfile.bank=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj(2);return e.clearModel("bankbranch"),l_(e.hasBranches(e.userProfile.bank,"bank"))}),s$(),HV(7,xee,5,1,"rwm-validation-container",35),s$(),HV(8,Cee,4,12,"div",80)}if(2&e){var i=nH(2),r=nH(6),s=qj(2);xH("form-error",(s.submitted||(null==i.innerControl?null:i.innerControl.touched))&&s.isEmpty(s.userProfile.federalState)),$A(),n$("id","federalState"),lz("ngModel",s.userProfile.federalState),n$("selectOptions",s.selectOptionsFederalState)("items",s.federalStateItems)("label","Bundesland *")("sortable",!0)("required",!0)("fieldInvalid",(s.submitted||(null==i.innerControl?null:i.innerControl.touched))&&s.isEmpty(s.userProfile.federalState)),$A(2),UV((s.submitted||null!=i.innerControl&&i.innerControl.touched)&&s.isEmpty(s.userProfile.federalState)?3:-1),$A(),xH("form-error",(s.submitted||(null==r.innerControl?null:r.innerControl.touched))&&s.isEmpty(s.userProfile.bank)),$A(),lz("ngModel",s.userProfile.bank),n$("selectOptions",$z(23,oee))("items",s.bankGroups)("id","bank")("label","Bank *")("sortable",!0)("required",!0)("fieldInvalid",(s.submitted||(null==r.innerControl?null:r.innerControl.touched))&&s.isEmpty(s.userProfile.bank)),$A(2),UV((s.submitted||null!=r.innerControl&&r.innerControl.touched)&&s.isEmpty(s.userProfile.bank)?7:-1),$A(),UV(s.userProfile.bank&&!s.hideBranches?8:-1)}}function Tee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte wählen Sie einen Schulbezirk aus!"),s$()()()),2&e&&n$("id","schooldistrict")}function Eee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte wählen Sie eine Schule aus!"),s$()()()),2&e&&n$("id","school")}function Iee(e,t){if(1&e){var n=w$();r$(0,"div",77)(1,"rwm-select",83,16),uz("ngModelChange",function(e){a_(n);var t=qj(3);return cz(t.userProfile.school,e)||(t.userProfile.school=e),l_(e)}),s$(),HV(3,Eee,5,1,"rwm-validation-container",35),s$()}if(2&e){var i=nH(2),r=qj(3);xH("form-error",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&r.isEmpty(r.userProfile.school)),$A(),lz("ngModel",r.userProfile.school),n$("selectOptions",$z(11,oee))("items",r.selectGroupChildItems(r.userProfile.schooldistrict,"school"))("id","school")("label","Schule *")("sortable",!0)("required",!0)("fieldInvalid",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&r.isEmpty(r.userProfile.school)),$A(2),UV((r.submitted||null!=i.innerControl&&i.innerControl.touched)&&r.isEmpty(r.userProfile.school)?3:-1)}}function Aee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte geben Sie Ihre Klasse ein!"),s$()()()),2&e&&n$("id","schoolclass")}function Dee(e,t){if(1&e){var n=w$();r$(0,"div",33)(1,"rwm-input",84,17),uz("ngModelChange",function(e){a_(n);var t=qj(3);return cz(t.userProfile.schoolclass,e)||(t.userProfile.schoolclass=e),l_(e)}
1),s$(),HV(3,Aee,5,1,"rwm-validation-container",35),s$()}if(2&e){var i=nH(2),r=qj(3);xH("form-error",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&(null==i.innerControl?null:i.innerControl.invalid)),$A(),n$("id","schoolclass")("label","Klasse *")("type","text")("required",!0),lz("ngModel",r.userProfile.schoolclass),n$("fieldInvalid",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&(null==i.innerControl?null:i.innerControl.invalid)),$A(2),UV((r.submitted||null!=i.innerControl&&i.innerControl.touched)&&null!=i.innerControl&&i.innerControl.invalid?3:-1)}}function Mee(e,t){if(1&e){var n=w$();r$(0,"div",77)(1,"rwm-select",82,15),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.schooldistrict,e)||(t.userProfile.schooldistrict=e),l_(e)}),jj("modelChange",function(){return a_(n),l_(qj(2).clearModel("school"))}),s$(),HV(3,Tee,5,1,"rwm-validation-container",35),s$(),HV(4,Iee,4,12,"div",80),HV(5,Dee,4,9,"div",48)}if(2&e){var i=nH(2),r=qj(2);xH("form-error",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&r.isEmpty(r.userProfile.schooldistrict)),$A(),lz("ngModel",r.userProfile.schooldistrict),n$("selectOptions",$z(13,oee))("items",r.schoolGroups)("id","schooldistrict")("label","Schulbezirk *")("sortable",!0)("required",!0)("fieldInvalid",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&r.isEmpty(r.userProfile.schooldistrict)),$A(2),UV((r.submitted||null!=i.innerControl&&i.innerControl.touched)&&r.isEmpty(r.userProfile.schooldistrict)?3:-1),$A(),UV(r.userProfile.schooldistrict?4:-1),$A(),UV(r.userProfile.schooldistrict?5:-1)}}function Oee(e,t){1&e&&(r$(0,"span",38),VH(1,"Ansprechpartner (Lehrperson)"),s$())}function Pee(e,t){if(1&e){var n=w$();r$(0,"button",85),jj("click",function(){var e=a_(n).$implicit;return l_(qj(2).setActiveGroup("salutation",e))})("focusout",function(e){return a_(n),l_(qj(2).salutationFocusout(e))}),VH(1),s$()}if(2&e){var i=t.$implicit,r=qj(2);SH(r.activeGroupStyle(i,r.userProfile.salutation)),xH("ng-invalid",(r.submitted||r.salutationTouched)&&r.isEmpty(r.userProfile.salutation)),sV("aria-pressed",r.ariaState(i,r.userProfile.salutation))("aria-invalid",(r.submitted||r.salutationTouched)&&r.isEmpty(r.userProfile.salutation))("aria-describedby","validation-box-salutation"),$A(),XH(" ",i," ")}}function Lee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte wählen Sie eine Anrede aus!"),s$()()()),2&e&&n$("id","salutation")}function Nee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte geben Sie Ihren Vornamen ein!"),s$()()()),2&e&&n$("id","firstname")}function Ree(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte geben Sie Ihren Nachnamen ein!"),s$()()()),2&e&&n$("id","lastname")}function Bee(e,t){1&e&&(r$(0,"span"),VH(1,"Die eingegebene E-Mail Adresse ist bereits vergeben!"),s$())}function Fee(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie Ihre E-Mail Adresse ein!"),s$())}function Vee(e,t){if(1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),HV(3,Bee,2,0,"span"),HV(4,Fee,2,0,"span"),s$()()),2&e){var n=qj(2);n$("id","email"),$A(3),UV(n.emailExistError?3:-1),$A(),UV(n.emailExistError?-1:4)}}function $ee(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie Ihr Geburtsdatum ein!"),s$())}function jee(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie ein gültiges Geburtsdatum ein!"),s$())}function Hee(e,t){if(1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),HV(3,$ee,2,0,"span"),HV(4,jee,2,0,"span"),s$()()),2&e){var n=qj(3);n$("id","birthday"),$A(3),UV(n.birthdayError?-1:3),$A(),UV(n.birthdayError?4:-1)}}function zee(e,t){if(1&e){var n=w$();r$(0,"div",86)(1,"rwm-input",87,18),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.birthday,e)||(t.userProfile.birthday=e),l_(e)}),jj("modelChange",function(){a_(n);var e=nH(2);return l_(qj(2).updateDate(e))}),s$(),HV(3,Hee,5,3,"rwm-validation-container",35),s$()}if(2&e){var i=nH(2),r=qj(2);xH("form-error",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&((null==i.innerControl?null:i.innerControl.invalid)||r.birthdayError)),$A(),n$("id","birthday")("label","Geburtsdatum *")("type","date")("minDate",r.minDate)("maxDate","adult"===r.userProfile.group?r.maxDateAdult:r.maxDate)("required",!0),lz("ngModel",r.userProfile.birthday),n$("fieldInvalid",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&((null==i.innerControl?null:i.innerControl.invalid)||r.birthdayError))("invalidClass",r.birthdayError),$A(2),UV((r.submitted||null!=i.innerControl&&i.innerControl.touched)&&(null!=i.innerControl&&i.innerControl.invalid||r.birthdayError)?3:-1)}}function Uee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte geben Sie Ihren Beruf ein!"),s$()()()),2&e&&n$("id","profession")}function qee(e,t){if(1&e){var n=w$();r$(0,"div",33)(1,"rwm-input",88,19),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.profession,e)||(t.userProfile.profession=e),l_(e)}
1),s$(),HV(3,Uee,5,1,"rwm-validation-container",35),s$()}if(2&e){var i=nH(2),r=qj(2);xH("form-error",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&(null==i.innerControl?null:i.innerControl.invalid)),$A(),n$("id","profession")("label","Beruf *")("type","text")("required",!0),lz("ngModel",r.userProfile.profession),n$("fieldInvalid",(r.submitted||(null==i.innerControl?null:i.innerControl.touched))&&(null==i.innerControl?null:i.innerControl.invalid)),$A(2),UV((r.submitted||null!=i.innerControl&&i.innerControl.touched)&&null!=i.innerControl&&i.innerControl.invalid?3:-1)}}function Wee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte geben Sie Straße und Hausnummer ein!"),s$()()()),2&e&&n$("id","street")}function Gee(e,t){1&e&&(r$(0,"span"),VH(1," Die PLZ fehlt! "),s$())}function Zee(e,t){1&e&&(r$(0,"span"),VH(1," Der Ort fehlt! "),s$())}function Yee(e,t){1&e&&(r$(0,"span"),VH(1," Bitte geben Sie PLZ und Ort ein! "),s$())}function Kee(e,t){1&e&&(r$(0,"span"),VH(1," Bitte geben Sie eine gültige Adresse ein! "),s$())}function Jee(e,t){if(1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),HV(3,Gee,2,0,"span"),HV(4,Zee,2,0,"span"),HV(5,Yee,2,0,"span"),HV(6,Kee,2,0,"span"),s$()()),2&e){qj();var n=nH(6),i=qj(2);n$("id","address"),$A(3),UV(null!=n.innerControl&&null!=n.innerControl.errors&&n.innerControl.errors.pattern||!i.isEmpty(i.userProfile.zipCode)||!i.userProfile.city?-1:3),$A(),UV(null!=n.innerControl&&null!=n.innerControl.errors&&n.innerControl.errors.pattern||!i.isEmpty(i.userProfile.city)||!i.userProfile.zipCode?-1:4),$A(),UV(i.isEmpty(i.userProfile.city)&&i.isEmpty(i.userProfile.zipCode)?5:-1),$A(),UV(null!=n.innerControl&&null!=n.innerControl.errors&&n.innerControl.errors.pattern?6:-1)}}function Xee(e,t){if(1&e){var n=w$();r$(0,"div",33)(1,"rwm-input",89,20),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.street,e)||(t.userProfile.street=e),l_(e)}),s$(),HV(3,Wee,5,1,"rwm-validation-container",35),s$(),r$(4,"div",33)(5,"rwm-input",90,21),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.address,e)||(t.userProfile.address=e),l_(e)}),jj("modelChange",function(){a_(n);var e=nH(6);return l_(qj(2).splitZipCodeCity(null==e.innerControl?null:e.innerControl.value))}),s$(),HV(7,Jee,7,5,"rwm-validation-container",35),s$()}if(2&e){var i=nH(2),r=nH(6),s=qj(2);xH("form-error",(s.submitted||(null==i.innerControl?null:i.innerControl.touched))&&(null==i.innerControl?null:i.innerControl.invalid)),$A(),n$("id","street")("label","Straße / Hausnummer *")("type","text")("required",!0),lz("ngModel",s.userProfile.street),n$("fieldInvalid",(s.submitted||(null==i.innerControl?null:i.innerControl.touched))&&(null==i.innerControl?null:i.innerControl.invalid)),$A(2),UV((s.submitted||null!=i.innerControl&&i.innerControl.touched)&&null!=i.innerControl&&i.innerControl.invalid?3:-1),$A(),xH("form-error",(s.submitted||(null==r.innerControl?null:r.innerControl.touched))&&((null==r.innerControl?null:r.innerControl.invalid)||s.showAdressError)),$A(),n$("id","address")("label","PLZ / Ort *")("type","text")("required",!0),lz("ngModel",s.userProfile.address),n$("fieldInvalid",(s.submitted||(null==r.innerControl?null:r.innerControl.touched))&&((null==r.innerControl?null:r.innerControl.invalid)||s.showAdressError))("invalidClass",s.showAdressError),$A(2),UV((s.submitted||null!=r.innerControl&&r.innerControl.touched)&&(null!=r.innerControl&&r.innerControl.invalid||s.showAdressError)?7:-1)}}function Qee(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte geben Sie Straße und Hausnummer ein!"),s$()()()),2&e&&n$("id","street")}function ete(e,t){1&e&&(r$(0,"span"),VH(1," Die PLZ fehlt! "),s$())}function tte(e,t){1&e&&(r$(0,"span"),VH(1," Der Ort fehlt! "),s$())}function nte(e,t){1&e&&(r$(0,"span"),VH(1," Bitte geben Sie PLZ und Ort ein! "),s$())}function ite(e,t){1&e&&(r$(0,"span"),VH(1," Bitte geben Sie eine gültige Adresse ein! "),s$())}function rte(e,t){if(1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),HV(3,ete,2,0,"span"),HV(4,tte,2,0,"span"),HV(5,nte,2,0,"span"),HV(6,ite,2,0,"span"),s$()()),2&e){qj();
1var n=nH(7),i=qj(2);n$("id","address"),$A(3),UV(null!=n.innerControl&&null!=n.innerControl.errors&&n.innerControl.errors.pattern||!i.isEmpty(i.userProfile.zipCode)||!i.userProfile.city?-1:3),$A(),UV(null!=n.innerControl&&null!=n.innerControl.errors&&n.innerControl.errors.pattern||!i.isEmpty(i.userProfile.city)||!i.userProfile.zipCode?-1:4),$A(),UV(i.isEmpty(i.userProfile.city)&&i.isEmpty(i.userProfile.zipCode)?5:-1),$A(),UV(null!=n.innerControl&&null!=n.innerControl.errors&&n.innerControl.errors.pattern?6:-1)}}function ste(e,t){if(1&e){var n=w$();r$(0,"div",29)(1,"div",33)(2,"rwm-input",89,20),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.street,e)||(t.userProfile.street=e),l_(e)}),s$(),HV(4,Qee,5,1,"rwm-validation-container",35),s$(),r$(5,"div",33)(6,"rwm-input",90,21),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.userProfile.address,e)||(t.userProfile.address=e),l_(e)}),jj("modelChange",function(){a_(n);var e=nH(7);return l_(qj(2).splitZipCodeCity(null==e.innerControl?null:e.innerControl.value))}),s$(),HV(8,rte,7,5,"rwm-validation-container",35),s$()()}if(2&e){var i=nH(3),r=nH(7),s=qj(2);$A(),xH("form-error",(s.submitted||(null==i.innerControl?null:i.innerControl.touched))&&(null==i.innerControl?null:i.innerControl.invalid)),$A(),n$("id","street")("label","Straße / Hausnummer *")("type","text")("required",!0),lz("ngModel",s.userProfile.street),n$("fieldInvalid",(s.submitted||(null==i.innerControl?null:i.innerControl.touched))&&(null==i.innerControl?null:i.innerControl.invalid)),$A(2),UV((s.submitted||null!=i.innerControl&&i.innerControl.touched)&&null!=i.innerControl&&i.innerControl.invalid?4:-1),$A(),xH("form-error",(s.submitted||(null==r.innerControl?null:r.innerControl.touched))&&((null==r.innerControl?null:r.innerControl.invalid)||s.showAdressError)),$A(),n$("id","address")("label","PLZ / Ort *")("type","text")("required",!0),lz("ngModel",s.userProfile.address),n$("fieldInvalid",(s.submitted||(null==r.innerControl?null:r.innerControl.touched))&&((null==r.innerControl?null:r.innerControl.invalid)||s.showAdressError))("invalidClass",s.showAdressError),$A(2),UV((s.submitted||null!=r.innerControl&&r.innerControl.touched)&&(null!=r.innerControl&&r.innerControl.invalid||s.showAdressError)?8:-1)}}function ote(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte geben Sie die Telefonnummer ein!"),s$()()()),2&e&&n$("id","mobilephone")}function ate(e,t){1&e&&(r$(0,"rwm-validation-container",35)(1,"p",75),o$(2,"span",76),r$(3,"span"),VH(4,"Bitte akzeptieren Sie die Spielregeln."),s$()()()),2&e&&n$("id","checkbox-acceptConditionsParticipation")}function lte(e,t){if(1&e){var n=w$();r$(0,"div",52)(1,"div",53)(2,"fieldset")(3,"div",54)(4,"label",91)(5,"input",92,22),jj("keydown.enter",function(e){return a_(n),l_(e.preventDefault())})("change",function(){a_(n);var e=nH(6);return l_(qj(2).updateCheckboxModel("ooenews",e.checked))}),s$(),o$(7,"span",57),r$(8,"span",58),o$(9,"p",64),s$()(),r$(10,"tooltip",65),o$(11,"span",66),r$(12,"span",67),VH(13,"Information"),s$()()()()()()}if(2&e){var i=qj(2);$A(5),n$("checked",i.userProfile.ooenews),$A(4),n$("translate","BLIVE_OOEN_ABO_LABEL"),$A(),n$("tooltipContent","BLIVE_OOEN_ABO_INFOCONTENT")("tooltipHeadline","Information")("overflow",!0)}}function cte(e,t){if(1&e){var n=w$();r$(0,"section",23)(1,"div",24),HV(2,aee,2,0,"h1"),HV(3,lee,2,0,"h2"),s$()(),r$(4,"section",25)(5,"form",26,0),jj("ngSubmit",function(){a_(n);var e=nH(6);return l_(qj().submitValidation(e))}),HV(7,uee,3,0,"div",27),r$(8,"div",28)(9,"div",29)(10,"div",30)(11,"avatar-dialog",31,1),uz("modelChange",function(e){a_(n);var t=qj();return cz(t.userProfile.avatarId,e)||(t.userProfile.avatarId=e),l_(e)}),s$()(),r$(13,"div",32)(14,"div",29)(15,"div",33)(16,"rwm-input",34,2),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.userProfile.login,e)||(t.userProfile.login=e),l_(e)}),jj("modelChange",function(){a_(n);var e=nH(17);return l_(qj().checkDuplications(e))}),s$(),HV(18,pee,5,3,"rwm-validation-container",35),HV(19,fee,3,1,"rwm-validation-container",35),s$(),r$(20,"div",33)(21,"rwm-input",36,3),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.userProfile.password,e)||(t.userProfile.password=e),l_(e)}
1),jj("modelChange",function(){a_(n);var e=qj();return l_(e.checkPasswort(e.userProfile.password,e.userProfile.confirmPassword,!0))}),s$(),HV(23,vee,5,3,"rwm-validation-container",35),s$(),r$(24,"div",33)(25,"rwm-input",37,4),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.userProfile.confirmPassword,e)||(t.userProfile.confirmPassword=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj();return l_(e.checkPasswort(e.userProfile.password,e.userProfile.confirmPassword))}),s$(),HV(27,wee,5,3,"rwm-validation-container",35),s$(),HV(28,See,9,24),HV(29,Mee,6,14),s$()()(),HV(30,Oee,2,0,"span",38),r$(31,"div",29)(32,"div",39)(33,"legend")(34,"div",40),VH(35,"Anrede *"),s$()(),r$(36,"div",41)(37,"div",42),YV(38,Pee,2,8,"button",43,GV),s$(),HV(40,Lee,5,1,"rwm-validation-container",35),s$()()(),r$(41,"div",29)(42,"div",33)(43,"rwm-input",44,5),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.userProfile.firstname,e)||(t.userProfile.firstname=e),l_(e)}),s$(),HV(45,Nee,5,1,"rwm-validation-container",35),s$(),r$(46,"div",33)(47,"rwm-input",45,6),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.userProfile.lastname,e)||(t.userProfile.lastname=e),l_(e)}),s$(),HV(49,Ree,5,1,"rwm-validation-container",35),s$(),r$(50,"div",33)(51,"rwm-input",46,7),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.userProfile.email,e)||(t.userProfile.email=e),l_(e)}),s$(),HV(53,Vee,5,3,"rwm-validation-container",35),s$(),HV(54,zee,4,12,"div",47),HV(55,qee,4,9,"div",48),HV(56,Xee,8,19),s$(),HV(57,ste,9,19,"div",29),r$(58,"div",29)(59,"div",49)(60,"rwm-select",50),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.mobilephoneNbPrefix,e)||(t.mobilephoneNbPrefix=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj();return l_(e.updatePhoneNumber("mobilephone",e.mobilephoneNbPrefix,e.mobilephoneNb))}),s$(),r$(61,"rwm-input",51,8),jj("modelChange",function(){a_(n);var e=qj();return l_(e.updatePhoneNumber("mobilephone",e.mobilephoneNbPrefix,e.mobilephoneNb))}),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.mobilephoneNb,e)||(t.mobilephoneNb=e),l_(e)}),s$(),HV(63,ote,5,1,"rwm-validation-container",35),s$()(),r$(64,"div",29)(65,"div",52)(66,"div",53)(67,"fieldset")(68,"div",54)(69,"label",55)(70,"input",56,9),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.userProfile.acceptConditionsParticipation,e)||(t.userProfile.acceptConditionsParticipation=e),l_(e)}),jj("keydown.enter",function(e){return a_(n),l_(e.preventDefault())})("change",function(){a_(n);var e=nH(71);return l_(qj().updateCheckboxModel("acceptConditionsParticipation",!e.invalid))}),s$(),o$(72,"span",57),r$(73,"span",58)(74,"p"),VH(75,"Ich akzeptiere die "),r$(76,"a",59),VH(77,"Spielregeln "),o$(78,"span",60),nU(79,"translate"),s$(),VH(80," des Börsespiels. *"),s$()()()(),HV(81,ate,5,1,"rwm-validation-container",35),s$()()(),r$(82,"div",52)(83,"div",53)(84,"fieldset")(85,"div",61)(86,"label",62)(87,"input",63,10),jj("keydown.enter",function(e){return a_(n),l_(e.preventDefault())})("change",function(){a_(n);var e=nH(88);return l_(qj().updateCheckboxModel("acceptCommunicationPolicy",e.checked))}),s$(),o$(89,"span",57),r$(90,"span",58),o$(91,"p",64),s$()(),r$(92,"tooltip",65),o$(93,"span",66),r$(94,"span",67),VH(95,"Information"),s$()()()()()(),HV(96,lte,14,5,"div",52),s$(),r$(97,"div",29)(98,"div",39)(99,"div",68)(100,"p"),VH(101," Die allgemeinen datenschutzrechtlichen Informationen sowie Ihre Rechte im Sinne der DSGVO finden Sie auf "),r$(102,"a",69),VH(103,"www.oon-boersespiel.at "),o$(104,"span",60),nU(105,"translate"),s$(),VH(106," unter „Datenschutz“. "),s$()()()(),r$(107,"div",70)(108,"button",71),VH(109," Speichern "),s$(),r$(110,"button",72),VH(111," Zurück "),s$()()()()()}if(2&e){var i=nH(17),r=nH(22),s=nH(26),o=nH(44),a=nH(48),l=nH(52),c=nH(62),u=nH(71),d=qj();$A(2),UV(d.isRegistered(d.userProfile.group,"group")?-1:2),$A(),UV(d.isRegistered(d.userProfile.group,"group")?3:-1),$A(4),UV(!1===d.isRegistered(d.userProfile.group,"group")?7:-1),$A(),sV("aria-labelledby","settings-tab-"+d.userProfile.group),$A(3),lz("model",d.userProfile.avatarId),n$("salutation",d.userProfile.salutation),$A(4),SH(jz(128,see,d.isRegistered(d.userProfile.login,"login"))),xH("form-error",(d.submitted||(null==i.innerControl?null:i.innerControl.touched))&&((null==i.innerControl?null:i.innerControl.invalid)||d.userExistError)),$A(),n$("id","login")("label","Benutzername *")("type","text")("tooltipHeadline","Information")("tooltipContent","Wir empfehlen mindestens 5 Zeichen. Erlaubt sind folgende Zeichen: Aa - Zz (außer Umlauten und Leerzeichen), Zahlen, Sonderzeichen wie § $ % & ! ? * @ + ' . , : ; - _ ")("disabled",d.isRegistered(d.userProfile.login,"login"))("required",!0)("minlength",5),lz("ngModel",d.userProfile.login),n$("fieldInvalid",(d.submitted||(null==i.innerControl?null:i.innerControl.touched))&&((null==i.innerControl?null:i.innerControl.invalid)||d.userExistError))("invalidClass",d.userExistError),$A(2),UV((d.submitted||null!=i.innerControl&&i.innerControl.touched)&&(null!=i.innerControl&&i.innerControl.invalid||d.userExistError)?18:-1),$A(),UV(d.loginExist?19:-1),$A(),xH("form-error",(d.submitted||(null==r.innerControl?null:r.
1innerControl.touched))&&(null==r.innerControl?null:r.innerControl.invalid)),$A(),n$("id","password")("label","Passwort *")("type","password")("required",!0)("minlength",7)("tooltipHeadline","Tipps für sichere Passwörter")("tooltipContent","Wählen Sie ein Passwort, das mindestens 7 Zeichen, 1 Ziffer und ein Sonderzeichen wie  § $ % & ! ? * @ + ' . , : ; - _  enthält. Leerzeichen sind nicht erlaubt. Verwenden Sie keine persönlichen Informationen, die leicht zu erraten sind (zB Ihr Name, Ihre Telefonnummer oder Ihr Geburtsdatum). Halten Sie Ihr Passwort geheim und verwenden Sie es nicht für andere Online-Dienste. Ändern Sie es regelmäßig."),lz("ngModel",d.userProfile.password),n$("fieldInvalid",(d.submitted||(null==r.innerControl?null:r.innerControl.touched))&&(null==r.innerControl?null:r.innerControl.invalid)),$A(2),UV((d.submitted||null!=r.innerControl&&r.innerControl.touched)&&null!=r.innerControl&&r.innerControl.invalid?23:-1),$A(),xH("form-error",(d.submitted||(null==s.innerControl?null:s.innerControl.touched))&&((null==s.innerControl?null:s.innerControl.invalid)||d.matchPassword)),$A(),n$("id","passwordConfirm")("label","Passwort wiederholen *")("type","password")("required",!0),lz("ngModel",d.userProfile.confirmPassword),n$("fieldInvalid",(d.submitted||(null==s.innerControl?null:s.innerControl.touched))&&((null==s.innerControl?null:s.innerControl.invalid)||d.matchPassword))("invalidClass",d.matchPassword),$A(2),UV((d.submitted||null!=s.innerControl&&s.innerControl.touched)&&(null!=s.innerControl&&s.innerControl.invalid||d.matchPassword)?27:-1),$A(),UV("adult"===d.userProfile.group?28:-1),$A(),UV("scholar"===d.userProfile.group||"schoolClass"===d.userProfile.group?29:-1),$A(),UV("schoolClass"===d.userProfile.group?30:-1),$A(2),xH("form-error",(d.submitted||d.salutationTouched)&&d.isEmpty(d.userProfile.salutation)),$A(5),n$("id","salutation"),$A(),XV(d.setupModel.salutations),$A(2),UV((d.submitted||d.salutationTouched)&&d.isEmpty(d.userProfile.salutation)?40:-1),$A(2),xH("form-error",(d.submitted||(null==o.innerControl?null:o.innerControl.touched))&&(null==o.innerControl?null:o.innerControl.invalid))("form-field-disabled",d.isRegistered(d.userProfile.firstname,"firstname",d.restrictedEditing)),$A(),n$("id","firstname")("label","Vorname *")("type","text")("required",!0)("disabled",d.isRegistered(d.userProfile.firstname,"firstname",d.restrictedEditing)),lz("ngModel",d.userProfile.firstname),n$("fieldInvalid",(d.submitted||(null==o.innerControl?null:o.innerControl.touched))&&(null==o.innerControl?null:o.innerControl.invalid)),$A(2),UV((d.submitted||null!=o.innerControl&&o.innerControl.touched)&&null!=o.innerControl&&o.innerControl.invalid?45:-1),$A(),xH("form-error",(d.submitted||(null==a.innerControl?null:a.innerControl.touched))&&(null==a.innerControl?null:a.innerControl.invalid))("form-field-disabled",d.isRegistered(d.userProfile.lastname,"lastname",d.restrictedEditing)),$A(),n$("id","lastname")("label","Nachname *")("type","text")("required",!0),lz("ngModel",d.userProfile.lastname),n$("disabled",d.isRegistered(d.userProfile.lastname,"lastname",d.restrictedEditing))("fieldInvalid",(d.submitted||(null==a.innerControl?null:a.innerControl.touched))&&(null==a.innerControl?null:a.innerControl.invalid)),$A(2),UV((d.submitted||null!=a.innerControl&&a.innerControl.touched)&&null!=a.innerControl&&a.innerControl.invalid?49:-1),$A(),xH("form-error",(d.submitted||(null==l.innerControl?null:l.innerControl.touched))&&((null==l.innerControl?null:l.innerControl.invalid)||d.emailExistError))("form-field-disabled",d.isRegistered(d.userProfile.email,"email")),$A(),n$("id","email")("label","E-Mail *")("type","email")("required",!0)("disabled",d.isRegistered(d.userProfile.email,"email")),lz("ngModel",d.userProfile.email),n$("fieldInvalid",(d.submitted||(null==l.innerControl?null:l.innerControl.touched))&&((null==l.innerControl?null:l.innerControl.invalid)||d.emailExistError))("invalidClass",d.emailExistError),$A(2),UV((d.submitted||null!=l.innerControl&&l.innerControl.touched)&&(null!=l.innerControl&&l.innerControl.invalid||d.emailExistError)?53:-1),$A(),UV("adult"===d.userProfile.group||"scholar"===d.userProfile.group?54:-1),$A(),UV("adult"===d.userProfile.group?55:-1),$A(),UV("scholar"===d.userProfile.group?56:-1),$A(),UV("scholar"!==d.userProfile.group?57:-1),$A(2),xH("form-error",(d.submitted||(null==c.innerControl?null:c.innerControl.touched))&&(null==c.innerControl?null:c.innerControl.invalid)),$A(),n$("id","select-mobile")("label","Vorwahl *"),lz("ngModel",d.mobilephoneNbPrefix),n$("items",d.prefix)("selectOptions",d.selectOptionsPrefix),$A(),n$("id","mobilephone")("label","Telefon-/Mobilnummer *")("type","text")("required",!0)("tooltipHeadline","Information")("tooltipContent","Bitte Handynummer für SMS-Service bzw. Gewinnverständigung eintragen.")("placeholder","z.B.: 676 1234 567"),lz("ngModel",d.mobilephoneNb),n$("fieldInvalid",(d.submitted||(null==c.innerControl?null:c.innerControl.touched))&&(null==c.innerControl?null:c.innerControl.invalid)),$A(2),UV((d.submitted||null!=c.innerControl&&c.innerControl.touched)&&null!=c.innerControl&&c.innerControl.invalid?63:-1),$A(5),xH("form-error",(d.submitted||u.touched)&&u.invali
1d),$A(2),lz("ngModel",d.userProfile.acceptConditionsParticipation),sV("aria-invalid",(d.submitted||u.touched)&&u.invalid)("aria-describedby","validation-box-checkbox-acceptConditionsParticipation"),$A(8),sV("aria-label",iU(79,124,"LINK_NEW_TAB")),$A(3),UV((d.submitted||u.touched)&&u.invalid?81:-1),$A(6),n$("checked",d.userProfile.acceptCommunicationPolicy),$A(4),n$("translate","BLIVE_NEWSLETTER_LABEL"),$A(),n$("tooltipContent","BLIVE_NEWSLETTER_INFOCONTENT")("tooltipHeadline","Information")("overflow",!0),$A(4),UV("adult"===d.userProfile.group?96:-1),$A(8),sV("aria-label",iU(105,126,"LINK_NEW_TAB"))}}function ute(e,t){1&e&&(r$(0,"section",23)(1,"div",24)(2,"h1"),VH(3,"Anmeldung erfolgreich"),s$(),r$(4,"p"),VH(5,"Ihre E-Mail-Adresse ist nun registriert. Sehen Sie bitte in Ihrem Posteingang nach und bestätigen Sie den Link, um die Anmeldung abzuschließen."),s$(),r$(6,"p"),VH(7," Vielen Dank,"),o$(8,"br"),VH(9," Ihr OÖN-Börsespiel-Team "),s$()()())}function dte(e,t){1&e&&(r$(0,"section",23)(1,"div",24)(2,"h1"),VH(3,"Änderung gespeichert"),s$(),r$(4,"p"),VH(5,"Ihre Benutzereinstellungen wurden gespeichert."),s$()()())}var hte=new $5.c9,pte=function(){function e(e,t,n,i,r){var s=this;this.userService=e,this.router=t,this.ngZone=n,this.df=i,this.el=r,this.gameStart=null,this.profile=null,this.restrictedEditing=!1,this.submitted=!1,this.registered=!1,this.editComplete=!1,this.registration=!1,this.loginExist=!1,this.showAdressError=!1,this.userExistError=!1,this.emailExistError=!1,this.birthdayError=!1,this.userProfile={group:"adult",acceptCommunicationPolicy:!1,acceptPrivacyPolicy:!1,acceptConditionsParticipation:!1,acceptPrizeRelease:!1,id:"",salutation:"",firstname:"",lastname:"",bank:"",bankbranch:"",email:"",profession:"",birthday:"",street:"",city:"",federalState:"",phone:"",mobilephone:"",school:"",schooldistrict:"",schoolclass:"",teltraderId:"",zipCode:"",student:!1,login:"",password:"",address:"",confirmPassword:"",avatarId:"",publicProfile:!1,ooenews:!1},this.setupModel={schools:[{}],banks:[{}],salutations:["Herr","Frau"]},this.groups=[{title:"Erwachsene",value:"adult"},{title:"Schüler",value:"scholar"},{title:"Klasse",value:"schoolClass"}],this.prefix=[{value:"+43",name:"+43 Österreich"},{value:"+49",name:"+49 Deutschland"},{value:"0",name:"Sonstige"}],this.toggleYesNo=[{value:!0,name:"Ja"},{value:!1,name:"Nein"}],this.federalStateItems=e8,this.schoolGroups=[""],this.bankGroups=[""],this.hideBranches=!1,this.selectOptionsPrefix={bindLabel:"name",bindValue:"value"},this.selectOptionsFederalState={clearable:!0,bindLabel:"title",bindValue:"title"},this.notCorrectElement=[],this.minDate=Z5()().subtract(90,"y").format("YYYY-MM-DD"),this.maxDate=Z5()().subtract(0,"y").format("YYYY-MM-DD"),this.salutationTouched=!1,this.setActiveGroup=function(e,t,n){"group"===e&&(s.submitted=!1,Object.values(n.controls).forEach(function(e){e.markAsUntouched(),e.markAsPristine()}),s.inputFields.forEach(function(e){var t,n;null===(t=e.innerControl)||void 0===t||t.markAsUntouched(),null===(n=e.innerControl)||void 0===n||n.markAsPristine()}),s.selectFields.forEach(function(e){var t,n;null===(t=e.innerControl)||void 0===t||t.markAsUntouched(),null===(n=e.innerControl)||void 0===n||n.markAsPristine()}),s.salutationTouched=!1),s.userProfile[e]=t,s.refreshModel()},this.activeGroupStyle=function(e,t){return e===t?"active":""},this.ariaState=function(e,t){return e===t},this.checkPasswort=function(e,t,n){if(void 0===n&&(n=!1),s.matchPassword=!1,e&&n&&""!==e){var i=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[!"$%&§/@()=?.,_:;#'+*-])[A-Za-z\d[!"$%&§/@()=?.,_:;#'+*-]{7,}$/.test(e);if(s.passwordPolicy=!i,s.passwordPolicy)return s.refreshModel(),!1}s.isEmpty(e)||s.isEmpty(t)||(e===t?(s.matchPassword=!1,s.refreshModel()):s.matchPassword=!0)};var o=this.router.currentNavigation();o&&o.extras.state&&(this.restrictedEditing=o.extras.state.restrictedEditing)}return e.prototype.ngOnInit=function(){var e=this;this.getUserSettings(),this.gameStart=this.userService.gameStart?this.userService.gameStart:this.gameStart,this.maxDateAdult=Z5()(this.gameStart?this.gameStart:this.maxDate,"YYYY-MM-DD").subtract(18,"y").format("YYYY-MM-DD"),"string"==typeof this.restrictedEditing&&(this.restrictedEditing=/true/i.test(this.restrictedEditing)),this.profile?this.setUserModel(this.profile):hte.get("accessToken",null)?this.userService.getUserInfo().subscribe(function(t){e.setUserModel(t)},function(e){return console.log(e)}):this.setPhoneNumbers(null)},e.prototype.shiftFocus=function(e,t){"next"===e?t<this.tabElements.length-1?this.tabElements.forEac
1h(function(e,n){t+1===n&&e.nativeElement.focus()}):this.tabElements.first.nativeElement.focus():"prev"===e&&(t>0?this.tabElements.forEach(function(e,n){t-1===n&&e.nativeElement.focus()}):this.tabElements.last.nativeElement.focus())},e.prototype.salutationFocusout=function(e){e.target.parentElement.contains(e.relatedTarget)||(this.salutationTouched=!0)},e.prototype.setUserModel=function(e){this.registered=!0,this.userProfile=e,this.setPhoneNumbers(e.mobilephone),this.refreshModel()},e.prototype.getUserSettings=function(){var e=this;W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.userService.getProfileSetup().subscribe(function(t){e.setupModel=t,e.schools=t.schools,e.schoolGroups=e.selectGroupItems(e.schools),e.banks=t.banks,e.bankGroups=e.selectGroupItems(e.banks),e.refreshModel()},function(e){return console.log(e)})})},e.prototype.isValid=function(e){return!1},e.prototype.selectGroupItems=function(e){var t,n,i=[];try{for(var r=(0,$g.Ju)(e),s=r.next();!s.done;s=r.next()){var o=s.value;i.push(o.group)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return i},e.prototype.selectGroupChildItems=function(e,t,n){var i,r,s,o,a,l=[];switch(t){case"bank":a=this.banks;break;case"school":a=this.schools}if(a){-1!==e.indexOf("34.")&&(e=e.replace(/34./g,"34"));try{for(var c=(0,$g.Ju)(a),u=c.next();!u.done;u=c.next()){var d=u.value;if(d.group===e)try{for(var h=(s=void 0,(0,$g.Ju)(d.values)),p=h.next();!p.done;p=h.next()){var f=p.value;l.push(f)}}catch(e){s={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(s)throw s.error}}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}return l}},e.prototype.isEmpty=function(e){return"boolean"==e?e:null==e||""==e||null==e},e.prototype.setModelValues=function(e,t){this.userProfile.group,this.userProfile[e]=t,this.df.detectChanges()},e.prototype.hasBranches=function(e,t){var n,i,r;if((r=this.banks)&&e){-1!==e.indexOf("34.")&&(e=e.replace(/34./g,"34"));try{for(var s=(0,$g.Ju)(r),o=s.next();!o.done;o=s.next()){var a=o.value;a.group===e&&(0===a.values.length?(this.setModelValues("bankbranch",a.group),this.hideBranches=!0):this.hideBranches=!1)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}},e.prototype.clearModel=function(e){this.setModelValues(e,"")},e.prototype.setPhoneNumbers=function(e){this.mobilephoneNbPrefix=this.getPhonePrefix(e),this.mobilephoneNb=this.getPhoneNumber(e)},e.prototype.getPhonePrefix=function(e){return""!==e&&null!==e?(e=e.replace(/ /g,"")).startsWith("+43")?this.prefix[0].value:e.startsWith("+49")?this.prefix[1].value:this.prefix[2].value:this.prefix[0].value},e.prototype.getPhoneNumber=function(e){return""!==e&&null!==e?(e=e.replace(/ /g,"")).startsWith("+43")?e.split("+43")[1].trim():e.startsWith("+49")?e.split("+49")[1].trim():e.trim():""},e.prototype.splitZipCodeCity=function(e){var t,n,i="",r=(e=e.replace(/,/g," ")).split(" ");try{for(var s=(0,$g.Ju)(r),o=s.next();!o.done;o=s.next()){var a=o.value;!isNaN(a)&&a.length>=4&&(i=a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}var l=e.replace(i,"").trim();this.setModelValues("zipCode",i),this.setModelValues("city",l),this.isEmpty(i)||this.isEmpty(l)?this.showAdressError=!0:this.showAdressError=!1},e.prototype.updatePhoneNumber=function(e,t,n){"object"==typeof t&&(t=t.value),t="0"===t?"":t,n&&((n=n.trim()).startsWith("0")&&""!=t&&(n=n.slice(1)),this.setModelValues(e,t+" "+n))},e.prototype.isRegistered=function(e,t,n){return void 0===n&&(n=!0),!(!this.registered||"-"===e||""===e||this.notCorrectElement.includes(t)||!n)||(this.registered&&!this.notCorrectElement.includes(t)&&this.notCorrectElement.push(t),!1)},e.prototype.updateCheckboxModel=function(e,t){this.setModelValues(e,t)},e.prototype.submitValidation=function(e){if(this.submitted=!0,!e.valid||!this.userProfile.salutation||this.showAdressError||this.userExistError||this.matchPassword||this.birthdayError){console.info("Invalid fields:",document.querySelector("input.ng-invalid, select.ng-invalid, button.ng-invalid"));var t=this.el.nativeElement.querySelector("input.ng-invalid, select.ng-invalid, button.ng-invalid");t&&(t.focus(),t.scrollIntoView({behavior:"smooth"}))}else this.onSubmit();this.refreshModel()},e.prototype.onSubmit=function(){var e=this,t=this.userProfile,n=t.birthday;""!==n&&null!==n&&(Z5()(n).isValid()||(t.birthday=Z5()(n,["DD.MM.YYYY","YYYY-MM-DD"],!0).format("YYYY-MM-DD"))),this.registered?this.userService.putUserData(t).subscribe(function(){e.editComplete=!0,hte.set("profile",X5.o4.btoa(JSON.stringify(t))),Q5.Z.publish("game.updateLogin"),e.routeNavigateTo("success",{headline:"Änderung gespeichert",content:"Ihre Benutzereinstellungen wurden gespeichert."})},function(){}):this.userService.postUserData(t).subscribe(function(){e.registration=!0,hte.set("profile",X5.o4.btoa(JSON.stringify(t))),e.refreshModel()},function(t){var n="DRBRELOA004W"===t.error.code,i="DRBRELOA007W"===t.error.code;409===t.status&&(n&&(e.userExistError=!0,J5.scrollTo("#login"),J5.focus("#login")),i&&(e.emailExistError=!0,n||(J5.scrollTo("#email"),J5.focus("#email"))),e.refreshModel())})},e.prototype.checkDuplications=function(e){var t=this,n=e.innerControl;this.userExistError=!1,(null==n?void 0:n.valid)&&!this.registered?this.userService.userDuplicationCheck(null==n?void 0:n.value).subscribe(function(){t.refreshModel()},function(){t.registered?t.userExistError=!1:t.userExistError=!0,t.refreshModel()},function(){t.refreshModel()}):this.refreshModel()},e.prototype.updateDate=function(e){var t;if("adult"===this.userProfile.group){var n=Z5()(null===(t=e.innerControl)||void 0===t?void 0:t.value,"YYYY-MM-DD"),i=Z5()(this.minDate,"YYYY-MM-DD"),r=Z5()(this.maxDateAdult,"YYYY-MM-DD");n.isBetween(i,r,void 0,"[]")?this.birthdayError=!1:this.birthdayError=!0}this.refreshModel()},e.prototype.refreshModel=function(){this.df.detectChanges()},e.prototype.routeNavigateTo=function(e,t){var n=this;this.ngZone.run(function(){n.router.navigate([e],{state:t}).then(function(i){!1===i&&n.router.navigate([e],{state:t}),n.refreshModel()},function(e){console.log(e)})})}
vendor: 5,856 bytes, line 1
1,e.ɵfac=function(t){return new(t||e)(qP(q5),qP(V9),qP(dD),qP(uZ),qP(xC))},e.ɵcmp=DN({type:e,selectors:[["bsUsersettings"]],viewQuery:function(e,t){if(1&e&&(Kj(ree,5),Kj(f8,5),Kj(r8,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.tabElements=n),Jj(n=Xj())&&(t.inputFields=n),Jj(n=Xj())&&(t.selectFields=n)}},inputs:{gameStart:"gameStart",profile:"profile",restrictedEditing:"restrictedEditing"},standalone:!1,decls:3,vars:3,consts:[["form","ngForm"],["avatarId",""],["login","rwmInput"],["password","rwmInput"],["passwordConfirm","rwmInput"],["firstname","rwmInput"],["lastname","rwmInput"],["email","rwmInput"],["mobilephone","rwmInput"],["acceptConditionsParticipation","ngModel"],["acceptCommunicationPolicy",""],["navTabs",""],["federalState","rwmSelect"],["bank","rwmSelect"],["bankbranch","rwmSelect"],["schooldistrict","rwmSelect"],["school","rwmSelect"],["schoolclass","rwmInput"],["birthday","rwmInput"],["profession","rwmInput"],["street","rwmInput"],["address","rwmInput"],["ooenews",""],[1,"component-page-title","component-spacer"],[1,"content-wrapper"],[1,"form-container","login-form"],[3,"ngSubmit"],["role","tablist",1,"component-spacer","button-list"],["id","user-settings-panel","role","tabpanel"],[1,"row"],[1,"col-lg-3","d-inline-flex","flex-column","align-items-center"],[3,"modelChange","model","salutation"],[1,"col-lg-9"],[1,"col-md-6","col-lg-4","form-group"],["name","login","validationPattern","(?=[A-Za-z0-9§$%&!?@+:'.,;_*\\-]{5,}$)[A-Za-z0-9§$%&!?@+:'.,;_*\\-]*",3,"ngModelChange","modelChange","id","label","type","tooltipHeadline","tooltipContent","disabled","required","minlength","ngModel","fieldInvalid","invalidClass"],[3,"id"],["name","password","validationPattern","^(?=.*\\d)(?=.*[§$%&!?*@+'.:;,\\-_])[A-Za-z\\d§$%&!?*@+'.:;,\\-_]{7,}$",3,"ngModelChange","modelChange","id","label","type","required","minlength","tooltipHeadline","tooltipContent","ngModel","fieldInvalid"],["name","passwordConfirm","validationPattern","^(?=.*\\d)(?=.*[§$%&!?*@+'.:;,\\-_])[A-Za-z\\d§$%&!?*@+'.:;,\\-_]{7,}$",3,"ngModelChange","modelChange","id","label","type","required","ngModel","fieldInvalid","invalidClass"],[1,"title"],[1,"col-12","form-group"],[1,"legend-text"],[1,"position-relative"],["aria-label","Anrede","role","group",1,"button-list",3,"id"],["type","button",1,"btn","btn-button-list",3,"class","ng-invalid"],["name","firstname",3,"ngModelChange","id","label","type","required","disabled","ngModel","fieldInvalid"],["name","lastname",3,"ngModelChange","id","label","type","required","ngModel","disabled","fieldInvalid"],["name","email","validationPattern","^[a-zA-Z0-9._%+\\-]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}$",3,"ngModelChange","id","label","type","required","disabled","ngModel","fieldInvalid","invalidClass"],[1,"col-md-6","col-lg-4","form-group","form-date-styling",3,"form-error"],[1,"col-md-6","col-lg-4","form-group",3,"form-error"],[1,"col-md-6","col-lg-6","form-group","form-multi-field"],["name","select-mobile",1,"component-form-select",3,"ngModelChange","modelChange","id","label","ngModel","items","selectOptions"],["name","mobilephone",3,"modelChange","ngModelChange","id","label","type","required","tooltipHeadline","tooltipContent","placeholder","ngModel","fieldInvalid"],[1,"col-12"],[1,"component-form-checkbox"],[1,"form-check"],["for","checkbox-acceptConditionsParticipation",1,"form-check-label"],["name","acceptConditionsParticipation","type","checkbox","id","checkbox-acceptConditionsParticipation","value","true","required","",1,"form-check-input",3,"ngModelChange","keydown.enter","change","ngModel"],["aria-hidden","true",1,"custom-control-indicator","icon-check"],[1,"form-check-label-text"],["href","/de/das-boersespiel/spielregeln.html","target","_blank",1,"text-link","me-1"],[1,"icon-open_link","m-0"],[1,"form-check","d-flex","align-content-center"],["for","checkbox-acceptCommunicationPolicy",1,"form-check-label"],["name","acceptCommunicationPolicy","type","checkbox","id","checkbox-acceptCommunicationPolicy","value","true",1,"form-check-input",3,"keydown.enter","change","checked"],[3,"translate"],[3,"tooltipContent","tooltipHeadline","overflow"],["aria-hidden","true",1,"icon-info"],[1,"visually-hidden"],[1,"component-text"],["href","https://www.oon-boersespiel.at","target","_blank",1,"text-link","me-1"],[1,"form-btn-container","toggle-order","component-spacer"],["type","submit",1,"btn","btn-primary"],["type","button","href","javascript:history.back()",1,"btn","btn-secondary"],["type","button","role","tab",1,"btn","btn-button-list",3,"id","title","tabIndex","class"],["type","button","role","tab",1,"btn","btn-button-list",3,"click","keydown.arrowLeft","keydown.arrowRight","id","title","tabIndex"],[1,"d-flex"],[1,"icon-attention_alert"],[1,"col-md-6","col-lg-4","form-group","component-form-select"],["name","federalState",3,"ngModelChange","id","ngModel","selectOptions","items","label","sortable","required","fieldInvalid"],["name","bank",3,"ngModelChange","modelChange","ngModel","selectOptions","items","id","label","sortable","required","fieldInvalid"],[1,"col-md-6","col-lg-4","form-group","component-form-select",3,"form-error"],["name","bankbranch",3,"ngModelChange","ngModel","selectOptions","items","id","label","sortable","required","fieldInvalid"],["name","schooldistrict",3,"ngModelChange","modelChange","ngModel","selectOptions","items","id","label","sortable","required","fieldInvalid"],["name","school",3,"ngModelChange","ngModel","selectOptions","items","id","label","sortable","required","fieldInvalid"],["name","schoolclass",3,"ngModelChange","id","label","type","required","ngModel","fieldInvalid"],["type","button",1,"btn","btn-button-list",3,"click","focusout"],[1,"col-md-6","col-lg-4","form-group","form-date-styling"],["name","birthday",3,"ngModelChange","modelChange","id","label","type","minDate","maxDate","required","ngModel","fieldInvalid","invali
1dClass"],["name","profession",3,"ngModelChange","id","label","type","required","ngModel","fieldInvalid"],["name","street",3,"ngModelChange","id","label","type","required","ngModel","fieldInvalid"],["name","address",3,"ngModelChange","modelChange","id","label","type","required","ngModel","fieldInvalid","invalidClass"],["for","checkbox-ooenews",1,"form-check-label"],["name","ooenews","type","checkbox","id","checkbox-ooenews","value","true",1,"form-check-input",3,"keydown.enter","change","checked"]],template:function(e,t){1&e&&(HV(0,cte,112,130),HV(1,ute,10,0,"section",23),HV(2,dte,6,0,"section",23)),2&e&&(UV(t.userProfile&&t.setupModel&&!t.registration&&!t.editComplete?0:-1),$A(),UV(t.registration?1:-1),$A(),UV(t.editComplete?2:-1))},dependencies:[x4,N2,x3,k3,s5,u5,o5,_4,h4,e2,f8,r8,N5,tee,iee,t2],encapsulation:2}),e}(),fte=function(){function e(e){this.injector=e;var t=T2(q9,{injector:e});customElements.define("bs-avatar-img",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,T5]}),e}(),mte=function(){function e(e){this.injector=e;var t=T2(tee,{injector:e});customElements.define("bs-avatar-dialog",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,fte,T5]}),e}(),gte=function(){function e(e){this.injector=e;var t=T2(pte,{injector:e});customElements.define("bs-usersetting-page",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e,bootstrap:[pte]}),e.ɵinj=Lv({imports:[RX,_Q,C5,S5,p0,T5,B5,F5,R5,mte,V5]}),e}(),vte=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX]}),e}();function yte(){return yte=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yte.apply(null,arguments)}var bte,wte=function(e){yte(this,e)};!function(e){e[e.Success=0]="Success",e[e.Error=1]="Error",e[e.Info=2]="Info",e[e.Warning=3]="Warning"}(bte||(bte={}));var _te=function(){function e(){this.subject=new Gg,this.defaultId="default-alert"}return e.prototype.onAlert=function(e){return void 0===e&&(e=this.defaultId),this.subject.asObservable().pipe(FQ(function(t){return t&&t.id===e}))},e.prototype.success=function(e,t,n){this.alert(new wte((0,$g.Cl)((0,$g.Cl)({},n),{type:bte.Success,headline:e,message:t})))},e.prototype.error=function(e,t,n){this.alert(new wte((0,$g.Cl)((0,$g.Cl)({},n),{type:bte.Error,headline:e,message:t})))},e.prototype.info=function(e,t,n){this.alert(new wte((0,$g.Cl)((0,$g.Cl)({},n),{type:bte.Info,headline:e,message:t})))},e.prototype.warn=function(e,t,n){this.alert(new wte((0,$g.Cl)((0,$g.Cl)({},n),{type:bte.Warning,headline:e,message:t})))},e.prototype.alert=function(e){e.id=e.id||this.defaultId,this.subject.next(e)},e.prototype.clear=function(e){void 0===e&&(e=this.defaultId),this.subject.next(new wte({id:e}))},e.ɵfac=function(t){return new(t||e)},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),xte=(new $5.c9,function(){function e(e){var t=this;this.http=e,this.resetPassword=function(e){return t.http.post(j5.KT+j5.vZ.stockmarket.resetPassword,e)},this.changePassword=function(e,n){return t.http.put(j5.KT+j5.vZ.stockmarket.resetPassword+"/"+e,n)}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}());function kte(e,t){if(1&e&&(r$(0,"div",1)(1,"div",2)(2,"div"),o$(3,"span",3)(4,"span",4),s$(),o$(5,"p",4),s$()()),2&e){var n=t.$implicit,i=qj();SH(i.cssClass(n)),$A(3),SH(i.iconCssClass(n)),$A(),n$("innerHTML",n.headline,WI),$A(),n$("innerHTML",n.message,WI)}}var Cte=function(){function e(e){this.alertService=e,this.id="default-alert",this.fade=!0,this.alerts=[]}return e.prototype.ngOnInit=function(){var e=this;this.alertSubscription=this.alertService.onAlert(this.id).subscribe(function(t){if(!t.message)return e.alerts=e.alerts.filter(function(e){return e.keepAfterRouteChange}),void e.alerts.forEach(function(e){return delete e.keepAfterRouteChange});e.alerts.push(t),t.autoClose&&setTimeout(function(){return e.removeAlert(t)},3e3)})},e.prototype.ngOnDestroy=function(){this.alertSubscription.unsubscribe()},e.prototype.removeAlert=function(e){var t=this;this.alerts.includes(e)&&(this.fade?(this.alerts.find(function(t){return t===e}).fade=!0,setTimeout(function(){t.alerts=t.alerts.filter(function(t){return t!==e})},250)):this.alerts=this.alerts.filter(function(t){return t!==e}))},e.prototype.cssClass=function(e){var t;if(e){var n=["content-wrapper component-spacer"],i=((t={})[bte.Success]="success-container",t[bte.Error]="error-container",t[bte.Info]="info-container",t[bte.Warning]="error-container",t);return n.push(i[e.type]),e.fade&&n.push("fade"),n.join(" ")}},e.prototype.iconCssClass=function(e){var t;if(e){var n=["state-icon"],i=((t={})[bte.Success]="icon-check_circle",t[bte.Error]="icon-close_circle",t[bte.Info]="icon-info",t[bte.Warning]="icon-alert_circle",t);return n.push(i[e.type]),e.fade&&n.push("fade"),n.join(" ")}},e.ɵfac=function(t){return new(t||e)(qP(_te))},e.ɵcmp=DN({type:e,selectors:[["alert"]],inputs:{id:"id",fade:"fade"},standalone:!1,decls:2,vars:0,consts:[["aria-live","polite",3,"class"],["aria-live","polite"],[1,"wrapper"],["aria-hidden","true"],[3,"innerHTML"]],template:function(e,t){1&e&&YV(0,kte,6,6,"div",0,GV),2&e&&XV(t.alerts)},encapsulation:2}),e}(),Ste=["forgotPasswordInput"],Tte=function(e){return{"float-label":e}}
1;function Ete(e,t){1&e&&o$(0,"span",13),2&e&&n$("innerHTML","Bitte geben Sie Ihren Benutzernamen oder E-Mail Adresse ein.",WI)}function Ite(e,t){1&e&&o$(0,"span",13),2&e&&n$("innerHTML","Bitte geben sie mindestens 5 Zeichen ein.",WI)}function Ate(e,t){if(1&e&&(r$(0,"rwm-validation-container",1)(1,"p",11),o$(2,"span",12),HV(3,Ete,1,1,"span",13),HV(4,Ite,1,1,"span",13),s$()()),2&e){var n=qj(2);n$("id","loginOrEmail"),$A(3),UV(n.f.loginOrEmail.errors.required?3:-1),$A(),UV(n.f.loginOrEmail.errors.minlength?4:-1)}}function Dte(e,t){if(1&e){var n=w$();r$(0,"section",2)(1,"form",3),jj("ngSubmit",function(){return a_(n),l_(qj().onSubmit())}),r$(2,"div",4)(3,"div",5)(4,"div",6)(5,"label",7),VH(6," Benutzername oder E-Mail Adresse "),s$(),r$(7,"input",8,0),jj("focus",function(){return a_(n),l_(qj().floatLabel("loginOrEmail"))})("blur",function(){return a_(n),l_(qj().floatLabel("loginOrEmail"))}),s$(),HV(9,Ate,5,3,"rwm-validation-container",1),s$()()(),r$(10,"div",9)(11,"button",10),VH(12,"Passwort zurücksetzen"),s$()()()()}if(2&e){var i=qj();$A(),n$("formGroup",i.resetPwdForm),$A(2),xH("form-error",(i.submitted||i.f.loginOrEmail.touched)&&i.f.loginOrEmail.invalid),$A(2),n$("ngClass",jz(7,Tte,i.f.loginOrEmail.value||"loginOrEmail"===i.focus)),$A(2),sV("aria-describedby","validation-box-loginOrEmail")("aria-invalid",(i.submitted||i.f.loginOrEmail.touched)&&i.f.loginOrEmail.invalid),$A(2),UV((i.submitted||i.f.loginOrEmail.touched)&&i.f.loginOrEmail.invalid?9:-1)}}var Mte=function(){function e(e,t,n,i){this.changeRef=e,this.formBuilder=t,this.resetPwdService=n,this.alertService=i,this.alert=!1,this.submitted=!1,this.focus="",this.alertOptions={id:"reset-pwd",autoClose:!1,keepAfterRouteChange:!1}}return e.prototype.ngOnInit=function(){this.resetPwdForm=this.formBuilder.group({loginOrEmail:["",[U2.required,U2.minLength(5)]]})},Object.defineProperty(e.prototype,"f",{get:function(){return this.resetPwdForm.controls},enumerable:!1,configurable:!0}),e.prototype.onSubmit=function(){var e=this;if(this.submitted=!0,this.resetPwdForm.invalid)return this.input.nativeElement.focus(),void this.changeRef.detectChanges();var t=JSON.stringify(this.resetPwdForm.value);W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(n){e.alertService.clear(e.alertOptions.id),e.resetPwdService.resetPassword(t).subscribe(function(t){e.alertService.success("Passwort zurückgesetzt","Sie bekommen in Kürze eine E-Mail zugesendet - mit dieser können Sie Ihr Passwort ändern.",e.alertOptions),e.onReset(e.resetPwdForm),e.changeRef.detectChanges()},function(t){e.alertService.error("Passwort zurücksetzten fehlgeschlagen","Passwort konnte nicht zurückgesetzt werden, probieren Sie es später noc
1h einmal.",e.alertOptions),e.changeRef.detectChanges()})})},e.prototype.onReset=function(e){this.submitted=!1,this.focus="",this.alert=!0,e.reset(),this.changeRef.detectChanges()},e.prototype.floatLabel=function(e){this.focus===e?this.focus="":this.focus=e,this.changeRef.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(_5),qP(xte),qP(_te))},e.ɵcmp=DN({type:e,selectors:[["reset-pwd-form"]],viewQuery:function(e,t){var n;(1&e&&Kj(Ste,5),2&e)&&(Jj(n=Xj())&&(t.input=n.first))},standalone:!1,decls:2,vars:2,consts:[["forgotPasswordInput",""],[3,"id"],[1,"form-container","content-wrapper"],[3,"ngSubmit","formGroup"],[1,"row"],[1,"col-12","form-group"],[1,"form-group-inner"],["for","loginOrEmail",3,"ngClass"],["required","","id","loginOrEmail","formControlName","loginOrEmail",1,"form-control",3,"focus","blur"],[1,"form-btn-container","toggle-order","component-spacer"],["type","submit",1,"btn","btn-primary"],[1,"d-flex"],[1,"icon-attention_alert"],[3,"innerHTML"]],template:function(e,t){1&e&&(o$(0,"alert",1),HV(1,Dte,13,9,"section",2)),2&e&&(n$("id",t.alertOptions.id),$A(),UV(t.alert?-1:1))},dependencies:[GJ,x4,F2,x3,k3,s5,L4,j4,Cte,iee],encapsulation:2}),e}(),Ote=["passwordInput"],Pte=["confirmPasswordInput"];function Lte(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie ihr neues Passwort ein!"),s$())}function Nte(e,t){1&e&&(r$(0,"span"),VH(1,"Ihr Passwort muss mindestens 7 Zeichen lang sein, mindestens ein Sonderzeichen und eine Zahl enthalten."),s$())}function Rte(e,t){if(1&e&&(r$(0,"rwm-validation-container",10)(1,"p",15),o$(2,"span",16),HV(3,Lte,2,0,"span"),HV(4,Nte,2,0,"span"),s$()()),2&e){var n=qj(2);n$("id","password"),$A(3),UV(n.f.password.errors.required?3:-1),$A(),UV(n.f.password.errors.pattern?4:-1)}}function Bte(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte bestätigen Sie ihr Passwort!"),s$())}function Fte(e,t){1&e&&(r$(0,"span"),VH(1,"Passwörter sind nicht gleich!"),s$())}function Vte(e,t){if(1&e&&(r$(0,"rwm-validation-container",10)(1,"p",15),o$(2,"span",16),HV(3,Bte,2,0,"span"),HV(4,Fte,2,0,"span"),s$()()),2&e){var n=qj(2);n$("id","confirmPassword"),$A(3),UV(n.f.confirmPassword.errors.required?3:-1),$A(),UV(n.f.confirmPassword.errors.mustMatch?4:-1)}}function $te(e,t){if(1&e){var n=w$();r$(0,"section",3)(1,"form",4),jj("ngSubmit",function(){return a_(n),l_(qj().onSubmit())}),r$(2,"div",5)(3,"div",6)(4,"div",7)(5,"label",8),VH(6," Passwort "),s$(),r$(7,"input",9,0),jj("focus",function(){return a_(n),l_(qj().floatLabel("password"))})("blur",function(){return a_(n),l_(qj().floatLabel("password"))}),s$(),HV(9,Rte,5,3,"rwm-validation-container",10),s$()(),r$(10,"div",6)(11,"div",7)(12,"label",11),VH(13," Passwort bestätigen "),s$(),r$(14,"input",12,1),jj("focus",function(){return a_(n),l_(qj().floatLabel("confirmPassword"))})("blur",function(){return a_(n),l_(qj().floatLabel("confirmPassword"))}),s$(),HV(16,Vte,5,3,"rwm-validation-container",10),s$()()(),r$(17,"div",13)(18,"button",14),VH(19,"Passwort ändern"),s$()()()()}if(2&e){var i=qj();$A(),n$("formGroup",i.changePwdForm),$A(2),xH("form-error",(i.submitted||i.f.password.touched)&&i.f.password.invalid),$A(2),xH("float-label",i.f.password.value||"password"===i.focus),$A(2),sV("aria-describedby","validation-box-password")("aria-invalid",(i.submitted||i.f.password.touched)&&i.f.password.invalid),$A(2),UV((i.submitted||i.f.password.touched)&&i.f.password.invalid?9:-1),$A(),xH("form-error",(i.submitted||i.f.confirmPassword.touched)&&i.f.confirmPassword.invalid),$A(2),xH("float-label",i.f.confirmPassword.value||"confirmPassword"===i.focus),$A(2),sV("aria-describedby","validation-box-confirmPassword")("aria-invalid",(i.submitted||i.f.confirmPassword.touched)&&i.f.confirmPassword.invalid),$A(2),UV((i.submitted||i.f.confirmPassword.touched)&&i.f.confirmPassword.invalid?16:-1)}}var jte=function(){function e(e,t,n,i){this.changeRef=e,this.formBuilder=t,this.resetPwdService=n,this.alertService=i,this.id=null,this.alert=!1,this.submitted=!1,this.focus="",this.passwordPattern="^(?=.*[A-Za-z])(?=.*\\d)(?=.*[!\"§$%&/()=?.,_:;#'+*-])[A-Za-z\\d[!\"§$%&/()=?.,_:;#'+*-]{7,}$",this.alertOptions={autoClose:!1,keepAfterRouteChange:!1}}return e.prototype.ngOnInit=function(){this.changePwdForm=this.formBuilder.group({password:["",[U2.required,U2.pattern(this.passwordPattern)]],confirmPassword:["",U2.required]},{validator:function(e){var t=e.controls.password,n=e.controls.confirmPassword;n.errors&&!n.errors.mustMatch||(t.value!==n.value?n.setErrors({mustMatch:!0}):n.setErrors(null))}})}
1,Object.defineProperty(e.prototype,"f",{get:function(){return this.changePwdForm.controls},enumerable:!1,configurable:!0}),e.prototype.onSubmit=function(){var e=this;if(this.submitted=!0,this.changePwdForm.invalid)return this.changePwdForm.controls.password.invalid?this.passwordInput.nativeElement.focus():this.confirmPasswordInput.nativeElement.focus(),void this.changeRef.detectChanges();var t=JSON.stringify(this.changePwdForm.value);W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.resetPwdService.changePassword(e.id,t).pipe(S8()).subscribe(function(t){e.alertService.success("Passwort geändert","Ihr Passwort wurde erfolgreich geändert, Sie können sich jederzeit damit anmelden.",e.alertOptions),e.onReset(e.changePwdForm),e.changeRef.detectChanges()},function(t){e.alertService.error("Fehler","Passwort kann nicht geändert werden, probieren Sie es später noch einmal.",e.alertOptions),e.changeRef.detectChanges()})})},e.prototype.onReset=function(e){this.submitted=!1,this.focus="",this.alert=!0,e.reset()},e.prototype.floatLabel=function(e){this.focus===e?this.focus="":this.focus=e,this.changeRef.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(_5),qP(xte),qP(_te))},e.ɵcmp=DN({type:e,selectors:[["change-pwd-form"]],viewQuery:function(e,t){if(1&e&&(Kj(Ote,5),Kj(Pte,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.passwordInput=n.first),Jj(n=Xj())&&(t.confirmPasswordInput=n.first)}},inputs:{id:"id"},standalone:!1,decls:2,vars:1,consts:[["passwordInput",""],["confirmPasswordInput",""],["aria-live","polite"],[1,"form-container","content-wrapper"],[3,"ngSubmit","formGroup"],[1,"row"],[1,"col-12","col-md-6","form-group"],[1,"form-group-inner"],["for","password"],["id","password","required","","formControlName","password","type","password",1,"form-control",3,"focus","blur"],[3,"id"],["for","confirmPassword"],["id","confirmPassword","required","","formControlName","confirmPassword","type","password",1,"form-control",3,"focus","blur"],[1,"form-btn-container","toggle-order","component-spacer"],["type","submit",1,"btn","btn-primary"],[1,"d-flex"],[1,"icon-attention_alert"]],template:function(e,t){1&e&&(o$(0,"alert",2),HV(1,$te,20,15,"section",3)),2&e&&($A(),UV(t.alert?-1:1))},dependencies:[x4,F2,x3,k3,s5,L4,j4,Cte,iee],encapsulation:2}),e}();function Hte(e,t){1&e&&o$(0,"change-pwd-form",2),2&e&&n$("id",qj().userId)}function zte(e,t){1&e&&o$(0,"reset-pwd-form")}var Ute=function(){function e(){this.userId=this.queryStringToObject(location.search).id}return e.prototype.ngOnInit=function(){},e.prototype.queryStringToObject=function(e){var t={};return e.startsWith("?")&&(e=e.substring(1)),e.split("&").map(function(e){var n=e.split("=");t[n[0]]=n[1]}),t},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["bsResetPwd"]],standalone:!1,decls:6,vars:3,consts:[[1,"component-page-title","component-spacer"],[1,"content-wrapper"],[3,"id"]],template:function(e,t){1&e&&(r$(0,"section",0)(1,"div",1)(2,"h1"),VH(3),s$()()(),HV(4,Hte,1,1,"change-pwd-form",2),HV(5,zte,1,0,"reset-pwd-form")),2&e&&($A(3),JH(t.userId?"Neues Passwort vergeben":"Passwort vergessen"),$A(),UV(t.userId?4:-1),$A(),UV(t.userId?-1:5))},dependencies:[Mte,jte],encapsulation:2}),e}(),qte=function(){function e(e){this.injector=e;var t=T2(Ute,{injector:e});customElements.define("bs-resetpwd-page",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,_Q,S5,p0,vte,V5]}),e}(),Wte=new $5.c9,Gte=function(){function e(e){var t=this;this.http=e,this.getRatingGroupList=function(e,n,i){var r=j5.KT+j5.vZ.stockmarket.rankingGroups+e,s=i?t.userToken():void 0;return n&&(r=r+"?userId="+n),t.http.get(r,s).pipe(Ox(function(e){return e}))},this.getRatingRegionsList=function(e){var n=j5.KT+j5.vZ.stockmarket.rankingRegions+e;return t.http.get(n).pipe(Ox(function(e){return e}))},this.getPublicProfiles=function(e){var n=j5.KT+j5.vZ.stockmarket.publicProfile+e;return t.http.get(n).pipe(Ox(function(e){return e}))},this.getWeeklyPeriods=function(){var e=j5.KT+j5.vZ.stockmarket.rankingWeeklyPeriods;return t.http.get(e).pipe(Ox(function(e){return e}))},this.getRatingWeekList=function(e){var n=j5.KT+j5.vZ.stockmarket.rankingWeekly+e;return t.http.get(n).pipe(Ox(function(e){return e}))}}return e.prototype.userToken=function(){var e=Wte.get("accessToken");return e||(e=""),{headers:new XQ({"Content-Type":"application/json",Authorization:"Bearer "+e})}},e.prototype.getHeader=function(e){return{headers:new XQ({"Content-Type":"application/json",Authorization:"Bearer "+e})}},e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),Zte=function(){function e(e){var t=this;this.http=e,this.getPublicProfiles=function(e){var n=j5.KT+j5.vZ.stockmarket.publicProfile+e;return t.http.get(n).pipe(Ox(function(e){return e}))}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),Yte=o(2556),Kte=o.n(Yte),Jte=function(){function e(){}return e.prototype.transform=function(e,t,n,i){var r="",s="";
1return null==n&&(n="#.##0,00"),null!=t&&(s=(i?"":" ")+t),null==e||isNaN(e)?e:(e>0&&"%"==t&&(r="+"),r+Kte()(n,e)+s)},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"formatNumber",type:e,pure:!0,standalone:!1}),e}(),Xte=function(){function e(){}return e.prototype.transform=function(e,t,n){if(null==t&&(t="negative"),null==n&&(n="positive"),null!=e&&!isNaN(e))return e>0?n:e<0&&t},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"positiveNegativePipe",type:e,pure:!0,standalone:!1}),e}(),Qte=function(){function e(){}return e.prototype.transform=function(e){return j5.AJ.indexDetails+e},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"ttDetailPathPipe",type:e,pure:!0,standalone:!1}),e}(),ene=o(4692),tne=["popoverButton"],nne=["popover"],ine=["closeButton"],rne=["*"],sne=function(e){return{show:e}};function one(e,t){1&e&&f$(0)}function ane(e,t){if(1&e&&VH(0),2&e){var n=qj(2);QH(" ",n.user.firstname," ",n.user.lastname," ")}}function lne(e,t){if(1&e&&VH(0),2&e){var n=qj(2);QH(" ",n.user.school," ",n.user.schoolclass," ")}}function cne(e,t){if(1&e&&(r$(0,"span",16),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.user.ageGroup)}}function une(e,t){1&e&&(r$(0,"span",17),VH(1," | "),s$())}function dne(e,t){if(1&e&&(r$(0,"span",18),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.user.region)}}function hne(e,t){if(1&e&&(r$(0,"span",19),VH(1),s$()),2&e){var n=qj(2);$A(),QH("",n.user.school," ",n.user.schoolclass)}}function pne(e,t){if(1&e&&(r$(0,"span",20),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.user.schooldistrict)}}function fne(e,t){if(1&e&&(r$(0,"a",24),nU(1,"ttDetailPathPipe"),VH(2),s$()),2&e){var n=qj(2);n$("href",iU(1,2,n.user.bestPositionId),ZI),$A(2),XH(" ",n.user.bestPositionName," ")}}function mne(e,t){if(1&e&&(o$(0,"bs-avatar-img",12),r$(1,"div",13)(2,"span",14),HV(3,ane,1,2),HV(4,lne,1,2),s$(),r$(5,"span",15),HV(6,cne,2,1,"span",16),HV(7,une,2,0,"span",17),HV(8,dne,2,1,"span",18),HV(9,hne,2,2,"span",19),HV(10,pne,2,1,"span",20),s$()(),r$(11,"div",21)(12,"dl",22)(13,"div",23)(14,"dt"),VH(15,"Rang"),s$(),r$(16,"dd"),VH(17),s$()(),r$(18,"div",23)(19,"dt"),VH(20,"Gesamtentwicklung Spieldepot"),s$(),r$(21,"dd"),nU(22,"positiveNegativePipe"),VH(23),nU(24,"formatNumber"),s$()(),r$(25,"div",23)(26,"dt"),VH(27,"Beim Börsespiel seit"),s$(),r$(28,"dd"),VH(29),nU(30,"date"),s$()(),r$(31,"div",23)(32,"dt"),VH(33,"Top-Performer im Spieldepot"),s$(),r$(34,"dd")(35,"span"),nU(36,"positiveNegativePipe"),VH(37),nU(38,"formatNumber"),s$(),HV(39,fne,3,4,"a",24),s$()()()()),2&e){var n=qj();n$("icon",n.user.avatarId)("wrapperClass","avatar"),$A(3),UV(n.showSchool?-1:3),$A(),UV(n.showSchool?4:-1),$A(2),UV(n.showSchool?-1:6),$A(),UV(!n.showSchool&&n.user.region?7:-1),$A(),UV(!n.showSchool&&n.user.region?8:-1),$A(),UV(n.isScholar?9:-1),$A(),UV(n.showSchool?10:-1),$A(7),JH(n.user.rank),$A(4),SH(iU(22,18,n.user.performancePercent)),$A(2),XH(" ",sU(24,20,n.user.performancePercent,"%","#.##0,00")," "),$A(6),JH(rU(30,24,n.user.joinedAt,"dd.MM.yyyy")),$A(6),SH(iU(36,27,n.user.bestPositionPerformancePercent)),$A(2),XH(" ",sU(38,29,n.user.bestPositionPerformancePercent,"%","#.##0,00")," "),$A(2),UV(n.user.bestPositionId&&n.user.bestPositionName?39:-1)}}function gne(e,t){1&e&&o$(0,"div",11)}function vne(e,t){1&e&&Zj(0)}var yne=new $5.c9,bne=function(){function e(e,t,n){this.dialogService=e,this.changeRef=t,this.decimalPipe=n,this.isScholar=!1,this.showSchool=!1,this.openedInOverlay=!1,this.visibleOtherProfile=this.userProfile("publicProfile"),this.isVisible=!1,this.uId="popover"+E5.A.uidGenerator(),this.show=!1,this.arrowStyle=0,this.popoverStyles={position:"absolute",transform:"translate3d( 0, 0,  0)",top:0,left:0,"will-change":"transform",width:"auto"},this.visibleSlickBackdrop=!1}return e.prototype.onKeydownHandler=function(e){this.closePopOver()},e.prototype.userProfile=function(e){var t=yne.get("profile");return!!t&&JSON.parse(X5.o4.atob(t))[e]},e.prototype.getUser=function(e,t,n){var i=this;t&&n.preventDefault(),this.user?this.togglePopup():this.dialogService.getPublicProfiles(e).subscribe(function(e){i.user=e,i.togglePopup()})},e.prototype.onFocusOut=function(e){this.popover.nativeElement.contains(e.relatedTarget)||this.closeBtn.nativeElement.focus()},e.prototype.closePopOver=function(){this.show&&(this.closeElements(),this.button.nativeElement.focus())},e.prototype.togglePopup=function(){var e=this;this.show=!this.show,this.show&&this.user?(this.appendTo&&(this.appendPopover=ene(this.popover.nativeElement).appendTo(this.appendTo)),this.backdrop=ene("<div>",{class:"popover-backdrop","aria-hidden":"true"}),this.openedInOverlay?this.backdrop.appendTo(this.button.nativeElement.closest(".fancybox-content")):this.backdrop.appendTo("body"),ene(".popover-backdrop").on("click",function(){e.closeElements()}),ene(this.popover.nativeElement).on("focusout",function(t){e.onFocusOut(t)}),this.placement(),this.closeBtn.nativeElement.focus()):this.closeElements()},e.prototype.closeElements=function(){this.show=!1,this.visibleSlickBackdrop=!1,this.backdrop.remove(),this.appendTo&&this.appendPopover.remove(),this.changeRef.detectChanges()},e.prototype.onResize=function(){this.show&&(this.appendTo?this.closeElements():this.placement())},e.prototype.placement=function(){var e,t=this.button.nativeElement,n=t.offsetHeight,i=t.offsetWidth,r=window.outerWidth<=320?window.outerWidth-2:290,s=n+t.offsetTop;switch(!0){case void 0!==this.appendTo:s=(o=this.pageOffset(t)).top+(n+t.offsetTop),e=o.left+i/2-r/2,this.popoverStyles.width=r+"px",this.arrowStyle=Math.floor(r/2);break;case t.offsetLeft+r>=window.outerWidth:e=t.offsetLeft+(i+15)-r,this.popoverStyles.width=r+"px",this.arrowStyle=Math.floor(r-(i+7.5));break;default:var o,a=(o=this.pageOffset(t)).left-t.offsetLeft;this.popoverStyles.width=r+"px",e=a+(i-r)/2>=0?(i-r)/2:-a,this.arrowStyle=Math.floor(r/2)}this.popoverStyles.transform="translate3d("+e+"px, "+s+"px,  0)",this.changeRef.detectChanges()},e.prototype.pageOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+i,left:t.left+n}},e.prototype.getFormatNumber=function(e){if(!isNaN(e)){var t=this.decimalPipe.transform(e,"1.2-2","de");return e>0&&(t="+"+t),t}},e.ɵfac=function(t){return new(t||e)(qP(Zte),qP(uZ),qP(AX))},e.ɵcmp=DN({type:e,selectors:[["user-dialog"]],viewQuery:function(e,t){if(1&e&&(Kj(tne,5),Kj(nne,5),Kj(ine,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.button=n.first),Jj(n=Xj())&&(t.popover=n.first),Jj(n=Xj())&&(t.closeBtn=n.first)}},hostBindings:function(e,t){1&e&&jj("resize",function(){return t.onResize()},uA)("keydown.escape",function(e){return t.onKeydownHandler(e)},dA)},inputs:{userId:"userId",userPublicProfile:"userPublicProfile",isScholar:"isScholar",showSchool:"showSchool",appendTo:"appendTo",openedInOverlay:"openedInOverlay",icon:"icon",style:"style",user:"user"},standalone:!1,ngContentSelectors:rne,decls:14,vars:15,consts:[["popoverButton",""],["popover",""],["closeButton",""],["tpl",""],[3,"click","keydown.space"],[4,"ngTemplateOutlet"],["role","tooltip",1,"popover","bs-popover-bottom","fade",3,"ngClass","id","ngStyle"],[1,"arrow"],["type","button",1,"close",3,"click"],["aria-hidden","true",1,"icon-close-small"],[1,"visually-hidden",3,"translate"],["aria-hidden","true",1,"popover-backdrop"],[3,"icon","wrapperClass"],[1,"popover-header"],[1,"title"],[1,"subheadline"],["aria-label","Jahrgang"],["aria-hidden","true"],["aria-label","Region"],["aria-label","Schule"],["aria-label","Schulbezirk"],[1,"popover-body"],[1,"user-dialog-detail"],[1,"details-lists"],[3,"href"]],template:function(e,t){if(1&e){var n=w$();Gj(),r$(0,"button",4,0),jj("click",function(){return a_(n),l_(t.getUser(t.userId)
1)})("keydown.space",function(e){return a_(n),l_(t.getUser(t.userId,!0,e))}),oR(2,one,1,0,"ng-container",5),s$(),r$(3,"div",6,1),o$(5,"div",7),r$(6,"button",8,2),jj("click",function(){return a_(n),l_(t.closePopOver())}),o$(8,"span",9)(9,"span",10),s$(),HV(10,mne,40,33),s$(),HV(11,gne,1,0,"div",11),oR(12,vne,1,0,"ng-template",null,3,cU)}if(2&e){var i=nH(13);SH(t.style+" underline-clickable btn-clear"),sV("aria-expanded",t.show)("aria-haspopup","dialog"),$A(2),n$("ngTemplateOutlet",i),$A(),n$("ngClass",jz(13,sne,t.show))("id",t.uId)("ngStyle",t.popoverStyles),$A(2),_H("left",t.arrowStyle,"px"),$A(4),n$("translate","CLOSE"),$A(),UV(t.user?10:-1),$A(),UV(t.visibleSlickBackdrop?11:-1)}},dependencies:[GJ,uX,cX,e2,xX,Jte,Xte,Qte],encapsulation:2}),e}();function wne(e,t){1&e&&(r$(0,"div",3),VH(1," Die Rangliste ist noch nicht verfügbar. "),s$()),2&e&&xH("loading-table",qj().showLoading)}function _ne(e,t){1&e&&(r$(0,"th",7),VH(1,"Spieler"),s$())}function xne(e,t){1&e&&(r$(0,"th",8),VH(1,"Schule"),s$())}function kne(e,t){1&e&&(r$(0,"th",9),VH(1,"Klasse"),s$())}function Cne(e,t){1&e&&(r$(0,"span",11),VH(1,"Hervorgehobene Zeile"),s$())}function Sne(e,t){1&e&&(r$(0,"span",11),VH(1,"aufsteigend"),s$())}function Tne(e,t){1&e&&(r$(0,"span",11),VH(1,"absteigend"),s$())}function Ene(e,t){if(1&e&&(r$(0,"span"),VH(1),o$(2,"span",17),HV(3,Sne,2,0,"span",11),HV(4,Tne,2,0,"span",11),s$()),2&e){var n=qj().$implicit;$A(),XH(" ",n.rank," "),$A(),xH("positive",n.rank<n.previousRank)("negative",n.rank>n.previousRank),$A(),UV(n.rank<n.previousRank?3:-1),$A(),UV(n.rank>n.previousRank?4:-1)}}function Ine(e,t){1&e&&o$(0,"span",14),2&e&&n$("innerText",qj().$index+1)}function Ane(e,t){if(1&e&&(r$(0,"td")(1,"span",13),VH(2,"Spieler:"),s$(),r$(3,"user-dialog",18),o$(4,"avatar",19),VH(5),s$()()),2&e){var n=qj().$implicit,i=qj(2);$A(3),kH("user"),n$("userId",n.userId)("userPublicProfile",n.publicProfile)("icon",n.avatarId&&n.publicProfile?n.avatarId:n.gender)("isScholar",i.groupOptions[i.activeGroupRating].visibleSchool&&!i.groupOptions[i.activeGroupRating].visibleUserSchool),$A(),n$("icon",n.avatarId)("wrapperClass","avatar small")("defaultIcon",n.gender),$A(),XH(" ",n.name," ")}}function Dne(e,t){if(1&e&&(r$(0,"td",15)(1,"span",13),VH(2,"Schule:"),s$(),VH(3),s$()),2&e){var n=qj().$implicit;$A(3),XH("",n.school," ")}}function Mne(e,t){if(1&e&&(r$(0,"td")(1,"span",13),VH(2,"Schule:"),s$(),r$(3,"user-dialog",20),o$(4,"avatar",19),VH(5),s$()()),2&e){var n=qj().$implicit;$A(3),kH("school-user"),n$("userId",n.userId)("userPublicProfile",n.publicProfile)("icon",n.avatarId&&n.publicProfile?n.avatarId:n.gender)("showSchool",!0),$A(),n$("icon",n.avatarId)("wrapperClass","avatar small")("defaultIcon",n.gender),$A(),XH(" ",n.school," ")}}function One(e,t){1&e&&(r$(0,"td",16)(1,"span",13),VH(2,"Klasse:"),s$()()),2&e&&n$("innerText",qj().$implicit.schoolClass)}function Pne(e,t){if(1&e&&(HV(0,Cne,2,0,"span",11),r$(1,"tr")(2,"td",12)(3,"span",13),VH(4,"Ranking:"),s$(),HV(5,Ene,5,7,"span"),HV(6,Ine,1,1,"span",14),s$(),HV(7,Ane,6,10,"td"),HV(8,Dne,4,1,"td",15),HV(9,Mne,6,10,"td"),HV(10,One,3,1,"td",16),r$(11,"td",12)(12,"span",13),VH(13,"Depotentwicklung:"),s$(),o$(14,"span",14),nU(15,"positiveNegativePipe"),nU(16,"formatNumber"),s$()()),2&e){var n=t.$implicit,i=qj(2);UV(n.selected?0:-1),$A(),xH("selected",n.selected),$A(4),UV(i.groupOptions[i.activeGroupRating].overrideRanking?-1:5),$A(),UV(i.groupOptions[i.activeGroupRating].overrideRanking?6:-1),$A(),UV(i.groupOptions[i.activeGroupRating].visibleUser?7:-1),$A(),UV(i.groupOptions[i.activeGroupRating].visibleSchool&&!i.groupOptions[i.activeGroupRating].visibleUserSchool?8:-1),$A(),UV(i.groupOptions[i.activeGroupRating].visibleUserSchool?9:-1),$A(),UV(i.groupOptions[i.activeGroupRating].visibleSchool?10:-1),$A(4),SH(iU(15,12,n.performancePercent)),n$("innerText",sU(16,14,n.performancePercent,"%","#.##0,00"))}}function Lne(e,t){if(1&e&&(r$(0,"div",4)(1,"table",5)(2,"tr")(3,"th",6),VH(4,"Ranking"),s$(),HV(5,_ne,2,0,"th",7),HV(6,xne,2,0,"th",8),HV(7,kne,2,0,"th",9),r$(8,"th",10),VH(9,"Depotentwicklung"),s$()(),YV(10,Pne,17,18,null,null,GV),nU(12,"slice"),s$()()),2&e){var n=qj();xH("loading-table",n.showLoading),$A(),n$("border",1),$A(4),UV(n.groupOptions[n.activeGroupRating].visibleUser?5:-1),$A(),UV(n.groupOptions[n.activeGroupRating].visibleSchool?6:-1),$A(),UV(n.groupOptions[n.activeGroupRating].visibleSchool?7:-1),$A(3),XV(sU(12,6,n.rankingList,0,n.limit))}}var Nne=function(){function e(e){var t=this;this.changeRef=e,this.visible=!1,this.showLoading=!1,this.rankingList=["","","","","","",""],this.activeGroupRating="adult",this.limit=100,this.labelledBy="",this.visibleRows=[],this.toggleMobileRow=function(e){if(t.visibleRows.includes(e)){var n=t.visibleRows.indexOf(e);t.visibleRows.splice(n,1)}else t.visibleRows.push(e);t.changeRef.detectChanges()},this.checkVisibleRow=function(e){return t.visibleRows.includes(e)}}return e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["bs-ranking-table"]],inputs:{visible:"visible",showLoading:"showLoading",rankingList:"rankingList",activeGroupRating:"activeGroupRating",groupOptions:"groupOptions",visibleOtherProfiles:"visibleOtherProfiles",limit:"limit",labelledBy:"labelledBy"},standalone:!1,decls:3,vars:5,consts:[[1,"component-table"],[1,"text-center","fw-bold",3,"loading-table"],[1,"table-wrapper","overflow-inherit",3,"loading-table"],[1,"text-center","fw-bold"],[1,"table-wrapper","overflow-inherit"],[1,"low-row-height","cell-align-top",3,"border"],["scope","col",1,"small-col"],["scope","col"],["scope","col",1,"school"],["scope","col",1,"school-class"],["scope","col",1,"small-col","md-ellipsis-performance"],[1,"visually-hidden"],[1,"small-col"],[1,"visually-hidden","d-block","d-md-none"],[3,"innerText"],[1,"school"],[1,"school-class",3,"innerText"],[1,"symbol"],[3,"userId","userPublicProfile","icon","isScholar"],[3,"icon","wrapperClass","defaultIcon"],[3,"userId","userPublicProfile","icon","showSchool"]],template:function(e,t){1&e&&(r$(0,"div",0),HV(1,wne,2,2,"div",1),HV(2,Lne,13,10,"div",2),s$()),2&e&&(sV("id",t.labelledBy?"region-panel":null)("role",t.labelledBy?"tabpanel":null)("aria-labelledby",t.labelledBy?t.labelledBy:null),$A(),UV(0===t.rankingList.length?1:-1),$A(),UV(t.rankingList.length>0?2:-1))},dependencies:[bne,q9,LX,Jte,Xte],encapsulation:2}),e}();function Rne(e,t){if(1&e&&(r$(0,"h2"),VH(1),s$()),2&e){var n=qj(2);$A(),QH("Top ",n.limit," am ",n.rankingDate)}}function Bne(e,t){if(1&e&&(r$(0,"div",2)(1,"div",3),o$(2,"span",4),r$(3,"span",5),VH(4),s$()(),r$(5,"user-dialog",6),o$(6,"avatar",7)(7,"span",8),s$(),r$(8,"div",9),o$(9,"div",10),nU(10,"positiveNegativePipe"),nU(11,"formatNumber"),s$()()),2&e){var n=t.$implicit;$A(2),SH(vz("icon-pokal-",n.rank)),$A(2),XH("Rang ",n.rank),$A(),kH("user"),n$("userPublicProfile",n.publicProfile)("userId",n.userId)("icon",n.avatarId&&n.publicProfile?n.avatarId:n.gender)("isScholar","scholar"===n.group),$A(),n$("icon",n.avatarId)("wrapperClass","avatar small")("defaultIcon",n.gender),$A(),n$("innerText",n.name),$A(2),SH(iU(10,17,n.performancePercent)),n$("innerText",sU(11,19,n.performancePercent,"%","#.##0,00"))}}function Fne(e,t){if(1&e&&(r$(0,"section",0),HV(1,Rne,2,2,"h2"),r$(2,"div",1),YV(3,Bne,12,23,"div",2,GV),nU(5,"slice"),s$()()),2&e){var n=qj();$A(),UV(n.rankingDate?1:-1),$A(),xH("loading-table",n.showLoading),$A(),XV(sU(5,3,n.rankingList,0,n.limit))}}new $5.c9;var Vne=function(){function e(){this.visible=!1,this.rankingList=["","","","","","",""],this.limit=5}return e.prototype.ngOnInit=function(){},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["bs-top-five"]],inputs:{visible:"visible",rankingList:"rankingList",rankingDate:"rankingDate",showLoading:"showLoading"},standalone:!1,decls:1,vars:1,consts:[[1,"ranking","top-five"],[1,"top-five-ranking","component","spacer"],[1,"container-content"],[1,"rank"],["aria-hidden","true"],[1,"visually-hidden"],[3,"userPublicProfile","userId","icon","isScholar"],[3,"icon","wrapperClass","defaultIcon"],[1,"ellipsis",3,"innerText"],[1,"course"],[3,"innerText"]],template:function(e,t){1&e&&HV(0,Fne,6,7,"section",0),2&e&&UV(t.rankingList.length>0?0:-1)},dependencies:[bne,q9,LX,Jte,Xte],encapsulation:2}),e}();function $ne(){return $ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$ne.apply(null,arguments)}var jne=["navTabs"],Hne=["navTabsRegion"];function zne(e,t){if(1&e){var n=w$();r$(0,"button",13,0),jj("click",function(){var e=a_(n).$implicit;return l_(qj(2).toggleGroup(e.value))})("keydown.arrowLeft",function(){var e=a_(n).$index;return l_(qj(2).shiftFocus("prev",e))})("keydown.arrowRight",function(){var e=a_(n).$index;return l_(qj(2).shiftFocus("next",e))}),VH(2),s$()}
1if(2&e){var i=t.$implicit,r=qj(2);xH("active",i.value===r.activeGroupRating),n$("id","ranking-tab-"+i.value)("tabIndex",i.value===r.activeGroupRating?"0":"-1"),sV("aria-selected",i.value===r.activeGroupRating)("aria-controls","ranking-panel"),$A(2),XH(" ",i.title," ")}}function Une(e,t){if(1&e&&o$(0,"bs-top-five",9),2&e){var n=qj(2);n$("showLoading",n.showLoading)("rankingList",n.rankingList)("rankingDate",n.rankingDate)}}function qne(e,t){if(1&e&&VH(0),2&e){var n=qj(3);QH(" Top ",n.maxEntries?n.maxEntries:n.groupOptions[n.activeGroupRating].maxEntries," am ",n.rankingDate," ")}}function Wne(e,t){1&e&&VH(0),2&e&&XH(" Persönlicher Rang am ",qj(3).rankingDate," ")}function Gne(e,t){if(1&e&&(r$(0,"h2"),HV(1,qne,1,2),HV(2,Wne,1,1),s$()),2&e){var n=qj(2);$A(),UV("personal"!==n.activeGroupRating?1:-1),$A(),UV("personal"===n.activeGroupRating?2:-1)}}function Zne(e,t){if(1&e){var n=w$();r$(0,"div")(1,"div",14)(2,"div",15)(3,"rwm-select",16),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.selectActiveCountry,e)||(t.selectActiveCountry=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj(2);return l_(e.toggleGroup(e.activeGroupRating,e.selectActiveCountry))}),s$()()()()}if(2&e){var i=qj(2);$A(3),lz("ngModel",i.selectActiveCountry),n$("selectOptions",i.selectOptionsCountry)("items",i.countrieList)("id","bundesland")("label","Bundesland")("sortable",!0)}}function Yne(e,t){if(1&e){var n=w$();r$(0,"div")(1,"div",14)(2,"div",15)(3,"rwm-select",17),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.selectActiveWeek,e)||(t.selectActiveWeek=e),l_(e)}),jj("modelChange",function(e){return a_(n),l_(qj(2).getWeeks(e))}),s$()()()()}if(2&e){var i=qj(2);$A(3),lz("ngModel",i.selectActiveWeek),n$("selectOptions",i.selectOptionsWeek)("items",i.weekRankingList)("id","week")("label","Spielwoche")}}function Kne(e,t){if(1&e){var n=w$();r$(0,"li",18)(1,"button",19,1),jj("click",function(){var e=a_(n),t=e.$implicit,i=e.$index,r=qj(3);return l_(r.toggleGroup(r.activeGroupRating,t.value,i))})("keydown.arrowLeft",function(){var e=a_(n).$index;return l_(qj(3).shiftFocus("prev",e,"region"))})("keydown.arrowRight",function(){var e=a_(n).$index;return l_(qj(3).shiftFocus("next",e,"region"))}),VH(3),s$()()}if(2&e){var i=t.$implicit,r=t.$index,s=qj(3);$A(),xH("active",i.value===s.activeRegion),n$("id","region-tab-"+r)("tabIndex",i.value===s.activeRegion?"0":"-1"),sV("aria-selected",i.value===s.activeRegion)("aria-controls","region-panel"),$A(2),XH(" ",i.title," ")}}function Jne(e,t){if(1&e&&(r$(0,"ul",10),YV(1,Kne,4,7,"li",18,GV),s$()),2&e){var n=qj(2);$A(),XV(n.regionList)}}function Xne(e,t){if(1&e){var n=w$();r$(0,"div",11)(1,"div",14)(2,"div",15)(3,"rwm-select",16),uz("ngModelChange",function(e){a_(n);var t=qj(2);return cz(t.selectActiveRegion,e)||(t.selectActiveRegion=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj(2);return l_(e.toggleGroup(e.activeGroupRating,e.selectActiveRegion))}),s$()()()()}if(2&e){var i=qj(2);$A(3),lz("ngModel",i.selectActiveRegion),n$("selectOptions",i.selectOptionsRegion)("items",i.regionList)("id","region")("label","Region")("sortable",!0)}}function Qne(e,t){if(1&e&&(r$(0,"section",3)(1,"div",4)(2,"h1"),VH(3,"Rangliste"),s$()()(),r$(4,"div",5),YV(5,zne,3,7,"button",6,GV),s$(),o$(7,"alert",7),r$(8,"div",8),HV(9,Une,1,3,"bs-top-five",9),r$(10,"section",2),HV(11,Gne,3,2,"h2"),HV(12,Zne,4,6,"div"),HV(13,Yne,4,5,"div"),HV(14,Jne,3,0,"ul",10),HV(15,Xne,4,6,"div",11),o$(16,"bs-ranking-table",12),s$()()),2&e){var n=qj();$A(5),XV(n.groups),$A(2),n$("id",n.errorId),$A(),sV("aria-labelledby","ranking-tab-"+n.activeGroupRating),$A(),UV(n.groupOptions[n.activeGroupRating].visibleTopFive?9:-1),$A(2),UV(n.rankingDate?11:-1),$A(),UV("regions"===n.activeGroupRating?12:-1),$A(),UV("week"===n.activeGroupRating?13:-1),$A(),UV("regions"===n.activeGroupRating&&"ooe"===n.selectActiveCountry?14:-1),$A(),UV("regions"===n.activeGroupRating&&"ooe"===n.selectActiveCountry?15:-1),$A(),n$("showLoading",n.showLoading)("rankingList",n.rankingList)("activeGroupRating",n.activeGroupRating)("groupOptions",n.groupOptions)("labelledBy","regions"===n.activeGroupRating&&"ooe"===n.selectActiveCountry?"region-tab-"+n.activeRegionIndex:null)("limit",n.maxEntries?n.maxEntries:n.groupOptions[n.activeGroupRating].maxEntries)}}function eie(e,t){if(1&e&&(r$(0,"h2"),VH(1),s$()),2&e){var n=qj(2);$A(),QH("Top ",n.maxEntries?n.maxEntries:n.groupOptions[n.activeGroupRating].maxEntries," am ",n.rankingDate)}}function tie(e,t){if(1&e&&VH(0),2&e){var n=qj(3);QH(" Top ",n.maxEntries?n.maxEntries:n.groupOptions[n.activeGroupRating].maxEntries," am ",n.rankingDate," ")}}function nie(e,t){1&e&&VH(0),2&e&&XH(" Persönlicher Rang am ",qj(3).rankingDate," ")}function iie(e,t){if(1&e&&(r$(0,"h3"),HV(1,tie,1,2),HV(2,nie,1,1),s$()),2&e){var n=qj(2);$A(),UV("personal"!==n.onlyTableGroup?1:-1),$A(),UV("personal"===n.onlyTableGroup?2:-1)}}function rie(e,t){if(1&e&&(r$(0,"section",2),HV(1,eie,2,2,"h2"),HV(2,iie,3,2,"h3"),o$(3,"bs-ranking-table",20),s$()),2&e){var n=qj();$A(),UV(n.rankingDate&&"h3"!==n.headingHierarchy?1:-1),$A(),UV(n.rankingDate&&"h3"===n.headingHierarchy?2:-1),$A(),n$("showLoading",n.showLoading)("rankingList",n.rankingList)("activeGroupRating",n.activeGroupRating)("groupOptions",n.groupOptions)("limit",n.maxEntries?n.maxEntries:n.groupOptions[n.activeGroupRating].maxEntries)}}var sie=new $5.c9,oie=function(){function e(e,t,n){var i=this;this.RankingService=e,this.alertService=t,this.changeRef=n,this.onlyTableGroup=null,this.region=null,this.headingHierarchy="h2",this.visibleRows=[],this.limit=5,this.rankingList=["","","","","","",""],this.showLoading=!1,this.query=this.queryStringToObject(location.search),this.activeGroupQuery=this.query.activeGroup,this.activeGroupRating=this.activeGroupQuery?this.activeGroupQuery:"adult",this.activeRegionQuery=this.query.activeRegion,this.activeRegion=this.activeRegionQuery?this.activeRegionQuery:"129",this.activeRegionIndex=0,this.selectActiveRegion=this.activeRegion,this.selectActiveCountry="ooe",this.errorId="#error-ranking-"+E5.A.uidGenerator(),this.selectOptionsWeek={bindValue:"id",bindLabel:"label"},this.selectOptionsCountry={bindValue:"key",bindLabel:"title"},this.selectOptionsRegion={bindValue:"value",bindLabel:"title"},this.groupOptions={adult:{visibleSchool:!1,visibleUser:!0,visibleUserSchool:!1,visibleTopFive:!0,overrideRanking:!1,maxEntries:100},scholar:{visibleSchool:!0,visibleUser:!0,visibleUserSchool:!1,visibleTopFive:!0,overrideRanking:!1,maxEntries:100},schoolClass:{visibleSchool:!0,visibleUser:!1,visibleUserSchool:!0,visibleTopFive:!1,overrideRanking:!1,maxEntries:100},regions:{visibleSchool:!1,visibleUser:!0,visibleUserSchool:!1,visibleTopFive:!1,overrideRanking:!0,maxEntries:25},week:{visibleSchool:!1,visibleUser:!0,visibleUserSchool:!1,visibleTopFive:!1,overrideRanking:!0,maxEntries:10},employee:{visibleSchool:!1,visibleUser:!0,visibleUserSchool:!1,visibleTopFive:!1,overrideRanking:!0,maxEntries:100}},this.groups=[{title:"Erwachsenenwertung",value:"adult"},{title:"Schülerwertung",value:"scholar"},{title:"Klassenwertung",value:"schoolClass"},{title:"Wochenwertung",value:"week"},{title:"Regionen-Rallye",value:"regions"}],this.countrieList=e8,this.regionList=t8,this.profile=this.getJsonProfile(sie.get("profile",null)),this.toggleMobileRow=function(e){if(i.visibleRows.includes(e)){var t=i.visibleRows.indexOf(e);i.visibleRows.splice(t,1)}else i.visibleRows.push(e);i.changeRef.detectChanges()},this.checkVisibleRow=function(e){return i.visibleRows.includes(e)},this.checkIfOpen=function(e){},this.getWeeks=function(e){e?i.getWeekList(e):i.RankingService.getWeeklyPeriods().subscribe(function(e){var t,n;i.selectActiveWeek=e[e.length-1].id,i.weekRankingList=e;try{for(var r=(0,$g.Ju)(i.weekRankingList),s=r.next();!s.done;s=r.next()){var o=s.value,a=Z5()(o.startDate).format("DD.MM.YYYY"),l=Z5()(o.endDate).format("DD.MM.YYYY");o.label="Woche "+o.week+" ( "+a+" - "+l+" )"}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}i.getWeekList(i.selectActiveWeek)})},this.getWeekList=function(e){i.RankingService.getRatingWeekList(e).subscribe(function(e){e?(i.alertService.clear(i.errorId),i.rankingDate=e.rankingDate,i.rankingList=e.users,i.showLoading=!1):(i.rankingDate=null,i.rankingList=[],i.showLoading=!1),i.changeRef.detectChanges()},function(e){i.alert()})}}return e.prototype.ngOnInit=function(){this.onlyTableGroup?(this.activeGroupRating=this.onlyTableGroup,this.getGroupRanking(this.onlyTableGroup,this.region)):this.getGroupRanking(this.activeGroupRating,this.activeRegion),hK(s2)},e.prototype.shiftFocus=function(e,t,n){var i=this.tabElements;
1"region"===n&&(i=this.tabElementsRegion),"next"===e?t<i.length-1?i.forEach(function(e,n){t+1===n&&e.nativeElement.focus()}):i.first.nativeElement.focus():"prev"===e&&(t>0?i.forEach(function(e,n){t-1===n&&e.nativeElement.focus()}):i.last.nativeElement.focus())},e.prototype.toggleGroup=function(e,t,n){(this.activeGroupRating!==e||t)&&(this.activeGroupRating===e&&t&&t===this.activeRegion||(this.visibleRows=[],this.activeGroupRating=e,t&&(t="ooe"===t?"129":t,this.activeRegion=t,this.selectActiveRegion=t,this.activeRegionIndex=n),this.getGroupRanking(e,this.activeRegion)))},e.prototype.getGroupRanking=function(e,t){var n=this;this.alertService.clear(this.errorId),void 0===this.groupOptions[e]&&(e="adult",this.activeGroupRating=e),this.showLoading=!0,W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){"personal"===e?n.ratingGroupRequest(n.profile.group,n.profile.teltraderId):"week"===e&&t?n.getWeeks(n.selectActiveWeek):"regions"===e&&t?n.ratingRegionsRequest(t):"employee"===e?n.ratingGroupRequest(e,null,!0):n.ratingGroupRequest(e)})},e.prototype.ratingGroupRequest=function(e,t,n){var i=this;this.RankingService.getRatingGroupList(e,t,n).subscribe(function(e){e?(i.alertService.clear(i.errorId),i.rankingDate=e.rankingDate,i.rankingList=e.users,i.showLoading=!1):(i.rankingDate=null,i.rankingList=[],i.showLoading=!1),i.changeRef.detectChanges()},function(e){i.alert()})},e.prototype.ratingRegionsRequest=function(e){var t=this;this.RankingService.getRatingRegionsList(e).subscribe(function(e){e?(t.alertService.clear(t.errorId),t.rankingDate=e.rankingDate,t.rankingList=e.users,t.showLoading=!1,t.changeRef.detectChanges()):(t.rankingDate=null,t.rankingList=[],t.showLoading=!1)},function(e){t.alert()})},e.prototype.alert=function(){this.alertService.error("Rangliste momentan nicht verfügbar","Die Rangliste kann aktuell nicht geladen werden.",{id:this.errorId})},e.prototype.queryStringToObject=function(e){var t={};return e.startsWith("?")&&(e=e.substring(1)),e.split("&").map(function(e){var n=e.split("=");t[n[0]]=n[1]}),t},e.prototype.getJsonProfile=function(e){var t;if(e){e=JSON.parse(atob(e)),(t=this.groups).push.apply(t,(0,$g.fX)([{title:"Persönliche Rangliste",value:"personal"}],(0,$g.zs)(e.ownEmployee?[{title:"Bankstellenwertung",value:"employee"}]:[]),!1));var n=$ne({},this.groupOptions[e.group]);return n.visibleTopFive=!1,this.groupOptions.personal=n,e}},e.ɵfac=function(t){return new(t||e)(qP(Gte),qP(_te),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["bs-ranking"]],viewQuery:function(e,t){if(1&e&&(Kj(jne,5),Kj(Hne,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.tabElements=n),Jj(n=Xj())&&(t.tabElementsRegion=n)}},inputs:{onlyTableGroup:"onlyTableGroup",region:"region",maxEntries:"maxEntries",headingHierarchy:"headingHierarchy"},standalone:!1,decls:2,vars:2,consts:[["navTabs",""],["navTabsRegion",""],[1,"ranking"],[1,"component-page-title","component-spacer"],[1,"content-wrapper"],["role","tablist",1,"component-spacer","button-list"],["type","button","role","tab",1,"btn","btn-button-list","active",3,"id","tabIndex","active"],[3,"id"],["id","ranking-panel","role","tabpanel"],[3,"showLoading","rankingList","rankingDate"],["role","tablist",1,"nav","nav-tabs","small-view","d-none","d-md-flex","flex-wrap"],[1,"d-md-none"],[3,"showLoading","rankingList","activeGroupRating","groupOptions","labelledBy","limit"],["type","button","role","tab",1,"btn","btn-button-list","active",3,"click","keydown.arrowLeft","keydown.arrowRight","id","tabIndex"],[1,"form-container"],[1,"form-group","component-form-select"],[3,"ngModelChange","modelChange","ngModel","selectOptions","items","id","label","sortable"],[3,"ngModelChange","modelChange","ngModel","selectOptions","items","id","label"],[1,"nav-item"],["type","button","role","tab",1,"btn-clear","nav-link",3,"click","keydown.arrowLeft","keydown.arrowRight","id","tabIndex"],[3,"showLoading","rankingList","activeGroupRating","groupOptions","limit"]],template:function(e,t){1&e&&(HV(0,Qne,17,14),HV(1,rie,4,7,"section",2)),2&e&&(UV(t.onlyTableGroup?-1:0),$A(),UV(t.onlyTableGroup?1:-1))},dependencies:[x3,_4,Cte,Nne,Vne,r8],encapsulation:2}),e}(),aie=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,T5]}),e}(),lie=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({providers:[AX],imports:[RX,aie,fte,T5]}),e}(),cie=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({providers:[AX],imports:[RX,C5,p0,aie,T5,fte,vte]}),e}(),uie=function(){function e(e){this.injector=e;var t=T2(oie,{injector:e});customElements.define("bs-ranking-page",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({providers:[AX],imports:[RX,C5,p0,vte,lie,cie,F5]}),e}(),die=(new $5.c9,function(){function e(e){var t=this;this.http=e,this.emailVerifications=function(e,n){return t.http.put(j5.KT+j5.vZ.stockmarket.emailVerifications+e,n)}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}()),hie=function(){function e(e,t,n){this.cd=e,this.service=t,this.alertService=n,this.id="verification-"+E5.A.uidGenerator(),this.userId=this.queryStringToObject(location.search).uuid,this.email=this.queryStringToObject(location.search).email,this.alertOptions={id:this.id,autoClose:!1,keepAfterRouteChange:!1}}return e.prototype.ngOnInit=function(){var e=this;this.userId&&this.email?W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.service.emailVerifications(e.userId,{email:e.email}).subscribe(function(t){e.alertService.success("Vielen Dank!","Sie haben sich soeben erfolgreich für das OÖN-Börsespiel registriert und können sich jederzeit mit Ihren gewählten Benutzerdaten anmelden.<br> <br>Wir wünschen Ihnen viel Erfolg!<br> Ihr OÖN-Börsespiel-Team",e.alertOptions),e.cd.detectChanges()},function(t){e.alertService.error("Hoppla! Ein Fehler ist aufgetreten.","Leider ist während Ihrer Eingabe ein technischer Fehler aufgetreten. Bitte versuchen Sie die Registrierung zu einem späteren Zeitpunkt nochmal.<br> <br>Wir wünschen Ihnen viel Erfolg!<br> Ihr OÖN-Börsespiel-Team",e.alertOptions),e.cd.detectChanges()})}):window.location.href=this.startpage},e.prototype.queryStringToObject=function(e){var t={};return e.startsWith("?")&&(e=e.substring(1)),e.split("&").map(function(e){var n=e.split("=");t[n[0]]=n[1]}),t},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(die),qP(_te))},e.ɵcmp=DN({type:e,selectors:[["bs-email-verification"]],inputs:{startpage:"startpage"},standalone:!1,decls:6,vars:1,consts:[[1,"component-page-title","component-spacer"],[1,"content-wrapper"],[1,"content-section"],[3,"id"]],template:function(e,t){1&e&&(r$(0,"section",0)(1,"div",1)(2,"h1"),VH(3,"E-Mail-Adresse bestätigen"),s$()()(),r$(4,"
1section",2),o$(5,"alert",3),s$()),2&e&&($A(5),n$("id",t.id))},dependencies:[Cte],encapsulation:2}),e}(),pie=function(){function e(e){this.injector=e;var t=T2(hie,{injector:e});customElements.define("bs-email-verification-page",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,_Q,S5,p0,vte]}),e}(),fie=new $5.c9,mie=function(){function e(e){var t=this;this.http=e,this.getPersonalUserProfile=function(){var e=fie.get("accessToken");e||(e="");var n={headers:new XQ({"Content-Type":"application/json",Authorization:"Bearer "+e})},i=j5.KT+j5.vZ.stockmarket.personalUserProfile;return t.http.get(i,n).pipe(Ox(function(e){return e}))},this.getGroupInvitationReport=function(){var e=fie.get("accessToken");e||(e="");var n={headers:new XQ({"Content-Type":"application/json",Authorization:"Bearer "+e})},i=j5.KT+j5.vZ.stockmarket.groupInvitationReport;return t.http.get(i,n).pipe(Ox(function(e){return e}))}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}();class gie{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=ux(null,...ngDevMode?[{debugName:"reactiveHref"}]:[]);get href(){return Uq(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Gg;applicationErrorHandler=Dy(rx);options=Dy(b9,{optional:!0});constructor(e,t,n,i,r,s){this.router=e,this.route=t,this.tabIndexAttribute=n,this.renderer=i,this.el=r,this.locationStrategy=s,this.reactiveHref.set(Dy(new mG("href"),{optional:!0}));const o=r.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===o||"area"===o||!("object"!=typeof customElements||!customElements.get(o)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let e=this.preserveFragment;const t=e=>"merge"===e||"preserve"===e;e||=t(this.queryParamsHandling),e||=!this.queryParamsHandling&&!t(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(e=>{e instanceof F6&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){if(ngDevMode&&g6(this.routerLinkInput)&&(void 0!==this.fragment||this.queryParams||this.queryParamsHandling||this.preserveFragment||this.relativeTo))throw new ev(4017,"Cannot configure queryParams or fragment when using a UrlTree as the routerLink input value.");this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){null==e?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(g6(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,n,i,r){const s=this.urlTree;if(null===s)return!0;if(this.isAnchorElement){if(0!==e||t||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const o={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,o)?.catch(e=>{this.applicationErrorHandler(e)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const e=this.urlTree;this.reactiveHref.set(null!==e&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,t){const n=this.renderer,i=this.el.nativeElement;null!==t?n.setAttribute(i,e,t):n.removeAttribute(i,e)}get urlTree(){return null===this.routerLinkInput?null:g6(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:gie,deps:[{token:V9},{token:v7},{token:"tabindex",attribute:!0},{token:OP},{token:xC},{token:rK}],target:hG.Directive});static"ɵdir"=EY({minVersion:"16.1.0",version:"20.3.28",type:gie,isStandalone:!0,selector:"[routerLink]",inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",mY],skipLocationChange:["skipLocationChange","skipLocationChange",mY],replaceUrl:["replaceUrl","replaceUrl",mY],routerLink:"routerLink"},host:{listeners:{click:"onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)"},properties:{"attr.href":"reactiveHref()","attr.target":"this.target"}},usesOnChanges:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:gie,decorators:[{type:eq,args:[{selector:"[routerLink]",host:{"[attr.href]":"reactiveHref()"}}]}],ctorParameters:()=>[{type:V9},{type:v7},{type:void 0,decorators:[{type:dC,args:["tabindex"]}]},{type:OP},{type:xC},{type:rK}],propDecorators:{target:[{type:sq,args:["attr.target"]},{type:iq}],queryParams:[{type:iq}],fragment:[{type:iq}],queryParamsHandling:[{type:iq}],state:[{type:iq}],info:[{type:iq}],relativeTo:[{type:iq}],preserveFragment:[{type:iq,args:[{transform:mY}]}],skipLocationChange:[{type:iq,args:[{transform:mY}]}],replaceUrl:[{type:iq,args:[{transform:mY}]}],routerLink:[{type:iq}],onClick:[{type:oq,args:["click",["$event.button","$event.ctrlKey","$event.shiftKey","$event.altKey","$event.metaKey"]]}]}});class vie{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new rD;constructor(e,t,n,i,r){this.router=e,this.element=t,this.renderer=n,this.cdr=i,this.link=r,this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof F6&&this.update()})}ngAfterContentInit(){YQ(this.links.changes,YQ(null)).pipe(T0()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=ZQ(e).pipe(T0()).subscribe(e=>{this._isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask(()=>{const e=this.hasActiveLinks();this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){const t=function(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>{const i=n.urlTree;return!!i&&e.isActive(i,t)}}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:vie,deps:[{token:V9},{token:xC},{token:OP},{token:uZ},{token:gie,optional:!0}],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.28",type:vie,isStandalone:!0,selector:"[routerLinkActive]",inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},queries:[{propertyName:"links",predicate:gie,descendants:!0}],exportAs:["routerLinkActive"],usesOnChanges:!0,ngImport:e})}
1IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:vie,decorators:[{type:eq,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],ctorParameters:()=>[{type:V9},{type:xC},{type:OP},{type:uZ},{type:gie,decorators:[{type:zx}]}],propDecorators:{links:[{type:OG,args:[gie,{descendants:!0}]}],routerLinkActiveOptions:[{type:iq}],ariaCurrentWhenActive:[{type:iq}],isActiveChange:[{type:rq}],routerLinkActive:[{type:iq}]}});class yie{}class bie{preload(e,t){return t().pipe(T8(()=>YQ(null)))}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:bie,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:bie,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:bie,decorators:[{type:bC,args:[{providedIn:"root"}]}]});class wie{preload(e,t){return YQ(null)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:wie,deps:[],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:wie,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:wie,decorators:[{type:bC,args:[{providedIn:"root"}]}]});class _ie{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,n,i){this.router=e,this.injector=t,this.preloadingStrategy=n,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(FQ(e=>e instanceof F6),BQ(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const i of t){i.providers&&!i._injector&&(i._injector=IN(i.providers,e,`Route: ${i.path}`));const t=i._injector??e,r=i._loadedInjector??t;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&n.push(this.preloadConfig(t,i)),(i.children||i._loadedRoutes)&&n.push(this.processRoutes(r,i.children??i._loadedRoutes))}return ZQ(n).pipe(T0())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let n;n=t.loadChildren&&void 0===t.canLoad?this.loader.loadChildren(e,t):YQ(null);const i=n.pipe(RQ(n=>null===n?YQ(void 0):(t._loadedRoutes=n.routes,t._loadedInjector=n.injector,this.processRoutes(n.injector??e,n.routes))));return t.loadComponent&&!t._loadedComponent?ZQ([i,this.loader.loadComponent(e,t)]).pipe(T0()):i})}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_ie,deps:[{token:V9},{token:Cb},{token:yie},{token:_9}],target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_ie,providedIn:"root"})}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:_ie,decorators:[{type:bC,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:V9},{type:Cb},{type:yie},{type:_9}]});const xie=new $v("");class kie{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=M6;restoredId=0;store={};constructor(e,t,n,i,r={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=n,this.zone=i,this.options=r,r.scrollPositionRestoration||="disabled",r.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof B6?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof F6?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof $6&&e.code===L6.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Q6))return;const t={behavior:"instant"};e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],t):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position,t):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(async()=>{await new Promise(e=>{setTimeout(e),"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}),this.zone.run(()=>{this.transitions.events.next(new Q6(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:kie,deps:"invalid",target:hG.Injectable});static"ɵprov"=PY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:kie})}function Cie(e,t){return{"ɵkind":e,"ɵproviders":t}}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:kie,decorators:[{type:bC}],ctorParameters:()=>[{type:J8},{type:D9},{type:fK},{type:dD},{type:void 0}]});const Sie=new $v("",{providedIn:"root",factory:()=>!1});function Tie(){const e=Dy(X_);return t=>{const n=e.get(hF);if(t!==n.components[0])return;const i=e.get(V9),r=e.get(Eie);1===e.get(Iie)&&i.initialNavigation(),e.get(Die,null,{optional:!0})?.setUpPreloading(),e.get(xie,null,{optional:!0})?.init(),i.resetRootComponentType(n.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const Eie=new $v("undefined"==typeof ngDevMode||ngDevMode?"bootstrap done indicator":"",{factory:()=>new Gg}),Iie=new $v("undefined"==typeof ngDevMode||ngDevMode?"initial navigation":"",{providedIn:"root",factory:()=>1});function Aie(){let e=[];return e="undefined"==typeof ngDevMode||ngDevMode?[{provide:Zy,multi:!0,useFactory:()=>{const e=Dy(V9);return()=>e.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log(function(e){switch(e.type){case O6.ActivationEnd:return`ActivationEnd(path: '${e.snapshot.routeConfig?.path||""}')`;case O6.ActivationStart:return`ActivationStart(path: '${e.snapshot.routeConfig?.path||""}')`;case O6.ChildActivationEnd:return`ChildActivationEnd(path: '${e.snapshot.routeConfig?.path||""}')`;case O6.ChildActivationStart:return`ChildActivationStart(path: '${e.snapshot.routeConfig?.path||""}')`;case O6.GuardsCheckEnd:return`GuardsCheckEnd(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state}, shouldActivate: ${e.shouldActivate})`;case O6.GuardsCheckStart:return`GuardsCheckStart(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state})`;case O6.NavigationCancel:return`NavigationCancel(id: ${e.id}, url: '${e.url}')`;case O6.NavigationSkipped:return`NavigationSkipped(id: ${e.id}, url: '${e.url}')`;case O6.NavigationEnd:return`NavigationEnd(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}')`;case O6.NavigationError:return`NavigationError(id: ${e.id}, url: '${e.url}', error: ${e.error})`;case O6.NavigationStart:return`NavigationStart(id: ${e.id}, url: '${e.url}')`;case O6.ResolveEnd:return`ResolveEnd(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state})`;case O6.ResolveStart:return`ResolveStart(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state})`;case O6.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${e.route.path})`;case O6.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${e.route.path})`;case O6.RoutesRecognized:return`RoutesRecognized(id: ${e.id}, url: '${e.url}', urlAfterRedirects: '${e.urlAfterRedirects}', state: ${e.state})`;case O6.Scroll:const t=e.position?`${e.position[0]}, ${e.position[1]}`:null;return`Scroll(anchor: '${e.anchor}', position: '${t}')`}}(e)),console.log(e),console.groupEnd?.()})}}]:[],Cie(1,e)}const Die=new $v("undefined"==typeof ngDevMode||ngDevMode?"router preloader":"");function Mie(e){return nD("NgRouterViewTransitions"),Cie(9,[{provide:T9,useValue:I9},{provide:E9,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const Oie=[E7,gie,vie,M7],Pie=new $v("undefined"==typeof ngDevMode||ngDevMode?"router duplicate forRoot guard":""),Lie=[aK,{provide:J8,useClass:X8},V9,c7,{provide:v7,useFactory:function(e){return e.routerState.root},deps:[V9]},_9,"undefined"==typeof ngDevMode||ngDevMode?{provide:Sie,useValue:!0}:[]];class Nie{constructor(){("undefined"==typeof ngDevMode||ngDevMode)&&Dy(Pie,{optional:!0})}static forRoot(e,t){return{ngModule:Nie,providers:[Lie,("undefined"==typeof ngDevMode||ngDevMode)&&t?.enableTracing?Aie().ɵproviders:[],{provide:w9,multi:!0,useValue:e},"undefined"==typeof ngDevMode||ngDevMode?{provide:Pie,useFactory:Rie,deps:[[V9,new zx,new qx]]}:[],t?.errorHandler?{provide:A9,useValue:t.errorHandler}:[],{provide:b9,useValue:t||{}},t?.useHash?{provide:rK,useClass:eJ}:{provide:rK,useClass:oK},{provide:xie,useFactory:()=>{const e=Dy(fK),t=Dy(dD),n=Dy(b9),i=Dy(D9),r=Dy(J8);return n.scrollOffset&&e.setOffset(n.scrollOffset),new kie(r,i,e,t,n)}},t?.preloadingStrategy?(n=t.preloadingStrategy,Cie(0,[{provide:Die,useExisting:_ie},{provide:yie,useExisting:n}])).ɵproviders:[],t?.initialNavigation?Bie(t):[],t?.bindToComponentInputs?Cie(8,[D7,{provide:A7,useExisting:D7}]).ɵproviders:[],t?.enableViewTransitions?Mie().ɵproviders:[],[{provide:Fie,useFactory:Tie},{provide:oF,multi:!0,useExisting:Fie}]]};var n}static forChild(e){return{ngModule:Nie,providers:[{provide:w9,multi:!0,useValue:e}]}}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Nie,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.28",ngImport:e,type:Nie,imports:[E7,gie,vie,M7],exports:[E7,gie,vie,M7]});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Nie})}function Rie(e){if(e)throw new ev(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Bie(e){return["disabled"===e.initialNavigation?Cie(3,[rF(()=>{Dy(V9).setUpLocationChangeListener()}),{provide:Iie,useValue:2}]).ɵproviders:[],"enabledBlocking"===e.initialNavigation?Cie(2,[{provide:nT,useValue:!0},{provide:Iie,useValue:0},rF(()=>{const e=Dy(X_);return e.get(QY,Promise.resolve()).then(()=>new Promise(t=>{const n=e.get(V9),i=e.get(Eie);R9(n,()=>{t(!0)}),e.get(D9).afterPreactivation=()=>(t(!0),i.closed?YQ(void 0):i),n.initialNavigation()}))})]).ɵproviders:[]]}IY({minVersion:"12.0.0",version:"20.3.28",ngImport:e,type:Nie,decorators:[{type:aq,args:[{imports:Oie,exports:Oie}]}],ctorParameters:()=>[]});const Fie=new $v("undefined"==typeof ngDevMode||ngDevMode?"Router Initializer":"");function Vie(e,t){if(1&e&&(r$(0,"div")(1,"span",22),VH(2,"Schule:"),s$(),VH(3),s$()),2&e){var n=qj(3);$A(3),XH("",n.profile.school+" - Klasse "+n.profile.schoolclass," ")}}function $ie(e,t){if(1&e&&(r$(0,"div",5)(1,"h1",21)(2,"span",22),VH(3,"Spieldepot von: "),s$(),VH(4),r$(5,"span",23),VH(6),s$()(),HV(7,Vie,4,1,"div"),r$(8,"div")(9,"span")(10,"span",22),VH(11,"Geburtstdatum:"),s$(),VH(12),nU(13,"date"),s$(),VH(14," | "),r$(15,"span")(16,"span",22),VH(17,"Wohnort:"),s$(),VH(18),s$()()()),2&e){var n=qj(2);$A(4),QH(" ",n.profile.firstname," ",n.profile.lastname," "),$A(2),XH("( ",n.profile.login," )"),$A(),UV(n.profile.school&&n.profile.schoolclass?7:-1),$A(5),XH("",rU(13,6,n.profile.birthday,"dd.MM.yyyy")," "),$A(6),JH(n.profile.city)}}function jie(e,t){if(1&e&&(r$(0,"div",5)(1,"div",24),VH(2,"profile.school"),r$(3,"span",23),VH(4),s$()(),r$(5,"div",25),VH(6),s$(),r$(7,"div",26),VH(8,"Lehrperson: "),r$(9,"strong"),VH(10),s$()(),r$(11,"div")(12,"span",22),VH(13,"Schulbezirk:"),s$(),VH(14),s$()()),2&e){var n=qj(2);$A(4),XH("( ",n.profile.login," )"),$A(2),XH("'Klasse: ' ",n.profile.schoolclass),$A(4),QH("",n.profile.firstname," ",n.profile.lastname),$A(4),JH(n.profile.city)}}function Hie(e,t){if(1&e&&(r$(0,"div",14)(1,"dt"),VH(2,"Einzelwertung: "),s$(),r$(3,"dd"),VH(4),s$()()),2&e){var n=qj(2);$A(4),XH("Platz ",n.personalProfile.rank)}}function zie(e,t){if(1&e&&(r$(0,"dd",27),VH(1),s$()),2&e){var n=qj(3);$A(),XH("Platz ",n.personalProfile.regionRank)}}function Uie(e,t){1&e&&(r$(0,"dd",27),VH(1,"nicht gewertet"),s$(),r$(2,"tooltip",28),o$(3,"span",29),r$(4,"span",22),VH(5,"Information"),s$()()),2&e&&($A(2),n$("tooltipHeadline","Information")("tooltipContent","Mehrfachgewinne sind ausgeschlossen. Die besten fünf Teilnehmer:innen der Erwachsenenwertung (Platz 1-5) sind in keiner weiteren Wertung gewinnberechtigt und scheinen daher im Ranking der Regionen-Rallye nicht mehr auf. Nächstplatzierte rücken nach."))}function qie(e,t){if(1&e&&(r$(0,"div",10)(1,"dt"),VH(2,"Regionen Rallye "),r$(3,"strong"),VH(4),s$(),VH(5,": "),s$(),HV(6,zie,2,1,"dd",27),HV(7,Uie,6,2),s$()),2&e){var n=qj(2);$A(4),XH('"',n.personalProfile.region,'"'),$A(2),UV(n.personalProfile.regionRank?6:-1),$A(),UV(n.personalProfile.regionRank?-1:7)}}function Wie(e,t){if(1&e&&(r$(0,"div",16)(1,"a",30),VH(2,"Zum Spieldepot"),s$()()),2&e){var n=qj(2);$A(),n$("href",n.gamePagePath+".html",ZI)}}function Gie(e,t){if(1&e&&(r$(0,"div",2)(1,"div",3)(2,"div",4),HV(3,$ie,19,9,"div",5),HV(4,jie,15,5,"div",5),s$(),r$(5,"div",6)(6,"div",7),nU(7,"splitString"),o$(8,"bs-avatar-img",8),s$()(),r$(9,"div",9)(10,"dl")(11,"div",10)(12,"dt"),VH(13,"Gesamtentwicklung: "),s$(),r$(14,"dd",11)(15,"span",12),nU(16,"positiveNegativePipe"),VH(17),nU(18,"formatNumber"),s$(),r$(19,"span",13),nU(20,"positiveNegativePipe"),VH(21),nU(22,"formatNumber"),s$()()(),HV(23,Hie,5,1,"div",14),HV(24,qie,8,3,"div",10),s$
1()()(),r$(25,"nav",15)(26,"div",16)(27,"a",17),VH(28," Persönliches Profil"),s$()(),r$(29,"div",16)(30,"a",18),VH(31," Profil bearbeiten"),s$()(),r$(32,"div",16)(33,"a",19),VH(34,"Meine Gruppen "),o$(35,"bs-open-invitations",20),s$()(),HV(36,Wie,3,1,"div",16),s$()()),2&e){var n=qj();$A(3),UV("school"!==n.profile.group?3:-1),$A(),UV("school"===n.profile.group?4:-1),$A(2),SH(vz("avatar ",oU(7,32,n.profile.avatarId,"|",0,"lowercase"))),xH("unassigned",!n.profile.avatarId)("male",!n.profile.avatarId&&"Herr"===n.profile.salutation)("female",!n.profile.avatarId&&"Frau"===n.profile.salutation),$A(2),n$("icon",n.profile.avatarId),$A(7),SH(iU(16,37,n.personalProfile.totalPerformancePercent)),$A(2),XH(" ",sU(18,39,n.personalProfile.totalPerformancePercent,"%","#.##0,00")," "),$A(2),SH(iU(20,43,n.personalProfile.totalPerformance)),$A(2),XH(" (",sU(22,45,n.personalProfile.totalPerformance,"EUR","#.##0,00"),") "),$A(2),UV(n.personalProfile.rank?23:-1),$A(),UV(n.personalProfile.region?24:-1),$A(3),n$("state",n.personalProfile)("routerLinkActive","active")("ariaCurrentWhenActive","page"),$A(3),n$("state",n.personalProfile)("routerLinkActive","active")("ariaCurrentWhenActive","page"),$A(3),n$("state",n.personalProfile)("routerLinkActive","active")("ariaCurrentWhenActive","page"),$A(2),n$("loggedIn",!0)("bubbleSize","large"),$A(),UV(n.gamePagePath?36:-1)}}var Zie,Yie=new $5.c9,Kie=function(){function e(e,t,n,i,r,s,o){var a=this;this.injector=e,this.router=t,this.location=n,this.changeRef=i,this.personalProfileService=r,this.ngZone=s,this.userService=o,this.gameStart=null,this.restrictedEditing="false",this.btoaProfile=Yie.get("profile"),this.location.subscribe(function(e){var t=Yie.get("profile");a.btoaProfile!==t&&(a.btoaProfile=t),a.profileDetails(a.location.path())}),this.router.events.pipe(FQ(function(e){return e instanceof X6})).subscribe(function(e){if(e instanceof X6){var t=Yie.get("profile");a.btoaProfile!==t&&(a.btoaProfile=t,a.profileDetails(a.location.path())),a.changeRef.detectChanges()}}),this.router.routeReuseStrategy.shouldReuseRoute=function(){return!1}}return e.prototype.ngOnInit=function(){this.profileDetails(this.location.path()),this.userService.gameStart=this.gameStart},e.prototype.profileDetails=function(e,t){var n=this;if(this.btoaProfile&&this.personalProfile)e="/login"==e?"/profile":e,this.navigateTo(e,this.personalProfile);else switch(e){case"/register":case"/reset":case"/login":case"/forgotUsername":this.navigateTo(e);break;default:if(this.btoaProfile){var i=JSON.parse(X5.o4.atob(this.btoaProfile));this.profile=i,this.personalProfileService.getPersonalUserProfile().subscribe(function(t){n.personalProfile=t,n.personalProfile.restrictedEditing=/true/i.test(n.restrictedEditing),n.profile&&(n.personalProfile.profile=n.profile),Yie.set("personalProfile",t),n.router.navigateByUrl("/",{skipLocationChange:!0}).then(function(){n.navigateTo(e,t)})},function(){n.navigateTo("login")})}else e&&Yie.set("redirectPath",e),this.navigateTo("login")}},e.prototype.navigateTo=function(e,t){var n=this;this.ngZone.run(function(){n.router.navigate([e],{state:t})})},e.ɵfac=function(t){return new(t||e)(qP(X_),qP(V9),qP(aK),qP(uZ),qP(mie),qP(dD),qP(q5))},e.ɵcmp=DN({type:e,selectors:[["bsPersonalProfilePage"]],inputs:{gamePagePath:"gamePagePath",gameStart:"gameStart",restrictedEditing:"restrictedEditing"},standalone:!1,decls:4,vars:1,consts:[[1,"component-fullwidth"],[1,"container"],[1,"detail-page-header"],[1,"row","component-spacer"],[1,"col-lg-5","col-md-4","col-sm-12","col-xs-12","spacing-xs"],[1,"personal-data"],[1,"col-lg-2","col-md-4","col-sm-12","col-xs-12"],[2,"max-width","220px","margin","0 auto"],[3,"icon"],[1,"col-lg-5","col-md-4","col-sm-12","col-xs-12","text-md-end","course"],[1,"depot-info"],[1,"result-price"],[1,"depot-value","text-nowrap"],[1,"positive","text-nowrap"],[1,"depot-info","actual","large"],[1,"row","d-flex","justify-content-center"],[1,"col-xl-3","col-lg-4","col-sm-6","col-xs-12"],["routerLink","/profile",1,"btn","btn-outline",3,"state","routerLinkActive","ariaCurrentWhenActive"],["routerLink","/settings",1,"btn","btn-outline",3,"state","routerLinkActive","ariaCurrentWhenActive"],["routerLink","/groups",1,"btn","btn-outline",3,"state","routerLinkActive","ariaCurrentWhenActive"],[3,"loggedIn","bubbleSize"],[1,"name"],[1,"visually-hidden"],[1,"username"],[1,"school"],[1,"school-class"],[1,"teacher"],[1,"bold"],[3,"tooltipHeadline","tooltipContent"],["aria-hidden","true",1,"icon-info"],[1,"btn","btn-primary",3,"href"]],template:function(e,t){1&e&&(r$(0,"div",0)(1,"div",1),HV(2,Gie,37,49,"div",2),s$()(),o$(3,"router-outlet")),2&e&&($A(2),UV(t.profile&&t.personalProfile?2:-1))},dependencies:[N5,E7,gie,vie,xX,Jte,Xte,j9],encapsulation:2}),e}(),Jie=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,T5,vte,uie]}),e}(),Xie=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),Qie=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,C5,S5,T5,V5]}),e}(),ere=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,T5,Qie,vte,gte,mte,V5]}),e}(),tre=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,T5,Qie,vte,aie,V5]}),e}(),nre=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,T5,Qie,vte,aie,fte]}),e}(),ire=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,T5,vte,uie,ere,tre,Xie,B5,lie,aie,nre,fte]}),e}();function rre(e,t){if(1&e&&(r$(0,"span",1),VH(1),r$(2,"span",2),VH(3,"Offene Gruppeneinladungen"),s$()()),2&e){var n=qj();SH(vz("open-invitations ",n.bubbleSize)),$A(),JH(n.openInvitations)}}window.openGroupInvitations=void 0;var sre=function(){function e(e,t,n,i,r){this.injector=e,this.router=t,this.location=n,this.changeRef=i,this.personalProfileService=r,this.bubbleSize="large",this.loggedIn=!1,this.loggedInBoolean="str
1ing"==typeof this.loggedIn?"true"==this.loggedIn:this.loggedIn}return e.prototype.ngOnInit=function(){this.updateReport()},e.prototype.ngOnChanges=function(){this.updateReport()},e.prototype.updateReport=function(){("string"==typeof this.loggedIn?"true"==this.loggedIn:this.loggedIn)?(this.report(window.openGroupInvitations),this.checkReport()):(this.openInvitations=0,this.changeRef.detectChanges())},e.prototype.report=function(e){var t=this;null==e&&null==Zie?Zie=this.personalProfileService.getGroupInvitationReport().subscribe(function(e){Zie=void 0,t.openInvitations=e.openInvitations,window.openGroupInvitations=e.openInvitations,Q5.Z.publish("game.updateInvitations",e.openInvitations),t.changeRef.detectChanges()}):void 0!==Zie?setTimeout(function(){t.report(window.openGroupInvitations)},2e3):(this.openInvitations=e,this.changeRef.detectChanges())},e.prototype.checkReport=function(){var e=this;Q5.Z.subscribe("game.updateInvitations",function(t){void 0!==t&&""!==t?(e.openInvitations=t,e.changeRef.detectChanges()):e.report(void 0)})},e.ɵfac=function(t){return new(t||e)(qP(X_),qP(V9),qP(aK),qP(uZ),qP(mie))},e.ɵcmp=DN({type:e,selectors:[["openInvitations"]],inputs:{bubbleSize:"bubbleSize",loggedIn:"loggedIn"},standalone:!1,features:[ok],decls:1,vars:1,consts:[["title","Offene Gruppeneinladungen",3,"class"],["title","Offene Gruppeneinladungen"],[1,"visually-hidden"]],template:function(e,t){1&e&&HV(0,rre,4,4,"span",0),2&e&&UV(t.openInvitations>0?0:-1)},encapsulation:2}),e}(),ore=function(){function e(e){this.injector=e;var t=T2(sre,{injector:e});customElements.define("bs-open-invitations",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5]}),e}(),are=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,S5,T5,Nie,vte,V5]}),e}();function lre(e,t){if(1&e&&(r$(0,"span",24),VH(1),nU(2,"formatNumber"),s$(),o$(3,"span",25),nU(4,"uppercase")),2&e){var n=qj(3);$A(),XH(" ",sU(2,6,n.personalProfile.lastTrade.shares,"Stk.","#.##0,00")," "),$A(2),xH("positive","Buy"===n.personalProfile.lastTrade.type)("negative","Sell"===n.personalProfile.lastTrade.type),n$("translate",iU(4,10,n.personalProfile.lastTrade.type))}}function cre(e,t){if(1&e&&(o$(0,"a",22),nU(1,"ttDetailPathPipe"),r$(2,"span",23),HV(3,lre,5,12),s$()),2&e){var n=qj(2);n$("href",iU(1,3,n.personalProfile.lastTrade.id),ZI)("innerText",n.personalProfile.lastTrade.name),$A(3),UV(n.personalProfile.lastTrade?3:-1)}}function ure(e,t){if(1&e&&(o$(0,"a",22),nU(1,"ttDetailPathPipe"),r$(2,"span",24),nU(3,"positiveNegativePipe"),VH(4),nU(5,"formatNumber"),s$()),2&e){var n=qj(2);n$("href",iU(1,5,n.personalProfile.topPerformer.id),ZI)("innerText",n.personalProfile.topPerformer.name),$A(2),SH(iU(3,7,n.personalProfile.topPerformer.percBuyDiffInPfCurrency)),$A(2),XH(" ",sU(5,9,n.personalProfile.topPerformer.percBuyDiffInPfCurrency,"%","#.##0,00")," ")}}function dre(e,t){if(1&e&&(o$(0,"a",22),nU(1,"ttDetailPathPipe"),r$(2,"span",24),nU(3,"positiveNegativePipe"),VH(4),nU(5,"formatNumber"),s$()),2&e){var n=qj(2);n$("href",iU(1,5,n.personalProfile.worstPerformer.id),ZI)("innerText",n.personalProfile.worstPerformer.name),$A(2),SH(iU(3,7,n.personalProfile.worstPerformer.percBuyDiffInPfCurrency)),$A(2),XH(" ",sU(5,9,n.personalProfile.worstPerformer.percBuyDiffInPfCurrency,"%","#.##0,00")," ")}}function hre(e,t){if(1&e&&(o$(0,"a",22),nU(1,"ttDetailPathPipe"),r$(2,"span",23),nU(3,"positiveNegativePipe"),r$(4,"span",24),VH(5),nU(6,"formatNumber"),s$(),o$(7,"span",26),nU(8,"positiveNegativePipe"),s$()),2&e){var n=qj(2);n$("href",iU(1,6,n.personalProfile.bestTrade.id),ZI)("innerText",n.personalProfile.bestTrade.name),$A(2),SH(iU(3,8,n.personalProfile.bestTrade.profit)),$A(3),XH(" ",sU(6,10,n.personalProfile.bestTrade.profit,"EUR","#.##0,00")," "),$A(2),n$("innerText",sU(8,14,n.personalProfile.bestTrade.profit,"Verlust","Gewinn"))}}function pre(e,t){if(1&e&&(o$(0,"a",22),nU(1,"ttDetailPathPipe"),r$(2,"span",23),nU(3,"positiveNegativePipe"),r$(4,"span",24),VH(5),nU(6,"formatNumber"),s$(),o$(7,"span",26),nU(8,"positiveNegativePipe"),s$()),2&e){var n=qj(2);n$("href",iU(1,6,n.personalProfile.worstTrade.id),ZI)("innerText",n.personalProfile.worstTrade.name),$A(2),SH(iU(3,8,n.personalProfile.worstTrade.profit)),$A(3),XH(" ",sU(6,10,n.personalProfile.worstTrade.profit,"EUR","#.##0,00")," "),$A(2),n$("innerText",sU(8,14,n.personalProfile.worstTrade.profit,"Verlust","Gewinn"))}}function fre(e,t){if(1&e&&(r$(0,"section",27)(1,"h2"),VH(2),s$(),o$(3,"bs-ranking",28),s$()),2&e){var n=qj(3);$A(2),XH("Region ",n.personalProfile.region),$A(),n$("onlyTableGroup","regions")("region",n.personalProfile.regionId)("maxEntries",25)("headingHierarchy","h3")}}function mre(e,t){if(1&e&&HV(0,fre,4,5,"section",27),2&e){var n=qj(2);UV(n.personalProfile.regionId&&n.personalProfile.regionRank?0:-1)}}function gre(e,t){if(1&e&&(r$(0,"section",0)(1,"dl",1)(2,"div",2)(3,"div",3)(4,"dt",4),VH(5,"Anzahl Transaktionen"),s$(),r$(6,"dd",5),VH(7),s$()()(),r$(8,"div",2)(9,"div",3)(10,"dt",6),VH(11,"Letzte Transaktion"),s$(),r$(12,"dd",7),HV(13,cre,4,5),s$()()(),r$(14,"div",2)(15,"div",3)(16,"dt",8),VH(17,"Top-Performer im Spieldepot"),s$(),r$(18,"dd",9),HV(19,ure,6,13),s$()()(),r$(20,"div",2)(21,"div",3)(22,"dt",10),VH(23,"Worst-Performer im Spieldepot"),s$(),r$(24,"dd",11),HV(25,dre,6,13),s$()()(),r$(26,"div",2)(27,"div",3)(28,"dt",12),VH(29,"Bester Handel"),s$(),r$(30,"dd",13),HV(31,hre,9,18),s$()()(),r$(32,"div",2)(33,"div",3)(34,"dt",14),VH(35,"Schlechtester Handel"),s$(),r$(36,"dd",15),HV(37,pre,9,18),s$()()(),r$(38,"div",2)(39,"div",3)(40,"dt",16),VH(41,"Beim Börsespiel seit"),s$(),o$(42,"dd",17),nU(43,"date"),s$()(),r$(44,"div",2)(45,"div",3)(46,"dt",18),VH(47,"Lieblingsbörse"),s$(),r$(48,"dd",19),VH(49),s$()()()()(),r$(50,"section",20)(51,"h2"),VH(52,"Persönliche Rangliste"),s$(),o$(53,"bs-ranking",21),s$(),HV(54,mre,1,1)),2&e){var n=qj();$A(7),JH(n.personalProfile.transactions),$A(6),UV(n.personalProfile.lastTrade?13:-1),$A(6),UV(n.personalProfile.topPerformer?19:-1),$A(6),UV(n.personalProfile.worstPerformer?25:-1),$A(6),UV(n.personalProfile.bestTrade?31:-1),$A(6),UV(n.personalProfile.worstTrade?37:-1),$A(5),n$("innerText",rU(43,11,n.personalProfile.joinedAt,"dd.MM.yyyy")),$A(7),JH(n.personalProfile.topExchange),$A(4),n$("onlyTableGroup","personal")("headingHierarchy","h3"),$A(),UV(n.personalProfile?54:-1)}}var vre=new $5.c9,yre=function(){function e(e,t,n){this.router=e,this.activeRoute=t,this.cd=n;var i=this.router.currentNavigation();this.personalProfile=i.extras.state}return e.prototype.ngOnInit=function(){this.personalProfile||(this.personalProfile=vre.get("personalProfile")),this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(V9),qP(v7),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["bsPersonalRanking"]],inputs:{profile:"profile"},standalone:!1,decls:1,vars:1,consts:[[1,"ranking-details","component-spacer"],[1,"row","justify-content-center"],[1,"col-12","col-md-6","col-lg-4","col-xl-3"],[1,"container-content"],["for","userTransactions"],["id","userTransactions",1,"summary"],["for","userLastTrade"],["id","userLastTrade",1,"summary"],["for","userTopPerformerGame"],["id","userTopPerformerGame",1,"summary"],["for","userWorstPerformer"],["id","userWorstPerformer",1,"summary"],["for","userBestTrade"],["id","userBestTrade",1,"summary"],["for","userWorstTrade"],["id","userWorstTrade",1,"summary"],["for","userJoinedAt"],["id","userJoinedAt",1,"summary",3,"innerText"],["for","userTopExchange"],["id","userTopExchange",1,"summary"],[1,"component-spacer"],[3,"onlyTableGroup","headingHierarchy"],[1,"ellipsis",3,"href","innerText"],[1,"text-end"],[1,"text-nowrap"],[1,"d-block",3,"translate"],[1,"d-block",3,"innerText"],["id","region-ranking",1,"component-spacer"],[3,"onlyTableGroup","region","maxEntries","headingHierarchy"]],template:function(e,t){1&e&&HV(0,gre,55,14),2&e&&UV(t.personalProfile?0:-1)},dependencies:[e2,oie,bX,xX,Jte,Xte,Qte],encapsulation:2}),e}(),bre=o(7816),wre=function(){function e(e){var t=this;this.http=e,this.login=function(e){return t.http.post(j5.KT+j5.vZ.stockmarket.authentications,e)},this.current=function(e){var n={headers:new XQ({"Content-Type":"application/json",Authorization:"Bearer "+e})};return t.http.get(j5.KT+j5.vZ.stockmarket.userprofile,n)}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),_re=["username"],xre=["password"],kre=["stayLoggedCheckbox"],Cre=function(){return["/register"]},Sre=function(){return["/reset"]},Tre=function(){return["/forgotUsername"]};function Ere(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie Ihren Benutzernamen ein."),s$())}function Ire(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben sie mindestens 5 Zeichen ein."),s$())}function Are(e,t){if(1&e&&(r$(0,"rwm-validation-container",13)(1,"p",28),o$(2,"span",29),HV(3,Ere,2,0,"span"),HV(4,Ire,2,0,"span"),s$()()),2&e){var n=qj(2);n$("id","usernameLogin"),$A(3),UV(n.f.username.errors.required?3:-1),$A(),UV(n.f.username.errors.minlength?4:-1)}}function Dre(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie Ihr Passwort ein."),s$())}function Mre(e,t){if(1&e&&(r$(0,"rwm-validation-container",13)(1,"p",28),o$(2,"span",29),HV(3,Dre,2,0,"span"),s$()()),2&e){var n=qj(2);n$("id","passwordLogin"),$A(3),UV(n.f.password.errors.required?3:-1)}}function Ore(e,t){if(1&e){var n=w$();r$(0,"section",6)(1,"form",7),jj("ngSubmit",function(){return a_(n),l_(qj().onSubmit())}),r$(2,"div",8)(3,"div",9)(4,"div",10)(5,"label",11),VH(6," Benutzername * "),s$(),r$(7,"input",12,0),jj("focus",function(){return a_(n),l_(qj().floatLabel("username"))})("blur",function(){return a_(n),l_(qj().floatLabel("username"))}),s$()(),HV(9,Are,5,3,"rwm-validation-container",13),s$(),r$(10,"div",9)(11,"div",10)(12,"label",14),VH(13," Passwort * "),s$(),r$(14,"input",15,1),jj("focus",function(){return a_(n),l_(qj().floatLabel("password"))})("blur",function(){return a_(n),l_(qj().floatLabel("password"))}),s$(),r$(16,"button",16),jj("click",function(){return a_(n),l_(qj().visiblePassword())}),o$(17,"span",17),s$()(),HV(18,Mre,4,2,"rwm-validation-container",13),s$(),r$(19,"div",18)(20,"div",19)(21,"label",20),o$(22,"input",21,2)(24,"span",22),r$(25,"span",23),VH(26,"Angemeldet bleiben"),s$()()()()(),r$(27,"div",24)(28,"button",25),VH(29,"Anmelden"),s$()()(),r$(30,"div",26)(31,"a",27),VH(32," Registrieren "),s$()(),r$(33,"div",26)(34,"a",27),VH(35," Passwort vergessen "),s$()(),r$(36,"div",26)(37,"a",27),VH(38," Benutzername vergessen "),s$()()()}if(2&e){var i=qj();$A(),n$("formGroup",i.loginForm),sV("disabled",i.loading),$A(2),xH("form-error",(i.f.username.touched||i.submitted)&&i.f.username.errors),$A(2),xH("float-label",i.f.username.value||"username"===i.focus),$A(2),sV("aria-invalid",(i.f.username.touched||i.submitted)&&i.f.username.errors)("aria-describedby","validation-box-usernameLogin"),$A(2),UV((i.f.username.touched||i.submitted)&&i.f.username.errors?9:-1),$A(),xH("form-error",(i.f.password.touched||i.submitted)&&i.f.password.errors),$A(2),xH("float-label",i.f.password.value||"password"===i.focus),$A(2),n$("type",i.visiblePwd?"text":"password"),sV("aria-invalid",(i.f.password.touched||i.submitted)&&i.f.password.errors)("aria-describedby","validation-box-passwordLogin"),$A(2),sV("aria-pressed",i.visiblePwd),$A(),xH("icon-view",!i.visiblePwd)("icon-hide",i.visiblePwd),$A(),UV((i.f.password.touched||i.submitted)&&i.f.password.errors?18:-1),$A(13),n$("routerLink",$z(31,Cre))("routerLinkActive","active")("ariaCurrentWhenActive","page"),$A(3),n$("routerLink",$z(32,Sre))("routerLinkActive","active")("ariaCurrentWhenActive","page"),$A(3),n$("routerLink",$z(33,Tre))("routerLinkActive","active")("ariaCurrentWhenActive","page")}}var Pre=new $5.c9,Lre=new bre.D,Nre=function(){function e(e,t,n,i,r,s){this.changeRef=e,this.formBuilder=t,this.loginService=n,this.alertService=i,this.router=r,this.ngZone=s,this.alert=!1,this.submitted=!1,this.focus="",this.visiblePwd=!1,this.errorId="login-"+E5.A.uidGenerator(),this.loading=!1;var o=this.router.currentNavigation();this.personalProfile=o.extras.state}return Object.defineProperty(e.prototype,"f",{get:function(){return this.loginForm.controls}
1,enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.loginForm=this.formBuilder.group({username:["",[U2.required,U2.minLength(5)]],password:["",[U2.required]],stayLoggedIn:[""]})},e.prototype.onSubmit=function(){var e,t=this;if(this.submitted=!0,this.loginForm.invalid)return(null===(e=this.loginForm.controls)||void 0===e?void 0:e.username.errors)?this.usernameInput.nativeElement.focus():this.passwordInput.nativeElement.focus(),void this.changeRef.detectChanges();var n=JSON.stringify(this.loginForm.value);this.loading=!0,W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){t.loginService.login(n).subscribe(function(e){t.alertService.clear(t.errorId);var n=(new Date).getTime()+1e3*e.expiresIn;Pre.set("accessToken",e.accessToken),Pre.set("zone",e.zone),Pre.set("accessTokenExpiresAt",n),(null==e?void 0:e.bahaSession)&&Pre.set("baha.sessionToken",e.bahaSession),t.stayLoggedInput.nativeElement.checked&&e.refreshToken&&Lre.set("rwm.refreshToken",e.refreshToken),t.currentUser(e.accessToken,e.incompleteRegistration),t.changeRef.detectChanges()},function(e){t.alertService.clear(t.errorId),t.alertService.error("Anmeldung nicht möglich!","Benutzername oder Passwort sind nicht korrekt.",{id:t.errorId}),t.changeRef.detectChanges()},function(){t.loading=!1})})},e.prototype.currentUser=function(e,t){var n=this;this.loginService.current(e).subscribe(function(e){if(Pre.set("profile",X5.o4.btoa(JSON.stringify(e))),Q5.Z.publish("game.updateLogin"),t)n.routeNavigateTo("settings",e);else{var i=Pre.get("redirectPath")?Pre.get("redirectPath"):"profile";Pre.remove("redirectPath"),n.routeNavigateTo(i,e)}})},e.prototype.routeNavigateTo=function(e,t){var n=this;this.ngZone.run(function(){n.router.navigate([e],t),n.changeRef.detectChanges()})},e.prototype.floatLabel=function(e){this.focus===e?this.focus="":this.focus=e,this.changeRef.detectChanges()},e.prototype.visiblePassword=function(){var e=this;this.visiblePwd=!this.visiblePwd,this.visiblePwd&&setTimeout(function(){e.visiblePwd=!1},5e3),this.changeRef.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(_5),qP(wre),qP(_te),qP(V9),qP(dD))},e.ɵcmp=DN({type:e,selectors:[["bslogin"]],viewQuery:function(e,t){if(1&e&&(Kj(_re,5),Kj(xre,5),Kj(kre,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.usernameInput=n.first),Jj(n=Xj())&&(t.passwordInput=n.first),Jj(n=Xj())&&(t.stayLoggedInput=n.first)}},inputs:{profile:"profile"},standalone:!1,decls:6,vars:2,consts:[["username",""],["password",""],["stayLoggedCheckbox",""],[1,"component-page-title","component-spacer"],[1,"content-wrapper"],["aria-live","polite",3,"id"],[1,"form-container","content-wrapper"],[3,"ngSubmit","formGroup"],[1,"row"],[1,"col-12","form-group"],[1,"form-group-inner"],["for","usernameLogin"],["id","usernameLogin","required","","formControlName","username",1,"form-control",3,"focus","blur"],[3,"id"],["for","passwordLogin"],["id","passwordLogin","required","","formControlName","password",1,"form-control",3,"focus","blur","type"],["type","button","title","Passwort anzeigen",1,"visible-password",3,"click"],["aria-hidden","true"],[1,"col-12","component-form-checkbox"],[1,"form-check"],["for","stayloggedin",1,"form-check-label"],["formControlName","stayLoggedIn","name","login-check","type","checkbox","id","stayloggedin",1,"form-check-input"],["aria-hidden","true",1,"custom-control-indicator","icon-check"],[1,"form-check-label-text"],[1,"form-btn-container","component-spacer"],["type","submit",1,"btn","btn-primary"],[1,"text-center","spacing-top"],[1,"text-link","internal-path",3,"routerLink","routerLinkActive","ariaCurrentWhenActive"],[1,"d-flex"],[1,"icon-attention_alert"]],template:function(e,t){1&e&&(r$(0,"section",3)(1,"div",4)(2,"h1"),VH(3,"Börsespiel Anmeldung"),s$()()(),o$(4,"alert",5),HV(5,Ore,39,34,"section",6)),2&e&&($A(4),n$("id",t.errorId),$A(),UV(t.alert?-1:5))},dependencies:[x4,F2,N2,x3,k3,s5,L4,j4,gie,vie,Cte,iee],encapsulation:2}),e}(),Rre=(new $5.c9,function(){function e(e){var t=this;this.http=e,this.forgotUsername=function(e){return t.http.post(j5.KT+j5.vZ.stockmarket.forgotUsername,e)}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}()),Bre=["emailInput"];function Fre(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie Ihre E-Mail Adresse ein."),s$())}function Vre(e,t){1&e&&(r$(0,"span"),VH(1,"Bitte geben Sie eine gültige E-Mail Adresse ein."),s$())}function $re(e,t){if(1&e&&(r$(0,"rwm-validation-container",3)(1,"p",13),o$(2,"span",14),HV(3,Fre,2,0,"span"),HV(4,Vre,2,0,"span"),s$()()),2&e){var n=qj(2);n$("id","email"),$A(3),UV(null!=n.f.email.errors&&n.f.email.errors.required?3:-1),$A(),UV(null!=n.f.email.errors&&n.f.email.errors.pattern?4:-1)}}function jre(e,t){if(1&e){var n=w$();r$(0,"section",4)(1,"form",5),jj("ngSubmit",function(){return a_(n),l_(qj().onSubmit())})("keydown.enter",function(){return a_(n),l_(qj().onSubmit())}),r$(2,"div",6)(3,"div",7)(4,"div",8)(5,"label",9),VH(6," E-Mail Adresse "),s$(),r$(7,"input",10,0),jj("focus",function(){return a_(n),l_(qj().floatLabel("email"))})("blur",function(){return a_(n),l_(qj().floatLabel("email"))}),s$(),HV(9,$re,5,3,"rwm-validation-container",3),s$()()(),r$(10,"div",11)(11,"button",12),VH(12,"Benutzername anfordern"),s$()()()()}if(2&e){var i=qj();$A(),n$("formGroup",i.forgotUsernameForm),$A(2),xH("form-error",(i.submitted||i.f.email.touched)&&i.f.email.invalid),$A(2),xH("float-label",(null==i.f.email?null:i.f.email.value)||"email"===i.focus),$A(2),sV("aria-describedby","validation-box-email")("aria-invalid",(i.submitted||i.f.email.touched)&&i.f.email.invalid),$A(2),UV((i.submitted||i.f.email.touched)&&i.f.email.invalid?9:-1)}}var Hre=function(){function e(e,t,n,i,r,s){this.changeRef=e,this.formBuilder=t,this.forgotUsernameService=n,this.alertService=i,this.router=r,this.ngZone=s,this.alert=!1,this.forgotUsernameForm=this.formBuilder.group({email:["",[U2.required,U2.pattern(/^[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}$/)]]}),this.submitted=!1,this.focus="",this.hideForm=!1,this.alertOptions={id:"forgot-username",autoClose:!1,keepAfterRouteChange:!1},this.router.currentNavigation()}return e.prototype.ngOnInit=function(){},Object.defineProperty(e.prototype,"f",{get:function(){return this.forgotUsernameForm.controls}
1,enumerable:!1,configurable:!0}),e.prototype.onSubmit=function(){var e=this;if(this.submitted=!0,!this.forgotUsernameForm.valid)return this.input.nativeElement.focus(),void this.changeRef.detectChanges();var t=JSON.stringify(this.forgotUsernameForm.value);W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.alertService.clear(e.alertOptions.id),e.forgotUsernameService.forgotUsername(t).subscribe(function(t){e.alertService.success("Benutzername anfordern","Sie bekommen in Kürze eine E-Mail mit Ihrem Benutzernamen zugesendet, wenn die von Ihnen angegebene E-Mail Adresse in unserem System gespeichert ist.",e.alertOptions),e.onReset(e.forgotUsernameForm),e.hideForm=!0,e.changeRef.detectChanges()},function(t){e.alertService.error("Benutzername anforderung fehlgeschlagen","Benutzername konnte nicht angefordert werden, probieren Sie es später noch einmal.",e.alertOptions),e.changeRef.detectChanges()})})},e.prototype.onReset=function(e){this.submitted=!1,this.focus="",this.alert=!0,e.reset(),this.changeRef.detectChanges()},e.prototype.floatLabel=function(e){this.focus===e?this.focus="":this.focus=e,this.changeRef.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(_5),qP(Rre),qP(_te),qP(V9),qP(dD))},e.ɵcmp=DN({type:e,selectors:[["forgot-username"]],viewQuery:function(e,t){var n;(1&e&&Kj(Bre,5),2&e)&&(Jj(n=Xj())&&(t.input=n.first))},standalone:!1,decls:6,vars:2,consts:[["emailInput",""],[1,"component-page-title","component-spacer"],[1,"content-wrapper"],[3,"id"],[1,"form-container","content-wrapper"],[3,"ngSubmit","keydown.enter","formGroup"],[1,"row"],[1,"col-12","form-group"],[1,"form-group-inner"],["for","email"],["id","email","required","","formControlName","email",1,"form-control",3,"focus","blur"],[1,"form-btn-container","toggle-order","component-spacer"],["type","submit",1,"btn","btn-primary"],[1,"d-flex"],[1,"icon-attention_alert"]],template:function(e,t){1&e&&(r$(0,"section",1)(1,"div",2)(2,"h1"),VH(3,"Benutzername vergessen"),s$()()(),o$(4,"alert",3),HV(5,jre,13,8,"section",4)),2&e&&($A(4),n$("id",t.alertOptions.id),$A(),UV(t.alert?-1:5))},dependencies:[x4,F2,x3,k3,s5,L4,j4,Cte,iee],encapsulation:2}),e}(),zre=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["bsPageNotFound"]],standalone:!1,decls:2,vars:0,template:function(e,t){1&e&&(r$(0,"h2"),VH(1,"Seite konnte nicht gefunden werden."),s$())},encapsulation:2}),e}(),Ure=new $5.c9,qre=function(){function e(e){var t=this;this.http=e,this.deleteGroup=function(e){var n=j5.KT+j5.vZ.stockmarket.groups;return t.http.delete(n+"/"+e,t.userToken()).pipe(Ox(function(e){return e}))},this.deleteUser=function(e,n){var i=j5.KT+j5.vZ.stockmarket.groups;return t.http.delete(i+"/"+e+"/users/"+n,t.userToken()).pipe(Ox(function(e){return e}))},this.searchUser=function(e,n){var i=j5.KT+j5.vZ.stockmarket.userSearch,r="lastname="+n;return e&&(r="firstname="+e+"&lastname="+n),t.http.get(i+"?"+r,t.userToken()).pipe(Ox(function(e){return e}))},this.updateUser=function(e,n){var i=j5.KT+j5.vZ.stockmarket.groups+"/"+e+"/users",r={userId:n};return t.http.post(i,r,t.userToken()).pipe(Ox(function(e){return e}))},this.acceptInvitation=function(e,n){var i=j5.KT+j5.vZ.stockmarket.groups,r={userId:n,accepted:!0};return t.http.put(i+"/"+e+"/users/current",r,t.userToken()).pipe(Ox(function(e){return e}))},this.getPublicProfiles=function(e){var n=j5.KT+j5.vZ.stockmarket.publicProfile+e;return t.http.get(n).pipe(Ox(function(e){return e}))}}return e.prototype.userToken=function(){var e=Ure.get("accessToken");return e||(e=""),{headers:new XQ({"Content-Type":"application/json",Authorization:"Bearer "+e})}},e.prototype.getAllGroups=function(){var e=j5.KT+j5.vZ.stockmarket.currentGroups;return this.http.get(e,this.userToken()).pipe(Ox(function(e){return e}))},e.prototype.getGroupUsers=function(e){var t=j5.KT+j5.vZ.stockmarket.groups;return this.http.get(t+"/"+e+"/users",this.userToken()).pipe(Ox(function(e){return e}))},e.prototype.createGroup=function(e){var t=j5.KT+j5.vZ.stockmarket.groups;return this.http.post(t,e,this.userToken()).pipe(Ox(function(e){return e}))},e.prototype.editGroup=function(e,t){var n=j5.KT+j5.vZ.stockmarket.groups;return this.http.put(n+"/"+e,t,this.userToken()).pipe(Ox(function(e){return e}))},e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),Wre=["input"],Gre=function(e){return{"visually-hidden":e}};function Zre(e,t){1&e&&(r$(0,"span"),VH(1,"*"),s$())}function Yre(e,t){1&e&&(r$(0,"span"),VH(1,"*"),s$())}function Kre(e,t){if(1&e&&(r$(0,"span",4),VH(1),HV(2,Yre,2,0,"span"),s$()),2&e){var n=qj();
1$A(),XH("",n.shortLabel," "),$A(),UV(n.required&&!n.hideRequiredFlag?2:-1)}}function Jre(e,t){if(1&e&&(r$(0,"rwm-validation-container",6)(1,"p",7),o$(2,"span",8)(3,"span",9),s$()()),2&e){var n=qj();n$("id",n.id),$A(3),n$("innerHTML",n.errorText,WI)}}var Xre=function(){function e(e){var t=this;this.df=e,this.type="text",this.required=!1,this.hideRequiredFlag=!1,this.keyUp=!0,this.fieldInvalid=!1,this.errorText="",this.disabled=!1,this.floatLabel=!1,this.onChange=function(){},this.onTouched=function(){},this.checkFloatingLabel=function(e){"focus"===e.type||""!==e.target.value?t.floatLabel=!0:t.floatLabel=!1,t.df.detectChanges()},this.floatingStyles=function(e,t){return e||t?"float-label":""}}return e.prototype.ngOnInit=function(){this.id||(this.id=E5.A.uidGenerator())},e.prototype.ngOnChanges=function(){},e.prototype.modelChange=function(e){this.onChange(e),this.df.detectChanges()},e.prototype.writeValue=function(e){this.value=e,this.floatLabel=!!e},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.getName=function(e){return e.trim(),e.replace(/ /g,"-")},e.prototype.focus=function(){this.inputElement.nativeElement.focus()},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-input-control"]],viewQuery:function(e,t){var n;(1&e&&Kj(Wre,5),2&e)&&(Jj(n=Xj())&&(t.inputElement=n.first))},inputs:{id:"id",name:"name",type:"type",label:"label",shortLabel:"shortLabel",required:"required",hideLabel:"hideLabel",hideRequiredFlag:"hideRequiredFlag",value:"value",keyUp:"keyUp",fieldInvalid:"fieldInvalid",errorText:"errorText"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}]),ok],decls:9,vars:20,consts:[["input",""],[1,"form-group-inner"],[3,"for","ngClass"],[1,"label"],["aria-hidden","true",1,"short-label"],[1,"form-control",3,"ngModelChange","keydown.enter","blur","focus","ngModel","id","name","type","required"],[3,"id"],[1,"d-flex"],[1,"icon-attention_alert"],[3,"innerHTML"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",1)(1,"label",2)(2,"span",3),VH(3),HV(4,Zre,2,0,"span"),s$(),HV(5,Kre,3,2,"span",4),s$(),r$(6,"input",5,0),uz("ngModelChange",function(e){return a_(n),cz(t.value,e)||(t.value=e),l_(e)}),jj("keydown.enter",function(e){return a_(n),l_(e.target.blur())})("blur",function(e){return a_(n),t.modelChange(e.target.value),t.checkFloatingLabel(e),l_(t.onTouched())})("focus",function(e){return a_(n),l_(t.checkFloatingLabel(e))})("ngModelChange",function(e){return a_(n),l_(t.modelChange(e))}),s$()(),HV(8,Jre,4,2,"rwm-validation-container",6)}2&e&&($A(),SH(t.floatingStyles(t.value,t.floatLabel)),n$("for",t.id)("ngClass",jz(18,Gre,t.hideLabel)),$A(2),XH("",t.label," "),$A(),UV(t.required&&!t.hideRequiredFlag?4:-1),$A(),UV(t.shortLabel?5:-1),$A(),n$("id",gz(t.id))("name",gz(t.name))("type",gz(t.type)),lz("ngModel",t.value),n$("required",t.required),sV("aria-invalid",t.fieldInvalid)("aria-describedby","validation-box-"+t.id),$A(2),UV(t.fieldInvalid&&t.errorText?8:-1))},dependencies:[GJ,F2,x3,s5,_4,iee],encapsulation:2}),e}(),Qre=["formDialog"],ese=["editGroupBtn"],tse=["nameField"];function nse(e,t){if(1&e){var n=w$();r$(0,"button",17,3),jj("click",function(){return a_(n),l_(qj().openGroupSettings())}),s$()}if(2&e){var i=qj();SH("btn btn-primary"),n$("innerText",i.btnLabel)("disabled",i.disabled)}}function ise(e,t){if(1&e){var n=w$();r$(0,"button",18,3),jj("click",function(){return a_(n),l_(qj().openGroupSettings())}),o$(2,"span",19),s$()}if(2&e){var i=qj();SH("btn-clear "+i.showBtnIcon),n$("title",i.btnLabel)("disabled",i.disabled),$A(2),n$("innerText",i.btnLabel)}}function rse(e,t){1&e&&VH(0," Neue Gruppe erstellen ")}function sse(e,t){1&e&&VH(0),2&e&&XH(' Gruppe "',qj().model,'" bearbeiten ')}var ose=function(){function e(e,t,n){var i=this;this.fb=e,this.groupsRankingService=t,this.cd=n,this.disabled=!1,this.showBtnIcon=null,this.btnLabel="Neue Gruppe erstellen",this.modelChange=new rD,this.submitted=!1,this.groupForm=this.fb.group({name:[null,[U2.required,U2.minLength(3)]],avatarId:[]}),this.open=!1,this.openGroupSettings=function(){if(i.submitted=!1,i.groupForm.reset(),i.groupForm.get("name").setValue(i.model),i.groupForm.get("avatarId").setValue(i.avatar),!i.disabled){i.img=i.avatar;var e={baseClass:"resultFilterFancybox center-view",afterLoad:function(){i.triggerOpen(!0)},afterClose:function(){i.triggerOpen(!1),i.editGroupBtn.nativeElement.focus()}};E5.A.openFancybox(i.overlay.nativeElement,e,"form")}},this.triggerOpen=function(e){i.open=e,i.cd.detectChanges()},this.closeFilters=function(){i.submitted=!1,E5.A.closeFancybox(),i.cd.detectChanges()}}return Object.defineProperty(e.prototype,"f",{get:function(){return this.groupForm.controls}
1,enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.submitted=!1},e.prototype.changeAvatar=function(e){this.groupForm.get("avatarId").setValue(e.selected)},e.prototype.createGroups=function(e){var t=this;if(this.submitted=!0,this.cd.detectChanges(),this.groupForm.invalid)this.nameInput.focus();else{var n=this.groupForm.value;this.groupId?this.groupsRankingService.editGroup(this.groupId,n).subscribe(function(e){t.modelChange.emit(n),t.closeFilters()}):this.groupsRankingService.createGroup(n).subscribe(function(e){t.modelChange.emit(e),t.closeFilters()})}},e.ɵfac=function(t){return new(t||e)(qP(_5),qP(qre),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["group-settings"]],viewQuery:function(e,t){if(1&e&&(Kj(Qre,5),Kj(ese,5),Kj(tse,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.overlay=n.first),Jj(n=Xj())&&(t.editGroupBtn=n.first),Jj(n=Xj())&&(t.nameInput=n.first)}},inputs:{model:"model",avatar:"avatar",groupId:"groupId",disabled:"disabled",showBtnIcon:"showBtnIcon",btnLabel:"btnLabel"},outputs:{modelChange:"modelChange"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}])],decls:22,vars:14,consts:[["formDialog",""],["nameField",""],["avatarId",""],["editGroupBtn",""],["type","button","aria-haspopup","dialog",3,"class","innerText","disabled"],["type","button","aria-haspopup","dialog",3,"class","title","disabled"],[1,"collapse","form-container",2,"display","none"],[1,"text-center"],[1,"component-teletrader-content","bgr-input",3,"ngSubmit","keydown.enter","formGroup"],[1,"row"],[1,"form-group","col-12"],["name","groupName",3,"formControl","label","required","fieldInvalid","errorText"],[1,"col-12","text-center"],[3,"modelChange","model"],[1,"form-btn-container"],["type","submit",1,"btn","btn-primary"],["type","button",1,"btn","btn-secondary",3,"click"],["type","button","aria-haspopup","dialog",3,"click","innerText","disabled"],["type","button","aria-haspopup","dialog",3,"click","title","disabled"],[1,"visually-hidden",3,"innerText"]],template:function(e,t){if(1&e){var n=w$();HV(0,nse,2,4,"button",4),HV(1,ise,3,5,"button",5),r$(2,"div",6,0)(4,"h2",7),HV(5,rse,1,0),HV(6,sse,1,1),s$(),r$(7,"form",8),jj("ngSubmit",function(){return a_(n),l_(t.createGroups(t.f))})("keydown.enter",function(){return a_(n),l_(t.createGroups(t.f))}),r$(8,"fieldset",9)(9,"div",10),o$(10,"rwm-input-control",11,1),s$(),r$(12,"div",12)(13,"avatar-dialog",13,2),uz("modelChange",function(e){return a_(n),cz(t.img,e)||(t.img=e),l_(e)}),jj("modelChange",function(){a_(n);var e=nH(14);return l_(t.changeAvatar(e))}),s$()()(),r$(15,"div",14)(16,"div")(17,"button",15),VH(18),s$()(),r$(19,"div")(20,"button",16),jj("click",function(){return a_(n),l_(t.closeFilters())}),VH(21,"Abbrechen"),s$()()()()()}2&e&&(UV(t.showBtnIcon?-1:0),$A(),UV(t.showBtnIcon?1:-1),$A(4),UV(t.model?-1:5),$A(),UV(t.model?6:-1),$A(),n$("formGroup",t.groupForm),$A(),xH("error-fieldset",t.f.name.invalid&&(t.f.name.dirty||t.f.name.touched||t.submitted)),$A(2),n$("formControl",t.f.name)("label","Gruppenname")("required",!0)("fieldInvalid",t.f.name.invalid&&(t.f.name.dirty||t.f.name.touched||t.submitted))("errorText","Der Gruppenname muss mindestens 3 Zeichen lang sein!"),$A(3),lz("model",t.img),$A(5),XH("Gruppe ",t.model?"ändern":"erstellen"))},dependencies:[x4,x3,k3,s5,O4,L4,Xre,tee],encapsulation:2}),e}(),ase=["formDialog"],lse=["addUserBtn"],cse=["lastname"];function use(e,t){if(1&e&&(r$(0,"div",12)(1,"p"),VH(2),s$()()),2&e){var n=qj();$A(2),QH('Es wurde kein:e Teilnehmer:in mit dem Namen "',n.f.firstname.value," ",n.f.lastname.value,'" gefunden.')}}function dse(e,t){if(1&e&&(r$(0,"span",20),VH(1),s$()),2&e){var n=qj(2).$implicit;$A(),XH("Jahrgang ",n.ageGroup)}}function hse(e,t){if(1&e&&(r$(0,"span",20),VH(1),s$()),2&e){var n=qj(2).$implicit;$A(),QH("",n.school," ",n.schoolclass)}}function pse(e,t){if(1&e){var n=w$();r$(0,"button",24),jj("click",function(){a_(n);var e=qj(2).$implicit;return l_(qj(2).addToGroup(e.id))}),r$(1,"span",25),VH(2,"Hinzufügen"),s$()()}2&e&&($A(),n$("translate","ADD"))}function fse(e,t){1&e&&(r$(0,"span",23)(1,"span",4),VH(2,"Hinzugefügt"),s$()())}function mse(e,t){if(1&e&&(r$(0,"tr")(1,"td")(2,"user-dialog",18),VH(3),s$(),r$(4,"div",19),HV(5,dse,2,1,"span",20),HV(6,hse,2,2,"span",20),s$()(),r$(7,"td",21),HV(8,pse,3,1,"button",22),HV(9,fse,3,0,"span",23),s$()()),2&e){var n=qj().$implicit,i=qj(2);$A(2),kH("user"),n$("userId",n.id)("openedInOverlay",!0),$A(),QH(" ",n.firstname," ",n.lastname," "),$A
1(2),UV(n.ageGroup||n.region?5:-1),$A(),UV(n.school||n.schoolclass?6:-1),$A(2),UV(i.checkUser(n.id)?8:-1),$A(),UV(i.checkUser(n.id)?-1:9)}}function gse(e,t){if(1&e&&HV(0,mse,10,10,"tr"),2&e){var n=t.$implicit,i=qj(2);UV(n.id!==i.group.ownerUserId?0:-1)}}function vse(e,t){if(1&e&&(r$(0,"table",16),YV(1,gse,1,1,null,null,GV),s$()),2&e){var n=qj();$A(),XV(n.users)}}var yse=function(){function e(e,t,n){var i=this;this.fb=e,this.groupsRankingService=t,this.cd=n,this.modelChange=new rD,this.userSearchForm=this.fb.group({firstname:["",[U2.minLength(1)]],lastname:["",[U2.required,U2.minLength(2)]]}),this.open=!1,this.users=[],this.submitted=!1,this.loading=!1,this.formSuccessful=!1,this.openGroupSettings=function(){var e={baseClass:"resultFilterFancybox center-view",afterLoad:function(){i.triggerOpen(!0)},afterClose:function(){i.triggerOpen(!1),i.resetForm(),i.addUserBtn.nativeElement.focus()}};E5.A.openFancybox(i.overlay.nativeElement,e,"form")},this.triggerOpen=function(e){i.open=e,i.cd.detectChanges()},this.closeDialog=function(){i.resetForm(),E5.A.closeFancybox(),i.cd.detectChanges()}}return Object.defineProperty(e.prototype,"f",{get:function(){return this.userSearchForm.controls},enumerable:!1,configurable:!0}),e.prototype.search=function(){var e=this;this.submitted=!0,this.userSearchForm.get("firstname").valid&&this.userSearchForm.get("lastname").valid?(this.loading=!0,this.groupsRankingService.searchUser(this.userSearchForm.get("firstname").value,this.userSearchForm.get("lastname").value).subscribe(function(t){e.users=t,Q5.Z.publish("game.updateInvitations","")},function(t){console.info(t),e.formSuccessful=!1},function(){e.loading=!1,e.formSuccessful=!0,e.cd.detectChanges()})):(this.users=[],this.lastnameInput.inputElement.nativeElement.focus(),this.cd.detectChanges())},e.prototype.checkUser=function(e){return!this.group.groupUsers.find(function(t){return t.userId===e})},e.prototype.resetForm=function(){this.users=[],this.userSearchForm.reset(),this.submitted=!1},e.prototype.addToGroup=function(e){var t=this;this.groupsRankingService.updateUser(this.group.id,e).subscribe(function(){t.cd.detectChanges(),t.modelChange.emit(e)})},e.ɵfac=function(t){return new(t||e)(qP(_5),qP(qre),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["addUserToGroup"]],viewQuery:function(e,t){if(1&e&&(Kj(ase,5),Kj(lse,5),Kj(cse,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.overlay=n.first),Jj(n=Xj())&&(t.addUserBtn=n.first),Jj(n=Xj())&&(t.lastnameInput=n.first)}},inputs:{group:"group",model:"model"},outputs:{modelChange:"modelChange"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}])],decls:25,vars:17,consts:[["addUserBtn",""],["formDialog",""],["lastname",""],["type","button","title","Spieler hinzufügen","aria-haspopup","dialog",1,"btn-clear","btn-icon","icon-plus_circle",3,"click"],[1,"visually-hidden"],[1,"collapse","form-container","component-teletrader-content","add-group-user-dialog",2,"display","none"],[1,"text-center"],[1,"bgr-input",3,"ngSubmit","keydown.enter","formGroup"],[1,"row"],[1,"col-md-6","form-group"],["name","firstnameSearch",3,"formControl","label"],["name","lastnameSearch",3,"formControl","label","required","fieldInvalid","errorText"],[1,"text-center","fw-bold"],[1,"form-btn-container","d-flex","flex-direction-column","flex-row-reverse"],["type","submit",1,"btn","btn-primary"],[1,"component-teletrader-content","component-table"],[1,"component-spacer","group-search"],["type","button",1,"btn","btn-secondary",3,"click","translate"],[3,"userId","openedInOverlay"],[1,"user-subline"],[1,"d-block","small"],[1,"small-col"],["type","button","title","Hinzufügen",1,"btn-clear","icon-logout"],["t
1itle","Hinzugefügt",1,"icon-check"],["type","button","title","Hinzufügen",1,"btn-clear","icon-logout",3,"click"],[1,"visually-hidden",3,"translate"]],template:function(e,t){if(1&e){var n=w$();r$(0,"button",3,0),jj("click",function(){return a_(n),l_(t.openGroupSettings())}),r$(2,"span",4),VH(3),s$()(),r$(4,"div",5,1)(6,"h2",6),VH(7),s$(),h$(8),r$(9,"form",7),jj("ngSubmit",function(){return a_(n),l_(t.search())})("keydown.enter",function(){return a_(n),l_(t.search())}),r$(10,"fieldset",8)(11,"div",9),o$(12,"rwm-input-control",10),s$(),r$(13,"div",9),o$(14,"rwm-input-control",11,2),s$()(),HV(16,use,3,2,"div",12),r$(17,"div",13)(18,"button",14),VH(19,"Suchen"),s$()()(),r$(20,"div",15),HV(21,vse,3,0,"table",16),s$(),r$(22,"div",13)(23,"div")(24,"button",17),jj("click",function(){return a_(n),l_(t.closeDialog())}),s$()()(),p$(),s$()}2&e&&($A(3),XH('Spieler zur Gruppe "',t.group.name,'" hinzufügen.'),$A(4),XH(' Spieler zur Gruppe "',t.group.name,'" hinzufügen.'),$A(2),n$("formGroup",t.userSearchForm),$A(3),n$("formControl",t.f.firstname)("label","Vorname"),$A(),xH("form-error",(t.submitted||t.f.lastname.touched)&&t.f.lastname.invalid),$A(),n$("formControl",t.f.lastname)("label","Nachname")("required",!0)("fieldInvalid",(t.submitted||t.f.lastname.touched)&&t.f.lastname.invalid)("errorText","Bitte geben Sie mindestens 2 Zeichen ein!"),$A(2),UV(t.submitted&&t.f.lastname.valid&&0===t.users.length&&!t.loading&&t.formSuccessful?16:-1),$A(),xH("component-spacer",t.submitted&&0!==t.users.length),$A(4),UV(0!==t.users.length?21:-1),$A(3),n$("translate","CLOSE"))},dependencies:[x4,x3,k3,s5,O4,L4,e2,Xre,bne],encapsulation:2}),e}(),bse=[[["","icon",""]],[["","averagePerformancePercent",""]],[["","actions",""]],[["","body",""]]],wse=["[icon]","[averagePerformancePercent]","[actions]","[body]"],_se=function(){function e(e){this.df=e,this.unfolded=!1,this.loading=!1,this.saveState=!1,this.stateChange=new rD}return e.prototype.toggleAccordion=function(){this.unfolded=!this.unfolded,this.saveState&&this.stateChange.emit(this.unfolded),this.df.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-accordion"]],inputs:{headline:"headline",id:"id",unfolded:"unfolded",loading:"loading",saveState:"saveState"},outputs:{stateChange:"stateChange"},standalone:!1,ngContentSelectors:wse,decls:13,vars:12,consts:[[1,"component-tab-accordion","component-accordion"],[1,"tab-pane"],[1,"accordion-heading","visible-actions"],["type","button",1,"btn-clear",3,"click","id"],["aria-hidden","true",1,"icon","icon-dropdown"],[1,"headline"],[1,"title",3,"translate"],["role","region",1,"accordion-content-wrapper","collapse",3,"id"],[1,"tab-accordion-content"]],template:function(e,t){1&e&&(Gj(bse),r$(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),jj("click",function(){return t.toggleAccordion()}),o$(4,"span",4),r$(5,"span",5),Zj(6),o$(7,"span",6),s$()(),Zj(8,1),Zj(9,2),s$(),r$(10,"div",7)(11,"div",8),Zj(12,3),s$()()()()),2&e&&($A(),xH("opened",t.unfolded),$A(),xH("collapsed",!t.unfolded),$A(),n$("id","btn-"+t.id),sV("aria-controls","panel-"+t.id)("aria-expanded",t.unfolded),$A(4),n$("translate",t.headline),$A(3),xH("show",t.unfolded),n$("id","panel-"+t.id),sV("aria-labelledby","btn-"+t.id))},dependencies:[e2],encapsulation:2}),e}(),xse=["group-user",""],kse=["*"];function Cse(e,t){1&e&&(o$(0,"span",8),r$(1,"span",4),VH(2,"Gesperrt"),s$())}function Sse(e,t){1&e&&(r$(0,"span",4),VH(1,"Gruppenadministrator"),s$())}function Tse(e,t){1&e&&(r$(0,"span",5),o$(1,"span",9),s$())}function Ese(e,t){if(1&e&&(r$(0,"td",0),HV(1,Cse,3,0),VH(2),s$(),r$(3,"td",1)(4,"user-dialog",2),o$(5,"avatar",3),VH(6),HV(7,Sse,2,0,"span",4),s$(),HV(8,Tse,2,0,"span",5),s$(),r$(9,"td",0),o$(10,"span",6),nU(11,"positiveNegativePipe"),nU(12,"formatNumber"),s$(),r$(13,"td",7),Zj(14),s$()),2&e){var n=qj();$A(),UV(n.accepted?-1:1),$A(),XH(" ",n.rank," "),$A(2),kH("user"),n$("userId",n.user.userId)("userPublicProfile",n.user.publicProfile)("user",n.user)("icon",n.user.avatarId&&n.user.publicProfile?n.user.avatarId:n.user.gender),$A(),n$("icon",n.user.avatarId)("wrapperClass","avatar small")("defaultIcon",n.user.gender),$A(),QH(" ",n.user.firstname," ",n.user.lastname," "),$A
1(),UV(n.admin?7:-1),$A(),UV(n.admin?8:-1),$A(),xH("hide-performance",!n.accepted),$A(),SH(iU(11,20,n.performancePercent)),n$("innerText",sU(12,22,n.performancePercent,"%","#.##0,00"))}}var Ise=function(){function e(e,t){this.groupsRankingService=e,this.cd=t,this.admin=!1,this.userExists=new rD}return e.prototype.ngOnInit=function(){var e=this;this.subscription=this.groupsRankingService.getPublicProfiles(this.userid).subscribe(function(t){e.user=t,e.userExists.emit(!0),e.performancePercent=e.accepted?t.performancePercent:null,e.cd.detectChanges()},function(){e.userExists.emit(!1),console.log("Spieler besitz nicht über die notwendigen Rechte")})},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.ɵfac=function(t){return new(t||e)(qP(qre),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["","group-user",""]],inputs:{userid:"userid",rank:"rank",admin:"admin",accepted:"accepted"},outputs:{userExists:"userExists"},standalone:!1,attrs:xse,ngContentSelectors:kse,decls:1,vars:1,consts:[[1,"small-col"],[1,"d-flex","align-items-end"],[3,"userId","userPublicProfile","user","icon"],[3,"icon","wrapperClass","defaultIcon"],[1,"visually-hidden"],["aria-hidden","true","title","Gruppenadministrator",1,"group-admin"],[3,"innerText"],[1,"small-col","text-end","text-nowrap"],["aria-hidden","true",1,"icon-lock"],["aria-hidden","true",1,"icon-star"]],template:function(e,t){1&e&&(Gj(),HV(0,Ese,15,26)),2&e&&UV(t.user?0:-1)},dependencies:[bne,q9,Jte,Xte],encapsulation:2}),e}(),Ase=["confirmationDeleteGroup"],Dse=["deleteBtn"];function Mse(e,t){1&e&&VH(0),2&e&&XH(" ",qj().headline," ")}function Ose(e,t){1&e&&VH(0),2&e&&XH(' Wollen Sie die Gruppe "',qj().group.name,'" wirklich löschen? ')}var Pse=function(){function e(e,t){var n=this;this.groupsRankingService=e,this.cd=t,this.btnLabel="Gruppe löschen",this.modelChange=new rD,this.openGroupSettings=function(){var e={baseClass:"resultFilterFancybox center-view",afterLoad:function(){n.triggerOpen(!0)},afterClose:function(){n.triggerOpen(!1),n.deleteBtn.nativeElement.focus()}};E5.A.openFancybox(n.overlay.nativeElement,e)},this.triggerOpen=function(e){n.open=e,n.cd.detectChanges()},this.closeDialog=function(){E5.A.closeFancybox(),n.cd.detectChanges()}}return e.prototype.delete=function(e,t){var n=this;t||this.groupsRankingService.deleteGroup(e).subscribe(function(){n.modelChange.emit(e),Q5.Z.publish("game.updateInvitations",""),n.closeDialog()}),t&&this.groupsRankingService.deleteUser(e,t).subscribe(function(){n.modelChange.emit(t),Q5.Z.publish("game.updateInvitations",""),n.closeDialog()})},e.ɵfac=function(t){return new(t||e)(qP(qre),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["deleteConfirmation"]],viewQuery:function(e,t){if(1&e&&(Kj(Ase,5),Kj(Dse,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.overlay=n.first),Jj(n=Xj())&&(t.deleteBtn=n.first)}},inputs:{userId:"userId",group:"group",headline:"headline",btnLabel:"btnLabel",btnIcon:"btnIcon"},outputs:{modelChange:"modelChange"},standalone:!1,decls:15,vars:9,consts:[["deleteBtn",""],["confirmationDeleteGroup",""],["type","button","aria-haspopup","dialog",3,"click","title"],[3,"innerText"],[1,"collapse","form-container",2,"display","none"],[1,"text-center"],[1,"form-btn-container"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-secondary",3,"click"]],template:function(e,t){if(1&e){var n=w$();r$(0,"button",2,0),jj("click",function(){return a_(n),l_(t.openGroupSettings())}),o$(2,"span",3),s$(),r$(3,"div",4,1)(5,"h2",5),HV(6,Mse,1,1),HV(7,Ose,1,1),s$(),r$(8,"div",6)(9,"div")(10,"button",7),jj("click",function(){return a_(n),l_(t.delete(t.group.id,t.userId))}),VH(11),s$()(),r$(12,"div")(13,"button",8),jj("click",function(){return a_(n),l_(t.closeDialog())}),VH(14,"Abbrechen"),s$()()()()}2&e&&(SH(t.btnIcon?"btn-clear "+t.btnIcon:"btn"),n$("title",t.btnLabel),$A(2),xH("visually-hidden",t.btnIcon),n$("innerText",t.btnLabel),$A(4),UV(t.userId?6:-1),$A(),UV(t.userId?-1:7),$A(4),JH(t.btnLabel))},encapsulation:2}),e}(),Lse=["confirmationGroup"];function Nse(e,t){if(1&e){var n=w$();r$(0,"span",2),VH(1),s$(),r$(2,"div",3)(3,"button",4),jj("click",function(){a_(n);var e=qj();
1return l_(e.acceptGroupInvitation(e.group.id,e.userId))}),VH(4," Annehmen "),s$(),r$(5,"button",5),jj("click",function(){a_(n);var e=qj();return l_(e.rejectGroupInvitation(e.group.id,e.userId))}),VH(6," Ablehnen "),s$()()}if(2&e){var i=qj();n$("id","headline-"+i.group.id),$A(),XH(' Wollen Sie die Einladung zur Gruppe "',i.group.name,'" annehmen? '),$A(2),n$("id","primary-btn"+i.group.id),sV("aria-aria-labelledby","headline-"+i.group.id+" primary-btn-"+i.group.id),$A(2),n$("id","secondary-btn-"+i.group.id),sV("aria-aria-labelledby","headline-"+i.group.id+" secondary-btn-"+i.group.id)}}var Rse=function(){function e(e,t,n,i){var r=this;this.router=e,this.ngZone=t,this.groupsRankingService=n,this.cd=i,this.modelChange=new rD,this.open=!1,this.sub=new Hg.yU,this.openGroupConfirmation=function(e){var t={baseClass:"resultFilterFancybox center-view",afterLoad:function(){r.triggerOpen(!0)},afterClose:function(){r.triggerOpen(!1)}};e&&E5.A.openFancybox(null==e?void 0:e.nativeElement,t)},this.triggerOpen=function(e){r.open=e,r.cd.detectChanges()},this.closeDialog=function(){r.open=!1,E5.A.closeFancybox(),r.router.navigate(["/groups"],{state:r.personalProfile}),r.cd.detectChanges()}}return e.prototype.ngAfterViewInit=function(){this.openGroupConfirmation(this.overlay)},e.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.cd.detectChanges()},e.prototype.acceptGroupInvitation=function(e,t){var n=this,i=this.groupsRankingService.acceptInvitation(e,t).subscribe(function(e){Q5.Z.publish("game.updateInvitations",""),n.closeDialog()});this.sub.add(i)},e.prototype.rejectGroupInvitation=function(e,t){var n=this,i=this.groupsRankingService.deleteUser(e,t).subscribe(function(){Q5.Z.publish("game.updateInvitations",""),n.closeDialog()});this.sub.add(i)},e.ɵfac=function(t){return new(t||e)(qP(V9),qP(dD),qP(qre),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["group-confirmation"]],viewQuery:function(e,t){var n;(1&e&&Kj(Lse,5),2&e)&&(Jj(n=Xj())&&(t.overlay=n.first))},inputs:{userId:"userId",group:"group",personalProfile:"personalProfile"},outputs:{modelChange:"modelChange"},standalone:!1,decls:3,vars:1,consts:[["confirmationGroup",""],[1,"collapse","form-container"],[1,"headline-style-h2","text-center",3,"id"],[1,"form-btn-container"],["title","Gruppeneinladung annehmen",1,"btn","btn-primary",3,"click","id"],["title","Gruppeneinladung ablehnen",1,"btn","btn-secondary",3,"click","id"]],template:function(e,t){1&e&&(r$(0,"div",1,0),HV(2,Nse,7,6),s$()),2&e&&($A(2),UV(t.open?2:-1))},encapsulation:2}),e}();function Bse(e,t){1&e&&o$(0,"avatar",9),2&e&&n$("icon",qj().$implicit.avatarId)("wrapperClass","avatar small")}function Fse(e,t){if(1&e&&(r$(0,"span",11)(1,"span",18),VH(2,"Gruppendurchschnitt: "),s$(),r$(3,"span",19),VH(4,"Ø "),s$(),o$(5,"span",20),nU(6,"positiveNegativePipe"),nU(7,"formatNumber"),s$()),2&e){var n=qj().$implicit;$A(5),SH(iU(6,3,n.averagePerformancePercent)),n$("innerText",sU(7,5,n.averagePerformancePercent,"%","#.##0,00"))}}function Vse(e,t){if(1&e){var n=w$();r$(0,"div",12)(1,"addUserToGroup",21),jj("modelChange",function(e){a_(n);var t=qj().$implicit;return l_(qj(2).updateUsers(e,t.id))}),VH(2,"+"),s$(),r$(3,"group-settings",22),jj("modelChange",function(e){a_(n);var t=qj().$implicit;return l_(qj(2).updateGroup(e,t.id))}),s$(),r$(4,"deleteConfirmation",23,0),jj("modelChange",function(e){a_(n);var t=nH(5);return l_(qj(3).deleteGroup(e,t))}),s$()()}if(2&e){var i=qj().$implicit;$A(),n$("group",i),$A(2),n$("model",i.name)("avatar",i.avatarId)("groupId",i.id)("showBtnIcon","icon-edit")("btnLabel","Gruppe bearbeiten"),$A(),n$("group",i)("btnLabel","Gruppe löschen")("btnIcon","icon-trash")}}function $se(e,t){if(1&e){var n=w$();r$(0,"button",27,1),jj("click",function(){a_(n);var e=nH(1),t=qj(2).$implicit,i=qj().$implicit;return l_(qj(2).acceptGroupInvitation(i.id,t,e))}),r$(2,"span",28),VH(3,"Gruppeneinladung annehmen"),s$()(),r$(4,"deleteConfirmation",29,2),jj("modelChange",function(e){a_(n);var t=nH(5),i=qj(3).$index;return l_(qj(2).deleteUser(e,i,t))}),s$()}if(2&e){var i=qj(2).$implicit,r=qj().$implicit;$A(4),n$("group",r)("userId",i.userId)("headline","Wollen Sie die Gruppeneinladung ablehnen?")("btnIcon","icon-close")("btnLabel","Gruppeneinladung ablehnen")}}function jse(e,t){if(1&e){var n=w$();r$(0,"deleteConfirmation",30,3),jj("modelChange",function(e){a_(n);var t=nH(1),i=qj(3).$index;return l_(qj(2).deleteUser(e,i,t))}),s$()}if(2&e){var i=qj(2).$implicit,r=qj().$implicit,s=qj(2);n$("group",r)("userId",i.userId)("btnIcon","icon-trash")("headline",s.profileId!==r.ownerUserId?"Wollen Sie die Gruppe verlassen?":"Wollen Sie den Spieler entfernen?")("btnLabel",s.profileId!==r.ownerUserId?"Gruppe verlassen":"Spieler entfernen")}}function Hse(e,t){if(1&e){var n=w$();r$(0,"tr",25),jj("userExists",function(e){a_(n);var t=qj().$implicit,i=qj().$implicit;return l_(qj(2).onUserExists(i.ownerUserId,t.userId,e))}),HV(1,$se,6,5),HV(2,jse,2,5,"deleteConfirmation",26),s$()}if(2&e){var i=qj().$implicit,r=qj().$implicit,s=qj(2);xH("not-accepted",i.userId!==r.ownerUserId&&!i.accepted),n$("userid",i.userId)("rank",i.rank)("admin",i.userId===r.ownerUserId)("accepted",i.userId===r.ownerUserId||i.accepted),$A(),UV(i.accepted||i.userId!==s.profileId||i.userId===r.ownerUserId?-1:1),$A(),UV(s.visibleDeleteBtn(r.ownerUserId,i.userId,!i.accepted&&i.userId===s.profileId)&&i.userId!==r.ownerUserId?2:-1)}}function zse(e,t){if(1&e&&HV(0,Hse,3,8,"tr",24),2&e){var n=t.$implicit,i=qj().$implicit;UV(qj(2).userIsVisible(i.ownerUserId,n.userId)?0:-1)}}function Use(e,t){if(1&e&&o$(0,"group-confirmation",17),2&e){var n=qj().$implicit,i=qj(2);n$("userId",i.profileId)("group",n)("personalProfile",i.personalProfile)}}function qse(e,t){if(1&e){var n=w$();r$(0,"rwm-accordion",8),jj("stateChange",function(e){var t=a_(n).$implicit;return l_(qj(2).saveOpenState(e,t.id))}),HV(1,Bse,1,2,"avatar",9),r$(2,"div",10),HV(3,Fse,8,9,"span",11),HV(4,Vse,6,9,"div",12),s$(),r$(5,"div",13)(6,"table",14)(7,"tr")(8,"th",15),VH(9,"Ranking"),s$(),r$(10,"th",16),VH(11,"Spieler"),s$(),r$(12,"th",15),VH(13,"Depotenwicklung"),s$(),o$(14,"th",16),s$
1(),YV(15,zse,1,1,null,null,GV),s$()()(),HV(17,Use,1,3,"group-confirmation",17)}if(2&e){var i=t.$implicit,r=qj(2);n$("id",i.id)("headline",i.name?i.name:"Kein Titel")("unfolded",r.getOpenState(i.id)||i.userAccepted)("saveState",!0),$A(),UV(i.avatarId?1:-1),$A(2),UV(i.averagePerformancePercent?3:-1),$A(),UV(i.ownerUserId===r.profileId?4:-1),$A(11),XV(i.groupUsers),$A(2),UV(r.visibleGroupNotification(i,r.openGroupId,i.userAccepted)?17:-1)}}function Wse(e,t){1&e&&(r$(0,"div",6),VH(1,"Sie haben bereits die maximale Anzahl von 5 Gruppen angelegt!"),s$())}function Gse(e,t){if(1&e){var n=w$();r$(0,"section",4)(1,"h2"),VH(2,"Meine Gruppen"),s$()(),YV(3,qse,18,8,null,null,GV),r$(5,"div",5),HV(6,Wse,2,0,"div",6),r$(7,"group-settings",7),jj("modelChange",function(e){return a_(n),l_(qj().newGroup(e))}),s$()()}if(2&e){var i=qj();$A(3),XV(i.groups),$A(3),UV(i.disableAddBtn(!0)?6:-1),$A(),n$("disabled",i.disableAddBtn())}}var Zse=new bre.D,Yse=function(){function e(e,t,n,i){this.router=e,this.groupsRankingService=t,this.activeRoute=n,this.cd=i,this.sub=new Hg.yU,this.loading=!0,this.groups=[],this.myGroups=[],this.userVisibility={};var r=this.router.currentNavigation();this.personalProfile=r.extras.state}return e.prototype.ngOnInit=function(){var e=this;if(this.sub=this.activeRoute.params.subscribe(function(t){e.openGroupId=t.groupIdParam}),this.personalProfile){this.profileId=this.personalProfile.profile.id;var t=this.profileId.split("-");this.storageName="openAccordionGroupId-"+t[0]+t[4],this.getAllGroups()}},e.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.cd.detectChanges()},e.prototype.userIsVisible=function(e,t){var n;return!1!==(null===(n=this.userVisibility[e])||void 0===n?void 0:n[t])},e.prototype.onUserExists=function(e,t,n){this.userVisibility[e]||(this.userVisibility[e]={}),this.userVisibility[e][t]=n},e.prototype.getAllGroups=function(){var e=this,t=this.groupsRankingService.getAllGroups().subscribe(function(t){var n=t;e.groups=t,n.forEach(function(t,n){t.ownerUserId===e.profileId&&e.myGroups.push(t.id),e.addUsersToGroup(n,t)})},function(t){console.log("Keine Gruppen vorhanden"),e.loading=!1,e.cd.detectChanges()},function(){e.loading=!1,e.cd.detectChanges()});this.sub.add(t)},e.prototype.addUsersToGroup=function(e,t){var n=this,i=this.groupsRankingService.getGroupUsers(t.id).subscribe(function(i){var r,s;n.groups[e].groupUsers=i;try{for(var o=(0,$g.Ju)(t.groupUsers),a=o.next();!a.done;a=o.next()){var l=a.value;l.userId==n.profileId&&(n.groups[e].userAccepted=!l.accepted)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(s=o.return)&&s.call(o)}finally{if(r)throw r.error}}},function(){console.log("Keine Spieler in der Gruppe")},function(){n.loading=!1,n.cd.detectChanges()});this.sub.add(i)},e.prototype.visibleGroupNotification=function(e,t,n){return!(e.id!=t||!e.groupUsers)&&n},e.prototype.newGroup=function(e){this.groups.push(e),this.addUsersToGroup(this.groups.length-1,e),this.myGroups.push(e.id),this.saveOpenState(!0,e.id)},e.prototype.updateGroup=function(e,t){var n=this;this.groups.filter(function(i){i.id===t&&(i.name=e.name,i.avatarId=e.avatarId,n.cd.detectChanges())})},e.prototype.deleteGroup=function(e,t){var n,i=t.deleteBtn.nativeElement.closest("rwm-accordion"),r=null!==(n=i.nextElementSibling)&&void 0!==n?n:i.previousElementSibling;if(r)r.querySelector(".accordion-heading > button").focus();else{var s=document.querySelector("group-settings > button:not(.icon-edit)");s&&s.focus()}this.groups=this.groups.filter(function(t){return t.id!==e}),this.myGroups=this.myGroups.filter(function(t){return t!==e}),this.cd.detectChanges()},e.prototype.deleteUser=function(e,t,n){var i,r=n.deleteBtn.nativeElement.closest("tr");(null!==(i=r.nextElementSibling)&&void 0!==i?i:r.previousElementSibling).querySelector("button.user").focus();var s=this.groups[t].groupUsers.filter(function(t){return t.userId!==e});this.groups[t].groupUsers=s,this.cd.detectChanges()},e.prototype.saveOpenState=function(e,t){var n=Zse.get(this.storageName)||[];e?(n.push(t),Zse.set(this.storageName,n)):(n=n.filter(function(e){return e!==t}),Zse.set(this.storageName,n))},e.prototype.getOpenState=function(e){var t=Zse.get(this.storageName);return!!t&&t.includes(e)},e.prototype.disableAddBtn=function(e){return void 0===e&&(e=!1),!(!this.loading||e)||this.myGroups.length>=5},e.prototype.visibleDeleteBtn=function(e,t,n){return!n&&(this.profileId===e||t===this.profileId)&&e!==t},e.prototype.acceptGroupInvitation=function(e,t,n){var i=this,r=this.groupsRankingService.acceptInvitation(e,t.userId).subscribe(function(e){t.accepted=!0,Q5.Z.publish("game.updateInvitations",""),i.cd.detectChanges()});this.sub.add(r),n.closest("tr").querySelector("button.user").focus()},e.prototype.updateUsers=function(e,t){this.groups.filter(function(n){n.id===t&&n.groupUsers.push({userId:e,accepted:!1})}),this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(V9),qP(qre),qP(v7),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["bsGroupsRanking"]],inputs:{profile:"profile"},standalone:!1,decls:1,vars:1,consts:[["deleteGroupElement",""],["acceptInvitation",""],["declineInvitation",""],["leaveGroup",""],[1,"component-spacer"],[1,"btn-container","text-center"],[1,"d-block"],[3,"modelChange","disabled"],[2,"position","relative","margin-bottom","10px",3,"stateChange","id","headline","unfolded","saveState"],[1,"accordion-icon",3,"icon","wrapperClass"],["actions","",1,"text-nowrap","d-flex"],["averagePerformancePercent","",1,"group-performance","text-start"],[1,"action","text-end"],["body","",1,"ranking","component-table"],[1,"table-padding","v-middle","low-row-height"],["scope","col",1,"small-col"],["scope","col"],[3,"userId","group","personalProfile"],[1,"sr-only-down-md"],["aria-hidden","true","title","Gruppendurchschnitt",1,"d-lg-none"],[3,"innerText"],[3,"modelChange","group"],[3,"modelChange","model","avatar","groupId","showBtnIcon","btnLabel"],[3,"modelChange","group","btnLabel","btnIcon"],["group-user","",1,"item",3,"userid","rank","admin","accepted","not-accepted"],["group-user","",1,"item",3,"userExists","userid","rank","admin","accepted"],[3,"group","userId","btnIcon","headline","btnLabel"],["title","Gruppeneinladung annehmen",1,"btn-clear","
1icon-check_circle",3,"click"],[1,"visually-hidden"],[3,"modelChange","group","userId","headline","btnIcon","btnLabel"],[3,"modelChange","group","userId","btnIcon","headline","btnLabel"]],template:function(e,t){1&e&&HV(0,Gse,8,2),2&e&&UV(t.personalProfile?0:-1)},dependencies:[ose,yse,_se,Ise,q9,Pse,Rse,Jte,Xte],encapsulation:2}),e}(),Kse=function(){function e(e,t,n){this.router=e,this.ngZone=t,this.cd=n;var i=this.router.currentNavigation();this.settings=i.extras.state}return e.ɵfac=function(t){return new(t||e)(qP(V9),qP(dD),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["bsSuccess"]],standalone:!1,decls:4,vars:2,consts:[[1,"component-page-title","component-spacer"],[1,"content-wrapper"],[3,"innerText"]],template:function(e,t){1&e&&(r$(0,"section",0)(1,"div",1),o$(2,"h1",2)(3,"p",2),s$()()),2&e&&($A(2),n$("innerText",t.settings.headline?t.settings.headline:""),$A(),n$("innerText",t.settings.content?t.settings.content:""))},encapsulation:2}),e}(),Jse=[{path:"profile",component:yre},{path:"groups",component:Yse},{path:"groups/:groupIdParam",component:Yse},{path:"settings",component:pte},{path:"login",component:Nre},{path:"register",component:pte},{path:"reset",component:Ute},{path:"forgotUsername",component:Hre},{path:"success",component:Kse},{path:"",pathMatch:"prefix",redirectTo:"/profile"},{path:"**",component:zre}],Xse=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[Nie.forRoot(Jse,{useHash:!0,enableTracing:!1,onSameUrlNavigation:"reload"}),Nie]}),e}();const Qse=new $v("ngx-mask config"),eoe=new $v("new ngx-mask config"),toe=new $v("initial ngx-mask config"),noe={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new rD,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},ioe=["Hh:m0:s0","Hh:m0","m0:s0"],roe=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];class soe{constructor(){this._config=Dy(Qse),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.plusOnePosition=!1,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(e,t,n,i)=>{let r=[],s="";if(Array.isArray(n)){const t=new RegExp(n.map(e=>"[\\^$.|?*+()".indexOf(e)>=0?`\\${e}`:e).join("|"));r=e.split(t),s=e.match(t)?.[0]??""}else r=e.split(n),s=n;const o=r.length>1?`${s}${r[1]}`:"";let a=r[0]??"";const l=this.separatorLimit.replace(/\s/g,"");l&&+l&&(a="-"===a[0]?`-${a.slice(1,a.length).slice(0,l.length)}`:a.slice(0,l.length));const c=/(\d+)(\d{3})/;for(;t&&c.test(a);)a=a.replace(c,"$1"+t+"$2");return void 0===i?a+o:0===i?a:a+o.substring(0,i+1)},this.percentage=e=>{const t=e.replace(",","."),n=Number(this.allowNegativeNumbers&&e.includes("-")?t.slice(1,e.length):t);return!isNaN(n)&&n>=0&&n<=100}
1,this.getPrecision=e=>{const t=e.split(".");return t.length>1?Number(t[t.length-1]):1/0},this.checkAndRemoveSuffix=e=>{for(let t=this.suffix?.length-1;t>=0;t--){const n=this.suffix.substring(t,this.suffix?.length);if(e.includes(n)&&t!==this.suffix?.length-1&&(t-1<0||!e.includes(this.suffix.substring(t-1,this.suffix?.length))))return e.replace(n,"")}return e},this.checkInputPrecision=(e,t,n)=>{if(t<1/0){if(Array.isArray(n)){const e=n.find(e=>e!==this.thousandSeparator);n=e||n[0]}const i=new RegExp(this._charToRegExpExpression(n)+`\\d{${t}}.*$`),r=e.match(i),s=(r&&r[0]?.length)??0;if(s-1>t){const n=s-1-t;e=e.substring(0,e.length-n)}0===t&&this._compareOrIncludes(e[e.length-1],n,this.thousandSeparator)&&(e=e.substring(0,e.length-1))}return e}}applyMaskWithPattern(e,t){const[n,i]=t;return this.customPattern=i,this.applyMask(e,n)}applyMask(e,t,n=0,i=!1,r=!1,s=()=>{}){if(!t||"string"!=typeof e)return"";let o=0,a="",l=!1,c=!1,u=1,d=!1;e.slice(0,this.prefix.length)===this.prefix&&(e=e.slice(this.prefix.length,e.length)),this.suffix&&e?.length>0&&(e=this.checkAndRemoveSuffix(e)),"("===e&&this.prefix&&(e="");const h=e.toString().split("");if(this.allowNegativeNumbers&&"-"===e.slice(o,o+1)&&(a+=e.slice(o,o+1)),"IP"===t){const n=e.split(".");this.ipError=this._validIP(n),t="099.099.099.099"}const p=[];for(let t=0;t<e.length;t++)e[t]?.match("\\d")&&p.push(e[t]??"");if("CPF_CNPJ"===t&&(this.cpfCnpjError=11!==p.length&&14!==p.length,t=p.length>11?"00.000.000/0000-00":"000.000.000-00"),t.startsWith("percent")){if(e.match("[a-z]|[A-Z]")||e.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!r){e=this._stripToDecimal(e);const n=this.getPrecision(t);e=this.checkInputPrecision(e,n,this.decimalMarker)}const n="string"==typeof this.decimalMarker?this.decimalMarker:".";if(e.indexOf(n)>0&&!this.percentage(e.substring(0,e.indexOf(n)))){let t=e.substring(0,e.indexOf(n)-1);this.allowNegativeNumbers&&"-"===e.slice(o,o+1)&&!r&&(t=e.substring(0,e.indexOf(n))),e=`${t}${e.substring(e.indexOf(n),e.length)}`}let i="";i=this.allowNegativeNumbers&&"-"===e.slice(o,o+1)?`-${e.slice(o+1,o+e.length)}`:e,a=this.percentage(i)?this._splitPercentZero(e):this._splitPercentZero(e.substring(0,e.length-1))}else if(t.startsWith("separator")){(e.match("[wа-яА-Я]")||e.match("[ЁёА-я]")||e.match("[a-z]|[A-Z]")||e.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||e.match("[^A-Za-z0-9,]"))&&(e=this._stripToDecimal(e));const i=this.getPrecision(t),s=Array.isArray(this.decimalMarker)?".":this.decimalMarker;if(0===i?e=this.allowNegativeNumbers?e.length>2&&"-"===e[0]&&"0"===e[1]&&e[2]!==this.thousandSeparator&&","!==e[2]&&"."!==e[2]?"-"+e.slice(2,e.length):"0"===e[0]&&e.length>1&&e[1]!==this.thousandSeparator&&","!==e[1]&&"."!==e[1]?e.slice(1,e.length):e:e.length>1&&"0"===e[0]&&e[1]!==this.thousandSeparator&&","!==e[1]&&"."!==e[1]?e.slice(1,e.length):e:(e[0]===s&&e.length>1&&(e="0"+e.slice(0,e.length+1),this.plusOnePosition=!0),"0"===e[0]&&e[1]!==s&&e[1]!==this.thousandSeparator&&(e=e.length>1?e.slice(0,1)+s+e.slice(1,e.length+1):e,this.plusOnePosition=!0),!this.allowNegativeNumbers||"-"!==e[0]||e[1]!==s&&"0"!==e[1]||(e=e[1]===s&&e.length>2?e.slice(0,1)+"0"+e.slice(1,e.length):"0"===e[1]&&e.length>2&&e[2]!==s?e.slice(0,2)+s+e.slice(2,e.length):e,this.plusOnePosition=!0)),r){const t=e.slice(this._findFirstNonZeroDigitIndex(e),e.length),i="0"===e[n]||e[n]===s,r="0"===e[0],o="-"===e[0],a=e[0]===this.thousandSeparator,l=e[1]===s,c="0"===e[1],u=e[2]===s;r&&l&&i&&n<2&&(e=t),o&&c&&u&&i&&n<3&&(e="-"+t),"-"!==t&&(0===n&&(r||a)||this.allowNegativeNumbers&&1===n&&o&&!c)&&(e=o?"-"+t:t)}const o=this._charToRegExpExpression(this.thousandSeparator);let l='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(o,"");if(Array.isArray(this.decimalMarker))for(const e of this.decimalMarker)l=l.replace(this._charToRegExpExpression(e),"");else l=l.replace(this._charToRegExpExpression(this.decimalMarker),"");const d=new RegExp("["+l+"]");e.match(d)&&(e=e.substring(0,e.length-1));const h=(e=this.checkInputPrecision(e,i,this.decimalMarker)).replace(new RegExp(o,"g"),"");a=this._formatWithSeparators(h,this.thousandSeparator,this.decimalMarker,i);const p=a.indexOf(",")-e.indexOf(","),f=a.length-e.length;if(a[n-1]===this.thousandSeparator&&this.prefix&&r)n-=1;else if(f>0&&a[n]!==this.thousandSeparator){c=!0;let e=0;do{this._shift.add(n+e),e++}while(e<f)}else a[n-1]===this.decimalMarker||-4===f||-3===f||a[n]===this.thousandSeparator?(this._shift.clear(),this._shift.add(n-1)):0!==p&&n>0&&!(a.indexOf(",")>=n&&n>3)||!(a.indexOf(".")>=n&&n>3)&&f<=0?(this._shift.clear(),c=!0,u=f,n+=f,this._shift.add(n)):this._shift.clear()}else for(let i=0,s=h[0];i<h.length&&o!==t.length;i++,s=h[i]??""){const c="*"in this.patterns;if(this._checkSymbolMask(s,t[o]??"")&&"?"===t[o+1])a+=s,o+=2;else if("*"===t[o+1]&&l&&this._checkSymbolMask(s,t[o+2]??""))a+=s,o+=3,l=!1;else if(this._checkSymbolMask(s,t[o]??"")&&"*"===t[o+1]&&!c)a+=s,l=!0;else if("?"===t[o+1]&&this._checkSymbolMask(s,t[o+2]??""))a+=s,o+=3;
1else if(this._checkSymbolMask(s,t[o]??"")){if("H"===t[o]&&(this.apm?Number(s)>9:Number(s)>2)){n=this.leadZeroDateTime?n:n+1,o+=1,this._shiftStep(t,o,h.length),i--,this.leadZeroDateTime&&(a+="0");continue}if("h"===t[o]&&(this.apm?1===a.length&&Number(a)>1||"1"===a&&Number(s)>2||1===e.slice(o-1,o).length&&Number(e.slice(o-1,o))>2||"1"===e.slice(o-1,o)&&Number(s)>2:"2"===a&&Number(s)>3||("2"===a.slice(o-2,o)||"2"===a.slice(o-3,o)||"2"===a.slice(o-4,o)||"2"===a.slice(o-1,o))&&Number(s)>3&&o>10)){n+=1,o+=1,i--;continue}if(("m"===t[o]||"s"===t[o])&&Number(s)>5){n=this.leadZeroDateTime?n:n+1,o+=1,this._shiftStep(t,o,h.length),i--,this.leadZeroDateTime&&(a+="0");continue}const l=31,c=e[o],u=e[o+1],d=e[o+2],p=e[o-1],f=e[o-2],m=e.slice(o-3,o-1),g=e.slice(o-1,o+1),v=e.slice(o,o+2),y=e.slice(o-2,o);if("d"===t[o]){const e="M0"===t.slice(0,2),r="M0"===t.slice(0,2)&&this.specialCharacters.includes(f);if(Number(s)>3&&this.leadZeroDateTime||!e&&(Number(v)>l||Number(g)>l||this.specialCharacters.includes(u))||(r?Number(g)>l||!this.specialCharacters.includes(c)&&this.specialCharacters.includes(d)||this.specialCharacters.includes(c):Number(v)>l||this.specialCharacters.includes(u))){n=this.leadZeroDateTime?n:n+1,o+=1,this._shiftStep(t,o,h.length),i--,this.leadZeroDateTime&&(a+="0");continue}}if("M"===t[o]){const e=12,d=0===o&&(Number(s)>2||Number(v)>e||this.specialCharacters.includes(u)&&!r),b=t.slice(o+2,o+3),w=m.includes(b)&&t.includes("d0")&&(this.specialCharacters.includes(f)&&Number(g)>e&&!this.specialCharacters.includes(c)||this.specialCharacters.includes(c)),_=Number(m)<=l&&!this.specialCharacters.includes(m)&&this.specialCharacters.includes(p)&&(Number(v)>e||this.specialCharacters.includes(u)),x=Number(v)>e&&5===o||this.specialCharacters.includes(u)&&5===o,k=Number(m)>l&&!this.specialCharacters.includes(m)&&!this.specialCharacters.includes(y)&&Number(y)>e&&t.includes("d0"),C=Number(m)<=l&&!this.specialCharacters.includes(m)&&!this.specialCharacters.includes(p)&&Number(g)>e;if(Number(s)>1&&this.leadZeroDateTime||d||w||C||k||_||x&&!this.leadZeroDateTime){n=this.leadZeroDateTime?n:n+1,o+=1,this._shiftStep(t,o,h.length),i--,this.leadZeroDateTime&&(a+="0");continue}}a+=s,o++}else this.specialCharacters.includes(s)&&t[o]===s?(a+=s,o++):-1!==this.specialCharacters.indexOf(t[o]??"")?(a+=t[o],o++,this._shiftStep(t,o,h.length),i--):"9"===t[o]&&this.showMaskTyped?this._shiftStep(t,o,h.length):this.patterns[t[o]??""]&&this.patterns[t[o]??""]?.optional?(!h[o]||"099.099.099.099"===t||"000.000.000-00"===t||"00.000.000/0000-00"===t||t.match(/^9+\.0+$/)||this.patterns[t[o]??""]?.optional||(a+=h[o]),t.includes("9*")&&t.includes("0*")&&o++,o++,i--):"*"===this.maskExpression[o+1]&&this._findSpecialChar(this.maskExpression[o+2]??"")&&this._findSpecialChar(s)===this.maskExpression[o+2]&&l||"?"===this.maskExpression[o+1]&&this._findSpecialChar(this.maskExpression[o+2]??"")&&this._findSpecialChar(s)===this.maskExpression[o+2]&&l?(o+=3,a+=s):this.showMaskTyped&&this.specialCharacters.indexOf(s)<0&&s!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(d=!0)}a.length+1===t.length&&-1!==this.specialCharacters.indexOf(t[t.length-1]??"")&&(a+=t[t.length-1]);let f=n+1;for(;this._shift.has(f);)u++,f++;let m=i&&!t.startsWith("separator")?o:this._shift.has(n)?u:0;d&&m--,s(m,c),u<0&&this._shift.clear();let g=!1;r&&(g=h.every(e=>this.specialCharacters.includes(e)));let v=`${this.prefix}${g?"":a}${this.showMaskTyped?"":this.suffix}`;0===a.length&&(v=this.dropSpecialCharacters?`${a}`:`${this.prefix}${a}`);const y=1===e.length&&this.specialCharacters.includes(t[0])&&e!==t[0];if(!this._checkSymbolMask(e,t[1])&&y)return"";if(a.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(r&&"-"===a)return"";v=`-${this.prefix}${a.split("-").join("")}${this.suffix}`}return v}_findDropSpecialChar(e){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(t=>t===e):this._findSpecialChar(e)}_findSpecialChar(e){return this.specialCharacters.find(t=>t===e)}_checkSymbolMask(e,t){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[t]?.pattern&&this.patterns[t]?.pattern.test(e))??!1}_stripToDecimal(e){return e.split("").filter((e,t)=>
1{const n="string"==typeof this.decimalMarker?e===this.decimalMarker:this.decimalMarker.includes(e);return e.match("^-?\\d")||e===this.thousandSeparator||n||"-"===e&&0===t&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(e){return e?" "===e?"\\s":"[\\^$.|?*+()".indexOf(e)>=0?`\\${e}`:e:e}_shiftStep(e,t,n){const i=/[*?]/g.test(e.slice(0,t))?n:t;this._shift.add(i+this.prefix.length||0)}_compareOrIncludes(e,t,n){return Array.isArray(t)?t.filter(e=>e!==n).includes(e):e===t}_validIP(e){return!(4===e.length&&!e.some((t,n)=>e.length!==n+1?""===t||Number(t)>255:""===t||Number(t.substring(0,3))>255))}_splitPercentZero(e){if("-"===e&&this.allowNegativeNumbers)return e;const t="string"==typeof this.decimalMarker?e.indexOf(this.decimalMarker):e.indexOf("."),n=this.allowNegativeNumbers&&e.includes("-")?"-":"";if(-1===t){const t=parseInt(n?e.slice(1,e.length):e,10);return isNaN(t)?"":`${n}${t}`}{const i=parseInt(e.replace("-","").substring(0,t),10),r=e.substring(t+1),s=isNaN(i)?"":i.toString(),o="string"==typeof this.decimalMarker?this.decimalMarker:".";return""===s?"":`${n}${s}${o}${r}`}}_findFirstNonZeroDigitIndex(e){for(let t=0;t<e.length;t++){const n=e[t];if(n&&n>="1"&&n<="9")return t}return-1}static{this.ɵfac=MY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:soe,deps:[],target:hG.Injectable})}static{this.ɵprov=PY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:soe})}}IY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:soe,decorators:[{type:bC}]});class ooe extends soe{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._previousValue="",this._currentValue="",this._emitValue=!1,this.onChange=e=>{},this._elementRef=Dy(xC,{optional:!0}),this.document=Dy(Q_),this._config=Dy(Qse),this._renderer=Dy(OP,{optional:!0})}applyMask(e,t,n=0,i=!1,r=!1,s=()=>{}){if(!t)return e!==this.actualValue?this.actualValue:e;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(e||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(e||"#")),!e&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;const o=e&&"number"==typeof this.selStart?e[this.selStart]??"":"";let a="";if(void 0!==this.hiddenInput&&!this.writingValue){let t=e&&1===e.length?e.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==e&&t.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(e.length>t.length?t.splice(this.selStart,0,o):e.length<t.length&&(t.length-e.length===1?r?t.splice(this.selStart-1,1):t.splice(e.length-1,1):t.splice(this.selStart,this.selEnd-this.selStart))):t=[],this.showMaskTyped&&(this.hiddenInput||(e=this.removeMask(e))),a=this.actualValue.length&&t.length<=e.length?this.shiftTypedSymbols(t.join("")):e}if(!i||!this.hiddenInput&&this.hiddenInput||(a=e),r&&-1!==this.specialCharacters.indexOf(this.maskExpression[n]??"")&&this.showMaskTyped&&!this.prefix&&(a=this._currentValue),this.deletedSpecialCharacter&&n&&(this.specialCharacters.includes(this.actualValue.slice(n,n+1))?n+=1:"M0"!==t.slice(n-1,n+1)&&(n-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(e=this.removeMask(e)),a=this.maskChanged?e:Boolean(a)&&a.length?a:e,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!i&&!this.writingValue){const e=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(e),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}const l=super.applyMask(a,t,n,i,r,s);if(this.actualValue=this.getActualValue(l),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(e=>!this._compareOrIncludes(e,this.decimalMarker,this.thousandSeparator))),(l||""===l)&&(this._previousValue=this._currentValue,this._currentValue=l,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&i),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(l)):this.formControlResult(l)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?r?this.hideInput(l,this.maskExpression):`${this.hideInput(l,this.maskExpression)}${this.maskIsShown.slice(l.length)}`:l;const c=l.length,u=`${this.prefix}${this.maskIsShown}${this.suffix}`;
1if(this.maskExpression.includes("H")){const e=this._numberSkipedSymbols(l);return`${l}${u.slice(c+e)}`}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?`${l}${u}`:`${l}${u.slice(c)}`}_numberSkipedSymbols(e){const t=/(^|\D)(\d\D)/g;let n=t.exec(e),i=0;for(;null!=n;)i+=1,n=t.exec(e);return i}applyValueChanges(e,t,n,i=()=>{}){const r=this._elementRef?.nativeElement;r&&(r.value=this.applyMask(r.value,this.maskExpression,e,t,n,i),r!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(e,t){return e.split("").map((e,n)=>this.patterns&&this.patterns[t[n]??""]&&this.patterns[t[n]??""]?.symbol?this.patterns[t[n]??""]?.symbol:e).join("")}getActualValue(e){const t=e.split("").filter((e,t)=>{const n=this.maskExpression[t]??"";return this._checkSymbolMask(e,n)||this.specialCharacters.includes(n)&&e===n});return t.join("")===e?t.join(""):e}shiftTypedSymbols(e){let t="";return(e&&e.split("").map((n,i)=>{if(this.specialCharacters.includes(e[i+1]??"")&&e[i+1]!==this.maskExpression[i+1])return t=n,e[i+1];if(t.length){const e=t;return t="",e}return n})||[]).join("")}numberToString(e){return!e&&0!==e||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(e).length>14?String(e):Number(e).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(e){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(e){if("IP"===this.maskExpression)return this._checkForIp(e);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(e)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const e=this._elementRef?.nativeElement;e&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==e.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([e,t]){this._renderer&&this._elementRef&&Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,e,t))}checkDropSpecialCharAmount(e){return e.split("").filter(e=>this._findDropSpecialChar(e)).length}removeMask(e){return this._removeMask(this._removeSuffix(this._removePrefix(e)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(e){if("#"===e)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const t=[];for(let n=0;n<e.length;n++){const i=e[n]??"";i&&i.match("\\d")&&t.push(i)}return t.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:t.length>3&&t.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:t.length>6&&t.length<=9?this.placeHolderCharacter:(t.length>9&&t.length,"")}_checkForCpfCnpj(e){const t=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,n=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===e)return t;const i=[];for(let t=0;t<e.length;t++){const n=e[t]??"";n&&n.match("\\d")&&i.push(n)}return i.length<=3?t.slice(i.length,t.length):i.length>3&&i.length<=6?t.slice(i.length+1,t.length):i.length>6&&i.length<=9?t.slice(i.length+2,t.length):i.length>9&&i.length<11?t.slice(i.length+3,t.length):11===i.length?"":12===i.length?17===e.length?n.slice(16,n.length):n.slice(15,n.length):i.length>12&&i.length<=14?n.slice(i.length+4,n.length):""}_getActiveElement(e=this.document){const t=e?.activeElement?.shadowRoot;return t?.activeElement?this._getActiveElement(t):e.activeElement}formControlResult(e){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbol
1s(this._removeSuffix(this._removePrefix(e)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(e)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===e?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(e)))))):this.onChange(this.outputTransformFn(this._toNumber(e)))}_toNumber(e){if(!this.isNumberValue||""===e)return e;if(this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return e;if(String(e).length>16&&this.separatorLimit.length>14)return String(e);const t=Number(e);if(this.maskExpression.startsWith("separator")&&Number.isNaN(t)){const t=String(e).replace(",",".");return Number(t)}return Number.isNaN(t)?e:t}_removeMask(e,t){return this.maskExpression.startsWith("percent")&&e.includes(".")?e:e?e.replace(this._regExpForRemove(t),""):e}_removePrefix(e){return this.prefix&&e?e.replace(this.prefix,""):e}_removeSuffix(e){return this.suffix&&e?e.replace(this.suffix,""):e}_retrieveSeparatorValue(e){let t=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(e=>this.dropSpecialCharacters.includes(e)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&e.includes(" ")&&this.maskExpression.includes("*")&&(t=t.filter(e=>" "!==e)),this._removeMask(e,t)}_regExpForRemove(e){return new RegExp(e.map(e=>`\\${e}`).join("|"),"gi")}_replaceDecimalMarkerToDot(e){const t=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return e.replace(this._regExpForRemove(t),".")}_checkSymbols(e){if(""===e)return e;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(e=e.replace(",","."));const t=this._retrieveSeparatorPrecision(this.maskExpression),n=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(e));return this.isNumberValue&&t?e===this.decimalMarker?null:this.separatorLimit.length>14?String(n):this._checkPrecision(this.maskExpression,n):n}_checkPatternForSpace(){for(const e in this.patterns)if(this.patterns[e]&&this.patterns[e]?.hasOwnProperty("pattern")){const t=this.patterns[e]?.pattern.toString(),n=this.patterns[e]?.pattern;if(t?.includes(" ")&&n?.test(this.maskExpression))return!0}return!1}_retrieveSeparatorPrecision(e){const t=e.match(new RegExp("^separator\\.([^d]*)"));return t?Number(t[1]):null}_checkPrecision(e,t){const n=e.slice(10,11);return e.indexOf("2")>0||this.leadZero&&Number(n)>0?(","===this.decimalMarker&&this.leadZero&&(t=t.replace(",",".")),this.leadZero?Number(t).toFixed(Number(n)):Number(t).toFixed(2)):this.numberToString(t)}_repeatPatternSymbols(e){return e.match(/{[0-9]+}/)&&e.split("").reduce((t,n,i)=>{if(this._start="{"===n?i:this._start,"}"!==n)return this._findSpecialChar(n)?t+n:t;this._end=i;const r=Number(e.slice(this._start+1,this._end)),s=new Array(r+1).join(e[this._start-1]);if(e.slice(0,this._start).length>1&&e.includes("S")){const n=e.slice(0,this._start-1);return n.includes("{")?t+s:n+t+s}return t+s},"")||e}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}static{this.ɵfac=MY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:ooe,deps:null,target:hG.Injectable})}static{this.ɵprov=PY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:ooe})}}function aoe(){const e=Dy(toe),t=Dy(eoe);return t instanceof Function?{...e,...t()}:{...e,...t}}function loe(e){return[{provide:eoe,useValue:e},{provide:toe,useValue:noe},{provide:Qse,useFactory:aoe},ooe]}IY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:ooe,decorators:[{type:bC}]});class coe{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new rD,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._allowFewMaskChangeMask=!1,this._justPasted=!1,this._isFocused=!1,this._isComposing=!1,this.document=Dy(Q_),this._maskService=Dy(ooe,{self:!0}),this._config=Dy(Qse),this.onChange=e=>{},this.onTouch=()=>{}}ngOnChanges(e){const{maskExpression:t,specialCharacters:n,patterns:i,prefix:r,suffix:s,thousandSeparator:o,decimalMarker:a,dropSpecialCharacters:l,hiddenInput:c,showMaskTyped:u,placeHolderCharacter:d,shownMaskExpression:h,showTemplate:p,clearIfNotMatch:f,validation:m,separatorLimit:g,allowNegativeNumbers:v,leadZeroDateTime:y,leadZero:b,triggerOnMaskChange:w,apm:_,inputTransformFn:x,outputTransformFn:k,keepCharacterPositions:C}=e;if(t&&(t.currentValue===t.previousValue||t.firstChange||(this._maskService.maskChanged=!0),t.currentValue&&t.currentValue.split("||").length>1?(this._maskExpressionArray=t.currentValue.split("||").sort((e,t)=>
1e.length-t.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=t.currentValue||"",this._maskService.maskExpression=this._maskValue)),n){if(!n.currentValue||!Array.isArray(n.currentValue))return;this._maskService.specialCharacters=n.currentValue||[]}v&&(this._maskService.allowNegativeNumbers=v.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(e=>"-"!==e))),i&&i.currentValue&&(this._maskService.patterns=i.currentValue),_&&_.currentValue&&(this._maskService.apm=_.currentValue),r&&(this._maskService.prefix=r.currentValue),s&&(this._maskService.suffix=s.currentValue),o&&(this._maskService.thousandSeparator=o.currentValue),a&&(this._maskService.decimalMarker=a.currentValue),l&&(this._maskService.dropSpecialCharacters=l.currentValue),c&&(this._maskService.hiddenInput=c.currentValue),u&&(this._maskService.showMaskTyped=u.currentValue,!1===u.previousValue&&!0===u.currentValue&&this._isFocused&&requestAnimationFrame(()=>{this._maskService._elementRef?.nativeElement.click()})),d&&(this._maskService.placeHolderCharacter=d.currentValue),h&&(this._maskService.shownMaskExpression=h.currentValue),p&&(this._maskService.showTemplate=p.currentValue),f&&(this._maskService.clearIfNotMatch=f.currentValue),m&&(this._maskService.validation=m.currentValue),g&&(this._maskService.separatorLimit=g.currentValue),y&&(this._maskService.leadZeroDateTime=y.currentValue),b&&(this._maskService.leadZero=b.currentValue),w&&(this._maskService.triggerOnMaskChange=w.currentValue),x&&(this._maskService.inputTransformFn=x.currentValue),k&&(this._maskService.outputTransformFn=k.currentValue),C&&(this._maskService.keepCharacterPositions=C.currentValue),this._applyMask()}validate({value:e}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(e);if(this._maskService.cpfCnpjError)return this._createValidationError(e);if(this._maskValue.startsWith("separator"))return null;if(roe.includes(this._maskValue))return null;if(this._maskService.clearIfNotMatch)return null;if(ioe.includes(this._maskValue))return this._validateTime(e);if(e&&e.toString().length>=1){let t=0;if(this._maskValue.includes("{")&&this._maskValue.includes("}"))return this._maskValue.slice(this._maskValue.indexOf("{")+1,this._maskValue.indexOf("}"))===String(e.length)?null:this._createValidationError(e);if(this._maskValue.startsWith("percent"))return null;for(const n in this._maskService.patterns)if(this._maskService.patterns[n]?.optional){if(this._maskValue.indexOf(n)!==this._maskValue.lastIndexOf(n)?t+=this._maskValue.split("").filter(e=>e===n).join("").length:-1!==this._maskValue.indexOf(n)&&t++,-1!==this._maskValue.indexOf(n)&&e.toString().length>=this._maskValue.indexOf(n))return null;if(t===this._maskValue.length)return null}if(this._maskValue.indexOf("*")>1&&e.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&e.toString().length<this._maskValue.indexOf("?"))return this._createValidationError(e);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){e="number"==typeof e?String(e):e;const n=this._maskValue.split("*"),i=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-t:this.prefix?this._maskValue.length+this.prefix.length-t:this._maskValue.length-t;if(1===n.length&&e.toString().length<i)return this._createValidationError(e);if(n.length>1){const t=n[n.length-1];if(t&&this._maskService.specialCharacters.includes(t[0])&&String(e).includes(t[0]??"")&&!this.dropSpecialCharacters){const n=e.split(t[0]);return n[n.length-1].length===t.length-1?null:this._createValidationError(e)}return(t&&!this._maskService.specialCharacters.includes(t[0])||!t||this._maskService.dropSpecialCharacters)&&e.length>=i-1?null:this._createValidationError(e)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return e?(this.maskFilled.emit(),null):null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(e){""!==e&&null!=e||!this._maskService.actualValue||(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(e){if(this._isComposing)return;const t=e.target,n=this._maskService.inputTransformFn(t.value);if("number"!==t.type)if("string"==typeof n||"number"==typeof n){if(t.value=n.toString(),this._inputValue=t.value,this._setMask(),!this._maskValue)return void this.onChange(t.value);let e=1===t.selectionStart?t.selectionStart+this._maskService.prefix.length:t.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const n=t.value.slice(e-1,e),i=this.prefix.length,r=this._maskService._checkSymbolMask(n,this._maskService.maskExpression[e-1-i]??""),s=this._maskService._checkSymbolMask(n,this._maskService.maskExpression[e+1-i]??""),o=this._maskService.selStart===this._maskService.selEnd,a=Number(this._maskService.selStart)-i,l=Number(this._maskService.selEnd)-i;
1if("Backspace"===this._code)if(o){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(e-this.prefix.length,e+1-this.prefix.length))&&o)if(1===a&&this.prefix)this._maskService.actualValue=`${this.prefix}${this._maskService.placeHolderCharacter}${t.value.split(this.prefix).join("").split(this.suffix).join("")}${this.suffix}`,e-=1;else{const n=t.value.substring(0,e),i=t.value.substring(e);this._maskService.actualValue=`${n}${this._maskService.placeHolderCharacter}${i}`}}else this._maskService.selStart===i?this._maskService.actualValue=`${this.prefix}${this._maskService.maskIsShown.slice(0,l)}${this._inputValue.split(this.prefix).join("")}`:this._maskService.selStart===this._maskService.maskIsShown.length+i?this._maskService.actualValue=`${this._inputValue}${this._maskService.maskIsShown.slice(a,l)}`:this._maskService.actualValue=`${this.prefix}${this._inputValue.split(this.prefix).join("").slice(0,a)}${this._maskService.maskIsShown.slice(a,l)}${this._maskService.actualValue.slice(l+i,this._maskService.maskIsShown.length+i)}${this.suffix}`;"Backspace"!==this._code&&(r||s||!o?this._maskService.specialCharacters.includes(t.value.slice(e,e+1))&&s&&!this._maskService.specialCharacters.includes(t.value.slice(e+1,e+2))?(this._maskService.actualValue=`${t.value.slice(0,e-1)}${t.value.slice(e,e+1)}${n}${t.value.slice(e+2)}`,e+=1):r?1===t.value.length&&1===e?this._maskService.actualValue=`${this.prefix}${n}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`:this._maskService.actualValue=`${t.value.slice(0,e-1)}${n}${t.value.slice(e+1).split(this.suffix).join("")}${this.suffix}`:this.prefix&&1===t.value.length&&e-i===1&&this._maskService._checkSymbolMask(t.value,this._maskService.maskExpression[e-1-i]??"")&&(this._maskService.actualValue=`${this.prefix}${t.value}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`):e=Number(t.selectionStart)-1)}let i=0,r=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&e<10){const n=this._inputValue.slice(e-1,e);t.value=this._inputValue.slice(0,e-1)+n+this._inputValue.slice(e+1)}if("d0/M0/0000"===this._maskService.maskExpression&&this.leadZeroDateTime&&(e<3&&Number(t.value)>31&&Number(t.value)<40||5===e&&Number(t.value.slice(3,5))>12)&&(e+=2),"Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===t.value.slice(0,2)&&(t.value=t.value.slice(1,2)+t.value.slice(2,t.value.length)),t.value="00"===t.value?"0":t.value),this._maskService.applyValueChanges(e,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(e,t)=>{this._justPasted=!1,i=e,r=t}),this._getActiveElement()!==t)return;if(this._maskService.plusOnePosition&&(e+=1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length)if("Backspace"===this._code){const n=this.specialCharacters.includes(this._maskService.actualValue.slice(e-1,e)),i=this.specialCharacters.includes(this._maskService.actualValue.slice(e,e+1));this._allowFewMaskChangeMask&&!i?(e=t.selectionStart+1,this._allowFewMaskChangeMask=!1):e=n?e-1:e}else e=1===t.selectionStart?t.selectionStart+this._maskService.prefix.length:t.selectionStart;this._position=1===this._position&&1===this._inputValue.length?null:this._position;let s=this._position?this._inputValue.length+e+i:e+("Backspace"!==this._code||r?i:0);s>this._getActualInputLength()&&(s=t.value===this._maskService.decimalMarker&&1===t.value.length?this._getActualInputLength()+1:this._getActualInputLength()),s<0&&(s=0),t.setSelectionRange(s,s),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof n);else{if(!this._maskValue)return void this.onChange(t.value);this._maskService.applyValueChanges(t.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,this._justPasted=!0,this.onInput(e)}onBlur(e){if(this._maskValue){const t=e.target;if(this.leadZero&&t.value.length>0&&"string"==typeof this.decimalMarker){const e=this._maskService.maskExpression,n=Number(this._maskService.maskExpression.slice(e.length-1,e.length));if(n>
10){t.value=this.suffix?t.value.split(this.suffix).join(""):t.value;const e=t.value.split(this.decimalMarker)[1];t.value=t.value.includes(this.decimalMarker)?t.value+"0".repeat(n-e.length)+this.suffix:t.value+this.decimalMarker+"0".repeat(n)+this.suffix,this._maskService.actualValue=t.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(e){if(!this._maskValue)return;const t=e.target;null!==t&&null!==t.selectionStart&&t.selectionStart===t.selectionEnd&&t.selectionStart>this._maskService.prefix.length&&38!==e.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),t.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===t.value?(t.focus(),t.setSelectionRange(0,0)):t.selectionStart>this._maskService.actualValue.length&&t.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const n=t&&(t.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:t.value);t&&t.value!==n&&(t.value=n),t&&"number"!==t.type&&(t.selectionStart||t.selectionEnd)<=this._maskService.prefix.length?t.selectionStart=this._maskService.prefix.length:t&&t.selectionEnd>this._getActualInputLength()&&(t.selectionEnd=this._getActualInputLength())}onKeyDown(e){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===e.key&&this.onCompositionEnd(e));this._code=e.code?e.code:e.key;const t=e.target;if(this._inputValue=t.value,this._setMask(),"number"!==t.type){if("ArrowUp"===e.key&&e.preventDefault(),"ArrowLeft"===e.key||"Backspace"===e.key||"Delete"===e.key){if("Backspace"===e.key&&0===t.value.length&&(t.selectionStart=t.selectionEnd),"Backspace"===e.key&&0!==t.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&t.selectionStart<=this.prefix.length)t.setSelectionRange(this.prefix.length,t.selectionEnd);else if(this._inputValue.length!==t.selectionStart&&1!==t.selectionStart)for(;this.specialCharacters.includes((this._inputValue[t.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&t.selectionStart>this.prefix.length||0===this.prefix.length);)t.setSelectionRange(t.selectionStart-1,t.selectionEnd);this.checkSelectionOnDeletion(t),this._maskService.prefix.length&&t.selectionStart<=this._maskService.prefix.length&&t.selectionEnd<=this._maskService.prefix.length&&e.preventDefault();const n=t.selectionStart;"Backspace"!==e.key||t.readOnly||0!==n||t.selectionEnd!==t.value.length||0===t.value.length||(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<t.selectionStart?t.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===e.code&&e.ctrlKey||"KeyA"===e.code&&e.metaKey)&&(t.setSelectionRange(0,this._getActualInputLength()),e.preventDefault()),this._maskService.selStart=t.selectionStart,this._maskService.selEnd=t.selectionEnd}}async writeValue(e){if("object"==typeof e&&null!==e&&"value"in e&&("disable"in e&&this.setDisabledState(Boolean(e.disable)),e=e.value),null!==e&&(e=this.inputTransformFn?this.inputTransformFn(e):e),"string"==typeof e||"number"==typeof e||null==e){null!=e&&""!==e||(this._maskService._currentValue="",this._maskService._previousValue="");let t=e;if("number"==typeof t||this._maskValue.startsWith("separator")){t=String(t);const e=this._maskService.currentLocaleDecimalMarker();Array.isArray(this._maskService.decimalMarker)||(t=this._maskService.decimalMarker!==e?t.replace(e,this._maskService.decimalMarker):t),this._maskService.leadZero&&t&&this.maskExpression&&!1!==this.dropSpecialCharacters&&(t=this._maskService._checkPrecision(this._maskService.maskExpression,t)),(","===this.decimalMarker||Array.isArray(this._maskService.decimalMarker)&&"."===this.thousandSeparator)&&(t=t.toString().replace(".",",")),this.maskExpression?.startsWith("separator")&&this.leadZero&&requestAnimationFrame(()=>
1{this._maskService.applyMask(t?.toString()??"",this._maskService.maskExpression)}),this._maskService.isNumberValue=!0}"string"!=typeof t&&(t=""),this._inputValue=t,this._setMask(),t&&this._maskService.maskExpression||this._maskService.maskExpression&&(this._maskService.prefix||this._maskService.showMaskTyped)?("function"!=typeof this.inputTransformFn&&(this._maskService.writingValue=!0),this._maskService.formElementProperty=["value",this._maskService.applyMask(t,this._maskService.maskExpression)],"function"!=typeof this.inputTransformFn&&(this._maskService.writingValue=!1)):this._maskService.formElementProperty=["value",t],this._inputValue=t}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof e)}registerOnChange(e){this._maskService.onChange=this.onChange=e}registerOnTouched(e){this.onTouch=e}_getActiveElement(e=this.document){const t=e?.activeElement?.shadowRoot;return t?.activeElement?this._getActiveElement(t):e.activeElement}checkSelectionOnDeletion(e){e.selectionStart=Math.min(Math.max(this.prefix.length,e.selectionStart),this._inputValue.length-this.suffix.length),e.selectionEnd=Math.min(Math.max(this.prefix.length,e.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(e){this._maskService.formElementProperty=["disabled",e]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(e){const t=this._maskValue.split("").filter(e=>":"!==e).length;return e&&(0===+(e[e.length-1]??-1)&&e.length<t||e.length<=t-2)?this._createValidationError(e):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(e){return{mask:{requiredMask:this._maskValue,actualValue:e}}}_setMask(){this._maskExpressionArray.some(e=>{if(e.split("").some(e=>this._maskService.specialCharacters.includes(e))&&this._inputValue&&this._areAllCharactersInEachStringSame(this._maskExpressionArray)||e.includes("{")){const t=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(e)?.length;if(t)return this._maskValue=this.maskExpression=this._maskService.maskExpression=e.includes("{")?this._maskService._repeatPatternSymbols(e):e,t;{"Backspace"===this._code&&(this._allowFewMaskChangeMask=!0);const e=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=e.includes("{")?this._maskService._repeatPatternSymbols(e):e}}else{const t=this._maskService.removeMask(this._inputValue)?.split("").every((t,n)=>{const i=e.charAt(n);return this._maskService._checkSymbolMask(t,i)});if(t||this._justPasted)return this._maskValue=this.maskExpression=this._maskService.maskExpression=e,t}})}_areAllCharactersInEachStringSame(e){const t=this._maskService.specialCharacters;return e.map(function(e){const n=new RegExp(`[${t.map(e=>`\\${e}`).join("")}]`,"g");return e.replace(n,"")}).every(e=>1===new Set(e).size)}static{this.ɵfac=MY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:coe,deps:[],target:hG.Directive})}static{this.ɵdir=EY({minVersion:"14.0.0",version:"17.3.8",type:coe,isStandalone:!0,selector:"input[mask], textarea[mask]",inputs:{maskExpression:["mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},host:{listeners:{paste:"onPaste()",focus:"onFocus($event)",ngModelChange:"onModelChange($event)",input:"onInput($event)",compositionstart:"onCompositionStart($event)",compositionend:"onCompositionEnd($event)",blur:"onBlur($event)",click:"onClick($event)",keydown:"onKeyDown($event)"}},providers:[{provide:P2,useExisting:coe,multi:!0},{provide:j2,useExisting:coe,multi:!0},ooe],exportAs:["mask","ngxMask"],usesOnChanges:!0,ngImport:e})}}
1IY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:coe,decorators:[{type:eq,args:[{selector:"input[mask], textarea[mask]",standalone:!0,providers:[{provide:P2,useExisting:coe,multi:!0},{provide:j2,useExisting:coe,multi:!0},ooe],exportAs:"mask,ngxMask"}]}],propDecorators:{maskExpression:[{type:iq,args:["mask"]}],specialCharacters:[{type:iq}],patterns:[{type:iq}],prefix:[{type:iq}],suffix:[{type:iq}],thousandSeparator:[{type:iq}],decimalMarker:[{type:iq}],dropSpecialCharacters:[{type:iq}],hiddenInput:[{type:iq}],showMaskTyped:[{type:iq}],placeHolderCharacter:[{type:iq}],shownMaskExpression:[{type:iq}],showTemplate:[{type:iq}],clearIfNotMatch:[{type:iq}],validation:[{type:iq}],separatorLimit:[{type:iq}],allowNegativeNumbers:[{type:iq}],leadZeroDateTime:[{type:iq}],leadZero:[{type:iq}],triggerOnMaskChange:[{type:iq}],apm:[{type:iq}],inputTransformFn:[{type:iq}],outputTransformFn:[{type:iq}],keepCharacterPositions:[{type:iq}],maskFilled:[{type:rq}],onPaste:[{type:oq,args:["paste"]}],onFocus:[{type:oq,args:["focus",["$event"]]}],onModelChange:[{type:oq,args:["ngModelChange",["$event"]]}],onInput:[{type:oq,args:["input",["$event"]]}],onCompositionStart:[{type:oq,args:["compositionstart",["$event"]]}],onCompositionEnd:[{type:oq,args:["compositionend",["$event"]]}],onBlur:[{type:oq,args:["blur",["$event"]]}],onClick:[{type:oq,args:["click",["$event"]]}],onKeyDown:[{type:oq,args:["keydown",["$event"]]}]}});class uoe{constructor(){this.defaultOptions=Dy(Qse),this._maskService=Dy(ooe),this._maskExpressionArray=[],this.mask=""}transform(e,t,{patterns:n,...i}={}){const r={maskExpression:t,...this.defaultOptions,...i,patterns:{...this._maskService.patterns,...n}};if(Object.entries(r).forEach(([e,t])=>{this._maskService[e]=t}),t.includes("||"))return t.split("||").length>1?(this._maskExpressionArray=t.split("||").sort((e,t)=>e.length-t.length),this._setMask(e),this._maskService.applyMask(`${e}`,this.mask)):(this._maskExpressionArray=[],this._maskService.applyMask(`${e}`,this.mask));if(t.includes("{"))return this._maskService.applyMask(`${e}`,this._maskService._repeatPatternSymbols(t));if(t.startsWith("separator")){i.decimalMarker&&(this._maskService.decimalMarker=i.decimalMarker),i.thousandSeparator&&(this._maskService.thousandSeparator=i.thousandSeparator),i.leadZero&&(this._maskService.leadZero=i.leadZero),e=String(e);const n=this._maskService.currentLocaleDecimalMarker();Array.isArray(this._maskService.decimalMarker)||(e=this._maskService.decimalMarker!==n?e.replace(n,this._maskService.decimalMarker):e),this._maskService.leadZero&&e&&!1!==this._maskService.dropSpecialCharacters&&(e=this._maskService._checkPrecision(t,e)),","===this._maskService.decimalMarker&&(e=e.toString().replace(".",",")),this._maskService.isNumberValue=!0}return null==e?this._maskService.applyMask("",t):this._maskService.applyMask(`${e}`,t)}_setMask(e){this._maskExpressionArray.length>0&&this._maskExpressionArray.some(t=>{const n=this._maskService.removeMask(e)?.length<=this._maskService.removeMask(t)?.length;if(e&&n)return this.mask=t,n;{const e=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this.mask=e}})}static{this.ɵfac=MY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:uoe,deps:[],target:hG.Pipe})}static{this.ɵpipe=RY({minVersion:"14.0.0",version:"17.3.8",ngImport:e,type:uoe,isStandalone:!0,name:"mask"})}}IY({minVersion:"12.0.0",version:"17.3.8",ngImport:e,type:uoe,decorators:[{type:nq,args:[{name:"mask",pure:!0,standalone:!0}]}]});var doe=function(){return{validation:!1}},hoe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({providers:[loe(doe)],imports:[RX,C5,S5,T5]}),e}(),poe=function(){function e(e){this.injector=e;var t=T2(Kie,{injector:e});customElements.define("bs-personal-profile-page",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({providers:[{provide:rK,useClass:eJ}],imports:[_Q,S5,Jie,ire,are,ore,B5,hoe,R5,vte,T5,Xse]}),e}(),foe=function(){function e(e){this.injector=e;var t=T2(Hre,{injector:e});customElements.define("bs-forget-username-page",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,_Q,S5,p0,vte,V5]}),e}(),moe=function(){function e(e){this.injector=e,console.log("bsIntegrationModule")}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,qte,gte,uie,pie,poe,foe]}),e}(),goe=function(){function e(e){var t=this;this.http=e,this.getTopFlop=function(e,n){var i=new r1;return i=(i=(i=(i=i.append("blz","")).append("bstnr","")).append("siteId",e)).append("symbol",n),t.http.get(j5.KT+j5.vZ.teletrader.topflop,{params:i}).pipe(Ox(function(e){return e}))}
1,this.getSymbols=function(e){var n=new r1;return n=(n=(n=n.append("blz","")).append("bstnr","")).append("siteId",e),t.http.get(j5.KT+j5.vZ.teletrader.symbols,{params:n}).pipe(Ox(function(e){return e}))},this.getChart=function(e,n){var i=new r1;return i=(i=(i=(i=i.append("blz","")).append("bstnr","")).append("siteId",e)).append("symbol",n),t.http.get(j5.KT+j5.vZ.teletrader.chart,{params:i}).pipe(Ox(function(e){return e}))},this.getSearch=function(e,n){var i=new r1;return i=(i=(i=(i=i.append("blz","")).append("bstnr","")).append("siteId",e)).append("searchTerm",encodeURIComponent(n)),t.http.get(j5.KT+j5.vZ.teletrader.search,{params:i}).pipe(Ox(function(e){return e}))}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),voe=function(){function e(){}return e.prototype.transform=function(e,t,n){return e.length<t?e:e.slice(0,t)+"..."},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"truncate",type:e,pure:!0,standalone:!1}),e}(),yoe=function(){function e(){}return e.prototype.transform=function(e){if(e)return e.replace(/[&<"']/g,function(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case'"':return"&quot;";default:return"&#039;"}})},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"escapeHtml",type:e,pure:!0,standalone:!1}),e}(),boe=function(e){return{active:e}},woe=function(e){return{query:e}};function _oe(e,t){if(1&e&&(r$(0,"li",16)(1,"a",17)(2,"span",18),VH(3),nU(4,"truncate"),s$(),r$(5,"span",19),VH(6),s$()()()),2&e){var n=t.$implicit,i=t.$index,r=qj().$index,s=qj(3);n$("ngClass",jz(7,boe,s.selectedItemIndex==r+"."+i)),$A(),n$("href",s.getUrl(n.id),ZI),$A(2),JH(rU(4,4,n.name,25)),$A(3),JH(n.ticker)}}function xoe(e,t){if(1&e&&(r$(0,"li",13)(1,"span",14),VH(2),s$(),r$(3,"ul",15),YV(4,_oe,7,9,"li",16,GV),s$()()),2&e){var n=t.$implicit;$A(2),JH(n.name),$A(2),XV(n.details)}}function koe(e,t){1&e&&YV(0,xoe,6,1,"li",13,GV),2&e&&XV(qj(2).predictions)}function Coe(e,t){if(1&e){var n=w$();r$(0,"ul",9)(1,"li",10)(2,"a",11),jj("mouseenter",function(){return a_(n),l_(qj().onMouseEnter(null))}),o$(3,"span",12),nU(4,"escapeHtml"),nU(5,"translate"),s$()(),HV(6,koe,2,0),s$()}if(2&e){var i=qj();$A(),n$("ngClass",jz(9,boe,i.searchAllActive)),$A(),n$("href",i.getUrl(null,i.query),ZI),$A(),n$("innerHTML",rU(5,6,"TT_SEARCH_ALL_RESULTS",jz(11,woe,iU(4,4,i.typedQuery))),WI),$A(3),UV(i.predictions.length>0?6:-1)}}var Soe=function(){function e(e,t,n){this.ttStartpageService=e,this.alertService=t,this.df=n,this.typedQuery="",this.onInputFocus={status:!0},this.predictions=[],this.query="",this.selectedItemIndex=null,this.error=null,this.searchAllActive=!1,this.showPredictions=!1}return e.prototype.getSearch=function(e){var t=this;this.ttStartpageService.getSearch(this.siteId,e).subscribe(function(e){if(t.searchUrl=e.url,t.predictions=e.groups,0!==t.predictions.length){var n=0;t.predictions.forEach(function(e){n+=e.details.length}),t.setAriaText((1===n?"Es ist ":"Es sind ")+n+(1===n?" Suchergebnis":" Suchergebnisse")+" vorhanden. Verwenden Sie zum Navigieren die Pfeiltasten nach oben und unten.")}},function(e){t.predictions=[]},function(){return t.updateModels()})},e.prototype.setAriaText=function(e){this.liveRegion&&(this.liveRegion.innerText=e)},e.prototype.onMouseEnter=function(e,t){var n=e;t&&(n+="."+t),this.selectedItemIndex=n},e.prototype.onChange=function(e,t){this.liveRegion||(this.liveRegion=document.getElementsByClassName("ui-helper-hidden-accessible")[0]),this.selectedItemIndex=null,this.searchAllActive=!1,this.onInputFocus.status=!0,e.length>=3?(this.typedQuery=e,this.showPredictions=!0,this.getSearch(e)):(this.showPredictions=!1,this.predictions=[])},e.prototype.onBlur=function(){var e=this;setTimeout(function(){e.setAriaText(""),e.selectedItemIndex=null,e.searchAllActive=!1,e.showPredictions=!1,e.onInputFocus.status=!1,e.predictions=[],e.error=null},200)},e.prototype.setQueryAccessibility=function(){if(this.selectedItemIndex)if("all"==this.selectedItemIndex)this.setAriaText("Gesamtes Suchergebnis für "+this.typedQuery+" anzeigen"),this.query=this.typedQuery;else{var e=this.selectedItemIndex.split(".");this.query=this.predictions[e[0]].details[e[1]].name,this.setAriaText(this.predictions[e[0]].name+":"+this.predictions[e[0]].details[e[1]].name)}else this.query=this.typedQuery,this.setAriaText("")},e.prototype.keyParser=function(e){var t,n=null!=this.selectedItemIndex&&"all"!=this.selectedItemIndex?this.selectedItemIndex.split("."):0,i=isNaN(parseInt(n[0]))?0:parseInt(n[0]);switch(t=isNaN(parseInt(n[1]))?"all"==this.selectedItemIndex?-1:-2:parseInt(n[1]),e.code){case"ArrowUp":if(e.preventDefault(),(i=-1==t?-1:i)>-1||t>-1)if(t>0&&i>-1)this.selectedItemIndex=i+"."+(t-1),this.setQueryAccessibility();else if(t<=0&&i>0){var r=i-1,s=-1===r?-1:this.predictions[Math.max(0,i-1)].details.length-1;this.selectedItemIndex=-1!==r&&-1!==s?r+"."+s:null,this.setQueryAccessibility()}else 0==t&&0==i&&(this.selectedItemIndex="all",this.searchAllActive=!0,this.setQueryAccessibility());else-1==t&&(this.selectedItemIndex=null,this.searchAllActive=!1,this.setQueryAccessibility());break;case"ArrowDown":e.preventDefault(),0!=this.predictions.length&&t>-2?(this.searchAllActive=!1,i=-1===i?0:i,t<this.predictions[Math.max(0,i)].details.length-1?(t+=1,this.selectedItemIndex=i+"."+t,this.setQueryAccessibility()):(i+=1,void 0!==this.predictions[Math.max(0,i)]&&(t=0,this.selectedItemIndex=i+"."+t,this.setQueryAccessibility()))):-2===t&&(this.selectedItemIndex="all",this.searchAllActive=!0,this.setQueryAccessibility());break;case"Escape":this.query="",this.onBlur()}},e.prototype.submitInput=function(){var e=this;if(null!=this.selectedItemIndex&&"all"!=this.selectedItemIndex){var t=this.selectedItemIndex.split("."),n=isNaN(parseInt(t[0])
1)?0:parseInt(t[0]),i=isNaN(parseInt(t[1]))?-1:parseInt(t[1]),r=this.predictions[n].details[i];window.location.href=j5.AJ.indexDetails+r.id}else this.selectedItemIndex?"all"===this.selectedItemIndex&&(window.location.href=this.getUrl(null,this.typedQuery)):0!=this.query.length&&this.ttStartpageService.getSearch(this.siteId,this.query).subscribe(function(t){window.location.href=j5.AJ.searchDetails+"searchTerm="+encodeURIComponent(e.query)},function(t){e.predictions=[]},function(){})},e.prototype.getUrl=function(e,t){return t?j5.AJ.searchDetails+"searchTerm="+encodeURIComponent(t):j5.AJ.indexDetails+e},e.prototype.updateModels=function(){this.df.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(goe),qP(_te),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["ttSearch"]],inputs:{siteId:"siteId"},standalone:!1,decls:11,vars:10,consts:[["input",""],[1,"stock-search"],["name","ttSearchForm",1,"tt-search-form"],["for","tt-search-form",1,"visually-hidden"],[1,"label",3,"translate"],["id","tt-search-form","name","search","type","text","autocomplete","off",1,"form-control",3,"ngModelChange","focus","blur","keydown","ngClass","ngModel"],["type","submit",1,"search-button",3,"click"],["aria-hidden","true",1,"icon-search"],[1,"visually-hidden",3,"translate"],[1,"tt-search-autocomplete","clickable-content"],[1,"search-all",3,"ngClass"],[3,"mouseenter","href"],[3,"innerHTML"],["role","presentation"],[1,"group"],[1,"clickable-content"],[3,"ngClass"],[3,"href"],[1,"title"],[1,"ticker"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",1)(1,"form",2)(2,"label",3),o$(3,"span",4),s$(),r$(4,"input",5,0),nU(6,"translate"),uz("ngModelChange",function(e){return a_(n),cz(t.query,e)||(t.query=e),l_(e)}),jj("ngModelChange",function(e){return a_(n),l_(t.onChange(e))})("focus",function(){a_(n);var e=nH(5);return l_(t.onChange(e.value))})("blur",function(){return a_(n),l_(t.onBlur())})("keydown",function(e){return a_(n),l_(t.keyParser(e))}),s$(),r$(7,"button",6),jj("click",function(){return a_(n),l_(t.submitInput())}),o$(8,"span",7)(9,"span",8),s$(),HV(10,Coe,7,13,"ul",9),s$()()}2&e&&($A(3),n$("translate","TT_SEARCH_PLACEHOLDER"),$A(),n$("ngClass",jz(8,boe,t.showPredictions)),lz("ngModel",t.query),sV("placeholder",iU(6,6,"TT_SEARCH_PLACEHOLDER")),$A(5),n$("translate","BUTTON_SEARCH"),$A(),UV(t.showPredictions?10:-1))},dependencies:[GJ,x4,F2,x3,k3,_4,h4,e2,t2,voe,yoe],encapsulation:2}),e}(),Toe=function(){function e(e){this.injector=e;var t=T2(Soe,{injector:e});customElements.define("tt-search-component",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e,bootstrap:[Soe]}),e.ɵinj=Lv({imports:[RX,_Q,p0,C5,T5]}),e}(),Eoe=["navTabs"];function Ioe(e,t){if(1&e){var n=w$();r$(0,"li",2)(1,"button",6,0),jj("click",function(){var e=a_(n).$implicit;return l_(qj().updateTab(e.label))})("keydown.arrowLeft",function(){var e=a_(n).$index;return l_(qj().shiftFocus("prev",e))})("keydown.arrowRight",function(){var e=a_(n).$index;return l_(qj().shiftFocus("next",e))}),s$()()}if(2&e){var i=t.$implicit,r=qj();$A(),xH("active",r.model===i.label),n$("id",i.label+"-tab")("innerHTML",i.label,WI)("tabIndex",r.model===i.label?"0":"-1"),sV("aria-selected",r.model===i.label)("aria-controls",r.contentId)}}var Aoe=function(){function e(){this.label="Bitte wählen",this.contentId="tabContent",this.options={limit:99,uppercase:!1,id:this.createID(),bindLabel:"label",placeholder:null,hideLabel:!1},this.modelChange=new rD,this.selectOptions={bindValue:"name",bindLabel:"label"}}return e.prototype.ngOnInit=function(){},e.prototype.updateTab=function(e){this.modelChange.emit(e),this.model=e},e.prototype.shiftFocus=function(e,t){"next"===e?t<this.tabElements.length-1?this.tabElements.forEach(function(e,n){t+1===n&&e.nativeElement.focus()}):this.tabElements.first.nativeElement.focus():"prev"===e&&(t>0?this.tabElements.forEach(function(e,n){t-1===n&&e.nativeElement.focus()}):this.tabElements.last.nativeElement.focus())},e.prototype.createID=function(){return Math.random().toString(36).substr(2,9)},e.prototype.getLabel=function(e){return"string"==typeof e?e:e[this.label]},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["rwm-tabs"]],viewQuery:function(e,t){var n;(1&e&&Kj(Eoe,5),2&e)&&(Jj(n=Xj())&&(t.tabElements=n))},inputs:{label:"label",model:"model",tabs:"tabs",contentId:"contentId",options:"options"},outputs:{modelChange:"modelChange"},standalone:!1,decls:6,vars:9,consts:[["navTabs",""],["role","tablist",1,"nav","nav-tabs","small-view","d-xs-none"],["role","presentation",1,"nav-item"],["tabindex","-1",1,"form-container"],[1,"form-group","component-form-select"],[3,"ngModelChange","modelChange","id","label","hideLabel","ngModel","items","placeholder","selectOptions"],["role","tab",1,"nav-link","btn-clear",3,"click","keydown.arrowLeft","keydown.arrowRight","id","innerHTML","tabIndex"]],template:function(e,t){1&e&&(r$(0,"ul",1),YV(1,Ioe,3,7,"li",2,GV),s$(),r$(3,"section",3)(4,"div",4)(5,"rwm-select",5),uz("ngModelChange",function(e){return cz(t.model,e)||(t.model=e),e}),jj("modelChange",function(){return t.updateTab(t.model)}),s$()()()),2&e&&($A(),XV(t.tabs.slice(0,t.options.limit)),$A(4),n$("id",gz(t.options.id))("label",gz(t.label))("hideLabel",t.options.hideLabel),lz("ngModel",t.model),n$("items",t.tabs)("placeholder",t.options.placeholder)("selectOptions",t.selectOptions))},dependencies:[r8,x3,_4],encapsulation:2}),e}(),Doe=["navTabs"];function Moe(e,t){1&e&&o$(0,"span",5),2&e&&n$("translate","TT_SYMBOL_TOP")}function Ooe(e,t){1&e&&o$(0,"span",5),2&e&&n$("translate","TT_SYMBOL_FLOP")}function Poe(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=qj().$implicit;$A(),XH(" ",n.name," ")}}function Loe(e,t){if(1&e){var n=w$();r$(0,"li",3)(1,"button",4,0),jj("click",function(){var e=a_(n).$index;return l_(qj(2).triggerTab(e))})("keydown.arrowLeft",function(){var e=a_(n).$index;return l_(qj(2).shiftFocus(e))})("keydown.arrowRight",function(){var e=a_(n).$index;return l_(qj(2).shiftFocus(e))}),HV(3,Moe,1,1,"span",5),HV(4,Ooe,1,1,"span",5),HV(5,Poe,2,1,"span"),s$()()}
1if(2&e){var i=t.$implicit,r=t.$index,s=qj(2);$A(),xH("active",s.getActiveTab(s.activeTab,r)),n$("id",i.name+"-tab")("tabIndex",s.getActiveTab(s.activeTab,r)?"0":"-1"),sV("aria-labelledby",s.activeIndex+"-tab "+i.name+"-tab")("aria-selected",s.getActiveTab(s.activeTab,r)),$A(2),UV("top"===i.name?3:-1),$A(),UV("flop"===i.name?4:-1),$A(),UV("top"!==i.name&&"flop"!==i.name?5:-1)}}function Noe(e,t){if(1&e&&(r$(0,"ul",2),YV(1,Loe,6,9,"li",3,GV),s$()),2&e){var n=qj();$A(),XV(n.items)}}function Roe(e,t){if(1&e&&(r$(0,"div",8)(1,"div")(2,"a",10),nU(3,"translate"),VH(4),nU(5,"truncate"),s$()(),r$(6,"div",11),nU(7,"positiveNegativePipe"),o$(8,"span",12),nU(9,"translate"),VH(10),nU(11,"formatNumber"),s$()()),2&e){var n=t.$implicit,i=qj(3);$A(2),n$("href",i.getUrl(n.id),ZI),sV("aria-label",iU(3,7,"TT_SYMBOL_TITLE")+": "+n.name),$A(2),XH(" ",rU(5,9,n.name,16)," "),$A(2),SH(iU(7,12,n.changePercent)),$A(2),n$("innerHTML",iU(9,14,"TT_SYMBOL_DIFF")+": ",WI),$A(2),XH(" ",rU(11,16,n.changePercent,"%")," ")}}function Boe(e,t){if(1&e&&(r$(0,"div",7)(1,"div",8),o$(2,"div",5)(3,"div",9),s$(),YV(4,Roe,12,19,"div",8,GV),s$()),2&e){var n=qj().$implicit,i=qj();SH(i.visibleTabs(i.items)?"row-odd":"row-even"),sV("aria-labelledby",n.name+"-tab"),$A(2),n$("translate","TT_SYMBOL_TITLE"),$A(),n$("translate","TT_SYMBOL_DIFF"),$A(),XV(n.symbols)}}function Foe(e,t){if(1&e&&HV(0,Boe,6,5,"div",6),2&e){var n=t.$index,i=qj();UV(i.getActiveTab(i.activeTab,n)?0:-1)}}var Voe=function(){function e(e){this.df=e,this.items=[],this.activeIndex="",this.activeTab=0}return e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(){this.activeTab=0},e.prototype.visibleTabs=function(e){return!!e&&e.length>1},e.prototype.getActiveTab=function(e,t){return e===t},e.prototype.triggerTab=function(e){this.activeTab=e,this.df.detectChanges()},e.prototype.shiftFocus=function(e){0!==e?this.tabElements.first.nativeElement.focus():0===e&&this.tabElements.last.nativeElement.focus()},e.prototype.getUrl=function(e){return j5.AJ.indexDetails+e},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["tt-symbol-list"]],viewQuery:function(e,t){var n;(1&e&&Kj(Doe,5),2&e)&&(Jj(n=Xj())&&(t.tabElements=n))},inputs:{items:"items",type:"type",activeIndex:"activeIndex"},standalone:!1,features:[ok],decls:4,vars:2,consts:[["navTabs",""],[3,"ngClass"],["role","tablist",1,"nav","nav-tabs","small-view"],["role","presentation",1,"nav-item"],["role","tab","aria-controls","top-flop-panel",1,"nav-link","btn-clear",3,"click","keydown.arrowLeft","keydown.arrowRight","id","tabIndex"],[3,"translate"],["id","top-flop-panel","role","tabpanel",1,"symbol-list",3,"class"],["
1id","top-flop-panel","role","tabpanel",1,"symbol-list"],[1,"item"],[1,"change-percent",3,"translate"],[1,"text-link",3,"href"],[1,"change-percent"],[1,"visually-hidden",3,"innerHTML"]],template:function(e,t){1&e&&(r$(0,"div",1),HV(1,Noe,3,0,"ul",2),YV(2,Foe,1,1,null,null,GV),s$()),2&e&&(n$("ngClass",t.type),$A(),UV(t.visibleTabs(t.items)?1:-1),$A(),XV(t.items))},dependencies:[GJ,e2,t2,voe,Jte,Xte],encapsulation:2,changeDetection:0}),e}(),$oe=o(4500);class joe{constructor(e,t){this.el=e,this._zone=t,this.updateChange=new rD(!0),this.chartInstance=new rD}ngOnChanges(e){const t=e.update?.currentValue;(e.options||t)&&(this.wrappedUpdateOrCreateChart(),t&&this.updateChange.emit(!1))}wrappedUpdateOrCreateChart(){this.runOutsideAngular?this._zone.runOutsideAngular(()=>{this.updateOrCreateChart()}):this.updateOrCreateChart()}updateOrCreateChart(){this.chart?.update?this.chart.update(this.options,!0,this.oneToOne||!1):(this.chart=this.Highcharts[this.constructorType||"chart"](this.el.nativeElement,this.options,this.callbackFunction||null),this.chartInstance.emit(this.chart))}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=null,this.chartInstance.emit(this.chart))}static{this.ɵfac=MY({minVersion:"12.0.0",version:"16.2.12",ngImport:e,type:joe,deps:[{token:xC},{token:dD}],target:hG.Component})}static{this.ɵcmp=DY({minVersion:"14.0.0",version:"16.2.12",type:joe,selector:"highcharts-chart",inputs:{Highcharts:"Highcharts",constructorType:"constructorType",callbackFunction:"callbackFunction",oneToOne:"oneToOne",runOutsideAngular:"runOutsideAngular",options:"options",update:"update"},outputs:{updateChange:"updateChange",chartInstance:"chartInstance"},usesOnChanges:!0,ngImport:e,template:"",isInline:!0})}}IY({minVersion:"12.0.0",version:"16.2.12",ngImport:e,type:joe,decorators:[{type:tq,args:[{selector:"highcharts-chart",template:""}]}],ctorParameters:function(){return[{type:xC},{type:dD}]},propDecorators:{Highcharts:[{type:iq}],constructorType:[{type:iq}],callbackFunction:[{type:iq}],oneToOne:[{type:iq}],runOutsideAngular:[{type:iq}],options:[{type:iq}],update:[{type:iq}],updateChange:[{type:rq}],chartInstance:[{type:rq}]}});class Hoe{static{this.ɵfac=MY({minVersion:"12.0.0",version:"16.2.12",ngImport:e,type:Hoe,deps:[],target:hG.NgModule})}static{this.ɵmod=NY({minVersion:"14.0.0",version:"16.2.12",ngImport:e,type:Hoe,declarations:[joe],exports:[joe]})}static{this.ɵinj=LY({minVersion:"12.0.0",version:"16.2.12",ngImport:e,type:Hoe})}}function zoe(){return zoe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},zoe.apply(null,arguments)}IY({minVersion:"12.0.0",version:"16.2.12",ngImport:e,type:Hoe,decorators:[{type:aq,args:[{declarations:[joe],exports:[joe]}]}]});var Uoe=function(e){return{query:e}};function qoe(e,t){if(1&e){var n=w$();r$(0,"highcharts-chart",8),uz("updateChange",function(e){a_(n);var t=qj(2);return cz(t.updateFlag,e)||(t.updateFlag=e),l_(e)}),s$()}if(2&e){var i=qj(2);n$("Highcharts",i.Highcharts)("constructorType",i.chartConstructor),lz("update",i.updateFlag),n$("options",i.chartOptions)}}function Woe(e,t){if(1&e&&(r$(0,"div",2)(1,"a",3),VH(2),s$(),r$(3,"div"),VH(4),nU(5,"date"),s$(),r$(6,"span",4),nU(7,"positiveNegativePipe"),r$(8,"span",5),VH(9),nU(10,"formatNumber"),s$(),r$(11,"span",6),VH(12),nU(13,"formatNumber"),s$()()(),HV(14,qoe,1,4,"highcharts-chart",7)),2&e){var n=qj();$A(),n$("href",n.getUrl(n.data.id),ZI),$A(),JH(n.data.name),$A(2),XH("- ",rU(5,8,n.data.lastDateTime,"dd.MM.yyyy, HH:mm")),$A(2),SH(iU(7,11,n.data.changePercent)),$A(3),JH(iU(10,13,n.data.last)),$A(3),XH(" ",rU(13,15,n.data.changePercent,"%")," "),$A(2),UV(n.highchartsReady&&n.chartOptions?14:-1)}}function Goe(e,t){if(1&e&&(r$(0,"div",1),o$(1,"span",9),nU(2,"escapeHtml"),s$()),2&e){var n=qj();$A(),n$("translate","ERROR_MESSAGE_NO_DATA")("translateParams",jz(4,Uoe,iU(2,2,n.data.name)))}}var Zoe=function(){function e(e){this.df=e,this.highchartsReady=!1,this.chartConstructor="chart",this.updateFlag=!1,this.defaultOptions={global:{},title:{text:null},chart:{backgroundColor:"transparent",spacingBottom:5,style:{fontFamily:'"Open Sans", Helvetica, Arial, sans-serif;'}},accessibility:{point:{dateFormat:"%d.%m.%Y, %H:%M"},screenReaderSection:{axisRangeDateFormat:"%d.%m.%Y, %H:%M"}},lang:{accessibility:{axis:{rangeFromTo:"Die Daten liegen im Bereich von {rangeFrom} bis {rangeTo}",xAxisDescriptionSingular:"Das Diagramm hat eine X-Achse die die Zeit darstellt. {ranges[0]}.",yAxisDescriptionSingular:"Das Diagramm hat eine Y-Achse die die Werte darstellt. {ranges[0]}."},chartContainerLabel:"{title} Highcharts Interaktives Diagramm",chartTypes:{defaultSingle:"Liniendiagramm mit {numPoints} Daten{#eq numPoints 1}punkt{else}punkten{/eq}",lineMultiple:"Liniendiagramm mit 2 Linien."},defaultChartTitle:"Diagramm",svgContainerLabel:"Interaktives Diagramm",series:{summary:{line:"Linie {seriesNumber} von {chart.series.length} mit {series.points.length} Daten{#eq series.points.length 1}punkt{else}punkten{/eq}"}}},thousandsSep:".",decimalPoint:",",weekdays:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],months:["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jän","Feb","März","Apr","Mai","Juni","Juli","Aug","Sept","Okt","Nov","Dez"]},plotOptions:{line:{marker:{enabled:!1}}},yAxis:{title:null},legend:{enabled:!1},scrollbar:{enabled:!1},rangeSelector:{enabled:!1},navigator:{enabled:!1},exporting:{enabled:!1},credits:{enabled:!1},time:{useUTC:!1},tooltip:{valueDecimals:2,xDateFormat:"%d.%m.%Y, %H:%M",pointFormat:"{point.y:,.2f}"}}}return e.prototype.ngOnChanges=function(){return(0,$g.sH)(this,void 0,void 0,function(){var e,t;return(0,$g.YH)(this,function(n){switch(n.label){case 0:return this.data?this.Highcharts?[3,2]:[4,(0,$oe.E)("highcharts",function(){return Promise.all([o.e(16),o.e(30)]).then(o.bind(o,4030))})]:[2];case 1:e=n.sent(),this.Highcharts=e.default.core,this.highchartsReady=!0,n.label=2;case 2:return this.updateFlag=!1,t=this.chartSeries(this.data),this.chartOptions=zoe({},this.defaultOptions,t),this.updateFlag=!0,this.df.detectChanges(),[2]}})})},e.prototype.chartSeries=function(e){var t=Z5()(e.values[e.values.length-1].dateTime),n=Z5()(e.values[0].dateTime),i=t.year()+"/"+(t.month()+1)+"/"+t.date()+" "+e.tradingTimeStart,r=n.year()+"/"+(n.month()+1)+"/"+n.date()+" "+e.tradingTimeEnd,s=new Date(i),o=new Date(r),a=s.getTime(),l=o.getTime(),c=!0;return"default"!==e.interval&&(c=!1),{tooltip:{valueDecimals:2,xDateFormat:"%d.%m.%Y, %H:%M",pointFormat:"{point.y:,.2f}"},xAxis:{type:"datetime",startOnTick:!1,endOnTick:!1,ordinal:!1,tickInterval:c?"2*3600*1000":null,min:c?a:null,max:c?l:null,units:c?[["minute",[120]]]:null},series:[{data:[[Z5()(i).valueOf(),parseFloat(e.historicClose)],[Z5()(r).valueOf(),parseFloat(e.historicClose)]]},{data:this.buildData(e.values)}]}},e.prototype.buildData=function(e){var t=[];return Array.isArray(e)||(e=[e]),e.forEach(function(e){t.unshift([Z5()(e.dateTime).valueOf(),parseFloat(e.close)])}),t},e.prototype.getUrl=function(e){return j5.AJ.indexDetails+e},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["tt-chart"]],inputs:{data:"data"},standalone:!1,features:[ok],decls:3,vars:2,consts:[[1,"hc-container"],[1,"stock-detail
1s","no-result"],[1,"stock-details"],[1,"text-link",3,"href"],[1,"quote"],[1,"last"],[1,"change-percent"],["id","container",3,"Highcharts","constructorType","update","options"],["id","container",3,"updateChange","Highcharts","constructorType","update","options"],[3,"translate","translateParams"]],template:function(e,t){1&e&&(r$(0,"div",0),HV(1,Woe,15,18),HV(2,Goe,3,6,"div",1),s$()),2&e&&($A(),UV(t.data?1:-1),$A(),UV(t.data?-1:2))},dependencies:[e2,joe,xX,Jte,Xte,yoe],encapsulation:2,changeDetection:0}),e}();function Yoe(e,t){if(1&e&&(r$(0,"div",3),o$(1,"tt-symbol-list",9),s$()),2&e){var n=qj(2);$A(),n$("items",n.symbols)("type","symbols")}}function Koe(e,t){if(1&e&&o$(0,"tt-chart",7),2&e){var n=qj(2);n$("data",n.chart),sV("aria-labelledby",n.activeTab+"-tab")}}function Joe(e,t){if(1&e&&(r$(0,"div",8),o$(1,"tt-symbol-list",10),s$()),2&e){var n=qj(2);$A(),n$("items",n.topflop)("type","topflop")("activeIndex",n.activeTab)}}function Xoe(e,t){if(1&e&&(r$(0,"div",3),o$(1,"tt-symbol-list",9),s$()),2&e){var n=qj(2);$A(),n$("items",n.symbols)("type","symbols")}}function Qoe(e,t){if(1&e){var n=w$();r$(0,"div",2),HV(1,Yoe,2,2,"div",3),r$(2,"div",4)(3,"div",5)(4,"rwm-tabs",6),uz("modelChange",function(e){a_(n);var t=qj();return cz(t.activeTab,e)||(t.activeTab=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj();return l_(e.onModelChange(e.activeTab))}),s$(),HV(5,Koe,1,2,"tt-chart",7),s$()(),HV(6,Joe,2,3,"div",8),HV(7,Xoe,2,2,"div",3),s$()}if(2&e){var i=qj();xH("loading-container",i.loading),$A(),UV(i.innerWidth<768?1:-1),$A(3),n$("tabs",i.tabs),lz("model",i.activeTab),n$("options",i.tabsOptions)("label",i.tabsLabel)("contentId","ttChartContent"),$A(),UV(i.chart?5:-1),$A(),UV(0!==i.topflop.length?6:-1),$A(),UV(i.innerWidth>=768?7:-1)}}var eae=function(){function e(e,t,n,i){this.ttStartpageService=e,this.alertService=t,this.translate=n,this.df=i,this.errorCount=[],this.errorId="ttStartpageError",this.loading=!1,this.tabsLabel="Indizes",this.tabsOptions={limit:5,id:"ttIndexStartpage",hideLabel:!1},this.visibleError=!1,this.topflop=[],this.symbols=[]}return e.prototype.ngOnInit=function(){var e=this;this.innerWidth=window.innerWidth,this.tabs=this.createIndicesItems(this.indices),this.activeTab=this.tabs[0],W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.loading=!0,e.getChart(),e.getTopFlop(),e.getSymbols()})},e.prototype.getChart=function(){var e=this;this.ttStartpageService.getChart(this.siteId,this.activeTab).subscribe(function(t){e.chart=t},function(t){e.chart=null,e.showError("chart")},function(){return e.updateModels()})},e.prototype.getTopFlop=function(){var e=this;this.ttStartpageService.getTopFlop(this.siteId,this.activeTab).subscribe(function(t){e.topflop=t},function(t){e.topflop=[]},function(){return e.updateModels()})},e.prototype.getSymbols=function(){var e=this;this.ttStartpageService.getSymbols(this.siteId).subscribe(function(t){e.symbols=t},function(t){e.symbols=[],e.showError("symbols")},function(){return e.updateModels()})},e.prototype.onModelChange=function(e){this.loading=!0,this.activeTab=e,this.getTopFlop(),this.getChart()},e.prototype.createIndicesItems=function(e){var t,n,i=[],r=e.split(",");try{for(var s=(0,$g.Ju)(r),o=s.next();!o.done;o=s.next()){var a=o.value;i.push(a.toUpperCase())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return i},e.prototype.getUrl=function(e){return j5.AJ.indexDetails+e},e.prototype.showError=function(e){this.alertService.clear(this.errorId),this.errorCount.includes(e)||this.errorCount.push(e),this.errorCount.length>=2&&(this.alertService.error(this.translate.instant("ERROR_MESSAGE_HEADLINE"),this.translate.instant("ERROR_MESSAGE_CONTENT"),{id:this.errorId}),this.visibleError=!0,this.updateModels())},e.prototype.updateModels=function(){this.loading=!1,this.df.detectChanges()},e.prototype.onWindowResize=function(e){this.innerWidth=window.innerWidth},e.ɵfac=function(t){return new(t||e)(qP(goe),qP(_te),qP(Q0),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["ttStartpage"]],hostBindings:function(e,t){1&e&&jj("resize",function(e){return t.onWindowResize(e)},uA)},inputs:{siteId:"siteId",indices:"indices"},standalone:!1,decls:2,vars:3,consts:[[1,"row",3,"loading-container"],[3,"id"],[1,"row"],[1,"symbols-container"],[1,"chart-container"],[1,"indices"],[3,"modelChange","tabs","model","options","label","contentId"],["id","ttChartContent","role","tabpanel",3,"data"],[1,"top-flop-container"],[3,"items","type"],[3,"items","type","activeIndex"]],template:function(e,t){1&e&&(HV(0,Qoe,8,11,"div",0),o$(1,"alert",1)),2&e&&(UV(t.visibleError?-1:0),$A(),n$("id",gz(t.errorId)))},dependencies:[Aoe,Voe,Zoe,Cte],encapsulation:2}),e}(),tae=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,F5,C5]}),e}(),nae=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),iae=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,Hoe]}),e}(),rae=function(){function e(e){this.injector=e;var t=T2(eae,{injector:e});customElements.define("tt-startpage-component",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e,bootstrap:[eae]}),e.ɵinj=Lv({imports:[RX,_Q,p0,tae,nae,iae,vte]}),e}();function sae(e,t){1&e&&o$(0,"tt-chart",6),2&e&&n$("data",qj(3).chart)}function oae(e,t){if(1&e&&(r$(0,"div",7),o$(1,"tt-symbol-list",8),s$()),2&e){var n=qj(3);
1$A(),n$("items",n.topflop)("type","topflop")("activeIndex",n.activeTab)}}function aae(e,t){if(1&e&&(r$(0,"div",3)(1,"div",4)(2,"div",5),HV(3,sae,1,1,"tt-chart",6),s$()(),HV(4,oae,2,3,"div",7),s$()),2&e){var n=qj(2);xH("loading-container",n.loading),sV("aria-labelledby",n.activeTab+"-tab"),$A(3),UV(n.chart?3:-1),$A(),UV(0!==n.topflop.length?4:-1)}}function lae(e,t){if(1&e){var n=w$();r$(0,"rwm-tabs",1),uz("modelChange",function(e){a_(n);var t=qj();return cz(t.activeTab,e)||(t.activeTab=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj();return l_(e.onModelChange(e.activeTab))}),s$(),HV(1,aae,5,5,"div",2)}if(2&e){var i=qj();n$("tabs",i.tabs),lz("model",i.activeTab),n$("options",i.tabsOptions)("label",i.tabsLabel)("contentId","ttStickybarContent"),$A(),UV(i.visibleError?-1:1)}}var cae=function(){function e(e,t,n,i){this.ttStartpageService=e,this.alertService=t,this.df=n,this.translate=i,this.errorCount=[],this.loading=!1,this.tabsLabel="Indizes",this.tabsOptions={limit:6,id:"ttIndexStickybar",hideLabel:!1},this.visibleError=!1,this.topflop=[],this.chart=null,this.errorId="ttStartpageError"}return e.prototype.ngOnInit=function(){var e=this;this.tabs=this.createIndicesItems(this.indices),this.activeTab=this.tabs[0],W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.loading=!0,e.getChart(),e.getTopFlop()})},e.prototype.getChart=function(){var e=this;this.ttStartpageService.getChart(this.siteId,this.activeTab).subscribe(function(t){e.chart=t},function(t){e.chart=null,e.showError("chart")},function(){return e.updateModels()})},e.prototype.getTopFlop=function(){var e=this;this.ttStartpageService.getTopFlop(this.siteId,this.activeTab).subscribe(function(t){e.topflop=t},function(t){e.topflop=[],e.showError("topflop")},function(){return e.updateModels()})},e.prototype.onModelChange=function(e){this.loading=!0,this.activeTab=e,this.getTopFlop(),this.getChart()},e.prototype.createIndicesItems=function(e){var t,n,i=[],r=e.split(",");try{for(var s=(0,$g.Ju)(r),o=s.next();!o.done;o=s.next()){var a=o.value;i.push(a.toUpperCase())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return i},e.prototype.getUrl=function(e){return j5.AJ.indexDetails+e},e.prototype.showError=function(e){this.alertService.clear(this.errorId),this.errorCount.includes(e)||this.errorCount.push(e),this.errorCount.length>=2&&(this.alertService.error(this.translate.instant("ERROR_MESSAGE_HEADLINE"),this.translate.instant("ERROR_MESSAGE_CONTENT"),{id:this.errorId}),this.visibleError=!0,this.updateModels())},e.prototype.updateModels=function(){this.loading=!1,this.df.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(goe),qP(_te),qP(uZ),qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["ng-component"]],inputs:{siteId:"siteId",indices:"indices",hideSearch:"hideSearch",hideContent:"hideContent",view:"view"},standalone:!1,decls:2,vars:3,consts:[[3,"id"],[3,"modelChange","tabs","model","options","label","contentId"],["id","ttStickybarContent","role","tabpanel",1,"row",3,"loading-container"],["id","ttStickybarContent","role","tabpanel",1,"row"],[1,"chart-container"],[1,"indices"],[3,"data"],[1,"top-flop-container"],[3,"items","type","activeIndex"]],template:function(e,t){1&e&&(HV(0,lae,2,6),o$(1,"alert",0)),2&e&&(UV(t.visibleError?-1:0),$A(),n$("id",gz(t.errorId)))},dependencies:[Aoe,Voe,Zoe,Cte],encapsulation:2}),e}(),uae=function(){function e(e){this.injector=e;var t=T2(cae,{injector:e});customElements.define("tt-stickybar-component",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e,bootstrap:[cae]}),e.ɵinj=Lv({imports:[RX,_Q,p0,tae,nae,iae,vte]}),e}(),dae=function(){function e(e){this.injector=e}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,Toe,rae,uae]}),e}(),hae=function(){function e(e){var t=this;this.http=e,this.getPVRSummary=function(e){return t.http.post(j5.KT+j5.vZ.calculatorPension,e).pipe(Ox(function(e){return e}))}}return e.prototype.convertToNumber=function(e){return null==e||""===e?0:parseInt(e)},e.prototype.convertToDate=function(e){return Z5()(e,"DD.MM.YYYY").format("YYYY-MM-DD")},e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),pae=function(){function e(){}return e.valid=function(e,t,n){return void 0===n&&(n="date"),function(i){var r,s,o;
1if(!Z5()(i.value,"YYYY-MM-DD",!0).isValid()||!/^[0-9-]*$/.test(i.value))return(o={})[n]=!0,o;var a=Z5()(i.value,"YYYY-MM-DD",!0).valueOf();return e&&(e=Z5()(e,["YYYY-MM-DD","DD.MM.YYYY"],!0).format("YYYY-MM-DD"),a<Z5()(e).valueOf())?((r={})[n+"Min"]=!0,r):t&&(t=Z5()(t,["YYYY-MM-DD","DD.MM.YYYY"],!0).format("YYYY-MM-DD"),a>Z5()(t).valueOf())?((s={})[n+"Max"]=!0,s):null}},e}(),fae=new(function(){function e(){}return e.prototype.getModel=function(){return{genderLabel:"Bitte wählen Sie ihr Geschlecht aus.",gender:[{translationKey:"FEMALE",value:"female"},{translationKey:"MALE",value:"male"}],jobGroups:{label:"Bitte wählen Sie ihre Beschäftigung aus.",female:[{translationKey:"PVR_EMPLOYEE_FEMALE",value:"employee"},{translationKey:"PVR_WORKER_FEMALE",value:"laborer"},{translationKey:"PVR_SELFEMPLOYED_FEMALE",value:"selfEmployed"},{translationKey:"PVR_FARMER_FEMALE",value:"farmer"}],male:[{translationKey:"PVR_EMPLOYEE_MALE",value:"employee"},{translationKey:"PVR_WORKER_MALE",value:"laborer"},{translationKey:"PVR_SELFEMPLOYED_MALE",value:"selfEmployed"},{translationKey:"PVR_FARMER_MALE",value:"farmer"}]},pensionAge:{female:{min:60,max:68.5,step:.5},male:{min:62,max:68,step:1}},adviceText:"PVR_ADVICE_TEXT",occupationalGroup:"PVR_OCCUPATIONAL_GROUP",numberChildren:"PVR_NUMBER_CHILDREN",pensionAccount:"PVR_PENSION_ACCOUNT",yearlyIncome:"PVR_YEARLY_INCOME",monthlyIncome:"PVR_MONTHLY_INCOME",livingExpenses:"PVR_LIVING_EXPENSES",propertyValue:"PVR_PROPERTY_VALUE",birthDate:"PVR_BIRTHDATE",commencementOfEmployment:"PVR_COMMENCEMENT_OF_EMPLOYMENT",monthlyContributions:"PVR_MONTHLY_CONTRIBUTIONS",retirementAge:"PVR_PENSION_AGE",netIncome:"PVR_EXTRAPOLATED_NET_INCOME",extrapolatedPension:"PVR_EXTRAPOLATED_PENSION",pensionGap:"PVR_PENSION_GAP_LABEL",year:"YEAR",years:"YEARS",month:"MONTH",months:"MONTHS",currency:"€",contributionErrorMessage:{default:"PVR_CONTRIBUTION_ERROR_MSG_DEFAULT",hasInput:function(e){return"Die Anzahl der Monate muss größer als 0 und kleiner als ".concat(e," sein.")},number:"PVR_CONTRIBUTION_ERROR_MSG_NUMBER"},close:"CLOSE"}},e}()),mae=function(e){return{"visually-hidden":e}};function gae(e,t){1&e&&o$(0,"span",4),2&e&&n$("translate","INPUT_NOT_REQUIRED")}function vae(e,t){1&e&&o$(0,"span",4),2&e&&n$("translate","INPUT_NOT_REQUIRED")}function yae(e,t){if(1&e&&(r$(0,"span",5),VH(1),HV(2,vae,1,1,"span",4),s$()),2&e){var n=qj();$A(),XH("",n.shortLabel," "),$A(),UV(n.required||n.hideRequiredFlag?-1:2)}}function bae(e,t){if(1&e&&(r$(0,"div",7)(1,"span"),VH(2),s$()()),2&e){var n=qj();n$("id",n.id+"-unit"),$A(2),JH(n.units)}}var wae=function(){function e(e){var t=this;this.df=e,this.id=E5.A.uidGenerator(),this.type="text",this.required=!1,this.decimalPlaces=2,this.hideRequiredFlag=!1,this.min=null,this.max=null,this.invalid=!1,this.disabled=!1,this.floatLabel=!1,this.onChange=function(){},this.onTouched=function(){},this.checkFloatingLabel=function(e){"focus"===e.type||""!==e.target.value?t.floatLabel=!0:t.floatLabel=!1,t.df.detectChanges()},this.floatingStyles=function(e,t){return e||t?"float-label":""}}return e.prototype.ngOnChanges=function(){},e.prototype.modelChange=function(e){e=this.stringToNumber(e)||null,this.onChange(e),this.df.detectChanges()},e.prototype.writeValue=function(e){this.value=e},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.stringToNumber=function(e){return parseFloat(e.replace(/\./g,"").replace(/,/g,"."))},e.prototype.getName=function(e){return e.trim(),e.replace(/ /g,"-")},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-input-number"]],inputs:{id:"id",name:"name",type:"type",label:"label",shortLabel:"shortLabel",required:"required",hideLabel:"hideLabel",units:"units",decimalPlaces:"decimalPlaces",hideRequiredFlag:"hideRequiredFlag",value:"value",min:"min",max:"max",invalid:"invalid"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}]),ok],decls:9,vars:24,consts:[["inputNumber",""],[1,"form-group-inner"],[3,"for","ngClass"],[1,"label"],[3,"translate"],["aria-hidden","true",1,"short-label"],["thous
1andSeparator",".","inputmode","numeric","pattern","\\d*",1,"form-control",3,"ngModelChange","blur","focus","ngModel","id","name","type","mask","required","min","max"],[1,"input-control-unit",3,"id"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",1)(1,"label",2)(2,"span",3),VH(3),HV(4,gae,1,1,"span",4),s$(),HV(5,yae,3,2,"span",5),s$(),r$(6,"input",6,0),uz("ngModelChange",function(e){return a_(n),cz(t.value,e)||(t.value=e),l_(e)}),jj("blur",function(e){return a_(n),t.modelChange(e.target.value),t.checkFloatingLabel(e),l_(t.onTouched())})("focus",function(e){return a_(n),l_(t.checkFloatingLabel(e))}),s$(),HV(8,bae,3,2,"div",7),s$()}2&e&&($A(),SH(t.floatingStyles(t.value,t.floatLabel)),n$("for",t.id)("ngClass",jz(22,mae,t.hideLabel)),$A(2),XH("",t.label," "),$A(),UV(t.required||t.hideRequiredFlag?-1:4),$A(),UV(t.shortLabel?5:-1),$A(),n$("id",gz(t.id))("name",gz(t.name))("type",gz(t.type))("mask",vz("separator.",t.decimalPlaces)),lz("ngModel",t.value),n$("required",t.required)("min",t.min)("max",t.max),sV("aria-describedby",t.units?"validation-box-"+t.id+" "+t.id+"-unit":"validation-box-"+t.id)("aria-invalid",t.invalid),$A(2),UV(t.units?8:-1))},dependencies:[GJ,F2,x3,s5,f5,_4,e2,coe],encapsulation:2}),e}(),_ae=["inputDate"],xae=function(e){return{"visually-hidden":e}};function kae(e,t){1&e&&o$(0,"span",4),2&e&&n$("translate","INPUT_NOT_REQUIRED")}function Cae(e,t){1&e&&o$(0,"span",4),2&e&&n$("translate","INPUT_NOT_REQUIRED")}function Sae(e,t){if(1&e&&(r$(0,"span",5),VH(1),HV(2,Cae,1,1,"span",4),s$()),2&e){var n=qj();$A(),XH("",n.shortLabel," "),$A(),UV(n.required?-1:2)}}var Tae=function(){function e(e){var t=this;this.df=e,this.id=E5.A.uidGenerator(),this.type="date",this.required=!1,this.invalid=!1,this.disabled=!1,this.floatLabel=!1,this.hideRequiredFlag=!!this.required,this.inputSelector="date-"+E5.A.uidGenerator(),this.onChange=function(){},this.onTouched=function(){},this.checkFloatingLabel=function(e){"focus"===e.type||""!==e.target.value?t.floatLabel=!0:t.floatLabel=!1,t.df.detectChanges()},this.floatingStyles=function(e,t){return e||t?"float-label":""}}return e.prototype.ngOnChanges=function(){},e.prototype.modelChange=function(e){void 0===e&&(e=""),this.onChange(e)},e.prototype.writeValue=function(e){this.value=e},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-input-date"]],viewQuery:function(e,t){var n;(1&e&&Kj(_ae,7,xC),2&e)&&(Jj(n=Xj())&&(t.inputDate=n.first))},inputs:{id:"id",name:"name",type:"type",label:"label",shortLabel:"shortLabel",required:"required",hideLabel:"hideLabel",min:"min",max:"max",invalid:"invalid"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}]),ok],decls:8,vars:21,consts:[["inputDate",""],[1,"form-group-inner"],[3,"for","ngClass"],[1,"label"],[3,"translate"],["aria-hidden","true",1,"short-label"],["autocomplete","off",1,"form-control",3,"change","blur","focus","id","name","type","value","required"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",1)(1,"label",2)(2,"span",3),VH(3),HV(4,kae,1,1,"span",4),s$(),HV(5,Sae,3,2,"span",5),s$(),r$(6,"input",6,0),jj("change",function(e){return a_(n),l_(t.modelChange(e.target.value))})("blur",function(e){return a_(n),t.modelChange(e.target.value),t.checkFloatingLabel(e),l_(t.onTouched())})("focus",function(e){return a_(n),l_(t.checkFloatingLabel(e))}),s$()()}2&e&&($A(),SH(t.floatingStyles(t.value,t.floatLabel)),n$("for",t.id)("ngClass",jz(19,xae,t.hideLabel)),$A(2),XH("",t.label," "),$A(),UV(t.required?-1:4),$A(),UV(t.shortLabel?5:-1),$A(),SH(t.inputSelector),n$("id",gz(t.id))("name",gz(t.name))("type",gz(t.type))("value",t.value)("required",t.required),sV("aria-describedby","validation-box-"+t.id)("aria-invalid",t.invalid))},dependencies:[GJ,e2],encapsulation:2}),e}();function Eae(e,t){if(1&e){var n=w$();r$(0,"button",2),nU(1,"translate"),jj("click",function(){var e=a_(n).$implicit;return l_(qj().modelChange(e))}),s$()}
1if(2&e){var i=t.$implicit,r=qj();n$("ngClass",r.activeStyle(i.value,r.model))("disabled",i.disabled)("translate",i.translationKey)("innerHTML",i.label+"<span class=icon-check></span>",WI),sV("title",i.translationKey?iU(1,6,i.translationKey):i.label)("aria-pressed",r.ariaState(i.value,r.model))}}var Iae=function(){function e(e){this.df=e,this.label=null,this.listItems=[],this.onChange=function(){},this.onTouched=function(){},this.activeStyle=function(e,t){return e===t.value?"active":""},this.ariaState=function(e,t){return e===t.value}}return e.prototype.ngOnChanges=function(){this.value=this.model.value,this.onChange(this.value)},e.prototype.modelChange=function(e){this.onChange(e.value),this.model=e,this.df.detectChanges()},e.prototype.writeValue=function(e){this.value=e},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-radio-btn-group"]],inputs:{label:"label",listItems:"listItems",model:"model"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}]),ok],decls:3,vars:1,consts:[["role","group",1,"button-list"],["type","button",1,"btn","btn-button-list","button-list-cols",3,"ngClass","disabled","translate","innerHTML"],["type","button",1,"btn","btn-button-list","button-list-cols",3,"click","ngClass","disabled","translate","innerHTML"]],template:function(e,t){1&e&&(r$(0,"div",0),YV(1,Eae,2,8,"button",1,GV),s$()),2&e&&(sV("aria-label",t.label),$A(),XV(t.listItems))},dependencies:[GJ,e2,t2],encapsulation:2}),e}(),Aae=function(e){function t(t,n){return e.call(this)||this}return(0,$g.C6)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(Hg.yU),Dae={setInterval:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=Dae.delegate;return(null==r?void 0:r.setInterval)?r.setInterval.apply(r,(0,$g.fX)([e,t],(0,$g.zs)(n))):setInterval.apply(void 0,(0,$g.fX)([e,t],(0,$g.zs)(n)))},clearInterval:function(e){var t=Dae.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},Mae=function(e){function t(t,n){var i=e.call(this,t,n)||this;
1return i.scheduler=t,i.work=n,i.pending=!1,i}return(0,$g.C6)(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),Dae.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&Dae.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,i=!1;try{this.work(e)}catch(e){i=!0,n=e||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,i=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,qg.o)(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Aae),Oae=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=M0.now,e}(),Pae=function(e){function t(t,n){void 0===n&&(n=Oae.now);var i=e.call(this,t,n)||this;return i.actions=[],i._active=!1,i}return(0,$g.C6)(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(Oae),Lae=new Pae(Mae),Nae=Lae;function Rae(e,t,n){void 0===t&&(t=Lae);var i=function(e,t,n){void 0===e&&(e=0),void 0===n&&(n=Nae);var i=-1;return null!=t&&(jQ(t)?n=t:i=t),new jg.c(function(t){var r,s=(r=e)instanceof Date&&!isNaN(r)?+e-n.now():e;s<0&&(s=0);var o=0;return n.schedule(function(){t.closed||(t.next(o++),0<=i?this.schedule(void 0,i):t.complete())},s)})}(e,t);return function(e,t){return Ix(function(e,n){var r=null!=t?t:{},s=r.leading,o=void 0===s||s,a=r.trailing,l=void 0!==a&&a,c=!1,u=null,d=null,h=!1,p=function(){null==d||d.unsubscribe(),d=null,l&&(g(),h&&n.complete())},f=function(){d=null,h&&n.complete()},m=function(e){return d=PQ(i).subscribe(Dx(n,p,f))},g=function(){if(c){c=!1;var e=u;u=null,n.next(e),!h&&m()}};e.subscribe(Dx(n,function(e){c=!0,u=e,(!d||d.closed)&&(o?g():m())},function(){h=!0,(!(l&&c&&d)||d.closed)&&n.complete()}))})}(0,n)}function Bae(e,t){return void 0===t&&(t=S0.D),e=null!=e?e:Fae,Ix(function(n,i){var r,s=!0;n.subscribe(Dx(i,function(n){var o=t(n);!s&&e(r,o)||(s=!1,r=o,i.next(n))}))})}function Fae(e,t){return e===t}var Vae="undefined"!=typeof window?window:{screen:{},navigator:{}},$ae=(Vae.matchMedia||function(){return{matches:!1}}).bind(Vae),jae=!1,Hae={get passive(){return jae=!0}},zae=function(){};Vae.addEventListener&&Vae.addEventListener("p",zae,Hae),Vae.removeEventListener&&Vae.removeEventListener("p",zae,!1);var Uae,qae=jae,Wae="ontouchstart"in Vae,Gae=(Wae||"TouchEvent"in Vae&&$ae("(any-pointer: coarse)").matches,Vae.navigator.maxTouchPoints,Vae.navigator.userAgent||"");$ae("(pointer: coarse)").matches&&/iPad|Macintosh/.test(Gae)&&Math.min(Vae.screen.width||0,Vae.screen.height||0);($ae("(pointer: coarse)").matches||!$ae("(pointer: fine)").matches&&Wae)&&/Windows.*Firefox/.test(Gae),$ae("(any-pointer: fine)").matches||$ae("(any-hover: hover)").matches,function(e){e[e.Low=0]="Low",e[e.High=1]="High",e[e.Floor=2]="Floor",e[e.Ceil=3]="Ceil",e[e.TickValue=4]="TickValue"}(Uae||(Uae={}));class Zae{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;
1animateOnMove=!1}const Yae=new $v("AllowUnsafeHtmlInSlider");var Kae;!function(e){e[e.Min=0]="Min",e[e.Max=1]="Max"}(Kae||(Kae={}));class Jae{value;highValue;pointerType}class Xae{static isNullOrUndefined(e){return null==e}static areArraysEqual(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}static linearValueToPosition(e,t,n){return(e-t)/(n-t)}static logValueToPosition(e,t,n){return((e=Math.log(e))-(t=Math.log(t)))/((n=Math.log(n))-t)}static linearPositionToValue(e,t,n){return e*(n-t)+t}static logPositionToValue(e,t,n){t=Math.log(t);const i=e*((n=Math.log(n))-t)+t;return Math.exp(i)}static findStepIndex(e,t){const n=t.map(t=>Math.abs(e-t.value));let i=0;for(let e=0;e<t.length;e++)n[e]!==n[i]&&n[e]<n[i]&&(i=e);return i}}class Qae{static isTouchEvent(e){return void 0!==window.TouchEvent?e instanceof TouchEvent:void 0!==e.touches}static isResizeObserverAvailable(){return void 0!==window.ResizeObserver}}class ele{static roundToPrecisionLimit(e,t){return+e.toPrecision(t)}static isModuloWithinPrecisionLimit(e,t,n){const i=Math.pow(10,-n);return Math.abs(e%t)<=i||Math.abs(Math.abs(e%t)-t)<=i}static clampToRange(e,t,n){return Math.min(Math.max(e,t),n)}}class tle{eventName=null;events=null;eventsSubscription=null;teardownCallback=null}class nle{renderer;constructor(e){this.renderer=e}attachPassiveEventListener(e,t,n,i){if(!0!==qae)return this.attachEventListener(e,t,n,i);const r=new tle;r.eventName=t,r.events=new Gg;const s=e=>{r.events.next(e)};return e.addEventListener(t,s,{passive:!0,capture:!1}),r.teardownCallback=()=>{e.removeEventListener(t,s,{passive:!0,capture:!1})},r.eventsSubscription=r.events.pipe(Xae.isNullOrUndefined(i)?H5(()=>{}):Rae(i,void 0,{leading:!0,trailing:!0})).subscribe(e=>{n(e)}),r}detachEventListener(e){Xae.isNullOrUndefined(e.eventsSubscription)||(e.eventsSubscription.unsubscribe(),e.eventsSubscription=null),Xae.isNullOrUndefined(e.events)||(e.events.complete(),e.events=null),Xae.isNullOrUndefined(e.teardownCallback)||(e.teardownCallback(),e.teardownCallback=null)}attachEventListener(e,t,n,i){const r=new tle;return r.eventName=t,r.events=new Gg,r.teardownCallback=this.renderer.listen(e,t,e=>{r.events.next(e)}),r.eventsSubscription=r.events.pipe(Xae.isNullOrUndefined(i)?H5(()=>{}):Rae(i,void 0,{leading:!0,trailing:!0})).subscribe(e=>{n(e)}),r}}class ile{elemRef=Dy(xC);renderer=Dy(OP);changeDetectionRef=Dy(uZ);_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(){this.eventListenerHelper=new nle(this.renderer)}setAlwaysHide(e){this._alwaysHide=e,this.visibility=e?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(e){this._vertical=e,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(e){this._scale=e}setRotate(e){this._rotate=e,this.transform="rotate("+e+"deg)"}getRotate(){return this._rotate}setPosition(e){this._position===e||this.isRefDestroyed()||this.changeDetectionRef.markForCheck(),this._position=e,this._vertical?this.bottom=Math.round(e)+"px":this.left=Math.round(e)+"px"}calculateDimension(){const e=this.getBoundingClientRect();this.vertical?this._dimension=(e.bottom-e.top)*this.scale:this._dimension=(e.right-e.left)*this.scale}setDimension(e){this._dimension===e||this.isRefDestroyed()||this.changeDetectionRef.markForCheck(),this._dimension=e,this._vertical?this.height=Math.round(e)+"px":this.width=Math.round(e)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(e,t,n){const i=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,e,t,n);this.eventListeners.push(i)}onPassive(e,t,n){const i=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,e,t,n);this.eventListeners.push(i)}off(e){let t,n;Xae.isNullOrUndefined(e)?(t=[],n=this.eventListeners):(t=this.eventListeners.filter(t=>t.eventName!==e),n=this.eventListeners.filter(t=>t.eventName===e));for(const e of n)this.eventListenerHelper.detachEventListener(e);this.eventListeners=t}isRefDestroyed(){return Xae.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:ile,deps:[],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.0.4",type:ile,isStandalone:!1,selector:"[ngxSliderElement]",host:{properties:{"style.opacity":"this.opacity","style.visibility":"this.visibility","style.left":"this.left","style.bottom":"this.bottom","style.height":"this.height","style.width":"this.width","style.transform":"this.transform"}},ngImport:e})}IY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:ile,decorators:[{type:eq,args:[{selector:"[ngxSliderElement]",standalone:!1}]}],ctorParameters:()=>[],propDecorators:{opacity:[{type:sq,args:["style.opacity"]}],visibility:[{type:sq,args:["style.visibility"]}],left:[{type:sq,args:["style.left"]}],bottom:[{type:sq,args:["style.bottom"]}],height:[{type:sq,args:["style.height"]}],width:[{type:sq,args:["style.width"]}],transform:[{type:sq,args:["style.transform"]}]}});class rle extends ile{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:rle,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.0.4",type:rle,isStandalone:!1,selector:"[ngxSliderHandle]",host:{properties:{"class.ngx-slider-active":"this.active","attr.role":"this.role","attr.tabindex":"this.tabindex","attr.aria-orientation":"this.ariaOrientation","attr.aria-label":"this.ariaLabel","attr.aria-labelledby":"this.ariaLabelledBy","attr.aria-valuenow":"this.ariaValueNow","attr.aria-valuetext":"this.ariaValueText","attr.aria-valuemin":"this.ariaValueMin","attr.aria-valuemax":"this.ariaValueMax"}},usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:rle,decorators:[{type:eq,args:[{selector:"[ngxSliderHandle]",standalone:!1}]}],propDecorators:{active:[{type:sq,args:["class.ngx-slider-active"]}],role:[{type:sq,args:["attr.role"]}],tabindex:[{type:sq,args:["attr.tabindex"]}],ariaOrientation:[{type:sq,args:["attr.aria-orientation"]}],ariaLabel:[{type:sq,args:["attr.aria-label"]}],ariaLabelledBy:[{type:sq,args:["attr.aria-labelledby"]}],ariaValueNow:[{type:sq,args:["attr.aria-valuenow"]}],ariaValueText:[{type:sq,args:["attr.aria-valuetext"]}],ariaValueMin:[{type:sq,args:["attr.aria-valuemin"]}],ariaValueMax:[{type:sq,args:["attr.aria-valuemax"]}]}});class sle extends ile{allowUnsafeHtmlInSlider=Dy(Yae,{optional:!0});_value=null;get value(){return this._value}setValue(e){let t=!1;!this.alwaysHide&&(Xae.isNullOrUndefined(this.value)||this.value.length!==e.length||this.value.length>0&&0===this.dimension)&&(t=!0),this._value=e,!1===this.allowUnsafeHtmlInSlider?this.elemRef.nativeElement.innerText=e:this.elemRef.nativeElement.innerHTML=e,t&&this.calculateDimension()}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:sle,deps:null,target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.0.4",type:sle,isStandalone:!1,selector:"[ngxSliderLabel]",usesInheritance:!0,ngImport:e})}IY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:sle,decorators:[{type:eq,args:[{selector:"[ngxSliderLabel]",standalone:!1}]}]});class ole{template;tooltip;placement;content;static"ɵfac"=MY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:ole,deps:[],target:hG.Component});static"ɵcmp"=DY({minVersion:"17.0.0",version:"20.0.4",type:ole,isStandalone:!1,selector:"ngx-slider-tooltip-wrapper",inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},ngImport:e,template:'@if (template) {\n  <ng-template *ngTemplateOutlet="template; context: {tooltip: tooltip, placement: placement, content: content}"></ng-template>\n}\n\n@if (!template) {\n  <div class="ngx-slider-inner-tooltip" [attr.title]="tooltip" [attr.data-tooltip-placement]="placement">\n    {{content}}\n  </div>\n}',styles:[".ngx-slider-inner-tooltip{height:100%}\n"],dependencies:[{kind:"directive",type:uX,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]}]})}
1IY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:ole,decorators:[{type:tq,args:[{selector:"ngx-slider-tooltip-wrapper",standalone:!1,template:'@if (template) {\n  <ng-template *ngTemplateOutlet="template; context: {tooltip: tooltip, placement: placement, content: content}"></ng-template>\n}\n\n@if (!template) {\n  <div class="ngx-slider-inner-tooltip" [attr.title]="tooltip" [attr.data-tooltip-placement]="placement">\n    {{content}}\n  </div>\n}',styles:[".ngx-slider-inner-tooltip{height:100%}\n"]}]}],propDecorators:{template:[{type:iq}],tooltip:[{type:iq}],placement:[{type:iq}],content:[{type:iq}]}});class ale{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class lle{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class cle{value;highValue;static compare(e,t){return!(Xae.isNullOrUndefined(e)&&Xae.isNullOrUndefined(t)||Xae.isNullOrUndefined(e)!==Xae.isNullOrUndefined(t)||e.value!==t.value||e.highValue!==t.highValue)}}class ule extends cle{forceChange;static compare(e,t){return!(Xae.isNullOrUndefined(e)&&Xae.isNullOrUndefined(t)||Xae.isNullOrUndefined(e)!==Xae.isNullOrUndefined(t)||e.value!==t.value||e.highValue!==t.highValue||e.forceChange!==t.forceChange)}}const dle={provide:P2,useExisting:uv(()=>hle),multi:!0};class hle{renderer=Dy(OP);elementRef=Dy(xC);changeDetectionRef=Dy(uZ);zone=Dy(dD);allowUnsafeHtmlInSlider=Dy(Yae,{optional:!0});sliderElementNgxSliderClass=!0;value=null;valueChange=new rD;highValue=null;highValueChange=new rD;options=new Zae;userChangeStart=new rD;userChange=new rD;userChangeEnd=new rD;manualRefreshSubscription;set manualRefresh(e){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=e.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(e){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=e.subscribe(e=>{this.focusPointer(e)})}cancelUserChangeSubscription;set cancelUserChange(e){this.unsubscribeCancelUserChange(),this.cancelUserChangeSubscription=e.subscribe(()=>{this.moving&&(this.positionTrackingHandle(this.preStartHandleValue),this.forceEnd(!0))})}get range(){return!Xae.isNullOrUndefined(this.value)&&!Xae.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new Gg;inputModelChangeSubscription=null;outputModelChangeSubject=new Gg;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Zae;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new lle;preStartHandleValue=null;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(){this.eventListenerHelper=new nle(this.renderer)}ngOnInit(){this.viewOptions=new Zae,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.range?this.viewHighValue=this.modelValueToViewValue(this.highValue):this.viewHighValue=null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(e){Xae.isNullOrUndefined(e.options)||JSON.stringify(e.options.previousValue)===JSON.stringify(e.options.currentValue)||this.onChangeOptions(),Xae.isNullOrUndefined(e.value)&&Xae.isNullOrUndefined(e.highValue)||this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,controlAccessorChange:!1,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(e){e instanceof Array?(this.value=e[0],this.highValue=e[1]):this.value=e,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1,controlAccessorChange:!0})}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}setDisabledState(e){this.viewOptions.disabled=e,this.updateDisabledState(),this.initHasRun&&this.manageEventsBindings()}setAriaLabel(e){this.viewOptions.ariaLabel=e,this.updateAriaLabel()}onResize(e){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(Bae(ule.compare),FQ(e=>!e.forceChange&&!e.internalChange)).subscribe(e=>this.applyInputModelChange(e))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(Bae(ule.compare)).subscribe(e=>this.publishOutputModelChange(e))}subscribeResizeObserver(){Qae.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){Qae.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){Xae.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){Xae.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){Xae.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){Xae.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){Xae.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){Xae.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}unsubscribeCancelUserChange(){Xae.isNullOrUndefined(this.cancelUserChangeSubscription)||(this.cancelUserChangeSubscription.unsubscribe(),this.cancelUserChangeSubscription=null)}getPointerElement(e){return e===Kae.Min?this.minHandleElement:e===Kae.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===Kae.Min?this.viewLowValue:this.currentTrackingPointer===Kae.Max?this.viewHighValue:null}modelValueToViewValue(e){return Xae.isNullOrUndefined(e)?NaN:Xae.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+e:Xae.findStepIndex(+e,this.viewOptions.stepsArray)}viewValueToModelValue(e){return Xae.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?e:this.getStepValue(e)}getStepValue(e){const t=this.viewOptions.stepsArray[e];return Xae.isNullOrUndefined(t)?NaN:t.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,controlAccessorChange:!1,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,controlAccessorChange:!1,forceChange:!1,internalChange:!0})}applyInputModelChange(e){const t=this.normaliseModelValues(e),n=!cle.compare(e,t);n&&(this.value=t.value,this.highValue=t.highValue),this.viewLowValue=this.modelValueToViewValue(t.value),this.range?this.viewHighValue=this.modelValueToViewValue(t.highValue):this.viewHighValue=null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:t.value,highValue:t.highValue,controlAccessorChange:e.controlAccessorChange,forceChange:n,userEventInitiated:!1})}publishOutputModelChange(e){const t=()=>{this.valueChange.emit(e.value),this.range&&this.highValueChange.emit(e.highValue),e.controlAccessorChange||(Xae.isNullOrUndefined(this.onChangeCallback)||(this.range?this.onChangeCallback([e.value,e.highValue]):this.onChangeCallback(e.value)),Xae.isNullOrUndefined(this.onTouchedCallback)||(this.range?this.onTouchedCallback([e.value,e.highValue]):this.onTouchedCallback(e.value)))};e.userEventInitiated?(t(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{t()})}normaliseModelValues(e){const t=new cle;if(t.value=e.value,t.highValue=e.highValue,!Xae.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const e=Xae.findStepIndex(t.value,this.viewOptions.stepsArray);if(t.value=this.viewOptions.stepsArray[e].value,this.range){const e=Xae.findStepIndex(t.highValue,this.viewOptions.stepsArray);t.highValue=this.viewOptions.stepsArray[e].value}}return t}if(this.viewOptions.enforceStep&&(t.value=this.roundStep(t.value),this.range&&(t.highValue=this.roundStep(t.highValue))),this.viewOptions.enforceRange&&(t.value=ele.clampToRange(t.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(t.highValue=ele.clampToRange(t.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&e.value>e.highValue))if(this.viewOptions.noSwitching)t.value=t.highValue;else{const n=e.value;t.value=e.highValue,t.highValue=n}return t}renormaliseModelValues(){const e={value:this.value,highValue:this.highValue},t=this.normaliseModelValues(e);cle.compare(t,e)||(this.value=t.value,this.highValue=t.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,controlAccessorChange:!1,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const e=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const t=this.getOptionsInfluencingEventBindings(this.viewOptions),n=!Xae.areArraysEqual(e,t);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.range?this.viewHighValue=this.modelValueToViewValue(this.highValue):this.viewHighValue=null,this.resetSlider(n)}applyOptions(){if(this.viewOptions=new Zae,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!Xae.isNullOrUndefined(this.viewOptions.ticksArray),!this.viewOptions.showTicks||Xae.isNullOrUndefined(this.viewOptions.tickStep)&&Xae.isNullOrUndefined(this.viewOptions.ticksArray)||(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!Xae.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),Xae.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),Xae.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(e,t)=>e+" - "+t),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}
1applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,Xae.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=e=>this.viewOptions.bindIndexForStepsArray?String(this.getStepValue(e)):String(e))}applyFloorCeilOptions(){if(Xae.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),Xae.isNullOrUndefined(this.viewOptions.ceil)||Xae.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,Xae.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=e=>String(e))}resetSlider(e=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),e&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(e){e!==Kae.Min&&e!==Kae.Max&&(e=Kae.Min),e===Kae.Min?this.minHandleElement.focus():this.range&&e===Kae.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){Xae.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const e=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(e||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(e||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(e||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const e of this.getAllSliderElements())Xae.isNullOrUndefined(e)||e.setVertical(this.viewOptions.vertical)}updateScale(){for(const e of this.getAllSliderElements())e.setScale(this.viewOptions.scale)}updateRotate(){for(const e of this.getAllSliderElements())e.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?this.minHandleElement.tabindex="":this.minHandleElement.tabindex="0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",Xae.isNullOrUndefined(this.viewOptions.ariaLabel)?Xae.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?this.maxHandleElement.tabindex="":this.maxHandleElement.tabindex="0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",Xae.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?Xae.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,Uae.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,Uae.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){Xae.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const e=this.minHandleElement.dimension;this.handleHalfDimension=e/2,Xae.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-e,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const e=Xae.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,t=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&e.reverse();const n=Xae.isNullOrUndefined(this.viewOptions.tickValueStep)?Xae.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let i=!1;const r=e.map(e=>{let r=this.valueToPosition(e);this.viewOptions.vertical&&(r=this.maxHandlePosition-r);const s=t+"("+Math.round(r)+"px)",o=new ale;o.selected=this.isTickSelected(e),o.style={"-webkit-transform":s,"-moz-transform":s,"-o-transform":s,"-ms-transform":s,transform:s},o.selected&&!Xae.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(o.style["background-color"]=this.getSelectionBarColor()),o.selected||Xae.isNullOrUndefined(this.viewOptions.getTickColor)||(o.style["background-color"]=this.getTickColor(e)),Xae.isNullOrUndefined(this.viewOptions.ticksTooltip)||(o.tooltip=this.viewOptions.ticksTooltip(e),o.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!Xae.isNullOrUndefined(n)&&ele.isModuloWithinPrecisionLimit(e,n,this.viewOptions.precisionLimit)&&(o.value=this.getDisplayValue(e,Uae.TickValue),Xae.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(o.valueTooltip=this.viewOptions.ticksValuesTooltip(e),o.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let a=null;if(Xae.isNullOrUndefined(this.viewOptions.stepsArray))Xae.isNullOrUndefined(this.viewOptions.getLegend)||(a=this.viewOptions.getLegend(e));else{const t=this.viewOptions.stepsArray[e];Xae.isNullOrUndefined(this.viewOptions.getStepLegend)?Xae.isNullOrUndefined(t)||(a=t.legend):a=this.viewOptions.getStepLegend(t)}return Xae.isNullOrUndefined(a)||(o.legend=a,i=!0),o});if(this.sliderElementWithLegendClass!==i&&setTimeout(()=>{this.sliderElementWithLegendClass=i}),Xae.isNullOrUndefined(this.ticks)||this.ticks.length!==r.length)this.ticks=r,this.isRefDestroyed()||this.changeDetectionRef.detectChanges();else for(let e=0;e<r.length;++e)Object.assign(this.ticks[e],r[e])}getTicksArray(){if(!this.viewOptions.showTicks)return[];const e=Xae.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep,t=[],n=1+Math.floor(ele.roundToPrecisionLimit(Math.abs(this.viewOptions.ceil-this.viewOptions.floor)/e,this.viewOptions.precisionLimit));for(let i=0;i<n;++i)t.push(ele.roundToPrecisionLimit(this.viewOptions.floor+e*i,this.viewOptions.precisionLimit));return t}isTickSelected(e){if(!this.range)if(Xae.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)){if(this.viewOptions.showSelectionBarEnd){if
1(e>=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&e<=this.viewLowValue)return!0}else{const t=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>t&&e>=t&&e<=this.viewLowValue)return!0;if(this.viewLowValue<t&&e<=t&&e>=this.viewLowValue)return!0}return!!(this.range&&e>=this.viewLowValue&&e<=this.viewHighValue)}updateFloorLabel(){if(!this.floorLabelElement.alwaysHide){this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,Uae.Floor)),this.floorLabelElement.calculateDimension();const e=this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0;this.floorLabelElement.setPosition(e)}}updateCeilLabel(){if(!this.ceilLabelElement.alwaysHide){this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,Uae.Ceil)),this.ceilLabelElement.calculateDimension();const e=this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension;this.ceilLabelElement.setPosition(e)}}updateHandles(e,t){e===Kae.Min?this.updateLowHandle(t):e===Kae.Max&&this.updateHighHandle(t),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(e,t){const n=e===Kae.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,i=t-n/2+this.handleHalfDimension,r=this.fullBarElement.dimension-n;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&e===Kae.Min||!this.viewOptions.rightToLeft&&e===Kae.Max?Math.min(i,r):Math.min(Math.max(i,0),r):i}updateLowHandle(e){this.minHandleElement.setPosition(e),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,Uae.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(Kae.Min,e)),Xae.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(Kae.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(e){this.maxHandleElement.setPosition(e),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,Uae.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(Kae.Max,e)),Xae.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(Kae.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let e=!1,t=!1;const n=this.isLabelBelowFloorLabel(this.minHandleLabelElement),i=this.isLabelAboveCeilLabel(this.minHandleLabelElement),r=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),s=this.isLabelBelowFloorLabel(this.combinedLabelElement),o=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(n?(e=!0,this.floorLabelElement.hide()):(e=!1,this.floorLabelElement.show()),i?(t=!0,this.ceilLabelElement.hide()):(t=!1,this.ceilLabelElement.show()),this.range){const i=this.combinedLabelElement.isVisible()?o:r,a=this.combinedLabelElement.isVisible()?s:n;i?this.ceilLabelElement.hide():t||this.ceilLabelElement.show(),a?this.floorLabelElement.hide():e||this.floorLabelElement.show()}}isLabelBelowFloorLabel(e){const t=e.position,n=e.dimension,i=this.floorLabelElement.position,r=this.floorLabelElement.dimension;return this.viewOptions.rightToLeft?t+n>=i-2:t<=i+r+2}isLabelAboveCeilLabel(e){const t=e.position,n=e.dimension,i=this.ceilLabelElement.position,r=this.ceilLabelElement.dimension;return this.viewOptions.rightToLeft?t<=i+r+2:t+n>=i-2}updateSelectionBar(){let e=0,t=0;const n=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,i=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)t=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),e=i;else if(Xae.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))n?(t=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),e=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(t=this.minHandleElement.position+this.handleHalfDimension,e=0);else{const n=this.viewOptions.showSelectionBarFromValue,i=this.valueToPosition(n);(this.viewOptions.rightToLeft?this.viewLowValue<=n:this.viewLowValue>n)?(t=this.minHandleElement.position-i,e=i+this.handleHalfDimension):(t=i-this.minHandleElement.position,e=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(t),this.selectionBarElement.setPosition(e),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(e),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(e+t)),this.leftOuterSelectionBarElement.setPosition(e+t)):(this.leftOuterSelectionBarElement.setDimension(e),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(e+t)),this.rightOuterSelectionBarElement.setPosition(e+t))),Xae.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!Xae.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const i=Xae.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),r=i-e>0&&!n||i-e<=0&&n,s=this.viewOptions.vertical?r?"bottom":"top":r?"left":"right";this.barStyle={backgroundImage:"linear-gradient(to "+s+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(i+t+e+(r?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=i-e+(r?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const e=this.getSelectionBarColor();this.barStyle={backgroundColor:e}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(e){return e===Kae.Max?this.viewOptions.getPointerColor(this.highValue,e):this.viewOptions.getPointerColor(this.value,e)}getTickColor(e){return this.viewOptions.getTickColor(e)}updateCombinedLabel(){let e=null;if(e=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,e){const e=this.getDisplayValue(this.viewLowValue,Uae.Low),t=this.getDisplayValue(this.viewHighValue,Uae.High),n=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(t,e):this.viewOptions.combineLabels(e,t);this.combinedLabelElement.setValue(n);const i=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(i),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(e,t){return Xae.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray||(e=this.getStepValue(e)),this.viewOptions.translate(e,t)}
1roundStep(e,t){const n=Xae.isNullOrUndefined(t)?this.viewOptions.step:t;let i=ele.roundToPrecisionLimit((e-this.viewOptions.floor)/n,this.viewOptions.precisionLimit);return i=Math.round(i)*n,ele.roundToPrecisionLimit(this.viewOptions.floor+i,this.viewOptions.precisionLimit)}valueToPosition(e){let t=Xae.linearValueToPosition;Xae.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(t=Xae.logValueToPosition):t=this.viewOptions.customValueToPosition;let n=t(e=ele.clampToRange(e,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return Xae.isNullOrUndefined(n)&&(n=0),this.viewOptions.rightToLeft&&(n=1-n),n*this.maxHandlePosition}positionToValue(e){let t=e/this.maxHandlePosition;this.viewOptions.rightToLeft&&(t=1-t);let n=Xae.linearPositionToValue;Xae.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(n=Xae.logPositionToValue):n=this.viewOptions.customPositionToValue;const i=n(t,this.viewOptions.floor,this.viewOptions.ceil);return Xae.isNullOrUndefined(i)?0:i}getEventXY(e,t){if(e instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?e.clientY:e.clientX;let n=0;const i=e.touches;if(!Xae.isNullOrUndefined(t))for(let e=0;e<i.length;e++)if(i[e].identifier===t){n=e;break}return this.viewOptions.vertical||0!==this.viewOptions.rotate?i[n].clientY:i[n].clientX}getEventPosition(e,t){const n=this.elementRef.nativeElement.getBoundingClientRect(),i=this.viewOptions.vertical||0!==this.viewOptions.rotate?n.bottom:n.left;let r=0;return r=this.viewOptions.vertical||0!==this.viewOptions.rotate?-this.getEventXY(e,t)+i:this.getEventXY(e,t)-i,r*this.viewOptions.scale-this.handleHalfDimension}getNearestHandle(e){if(!this.range)return Kae.Min;const t=this.getEventPosition(e),n=Math.abs(t-this.minHandleElement.position),i=Math.abs(t-this.maxHandleElement.position);return n<i?Kae.Min:n>i?Kae.Max:this.viewOptions.rightToLeft?t>this.minHandleElement.position?Kae.Min:Kae.Max:t<this.minHandleElement.position?Kae.Min:Kae.Max}bindEvents(){const e=this.viewOptions.draggableRange;this.viewOptions.onlyBindHandles||this.selectionBarElement.on("mousedown",t=>this.onBarStart(null,e,t,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",t=>this.onBarStart(Kae.Min,e,t,!0,!0)),this.maxHandleElement.on("mousedown",t=>this.onBarStart(Kae.Max,e,t,!0,!0))):(this.minHandleElement.on("mousedown",e=>this.onStart(Kae.Min,e,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",e=>this.onStart(Kae.Max,e,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",e=>this.onStart(null,e,!0,!0,!0)),this.ticksElement.on("mousedown",e=>this.onStart(null,e,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",t=>this.onBarStart(null,e,t,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",t=>this.onBarStart(Kae.Min,e,t,!0,!0)),this.maxHandleElement.onPassive("touchstart",t=>this.onBarStart(Kae.Max,e,t,!0,!0))):(this.minHandleElement.onPassive("touchstart",e=>this.onStart(Kae.Min,e,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",e=>this.onStart(Kae.Max,e,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",e=>this.onStart(null,e,!0,!0,!0)),this.ticksElement.onPassive("touchstart",e=>this.onStart(null,e,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(Kae.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(Kae.Max)))}getOptionsInfluencingEventBindings(e){return[e.disabled,e.readOnly,e.draggableRange,e.draggableRangeOnly,e.onlyBindHandles,e.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const e of this.getAllSliderElements())Xae.isNullOrUndefined(e)||e.off()}onBarStart(e,t,n,i,r,s,o){t?this.onDragStart(e,n,i,r):this.onStart(e,n,i,r,s,o)}onStart(e,t,n,i,r,s){t.stopPropagation(),Qae.isTouchEvent(t)||qae||t.preventDefault(),this.moving=!1,this.calculateViewDimensions(),Xae.isNullOrUndefined(e)&&(e=this.getNearestHandle(t)),this.currentTrackingPointer=e;
1const o=this.getPointerElement(e);if(o.active=!0,this.preStartHandleValue=this.getCurrentTrackingValue(),this.viewOptions.keyboardSupport&&o.focus(),n){this.unsubscribeOnMove();const e=e=>this.dragging.active?this.onDragMove(e):this.onMove(e);Qae.isTouchEvent(t)?this.onMoveEventListener=this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",e):this.onMoveEventListener=this.eventListenerHelper.attachEventListener(document,"mousemove",e)}if(i){this.unsubscribeOnEnd();const e=e=>this.onEnd(e);Qae.isTouchEvent(t)?this.onEndEventListener=this.eventListenerHelper.attachPassiveEventListener(document,"touchend",e):this.onEndEventListener=this.eventListenerHelper.attachEventListener(document,"mouseup",e)}this.userChangeStart.emit(this.getChangeContext()),Qae.isTouchEvent(t)&&!Xae.isNullOrUndefined(t.changedTouches)&&Xae.isNullOrUndefined(this.touchId)&&(this.touchId=t.changedTouches[0].identifier),r&&this.onMove(t,!0),s&&this.onEnd(t)}onMove(e,t){let n=null;if(Qae.isTouchEvent(e)){const t=e.changedTouches;for(let e=0;e<t.length;e++)if(t[e].identifier===this.touchId){n=t[e];break}if(Xae.isNullOrUndefined(n))return}
1this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0;const i=Xae.isNullOrUndefined(n)?this.getEventPosition(e):this.getEventPosition(e,n.identifier);let r;const s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil,o=this.viewOptions.rightToLeft?this.viewOptions.ceil:this.viewOptions.floor;i<=0?r=o:i>=this.maxHandlePosition?r=s:(r=this.positionToValue(i),r=t&&!Xae.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(r,this.viewOptions.tickStep):this.roundStep(r)),this.positionTrackingHandle(r)}forceEnd(e=!1){this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),e&&(this.sliderElementAnimateClass=!1,setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate})),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext())}onEnd(e){Qae.isTouchEvent(e)&&e.changedTouches[0].identifier!==this.touchId||this.forceEnd()}onPointerFocus(e){const t=this.getPointerElement(e);t.on("blur",()=>this.onPointerBlur(t)),t.on("keydown",e=>this.onKeyboardEvent(e)),t.on("keyup",()=>this.onKeyUp()),t.active=!0,this.currentTrackingPointer=e,this.currentFocusPointer=e,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(e){e.off("blur"),e.off("keydown"),e.off("keyup"),e.active=!1,Xae.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(e){const t=this.viewOptions.ceil-this.viewOptions.floor;let n=e+this.viewOptions.step,i=e-this.viewOptions.step,r=e+t/10,s=e-t/10;this.viewOptions.reversedControls&&(n=e-this.viewOptions.step,i=e+this.viewOptions.step,r=e-t/10,s=e+t/10);const o={UP:n,DOWN:i,LEFT:i,RIGHT:n,PAGEUP:r,PAGEDOWN:s,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(o.LEFT=n,o.RIGHT=i,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(o.UP=i,o.DOWN=n)),o}onKeyboardEvent(e){const t=this.getCurrentTrackingValue(),n=Xae.isNullOrUndefined(e.keyCode)?e.which:e.keyCode,i=this.getKeyActions(t)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[n]];if(Xae.isNullOrUndefined(i)||Xae.isNullOrUndefined(this.currentTrackingPointer))return;e.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const r=ele.clampToRange(i,this.viewOptions.floor,this.viewOptions.ceil),s=this.roundStep(r);if(this.viewOptions.draggableRangeOnly){const e=this.viewHighValue-this.viewLowValue;let t,n;this.currentTrackingPointer===Kae.Min?(t=s,n=s+e,n>this.viewOptions.ceil&&(n=this.viewOptions.ceil,t=n-e)):this.currentTrackingPointer===Kae.Max&&(n=s,t=s-e,t<this.viewOptions.floor&&(t=this.viewOptions.floor,n=t+e)),this.positionTrackingBar(t,n)}else this.positionTrackingHandle(s)}onDragStart(e,t,n,i){const r=this.getEventPosition(t);this.dragging=new lle,this.dragging.active=!0,this.dragging.value=this.positionToValue(r),this.dragging.difference=this.viewHighValue-this.viewLowValue,this.dragging.lowLimit=this.viewOptions.rightToLeft?this.minHandleElement.position-r:r-this.minHandleElement.position,this.dragging.highLimit=this.viewOptions.rightToLeft?r-this.maxHandleElement.position:this.maxHandleElement.position-r,this.onStart(e,t,n,i)}getMinValue(e,t,n){const i=this.viewOptions.rightToLeft;let r=null;return r=t?n?i?this.viewOptions.floor:this.viewOptions.ceil-this.dragging.difference:i?this.viewOptions.ceil-this.dragging.difference:this.viewOptions.floor:i?this.positionToValue(e+this.dragging.lowLimit):this.positionToValue(e-this.dragging.lowLimit),this.roundStep(r)}getMaxValue(e,t,n){const i=this.viewOptions.rightToLeft;let r=null;return r=t?n?i?this.viewOptions.floor+this.dragging.difference:this.viewOptions.ceil:i?this.viewOptions.ceil:this.viewOptions.floor+this.dragging.difference:i?this.positionToValue(e+this.dragging.lowLimit)+this.dragging.difference:this.positionToValue(e-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(r)}onDragMove(e){const t=this.getEventPosition(e);let n,i,r,s;
1this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0,this.viewOptions.rightToLeft?(n=this.dragging.lowLimit,i=this.dragging.highLimit,r=this.maxHandleElement,s=this.minHandleElement):(n=this.dragging.highLimit,i=this.dragging.lowLimit,r=this.minHandleElement,s=this.maxHandleElement);const o=t<=i,a=t>=this.maxHandlePosition-n;let l,c;if(o){if(0===r.position)return;l=this.getMinValue(t,!0,!1),c=this.getMaxValue(t,!0,!1)}else if(a){if(s.position===this.maxHandlePosition)return;c=this.getMaxValue(t,!0,!0),l=this.getMinValue(t,!0,!0)}else l=this.getMinValue(t,!1,!1),c=this.getMaxValue(t,!1,!1);this.positionTrackingBar(l,c)}positionTrackingBar(e,t){!Xae.isNullOrUndefined(this.viewOptions.minLimit)&&e<this.viewOptions.minLimit&&(e=this.viewOptions.minLimit,t=ele.roundToPrecisionLimit(e+this.dragging.difference,this.viewOptions.precisionLimit)),!Xae.isNullOrUndefined(this.viewOptions.maxLimit)&&t>this.viewOptions.maxLimit&&(t=this.viewOptions.maxLimit,e=ele.roundToPrecisionLimit(t-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=e,this.viewHighValue=t,this.applyViewChange(),this.updateHandles(Kae.Min,this.valueToPosition(e)),this.updateHandles(Kae.Max,this.valueToPosition(t))}positionTrackingHandle(e){e=this.applyMinMaxLimit(e),this.range&&(this.viewOptions.pushRange?e=this.applyPushRange(e):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===Kae.Min&&e>this.viewHighValue?e=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===Kae.Max&&e<this.viewLowValue&&(e=this.applyMinMaxRange(this.viewLowValue))),e=this.applyMinMaxRange(e),this.currentTrackingPointer===Kae.Min&&e>this.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(Kae.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=Kae.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===Kae.Max&&e<this.viewLowValue&&(this.viewHighValue=this.viewLowValue,this.applyViewChange(),this.updateHandles(Kae.Max,this.minHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=Kae.Min,this.maxHandleElement.active=!1,this.minHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.minHandleElement.focus()))),this.getCurrentTrackingValue()!==e&&(this.currentTrackingPointer===Kae.Min?(this.viewLowValue=e,this.applyViewChange()):this.currentTrackingPointer===Kae.Max&&(this.viewHighValue=e,this.applyViewChange()),this.updateHandles(this.currentTrackingPointer,this.valueToPosition(e)),this.updateAriaAttributes())}applyMinMaxLimit(e){return!Xae.isNullOrUndefined(this.viewOptions.minLimit)&&e<this.viewOptions.minLimit?this.viewOptions.minLimit:!Xae.isNullOrUndefined(this.viewOptions.maxLimit)&&e>this.viewOptions.maxLimit?this.viewOptions.maxLimit:e}applyMinMaxRange(e){const t=this.currentTrackingPointer===Kae.Min?this.viewHighValue:this.viewLowValue,n=Math.abs(e-t);if(!Xae.isNullOrUndefined(this.viewOptions.minRange)&&n<this.viewOptions.minRange){if(this.currentTrackingPointer===Kae.Min)return ele.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.minRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===Kae.Max)return ele.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.minRange,this.viewOptions.precisionLimit)}if(!Xae.isNullOrUndefined(this.viewOptions.maxRange)&&n>this.viewOptions.maxRange){if(this.currentTrackingPointer===Kae.Min)return ele.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===Kae.Max)return ele.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return e}applyPushRange(e){const t=this.currentTrackingPointer===Kae.Min?this.viewHighValue-e:e-this.viewLowValue,n=Xae.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,i=this.viewOptions.maxRange;return t<n?(this.currentTrackingPointer===Kae.Min?(this.viewHighValue=ele.roundToPrecisionLimit(Math.min(e+n,this.viewOptions.ceil),this.viewOptions.precisionLimit),e=ele.roundToPrecisionLimit(this.viewHighValue-n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(Kae.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===Kae.Max&&(this.viewLowValue=ele.roundToPrecisionLimit(Math.max(e-n,this.viewOptions.floor),this.viewOptions.precisionLimit),e=ele.roundToPrecisionLimit(this.viewLowValue+n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(Kae.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()):!Xae.isNullOrUndefined(i)&&t>i&&(this.currentTrackingPointer===Kae.Min?(this.viewHighValue=ele.roundToPrecisionLimit(e+i,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(Kae.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===Kae.Max&&(this.viewLowValue=ele.roundToPrecisionLimit(e-i,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(Kae.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),e}getChangeContext(){const e=new Jae;return e.pointerType=this.currentTrackingPointer,e.value=+this.value,this.range&&(e.highValue=+this.highValue),e}
1static"ɵfac"=MY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:hle,deps:[],target:hG.Component});static"ɵcmp"=DY({minVersion:"17.0.0",version:"20.0.4",type:hle,isStandalone:!1,selector:"ngx-slider",inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus",cancelUserChange:"cancelUserChange"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},host:{listeners:{"window:resize":"onResize($event)"},properties:{"class.ngx-slider":"this.sliderElementNgxSliderClass","class.vertical":"this.sliderElementVerticalClass","class.animate":"this.sliderElementAnimateClass","class.with-legend":"this.sliderElementWithLegendClass","attr.disabled":"this.sliderElementDisabledAttr","attr.aria-label":"this.sliderElementAriaLabel"}},providers:[dle],queries:[{propertyName:"tooltipTemplate",first:!0,predicate:["tooltipTemplate"],descendants:!0}],viewQueries:[{propertyName:"leftOuterSelectionBarElement",first:!0,predicate:["leftOuterSelectionBar"],descendants:!0,read:ile},{propertyName:"rightOuterSelectionBarElement",first:!0,predicate:["rightOuterSelectionBar"],descendants:!0,read:ile},{propertyName:"fullBarElement",first:!0,predicate:["fullBar"],descendants:!0,read:ile},{propertyName:"selectionBarElement",first:!0,predicate:["selectionBar"],descendants:!0,read:ile},{propertyName:"minHandleElement",first:!0,predicate:["minHandle"],descendants:!0,read:rle},{propertyName:"maxHandleElement",first:!0,predicate:["maxHandle"],descendants:!0,read:rle},{propertyName:"floorLabelElement",first:!0,predicate:["floorLabel"],descendants:!0,read:sle},{propertyName:"ceilLabelElement",first:!0,predicate:["ceilLabel"],descendants:!0,read:sle},{propertyName:"minHandleLabelElement",first:!0,predicate:["minHandleLabel"],descendants:!0,read:sle},{propertyName:"maxHandleLabelElement",first:!0,predicate:["maxHandleLabel"],descendants:!0,read:sle},{propertyName:"combinedLabelElement",first:!0,predicate:["combinedLabel"],descendants:!0,read:sle},{propertyName:"ticksElement",first:!0,predicate:["ticksElement"],descendants:!0,read:ile}],usesOnChanges:!0,ngImport:e,template:'\x3c!-- // 0 Left selection bar outside two handles --\x3e\n<span ngxSliderElement #leftOuterSelectionBar class="ngx-slider-span ngx-slider-bar-wrapper ngx-slider-left-out-selection">\n  <span class="ngx-slider-span ngx-slider-bar"></span>\n</span>\n\x3c!-- // 1 Right selection bar outside two handles --\x3e\n<span ngxSliderElement #rightOuterSelectionBar class="ngx-slider-span ngx-slider-bar-wrapper ngx-slider-right-out-selection">\n  <span class="ngx-slider-span ngx-slider-bar"></span>\n</span>\n\x3c!-- // 2 The whole slider bar --\x3e\n<span ngxSliderElement #fullBar [class.ngx-slider-transparent]="fullBarTransparentClass" class="ngx-slider-span ngx-slider-bar-wrapper ngx-slider-full-bar">\n  <span class="ngx-slider-span ngx-slider-bar"></span>\n</span>\n\x3c!-- // 3 Selection bar between two handles --\x3e\n<span ngxSliderElement #selectionBar [class.ngx-slider-draggable]="selectionBarDraggableClass" class="ngx-slider-span ngx-slider-bar-wrapper ngx-slider-selection-bar">\n  <span class="ngx-slider-span ngx-slider-bar ngx-slider-selection" [ngStyle]="barStyle"></span>\n</span>\n\x3c!-- // 4 Low slider handle --\x3e\n<span ngxSliderHandle #minHandle class="ngx-slider-span ngx-slider-pointer ngx-slider-pointer-min" [ngStyle]=minPointerStyle></span>\n\x3c!-- // 5 High slider handle --\x3e\n<span ngxSliderHandle #maxHandle [style.display]="range ? \'inherit\' : \'none\'" class="ngx-slider-span ngx-slider-pointer ngx-slider-pointer-max" [ngStyle]=maxPointerStyle></span>\n\x3c!-- // 6 Floor label --\x3e\n<span ngxSliderLabel #floorLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-floor"></span>\n\x3c!-- // 7 Ceiling label --\x3e\n<span ngxSliderLabel #ceilLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-ceil"></span>\n\x3c!-- // 8 Label above the low slider handle --\x3e\n<span ngxSliderLabel #minHandleLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-model-value"></span>\n\x3c!-- // 9 Label above the high slider handle --\x3e\n<span ngxSliderLabel #maxHandleLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-model-high"></span>\n\x3c!-- // 10 Combined range label when the slider handles are close ex. 15 - 17 --\x3e\n<span ngxSliderLabel #combinedLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-combined"></span>\n\x3c!-- // 11 The ticks --\x3e\n<span ngxSliderElement #ticksElement [hidden]="!showTicks" [class.ngx-slider-ticks-values-under]="ticksUnderValuesClass" class="ngx-slider-ticks">\n  @for (t of ticks; track t) {\n    <span class="ngx-slider-tick" [ngClass]="{\'ngx-slider-selected\': t.selected}" [ngStyle]="t.style">
1\n      <ngx-slider-tooltip-wrapper [template]="tooltipTemplate" [tooltip]="t.tooltip" [placement]="t.tooltipPlacement"></ngx-slider-tooltip-wrapper>\n      @if (t.value !== null && t.value !== undefined) {\n        <ngx-slider-tooltip-wrapper class="ngx-slider-span ngx-slider-tick-value"\n        [template]="tooltipTemplate" [tooltip]="t.valueTooltip" [placement]="t.valueTooltipPlacement" [content]="t.value"></ngx-slider-tooltip-wrapper>\n      }\n      @if (t.legend !== null && t.legend !== undefined && allowUnsafeHtmlInSlider === false) {\n        <span class="ngx-slider-span ngx-slider-tick-legend" [innerText]="t.legend"></span>\n      }\n      @if (t.legend !== null && t.legend !== undefined && (allowUnsafeHtmlInSlider === null || allowUnsafeHtmlInSlider === undefined || allowUnsafeHtmlInSlider)) {\n        <span class="ngx-slider-span ngx-slider-tick-legend" [innerHTML]="t.legend"></span>\n      }\n    </span>\n  }\n</span>',styles:['::ng-deep .ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y}::ng-deep .ngx-slider.with-legend{margin-bottom:40px}::ng-deep .ngx-slider[disabled]{cursor:not-allowed}::ng-deep .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3}::ng-deep .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed}::ng-deep .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2}::ng-deep .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed}::ng-deep .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2}::ng-deep .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block}::ng-deep .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0}::ng-deep .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1}::ng-deep .ngx-slider .ngx-slider-draggable{cursor:move}::ng-deep .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}::ng-deep .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent}::ng-deep .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d}::ng-deep .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688}::ng-deep .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}::ng-deep .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}::ng-deep .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff}::ng-deep .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff}::ng-deep .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4}::ng-deep .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff}
1::ng-deep .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px}::ng-deep .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d}::ng-deep .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none}::ng-deep .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px}::ng-deep .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px}::ng-deep .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0}::ng-deep .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)}::ng-deep .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal}::ng-deep .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x}::ng-deep .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0}::ng-deep .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px}::ng-deep .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%}::ng-deep .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0}::ng-deep .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0}::ng-deep .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1}::ng-deep .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px}::ng-deep .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)}::ng-deep .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap}::ng-deep .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px}::ng-deep .ngx-slider *{transition:none}::ng-deep .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}\n'],dependencies:[{kind:"directive",type:GJ,selector:"[ngClass]",inputs:["class","ngClass"]},{kind:"directive",type:cX,selector:"[ngStyle]",inputs:["ngStyle"]},{kind:"directive",type:ile,selector:"[ngxSliderElement]"},{kind:"directive",type:rle,selector:"[ngxSliderHandle]"},{kind:"directive",type:sle,selector:"[ngxSliderLabel]"},{kind:"component",type:ole,selector:"ngx-slider-tooltip-wrapper",inputs:["template","tooltip","placement","content"]}],changeDetection:PC.Default})}IY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:hle,decorators:[{type:tq,args:[{selector:"ngx-slider",providers:[dle],changeDetection:PC.Default,standalone:!1,template:'\x3c!-- // 0 Left selection bar outside two handles --\x3e\n<span ngxSliderElement #leftOuterSelectionBar class="ngx-slider-span ngx-slider-bar-wrapper ngx-slider-left-out-selection">\n  <span class="ngx-slider-span ngx-slider-bar"></span>\n</span>\n\x3c!-- // 1 Right selection bar outside two handles --\x3e\n<span ngxSliderElement #rightOuterSelectionBar class="ngx-slider-span ngx-slider-bar-wrapper ngx-slider-right-out-selection">\n  <span class="ngx-slider-span ngx-slider-bar"></span>\n</span>\n\x3c!-- // 2 The whole slider bar --\x3e\n<span ngxSliderElement #fullBar [class.ngx-slider-transparent]="fullBarTransparentClass" class="ngx-slider-span ngx-slider-bar-wrapper ngx-slider-full-bar">\n  <span class="ngx-slider-span ngx-slider-bar"></span>\n</span>\n\x3c!-- // 3 Selection bar between two handles --\x3e\n<span ngxSliderElement #selectionBar [class.ngx-slider-draggable]="selectionBarDraggableClass" class="ngx-slider-span ngx-slider-bar-wrapper ngx-slider-selection-bar">\n  <span class="ngx-slider-span ngx-slider-bar ngx-slider-selection" [ngStyle]="barStyle"></span>\n</span>\n\x3c!-- // 4 Low slider handle --\x3e\n<span ngxSliderHandle #minHandle class="ngx-slider-span ngx-slider-pointer ngx-slider-pointer-min" [ngStyle]=minPointerStyle></span>\n\x3c!-- // 5 High slider handle --\x3e\n<span ngxSliderHandle #maxHandle [style.display]="range ? \'
1inherit\' : \'none\'" class="ngx-slider-span ngx-slider-pointer ngx-slider-pointer-max" [ngStyle]=maxPointerStyle></span>\n\x3c!-- // 6 Floor label --\x3e\n<span ngxSliderLabel #floorLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-floor"></span>\n\x3c!-- // 7 Ceiling label --\x3e\n<span ngxSliderLabel #ceilLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-ceil"></span>\n\x3c!-- // 8 Label above the low slider handle --\x3e\n<span ngxSliderLabel #minHandleLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-model-value"></span>\n\x3c!-- // 9 Label above the high slider handle --\x3e\n<span ngxSliderLabel #maxHandleLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-model-high"></span>\n\x3c!-- // 10 Combined range label when the slider handles are close ex. 15 - 17 --\x3e\n<span ngxSliderLabel #combinedLabel class="ngx-slider-span ngx-slider-bubble ngx-slider-combined"></span>\n\x3c!-- // 11 The ticks --\x3e\n<span ngxSliderElement #ticksElement [hidden]="!showTicks" [class.ngx-slider-ticks-values-under]="ticksUnderValuesClass" class="ngx-slider-ticks">\n  @for (t of ticks; track t) {\n    <span class="ngx-slider-tick" [ngClass]="{\'ngx-slider-selected\': t.selected}" [ngStyle]="t.style">
1\n      <ngx-slider-tooltip-wrapper [template]="tooltipTemplate" [tooltip]="t.tooltip" [placement]="t.tooltipPlacement"></ngx-slider-tooltip-wrapper>\n      @if (t.value !== null && t.value !== undefined) {\n        <ngx-slider-tooltip-wrapper class="ngx-slider-span ngx-slider-tick-value"\n        [template]="tooltipTemplate" [tooltip]="t.valueTooltip" [placement]="t.valueTooltipPlacement" [content]="t.value"></ngx-slider-tooltip-wrapper>\n      }\n      @if (t.legend !== null && t.legend !== undefined && allowUnsafeHtmlInSlider === false) {\n        <span class="ngx-slider-span ngx-slider-tick-legend" [innerText]="t.legend"></span>\n      }\n      @if (t.legend !== null && t.legend !== undefined && (allowUnsafeHtmlInSlider === null || allowUnsafeHtmlInSlider === undefined || allowUnsafeHtmlInSlider)) {\n        <span class="ngx-slider-span ngx-slider-tick-legend" [innerHTML]="t.legend"></span>\n      }\n    </span>\n  }\n</span>',styles:['::ng-deep .ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y}::ng-deep .ngx-slider.with-legend{margin-bottom:40px}::ng-deep .ngx-slider[disabled]{cursor:not-allowed}::ng-deep .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3}::ng-deep .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed}::ng-deep .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2}::ng-deep .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed}::ng-deep .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2}::ng-deep .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block}::ng-deep .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0}::ng-deep .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1}::ng-deep .ngx-slider .ngx-slider-draggable{cursor:move}::ng-deep .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}::ng-deep .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent}::ng-deep .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d}::ng-deep .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688}::ng-deep .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}::ng-deep .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}::ng-deep .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff}::ng-deep .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff}::ng-deep .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4}::ng-deep .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff}
1::ng-deep .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px}::ng-deep .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d}::ng-deep .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none}::ng-deep .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px}::ng-deep .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px}::ng-deep .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0}::ng-deep .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)}::ng-deep .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal}::ng-deep .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x}::ng-deep .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0}::ng-deep .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px}::ng-deep .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%}::ng-deep .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0}::ng-deep .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0}::ng-deep .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1}::ng-deep .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px}::ng-deep .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)}::ng-deep .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap}::ng-deep .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px}::ng-deep .ngx-slider *{transition:none}::ng-deep .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s}::ng-deep .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}\n']}]}],ctorParameters:()=>[],propDecorators:{sliderElementNgxSliderClass:[{type:sq,args:["class.ngx-slider"]}],value:[{type:iq}],valueChange:[{type:rq}],highValue:[{type:iq}],highValueChange:[{type:rq}],options:[{type:iq}],userChangeStart:[{type:rq}],userChange:[{type:rq}],userChangeEnd:[{type:rq}],manualRefresh:[{type:iq}],triggerFocus:[{type:iq}],cancelUserChange:[{type:iq}],leftOuterSelectionBarElement:[{type:NG,args:["leftOuterSelectionBar",{read:ile,static:!1}]}],rightOuterSelectionBarElement:[{type:NG,args:["rightOuterSelectionBar",{read:ile,static:!1}]}],fullBarElement:[{type:NG,args:["fullBar",{read:ile,static:!1}]}],selectionBarElement:[{type:NG,args:["selectionBar",{read:ile,static:!1}]}],minHandleElement:[{type:NG,args:["minHandle",{read:rle,static:!1}]}],maxHandleElement:[{type:NG,args:["maxHandle",{read:rle,static:!1}]}],floorLabelElement:[{type:NG,args:["floorLabel",{read:sle,static:!1}]}],ceilLabelElement:[{type:NG,args:["ceilLabel",{read:sle,static:!1}]}],minHandleLabelElement:[{type:NG,args:["minHandleLabel",{read:sle,static:!1}]}],maxHandleLabelElement:[{type:NG,args:["maxHandleLabel",{read:sle,static:!1}]}],combinedLabelElement:[{type:NG,args:["combinedLabel",{read:sle,static:!1}]}],ticksElement:[{type:NG,args:["ticksElement",{read:ile,static:!1}]}],tooltipTemplate:[{type:PG,args:["tooltipTemplate",{static:!1}]}],sliderElementVerticalClass:[{type:sq,args:["class.vertical"]}],sliderElementAnimateClass:[{type:sq,args:["class.animate"]}],sliderElementWithLegendClass:[{type:sq,args:["class.with-legend"]}],sliderElementDisabledAttr:[{type:sq,args:["attr.disabled"]}],sliderElementAriaLabel:[{type:sq,args:["attr.aria-label"]}],onResize:[{type:oq,args:["window:resize",["$event"]]}]}});
1class ple{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:ple,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.0.4",ngImport:e,type:ple,declarations:[hle,ile,rle,sle,ole],imports:[RX],exports:[hle]});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:ple,imports:[RX]})}IY({minVersion:"12.0.0",version:"20.0.4",ngImport:e,type:ple,decorators:[{type:aq,args:[{imports:[RX],declarations:[hle,ile,rle,sle,ole],exports:[hle]}]}]});var fle=["slider"];function mle(e,t){1&e&&o$(0,"span",7),2&e&&n$("translate","INPUT_NOT_REQUIRED")}function gle(e,t){if(1&e&&(r$(0,"div",9),o$(1,"span",7),s$()),2&e){var n=qj();n$("id",n.id+"-unit"),$A(),n$("translate",n.units)}}function vle(e,t){if(1&e&&(r$(0,"rwm-validation-container")(1,"p",11),h$(2),o$(3,"span",12)(4,"span",13),p$(),s$()()),2&e){var n=qj();$A(),n$("id","validation-box-slider-input-"+n.id),$A(3),n$("innerText",n.errorText)}}function yle(e,t){if(1&e){var n=w$();r$(0,"div",10)(1,"ngx-slider",14,0),uz("valueChange",function(e){a_(n);var t=qj();return cz(t.sliderValue,e)||(t.sliderValue=e),l_(e)}),jj("userChangeEnd",function(e){return a_(n),l_(qj().sliderChange(e.value))})("userChange",function(e){return a_(n),l_(qj().valueChangeEvent(e.value))}),s$()()}if(2&e){var i=qj();n$("ngClass",0==i.earlyBreakpoint?"no-early-break":null),$A(),lz("value",i.sliderValue),n$("options",i.sliderOptions)}}var ble=function(){function e(e,t,n){var i=this;this.df=e,this.translate=t,this.decimalPipe=n,this.id=E5.A.uidGenerator(),this.type="text",this.required=!1,this.decimalPlaces=1,this.disabled=!1,this.earlyBreakpoint=!1,this.hasError=!1,this.valueChange=new rD,this.gotValueChange=new rD,this.floatLabel=!1,this.onChange=function(){},this.onTouched=function(){},this.checkFloatingLabel=function(e){"focus"===e.type||""!==e.target.value?i.floatLabel=!0:i.floatLabel=!1,i.df.detectChanges()},this.floatingStyles=function(e,t){return e||t?"float-label":""}}return e.prototype.ngOnChanges=function(){var e=this,t=this.value?this.value:this.min;this.writeValue(t),this.translate.get(this.units).pipe(FQ(function(t){return t!==e.units})).subscribe(function(t){e.sliderOptions={floor:e.min,ceil:e.max,step:e.step,showSelectionBar:!0,ariaLabel:e.label,translate:function(n,i){switch(i){case Uae.Low:case Uae.High:return e.toNumber(n,e.decimalPlaces)+" "+t;case Uae.Floor:return e.showMin?e.toNumber(n,e.decimalPlaces)+" "+t:"";case Uae.Ceil:return e.showMin?e.toNumber(n,e.decimalPlaces)+" "+t:e.translate.instant("MAX")+" "+e.toNumber(n,e.decimalPlaces)+" "+t;default:return n+" "+t}}},e.df.detectChanges()})},e.prototype.inputChange=function(e){this.hasLetter(e)&&(this.sliderValue=this.min),e=e.replace(/[^0-9,.]+/g,""),e=this.stringToNumber(e),(e=this.minMaxCheck(e))&&(this.sliderValue=e,this.valueChange.emit(this.sliderValue),this.onChange(e),this.df.detectChanges())},e.prototype.sliderChange=function(e){this.writeValue(e),this.valueChange.emit(e),this.onChange(e),this.df.detectChanges()},e.prototype.valueChangeEvent=function(e){e!==this.value&&(this.inputValue=this.toNumber(e,this.decimalPlaces))},e.prototype.writeValue=function(e){e&&(this.inputValue=this.toNumber(e,this.decimalPlaces),this.gotValueChange.emit(e),this.sliderValue=e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.slideValue=function(e){var t=this.stringToNumber(this.inputValue);switch(e){case"up":t<this.max&&this.writeValue(t+this.step);break;case"down":t>this.min&&this.writeValue(t-this.step)}},e.prototype.minMaxCheck=function(e){return e>this.max?(this.sliderValue=this.max,this.sliderChange(this.max),!1):e<this.min?(this.sliderValue=this.min,this.sliderChange(this.min),!1):e},e.prototype.stringToNumber=function(e){return parseFloat(e.replace(/\./g,"").replace(/,/g,"."))},e.prototype.toNumber=function(e,t){return this.decimalPipe.transform(e,"1."+t,"de")},e.prototype.hasLetter=function(e){return e.match(/[^0-9,.]+/g)},e.prototype.ngOnDestroy=function(){},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Q0),qP(AX))},e.ɵcmp=DN({type:e,selectors:[["rwm-input-slider"]],viewQuery:function(e,t){var n;(1&e&&Kj(fle,5),2&e)&&(Jj(n=Xj())&&(t.slider=n.first))},inputs:{id:"id",name:"name",type:"type",label:"label",shortLabel:"shortLabel",step:"step",min:"min",max:"max",required:"required",units:"units",showMin:"showMin",decimalPlaces:"decimalPlaces",value:"value",disabled:"disabled",earlyBreakpoint:"earlyBreakpoint",hasError:"hasError",errorText:"errorText"},outputs:{valueChange:"valueChange",gotValueChange:"gotValueChange"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}]),ok],decls:14,vars:23,consts:[["slider",""],[1,"row",3,"ngClass"],[1,"col-12",3,"ngClass"],[1,"form-group"],[1,"form-group-inner"],[3,"for"],[1,"label"],[3,"translate"],["autocomplete","off",1,"form-control",3,"ngModelChange","blur","focus","keydown.arrowDown","keydown.arrowUp","keydown.enter","id","name","type","ngModel","required"],[1,"input-control-unit",3,"id"],[1,"slider-control-slider",3,"ngClass"],[3,"id"],["aria-hidden","true",1,"icon-attention_alert"],[1,"error-text",3,"innerText"],[3,"valueChange","userChangeEnd","userChange","value","o
1ptions"]],template:function(e,t){1&e&&(r$(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"label",5)(5,"span",6),VH(6),nU(7,"translate"),HV(8,mle,1,1,"span",7),s$()(),r$(9,"input",8),uz("ngModelChange",function(e){return cz(t.inputValue,e)||(t.inputValue=e),e}),jj("blur",function(e){return t.inputChange(e.target.value),t.checkFloatingLabel(e),t.onTouched()})("focus",function(e){return t.checkFloatingLabel(e)})("keydown.arrowDown",function(){return t.slideValue("down")})("keydown.arrowUp",function(){return t.slideValue("up")})("keydown.enter",function(e){return t.inputChange(e.target.value),t.checkFloatingLabel(e),t.onTouched()}),s$(),HV(10,gle,2,2,"div",9),s$(),HV(11,vle,5,2,"rwm-validation-container"),s$()(),r$(12,"div",2),HV(13,yle,3,3,"div",10),s$()()),2&e&&(n$("ngClass",t.hasError?"error":null),$A(),n$("ngClass",t.earlyBreakpoint?"col-lg-5":"col-md-5"),$A(3),SH(t.floatingStyles(t.inputValue,t.floatLabel)),n$("for",t.id),$A(2),XH("",iU(7,21,t.label)," "),$A(2),UV(t.required?-1:8),$A(),n$("id",gz(t.id))("name",gz(t.name))("type",gz(t.type)),lz("ngModel",t.inputValue),n$("required",t.required),sV("aria-describedby",t.units?"validation-box-slider-input-"+t.id+" "+t.id+"-unit":"validation-box-slider-input-"+t.id)("aria-invalid",t.hasError),$A(),UV(t.units?10:-1),$A(),UV(t.hasError?11:-1),$A(),n$("ngClass",t.earlyBreakpoint?"col-lg-7":"col-md-7"),$A(),UV(t.sliderOptions?13:-1))},dependencies:[GJ,F2,x3,s5,_4,hle,e2,t2],encapsulation:2}),e}(),wle=o(1215);function _le(e,t){if(1&e){var n=w$();r$(0,"a",3),jj("click",function(e){return a_(n),l_(qj(2).openOverlay(e))}),s$()}if(2&e){var i=qj(2);SH(i.btnStyle),n$("id",i.labelledBy?"overlay-cta-"+i.uuid:null)("href",i.url,ZI)("translate",i.label),sV("data-form-prefill-values",i.resultsSummary)("data-prefill-type",i.prefillType)("data-new-tab",i.newTab)("aria-labelledby",i.labelledBy?"headline-"+i.labelledBy+" overlay-cta-"+i.uuid:null)}}function xle(e,t){1&e&&HV(0,_le,1,9,"a",2),2&e&&UV(qj().loading?-1:0)}function kle(e,t){if(1&e&&o$(0,"a",4),2&e){var n=qj();SH(n.btnStyle),n$("id",n.labelledBy?"overlay-cta-"+n.uuid:null)("href",n.url,ZI)("target",n.target)("translate",n.label),sV("aria-labelledby",n.labelledBy?"headline-"+n.labelledBy+" overlay-cta-"+n.uuid:null)}}function Cle(e,t){if(1&e&&(o$(0,"span",5),nU(1,"translate")),2&e){var n=qj();SH(n.btnStyle),n$("translate",n.label),sV("aria-label",iU(1,4,"LOADING"))}}var Sle=function(){function e(e){this.df=e,this.target="formOverlay",this.btnStyle="btn-primary",this.loading=!1,this.newTab=!1,this.action=window.registeredActions["form-overlay"],this.uuid=E5.A.uidGenerator()}return e.prototype.openOverlay=function(e){e.preventDefault(),wle.Z.handleAction(e.currentTarget,e,this.action)},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["rwm-overlay-cta"]],inputs:{url:"url",prefillType:"prefillType",label:"label",target:"target",resultsSummary:"resultsSummary",inConditionalStatement:"inConditionalStatement",btnStyle:"btnStyle",loading:"loading",newTab:"newTab",labelledBy:"labelledBy"},standalone:!1,decls:3,vars:3,consts:[[1,"btn",3,"id","class","href","target","translate"],["aria-hidden","true",1,"btn",3,"class","translate"],["aria-haspopup","dialog",1,"btn",3,"id","class","href","translate"],["aria-haspopup","dialog",1,"btn",3,"click","id","href","translate"],[1,"btn",3,"id","href","target","translate"],["aria-hidden","true",1,"btn",3,"translate"]],template:function(e,t){1&e&&(HV(0,xle,1,1),HV(1,kle,1,7,"a",0),HV(2,Cle,2,6,"span",1)),2&e&&(UV("formOverlay"!==t.target||t.loading?-1:0),$A(),UV("formOverlay"===t.target||t.loading?-1:1),$A(),UV(t.loading?2:-1))},dependencies:[e2,t2],encapsulation:2}),e}();function Tle(e,t){1&e&&o$(0,"span",2),2&e&&n$("ngClass",qj(2).iconClass)}function Ele(e,t){if(1&e){var n=w$();r$(0,"a",1),jj("click",function(e){a_(n);var t=qj();return l_(t.openFancybox(e,t.closeLabel))}),HV(1,Tle,1,1,"span",2),VH(2),s$()}if(2&e){var i=qj();n$("ngClass",i.classes),$A(),UV(i.iconClass?1:-1),$A(),XH(" ",i.label," ")}}function Ile(e,t){1&e&&o$(0,"span",2),2&e&&n$("ngClass",qj(3).iconClass)}function Ale(e,t){if(1&e){var n=w$();r$(0,"a",5),jj("click",function(e){return a_(n),l_(qj(2).openOverlay(e))}),HV(1,Ile,1,1,"span",2),VH(2),s$()}if(2&e){var i=qj(2);n$("rel",gz("_blank"===i.target?"noopener noreferrer":""))("ngClass",i.classes)("href",i.href,ZI),sV("data-form-prefill-values",i.resultsSummary)("data-prefill-type",i.prefillType),$A(),UV(i.iconClass?1:-1),$A(),XH(" ",i.label," ")}}function Dle(e,t){1&e&&o$(0,"span",2),2&e&&n$("ngClass",qj(3).iconClass)}function Mle(e,t){if(1&e&&(r$(0,"span",4),nU(1,"translate"),HV(2,Dle,1,1,"span",2),VH(3),s$()),2&e){var n=qj(2);n$("ngClass",n.classes)("translate",n.label),sV("aria-label",iU(1,5,"LOADING")),$A(2),UV(n.iconClass?2:-1),$A(),XH(" ",n.label," ")}}function Ole(e,t){if(1&e&&(HV(0,Ale,3,8,"a",3),HV(1,Mle,4,7,"span",4)),2&e){var n=qj();UV(n.loading?-1:0),$A(),UV(n.loading?1:-1)}}var Ple=function(){function e(e){this.translate=e,this.target=null,this.classes="text-link",this.closeLabel=null,this.prefillType=null,this.resultsSummary=null,this.iconClass=null,this.loading=!1,this.action=window.registeredActions["form-overlay"]}return e.prototype.openOverlay=function(e){e.preventDefault(),wle.Z.handleAction(e.currentTarget,e,this.action)},e.prototype.openFancybox=function(e,t){t=t||this.translate.instant("CLOSE");
1var n={type:"ajax",src:this.href,btnTpl:{smallBtn:'<div class="fancybox-pension-calculator-info">\n                        <button data-fancybox-close class="fancybox-button fancybox-button--close btn btn-primary" title="'.concat(t,'">').concat(t,"</button>\n                       </div>")}};E5.A.openFancybox(e.currentTarget,n,"article")},e.ɵfac=function(t){return new(t||e)(qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["rwm-overlay-link"]],inputs:{href:"href",label:"label",target:"target",classes:"classes",closeLabel:"closeLabel",prefillType:"prefillType",resultsSummary:"resultsSummary",inConditionalStatement:"inConditionalStatement",iconClass:"iconClass",loading:"loading"},standalone:!1,decls:2,vars:2,consts:[["href","javascript:void(0);","aria-haspopup","dialog",3,"ngClass"],["href","javascript:void(0);","aria-haspopup","dialog",3,"click","ngClass"],["aria-hidden","true",3,"ngClass"],["aria-haspopup","dialog",3,"ngClass","href","rel"],["aria-hidden","true",3,"ngClass","translate"],["aria-haspopup","dialog",3,"click","ngClass","href","rel"]],template:function(e,t){1&e&&(HV(0,Ele,3,3,"a",0),HV(1,Ole,2,2)),2&e&&(UV(t.prefillType?-1:0),$A(),UV(t.prefillType?1:-1))},dependencies:[GJ,e2,t2],encapsulation:2}),e}(),Lle=function(e){return{skeleton:e}},Nle=function(e){return{invisible:e}},Rle=function(){return[1,2,3,4,5]};function Ble(e,t){if(1&e&&o$(0,"span",5),2&e){var n=qj(2);n$("ngClass",jz(2,Nle,n.showSkeleton))("translate","PVR_RESULT_HEADLINE_POSITIVE")}}function Fle(e,t){if(1&e&&o$(0,"span",5),2&e){var n=qj(2);n$("ngClass",jz(2,Nle,n.showSkeleton))("translate","PVR_RESULT_HEADLINE_TODO")}}function Vle(e,t){if(1&e&&o$(0,"span",5),2&e){var n=qj(2);n$("ngClass",jz(2,Nle,n.showSkeleton))("translate","PVR_RESULT_HEADLINE_GRATIULATION")}}function $le(e,t){1&e&&(r$(0,"p"),o$(1,"strong",14),s$()),2&e&&($A(),n$("translate","PVR_PROVISION_EXCESS"))}function jle(e,t){1&e&&(r$(0,"p"),o$(1,"strong",14),s$()),2&e&&($A(),n$("translate","PVR_PENSION_GAP"))}function Hle(e,t){1&e&&o$(0,"span",14),2&e&&n$("translate","PVR_EXTRAPOLATED_COST_OF_LIVING")}function zle(e,t){1&e&&o$(0,"span",14),2&e&&n$("translate","PVR_EXTRAPOLATED_NET_INCOME")}function Ule(e,t){1&e&&(r$(0,"p"),o$(1,"span",14),s$()),2&e&&($A(),n$("translate","PVR_RESULT_CONTENT_POSITIVE"))}function qle(e,t){1&e&&(r$(0,"p"),o$(1,"span",14),s$()),2&e&&($A(),n$("translate","PVR_RESULT_CONTENT_CONGRATULATION"))}function Wle(e,t){1&e&&(r$(0,"p"),o$(1,"span",14),s$()),2&e&&($A(),n$("translate","PVR_RESULT_CONTENT_TODO"))}function Gle(e,t){if(1&e&&(r$(0,"div",0)(1,"div",2)(2,"div",3)(3,"h2",4),HV(4,Ble,1,4,"span",5),HV(5,Fle,1,4,"span",5),HV(6,Vle,1,4,"span",5),s$()()(),r$(7,"div",6)(8,"div",3)(9,"div",7)(10,"div",8)(11,"div")(12,"div",9)(13,"div",10)(14,"div"),HV(15,$le,2,1,"p"),HV(16,jle,2,1,"p"),r$(17,"p",11),VH(18),nU(19,"formatNumber"),s$()()()()()(),r$(20,"div",12)(21,"div")(22,"p",13)(23,"span"),o$(24,"strong",14),s$()(),r$(25,"p",15),HV(26,Hle,1,1,"span",14),HV(27,zle,1,1,"span",14),s$(),r$(28,"p",11)(29,"span"),VH(30),nU(31,"formatNumber"),s$()(),r$(32,"p",15),o$(33,"span",14),s$(),r$(34,"p",11)(35,"span"),VH(36),nU(37,"formatNumber"),s$()()()()(),r$(38,"div",16),HV(39,Ule,2,1,"p"),HV(40,qle,2,1,"p"),HV(41,Wle,2,1,"p"),s$()()()()),2&e){var n=qj();$A(3),n$("ngClass",jz(26,Lle,n.showSkeleton)),$A(),UV(n.diff>=100?4:-1),$A(),UV(n.diff<=-100?5:-1),$A(),UV(n.diff<100&&n.diff>-100?6:-1),$A(6),n$("ngClass",n.calcFractionSize()),$A(3),UV(n.diff>=1?15:-1),$A(),UV(n.diff<=0?16:-1),$A(2),JH(rU(19,17,n.diff,"EUR")),$A(6),n$("translate","PVR_EXTRAPOLATED_HEADLINE"),$A(2),UV(n.showCostOfLiving?26:-1),$A(),UV(n.showCostOfLiving?-1:27),$A(3),JH(rU(31,20,n.result.lastNetIncome,"EUR")),$A(3),n$("translate","PVR_EXTRAPOLATED_PENSION"),$A(3),JH(rU(37,23,n.result.netRetirement,"EUR")),$A(3),UV(n.diff>=100?39:-1),$A(),UV(n.diff<=-100?40:-1),$A(),UV(n.diff<100&&n.diff>-100?41:-1)}}function Zle(e,t){1&e&&(r$(0,"p",13)(1,"span",21)(2,"strong"),VH(3,"Loading"),s$()()())}function Yle(e,t){1&e&&(r$(0,"div",1)(1,"div",2)(2,"div",3)(3,"h2",17),o$(4,"span"),s$()()(),r$(5,"div",6)(6,"div",3)(7,"div",7)(8,"div",8)(9,"div",17)(10,"div",18)(11,"div",10)(12,"div")(13,"p")(14,"strong"),VH(15,"Loading"),s$()(),r$(16,"p",11),VH(17,"Loading"),s$()()()()()(),r$(18,"div",19)(19,"div"),YV(20,Zle,4,0,"p",13,GV),s$()()(),r$(22,"div",20)(23,"p")(24,"span",21)(25,"strong"),VH(26,"Loading"),s$()()()()()()()),2&e&&($A(20),XV($z(0,Rle)))}var Kle=function(){function e(){}return e.prototype.ngOnChanges=function(){this.result&&(this.diff=-1*this.result.netGap)},e.prototype.calcFractionSize=function(){if(this.result){var e=void 0,t=this.result.lastNetIncome;if(this.diff<0){var n=-1*this.diff;e=n<=t?Math.floor(100*(1-n/t)):1}else e=0;
1return"progress-"+e}},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["pv-result-chart"]],inputs:{result:"result",loading:"loading",showCostOfLiving:"showCostOfLiving"},standalone:!1,features:[ok],decls:2,vars:2,consts:[[1,"result-chart"],["aria-hidden","true","aria-label","Daten werden geladen",1,"result-chart"],[1,"result-chart-header"],[1,"content-wrapper"],[3,"ngClass"],[3,"ngClass","translate"],[1,"result-chart-body","container-content"],[1,"row"],[1,"col-md-8","result-chart-outcome"],[1,"progress-circle",3,"ngClass"],[1,"progress-circle-content"],[1,"result-chart-number"],[1,"col-md-4","order-md-first","result-chart-number-block"],[1,"result-chart-number-header"],[3,"translate"],[1,"result-chart-number-label"],[1,"result-chart-description"],[1,"skeleton"],[1,"progress-circle","invisible"],[1,"col-md-4","order-md-first","result-chart-number-block","skeleton"],[1,"result-chart-description","skeleton"],[1,"invisible"]],template:function(e,t){1&e&&(HV(0,Gle,42,28,"div",0),HV(1,Yle,27,1,"div",1)),2&e&&(UV(t.loading?-1:0),$A(),UV(t.loading?1:-1))},dependencies:[GJ,e2,Jte],encapsulation:2}),e}(),Jle=function(e){return{readonly:e}},Xle=function(e){return{collapsed:e}},Qle=function(e){return{show:e}},ece=function(e){return{query:e}};function tce(e,t){1&e&&(r$(0,"rwm-validation-container",22)(1,"p"),o$(2,"span",44)(3,"span",19),s$()()),2&e&&(n$("id",qj(2).getUId("pvrNetIncome")),$A(3),n$("translate","PVR_CONTRIBUTION_ERROR_MSG_NUMBER"))}function nce(e,t){if(1&e&&(r$(0,"div",15),o$(1,"rwm-input-number",43),nU(2,"translate"),HV(3,tce,4,2,"rwm-validation-container",22),s$()),2&e){var n=qj();$A(),n$("id",gz(n.getUId("pvrNetIncome")))("label",iU(2,6,"PVR_NET_INCOME"))("required",!0)("invalid",1==n.showErrorMsg("netIncome")),$A(2),UV(n.showErrorMsg("netIncome")?3:-1)}}function ice(e,t){1&e&&(r$(0,"rwm-validation-container",22)(1,"p"),o$(2,"span",44)(3,"span",19),s$()()),2&e&&(n$("id",qj(2).getUId("pvrCostOfLiving")),$A(3),n$("translate","PVR_CONTRIBUTION_ERROR_MSG_NUMBER"))}function rce(e,t){if(1&e&&(r$(0,"div",15),o$(1,"rwm-input-number",45),nU(2,"translate"),HV(3,ice,4,2,"rwm-validation-container",22),s$()),2&e){var n=qj();$A(),n$("id",gz(n.getUId("pvrCostOfLiving")))("label",iU(2,6,"PVR_COST_OF_LIVING"))("required",!0)("invalid",1==n.showErrorMsg("costOfLiving")),$A(2),UV(n.showErrorMsg("costOfLiving")?3:-1)}}function sce(e,t){1&e&&(r$(0,"rwm-validation-container",22)(1,"p"),o$(2,"span",44)(3,"span",19),s$()()),2&e&&(n$("id",qj(2).getUId("pvrSelfEmployedNetIncome")),$A(3),n$("translate","PVR_CONTRIBUTION_ERROR_MSG_NUMBER"))}function oce(e,t){if(1&e&&(r$(0,"div",15),o$(1,"rwm-input-number",46),nU(2,"translate"),HV(3,sce,4,2,"rwm-validation-container",22),s$()),2&e){var n=qj();$A(),n$("id",gz(n.getUId("pvrSelfEmployedNetIncome")))("label",iU(2,6,"PVR_TAXABLE_INCOME"))("required",!0)("invalid",1==n.showErrorMsg("selfEmployedNetIncome")),$A(2),UV(n.showErrorMsg("selfEmployedNetIncome")?3:-1)}}function ace(e,t){1&e&&(r$(0,"rwm-validation-container",22)(1,"p"),o$(2,"span",44)(3,"span",19),s$()()),2&e&&(n$("id",qj(2).getUId("pvrActualUnitValue")),$A(3),n$("translate","PVR_CONTRIBUTION_ERROR_MSG_NUMBER"))}function lce(e,t){if(1&e&&(r$(0,"div",15),o$(1,"rwm-input-number",47),nU(2,"translate"),HV(3,ace,4,2,"rwm-validation-container",22),s$()),2&e){var n=qj();$A(),n$("id",gz(n.getUId("pvrActualUnitValue")))("label",iU(2,6,"PVR_PROPERTY_VALUE"))("required",!0)("invalid",1==n.showErrorMsg("actualUnitValue")),$A(2),UV(n.showErrorMsg("actualUnitValue")?3:-1)}}function cce(e,t){if(1&e&&(r$(0,"rwm-validation-container",22)(1,"p"),o$(2,"span",44)(3,"span",49),s$()()),2&e){var n=qj(2);
1n$("id",n.getUId("pvrKids")),$A(3),n$("translate","PVR_NUMBER_CHILDREN_ERROR_MESSAGE")("translateParams",jz(3,ece,n.maxNumberOfChild))}}function uce(e,t){if(1&e&&(r$(0,"div",15),o$(1,"rwm-input-number",48),nU(2,"translate"),HV(3,cce,4,5,"rwm-validation-container",22),s$()),2&e){var n=qj();$A(),n$("id",gz(n.getUId("pvrKids")))("label",iU(2,6,"PVR_NUMBER_CHILDREN"))("decimalPlaces",0)("invalid",1==n.showErrorMsg("numberOfChildren")),$A(2),UV(n.showErrorMsg("numberOfChildren")?3:-1)}}function dce(e,t){1&e&&o$(0,"span",44)(1,"span",19),2&e&&($A(),n$("translate","PVR_BIRTHDAY_ERROR_TITLE"))}function hce(e,t){1&e&&o$(0,"span",44)(1,"span",19),2&e&&($A(),n$("translate","DATE_COMPONENT_INVALID_FORMAT"))}function pce(e,t){if(1&e&&o$(0,"span",44)(1,"span",49),2&e){var n=qj(2);$A(),n$("translate","DATE_COMPONENT_MIN_REQUIRED")("translateParams",jz(2,ece,n.formatDate(n.minBirthDate)))}}function fce(e,t){if(1&e&&o$(0,"span",44)(1,"span",49),2&e){var n=qj(2);$A(),n$("translate","DATE_COMPONENT_MAX_REQUIRED")("translateParams",jz(2,ece,n.formatDate(n.maxBirthDate)))}}function mce(e,t){if(1&e&&(r$(0,"rwm-validation-container",22)(1,"p"),HV(2,dce,2,1),HV(3,hce,2,1),HV(4,pce,2,4),HV(5,fce,2,4),s$()()),2&e){var n=qj();n$("id",n.getUId("pvrBirthDate")),$A(2),UV(n.form.get("dateOfBirth").errors.required&&n.form.get("dateOfBirth").errors.date?2:-1),$A(),UV(n.form.get("dateOfBirth").errors.date&&!n.form.get("dateOfBirth").errors.required?3:-1),$A(),UV(n.form.get("dateOfBirth").errors.dateMin?4:-1),$A(),UV(n.form.get("dateOfBirth").errors.dateMax?5:-1)}}function gce(e,t){1&e&&o$(0,"span",44)(1,"span",19),2&e&&($A(),n$("translate","PVR_WORKING_ERROR_TITLE"))}function vce(e,t){1&e&&o$(0,"span",44)(1,"span",19),2&e&&($A(),n$("translate","DATE_COMPONENT_INVALID_FORMAT"))}function yce(e,t){if(1&e&&o$(0,"span",44)(1,"span",49),2&e){var n=qj(2);$A(),n$("translate","DATE_COMPONENT_MIN_REQUIRED")("translateParams",jz(2,ece,n.formatDate(n.minWorkDate)))}}function bce(e,t){if(1&e&&o$(0,"span",44)(1,"span",49),2&e){var n=qj(2);$A(),n$("translate","DATE_COMPONENT_MAX_REQUIRED")("translateParams",jz(2,ece,n.formatDate(n.maxWorkDate)))}}function wce(e,t){if(1&e&&(r$(0,"rwm-validation-container",22)(1,"p"),HV(2,gce,2,1),HV(3,vce,2,1),HV(4,yce,2,4),HV(5,bce,2,4),s$()()),2&e){var n=qj();n$("id",n.getUId("pvrWorkDate")),$A(2),UV(n.form.get("dateOfWorkingBegin").errors.required&&n.form.get("dateOfWorkingBegin").errors.date?2:-1),$A(),UV(n.form.get("dateOfWorkingBegin").errors.date&&!n.form.get("dateOfWorkingBegin").errors.required?3:-1),$A(),UV(n.form.get("dateOfWorkingBegin").errors.dateMin?4:-1),$A(),UV(n.form.get("dateOfWorkingBegin").errors.dateMax?5:-1)}}function _ce(e,t){1&e&&o$(0,"span",44)(1,"span",19),2&e&&($A(),n$("translate","PVR_CONTRIBUTION_ERROR_MSG_NUMBER"))}function xce(e,t){if(1&e&&o$(0,"span",44)(1,"span",49),2&e){var n=qj(2);$A(),n$("translate","PVR_MONTHLY_CONTRIBUTIONS_UNTIL_TODAY_ERROR_MSG_MAX")("translateParams",jz(2,ece,n.maxNumberOfMonths))}}function kce(e,t){if(1&e&&(r$(0,"rwm-validation-container",22)(1,"p"),HV(2,_ce,2,1),HV(3,xce,2,4),s$()()),2&e){var n=qj();n$("id",n.getUId("numberOfMonths")),$A(2),UV(n.form.get("numberOfMonths").errors.required?2:-1),$A(),UV(n.form.get("numberOfMonths").errors.max&&!n.form.get("numberOfMonths").errors.required?3:-1)}}function Cce(e,t){if(1&e&&(r$(0,"p"),o$(1,"strong",50),s$()),2&e){var n=qj();$A(),n$("innerText",n.calcContribution(n.contribution))}}function Sce(e,t){if(1&e){var n=w$();o$(0,"pv-result-chart",51),r$(1,"div",35),o$(2,"rwm-overlay-cta",52),s$(),r$(3,"div",35)(4,"div",53)(5,"a",54),jj("click",function(){return a_(n),l_(qj().reactiveCalc())}),s$()()()}if(2&e){var i=qj();n$("result",i.result)("loading",i.loading)("showCostOfLiving",i.costOfLiving),$A(2),n$("label",i.overlayCtaBtn)("url",i.contactForm)("prefillType","prefillTextArea")("resultsSummary",i.overlayResult)("inConditionalStatement",!0),$A(3),n$("translate","PVR_CHANGE_DETAILS")}}function Tce(e,t){if(1&e&&(r$(0,"div",37)(1,"div",55),o$(2,"h3",56),r$(3,"p",57),VH(4),s$()()()),2&e){var n=qj();$A(2),n$("translate","PVR_NOTE_FOLLOWING"),$A(2),JH(n.result.serviceErrorMessage)}}var Ece=function(){function e(e,t,n,i){var r=this;this.translate=e,this.df=t,this.pvrService=n,this.decimalPipe=i,this.uid=E5.A.uidGenerator(),this.loading=!1,this.errorId="pvrError",this.disableForm=!1,this.pvrContent=fae.getModel(),this.collapse=!0,this.maxBirthDate=this.formatDate(Z5()(new Date).subtract(15,"years")),this.maxWorkDate=this.formatDate(Z5()(new Date).subtract(1,"month")),this.minBirthDate=this.formatDate("01.01.1901",!0),this.minWorkDate=this.formatDate("01.01.1915",!0),this.maxNumberOfChild=99,this.maxNumberOfMonths=1,this.minNumberOfMonths=1,this.costOfLiving=!1,this.submitted=!1,this.overlayCtaBtn="PVR_MAKE_APPOINTMENT",this.prepDataForAppointment=function(e){var t=r.pvrContent.currency,n=r.form.get("sex").value,i=r.form.get("jobGroup").value,s=-1*e.netGap,o=[{element:".calculation_result",value:{intro:"".concat(r.translate.instant(r.pvrContent.adviceText),":"),contract:"".concat(r.translate.instant(r.pvrContent.occupationalGroup),": ").concat(r.translate.instant(r.getLabel("jobGroups",n,i))),kids:"female"===n?"".concat(r.translate.instant(r.pvrContent.numberChildren),": ").concat(r.getValue("numberOfChildren","number",0,!1)):null,pension:"".concat(r.translate.instant(r.pvrContent.pensionAccount),": ").concat(r.getValue("retirementAccountValue","number",0,!0)),netIncome:"employee"===i||"laborer"===i?"".concat(r.translate.instant(r.pvrContent.monthlyIncome),": ").concat(r.getValue("netIncome","number",2,!0)):null,costOfLiving:"selfEmployed"===i||"farmer"===i?"".concat(r.translate.instant(r.pvrContent.livingExpenses),": ").concat(r.getValue("costOfLiving","number",2,!0)):null,taxableIncome:"selfEmployed"===i?"".concat(r.translate.instant(r.pvrContent.yearlyIncome),": ").concat(r.getValue("selfEmployedNetIncome","number",2,!0)):null,propertyValue:"farmer"===i?"".concat(r.translate.instant(r.pvrContent.propertyValue),": ").concat(r.getValue("actualUnitValue","number",2,!0)):null,birthDate:"".concat(r.translate.instant(r.pvrContent.birthDate),": ").concat(r.getValue("dateOfBirth","date")),workDate:"".concat(r.translate.instant(r.pvrContent.commencementOfEmployment),": ").concat(r.getValue("dateOfWorkingBegin","date")),contribution:"".concat(r.translate.instant(r.pvrContent.monthlyContributions),": ").concat(r.getValue("numberOfMonths")),pensionAge:"".concat(r.translate.instant(r.pvrContent.retirementAge),": ").concat(r.getValue("plannedRetirementAge","number",1)),pensionResult:"".concat(r.translate.instant(r.pvrContent.netIncome),": ").concat(r.decimalPipe.transform(e.lastNetIncome,"1.2-2","de")," ").concat(t),pensionComparison:"".concat(r.translate.instant(r.pvrContent.extrapolatedPension),": ").concat(r.decimalPipe.transform(e.netRetirement,"1.2-2","de")," ").concat(t),pensionDifference:"".concat(r.translate.instant(r.pvrContent.pensionGap),": ").concat(r.decimalPipe.transform(s,"1.2-2","de")," ").concat(t)}}];r.overlayResult=[JSON.stringify(o)]}}return e.prototype.ngOnInit=function(){var e=this;this.selectedGender=this.pvrContent.gender[0],this.activeJobGroup=this.pvrContent.jobGroups[this.selectedGender.value],this.selectedJobGroup=this.activeJobGroup[0],this.form=this.pvrForm(),this.form.get("sex").valueChanges.subscribe(function(t){return e.updateModel()}),this.form.get("jobGroup").valueChanges.subscribe(function(t){return e.updateModel()})},e.prototype.pvrForm=function(){var e="^[0-9.]*$";return new W3({sex:new m4(this.selectedGender.value),jobGroup:new m4(this.selectedJobGroup.value),netIncome:new m4({disabled:!0,value:""},[U2.required,U2.pattern(e)]),costOfLiving:new m4({disabled:!0,value:""},[U2.required,U2.pattern(e)]),selfEmployedNetIncome:new m4({disabled:!0,value:""},[U2.required,U2.pattern(e)]),actualUnitValue:new m4({disabled:!0,value:""},[U2.required,U2.pattern(e)]),retirementAccountFlag:new m4(!1),retirementAccountValue:new m4("",[U2.pattern(e),U2.min(1)]),numberOfChildren:new m4({disabled:!0,value:""},[U2.max(this.maxNumberOfChild),U2.pattern(e)]),dateOfBirth:new m4("",[U2.required,pae.valid(this.minBirthDate,this.maxBirthDate)]),dateOfWorkingBegin:new m4("",[U2.required,pae.valid(this.minWorkDate,this.maxWorkDate)]),numberOfMonths:new m4("",[U2.required,U2.pattern(e),U2.min(this.minNumberOfMonths)]),plannedRetirementAge:new m4("",[U2.pattern(e)]),salaryAdjusting:new m4(!1)})},e.prototype.getCategorie=function(e,t){switch(e){case"sex":e=this.form.value.sex,this.requiredGenderFields(e);break;case"jobGroup":e=this.form.value.jobGroup,this.requiredJobGroupFields(e);break;default:e=e.value}return(","+t).split(",").includes(e)},e.prototype.requiredGenderFields=function(e){switch(e){case"female":this.form.get("numberOfChildren").enable();break;case"male":this.form.get("numberOfChildren").disable()}},e.prototype.requiredJobGroupFields=function(e){switch(e){case"employee":case"laborer":this.form.get("costOfLiving").disable(),this.form.get("selfEmployedNetIncome").disable(),this.form.get("actualUnitValue").disable(),this.form.get("netIncome").enable(),this.costOfLiving=!1;break;case"selfEmployed":this.form.get("netIncome").disable(),this.form.get("actualUnitValue").disable(),this.form.get("costOfLiving").enable(),this.form.get("selfEmployedNetIncome").enable(),this.costOfLiving=!0;break;case"farmer":this.form.get("netIncome").disable(),this.form.get("selfEmployedNetIncome").disable(),this.form.get("costOfLiving").enable(),this.form.get("actualUnitValue").enable(),this.costOfLiving=!0}},e.prototype.setRetirementAccountFlag=function(e){this.form.get("retirementAccountFlag").setValue(!!e)},e.prototype.jobGroupItems=function(){var e=this.form.get("sex").value;return this.activeJobGroup=this.pvrContent.jobGroups[e],this.activeJobGroup},e.prototype.updateModel=function(){var e=this;setTimeout(function(){e.df.detectChanges()},200)},e.prototype.birthDateChange=function(e){this.birthDate=e.target.value,this.minWorkDate=e.target.value,this.form.get("dateOfWorkingBegin").setValidators([pae.valid(this.minWorkDate,this.maxWorkDate)]),this.form.get("dateOfWorkingBegin").updateV
1alueAndValidity()},e.prototype.workDateChange=function(e){if(this.isDateValid(e.target.value)){this.workDate=e.target.value;var t=Z5()(this.workDate,"YYYY-MM-DD"),n=Z5()().diff(t,"months");this.maxBirthDate=this.workDate,this.minNumberOfMonths=1,this.maxNumberOfMonths=n,this.contribution=n,this.form.get("numberOfMonths").setValue(n),this.form.get("dateOfBirth").setValidators([pae.valid(this.minBirthDate,this.maxBirthDate)]),this.form.get("numberOfMonths").setValidators([U2.max(this.maxNumberOfMonths)])}else this.form.get("numberOfMonths").setValue(""),this.form.get("numberOfMonths").setValidators([U2.max(1)]);this.form.get("numberOfMonths").updateValueAndValidity(),this.form.get("dateOfBirth").updateValueAndValidity()},e.prototype.calcContribution=function(e){if((e=this.form.get("numberOfMonths").value)>0&&e<=this.maxNumberOfMonths){var t=Math.floor(e/12),n=e%12,i=this.translate.instant(1===t?this.pvrContent.year:this.pvrContent.years),r=this.translate.instant(1===n?this.pvrContent.month:this.pvrContent.months),s=0!=t?"".concat(t," ").concat(i):"",o=0!=n?"".concat(n," ").concat(r):"",a=t>0&&n>0?"+":"";return"= ".concat(s," ").concat(a," ").concat(o)}return e=null,""},e.prototype.onSubmit=function(){var e=this;this.submitted=!0,this.updateModel(),this.form.valid&&!this.disableForm&&(this.loading=!0,this.disableForm=!0,this.pvrService.getPVRSummary(this.form.value).subscribe(function(t){e.result=t,e.loading=!1,e.result.calculatedSuccesful?(e.collapse=!1,e.prepDataForAppointment(t)):e.disableForm=!1,setTimeout(function(){e.scrollTo("#"+e.getUId("summary"))},200)},function(t){e.result=null,e.loading=!1},function(){return e.updateModel()}))},e.prototype.reactiveCalc=function(){this.result=null,this.disableForm=!1,this.loading=!1,this.submitted=!1,this.collapse=!0,this.scrollTo("form.pension-calculator-form"),this.updateModel()},e.prototype.getPensionAgeSliderValue=function(e){var t=this.form.get("sex").value;return this.pvrContent.pensionAge[t][e]},e.prototype.formatDate=function(e,t,n){return t&&(e=Z5()(e,["DD.MM.YYYY","YYYY-MM-DD"],!0).toDate()),Z5()(e,["DD.MM.YYYY","YYYY-MM-DD"],!0).format(n||"DD.MM.YYYY")},e.prototype.isDateValid=function(e){return Z5()(e,"YYYY-MM-DD",!0).isValid()},e.prototype.showErrorMsg=function(e){return this.form.get(e).errors&&(this.form.get(e).dirty||this.submitted)},e.prototype.scrollTo=function(e){document.querySelector(e).scrollIntoView({behavior:"smooth"})},e.prototype.toggleAccordion=function(e){this.collapse=!this.collapse},e.prototype.getUId=function(e){return e+"-"+this.uid},e.prototype.getLabel=function(e,t,n){var i,r;try{for(var s=(0,$g.Ju)(this.pvrContent[e][t]),o=s.next();!o.done;o=s.next()){var a=o.value;if(a.value===n)return a.translationKey}}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return null},e.prototype.getValue=function(e,t,n,i){switch(t){case"number":var r=i?" "+this.pvrContent.currency:"",s=this.form.value[e]?this.form.value[e]:0;return(s=this.toNumber(s,n))+r;case"date":return this.formatDate(this.form.value[e],!1,"DD.MM.YYYY");default:return this.form.value[e]}},e.prototype.toNumber=function(e,t){return this.decimalPipe.transform(e,"1."+t,"de")},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(uZ),qP(hae),qP(AX))},e.ɵcmp=DN({type:e,selectors:[["pv-calculator"]],inputs:{header:"header",content:"content",button:"button",info:"info",infoLink:"infoLink",contactForm:"contactForm"},standalone:!1,decls:74,vars:98,consts:[[1,"pension-calculator-header"],[3,"innerHTML"],[1,"form-container"],["autocomplete","off",1,"pension-calculator-form",3,"ngSubmit","formGroup","ngClass"],[1,"component-tab-accordion","component-accordion"],[1,"tab-pane"],["href","javascript:void(0)","data-bs-toggle","collapse",1,"accordion-heading",3,"click","keydown.space","keydown.enter","ngClass"],["aria-hidden","true",1,"icon","icon-dropdown"],["tabindex","-1",1,"accordion-content-wrapper","collapse",3,"id","ngClass"],[1,"tab-accordion-content"],[1,"content-wrapper"],[1,"ng-binding"],["formControlName","sex",3,"modelChange","label","listItems","model"],["formControlName","jobGroup",3,"modelChange","label","listItems","model"],["aria-live","polite",1,"input-number-row"],[1,"form-group","input-number-component"],["formControlName","retirementAccountValue","name","Pensionskontowert",3,"change","id","label"],[1,"input-number-row"],[1,"date-component"],[3,"translate"],[1,"form-group","form-date-styling"],["formControlName","dateOfBirth","name","Geburtstag",3,"change","id","label","required","invali
1d"],[3,"id"],["formControlName","dateOfWorkingBegin","name","Berufstaetig",3,"change","id","label","required","invalid"],[1,"row","align-items-center"],[1,"col-12","col-sm-5","col-md-4"],["formControlName","numberOfMonths","name","Beitragsmonate",3,"id","label","min","max","hideLabel","required","invalid","decimalPlaces","units"],[1,"col-12","col-sm-7","col-md-8"],[1,"result-control"],["formControlName","plannedRetirementAge","name","Pensionsantrittsalter",3,"id","label","required","showMin","step","min","max","units","earlyBreakpoint"],[1,"form-check"],[1,"form-check-label",3,"for"],["formControlName","salaryAdjusting","name","calculator-check","type","checkbox",1,"form-check-input",3,"id"],["aria-hidden","true",1,"custom-control-indicator","icon-check"],[1,"form-check-label-text"],[1,"cta-wrapper-content-box"],["type","submit",1,"btn","btn-primary",3,"innerText","disabled"],[1,"pension-calculator-request-error-msgs"],[1,"pension-calculator-footer"],[1,"result-chart-disclaimer"],[1,"result-chart-disclaimer-content",3,"translate"],[1,"result-chart-info"],[3,"href","label"],["formControlName","netIncome","name","Nettoeinkommen",3,"id","label","required","invalid"],[1,"icon-attention_alert"],["formControlName","costOfLiving","name","Lebenshaltungskosten",3,"id","label","required","invalid"],["formControlName","selfEmployedNetIncome","name","Jahreseinkommen",3,"id","label","required","invalid"],["formControlName","actualUnitValue","name","Einheitswert",3,"id","label","required","invalid"],["formControlName","numberOfChildren","name","Kinder",3,"id","label","decimalPlaces","invalid"],[3,"translate","translateParams"],[3,"innerText"],[3,"result","loading","showCostOfLiving"],[3,"label","url","prefillType","resultsSummary","inConditionalStatement"],[1,"cta-wrapper-content-box-link"],["href","javascript:void(0);",1,"text-link",3,"click","translate"],[1,"mt-2"],[1,"text-center",3,"translate"],[1,"text-center"]],template:function(e,t){1&e&&(r$(0,"div",0),o$(1,"h2",1)(2,"p",1),s$(),r$(3,"div",2)(4,"form",3),jj("ngSubmit",function(){return t.onSubmit()}),r$(5,"div",4)(6,"div",5)(7,"a",6),jj("click",function(e){return t.toggleAccordion(e)})("keydown.space",function(e){return t.toggleAccordion(e)})("keydown.enter",function(e){return t.toggleAccordion(e)}),o$(8,"span",7),VH(9," Ihre Angaben "),s$(),r$(10,"div",8)(11,"div",9)(12,"div",10)(13,"p",11),VH(14,"Sie sind"),s$(),r$(15,"rwm-radio-btn-group",12),uz("modelChange",function(e){return cz(t.selectedGender,e)||(t.selectedGender=e),e}),s$(),r$(16,"rwm-radio-btn-group",13),uz("modelChange",function(e){return cz(t.selectedJobGroup,e)||(t.selectedJobGroup=e),e}),s$(),r$(17,"div",14),HV(18,nce,4,8,"div",15),HV(19,rce,4,8,"div",15),HV(20,oce,4,8,"div",15),HV(21,lce,4,8,"div",15),r$(22,"div",15)(23,"rwm-input-number",16),nU(24,"translate"),jj("change",function(e){return t.setRetirementAccountFlag(e.target.value)}),s$()(),HV(25,uce,4,8,"div",15),s$(),r$(26,"div",17)(27,"div",18),o$(28,"p",19),r$(29,"div",20)(30,"rwm-input-date",21),nU(31,"translate"),jj("change",function(e){return t.birthDateChange(e)}),s$(),HV(32,mce,6,5,"rwm-validation-container",22),s$()(),r$(33,"div",18),o$(34,"p",19),r$(35,"div",20)(36,"rwm-input-date",23),nU(37,"translate"),jj("change",function(e){return t.workDateChange(e)}),s$(),HV(38,wce,6,5,"rwm-validation-container",22),s$()()(),o$(39,"p",19),r$(40,"div",24)(41,"div",25)(42,"div",15),o$(43,"rwm-input-number",26),nU(44,"translate"),nU(45,"translate"),HV(46,kce,4,3,"rwm-validation-container",22),s$()(),r$(47,"div",27)(48,"div",28),HV(49,Cce,2,1,"p"),s$()()(),o$(50,"rwm-input-slider",29),nU(51,"translate"),r$(52,"div",30)(53,"label",31),o$(54,"input",32)(55,"span",33),r$(56,"span",34),VH(57),nU(58,"translate"),s$()()()()(),r$(59,"div",35),o$(60,"button",36),s$()()()()()(),r$(61,"div",22),HV(62,Sce,6,9),s$(),HV(63,Tce,5,2,"div",37),r$(64,"div",38)(65,"div",39)(66,"div",10)(67,"p"),o$(68,"strong",19),s$(),o$(69,"p",40),s$()(),r$(70,"div",41)(71,"p"),o$(72,"span",19)(73,"rwm-overlay-link",42),s$()()()),2&e&&($A(),n$("innerHTML",t.header,WI),$A(),n$("innerHTML",t.content,WI),$A(2),n$("formGroup",t.form)("ngClass",jz(92,Jle,t.disableForm)),$A(2),xH("opened",t.collapse),$A(),n$("ngClass",jz(94,Xle,!t.collapse)),sV("aria-controls",t.getUId("accordion"))("aria-expanded",t.collapse),$A(3),n$("id",gz(t.getUId("accordion")))("ngClass",jz(96,Qle,t.collapse)),$A(5),n$("label",t.pvrContent.genderLabel)("listItems",t.pvrContent.gender),lz("model",t.selectedGender),$A(),n$("label",t.pvrContent.jobGroups.label)("listItems",t.jobGroupItems()),lz("model",t.selectedJobGroup),$A(2),UV(t.getCategorie("jobGroup","employee,laborer")?18:-1),$A(),UV(t.getCategorie("jobGroup","selfEmployed,farmer")?19:-1),$A(),UV(t.getCategorie("jobGroup","selfEmployed")?20:-1),$A(),UV(t.getCategorie("jobGroup","farmer")?21:-1),$A(2),n$("id",gz(t.getUId("pvrRetirementAccountValue")))("label",iU(24,78,"PVR_PENSION_ACCOUNT")),$A(2),UV(t.getCategorie("sex","female")?25:-1),$A(3),n$("translate","PVR_BIRTHDAY_HEADLINE"),$A(2),n$("id",gz(t.getUId("pvrBirthDate")))("label",iU(31,80,"PVR_BIRTHDAY"))("required",!0)("invalid",1==t.showErrorMsg("dateOfBirth")),$A(2),UV(t.showErrorMsg("dateOfBirth")?32:-1),$A(2),n$("translate","PVR_WORKING_HEADLINE"),$A(2),n$("id",gz(t.getUId("pvrWorkDate")))("label",iU(37,82,"PVR_WORKING"))("required",!0)("invalid",1==t.showErrorMsg("dateOfWorkingBegin")),$A(2),UV(t.showErrorMsg("dateOfWorkingBegin")?38:-1),$A(),n$("translate","PVR_MONTHLY_CONTRIBUTIONS_UNTIL_TODAY"),$A(4),n$("id",gz(t.getUId("numberOfMonths")))("label",iU(44,84,"PVR_MONTHLY_CONTRIBUTIONS_UNTIL_TODAY"))("min",t.minNumberOfMonths)("max",t.maxNumberOfMonths)("hideLabel",!0)("required",!0)("invalid",1==t.showErrorMsg("numberOfMonths"))("decimalPlaces",0)("units",iU(45,86,"MONTHS")),$A(3),UV(t.showErrorMsg("numberOfMonths")?46:-1),$A(3),UV(t.contribution>0?49:-1),$A(),n$("id",gz(t.getUId("pensionAge")))("label",iU(51,88,"PVR_RETIREMENT_AGE"))("required",!0)("showMin",!0)("step",t.getPensionAgeSliderValue("step"))("min",t.getPensionAgeSliderValue("min"))("max",t.getPensionAgeSliderValue("max"))("units","YEARS")("earlyBreakpoint",!0),$A(3),n$("for",gz(t.getUId("c
1alculator-check"))),$A(),n$("id",gz(t.getUId("calculator-check"))),$A(3),JH(iU(58,90,"PVR_CONSIDER_DEVELOPMENT")),$A(3),n$("innerText",t.button)("disabled",t.disableForm),$A(),n$("id",t.getUId("summary")),$A(),UV(t.result&&t.result.calculatedSuccesful||t.loading?62:-1),$A(),UV(t.result&&!t.result.calculatedSuccesful?63:-1),$A(5),n$("translate","PVR_DISCLAIMER_HEADLINE"),$A(),n$("translate","PVR_DISCLAIMER_CONTENT"),$A(3),n$("translate","PVR_INFO_MESSAGE"),$A(),n$("href",t.infoLink)("label",t.info))},dependencies:[GJ,x4,N2,x3,k3,s5,L4,j4,e2,wae,Tae,Iae,ble,Sle,iee,Ple,Kle,t2],encapsulation:2}),e}(),Ice=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),Ace=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),Dce=function(){return{validation:!1}},Mce=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({providers:[loe(Dce)],imports:[RX,C5,T5]}),e}(),Oce=function(){return{validation:!1}},Pce=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({providers:[loe(Oce)],imports:[RX,C5,S5,ple,T5]}),e}(),Lce=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),Nce=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),Rce=function(){function e(e){this.injector=e;var t=T2(Ece,{injector:e});customElements.define("pv-calculator-component",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e,bootstrap:[Ece]}),e.ɵinj=Lv({imports:[RX,_Q,p0,C5,S5,T5,B5,hoe,Mce,Ice,Ace,Pce,Lce,V5,Nce,vte]}),e}(),Bce=o(3481);class Fce{static mapToArray(e){const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}static handleEvent(e,t,n){0<t.observers.length&&e.run(()=>{t.emit(n)})}}class Vce{constructor(e,t){this.element=e,this.zone=t,this.DEFAULT_ZOOM=1,this.DEFAULT_CENTER=(0,Bce.latLng)(38.907192,-77.036871),this.DEFAULT_FPZ_OPTIONS={},this.fitBoundsOptions=this.DEFAULT_FPZ_OPTIONS,this.panOptions=this.DEFAULT_FPZ_OPTIONS,this.zoomOptions=this.DEFAULT_FPZ_OPTIONS,this.zoomPanOptions=this.DEFAULT_FPZ_OPTIONS,this.options={},this.mapReady=new rD,this.zoomChange=new rD,this.centerChange=new rD,this.onClick=new rD,this.onDoubleClick=new rD,this.onMouseDown=new rD,this.onMouseUp=new rD,this.onMouseMove=new rD,this.onMouseOver=new rD,this.onMouseOut=new rD,this.onMapMove=new rD,this.onMapMoveStart=new rD,this.onMapMoveEnd=new rD,this.onMapZoom=new rD,this.onMapZoomStart=new rD,this.onMapZoomEnd=new rD}ngOnInit(){this.zone.runOutsideAngular(()=>{this.map=(0,Bce.map)(this.element.nativeElement,this.options),this.addMapEventListeners()}),null!=this.center&&null!=this.zoom&&this.setView(this.center,this.zoom),null!=this.fitBounds&&this.setFitBounds(this.fitBounds),null!=this.maxBounds&&this.setMaxBounds(this.maxBounds),null!=this.minZoom&&this.setMinZoom(this.minZoom),null!=this.maxZoom&&this.setMaxZoom(this.maxZoom),this.doResize(),this.mapReady.emit(this.map)}ngOnChanges(e){e.zoom&&e.center&&null!=this.zoom&&null!=this.center?this.setView(e.center.currentValue,e.zoom.currentValue):e.zoom?this.setZoom(e.zoom.currentValue):e.center&&this.setCenter(e.center.currentValue),e.fitBounds&&this.setFitBounds(e.fitBounds.currentValue),e.maxBounds&&this.setMaxBounds(e.maxBounds.currentValue),e.minZoom&&this.setMinZoom(e.minZoom.currentValue),e.maxZoom&&this.setMaxZoom(e.maxZoom.currentValue)}ngOnDestroy(){null!=this.map&&this.map.remove()}getMap(){return this.map}onResize(){this.delayResize()}addMapEventListeners(){const e=(e,t)=>{this.map.on(e,t)};e("click",e=>Fce.handleEvent(this.zone,this.onClick,e)),e("dblclick",e=>Fce.handleEvent(this.zone,this.onDoubleClick,e)),e("mousedown",e=>Fce.handleEvent(this.zone,this.onMouseDown,e)),e("mouseup",e=>Fce.handleEvent(this.zone,this.onMouseUp,e)),e("mouseover",e=>Fce.handleEvent(this.zone,this.onMouseOver,e)),e("mouseout",e=>Fce.handleEvent(this.zone,this.onMouseOut,e)),e("mousemove",e=>Fce.handleEvent(this.zone,this.onMouseMove,e)),e("zoomstart",e=>Fce.handleEvent(this.zone,this.onMapZoomStart,e)),e("zoom",e=>Fce.handleEvent(this.zone,this.onMapZoom,e)),e("zoomend",e=>Fce.handleEvent(this.zone,this.onMapZoomEnd,e)),e("movestart",e=>Fce.handleEvent(this.zone,this.onMapMoveStart,e)),e("move",e=>Fce.handleEvent(this.zone,this.onMapMove,e)),e("moveend",e=>Fce.handleEvent(this.zone,this.onMapMoveEnd,e));const t=()=>{const e=this.map.getZoom();e!==this.zoom&&(this.zoom=e,Fce.handleEvent(this.zone,this.zoomChange,e));const t=this.map.getCenter();null==t&&null==this.center||(null!=t&&null!=this.center||t===this.center)&&t.lat===this.center.lat&&t.lng===this.center.lng||(this.center=t,Fce.handleEvent(this.zone,this.centerChange,t))};e("moveend",t),e("zoomend",t)}doResize(){this.zone.runOutsideAngular(()=>{null!=this.map&&this.map.invalidateSize({})})}delayResize(){null!=this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.doResize.bind(this),200)}
1setView(e,t){null!=this.map&&null!=e&&null!=t&&this.map.setView(e,t,this.zoomPanOptions)}setZoom(e){null!=this.map&&null!=e&&this.map.setZoom(e,this.zoomOptions)}setCenter(e){null!=this.map&&null!=e&&this.map.panTo(e,this.panOptions)}setFitBounds(e){null!=this.map&&null!=e&&this.map.fitBounds(e,this.fitBoundsOptions)}setMaxBounds(e){null!=this.map&&null!=e&&this.map.setMaxBounds(e)}setMinZoom(e){null!=this.map&&null!=e&&this.map.setMinZoom(e)}setMaxZoom(e){null!=this.map&&null!=e&&this.map.setMaxZoom(e)}static{this.ɵfac=MY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Vce,deps:[{token:xC},{token:dD}],target:hG.Directive})}static{this.ɵdir=EY({minVersion:"14.0.0",version:"20.0.3",type:Vce,isStandalone:!0,selector:"[leaflet]",inputs:{fitBoundsOptions:["leafletFitBoundsOptions","fitBoundsOptions"],panOptions:["leafletPanOptions","panOptions"],zoomOptions:["leafletZoomOptions","zoomOptions"],zoomPanOptions:["leafletZoomPanOptions","zoomPanOptions"],options:["leafletOptions","options"],zoom:["leafletZoom","zoom"],center:["leafletCenter","center"],fitBounds:["leafletFitBounds","fitBounds"],maxBounds:["leafletMaxBounds","maxBounds"],minZoom:["leafletMinZoom","minZoom"],maxZoom:["leafletMaxZoom","maxZoom"]},outputs:{mapReady:"leafletMapReady",zoomChange:"leafletZoomChange",centerChange:"leafletCenterChange",onClick:"leafletClick",onDoubleClick:"leafletDoubleClick",onMouseDown:"leafletMouseDown",onMouseUp:"leafletMouseUp",onMouseMove:"leafletMouseMove",onMouseOver:"leafletMouseOver",onMouseOut:"leafletMouseOut",onMapMove:"leafletMapMove",onMapMoveStart:"leafletMapMoveStart",onMapMoveEnd:"leafletMapMoveEnd",onMapZoom:"leafletMapZoom",onMapZoomStart:"leafletMapZoomStart",onMapZoomEnd:"leafletMapZoomEnd"},host:{listeners:{"window:resize":"onResize()"}},usesOnChanges:!0,ngImport:e})}}IY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Vce,decorators:[{type:eq,args:[{selector:"[leaflet]"}]}],ctorParameters:()=>[{type:xC},{type:dD}],propDecorators:{fitBoundsOptions:[{type:iq,args:["leafletFitBoundsOptions"]}],panOptions:[{type:iq,args:["leafletPanOptions"]}],zoomOptions:[{type:iq,args:["leafletZoomOptions"]}],zoomPanOptions:[{type:iq,args:["leafletZoomPanOptions"]}],options:[{type:iq,args:["leafletOptions"]}],mapReady:[{type:rq,args:["leafletMapReady"]}],zoom:[{type:iq,args:["leafletZoom"]}],zoomChange:[{type:rq,args:["leafletZoomChange"]}],center:[{type:iq,args:["leafletCenter"]}],centerChange:[{type:rq,args:["leafletCenterChange"]}],fitBounds:[{type:iq,args:["leafletFitBounds"]}],maxBounds:[{type:iq,args:["leafletMaxBounds"]}],minZoom:[{type:iq,args:["leafletMinZoom"]}],maxZoom:[{type:iq,args:["leafletMaxZoom"]}],onClick:[{type:rq,args:["leafletClick"]}],onDoubleClick:[{type:rq,args:["leafletDoubleClick"]}],onMouseDown:[{type:rq,args:["leafletMouseDown"]}],onMouseUp:[{type:rq,args:["leafletMouseUp"]}],onMouseMove:[{type:rq,args:["leafletMouseMove"]}],onMouseOver:[{type:rq,args:["leafletMouseOver"]}],onMouseOut:[{type:rq,args:["leafletMouseOut"]}],onMapMove:[{type:rq,args:["leafletMapMove"]}],onMapMoveStart:[{type:rq,args:["leafletMapMoveStart"]}],onMapMoveEnd:[{type:rq,args:["leafletMapMoveEnd"]}],onMapZoom:[{type:rq,args:["leafletMapZoom"]}],onMapZoomStart:[{type:rq,args:["leafletMapZoomStart"]}],onMapZoomEnd:[{type:rq,args:["leafletMapZoomEnd"]}],onResize:[{type:oq,args:["window:resize",[]]}]}});class $ce{constructor(e){this.leafletDirective=e}init(){}getMap(){return this.leafletDirective.getMap()}}class jce{constructor(e,t){this.zone=t,this.onAdd=new rD,this.onRemove=new rD,this.leafletDirective=new $ce(e)}ngOnInit(){this.leafletDirective.init()}ngOnDestroy(){null!=this.layer&&(this.removeLayerEventListeners(this.layer),this.layer.remove())}ngOnChanges(e){if(e.layer){const t=e.layer.previousValue,n=e.layer.currentValue;this.zone.runOutsideAngular(()=>{null!=t&&(this.removeLayerEventListeners(t),t.remove()),null!=n&&(this.addLayerEventListeners(n),this.leafletDirective.getMap().addLayer(n))})}}addLayerEventListeners(e){this.onAddLayerHandler=e=>Fce.handleEvent(this.zone,this.onAdd,e),e.on("add",this.onAddLayerHandler),this.onRemoveLayerHandler=e=>Fce.handleEvent(this.zone,this.onRemove,e),e.on("remove",this.onRemoveLayerHandler)}removeLayerEventListeners(e){e.off("add",this.onAddLayerHandler),e.off("remove",this.onRemoveLayerHandler)}
1static{this.ɵfac=MY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:jce,deps:[{token:Vce},{token:dD}],target:hG.Directive})}static{this.ɵdir=EY({minVersion:"14.0.0",version:"20.0.3",type:jce,isStandalone:!0,selector:"[leafletLayer]",inputs:{layer:["leafletLayer","layer"]},outputs:{onAdd:"leafletLayerAdd",onRemove:"leafletLayerRemove"},usesOnChanges:!0,ngImport:e})}}IY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:jce,decorators:[{type:eq,args:[{selector:"[leafletLayer]"}]}],ctorParameters:()=>[{type:Vce},{type:dD}],propDecorators:{layer:[{type:iq,args:["leafletLayer"]}],onAdd:[{type:rq,args:["leafletLayerAdd"]}],onRemove:[{type:rq,args:["leafletLayerRemove"]}]}});class Hce{set layers(e){this.layersValue=e,this.updateLayers()}get layers(){return this.layersValue}constructor(e,t,n){this.differs=t,this.zone=n,this.leafletDirective=new $ce(e),this.layersDiffer=this.differs.find([]).create()}ngDoCheck(){this.updateLayers()}ngOnInit(){this.leafletDirective.init(),this.updateLayers()}ngOnDestroy(){this.layers=[]}updateLayers(){const e=this.leafletDirective.getMap();if(null!=e&&null!=this.layersDiffer){const t=this.layersDiffer.diff(this.layersValue);null!=t&&this.zone.runOutsideAngular(()=>{t.forEachRemovedItem(t=>{e.removeLayer(t.item)}),t.forEachAddedItem(t=>{e.addLayer(t.item)})})}}static{this.ɵfac=MY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Hce,deps:[{token:Vce},{token:SZ},{token:dD}],target:hG.Directive})}static{this.ɵdir=EY({minVersion:"14.0.0",version:"20.0.3",type:Hce,isStandalone:!0,selector:"[leafletLayers]",inputs:{layers:["leafletLayers","layers"]},ngImport:e})}}IY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Hce,decorators:[{type:eq,args:[{selector:"[leafletLayers]"}]}],ctorParameters:()=>[{type:Vce},{type:SZ},{type:dD}],propDecorators:{layers:[{type:iq,args:["leafletLayers"]}]}});class zce{constructor(){this.layersRemoved=0,this.layersChanged=0,this.layersAdded=0}changed(){return!(0===this.layersRemoved&&0===this.layersChanged&&0===this.layersAdded)}}class Uce{constructor(e,t){this.zone=e,this.layersControlReady=t}getLayersControl(){return this.layersControl}init(e,t){const n=e.baseLayers||{},i=e.overlays||{};return this.zone.runOutsideAngular(()=>{this.layersControl=Bce.control.layers(n,i,t)}),this.layersControlReady.emit(this.layersControl),this.layersControl}applyBaseLayerChanges(e){let t=new zce;return null!=this.layersControl&&(t=this.applyChanges(e,this.layersControl.addBaseLayer)),t}applyOverlayChanges(e){let t=new zce;return null!=this.layersControl&&(t=this.applyChanges(e,this.layersControl.addOverlay)),t}applyChanges(e,t){const n=new zce;return null!=e&&this.zone.runOutsideAngular(()=>{e.forEachChangedItem(e=>{this.layersControl.removeLayer(e.previousValue),t.call(this.layersControl,e.currentValue,e.key),n.layersChanged++}),e.forEachRemovedItem(e=>{this.layersControl.removeLayer(e.previousValue),n.layersRemoved++}),e.forEachAddedItem(e=>{t.call(this.layersControl,e.currentValue,e.key),n.layersAdded++})}),n}}class qce{constructor(){this.baseLayers={},this.overlays={}}}class Wce{set layersControlConfig(e){null==e&&(e=new qce),null==e.baseLayers&&(e.baseLayers={}),null==e.overlays&&(e.overlays={}),this.layersControlConfigValue=e,this.updateLayers()}get layersControlConfig(){return this.layersControlConfigValue}constructor(e,t,n){this.differs=t,this.zone=n,this.layersControlReady=new rD,this.leafletDirective=new $ce(e),this.controlLayers=new Uce(this.zone,this.layersControlReady),this.baseLayersDiffer=this.differs.find({}).create(),this.overlaysDiffer=this.differs.find({}).create()}ngOnInit(){this.leafletDirective.init(),this.zone.runOutsideAngular(()=>{this.controlLayers.init({},this.layersControlOptions).addTo(this.leafletDirective.getMap())}),this.updateLayers()}ngOnDestroy(){this.layersControlConfig={baseLayers:{},overlays:{}},this.controlLayers.getLayersControl().remove()}ngDoCheck(){this.updateLayers()}updateLayers(){const e=this.leafletDirective.getMap(),t=this.controlLayers.getLayersControl();if(null!=e&&null!=t){if(null!=this.baseLayersDiffer&&null!=this.layersControlConfigValue.baseLayers){const e=this.baseLayersDiffer.diff(this.layersControlConfigValue.baseLayers);
1this.controlLayers.applyBaseLayerChanges(e)}if(null!=this.overlaysDiffer&&null!=this.layersControlConfigValue.overlays){const e=this.overlaysDiffer.diff(this.layersControlConfigValue.overlays);this.controlLayers.applyOverlayChanges(e)}}}static{this.ɵfac=MY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Wce,deps:[{token:Vce},{token:EZ},{token:dD}],target:hG.Directive})}static{this.ɵdir=EY({minVersion:"14.0.0",version:"20.0.3",type:Wce,isStandalone:!0,selector:"[leafletLayersControl]",inputs:{layersControlConfig:["leafletLayersControl","layersControlConfig"],layersControlOptions:["leafletLayersControlOptions","layersControlOptions"]},outputs:{layersControlReady:"leafletLayersControlReady"},ngImport:e})}}IY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Wce,decorators:[{type:eq,args:[{selector:"[leafletLayersControl]"}]}],ctorParameters:()=>[{type:Vce},{type:EZ},{type:dD}],propDecorators:{layersControlConfig:[{type:iq,args:["leafletLayersControl"]}],layersControlOptions:[{type:iq,args:["leafletLayersControlOptions"]}],layersControlReady:[{type:rq,args:["leafletLayersControlReady"]}]}});class Gce{set baseLayers(e){this.baseLayersValue=e,this.updateBaseLayers()}get baseLayers(){return this.baseLayersValue}constructor(e,t,n){this.differs=t,this.zone=n,this.layersControlReady=new rD,this.leafletDirective=new $ce(e),this.controlLayers=new Uce(this.zone,this.layersControlReady),this.baseLayersDiffer=this.differs.find({}).create()}ngOnDestroy(){this.baseLayers={},null!=this.controlLayers.getLayersControl()&&this.controlLayers.getLayersControl().remove()}ngOnInit(){this.leafletDirective.init(),this.zone.runOutsideAngular(()=>{this.controlLayers.init({},this.layersControlOptions).addTo(this.leafletDirective.getMap())}),this.updateBaseLayers()}ngDoCheck(){this.updateBaseLayers()}updateBaseLayers(){const e=this.leafletDirective.getMap(),t=this.controlLayers.getLayersControl();if(null!=e&&null!=t&&null!=this.baseLayersDiffer){const e=this.baseLayersDiffer.diff(this.baseLayersValue);this.controlLayers.applyBaseLayerChanges(e).changed()&&this.syncBaseLayer()}}syncBaseLayer(){const e=this.leafletDirective.getMap(),t=Fce.mapToArray(this.baseLayers);let n;e.eachLayer(e=>{n=t.find(t=>e===t)}),null!=n?this.baseLayer=n:t.length>0&&(this.baseLayer=t[0],this.zone.runOutsideAngular(()=>{this.baseLayer.addTo(e)}))}static{this.ɵfac=MY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Gce,deps:[{token:Vce},{token:EZ},{token:dD}],target:hG.Directive})}static{this.ɵdir=EY({minVersion:"14.0.0",version:"20.0.3",type:Gce,isStandalone:!0,selector:"[leafletBaseLayers]",inputs:{baseLayers:["leafletBaseLayers","baseLayers"],layersControlOptions:["leafletLayersControlOptions","layersControlOptions"]},outputs:{layersControlReady:"leafletLayersControlReady"},ngImport:e})}}IY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Gce,decorators:[{type:eq,args:[{selector:"[leafletBaseLayers]"}]}],ctorParameters:()=>[{type:Vce},{type:EZ},{type:dD}],propDecorators:{baseLayers:[{type:iq,args:["leafletBaseLayers"]}],layersControlOptions:[{type:iq,args:["leafletLayersControlOptions"]}],layersControlReady:[{type:rq,args:["leafletLayersControlReady"]}]}});class Zce{static{this.ɵfac=MY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Zce,deps:[],target:hG.NgModule})}static{this.ɵmod=NY({minVersion:"14.0.0",version:"20.0.3",ngImport:e,type:Zce,imports:[Vce,jce,Hce,Wce,Gce],exports:[Vce,jce,Hce,Wce,Gce]})}static{this.ɵinj=LY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Zce})}}IY({minVersion:"12.0.0",version:"20.0.3",ngImport:e,type:Zce,decorators:[{type:aq,args:[{imports:[Vce,jce,Hce,Wce,Gce],exports:[Vce,jce,Hce,Wce,Gce]}]}]});var Yce=function(){function e(e){var t=this;this.http=e,this.autocomplete=function(e,n,i){var r={query:e,offset:0,size:10,filter:n};i&&(r.dislodgedDevices=i);var s=j5.KT+j5.vZ.banksearch.autocomplete;return t.http.post(s,r).pipe(Ox(function(e){return e}))},this.search=function(e,n,i,r,s){i&&(r=(0,$g.fX)((0,$g.fX)([],(0,$g.zs)(i),!1),(0,$g.zs)(r),!1));var o={type:"BankstellenSuche",center:{type:"Geo",lat:e.lat,lng:e.lng}
1,bottomLeft:{type:"Geo",lat:n.getSouthWest().lat,lng:n.getSouthWest().lng},topRight:{type:"Geo",lat:n.getNorthEast().lat,lng:n.getNorthEast().lng},offset:0,size:1600,filter:r};return s&&(o.dislodgedDevices=s),t.http.post(j5.KT+j5.vZ.banksearch.contents,o).pipe(Ox(function(e){return e}))},this.initLoad=function(e,n,i,r,s,o){void 0===s&&(s=0),void 0===o&&(o=1600);var a={type:"BankstellenSuche",center:e?{type:"Geo",lat:e.lat,lng:e.lng}:{},bottomLeft:{type:"Geo",lat:n.lat,lng:n.lng},topRight:{type:"Geo",lat:i.lat,lng:i.lng},offset:s,size:o,filter:r};return t.http.post(j5.KT+j5.vZ.banksearch.contents,a).pipe(Ox(function(e){return e}))},this.info=function(e){return t.http.get(j5.KT+j5.vZ.banksearch.info+e).pipe(Ox(function(e){return e}))},this.getFilters=function(){return t.http.get(j5.KT+j5.vZ.banksearch.filter).pipe(Ox(function(e){return e}))},this.getBankBranchURL=function(e,n){var i=new r1;return i=(i=i.append("instituteId",e)).append("searchPath",n),t.http.get(j5.KT+j5.vZ.banksearch.conversion,{params:i}).pipe(Ox(function(e){return e}))},this.getUserPosition=function(){return new jg.c(function(e){"geolocation"in navigator?navigator.geolocation.getCurrentPosition(function(t){return e.next(t.coords),t.coords},function(t){e.error(t)}):e.error("Geolocation not available")})}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),Kce=function(){function e(){this.labels={rlb:"Raiffeisenlandesbank",rb:"Raiffeisenbank",rk:"Raiffeisenkasse",rbb:"Raiffeisenbezirksbank",rrb:"Raiffeisenregionalbank"}}return e.prototype.transform=function(e){var t;switch(!0){case e.includes(this.labels.rlb):t=e.replace(/Raiffeisenlandesbank/g,'<abbr aria-label="'+this.labels.rlb+'" title="'+this.labels.rlb+'">RLB</abbr>');break;case e.includes(this.labels.rb):t=e.replace(/Raiffeisenbank/g,'<abbr aria-label="'+this.labels.rb+'"  title="'+this.labels.rb+'">RB</abbr>');break;case e.includes(this.labels.rk):t=e.replace(/Raiffeisenkasse/g,'<abbr aria-label="'+this.labels.rk+'"  title="'+this.labels.rk+'">RK</abbr>');break;case e.includes(this.labels.rbb):t=e.replace(/Raiffeisenbezirksbank/g,'<abbr aria-label="'+this.labels.rbb+'"  title="'+this.labels.rbb+'">RBB</abbr>');break;case e.includes(this.labels.rrb):t=e.replace(/Raiffeisenregionalbank/g,'<abbr aria-label="'+this.labels.rrb+'"  title="'+this.labels.rrb+'">RRB</abbr>');break;default:t=e}return t},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"shortBankName",type:e,pure:!0,standalone:!1}),e}();function Jce(e,t){if(1&e&&(r$(0,"span",1),VH(1),s$()),2&e){var n=qj();$A(),JH(n.bankstelle)}}var Xce=function(){function e(){this.output=new rD,this.bankname="",this.bankstelle=""}return e.prototype.ngOnInit=function(){if(this.data.name){var e=this.data.name.split(",");this.bankname=e[0],this.bankstelle=e[1]}},e.prototype.viewDetail=function(){this.output.emit(this.data)},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["html-marker"]],inputs:{data:"data"},outputs:{output:"output"},standalone:!1,decls:14,vars:9,consts:[[3,"innerHtml"],[1,"d-block"],["href","javascript:void(0)",1,"arrow-link",3,"click"],["data-aria","hidden",1,"icon-paging_arrow_right"],[1,"text-link"]],template:function(e,t){1&e&&(r$(0,"h4"),o$(1,"span",0),nU(2,"shortBankName"),nU(3,"shortBankName"),HV(4,Jce,2,1,"span",1),s$(),r$(5,"p"),VH(6),o$(7,"br"),VH(8),s$(),r$(9,"p")(10,"a",2),jj("click",function(){return t.viewDetail()}),o$(11,"span",3),r$(12,"span",4),VH(13,"Details anzeigen"),s$()()()),2&e&&($A(),n$("innerHtml","DISL"===t.data.bankType?iU(2,5,"SB-Standort "+t.bankname):iU(3,7,t.bankname),WI),$A(3),UV(t.bankstelle?4:-1),$A(2),JH(t.data.address.street),$A(2),QH("",t.data.address.postalCode," ",t.data.address.city))},dependencies:[Kce],encapsulation:2}),e}(),Qce=function(){function e(e,t){this.elementRef=e,this.renderer2=t,this.ngxSwipeX=new rD,this.ngxSwipeY=new rD,this.onDestroy$=new Gg}return e.prototype.ngOnInit=function(){var e=this;this.renderer2.setStyle(this.elementRef.nativeElement,"touch-action","none");var t=this.listen("pointerdown").pipe(RQ(function(t){var n={origin:{x:t.pageX,y:t.pageY},current:{x:t.pageX,y:t.pageY}};return e.listen("pointermove").pipe(Ox(function(e){return{x:e.pageX,y:e.pageY}}),E8(function(e,t){return(0,$g.Cl)((0,$g.Cl)({},e),{current:{x:t.x-e.origin.x,y:t.y-e.origin.y}})},n),D8(e.listen("pointerup")))}),D8(this.onDestroy$),P0());t.pipe(Ox(function(e){return e.current.x}),Bae()).subscribe(this.ngxSwipeX),t.pipe(Ox(function(e){return e.current.y}),Bae()).subscribe(this.ngxSwipeY)},e.prototype.ngOnDestroy=function(){this.onDestroy$.next(),this.onDestroy$.complete()},e.prototype.listen=function(e){var t=this;return new jg.c(function(n){return t.renderer2.listen(t.elementRef.nativeElement,e,function(e){return n.next(e)})})},e.ɵfac=function(t){return new(t||e)(qP(xC),qP(OP))},e.ɵdir=NN({type:e,selectors:[["","ngxSwipeX",""],["","ngxSwipeY",""]],outputs:{ngxSwipeX:"ngxSwipeX",ngxSwipeY:"ngxSwipeY"},standalone:!1}),e}(),eue=function(){function e(){}return e.prototype.transform=function(e){var t=!1;return e.forEach(function(e){0!==e.intervals.length&&(t=!0)}),t},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"isOpenFilter",type:e,pure:!0,standalone:!1}),e}(),tue=function(){function e(){}return e.prototype.transform=function(e){var t="";return e.forEach(function(n,i){t+=n.open+" - "+n.close,i!==e.length-1&&(t+=", ")}),t},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"openingHours",type:e,pure:!0,standalone:!1}),e}();function nue(e,t){if(1&e&&o$(0,"div",3),2&e){var n=qj(2);SH(vz("opening-hours ",n.openCloseStateStyle)),n$("innerText",n.isOpen(n.openingHours,n.consultingHours))}}function iue(e,t){1&e&&o$(0,"p",9),2&e&&n$("innerText",qj(3).noteOpeningHours)}function rue(e,t){1&e&&o$(0,"p",10),2&e&&n$("translate","BANKSEARCH_NO_COUNTER_TRAFFIC")}function sue(e,t){1&e&&o$(0,"p",3),2&e&&n$("innerText",qj(3).noteTemporarilyClosed)}function oue(e,t){if(1&e&&(r$(0,"dd",12),VH(1),nU(2,"openingHours"),s$()),2&e){var n=qj().$implicit;$A(),JH(iU(2,1,n.intervals))}}function aue(e,t){1&e&&o$(0,"dd",13),2&e&&n$("translate","CLOSED")}function lue(e,t){if(1&e&&(o$(0,"dt",11),HV(1,oue,3,3,"dd",12),HV(2,aue,1,1,"dd",13)),2&e){var n=t.$implicit;n$("translate",null!==n.day?"WEEKDAY_"+n.day:"WEEKDAY_ALL"),$A(),UV(n.intervals.length>0?1:-1),$A(),UV(0==n.intervals.length?2:-1)}}function cue(e,t){if(1&e&&(r$(0,"dl"),YV(1,lue,3,3,null,null,GV),s$()),2&e){var n=qj(3);$A(),XV(n.openingHours.periods)}}function uue(e,t){1&e&&o$(0,"p",9),2&e&&n$("innerText",qj(5).noteConsultingHours)}function due(e,t){if(1&e&&(o$(0,"dt",11)(1,"dd",16),nU(2,"openingHours")),2&e){var n=qj().$implicit;n$("translate",null!==n.day?"WEEKDAY_"+n.day:"WEEKDAY_ALL_CONSULTING"),$A(),n$("innerText",iU(2,2,n.intervals))}}function hue(e,t){1&e&&HV(0,due,3,4),2&e&&UV(t.$implicit.intervals.length>0?0:-1)}function pue(e,t){if(1&e&&o$(0,"a",15),2&e){var n=qj(5);n$("innerText",n.adviserLink.adviserLinkText)("target",n.adviserLink.adviserTarget)("href",n.adviserLink.adviserLinkUrl,ZI)}}function fue(e,t){if(1&e&&(r$(0,"div",14),o$(1,"h4",8),HV(2,uue,1,1,"p",9),r$(3,"dl"),YV(4,hue,1,1,null,null,GV),s$(),HV(6,pue,1,3,"a",15),s$()),2&e){var n=qj(4);$A(),n$("translate",n.customLabels.labelConsultationTimes?n.customLabels.labelConsultationTimes:"OFFICE_HOURS"),$A(),UV(n.noteConsultingHours?2:-1),$A(2),XV(n.consultingHours.periods),$A(2),UV(n.validAdviserLink(n.adviserLink)?6:-1)}}function mue(e,t){1&e&&(HV(0,fue,7,3,"div",14),nU(1,"isOpenFilter")),2&e&&UV(iU(1,1,qj(3).consultingHours.periods)?0:-1)}function gue(e,t){if(1&e){var n=w$();r$(0,"button",4),jj("click",function(){return a_(n),l_(qj(2).collapseContainer())}),o$(1,"span",3)(2,"span",5),s$(),r$(3,"div",6)(4,"div",7),o$(5,"h4",8),HV(6,iue,1,1,"p",9),HV(7,rue,1,1,"p",10),HV(8,sue,1,1,"p",3),HV(9,cue,3,0,"dl"),s$(),HV(10,mue,2,3),s$()}if(2&e){var i=qj(2);SH(vz("btn-clear opening-hours ",i.openCloseStateStyle)),xH("collapsed",!i.collapse),sV("toggle-collapse",i.getCollapseId(!0))("aria-expanded",i.collapse)("aria-controls",i.getCollapseId(!1)),$A(),n$("innerText",i.isOpen(i.openingHours,i.consultingHours)),$A(2),xH("show",i.collapse),n$("id",i.getCollapseId(!1)),$A(2),n$("translate",i.customLabels.labelBankOpenHours?i.customLabels.labelBankOpenHours:"OPENING_HOURS"),$A(),UV(i.noteOpeningHours?6:-1),$A(),UV(i.bankCounter?-1:7),$A(),UV(i.noteTemporarilyClosed?8:-1),$A(),UV(i.noteTemporarilyClosed?-1:9),$A
1(),UV(i.consultingOutsideOpeningHours?10:-1)}}function vue(e,t){if(1&e&&(r$(0,"h2",0),VH(1),nU(2,"translate"),s$(),r$(3,"div",1),HV(4,nue,1,4,"div",2),HV(5,gue,11,18),s$()),2&e){var n=qj();$A(),JH(iU(2,3,"OPENING_HOURS_BANK")),$A(3),UV(n.onlyLabel?4:-1),$A(),UV(n.onlyLabel?-1:5)}}var yue=function(){function e(e,t,n){this.cd=e,this.translate=t,this.bankSearch=n,this.consultingOutsideOpeningHours=!0,this.onlyLabel=!1,this.bankCounter=!0,this.customLabels={labelBankOpenHours:"",labelConsultationTimes:""},this.adviserLink={adviserLinkText:"",adviserLinkUrl:"",adviserTarget:""},this.collapse=!1,this.stringToObj=function(e){if(e&&"string"==typeof e){var t=e.replace(/\'/g,'"'),n=JSON.parse(JSON.stringify(t));return"string"==typeof n&&(n=JSON.parse(n)),n}return e}}return e.prototype.ngAfterContentChecked=function(){this.cd.detectChanges()},e.prototype.ngOnInit=function(){"string"==typeof this.collapse&&(this.collapse=JSON.parse(this.collapse)),this.customLabels=this.stringToObj(this.customLabels),this.adviserLink=this.stringToObj(this.adviserLink),this.loadBankDetails()},e.prototype.loadBankDetails=function(){var e=this;this.bankid&&W5.r.getObservableToken().pipe(FQ(function(e){return null!=e})).subscribe(function(){e.bankSearch.info(e.bankid).subscribe(function(t){t&&(e.consultingHours=t.consultingHours,e.openingHours=t.openingHours,e.noteOpeningHours=t.hinweise_oeffnungszeiten,e.noteConsultingHours=t.hinweise_beratungszeiten,e.consultingOutsideOpeningHours=t.consultingOutsideOpeningHours,e.noteTemporarilyClosed=e.temporarilyClosed(t),e.bankCounter=t.bankCounter,e.cd.detectChanges())})})},e.prototype.temporarilyClosed=function(e){return e.temporarilyClosedFrom||e.temporarilyClosedTo?e.hinweise_schliessung:null},e.prototype.getCollapseId=function(e){return(e?"#":"")+"result-item-collapse-"+this.index},e.prototype.collapseContainer=function(){this.collapse=!this.collapse,this.cd.detectChanges()},e.prototype.isOpen=function(e,t){var n,i,r;switch(!0){case null!==this.noteTemporarilyClosed&&t.openNow&&this.consultingOutsideOpeningHours:n="TEMPORARILY_CLOSED_CONSULTING",r="closed";break;case null!==this.noteTemporarilyClosed:n="TEMPORARILY_CLOSED",r="closed";break;case e.closedToday&&t.openNow&&this.consultingOutsideOpeningHours:n="CLOSED_TODAY_CONSULTING",r="closed";break;case e.closedToday:n="CLOSED_TODAY",r="closed";break;case e.openNow&&null!==e.openNowInterval:n="CLOSES_SOON",i=e.openNowInterval.open+"-"+e.openNowInterval.close,r="closes-soon";break;case e.openNow&&null===e.openNowInterval:n="NOW_OPENED",r="opened";break;case!e.openNow&&null!==e.openNowInterval:n="NOW_CLOSED_OPENS_AT",i=e.openNowInterval.open,r="closed";break;case t.openNow&&this.consultingOutsideOpeningHours:n="NOW_CLOSED_CONSULTING",r="closed";break;default:n="NOW_CLOSED",r="closed"}return this.openCloseStateStyle!==r&&this.updateStyle(r),this.translate.instant(n,{time:i})},e.prototype.updateStyle=function(e){this.openCloseStateStyle=e,this.cd.detectChanges()},e.prototype.strToBool=function(e){return/^\s*(true|1|on)\s*$/i.test(e)},e.prototype.validAdviserLink=function(e){return""!==e.adviserLinkText&&""!==e.adviserLinkUrl},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Q0),qP(Yce))},e.ɵcmp=DN({type:e,selectors:[["opening-hours"]],inputs:{bankid:"bankid",consultingHours:"consultingHours",openingHours:"openingHours",noteConsultingHours:"noteConsultingHours",noteOpeningHours:"noteOpeningHours",noteTemporarilyClosed:"noteTemporarilyClosed",consultingOutsideOpeningHours:"consultingOutsideOpeningHours",index:"index",onlyLabel:"onlyLabel",bankCounter:"bankCounter",customLabels:"customLabels",adviserLink:"adviserLink",collapse:"collapse"},standalone:!1,decls:1,vars:1,consts:[[1,"d-none","text-center"],[1,"bank-content-wrapper"],[3,"class","innerText"],[3,"innerText"],["role","button",3,"click"],["aria-hidden","true",1,"icon-dropdown"],[1,"collapse",3,"id"],[1,"opening-hours-details"],[3,"translate"],[1,"time-note",3,"innerText"],[1,"time-note",3,"translate"],[1,"weekday",3,"translate"],[1,"open-hours"],[1,"open-hours",3,"translate"],[1,"consulting-hours"],[1,"text-link",3,"innerText","target","href"],[1,"open-hours",3,"innerText"]],template:function(e,t){1&e&&HV(0,vue,6,5),2&e&&UV(t.openingHours?0:-1)},dependencies:[e2,t2,eue,tue],encapsulation:2}),e}();function bue(e,t){if(1&e){var n=w$();r$(0,"a",3),jj("click",function(){return a_(n),l_(qj(2).createOverlay())}),s$()}if(2&e){var i=qj(2);SH(vz("btn ",i.style)),n$("id",i.id)("href",i.getCtaUrl(i.data),ZI)("translate",i.data.params.linkText),sV("target",i.data.params.linkTarget)("rel","_blank"===i.data.params.linkTarget?"noopener noreferrer":"")("aria-labelledby",i.labelById
1)}}function wue(e,t){if(1&e){var n=w$();r$(0,"button",4),jj("click",function(e){a_(n);var t=qj(2);return l_(t.clickCta(e,t.data))}),s$()}if(2&e){var i=qj(2);SH(vz("btn ",i.style)),n$("id",i.id)("translate",i.data.params.linkText),sV("aria-labelledby",i.labelById)}}function _ue(e,t){if(1&e&&(r$(0,"div",0),HV(1,bue,1,9,"a",1),HV(2,wue,1,6,"button",2),s$()),2&e){var n=qj();$A(),UV("link"===n.data.action?1:-1),$A(),UV("link"!==n.data.action?2:-1)}}var xue=new $5.Fv,kue=function(){function e(e,t){this.bsService=e,this.translate=t,this.style="btn-primary"}return e.prototype.getCtaUrl=function(e){return"WEBSITE_URL"===e.params.linkUrl?this.result.contact.website:e.params.linkUrl},e.prototype.clickCta=function(e,t){switch(t.action){case"redirect":this.forwardToBranchPage(e,this.suffix);break;case"selectUsersBranch":this.chooseBank(!0)}},e.prototype.chooseBank=function(e){var t=this.result;xue.set($5.YM.branch,{id:t.id,name:t.name,address:t.address,bankNumber:t.bankNumber,blz:t.blz,geolocation:t.geolocation},"",$5.YM.otGroupBranch),Q5.Z.publish("userbranch.update",""),e&&E5.A.closeFancybox()},e.prototype.createOverlay=function(){var e=document.createElement("div");e.className="redirect-overlay",e.innerHTML='\n                        <div class="redirect-overlay__content">\n                            <span class="icon icon-check_circle"></span>\n                            <h2>'.concat(this.translate.instant("REDIRECT_TO_BANK"),"</h2>\n                            <p>").concat(this.result.name,'</p>\n                            <div class="redirect-overlay__loader">\n                                <span></span>\n                                <span></span>\n                                <span></span>\n                            </div>\n                        </div>\n                    '),document.body.appendChild(e)},e.prototype.forwardToBranchPage=function(e,t){var n=this;e.preventDefault(),this.bsService.getBankBranchURL(this.result.id,t).subscribe(function(e){null!==e&&(n.createOverlay(),E5.A.eventTracking(n.trackingProp.active,n.trackingProp.categorie,"Zum Angebot",{ctaType:n.trackingProp.type}),n.chooseBank(!1),window.location.href=e)})},e.ɵfac=function(t){return new(t||e)(qP(Yce),qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["cta-btn"]],inputs:{id:"id",data:"data",suffix:"suffix",result:"result",style:"style",labelById:"labelById",trackingProp:"trackingProp"},standalone:!1,decls:1,vars:1,consts:[[1,"btn-wrapper"],[3,"class","id","href","translate"],["type","button",3,"id","class","translate"],[3,"click","id","href","translate"],["type","button",3,"click","id","translate"]],template:function(e,t){1&e&&HV(0,_ue,3,2,"div",0),2&e&&UV(t.data?0:-1)},dependencies:[e2],encapsulation:2}),e}(),Cue=function(){function e(){}return e.prototype.transform=function(e,t){var n,i,r=[];try{for(var s=(0,$g.Ju)(e),o=s.next();!o.done;o=s.next()){var a=o.value;r.push(a+"-"+t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return r.toString().replace(/,/g," ")},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"labelByIds",type:e,pure:!0,standalone:!1}),e}(),Sue=function(){return["headline"]},Tue=function(){return["detailpage-link"]},Eue=function(){return["headline","detailpage-link"]},Iue=function(){return["destination-link"]},Aue=function(){return["headline","destination-link"]},Due=function(){return["primary-btn"]},Mue=function(){return["headline","primary-btn"]},Oue=function(){return["secondary-btn"]},Pue=function(){return["headline","secondary-btn"]};function Lue(e,t){1&e&&(o$(0,"span",2),nU(1,"translate")),2&e&&sV("aria-label",iU(1,1,"EMPLOYEE_LOCATION"))}function Nue(e,t){1&e&&o$(0,"img",3),2&e&&sV("aria-label","ATM")}function Rue(e,t){if(1&e&&(r$(0,"div",8),o$(1,"opening-hours",14),s$()),2&e){var n=qj();$A(),n$("openingHours",n.result.openingHours)("consultingHours",n.result.consultingHours)("noteOpeningHours",n.result.hinweise_oeffnungszeiten)("noteConsultingHours",n.result.hinweise_beratungszeiten)("noteTemporarilyClosed",n.temporarilyClosed(n.result))("bankCounter",n.result.bankCounter)("index",n.counter)}}function Bue(e,t){if(1&e&&(r$(0,"div",10)(1,"a",15),nU(2,"labelByIds"),nU(3,"labelByIds"),o$(4,"span",12),r$(5,"span",13)(6,"span"),VH(7),nU(8,"translate"),s$(),o$(9,"span",16),nU(10,"translate"),s$()()()),2&e){var n=qj();$A(),n$("href",yz("https://www.google.com/maps/dir/?api=1&destination=",n.result.geolocation.lat,",",n.result.geolocation.lng),ZI)("id",rU(2,7,$z(17,Iue),n.result.id)),sV("aria-labelledby",rU(3,10,$z(18,Aue),n.result.id)),$A(6),JH(iU(8,13,"BANKSEARCH_ROUTING_PLANNER")),$A(2),sV("aria-label",iU(10,15,"LINK_NEW_TAB"))}}function Fue(e,t){if(1&e&&(r$(0,"div",6)(1,"div",17),o$(2,"cta-btn",18),nU(3,"labelByIds"),nU(4,"labelByIds"),o$(5,"cta-btn",19),nU(6,"labelByIds"),nU(7,"labelByIds"),s$()()),2&e){var n=qj();$A(2),n$("id",rU(3,14,$z(26,Due),n.result.id))("data",n.params.ctaPrimary)("suffix",n.params.suffix)("result",n.result)("trackingProp",n.trackingProp)("labelById",rU(4,17,$z(27,Mue),n.result.id)),$A(3),kH(n.params.ctaPrimary?"btn-secondary":"btn-primary"),n$("id",rU(6,20,$z(28,Oue),n.result.id))("data",n.params.ctaSecondary)("suffix",n.params.suffix)("result",n.result)("labelById",rU(7,23,$z(29,Pue),n.result.id))("trackingProp",n.trackingProp)}}var Vue=function(){function e(){this.viewDetails=new rD}return e.prototype.getCollapseId=function(e,t){return(t?"#":"")+"result-item-collapse-"+e},e.prototype.temporarilyClosed=function(e){return e.temporarilyClosedFrom||e.temporarilyClosedTo?e.hinweise_schliessung:null},e.prototype.showDetail=function(e){this.viewDetails.emit(e)},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["result-item"]],inputs:{result:"result",params:"params",counter:"counter",trackingProp:"trackingProp"},outputs:{viewDetails:"viewDetails"},standalone:!1,decls:29,vars:33,consts:[[1,"result-item"],[1,"location-img"],[1,"icon-rai"],["aria-hidden","true","src","/apps/settings/wcm/designs/cms/images/sb_logo.svg",1,"w-100"],[1,"general-info"],["href","javascript:void(0)",3,"click","id","innerHtml"],[1,"row"],[1,"col-12","col-sm-7","order-1","order-sm-1"],[1,"col-12","order-2","order-sm-3"],[1,"col-12","col-sm-5","order-3","order-sm-2"],[1,"link-wrapper"],[1,"btn-clear","arrow-link","text-body",3,"click","id"],["data-aria","hidden",1,"icon-paging_arrow_right"],[1,"text-link"],[3,"openingHours","consultingHours","noteOpeningHours","noteConsultingHours","noteTemporarilyClosed","bankCounter","index"],["target","_blank",1,"arrow-link",3,"id","href"],[1,"icon-open_link","position-relative"],[1,"col-12"],[3,"id","data","suffix","result","trackingProp","labelById"],[3,"id","data","suffix","result","labelById","trackingProp"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1),HV(2,Lue,2,3,"span",2),HV(3,Nue,1,1,"img",3),s$(),r$(4,"div",4)(5,"h3")(6,"a",5),nU(7,"labelByIds"),nU(8,"shortBankName"),nU(9,"shortBankName"),jj("click",function(){return t.showDetail(t.result)}),s$()(),r$(10,"div",6)(11,"div",7)(12,"p"),VH(13),s$(),r$(14,"p"),VH(15),s$()(),HV(16,Rue,2,7,"div",8),r$(17,"div",9),HV(18,Bue,11,19,"div",10),r$(19,"div",10)(20,"button",11),nU(21,"labelByIds"),nU(22,"labelByIds"),jj("click",function(){return t.showDetail(t.result)}),o$(23,"span",12),r$(24,"span",13),VH(25),nU(26,"translate"),nU(27,"translate"),s$()()()()(),HV(28,Fue,8,30,"div",6),s$()()),2&e&&($A(2),UV("DISL"!==t.result.bankType?2:-1),$A(),UV("DISL"===t.result.bankType?3:-1),$A(3),n$("id",rU(7,13,$z(30,Sue),t.result.id))("innerHtml","DISL"===t.result.bankType?"SB-Standort "+(t.result.name?iU(8,16,t.result.name):""):iU(9,18,t.result.name),WI),$A(7),JH(t.result.address.street),$A(2),QH("",t.result.address.postalCode," ",t.result.address.city),$A(),UV("DISL"!==t.result.bankType?16:-1),$A(2),UV(t.params.hideRoutePlaner?-1:18),$A(2),n$("id",rU(21,20,$z(31,Tue),t.result.id)),sV("aria-labelledby",rU(22,23,$z(32,Eue),t.result.id)),$A(5),XH(" ","DISL"===t.result.bankType?iU(26,26,"BANKSEARCH_SHOW_DETAILPAGE_SB"):iU(27,28,"BANKSEARCH_SHOW_DETAILPAGE")," "),$A(3),UV("DISL"!==t.result.bankType?28:-1))},dependencies:[yue,kue,t2,Kce,Cue],encapsulation:2}),e}(),$ue=o(550),jue=o.n($ue),Hue=function(){return["headline-details"]},zue=function(){return["primary-btn-details"]},Uue=function(){return["headline-details","primary-btn-details"]},que=function(){return["secondary-btn-details"]},Wue=function(){return["headline-details","secondary-btn-details"]},Gue=function(){return["route-planner-details"]},Zue=function(){return["headline-details","route-planner-details"]};function Yue(e,t){1&e&&o$(0,"span",18),2&e&&SH("icon-"+qj().result.serviceType.toLowerCase())}function Kue(e,t){1&e&&o$(0,"img",5)}function Jue(e,t){if(1&e&&(r$(0,"div",13)(1,"a",19),o$(2,"span",20),r$(3,"span",21)(4,"span"),VH(5),nU(6,"translate"),s$(),o$(7,"span",22),nU(8,"translate"),s$()()()),2&e){var n=qj();$A(),n$("href",yz("https://www.google.com/maps/dir/?api=1&destination=",n.result.geolocation.lat,",",n.result.geolocation.lng),ZI),$A(4),JH(iU(6,5,"BANKSEARCH_ROUTING_PLANNER")),$A(2),sV("aria-label",iU(8,7,"LINK_NEW_TAB"))}}function Xue(e,t){if(1&e&&o$(0,"source",24),2&e){var n=qj(2);sV("srcset",n.result.listImage.xs.res1x+" 1x,"+n.result.listImage.xs.res2x+" 2x")}}function Que(e,t){if(1&e&&o$(0,"source",25),2&e){var n=qj(2);sV("srcset",n.result.listImage.sm.res1x+" 1x, "+n.result.listImage.sm.res2x+" 2x")}}function ede(e,t){if(1&e&&o$(0,"source",26),2&e){var n=qj(2);sV("srcset",n.result.listImage.sm.res1x+" 1x, "+n.result.listImage.sm.res2x+" 2x")}}function tde(e,t){if(1&e&&o$(0,"img",27),2&e){var n=qj(2);n$("alt",n.result.listImage.alt),sV("srcset",n.result.listImage.xs.res1x+" 1x, "+n.result.listImage.xs.res2x+" 2x")}}
1function nde(e,t){if(1&e&&(r$(0,"div",28),o$(1,"span",29),s$()),2&e){var n=qj(2);$A(),n$("innerText",n.result.imageCopyRight)}}function ide(e,t){if(1&e&&(r$(0,"figure",15)(1,"div",23)(2,"picture"),HV(3,Xue,1,1,"source",24),HV(4,Que,1,1,"source",25),HV(5,ede,1,1,"source",26),HV(6,tde,1,2,"img",27),s$(),HV(7,nde,2,1,"div",28),s$()()),2&e){var n=qj();$A(3),UV(n.result.listImage.xs?3:-1),$A(),UV(n.result.listImage.sm?4:-1),$A(),UV(n.result.listImage.sm?5:-1),$A(),UV(n.result.listImage.xs?6:-1),$A(),UV(n.result.imageCopyRight?7:-1)}}function rde(e,t){1&e&&(r$(0,"figure",15)(1,"div",23)(2,"picture"),o$(3,"img",30),s$()()())}function sde(e,t){if(1&e&&(o$(0,"a",36),nU(1,"translate")),2&e){var n=t.$implicit,i=t.$index,r=t.$count;n$("href","tel:"+n,ZI)("innerText",i!==r-1?n+",":n),sV("aria-label",iU(1,3,"PHONENUMBER")+": "+n)}}function ode(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",35),YV(2,sde,2,5,"a",36,GV),s$()),2&e){var n=qj(2);$A(2),XV(n.phoneNumberArray)}}function ade(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",37)(2,"a",38),s$()),2&e){var n=qj(2);$A(2),n$("href",n.result.contact.chat,ZI)("translate","BANKSEARCH_CHAT")}}function lde(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",39)(2,"a",40),nU(3,"translate"),s$()),2&e){var n=qj(2);$A(2),n$("href","mailto:"+n.result.contact.email,ZI)("innerText",n.result.contact.email),sV("aria-label",iU(3,3,"EMAIL")+": "+n.result.contact.email)}}function cde(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",41)(2,"a",42),s$()),2&e){var n=qj(2);$A(2),n$("href",n.result.contact.website,ZI)("translate","BANKSEARCH_WEBSITE")}}function ude(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",43)(2,"a",44),nU(3,"labelByIds"),nU(4,"labelByIds"),s$()),2&e){var n=qj(2);$A(2),n$("id",rU(3,3,$z(9,Gue),n.result.id))("href",n.result.routePlanner,ZI),sV("aria-labelledby",rU(4,6,$z(10,Zue),n.result.id))}}function dde(e,t){if(1&e&&(r$(0,"div",16),o$(1,"opening-hours",31),r$(2,"div",32)(3,"ul"),HV(4,ode,4,0,"li"),HV(5,ade,3,2,"li"),HV(6,lde,4,5,"li"),HV(7,cde,3,2,"li"),HV(8,ude,5,11,"li"),s$()(),r$(9,"div",33),o$(10,"cta-btn",34),nU(11,"labelByIds"),nU(12,"labelByIds"),o$(13,"cta-btn",34),nU(14,"labelByIds"),nU(15,"labelByIds"),s$()()),2&e){var n=qj();$A(),n$("openingHours",n.result.openingHours)("consultingHours",n.result.consultingHours)("noteOpeningHours",n.result.hinweise_oeffnungszeiten)("noteConsultingHours",n.result.hinweise_beratungszeiten)("noteTemporarilyClosed",n.temporarilyClosed(n.result))("consultingOutsideOpeningHours",n.result.consultingOutsideOpeningHours)("bankCounter",n.result.bankCounter)("index",n.counter),$A(3),UV(n.result.contact.telephone?4:-1),$A(),UV(n.result.contact.chat?5:-1),$A(),UV(n.result.contact.email?6:-1),$A(),UV(n.result.contact.website?7:-1),$A(),UV(n.result.routePlanner?8:-1),$A(2),kH("btn-primary"),n$("data",n.params.ctaPrimary)("suffix",n.params.suffix)("result",n.result)("trackingProp",n.trackingProp)("id",rU(11,29,$z(41,zue),n.result.id))("labelById",rU(12,32,$z(42,Uue),n.result.id)),$A(3),kH(n.params.ctaPrimary?"btn-secondary":"btn-primary"),n$("data",n.params.ctaSecondary)("suffix",n.params.suffix)("result",n.result)("trackingProp",n.trackingProp)("id",rU(14,35,$z(43,que),n.result.id))("labelById",rU(15,38,$z(44,Wue),n.result.id))}}function hde(e,t){1&e&&(r$(0,"li"),o$(1,"span",50),s$()),2&e&&($A(),n$("translate","zugangBarrierefrei"))}function pde(e,t){1&e&&(r$(0,"li"),o$(1,"span",52)(2,"span",50),s$()),2&e&&($A(2),n$("translate","zugangBarrierefrei_false"))}function fde(e,t){1&e&&(r$(0,"li"),o$(1,"span",50),s$()),2&e&&($A(),n$("translate","hoeheBarrierefrei"))}function mde(e,t){1&e&&(r$(0,"li"),o$(1,"span",52)(2,"span",50),s$()),2&e&&($A(2),n$("translate","hoeheBarrierefrei_false"))}function gde(e,t){1&e&&(r$(0,"li"),o$(1,"span",50),s$()),2&e&&($A(),n$("translate","unterfahrbar"))}function vde(e,t){1&e&&(r$(0,"li"),o$(1,"span",50),s$()),2&e&&($A(),n$("translate","unteresTastenfeld"))}function yde(e,t){1&e&&(r$(0,"li"),o$(1,"span",50),s$()),2&e&&($A(),n$("translate","sprachausgabe"))}function bde(e,t){1&e&&(r$(0,"li"),o$(1,"span",50),s$()),2&e&&($A(),n$("translate","nfc"))}function wde(e,t){if(1&e&&(r$(0,"ul",51),HV(1,hde,2,1,"li"),HV(2,pde,3,1,"li"),HV(3,fde,2,1,"li"),HV(4,mde,3,1,"li"),HV(5,gde,2,1,"li"),HV(6,vde,2,1,"li"),HV(7,yde,2,1,"li"),HV(8,bde,2,1,"li"),s$()),2&e){var n=qj().$implicit;$A(),UV(n.zugangBarrierefrei?1:-1),$A(),UV(n.zugangBarrierefrei?-1:2),$A(),UV(n.hoeheBarrierefrei?3:-1),$A(),UV(n.hoeheBarrierefrei?-1:4),$A(),UV(n.unterfahrbar?5:-1),$A(),UV(n.unteresTastenfeld?6:-1),$A(),UV(n.sprachausgabe?7:-1),$A(),UV(n.nfc?8:-1)}}function _de(e,t){1&e&&(r$(0,"li"),o$(1,"span",50),s$()),2&e&&($A(),n$("translate","nutzungBarrierefrei"))}function xde(e,t){1&e&&(r$(0,"li"),o$(1,"span",52)(2,"span",50),s$()),2&e&&($A(2),n$("translate","nutzungBarrierefrei_false"))}function kde(e,t){if(1&e&&(r$(0,"ul",51),HV(1,_de,2,1,"li"),HV(2,xde,3,1,"li"),s$()),2&e){var n=qj().$implicit;$A(),UV(n.zugangBarrierefrei?1:-1),$A(),UV(n.zugangBarrierefrei?-1:2)}}function Cde(e,t){if(1&e&&(r$(0,"li")(1,"div",48),o$(2,"span",49)(3,"span",50),s$(),HV(4,wde,9,8,"ul",51),HV(5,kde,3,2,"ul",51),s$()),2&e){var n=t.$implicit;$A(3),n$("translate",n.name),$A(),UV("muenzzaehlung"!==n.name&&"muenzrollenausgabe"!==n.name&&"UEBERWB"!==n.name?4:-1),$A(),UV("muenzzaehlung"==n.name||"muenzrollenausgabe"==n.name?5:-1)}}function Sde(e,t){if(1&e&&(r$(0,"div",17)(1,"h3")(2,"button",45),o$(3,"span",46),VH(4," Selbstbedienung "),s$()(),r$(5,"div",47)(6,"ul"),YV(7,Cde,6,3,"li",null,GV),s$()()()),2&e){var n=qj();$A(7),XV(n.result.selfServiceFunctions)}}var Tde=function(){function e(e){this.bsService=e,this.showImage=!0}return e.prototype.ngOnInit=function(){setTimeout(function(){jue()()},100),"DISL"!==this.result.bankType&&this.updatePhoneNumber()},e.prototype.updatePhoneNumber=function(){this.phoneNumberArray=this.result.contact.telephone.split(/\s*,\s*/)},e.prototype.ngOnChanges=function(e){"DISL"!==this.result.bankType&&this.updatePhoneNumber()},e.prototype.temporarilyClosed=function(e){return e.temporarilyClosedFrom||e.temporarilyClosedTo?e.hinweise_schliessung:null},e.ɵfac=function(t){return new(t||e)(qP(Yce))},e.ɵcmp=DN({type:e,selectors:[["result-details"]],inputs:{result:"result",params:"params",counter:"counter",trackingProp:"trackingProp"},standalone:!1,features:[ok],decls:25,vars:22,consts:[[1,"result-item","detail"],[1,"general-info"],[1,"d-flex","align-items-center"],[1,"result-type-icon"],["aria-hidden","true",3,"class"],["aria-hidden","true","src","/apps/settings/wcm/designs/cms/images/sb_logo.svg",1,"w-100"],[1,"visually-hidden"],[3,"id","innerHtml"],[1,"row","location"],[1,"col-12","col-sm-6","order-xs-1","order-sm-2"],["for","adress",3,"translate"],["id","adress"],[3,"innerText"],[1,"link-wrapper"],[1,"col-12","col-sm-6","order-xs-2","order-sm-1"],[1,"component-image"],[1,"d-flex","flex-column"],[1,"component-tab-accordion","component-accordion"],["aria-hidden","true"],["target","_blank",1,"arrow-link",3,"href"],["data-aria","hidden",1,"icon-paging_arrow_right"],[1,"text-link"],[1,"icon-open_link","position-relative"],[1,"image-wrapper"],["media","(min-width: 1220px)"],["media","(min-width: 768px) and (max-width: 1219px)"],["media","(min-width: 576px) and (max-width: 767px)"],["src","data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",3,"alt"],[1,"image-overlay"],[1,"image-copyright",3,"innerText"],["src","/apps/settings/wcm/designs/cms/images/fallback_sbGeraete.jpeg","alt","ATM"],[1,"order-1","order-md-0",3,"openingHours","consultingHours","noteOpeningHours","noteConsultingHours","noteTemporarilyClosed","consultingOutsideOpeningHours","bankCounter","index"],[1,"contact","order-2","order-md-0"],[1,"order-sm-0","order-md-2"],[3,"data","suffix","result","trackingProp","id","labelById"],[1,"icon","icon-phone"],[1,"underline-clickable","phone-number",3,"href","innerText"],[1,"icon","icon-speak_bubble"],["target","_blank","rel","noopener noreferrer",1,"underline-clickable",3,"href","translate"],[1,"icon","icon-message"],[1,"underline-clickable",3,"href","innerText"],[1,"icon","icon-web"],[1,"underline-clickable",3,"href","translate"],[1,"icon","icon-send"],["target","_blank","rel","noopener noreferrer","translate","'BANKSEARCH_ROUTE_P
1LANNER'",1,"underline-clickable",3,"id","href"],["id","selfServiceHeading","aria-expanded","false","aria-controls","selfServicePanel","data-bs-toggle","collapse","data-bs-target","#selfServicePanel",1,"btn-clear","accordion-heading","collapsed"],[1,"icon","icon-dropdown"],["id","selfServicePanel","role","region","aria-labelledby","selfServiceHeading",1,"services-accordion-panel","collapse"],[1,"d-flex"],["aria-hidden","true",1,"list-icon","icon-check"],[3,"translate"],[1,"services-nested-attributes"],[1,"icon-alert-outline"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1)(2,"div",2)(3,"span",3),HV(4,Yue,1,2,"span",4),HV(5,Kue,1,0,"img",5),r$(6,"span",6),VH(7),s$()(),o$(8,"h3",7),nU(9,"labelByIds"),nU(10,"shortBankName"),nU(11,"shortBankName"),s$()(),r$(12,"div",8)(13,"div",9),o$(14,"label",10),r$(15,"div",11),o$(16,"p",12),r$(17,"p"),VH(18),s$()(),HV(19,Jue,9,9,"div",13),s$(),r$(20,"div",14),HV(21,ide,8,5,"figure",15),HV(22,rde,4,0,"figure",15),s$()(),HV(23,dde,16,45,"div",16),HV(24,Sde,9,0,"div",17),s$()),2&e&&($A(4),UV("DISL"!==t.result.bankType?4:-1),$A(),UV("DISL"===t.result.bankType?5:-1),$A(2),JH("DISL"!==t.result.bankType?t.result.serviceType:"ATM"),$A(),n$("id",rU(9,14,$z(21,Hue),t.result.id))("innerHtml","DISL"===t.result.bankType?"SB-Standort "+(t.result.name?iU(10,17,t.result.name):""):iU(11,19,t.result.name),WI),$A(6),n$("translate","Adresse"),$A(2),n$("innerText",t.result.address.street),$A(2),QH("",t.result.address.postalCode," ",t.result.address.city),$A(),UV(t.params.hideRoutePlaner?-1:19),$A(2),UV(t.showImage&&t.result.listImage?21:-1),$A(),UV(t.showImage&&t.result.listImage||"DISL"!==t.result.bankType?-1:22),$A(),UV("DISL"!==t.result.bankType?23:-1),$A(),UV("DISL"===t.result.bankType&&t.result.selfServiceFunctions?24:-1))},dependencies:[e2,yue,kue,t2,Kce,Cue],encapsulation:2}),e}(),Ede=["addListener","removeListener"],Ide=["addEventListener","removeEventListener"],Ade=["on","off"];function Dde(e,t,n,i){if((0,Tx.T)(n)&&(i=n,n=void 0),i)return Dde(e,t,n).pipe(x0(i));var r=(0,$g.zs)(function(e){return(0,Tx.T)(e.addEventListener)&&(0,Tx.T)(e.removeEventListener)}(e)?Ide.map(function(i){return function(r){return e[i](t,r,n)}}):function(e){return(0,Tx.T)(e.addListener)&&(0,Tx.T)(e.removeListener)}(e)?Ede.map(Mde(e,t)):function(e){return(0,Tx.T)(e.on)&&(0,Tx.T)(e.off)}(e)?Ade.map(Mde(e,t)):[],2),s=r[0],o=r[1];if(!s&&xQ(e))return RQ(function(e){return Dde(e,t,n)})(PQ(e));if(!s)throw new TypeError("Invalid event target");return new jg.c(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return s(t),function(){return o(t)}})}function Mde(e,t){return function(n){return function(i){return e[n](t,i)}}}function Ode(e,t){return void 0===t&&(t=Lae),Ix(function(n,i){var r=null,s=null,o=null,a=function(){if(r){r.unsubscribe(),r=null;var e=s;s=null,i.next(e)}};function l(){var n=o+e,s=t.now();if(s<n)return r=this.schedule(void 0,n-s),void i.add(r);a()}n.subscribe(Dx(i,function(n){s=n,o=t.now(),r||(r=t.schedule(l,e),i.add(r))},function(){a(),i.complete()},void 0,function(){s=r=null}))})}var Pde=["bankSearchInput"],Lde=function(e){return{query:e}};function Nde(e,t){1&e&&o$(0,"p",18),2&e&&n$("translate","BANKSEARCH_NO_ENTRIES_DESCRIPTION")}function Rde(e,t){if(1&e&&(r$(0,"div"),o$(1,"p",17),nU(2,"escapeHtml"),nU(3,"translate"),HV(4,Nde,1,1,"p",18),s$()),2&e){var n=qj(3);$A(),n$("innerHTML",rU(3,4,"BANKSEARCH_NO_ENTRIES",jz(7,Lde,iU(2,2,n.query))),WI),$A(3),UV(0===n.results?4:-1)}}function Bde(e,t){1&e&&(r$(0,"div"),o$(1,"p",18),s$()),2&e&&($A(),n$("translate","BANKSEARCH_ERROR_MESSAGE"))}function Fde(e,t){if(1&e&&(r$(0,"div",14),HV(1,Rde,5,9,"div"),HV(2,Bde,2,1,"div"),s$()),2&e){var n=qj(2);$A(),UV("ZERO_RESULTS"===n.error.code?1:-1),$A(),UV("ZERO_RESULTS"!==n.error.code?2:-1)}}function Vde(e,t){if(1&e){var n=w$();r$(0,"li",19)(1,"a",20),jj("mousedown",function(){var e=a_(n).$implicit;return l_(qj(2).selectPrediction(e))}),o$(2,"span",21),r$(3,"span"),o$(4,"span",22),nU(5,"shortBankName"),nU(6,"shortBankName"),r$(7,"span",23),VH(8),s$()()()()}
1if(2&e){var i=t.$implicit,r=t.$index;xH("active",qj(2).selectedItemIndex==r),$A(4),n$("innerHtml","DISL"===i.banktyp?iU(5,6,"SB-Standort "+(i.name?i.name:"")):iU(6,8,i.name),WI),$A(4),ez("",i.strasse," , ",i.plz," ",i.ort)}}function $de(e,t){if(1&e&&(r$(0,"div",13),HV(1,Fde,3,2,"div",14),r$(2,"ul",15),YV(3,Vde,9,10,"li",16,GV),s$()()),2&e){var n=qj();xH("filter-active",n.filterActive),sV("aria-live","polite"),$A(),UV(n.error&&n.query?1:-1),$A(),n$("id",n.getUuid("bsautocomplete")),$A(),XV(n.predictions)}}function jde(e,t){if(1&e){var n=w$();r$(0,"button",24),nU(1,"translate"),jj("click",function(){return a_(n),l_(qj().clearQuery())}),o$(2,"span",25)(3,"span",8),s$()}2&e&&(sV("title",iU(1,2,"BANKSEARCH_CLEAR_QUERY")),$A(3),n$("translate","BANKSEARCH_CLEAR_QUERY"))}function Hde(e,t){if(1&e){var n=w$();r$(0,"div")(1,"button",26),jj("click",function(){return a_(n),l_(qj().getUserLocation())}),o$(2,"span",27)(3,"span",28),s$()()}2&e&&(SH(vz("",qj().hideMap?"col-lg-12":"col-md-4 col-xl-5"," search-geo-location")),$A(3),n$("translate","BANKSEARCH_MY_LOCATION"))}var zde=function(e){return function(e){return 38===e}(e)||function(e){return 40===e}(e)},Ude=function(e){return 13===e},qde=function(e){return 27===e},Wde=function(){function e(e,t){this.df=e,this.BankSearchService=t,this.showDisl=!1,this.hideMap=!1,this.modelChange=new rD,this.resetSearch=new rD,this.searchActive=!1,this.filterActive=!1,this.hideAutocomplete=!1,this.uuid=E5.A.uidGenerator(),this.debounceTime=200,this.selectedItemIndex=-1,this.isOpen=!1,this.minQueryLength=3,this.propagateChange=function(){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){void 0===e&&(e=""),this.query=e},e.prototype.registerOnChange=function(e){this.propagateChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.onChange=function(e){this.propagateChange(e.target.value)},e.prototype.ngOnInit=function(){var e=this;this.BankSearchService.getUserPosition().subscribe(function(t){e.geolocation=t},function(){e.geolocation=null})},e.prototype.ngAfterViewInit=function(){this.initEventStream(),this.model&&(this.query=this.model,this.hideAutocomplete=!0)},e.prototype.search=function(e){var t=this;if(this.typedQuery=this.query,this.hideAutocomplete=!1,this.typedQuery&&this.typedQuery.toString().length>=this.minQueryLength){if("Mein Standort"===this.query)return this.getUserLocation(),!1;this.isOpen=!0,this.BankSearchService.autocomplete(this.typedQuery,this.filter,this.showDisl).subscribe(function(e){e.length?(t.error=null,t.predictions=e,t.updateModels()):t.handleError({code:"ZERO_RESULTS"})}),this.selectedItemIndex=-1}else this.resetPredictions()},e.prototype.focus=function(){this.searchActive=!0,this.hideAutocomplete||(0!==this.getLength(this.predictions)?this.isOpen=!0:this.search())},e.prototype.abortSearch=function(){this.query="",this.predictions=[],this.searchActive=!1,this.resetSearch.emit(!0)},e.prototype.onUpdate=function(e){this.model=e,this.modelChange.emit(e)},e.prototype.getUserLocation=function(){var e=this;this.BankSearchService.getUserPosition().subscribe(function(t){e.trackingOptions("Standortbestimmung Geo"),e.query="Mein Standort",e.onUpdate({lat:t.latitude,lng:t.longitude}),e.resetPredictions()},function(t){e.handleError(t)})},e.prototype.selectPrediction=function(e){e=e||this.predictions[0],this.query=e?e.name:this.query,this.isOpen=!1,this.trackingOptions("Standortbestimmung Eingabe Plz/Ort"),e&&this.onUpdate(e.geolocation)},e.prototype.trackingOptions=function(e,t){E5.A.eventTracking(this.trackingProp.active,this.trackingProp.categorie,e,{ctaType:this.trackingProp.type,triggerdAction:t||"Bankstellensuche",searchterm:this.query})},e.prototype.updateModels=function(){this.df.detectChanges()},e.prototype.resetPredictions=function(){this.predictions=[]},e.prototype.handleError=function(e){this.error=e,this.resetPredictions(),this.resetSearch.emit(!0),this.updateModels()},e.prototype.isNull=function(e){return isNaN(e)&&(e=this.getLength(e)),0===e},e.prototype.getLength=function(e){return void 0!==e?e.length:0},e.prototype.initEventStream=function(){this.inputKeyUp$=Dde(this.bankSearchInput.nativeElement,"keyup").pipe(Ox(function(e){return e})),this.inputKeyDown$=Dde(this.bankSearchInput.nativeElement,"keydown").pipe(Ox(function(e){return e})),this.listenEventStream()},e.prototype.listenEventStream=function(){var e=this;this.inputKeyUp$.pipe(FQ(function(e){return!(zde(e.keyCode)||Ude(e.keyCode)||qde(e.keyCode)||(t=e.keyCode,9===t));var t}),Ode(this.debounceTime)).subscribe(function(t){e.onKeyUp(t)}),this.inputKeyDown$.pipe(FQ(function(e){return zde(e.keyCode)}
1)).subscribe(function(t){t.preventDefault(),e.onFocusItem(t)}),this.inputKeyDown$.pipe(FQ(function(e){return Ude(e.keyCode)})).subscribe(function(t){e.onSubmit()}),this.inputKeyUp$.pipe(FQ(function(e){return qde(e.keyCode)},Ode(100))).subscribe(function(t){e.onEsc()})},e.prototype.onFocusItem=function(e){"ArrowDown"===e.key?this.selectedItemIndex<this.getLength(this.predictions)-1&&(this.selectedItemIndex++,this.query=this.predictions[this.selectedItemIndex].name):"ArrowUp"===e.key&&this.selectedItemIndex>-1&&(this.selectedItemIndex--,-1===this.selectedItemIndex?this.query=this.typedQuery:this.query=this.predictions[this.selectedItemIndex].name)},e.prototype.onSubmit=function(){if(this.selectedItemIndex){var e=-1!==this.selectedItemIndex?this.selectedItemIndex:0;this.selectPrediction(this.predictions[e])}},e.prototype.onEsc=function(){this.reset()},e.prototype.reset=function(){this.bankSearchInput.nativeElement.blur(),this.selectedItemIndex=-1,this.isOpen=!1},e.prototype.clearQuery=function(){this.query=null},e.prototype.onKeyUp=function(e){e.preventDefault()},e.prototype.visibleGeoLocationBtn=function(){return this.geolocation&&this.isNull(this.results)&&!this.loading},e.prototype.visibleDetailDescription=function(){return this.isNull(this.results)&&!this.isOpen&&!this.error&&!this.loading},e.prototype.getUuid=function(e){return e.toLowerCase()+"-"+this.uuid},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Yce))},e.ɵcmp=DN({type:e,selectors:[["result-search"]],viewQuery:function(e,t){var n;(1&e&&Kj(Pde,5,xC),2&e)&&(Jj(n=Xj())&&(t.bankSearchInput=n.first))},inputs:{results:"results",model:"model",trackingProp:"trackingProp",searchKeyword:"searchKeyword",filter:"filter",showDisl:"showDisl",loading:"loading",hideMap:"hideMap"},outputs:{modelChange:"modelChange",resetSearch:"resetSearch"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}])],decls:17,vars:29,consts:[["bankSearchInput",""],[1,"row","align-items-md-center"],["name","bankSearchForm",1,"search-input",3,"submit"],["for","banksearch-overlay",1,"visually-hidden",3,"translate"],["id","banksearch-overlay","autocomplete","off","name","search","aria-readonly","true","aria-autocomplete","list",1,"form-control",3,"ngModelChange","input","focus","blur","placeholder","ngModel"],[1,"search-info",3,"filter-active"],["type","submit",1,"search-button"],["aria-hidden","true",1,"icon-search"],[1,"visually-hidden",3,"translate"],["type","button",1,"clear-button"],[1,"search-abort"],["type","button",3,"click","translate"],[3,"class"],[1,"search-info"],[1,"search-errors"],[1,"search-autocomplete","d-block",3,"id"],["role","presentation",3,"active"],[3,"innerHTML"],[3,"translate"],["role","presentation"],["href","javascript:void(0)",3,"mousedown"],["aria-hidden","true",1,"icon-map"],[3,"innerHtml"],[1,"address"],["type","button",1,"clear-button",3,"click"],["aria-hidden","true",1,"icon-close"],[3,"click"],["aria-hidden","true",1,"icon-position"],[1,"underline-clickable",3,"translate"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",1)(1,"div")(2,"form",2),jj("submit",function(){return a_(n),l_(t.onSubmit())}),o$(3,"label",3),r$(4,"input",4,0),nU(6,"translate"),uz("ngModelChange",function(e){return a_(n),cz(t.query,e)||(t.query=e),l_(e)}),jj("input",function(e){return a_(n),l_(t.search(e))})("focus",function(){return a_(n),l_(t.focus())})("blur",function(){return a_(n),l_(t.reset())}),s$(),HV(7,$de,5,5,"div",5),r$(8,"button",6),nU(9,"translate"),o$(10,"span",7)(11,"span",8),s$(),HV(12,jde,4,4,"button",9),s$(),r$(13,"div",10)(14,"button",11),nU(15,"translate"),jj("click",function(){return a_(n),l_(t.abortSearch())}),s$()()(),HV(16,Hde,4,4,"div",12),s$()}2&e&&(xH("hide-geolocation",!t.geolocation),$A(),SH(vz("",t.hideMap?"col-lg-12":"col-md-8 col-xl-7","  search")),xH("active",t.searchActive)("open",t.isOpen),$A(2),n$("translate","BANKSEARCH_PLACEHOLDER"),$A(),xH("visible-clear-btn",t.query),n$("placeholder",gz(iU(6,23,"BANKSEARCH_PLACEHOLDER"))),lz("ngModel",t.query),sV("aria-activedescendant",t.getUuid("#bsautocomplete")),$A(3),UV(t.isOpen&&t.searchActive?7:-1),$A(),sV("title",iU(9,25,"BUTTON_SEARCH")),$A(3),n$("translate","BUTTON_SEARCH"),$A(),UV(t.query?12:-1),$A(2),n$("translate","BUTTON_ABORT"),sV("title",iU(15,27,"BUTTON_ABORT")),$A(2),UV(t.visibleGeoLocationBtn()?16:-1))},dependencies:[x4,F2,x3,k3,_4,h4,e2,t2,yoe,Kce],encapsulation:2}),e}
1(),Gde=["focusButton"];function Zde(e,t){1&e&&o$(0,"div",6)}function Yde(e,t){1&e&&o$(0,"span",24)}function Kde(e,t){1&e&&o$(0,"span",10)}function Jde(e,t){if(1&e){var n=w$();r$(0,"div",20)(1,"div",22),jj("click",function(){return a_(n),l_(qj(4).toggleSwitch())})("keydown.enter",function(){return a_(n),l_(qj(4).toggleSwitch())})("keydown.space",function(){return a_(n),l_(qj(4).toggleSwitch())}),r$(2,"div",23),HV(3,Yde,1,0,"span",24),HV(4,Kde,1,0,"span",10),s$()(),r$(5,"label",25),VH(6,"Barrierefrei"),s$()()}if(2&e){var i=qj(4);$A(),xH("checked",i.isToggleChecked),sV("aria-checked",i.isToggleChecked)("aria-labelledby","label-accessibility-switch"),$A(2),UV(i.isToggleChecked?3:-1),$A(),UV(i.isToggleChecked?-1:4)}}function Xde(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=qj().$implicit;$A(),JH(n.name)}}function Qde(e,t){if(1&e&&(r$(0,"span"),VH(1),nU(2,"translate"),s$()),2&e){var n=qj().$implicit;$A(),JH(iU(2,1,n.name))}}function ehe(e,t){if(1&e){var n=w$();r$(0,"div",21)(1,"label",26)(2,"input",27,1),jj("input",function(){var e=a_(n).$implicit,t=nH(3),i=qj(3).$implicit;return l_(qj(4).updateFilter(t,i.value+"_"+e.name))}),s$(),o$(4,"span",28),r$(5,"span"),VH(6),nU(7,"translate"),s$()()()}if(2&e){var i=t.$implicit,r=qj(3).$implicit,s=qj(4);$A(),n$("for",yz("",r.name,"-subfilter-",i.name)),$A(),n$("name",gz(i.name))("value",gz(i.name))("id",yz("",r.name,"-subfilter-",i.name))("checked",s.isChecked(r.value+"_"+i.name)),$A(4),JH(iU(7,12,i.name))}}function the(e,t){1&e&&YV(0,ehe,8,14,"div",21,GV),2&e&&XV(qj(6).subSelectionAttributes)}function nhe(e,t){if(1&e){var n=w$();r$(0,"div",21)(1,"label",26)(2,"input",27,1),jj("input",function(){a_(n);var e=nH(3),t=qj(2).$implicit,i=qj(4);return l_(i.updateFilter(e,t.value+"_"+i.subSelectionCoins.name))}),s$(),o$(4,"span",28),r$(5,"span"),VH(6),nU(7,"translate"),s$()()()}if(2&e){var i=qj(2).$implicit,r=qj(4);$A(),n$("for",yz("",i.name,"-subfilter-",r.subSelectionCoins.value)),$A(),n$("name",gz(r.subSelectionCoins.name))("value",gz(r.subSelectionCoins.name))("id",yz("",i.name,"-subfilter-",r.subSelectionCoins.value))("checked",r.isChecked(i.value+"_"+r.subSelectionCoins.name)),$A(4),JH(iU(7,12,"nutzungBarrierefrei"))}}function ihe(e,t){if(1&e&&(r$(0,"div",29),HV(1,the,2,0),HV(2,nhe,8,14,"div",21),s$()),2&e){var n=qj().$implicit;$A(),UV("muenzzaehlung"!==n.name&&"muenzrollenausgabe"!==n.name?1:-1),$A(),UV("muenzzaehlung"===n.name||"muenzrollenausgabe"===n.name?2:-1)}}function rhe(e,t){if(1&e){var n=w$();r$(0,"div",21)(1,"label",26)(2,"input",27,1),nU(4,"translate"),jj("input",function(){var e=a_(n).$implicit,t=nH(3),i=qj(2).$index;return l_(qj(2).updateFilter(t,e.value,i))}),s$(),o$(5,"span",28),HV(6,Xde,2,1,"span"),HV(7,Qde,3,3,"span"),s$(),HV(8,ihe,3,2,"div",29),s$()}if(2&e){var i=t.$implicit,r=qj(2).$implicit,s=qj(2);$A(),n$("for",vz("filter-",i.value)),$A(),n$("name",gz(i.name))("value",gz(i.value))("id",vz("filter-",i.value))("checked",s.isChecked(i.value)),sV("data-filter-name","Öffnungszeiten"===r.name||"Kompetenzen"===r.name?i.name:iU(4,13,i.name)),$A(4),UV("Öffnungszeiten"===r.name||"Kompetenzen"===r.name?6:-1),$A(),UV("Öffnungszeiten"!==r.name&&"Kompetenzen"!==r.name?7:-1),$A(),UV("Services in Selbstbedienung"===r.name&&s.isChecked(i.value)&&s.isToggleChecked&&"Überweisungsbox"!==i.name?8:-1)}}function she(e,t){if(1&e){var n=w$();r$(0,"rwm-accordion",17),jj("stateChange",function(e){a_(n);var t=qj().$index;return l_(qj(2).toggleAccordion(e,t))}),o$(1,"span",18),r$(2,"div",19)(3,"fieldset"),HV(4,Jde,7,6,"div",20),YV(5,rhe,9,15,"div",21,GV),s$()()()}if(2&e){var i=qj(),r=i.$implicit,s=i.$index;n$("id","filter-"+s)("unfolded",!1)("headline",r.name)("saveState",!0),$A(2),SH("fieldset-content-"+s),$A(),SH(r.name.toLowerCase()),$A(),UV("Services in Selbstbedienung"===r.name?4:-1),$A(),XV(r.entries)}}function ohe(e,t){1&e&&o$(0,"span",30),2&e&&n$("innerText",t.$implicit)}function ahe(e,t){if(1&e&&(r$(0,"div",16),YV(1,ohe,1,1,"span",30,GV),s$()),2&e){var n=qj().$index,i=qj(2);$A(),XV(i.activeFilters[n])}}function lhe(e,t){if(1&e&&(HV(0,she,7,9,"rwm-accordion",15),HV(1,ahe,3,0,"div",16)),2&e){var n=t.$implicit,i=t.$index,r=qj(2);UV(n.entries.length>0&&"Ausstattung"!==n.name&&"SB-Ausstattung"!==n.name&&"Services in Selbstbedienung BF"!==n.name?0:-1),$A(),UV(r.activeFilters[i]&&!r.activeFilters["toggle"+i]?1:-1)}}function che(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=qj(2);$A(),XH(" (",n.resultCount,")")}}function uhe(e,t){if(1&e){var n=w$();r$(0,"div",2)(1,"div",3)(2,"a",4,0),jj("click",function(){return a_(n),l_(qj().toggleFilter(!1))}),o$(4,"span",5),s$(),HV(5,Zde,1,0,"div",6),s$(),r$(6,"div",7)(7,"div",8),o$(8,"span",5),r$(9,"button",9),nU(10,"translate"),jj("click",function(){a_(n);var e=qj();return e.deleteFilters(),l_(e.toggleFilter(!0))}),o$(11,"span",10),s$()(),r$(12,"div",11),YV(13,lhe,2,2,null,null,GV),s$(),r$(15,"div",12)(16,"button",13),jj("click",function(){return a_(n),l_(qj().toggleFilter(!0))}),VH(17),nU(18,"translate"),HV(19,che,2,1,"span"),s$(),r$(20,"button",14),jj("click",function(){return a_(n),l_(qj().deleteFilters())}),s$()()()()}if(2&e){var i=qj();$A(2),xH("collapsed",!i.collapsed),sV("aria-expanded",i.collapsed),$A(2),n$("translate","FILTER_SEARCH_RESULT"),$A(),UV(i.collapsed?5:-1),$A(),xH("show",i.collapsed),$A(2),n$("translate","FILTER_SEARCH_RESULT"),$A(),sV("aria-label",iU(10,12,"CLOSE_FILTER")),$A(4),XV(i.filters),$A(4),XH("",iU(18,14,"SHOW_FILTERS")," "),$A(2),UV(i.resultCount?19:-1),$A(),n$("translate","DELETE_ALL_FILTERS")}}var dhe=function(){function e(){this.model=[],this.modelChange=new rD,this.collapsed=!1,this.selectedFiltersCount=0,this.isToggleChecked=!1,this.activeFilters={}}return e.prototype.ngOnInit=function(){var e=this;this.selectedFiltersCount=this.model.length;var t=!1;
1this.filters.forEach(function(n){"Services in Selbstbedienung BF"===n.name&&(e.subSelectionAttributes=n.entries,e.subSelectionAttributes.forEach(function(t){"zugangBarrierefrei"===t.name&&(e.subSelectionCoins=t)})),"Öffnungszeiten"===n.name&&(t=!0)}),t||this.filters.push({name:"Öffnungszeiten",entries:[{type:"BankstellenFilter",name:"Jetzt geöffnet",value:"openingHours:openNow"}]})},e.prototype.toggleFilter=function(e){this.collapsed=!this.collapsed,1==e&&this.button.nativeElement.focus()},e.prototype.deleteFilters=function(){this.model=[],this.activeFilters={},this.update()},e.prototype.updateFilter=function(e,t,n){var i=e.dataset.filterName;e.checked?(-1===this.model.indexOf(t)&&this.model.push(t),void 0!==n&&(this.activeFilters[n]?this.activeFilters[n].push(i):this.activeFilters[n]=[i])):(this.model=this.model.filter(function(e){return e!==t&&!e.includes(t)}),void 0!==n&&(this.activeFilters[n].length>1?this.activeFilters[n]=this.activeFilters[n].filter(function(e){return e!==i}):delete this.activeFilters[n])),this.update()},e.prototype.update=function(){this.selectedFiltersCount=this.model.length,this.modelChange.emit(this.model)},e.prototype.filterResult=function(e){this.model.push(e)},e.prototype.isChecked=function(e){return this.model.includes(e)},e.prototype.toggleAccordion=function(e,t){this.activeFilters["toggle"+t]=e},e.prototype.toggleSwitch=function(){this.isToggleChecked=!this.isToggleChecked,this.isToggleChecked||0===this.model.length||(this.model=this.model.filter(function(e){return!e.includes("_")}),this.update())},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["result-filter"]],viewQuery:function(e,t){var n;(1&e&&Kj(Gde,5),2&e)&&(Jj(n=Xj())&&(t.button=n.first))},inputs:{filters:"filters",searchActive:"searchActive",model:"model",resultCount:"resultCount"},outputs:{modelChange:"modelChange"},standalone:!1,decls:1,vars:1,consts:[["focusButton",""],["inputEl",""],[1,"banksearch-filters"],[1,"toggle-btn","text-sm-end"],["href","javascript:void(0)","role","button","aria-controls","bank-search-filters",1,"btn","btn-outline","w-auto",3,"click"],[3,"translate"],[1,"darkening-overlay"],["id","bank-search-filters",1,"filters-wrapper","collapse"],[1,"bs-filters-header"],[1,"btn-clear","m-0","p-0","w-auto",3,"click"],[1,"icon","icon-close"],[1,"bs-filters-content"],[1,"btn-wrapper"],[1,"btn","btn-primary",3,"click"],[1,"btn","btn-default",3,"click","translate"],[3,"id","unfolded","headline","saveState"],[1,"active-filter-wrapper"],[3,"stateChange","id","unfolded","headline","saveState"],["icon","",1,"icon-dropdown"],["body",""],[1,"switch-wrapper"],[1,"form-check"],["role","switch","tabindex","0",1,"accessibility-switch",3,"click","keydown.enter","keydown.space"],[1,"thumb"],[1,"icon","icon-check"],["id","label-accessibility-switch",1,"label-text"],[1,"form-check-label",3,"for"],["type","checkbox",1,"form-check-input",3,"input","name","checked","value","id"],["aria-hidden","true",1,"custom-control-indicator","icon-check"],[1,"sub-selection-attributes"],[3,"innerText"]],template:function(e,t){1&e&&HV(0,uhe,21,16,"div",2),2&e&&UV(t.searchActive?0:-1)},dependencies:[e2,_se,t2],encapsulation:2}),e}();function hhe(){return hhe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hhe.apply(null,arguments)}var phe=["bsHeader"],fhe=["leafmap"],mhe=function(){return[0,1,2,3,4]};function ghe(e,t){if(1&e){var n=w$();r$(0,"div",9)(1,"strong",24),VH(2),s$(),r$(3,"result-filter",25),uz("modelChange",function(e){a_(n);var t=qj();return cz(t.activeFilter,e)||(t.activeFilter=e),l_(e)}),jj("modelChange",function(){return a_(n),l_(qj().updateMarkers())}),s$()()}if(2&e){var i=qj();$A(2),QH("",i.resultCount," ",i.resultCount>1?"gefundene Standorte":"gefundener Standort"),$A(),n$("filters",i.filters)("searchActive",i.searchActive||i.activeFilter.length>0),lz("model",i.activeFilter),n$("resultCount",i.resultCount)}}function vhe(e,t){1&e&&o$(0,"p",15),2&e&&n$("translate","BANKSEARCH_DESCRIPTION")}function yhe(e,t){if(1&e){var n=w$();r$(0,"li")(1,"result-item",26),jj("viewDetails",function(){var e=a_(n).$implicit;return l_(qj(2).viewDetail(e))}),s$()()}
1if(2&e){var i=t.$implicit,r=t.$index,s=qj(2);$A(),n$("result",i)("params",s.params)("trackingProp",s.trackingProp)("counter",r)}}function bhe(e,t){if(1&e&&(r$(0,"ul",17),YV(1,yhe,2,4,"li",null,GV),s$()),2&e){var n=qj();$A(),XV(n.markers)}}function whe(e,t){1&e&&(r$(0,"li")(1,"article",27)(2,"div",28),o$(3,"div",29)(4,"div",30)(5,"div",31)(6,"div",32),s$()()())}function _he(e,t){1&e&&(r$(0,"ul",17),YV(1,whe,7,0,"li",null,GV),s$()),2&e&&($A(),XV($z(0,mhe)))}function xhe(e,t){if(1&e&&(r$(0,"div",14)(1,"div",33),o$(2,"result-details",34),s$()()),2&e){var n=qj();$A(2),n$("result",n.selectedItem)("params",n.params)("trackingProp",n.trackingProp)}}var khe=function(){function e(e,t,n,i,r){this.bsService=e,this.resolver=t,this._zone=n,this.injector=i,this.df=r,this.markerMetaData=[],this.LeafletOptions={layers:[(0,Bce.tileLayer)("https://mapsneu.wien.gv.at/basemap/geolandbasemap/normal/google3857/{z}/{y}/{x}.png",{attribution:'&copy; <a href="https://basemap.at">Basemap.at</a>',maxZoom:15,minZoom:6,tms:!1})],icon:$9.q.getThemeImagePath()+"mapPins/bankstelle-dot.svg"},this.params="{}",this.loading=!1,this.searchActive=!1,this.zoom=6,this.handleBarState=40,this.resultCount=0,this.offset=0,this.height=0,this.center={lat:47.6964719,lng:13.3457347},this.saveSelectedElement=!1,this.defaultParams={location:null,headline:null,ctaPrimary:null,suffix:null,ctaSecondary:{action:"link",params:{linkTarget:"_self",linkUrl:"WEBSITE_URL",linkText:"BANKSEARCH_SHOW_DETAILS"}},hideMap:!1,hideRoutePlaner:!1,hideResultsOnBlur:!1,forwardButton:null},this.activeFilter=[]}return e.prototype.swipeY=function(e){this.handleBarState=e>0?40:80},e.prototype.ngOnInit=function(){this.params="undefined"!==this.params?JSON.parse(this.params):{},this.params=hhe(this.defaultParams,this.params),this.params.location&&this.params.location.geolocation&&(this.query=this.params.location.name),this.loadLocation(),this.trackingProp={active:this.params.ctaPrimary,categorie:"banksearch",type:this.params.ctaPrimary?"ueberleitungPrimaerbank":""}},e.prototype.ngAfterViewInit=function(){var e=this;navigator.geolocation.getCurrentPosition(function(t){e.center={lat:t.coords.latitude,lng:t.coords.longitude}})},e.prototype.onResize=function(){this.getHeaderHeight()},e.prototype.removeMarker=function(){var e,t;if(this.setMarker)try{for(var n=(0,$g.Ju)(this.markerMetaData),i=n.next();!i.done;i=n.next()){var r=i.value;this.map.removeLayer(r.markerInstance)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.addMarker=function(e,t){var n,i,r=this;if(e!==this.setMarker){t||this.removeMarker(),this.setMarker=e,this.markerMetaData=[];try{for(var s=(0,$g.Ju)(e),o=s.next();!o.done;o=s.next()){var a=o.value,l=this.resolver.resolveComponentFactory(Xce).create(this.injector);l.instance.data=a,l.instance.output.subscribe(function(e){r.viewDetail(e)}),l.changeDetectorRef.detectChanges();var c=(0,Bce.marker)([a.geolocation.lat,a.geolocation.lng],{icon:(0,Bce.icon)({iconUrl:"DISL"!==a.bankType?$9.q.getThemeImagePath()+"mapPins/bankstelle-dot.svg":"/apps/settings/wcm/designs/cms/images/sb_logo_dot.svg",iconSize:[25,25],popupAnchor:[0,-10]}),alt:"Marker "+a.name}),u=l.location.nativeElement;c.addTo(this.map).bindPopup(u),this.markerMetaData.push({name:a.name,markerInstance:c,componentInstance:l})}}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}},e.prototype.updateMarkers=function(e,t){var n=this;this.showDetail=!1,this.loading=!0,this.map||(this.map=t.target),e?this.setMap(e):(this.searchActive=!0,this.map.getZoom()>=9?this.bsService.search(this.map.getCenter(),this.map.getBounds(),this.params.filter,this.activeFilter,this.params.dislodgedDevices).subscribe(function(e){n.markers=e,0===n.markers.length&&n.map.getZoom()>=8&&(n.zoom=n.map.getZoom()-1),n.addMarker(e),n.resultCount=n.markers.length,n.loading=!1,n.df.detectChanges()},function(){console.log("Keine Bankstelle gefunden"),n.resetMarker()},function(){n.loading=!1,n.getHeaderHeight(),n.df.detectChanges()}):(this.resetMarker(),this.df.detectChanges()))},e.prototype.resetMarker=function(){this.resultCount=0,this.removeMarker(),this.markers=[],this.getHeaderHeight(),this.loading=!1},e.prototype.onMapReady=function(e){this.map=e},e.prototype.getFilters=function(){var e=this;this.bsService.getFilters().subscribe(function(t){e.filters=t},function(){console.log("Keine Bankstelle gefunden"),e.filters=[]},function(){e.loading=!1,e.df.detectChanges()})},e.prototype.getPosition=function(e,t){return{lat:e,lng:t}},e.prototype.loadLocation=function(){var e=this;W5.r.getObservableToken().subscribe(function(){e.getFilters(),e.params.location&&window.setTimeout(function(){e.params.location.geolocation&&e.setMap(e.params.location.geolocation)},200)})},e.prototype.removeSelectedMarker=function(){this.selectedItem&&(this.selectedItem.active=!1,this.selectedItem.highlight=!1)},e.prototype.selectMarker=function(e,t){this.removeSelectedMarker(),t.active=!0,this.selectedItem=t,this.showDetail=!0,e&&E5.A.eventTracking(this.trackingProp.action,this.trackingProp.c
1ategorie,"Auswahl Detailansicht",{ctaType:this.trackingProp.type,triggerdAction:"Karten Pin",bst:t.name})},e.prototype.setMap=function(e){var t=this;this._zone.run(function(){t.map.setView({lat:e.lat,lng:e.lng},15)}),this.df.detectChanges()},e.prototype.setFilter=function(){this.updateMarkers()},e.prototype.viewDetail=function(e){this.selectMarker("",e),E5.A.eventTracking(this.trackingProp.active,this.trackingProp.categorie,"Auswahl Detailansicht",{ctaType:this.trackingProp.type,triggerdAction:"Liste",bst:e.name}),this.map.getZoom()<=8&&(this.zoom=11,this.center={lat:e.geolocation.lat,lng:e.geolocation.lng},this.saveSelectedElement=!0)},e.prototype.back=function(){this.removeSelectedMarker(),this.showDetail=!1,this.selectedItem=void 0},e.prototype.checkLength=function(e){return!!e&&e.length>0},e.prototype.resetResult=function(){this.markers=[],this.activeFilter=[],this.resultCount=0,this.searchActive=!1,this.df.detectChanges(),this.getHeaderHeight()},e.prototype.getHeaderHeight=function(){this.bsHeader&&(this.height=this.bsHeader.nativeElement.offsetHeight)},e.prototype.mapsHeight=function(e){return"calc(100% - "+e+"px)"},e.ɵfac=function(t){return new(t||e)(qP(Yce),qP(DP),qP(dD),qP(X_),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["banksearch"]],viewQuery:function(e,t){if(1&e&&(Kj(phe,5),Kj(fhe,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.bsHeader=n.first),Jj(n=Xj())&&(t.leafmap=n.first)}},hostBindings:function(e,t){1&e&&jj("resize",function(){return t.onResize()},uA)},inputs:{params:"params"},standalone:!1,decls:30,vars:34,consts:[["bsHeader",""],[1,"component-banksearch","container","global-banksearch-styles"],[1,"bs-header"],[1,"state-search"],[1,"title"],[3,"translate"],[1,"content"],[1,"banksearch-search-wrapper"],[3,"modelChange","resetSearch","results","model","filter","showDisl","hideMap","trackingProp","loading"],[1,"d-flex","justify-content-between"],[1,"row"],["aria-hiddden","true",1,"touch-handle-wrapper",3,"ngxSwipeY"],[1,"touch-handle"],[1,"sidebar-wrapper"],[1,"sidebar-content"],[1,"search-description",3,"translate"],[1,"result-wrapper"],[1,"search-results"],[1,"state-detail"],[1,"sidebar-title"],[3,"click"],["aria-hidden","true",1,"icon","icon-paging_arrow_left"],["aria-hidden","true",1,"col-lg-6"],["leaflet","",1,"map-wrapper",3,"leafletMapMoveEnd","leafletMapReady","leafletOptions","leafletCenter","leafletZoom"],["role","status",1,"align-self-center"],[3,"modelChange","filters","searchActive","model","resultCount"],[3,"viewDetails","result","params","trackingProp","counter"],[1,"result-item","skeleton"],[1,"general-info"],[1,"skeleton-100"],[1,"skeleton-50"],[1,"skeleton-25"],[1,"skeleton-75"],[1,"result-wrapper","detail"],[3,"result","params","trackingProp"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",1)(1,"div",2,0)(3,"div",3)(4,"div",4),o$(5,"h2",5),s$(),r$(6,"div",6)(7,"div",7)(8,"result-search",8),uz("modelChange",function(e){return a_(n),cz(t.query,e)||(t.query=e),l_(e)}),jj("modelChange",function(){return a_(n),l_(t.updateMarkers(t.query))})("resetSearch",function(){return a_(n),l_(t.resetResult())}),s$(),HV(9,ghe,4,6,"div",9),s$()()()(),r$(10,"div",10)(11,"div")(12,"div",11),jj("ngxSwipeY",function(e){return a_(n),l_(t.swipeY(e))}),o$(13,"div",12),s$(),r$(14,"div",13)(15,"div",3)(16,"div",14),HV(17,vhe,1,1,"p",15),r$(18,"div",16),HV(19,bhe,3,0,"ul",17),HV(20,_he,3,1,"ul",17),s$()()(),r$(21,"div",18)(22,"div",19)(23,"button",20),jj("click",function(){return a_(n),l_(t.back())}),o$(24,"span",21)(25,"span",5),s$(),VH(26),s$(),HV(27,xhe,3,3,"div",14),s$()()(),r$(28,"div",22)(29,"div",23),jj("leafletMapMoveEnd",function(e){return a_(n),l_(t.updateMarkers(null,e))})("leafletMapReady",function(e){return a_(n),l_(t.onMapReady(e))}),s$()()()()}2&e&&(xH("hidden-map-view",t.params.hideMap),$A(5),n$("translate",t.params.headline?t.params.headline:"BANKSEARCH_HEADLINE"),$A(2),xH("fixed",t.checkLength(t.markers)),$A(),n$("results",t.resultCount),lz("model",t.query),n$("filter",t.params.filter)("showDisl",t.params.dislodgedDevices)("hideMap",t.params.hideMap)("trackingProp",t.trackingProp)("loading",t.loading),$A(),UV(t.searchActive&&t.resultCount||t.activeFilter.length>0?9:-1),$A(),_H("height",t.mapsHeight(t.height)),$A(),SH(yz("",t.params.hideMap?"col-lg-12":"col-lg-6 col-sidebar","  expanded-",t.handleBarState)),xH("search-active",t.searchActive),$A(3),xH("show-detail",t.showDetail),$A(3),UV(0===t.resultCount?17:-1),$A(2),UV(t.loading?-1:19),$A(),UV(t.loading?20:-1),$A(5),n$("translate","BUTTON_PREV"),$A(),XH(" ",t.selectedItem&&"DISL"===t.selectedItem.bankType?"Details zum SB-Standort":"Details zur Bank"," "),$A
1(),UV(t.selectedItem?27:-1),$A(),xH("hide-map",t.params.hideMap),$A(),n$("leafletOptions",t.LeafletOptions)("leafletCenter",t.center)("leafletZoom",t.zoom))},dependencies:[Vce,e2,Qce,Vue,Tde,Wde,dhe],encapsulation:2}),e}(),Che=function(){function e(e){this.injector=e;var t=T2(yue,{injector:e});customElements.define("rwm-opening-hours",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,RX,T5]}),e}();function She(e,t){if(1&e&&o$(0,"div",3),2&e){var n=qj(2);SH(vz("opening-hours ",n.openCloseStateStyle)),n$("innerText",n.isOpen(n.openingHours,n.consultingHours))}}function The(e,t){1&e&&o$(0,"p",11),2&e&&n$("innerText",qj(3).noteOpeningHours)}function Ehe(e,t){1&e&&o$(0,"p",12),2&e&&n$("translate","BANKSEARCH_NO_COUNTER_TRAFFIC")}function Ihe(e,t){1&e&&o$(0,"p",3),2&e&&n$("innerText",qj(3).noteTemporarilyClosed)}function Ahe(e,t){if(1&e&&(r$(0,"dd",17),VH(1),nU(2,"openingHours"),s$()),2&e){var n=qj().$implicit;xH("single",null===n.day),$A(),JH(iU(2,3,n.intervals))}}function Dhe(e,t){1&e&&o$(0,"dd",16),2&e&&n$("translate","CLOSED")}function Mhe(e,t){if(1&e&&(o$(0,"dt",14),HV(1,Ahe,3,5,"dd",15),HV(2,Dhe,1,1,"dd",16)),2&e){var n=t.$implicit;xH("single",null===n.day),n$("translate",null!==n.day?"WEEKDAY_"+n.day:"WEEKDAY_ALL"),$A(),UV(n.intervals.length>0?1:-1),$A(),UV(0==n.intervals.length?2:-1)}}function Ohe(e,t){if(1&e&&(r$(0,"dl"),YV(1,Mhe,3,5,null,null,GV),s$()),2&e){var n=qj(3);$A(),XV(n.openingHours.periods)}}function Phe(e,t){1&e&&o$(0,"p",11),2&e&&n$("innerText",qj(5).noteConsultingHours)}function Lhe(e,t){if(1&e&&(o$(0,"dt",14)(1,"dd",23),nU(2,"openingHours")),2&e){var n=qj().$implicit;xH("single",null===n.day),n$("translate",null!==n.day?"WEEKDAY_"+n.day:"WEEKDAY_ALL_CONSULTING"),$A(),xH("single",null===n.day),n$("innerText",iU(2,6,n.intervals))}}function Nhe(e,t){1&e&&HV(0,Lhe,3,8),2&e&&UV(t.$implicit.intervals.length>0?0:-1)}function Rhe(e,t){if(1&e&&o$(0,"a",22),2&e){var n=qj(5);n$("innerText",n.adviserLink.adviserLinkText)("target",n.adviserLink.adviserTarget)("href",n.adviserLink.adviserLinkUrl,ZI)}}function Bhe(e,t){if(1&e){var n=w$();r$(0,"div",18)(1,"div",5),o$(2,"span",19),r$(3,"div"),o$(4,"h3",7)(5,"p",12),s$()(),r$(6,"button",20),jj("click",function(){return a_(n),l_(qj(4).collapseConsultationHoursContainer())}),o$(7,"span",19),r$(8,"div"),o$(9,"h3",7)(10,"p",12),s$(),o$(11,"span",9),s$(),r$(12,"div",21),HV(13,Phe,1,1,"p",11),r$(14,"dl"),YV(15,Nhe,1,1,null,null,GV),s$(),HV(17,Rhe,1,3,"a",22),s$()()}if(2&e){var i=qj(4);$A(4),n$("translate",i.customLabels.labelConsultationTimes?i.customLabels.labelConsultationTimes:"OFFICE_HOURS"),$A(),n$("translate","CONSULTING_APPOINTMENT"),$A(),xH("collapsed",i.collapseConsultationHours),sV("aria-expanded",!i.collapseConsultationHours),$A(3),n$("translate",i.customLabels.labelConsultationTimes?i.customLabels.labelConsultationTimes:"OFFICE_HOURS"),$A(),n$("translate","CONSULTING_APPOINTMENT"),$A(2),xH("collapsed",i.collapseConsultationHours),$A(),UV(i.noteConsultingHours?13:-1),$A(2),XV(i.consultingHours.periods),$A(2),UV(i.validAdviserLink(i.adviserLink)?17:-1)}}function Fhe(e,t){1&e&&(HV(0,Bhe,18,11,"div",18),nU(1,"isOpenFilter")),2&e&&UV(iU(1,1,qj(3).consultingHours.periods)?0:-1)}function Vhe(e,t){if(1&e&&(r$(0,"p",26),VH(1),s$()),2&e){var n=qj(4);$A(),JH(n.sbTexts.foyer_oeffnungszeiten)}}function $he(e,t){if(1&e&&(r$(0,"p",27),VH(1),s$()),2&e){var n=qj(4);$A(),JH(n.sbTexts.servicebereich)}}function jhe(e,t){if(1&e&&(r$(0,"div",13)(1,"div",24),o$(2,"span",25),r$(3,"div"),o$(4,"h3",7),HV(5,Vhe,2,1,"p",26),HV(6,$he,2,1,"p",27),s$()()()),2&e){var n=qj(3);$A(4),n$("translate",n.customLabels.labelFoyerTimes?n.customLabels.labelFoyerTimes:"SB-Foyer"),$A(),UV(n.sbTexts.foyer_oeffnungszeiten?5:-1),$A(),UV(n.sbTexts.servicebereich?6:-1)}}function Hhe(e,t){if(1&e){var n=w$();r$(0,"div",4)(1,"div",5),o$(2,"span",6),r$(3,"div"),o$(4,"h3",7)(5,"span",3),s$()(),r$(6,"button",8),jj("click",function(){return a_(n),l_(qj(2).collapseOpeningHoursContainer())}),o$(7,"span",6),r$(8,"div"),o$(9,"h3",7)(10,"span",3),s$(),o$(11,"span",9),s$(),r$(12,"div",10),HV(13,The,1,1,"p",11),HV(14,Ehe,1,1,"p",12),HV(15,Ihe,1,1,"p",3),HV(16,Ohe,3,0,"dl"),s$()(),HV(17,Fhe,2,3),HV(18,jhe,7,3,"div",13)}if(2&e){var i=qj(2);$A(4),n$("translate",i.customLabels.labelBankOpenHours?i.customLabels.labelBankOpenHours:"OPENING_HOURS"),$A(),n$("innerText",i.isOpen(i.openingHours,i.consultingHours)),$A(),xH("collapsed",i.collapseOpeningHours),sV("aria-expanded",!i.collapseOpeningHours),$A(3),n$("translate",i.customLabels.labelBankOpenHours?i.customLabels.labelBankOpenHours:"OPENING_HOURS"),$A(),n$("innerText",i.isOpen(i.openingHours,i.consultingHours)),$A(2),xH("collapsed",i.collapseOpeningHours),$A(),UV(i.noteOpeningHours?13:-1),$A(),UV(i.bankCounter?-1:14),$A(),UV(i.noteTemporarilyClosed?15:-1),$A(),UV(i.noteTemporarilyClosed?-1:16),$A(),UV(i.consultingOutsideOpeningHours?17:-1),$A(),UV(i.sbTexts.servicebereich||i.sbTexts.foyer_oeffnungszeiten?18:-1)}}function zhe(e,t){if(1&e&&(r$(0,"h2",0),VH(1),nU(2,"translate"),s$(),r$(3,"div",1),HV(4,She,1,4,"div",2),HV(5,Hhe,19,15),s$()),2&e){var n=qj();$A(),JH(iU(2,3,"OPENING_HOURS_BANK")),$A(3),UV(n.onlyLabel?4:-1),$A(),UV(n.onlyLabel?-1:5)}}var Uhe=function(){function e(e,t,n){this.cd=e,this.translate=t,this.bankSearch=n,this.consultingOutsideOpeningHours=!0,this.onlyLabel=!1,this.bankCounter=!0,this.customLabels={labelBankOpenHours:"",labelConsultationTimes:"",labelFoyerTimes:""},this.adviserLink={adviserLinkText:"",adviserLinkUrl:"",adviserTarget:""},this.sbTexts={servicebereich:"",foyer_oeffnungszeiten:""},this.collapse=!1,this.collapseOpeningHours=!0,this.collapseConsultationHours=!0,this.stringToObj=function(e){if(e&&"string"==typeof e){var t=e.replace(/\'/g,'"'),n=JSON.parse(JSON.stringify(t));return"string"==typeof n&&(n=JSON.parse(n)),n}return e}}return e.prototype.ngAfterContentChecked=function(){this.cd.detectChanges()},e.prototype.ngOnInit=function(){"string"==typeof this.collapse&&(this.collapse=JSON.parse(this.collapse)),this.customLabels=this.stringToObj(this.customLabels),this.sbTexts=this.stringToObj(this.sbTexts),this.adviserLink=this.stringToObj(this.adviserLink),this.loadBankDetail
1s()},e.prototype.loadBankDetails=function(){var e=this;this.bankid&&W5.r.getObservableToken().pipe(FQ(function(e){return null!=e})).subscribe(function(){e.bankSearch.info(e.bankid).subscribe(function(t){t&&(e.consultingHours=t.consultingHours,e.openingHours=t.openingHours,e.noteOpeningHours=t.hinweise_oeffnungszeiten,e.noteConsultingHours=t.hinweise_beratungszeiten,e.consultingOutsideOpeningHours=t.consultingOutsideOpeningHours,e.noteTemporarilyClosed=e.temporarilyClosed(t),e.bankCounter=t.bankCounter,e.cd.detectChanges())})})},e.prototype.temporarilyClosed=function(e){return e.temporarilyClosedFrom||e.temporarilyClosedTo?e.hinweise_schliessung:null},e.prototype.getCollapseId=function(e){return(e?"#":"")+"result-item-collapse-"+this.index},e.prototype.collapseOpeningHoursContainer=function(){this.collapseOpeningHours=!this.collapseOpeningHours,console.log("test",this.collapseOpeningHours),this.cd.detectChanges()},e.prototype.collapseConsultationHoursContainer=function(){this.collapseConsultationHours=!this.collapseConsultationHours,this.cd.detectChanges()},e.prototype.isOpen=function(e,t){var n,i,r;switch(!0){case null!==this.noteTemporarilyClosed&&t.openNow&&this.consultingOutsideOpeningHours:n="TEMPORARILY_CLOSED_CONSULTING",r="closed";break;case null!==this.noteTemporarilyClosed:n="TEMPORARILY_CLOSED",r="closed";break;case e.closedToday&&t.openNow&&this.consultingOutsideOpeningHours:n="CLOSED_TODAY_CONSULTING",r="closed";break;case e.closedToday:n="CLOSED_TODAY",r="closed";break;case e.openNow&&null!==e.openNowInterval:n="CLOSES_SOON",i=e.openNowInterval.open+"-"+e.openNowInterval.close,r="closes-soon";break;case e.openNow&&null===e.openNowInterval:n="NOW_OPENED",r="opened";break;case!e.openNow&&null!==e.openNowInterval:n="NOW_CLOSED_OPENS_AT",i=e.openNowInterval.open,r="closed";break;case t.openNow&&this.consultingOutsideOpeningHours:n="NOW_CLOSED_CONSULTING",r="closed";break;default:n="NOW_CLOSED",r="closed"}return this.openCloseStateStyle!==r&&this.updateStyle(r),this.translate.instant(n,{time:i})},e.prototype.updateStyle=function(e){this.openCloseStateStyle=e,this.cd.detectChanges()},e.prototype.strToBool=function(e){return/^\s*(true|1|on)\s*$/i.test(e)},e.prototype.validAdviserLink=function(e){return""!==e.adviserLinkText&&""!==e.adviserLinkUrl},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Q0),qP(Yce))},e.ɵcmp=DN({type:e,selectors:[["opening-hours-bank-detail"]],inputs:{bankid:"bankid",consultingHours:"consultingHours",openingHours:"openingHours",noteConsultingHours:"noteConsultingHours",noteOpeningHours:"noteOpeningHours",noteTemporarilyClosed:"noteTemporarilyClosed",consultingOutsideOpeningHours:"consultingOutsideOpeningHours",index:"index",onlyLabel:"onlyLabel",bankCounter:"bankCounter",customLabels:"customLabels",adviserLink:"adviserLink",sbTexts:"sbTexts",collapse:"collapse"},standalone:!1,decls:1,vars:1,consts:[[1,"d-none","text-center"],[1,"bank-content-wrapper"],[3,"class","innerText"],[3,"innerText"],[1,"opening-hours-details","mt-0"],[1,"hours-akkordeon"],[1,"icon","icon-clock","align-self-center"],[1,"mb-0",3,"translate"],["id","opening-hours-button","aria-controls","opening-hours-panel",1,"hours-akkordeon","btn-clear","w-100",3,"click"],[1,"icon-dropdown"],["id","opening-hours-panel","role","region","aria-labelledby","opening-hours-button",1,"hours-panel"],[1,"time-note",3,"innerText"],[1,"time-note",3,"translate"],[1,"foyer-hours"],[1,"weekday",3,"translate"],[1,"open-hours",3,"single"],[1,"open-hours",3,"translate"],[1,"open-hours"],[1,"consulting-hours"],[1,"icon","icon-person","align-self-center"],["id","consulting-hours-button","aria-controls","consulting-hours-panel",1,"hours-akkordeon","btn-clear","w-100",3,"click"],["id","consulting-hours-panel","role","region","aria-labelledby","consulting-hours-button",1,"hours-panel"],[1,"text-link",3,"innerText","target","href"],[1,"open-hours",3,"innerText"],[1,"d-flex","hours-akkordeon"],[1,"icon","icon-sbCenter","align-self-center"],[1,"pre-line","mb-0"],[1,"pre-line"]],template:function(e,t){1&e&&HV(0,zhe,6,5),2&e&&UV(t.openingHours?0:-1)},dependencies:[e2,t2,eue,tue],encapsulation:2}),e}(),qhe=function(){function e(e){this.injector=e;var t=T2(Uhe,{injector:e});customElements.define("rwm-opening-hours-bank-detail",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,RX,T5]}),e}(),Whe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({}),e}(),Ghe=function(){function e(e){this.injector=e;var t=T2(khe,{injector:e});customElements.define("rwm-banksearch-component",t)}return e.prototype.ngDoBootstrap=function(){console.log("Bootstrap Banksearch")},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,C5,S5,p0,f0,Zce,T5,B5,Whe,Che,qhe,Xie]}),e}(),Zhe=function(){function e(e){var t=this;this.http=e,this.getProducts=function(e,n,i,r,s){var o=new r1;return o=(o=(o=o.append("blz",j5.Zr)).append("bankstelle",j5.Wt)).append("kategorie",e),n&&(o=o.append("apiKategorie",n)),null!=i&&(o=o.append("schalteraushang",i)),null!=r&&(o=o.append("preisblattkomponente",r)),null!=s&&(o=o.append("produktkomponente",s)),t.http.get(j5.KT+j5.vZ.products.product,{params:o}).pipe(Ox(function(e){return e.results}))},this.downloadDocuments=function(e,n,i,r){var s=new r1;return s=(s=(s=(s=(s=(s=s.append("blz",j5.Zr)).append("bankstelle",j5.Wt)).append("kategorie",e)).append("detailProduktId",n)).append("detailProduktVersion",i)).append("dokumentArt",r),t.http.get(j5.KT+j5.vZ.products.documents,{params:s,responseType:"blob"}).pipe(Ox(function(e){return e}))},this.getDefaultBankstelle=function(){return t.http.get(j5.KT+j5.vZ.banksearch.default+j5.Zr).pipe(T8(function(e){if(404===e.status)return YQ(null);throw e}),Ox(function(e){return e}))}}return e.prototype.trackProductEvent=function(e,t,n,i){void 0===i&&(i=!1),E5.A.eventTracking(!0,"produkte",n,{blz:j5.Zr,marketingName:e.marketingName,produkt:i?e.modell:e.detailProduktId,detailProduktZusatz:e.detailProduktZusatz},t)},e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),Yhe=function(e){return{query:e}};function Khe(e,t){1&e&&o$(0,"h4",7),2&e&&n$("innerText",qj(2).product.marketingName)}function Jhe(e,t){1&e&&o$(0,"p",8),2&e&&n$("innerText",qj(2).detailContent)}function Xhe(e,t){if(1&e&&(o$(0,"span",13),nU(1,"escapeHtml"),nU(2,"translate"),r$(3,"span",14),nU(4,"escapeHtml"),VH(5),s$()),2&e){var n=qj().$implicit;n$("title",rU(2,6,"PRODUCT_DOWNLOAD_FILE",jz(11,Yhe,iU(1,4,n.linkName)))),$A(3),n$("translate","PRODUCT_DOWNLOAD_FILE")("translateParams",jz(13,Yhe,iU(4,9,n.linkName))),$A(2),XH(' "',n.linkName,'" wird geladen')}}function Qhe(e,t){1&e&&(o$(0,"span",15),nU(1,"translate"),o$(2,"span",16)),2&e&&(n$("title",iU(1,2,"PRODUCT_NO_FILE")),$A(2),n$("translate","PRODUCT_NO_FILE"))}function epe(e,t){if(1&e){var n=w$();r$(0,"li")(1,"a",10),jj("click",function(){var e=a_(n),t=e.$implicit,i=e.$index,r=qj(3);return l_(r.download(r.product,t.homepageProduct,i))}
1),o$(2,"span",11),VH(3),s$(),r$(4,"span",12),HV(5,Xhe,6,15),HV(6,Qhe,3,4),s$()()}if(2&e){var i=t.$implicit,r=qj(3);$A(),xH("download-disabled",r.disableDownloadBtn),sV("aria-describedby","headline-"+r.product.detailProduktId)("aria-label","Download "+i.linkName+" (PDF)"),$A(),sV("aria-hidden",!0),$A(),XH(" ",i.linkName," "),$A(2),UV(i.download?5:-1),$A(),UV(i.failed?6:-1)}}function tpe(e,t){if(1&e&&(r$(0,"ul",9),YV(1,epe,7,8,"li",null,GV),s$()),2&e){var n=qj(2);$A(),XV(n.product.items)}}function npe(e,t){if(1&e&&(o$(0,"span",13),nU(1,"escapeHtml"),nU(2,"translate"),r$(3,"span",14),nU(4,"escapeHtml"),VH(5),s$()),2&e){var n=qj(3);n$("title",rU(2,6,"PRODUCT_DOWNLOAD_FILE",jz(11,Yhe,iU(1,4,n.product.items[0].linkName)))),$A(3),n$("translate","PRODUCT_DOWNLOAD_FILE")("translateParams",jz(13,Yhe,iU(4,9,n.product.items[0].linkName))),$A(2),XH(' "',n.product.items[0].linkName,'" wird geladen')}}function ipe(e,t){1&e&&(o$(0,"span",15),nU(1,"translate"),o$(2,"span",16)),2&e&&(n$("title",iU(1,2,"PRODUCT_NO_FILE")),$A(2),n$("translate","PRODUCT_NO_FILE"))}function rpe(e,t){if(1&e){var n=w$();r$(0,"div")(1,"div",17)(2,"a",10),jj("click",function(){a_(n);var e=qj(2);return l_(e.download(e.product,e.product.items[0].homepageProduct,0))}),o$(3,"span",11),VH(4),s$(),r$(5,"span",12),HV(6,npe,6,15),HV(7,ipe,3,4),s$()()()}if(2&e){var i=qj(2);$A(2),xH("download-disabled",i.disableDownloadBtn),sV("aria-describedby","headline-"+i.product.detailProduktId)("aria-label","Download "+i.product.items[0].linkName+" (PDF)"),$A(),sV("aria-hidden",!0),$A(),XH(" ",i.product.items[0].linkName," "),$A(2),UV(i.product.items[0].download?6:-1),$A(),UV(i.product.items[0].failed?7:-1)}}function spe(e,t){if(1&e){var n=w$();r$(0,"div",0)(1,"div",2)(2,"a",3),jj("click",function(){return a_(n),l_(qj().toggleOpen())}),o$(3,"span",4)(4,"span",5),s$()(),r$(5,"div",6),HV(6,Khe,1,1,"h4",7),HV(7,Jhe,1,1,"p",8),HV(8,tpe,3,0,"ul",9),HV(9,rpe,8,8,"div"),s$(),r$(10,"div",2)(11,"a",3),nU(12,"translate"),nU(13,"translate"),jj("click",function(){return a_(n),l_(qj().toggleOpen())}),o$(14,"span",4)(15,"span",5),s$()()()}if(2&e){var i=qj();$A(),n$("hidden",i.isOpen),$A(),sV("aria-expanded",i.isOpen)("aria-controls",i.toggleId),$A(),n$("translate",i.isOpen?"CLOSE":"PRICES_CONDITIONS"),$A(),n$("ngClass",i.isOpen?"icon-close_circle":"icon-arrow_circle_down"),sV("aria-hidden",!0),$A(),n$("id",i.toggleId)("hidden",!i.isOpen),$A(),UV(i.product.marketingName&&i.visibleHeadline?6:-1),$A(),UV(i.detailContent?7:-1),$A(),UV(i.product.items.length>1?8:-1),$A(),UV(1==i.product.items.length?9:-1),$A(),n$("hidden",!i.isOpen),$A(),sV("aria-expanded",i.isOpen)("aria-controls",i.toggleId)("aria-label",iU(12,19,"PRICES_CONDITIONS")+" "+iU(13,21,"CLOSE")),$A(3),n$("translate","CLOSE"),$A(),n$("ngClass","icon-close_circle"),sV("aria-hidden",!0)}}function ope(e,t){if(1&e&&o$(0,"h3",18),2&e){var n=qj(2);n$("id","headline-"+n.toggleId)("innerText",n.product.marketingName)}}function ape(e,t){if(1&e&&o$(0,"span",19),2&e){var n=qj(2);n$("id","headline-"+n.toggleId)("innerText",n.product.marketingName)}}function lpe(e,t){1&e&&o$(0,"p",8),2&e&&n$("innerText",qj(2).detailContent)}function cpe(e,t){if(1&e&&(o$(0,"span",13),nU(1,"escapeHtml"),nU(2,"translate"),r$(3,"span",14),nU(4,"escapeHtml"),VH(5),s$()),2&e){var n=qj().$implicit;n$("title",rU(2,6,"PRODUCT_DOWNLOAD_FILE",jz(11,Yhe,iU(1,4,n.linkName)))),$A(3),n$("translate","PRODUCT_DOWNLOAD_FILE")("translateParams",jz(13,Yhe,iU(4,9,n.linkName))),$A(2),XH(' "',n.linkName,'" wird geladen')}}function upe(e,t){1&e&&(o$(0,"span",15),nU(1,"translate"),o$(2,"span",16)),2&e&&(n$("title",iU(1,2,"PRODUCT_NO_FILE")),$A(2),n$("translate","PRODUCT_NO_FILE"))}function dpe(e,t){if(1&e){var n=w$();r$(0,"li")(1,"a",10),jj("click",function(){var e=a_(n),t=e.$implicit,i=e.$index,r=qj(3);return l_(r.download(r.product,t.homepageProduct,i))}),o$(2,"span",11),VH(3),s$(),r$(4,"span",12),HV(5,cpe,6,15),HV(6,upe,3,4),s$()()}if(2&e){var i=t.$implicit,r=qj(3);$A(),xH("download-disabled",r.disableDownloadBtn),sV("aria-describedby","headline-"+r.toggleId)("aria-label","Download "+i.linkName+" (PDF)"),$A(),sV("aria-hidden",!0),$A(),XH(" ",i.linkName," "),$A
1(2),UV(i.download?5:-1),$A(),UV(i.failed?6:-1)}}function hpe(e,t){if(1&e&&(r$(0,"ul",9),YV(1,dpe,7,8,"li",null,GV),s$()),2&e){var n=qj(2);$A(),XV(n.product.items)}}function ppe(e,t){if(1&e&&(o$(0,"span",13),nU(1,"escapeHtml"),nU(2,"translate"),r$(3,"span",14),nU(4,"escapeHtml"),VH(5),s$()),2&e){var n=qj(3);n$("title",rU(2,6,"PRODUCT_DOWNLOAD_FILE",jz(11,Yhe,iU(1,4,n.product.items[0].linkName)))),$A(3),n$("translate","PRODUCT_DOWNLOAD_FILE")("translateParams",jz(13,Yhe,iU(4,9,n.product.items[0].linkName))),$A(2),XH(' "',n.product.items[0].linkName,'" wird geladen')}}function fpe(e,t){1&e&&(o$(0,"span",15),nU(1,"translate"),o$(2,"span",16)),2&e&&(n$("title",iU(1,2,"PRODUCT_NO_FILE")),$A(2),n$("translate","PRODUCT_NO_FILE"))}function mpe(e,t){if(1&e){var n=w$();r$(0,"div",17)(1,"a",10),jj("click",function(){a_(n);var e=qj(2);return l_(e.download(e.product,e.product.items[0].homepageProduct,0))}),o$(2,"span",11),VH(3),s$(),r$(4,"span",12),HV(5,ppe,6,15),HV(6,fpe,3,4),s$()()}if(2&e){var i=qj(2);$A(),xH("download-disabled",i.disableDownloadBtn),sV("aria-describedby","headline-"+i.toggleId)("aria-label","Download "+i.product.items[0].linkName+" (PDF)"),$A(),sV("aria-hidden",!0),$A(),XH(" ",i.product.items[0].linkName," "),$A(2),UV(i.product.items[0].download?5:-1),$A(),UV(i.product.items[0].failed?6:-1)}}function gpe(e,t){if(1&e&&(r$(0,"div",1),HV(1,ope,1,2,"h3",18),HV(2,ape,1,2,"span",19),HV(3,lpe,1,1,"p",8),HV(4,hpe,3,0,"ul",9),HV(5,mpe,7,8,"div",17),s$()),2&e){var n=qj();$A(),UV(n.product.marketingName&&n.visibleHeadline&&"true"==n.distinction?1:-1),$A(),UV(n.product.marketingName&&n.visibleHeadline&&"false"==n.distinction?2:-1),$A(),UV(n.detailContent?3:-1),$A(),UV(n.product.items.length>1?4:-1),$A(),UV(1==n.product.items.length?5:-1)}}var vpe=!1,ype=function(){function e(e,t,n){this.translate=e,this.cd=t,this.PricesheetServices=n,this.toggle=!1,this.detailContent=null,this.visibleHeadline=!1,this.isOpen=!1,this.toggleId="collapse-"+E5.A.uidGenerator(),this.disableDownloadBtn=!1,this.mapHomepageProduct={Zusatzblatt:"ZUSATZBLATT",Preisblatt:"PREISBLATT",Tarifwahlblatt:"TARIFWAHLBLATT",Entgeltinformationen:"ENTGELTINFO",Entgeltglossar:"ENTGELTGLOS",Glossar:"ENTGELTINFOGLOSSAR"}}return e.prototype.ngOnInit=function(){this.visible=void 0!==this.product.items&&this.product.items.length>0},e.prototype.download=function(e,t,n){var i=this,r=e.items[n];if(!vpe){vpe=!0,r.failed=!1,r.download=!0,this.cd.detectChanges();var s=this.mapHomepageProduct[t]?this.mapHomepageProduct[t]:t.toUpperCase();this.PricesheetServices.downloadDocuments(e.detailProduktZusatz,e.detailProduktId,e.detailProduktVersion,s).pipe(VQ(function(){E5.A.eventTracking(!0,"produkte","Download Dokument",{blz:j5.cr.blz,marketingName:e.marketingName,produkt:i.apiCategory?e.modell:e.detailProduktId,detailProduktZusatz:e.detailProduktZusatz,dokument:t},"downloadDokument")})).subscribe(function(n){i.downloadFile(n,"application/pdf",e.marketingName+"-"+t)},function(e){r.download=!1,r.failed=!0,vpe=!1,i.cd.detectChanges()},function(){r.download=!1,vpe=!1,i.cd.detectChanges()})}},e.prototype.downloadFile=function(e,t,n){n=n.replace(/ /g,"-").toLowerCase()+".pdf";var i=new Blob([e],{type:t}),r=window.URL.createObjectURL(i);this.openFancybox(r,n)},e.prototype.toggleOpen=function(){this.isOpen=!this.isOpen,this.cd.detectChanges()},e.prototype.openFancybox=function(e,t){var n=this.translate.instant("CLOSE"),i={type:"html",src:'<div>\n                    <div class="manual-download">\n                        <a href="'+e+'" download="'+t+'" aria-label="Klicken Sie hier zum Herunterladen." class="text-link">\n                            Klicken Sie hier zum Herunterladen. \n                        </a>\n                    </div>\n                    <object data="'+e+'"  type="application/pdf" class="pdf-viewer">Datei kann nicht dargestellt werden.</object>\n                </div>',btnTpl:{smallBtn:'<div class="fancybox-pension-calculator-info">\n                        <button data-fancybox-close class="fancybox-button fancybox-button--close btn btn-primary" title="'+n+'">'+n+"</button>\n                       </div>"}};E5.A.openFancybox("body",i,"pdf")},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(uZ),qP(Zhe))},e.ɵcmp=DN({type:e,selectors:[["product-file-download"]],inputs:{product:"product",blz:"blz",toggle:"toggle",detailContent:"detailContent",visibleHeadline:"visibleHeadline",distinction:"distinction",apiCategory:"apiCategory"},standalone:!1,decls:2,vars:2,consts:[[1,"component-content-plus"],[1,"component-downloadlist"],[1,"content-plus-controls",3,"hidden"],["href","javascript:void(0)",1,"btn","btn-content-plus","btn-icon-bouncy",3,"click"],[1,"btn-text",3,"translate"],[1,"btn-icon",3,"ngClass"],[1,"component-downloadlist",3,"id","hidden"],[3,"innerText"],[1,"description",3,"innerText"],[1,"link-list"],["href","javascript:void(0)",1,"text-link",3,"click"],[1,"icon-pdf"],[1,"download-state"],["aria-hidden","true",1,"icon-loading",3,"title"],["role","status",1,"visually-hidden",3,"translate","translateParams"],["aria-hidden","true",1,"icon-attention_alert",3,"title"],["role","alert",1,"visually-hidden",3,"translate"],[1,"downloadlist-element"],[3,"id","innerText"],[1,"title",3,"id","innerText"]],template:function(e,t){1&e&&(HV(0,spe,16,23,"div",0),HV(1,gpe,6,5,"div",1)),2&e&&(UV(t.toggle&&t.visible?0:-1),$A(),UV(!t.toggle&&t.visible?1:-1))},dependencies:[GJ,e2,t2,yoe],encapsulation:2}),e}(),bpe=function(e){return{row:e}};function wpe(e,t){if(1&e&&o$(0,"product-file-download",1),2&e){var n=t.$implicit,i=qj();n$("product",n)("visibleHeadline",!0)("ngClass",i.gridStyle)("distinction",i.headline)}}function _pe(e,t){1&e&&o$(0,"div",2)}var xpe=function(){function e(e,t,n,i){this.cd=e,this.ProductServices=t,this.translate=n,this.alertService=i,this.categorie="HPGIRO",this.presentation="vertical",this.schalteraushang=!1,this.preisblattkomponente=!1,this.errorId="pricesheet-"+E5.A.uidGenerator,this.productsArray=[],this.loading=!0,this.distinction=!0,this.availableDocuments=function(e,t){var n,i,r=[],s=e.split(";");try{for(var o=(0,$g.Ju)(s),a=o.next();!a.done;a=o.next()){var l=a.value,c=JSON.parse(l);("Tarifwahlblatt"!==c.homepageProduct||(void 0===t.vergleichsprodukt||t.vergleichsprodukt))&&(c.download=!1,c.failed=!1,r.push(c))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return r}}return e.prototype.ngOnInit=function(){var e=this;W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.getProducts()},function(){e.errorMsg()})},e.prototype.getProducts=function(){var e=this;this.ProductServices.getProducts(this.categorie,null,this.schalteraushang,this.preisblattkomponente,null).subscribe(function(t){e.alertService.clear(e.errorId),e.loading=!1,e.products=e.mergeModels(t,e.documentLinks),e.productsArray=Object.values(e.products),e.gridStyle=e.getGridStyle(e.products.length)},function(){e.errorMsg()},function(){e.updateModels()})},e.prototype.mergeModels=function(e,t){var n,i,r=[];try{for(var s=(0,$g.Ju)(e),o=s.next();!o.done;o=s.next()){var a=o.value;if(a.marketingName){var l=this.availableDocuments(t,a);l.length>0&&(a.items=l,r.push(a))}}}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return r},e.prototype.errorMsg=function(){this.alertService.clear(this.errorId),this.alertService.error(this.translate.instant("ERROR_MESSAGE_HEADLINE"),this.translate.instant("ERROR_MESSAGE_CONTENT"),{id:this.errorId}),this.loading=!1,this.updateModels()},e.prototype.getGridStyle=function(e){var t;if("horizontal"===this.presentation)switch(!0){case e>2:t="col-12 col-md-6 col-lg-4";break;
1case 2==e:t="col-12 col-md-6 col-lg-6";break;default:t="col-12"}return t},e.prototype.updateModels=function(){this.cd.detach(),this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Zhe),qP(Q0),qP(_te))},e.ɵcmp=DN({type:e,selectors:[["pricesheet"]],inputs:{documentLinks:"documentLinks",categorie:"categorie",presentation:"presentation",schalteraushang:"schalteraushang",preisblattkomponente:"preisblattkomponente",headline:"headline"},standalone:!1,decls:5,vars:5,consts:[[3,"ngClass"],[3,"product","visibleHeadline","ngClass","distinction"],[1,"loading"],[3,"id"]],template:function(e,t){1&e&&(r$(0,"div",0),YV(1,wpe,1,4,"product-file-download",1,GV),s$(),HV(3,_pe,1,0,"div",2),o$(4,"alert",3)),2&e&&(n$("ngClass",jz(3,bpe,"horizontal"===t.presentation)),$A(),XV(t.productsArray),$A(2),UV(t.loading?3:-1),$A(),n$("id",t.errorId))},dependencies:[GJ,Cte,ype],encapsulation:2}),e}(),kpe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),Cpe=function(){function e(e){this.injector=e;var t=T2(xpe,{injector:e});customElements.define("pricesheet-component",t)}return e.prototype.ngDoBootstrap=function(){},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,_Q,T5,vte,kpe]}),e}(),Spe=o(4692);class Tpe{config;afterChange=vG();beforeChange=vG();breakpoint=vG();destroy=vG();init=vG();$instance;currentIndex=0;slides=[];initialized=!1;_removedSlides=[];_addedSlides=[];el=Dy(xC);zone=Dy(dD);isServer=pK(Dy(xS));ngOnDestroy(){this.unslick()}ngAfterViewInit(){this.ngAfterViewChecked()}ngAfterViewChecked(){if(!this.isServer&&(this._addedSlides.length>0||this._removedSlides.length>0)){const e=this.slides.length-this._removedSlides.length+this._addedSlides.length;this.initialized?0===e?this.unslick():(this._addedSlides.forEach(e=>{this.slides.push(e),this.$instance.slick("slickAdd",e.el.nativeElement)}),this._addedSlides=[],this._removedSlides.forEach(e=>{const t=this.slides.indexOf(e);this.slides=this.slides.filter(t=>t!==e),this.$instance.slick("slickRemove",t)}),this._removedSlides=[]):e>0&&this.initSlick()}}initSlick(){this.slides=this._addedSlides,this._addedSlides=[],this._removedSlides=[],this.$instance=Spe(this.el.nativeElement),this.$instance.on("init",(e,t)=>{this.zone.run(()=>{this.init.emit({event:e,slick:t})})}),this.$instance.slick(this.config),this.zone.run(()=>{this.initialized=!0,this.currentIndex=this.config?.initialSlide||0}),this.$instance.on("afterChange",(e,t,n)=>{this.zone.run(()=>{this.afterChange.emit({event:e,slick:t,currentSlide:n,first:0===n,last:t.$slides.length===n+t.options.slidesToScroll}),this.currentIndex=n})}),this.$instance.on("beforeChange",(e,t,n,i)=>{this.zone.run(()=>{this.beforeChange.emit({event:e,slick:t,currentSlide:n,nextSlide:i}),this.currentIndex=i})}),this.$instance.on("breakpoint",(e,t,n)=>{this.zone.run(()=>{this.breakpoint.emit({event:e,slick:t,breakpoint:n})})}),this.$instance.on("destroy",(e,t)=>{this.zone.run(()=>{this.destroy.emit({event:e,slick:t}),this.initialized=!1})})}addSlide(e){this._addedSlides.push(e)}removeSlide(e){this._removedSlides.push(e)}slickGoTo(e){this.$instance.slick("slickGoTo",e)}slickNext(){this.$instance.slick("slickNext")}slickPrev(){this.$instance.slick("slickPrev")}slickPause(){this.$instance.slick("slickPause")}slickPlay(){this.$instance.slick("slickPlay")}unslick(){this.$instance&&(this.$instance.slick("unslick"),this.$instance=void 0),this.initialized=!1}ngOnChanges(e){if(this.initialized){const t=e.config;if(t.previousValue!==t.currentValue&&void 0!==t.currentValue){const e=t.currentValue.refresh,n=Object.assign({},t.currentValue);delete n.refresh,this.$instance.slick("slickSetOption",n,e)}}}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.2",ngImport:e,type:Tpe,deps:[],target:hG.Component});static"ɵcmp"=DY({minVersion:"14.0.0",version:"20.3.2",type:Tpe,isStandalone:!1,selector:"ngx-slick-carousel",inputs:{config:"config"},outputs:{afterChange:"afterChange",beforeChange:"beforeChange",breakpoint:"breakpoint",destroy:"destroy",init:"init"},providers:[{provide:P2,useExisting:uv(()=>Tpe),multi:!0}],exportAs:["slick-carousel"],usesOnChanges:!0,ngImport:e,template:"<ng-content></ng-content>",isInline:!0})}
1IY({minVersion:"12.0.0",version:"20.3.2",ngImport:e,type:Tpe,decorators:[{type:tq,args:[{selector:"ngx-slick-carousel",exportAs:"slick-carousel",providers:[{provide:P2,useExisting:uv(()=>Tpe),multi:!0}],template:"<ng-content></ng-content>",standalone:!1}]}],propDecorators:{config:[{type:iq}]}});class Epe{carousel=Dy(Tpe,{host:!0});renderer=Dy(OP);el=Dy(xC);isServer=pK(Dy(xS));ngOnInit(){this.carousel.addSlide(this),this.isServer&&this.carousel.slides.length>0&&this.renderer.setStyle(this.el,"display","none")}ngOnDestroy(){this.carousel.removeSlide(this)}static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.2",ngImport:e,type:Epe,deps:[],target:hG.Directive});static"ɵdir"=EY({minVersion:"14.0.0",version:"20.3.2",type:Epe,isStandalone:!1,selector:"[ngxSlickItem]",ngImport:e})}IY({minVersion:"12.0.0",version:"20.3.2",ngImport:e,type:Epe,decorators:[{type:eq,args:[{selector:"[ngxSlickItem]",standalone:!1}]}]});class Ipe{static"ɵfac"=MY({minVersion:"12.0.0",version:"20.3.2",ngImport:e,type:Ipe,deps:[],target:hG.NgModule});static"ɵmod"=NY({minVersion:"14.0.0",version:"20.3.2",ngImport:e,type:Ipe,declarations:[Tpe,Epe],imports:[RX],exports:[Tpe,Epe]});static"ɵinj"=LY({minVersion:"12.0.0",version:"20.3.2",ngImport:e,type:Ipe,imports:[RX]})}IY({minVersion:"12.0.0",version:"20.3.2",ngImport:e,type:Ipe,decorators:[{type:aq,args:[{imports:[RX],declarations:[Tpe,Epe],exports:[Tpe,Epe]}]}]});var Ape=o(2804),Dpe=function(){function e(){}return e.prototype.transform=function(e){var t=Ape._.getUTMParams(location.search.substring(1));if(e)return Ape._.createLink(e,t)},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"utmParameter",type:e,pure:!0,standalone:!1}),e}(),Mpe=function(e){return{row:e}},Ope=function(e){return{"col-12 col-md-6":e}};function Ppe(e,t){if(1&e&&o$(0,"span",1),2&e){var n=qj();n$("translate",n.settings.topProductLabel?n.settings.topProductLabel:"PRODUCT_TOP_PRODUCT")}}function Lpe(e,t){if(1&e&&o$(0,"h2",18),2&e){var n=qj();_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.productItem.detailProduktId)("innerText",n.productItem.marketingNameKurz?n.productItem.marketingNameKurz:n.productItem.marketingName)}}function Npe(e,t){if(1&e&&o$(0,"h3",18),2&e){var n=qj();_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.productItem.detailProduktId)("innerText",n.productItem.marketingNameKurz?n.productItem.marketingNameKurz:n.productItem.marketingName)}}function Rpe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj();$A(),QH(" ",n.productItem.produktBeschreibung1," ",n.productItem.produktBeschreibung2," ")}}function Bpe(e,t){if(1&e&&(r$(0,"li"),VH(1),s$()),2&e){var n=t.$implicit;$A(),JH(n)}}function Fpe(e,t){1&e&&YV(0,Bpe,2,1,"li",null,GV),2&e&&XV(qj().productItem.produktVorteile)}function Vpe(e,t){if(1&e&&(r$(0,"li"),VH(1),s$()),2&e){var n=qj();$A(),XH(" ",n.productItem.onlineAngebotKBVText," ")}}function $pe(e,t){if(1&e&&(r$(0,"div"),o$(1,"span",19)(2,"span",12),s$()),2&e){var n=qj(2);$A(2),n$("innerText",n.getProjectMeinElbaLabel())}}function jpe(e,t){1&e&&(r$(0,"div"),o$(1,"span",20)(2,"span",1),s$()),2&e&&($A(2),n$("translate","PRODUCT_DEBITCARD"))}function Hpe(e,t){1&e&&(r$(0,"div"),o$(1,"span",21)(2,"span",1),s$()),2&e&&($A(2),n$("translate","PRODUCT_PICTURECARD"))}function zpe(e,t){1&e&&(r$(0,"div"),o$(1,"span",22)(2,"span",1),s$()),2&e&&($A(2),n$("translate","PRODUCT_CREDITCARD"))}function Upe(e,t){1&e&&(r$(0,"div"),o$(1,"span",23)(2,"span",1),s$()),2&e&&($A(2),n$("translate","PRODUCT_INSURANCE"))}function qpe(e,t){if(1&e&&(HV(0,$pe,3,1,"div"),HV(1,jpe,3,1,"div"),HV(2,Hpe,3,1,"div"),HV(3,zpe,3,1,"div"),HV(4,Upe,3,1,"div")),2&e){var n=qj();UV(n.productItem.detailproduktELBA?0:-1),$A(),UV(n.productItem.detailproduktDebitkarte?1:-1),$A(),UV(n.productItem.detailproduktPicturecard?2:-1),$A(),UV(n.productItem.detailproduktKreditkarte?3:-1),$A(),UV(n.productItem.onlineAngebotKBV?4:-1)}}function Wpe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj();$A(),ez(" ",n.productItem.rechtlicherHinweis1," ",n.productItem.rechtlicherHinweis2," ",n.productItem.rechtlicherHinweis3," ")}}function Gpe(e,t){if(1&e&&(o$(0,"span",12),nU(1,"translate"),nU(2,"translate")),2&e){var n=qj();n$("innerText",n.productItem.kontofuehrung+" "+iU(1,1,"CURRENCY_CODE")+" "+iU(2,3,n.productItem.abschlussRhythmus+"LY"))}}function Zpe(e,t){if(1&e){var n=w$();r$(0,"div",14)(1,"a",24),nU(2,"utmParameter"),jj("click",function(){return a_(n),l_(qj().eventTrackingProducts("klickOnlineAbschluss","Klick Online Abschluss"))}),s$()()}if(2&e){var i=qj();$A(),n$("href",iU(2,4,i.e2eLink),ZI)("id","link-cta-"+i.productItem.detailProduktId)("innerText",i.productItem.btnE2e.label),sV("aria-labelledby","headline-"+i.productItem.detailProduktId+" link-cta-"+i.productItem.detailProduktId)}}function Ype(e,t){if(1&e){var n=w$();r$(0,"rwm-overlay-cta",25),jj("click",function(){return a_(n),l_(qj().eventTrackingProducts("klickProduktanfrage","Klick Produktanfrage"))}),s$()}if(2&e){var i=qj();n$("label",i.productItem.btnInquiry.label)("url",i.productItem.btnInquiry.path)("target",i.productItem.btnInquiry.target)("prefillType","prefillTextArea")("resultsSummary",i.prefillResult)("inConditionalStatement",!0)("labelledBy",i.productItem.detailProduktId)}}function Kpe(e,t){if(1&e&&o$(0,"product-file-download",17),2&e){var n=qj();n$("product",n.productItem)("toggle",n.downloadToggleBtn)("apiCategory",n.apiCategory)("detailContent",n.getTranslation("PRICES_CONDITIONS_DESCRIPTION","PRICES_CONDITIONS_DESCRIPTIONS"))}}new $5.Fv;var Jpe=function(){function e(e,t){var n=this;this.translate=e,this.ProductServices=t,this.apiCategory=!1,this.downloadToggleBtn=!0,this.blz=j5.cr.blz,this.e2eLink="",this.getTranslation=function(e,t){var i=(n.productItem.items?n.productItem.items.length:0)>1?t:e;return n.translate.instant(i)}}return e.prototype.ngOnInit=function(){this.setPrefillResult(),this.singleColumn=1===this.columns,this.visibleInquiryBtn=this.btnInquiry(this.productItem.btnInquiry),this.linkBankNumber()},e.prototype.eventTrackingProducts=function(e,t){this.ProductServices.trackProductEvent(this.productItem,e,t,this.apiCategory)},e.prototype.getStoredBank=function(){var e=new $5.Fv;try{return e.get($5.YM.branch,$5.YM.otGroupBranch)}catch(e){return null}},e.prototype.linkBankNumber=function(e){var t;void 0===e&&(e=this.getStoredBank()),(null===(t=this.productItem)||void 0===t?void 0:t.e2eLink)&&((null==e?void 0:e.blz)===this.blz&&e.bankNumber?this.e2eLink=this.productItem.e2eLink+"&bankstelle="+e.bankNumber:null!==this.defaultBankstelle?this.e2eLink=this.productItem.e2eLink+"&bankstelle="+this.defaultBankstelle:this.e2eLink=this.productItem.e2eLink)},e.prototype.setPrefillResult=function(){var e=[{element:".calculation_result",value:{intro:"".concat(this.translate.instant("PRODUCT_FORM_INTRO")),product:"".concat(this.productItem.marketingName)}}];this.prefillResult=[JSON.stringify(e)]},e.prototype.btnInquiry=function(e){return"null"!==e.label&&e.label&&e.path},e.prototype.isEmpty=function(e){return e?null:"no-content"},e.prototype.getProjectMeinElbaLabel=function(){return"39100"===this.blz?"Poso Online Banking":this.translate.instant("PRODUCT_MEIN_ELBA")},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(Zhe))},e.ɵcmp=DN({type:e,selectors:[["hpgiro"]],inputs:{productItem:"productItem",apiCategory:"apiCategory",height:"height",columns:"columns",settings:"settings",defaultBankstelle:"defaultBankstelle"},standalone:!1,decls:26,vars:51,consts:[["data-row","highlight"],[3,"translate"],[1,"content-container"],[1,"content-wrapper-product"],["data-row","marketingName",3,"id","innerText","height"],[1,"rte"],["data-row","produktBeschreibung",1,"row-spacer"],[3,"ngClass"],["data-row","produkt
1Vorteil",1,"product-advantage","row-spacer"],["data-row","detailProdukte",1,"detail-products","row-spacer"],["data-row","disclaimer",1,"disclaimer"],["data-row","accountFee",1,"account-fee"],[3,"innerText"],["data-row","buttonGroup",1,"btn-group"],[1,"cta-wrapper-content-box"],[3,"label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","btnStyle","labelledBy"],[3,"product","toggle","apiCategory","detailContent"],["data-row","marketingName",3,"id","innerText"],["aria-hidden","true",1,"icon-product-phone"],["aria-hidden","true",1,"icon-product-dcard"],["aria-hidden","true",1,"icon-product-pcard"],["aria-hidden","true",1,"icon-product-kcard"],["aria-hidden","true",1,"icon-product-shield"],["target","_blank",1,"btn","btn-primary",3,"click","href","id","innerText"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"]],template:function(e,t){1&e&&(r$(0,"div",0),HV(1,Ppe,1,1,"span",1),s$(),r$(2,"div",2)(3,"div",3),HV(4,Lpe,1,4,"h2",4),HV(5,Npe,1,4,"h3",4),r$(6,"div",5)(7,"div",6),HV(8,Rpe,2,2,"p"),s$(),r$(9,"div",7)(10,"div",7)(11,"ul",8),HV(12,Fpe,2,0),HV(13,Vpe,2,1,"li"),s$()(),r$(14,"div",7)(15,"div",9),HV(16,qpe,5,5),s$(),r$(17,"div",10),HV(18,Wpe,2,3,"p"),s$()()(),r$(19,"div",11),HV(20,Gpe,3,5,"span",12),s$()(),r$(21,"div",13),HV(22,Zpe,3,6,"div",14),HV(23,Ype,1,7,"rwm-overlay-cta",15),r$(24,"rwm-overlay-cta",16),jj("click",function(){return t.eventTrackingProducts("klickKontakt","Klick Kontakt")}),s$()(),HV(25,Kpe,1,4,"product-file-download",17),s$()()),2&e&&(_H("height",t.height.highlight,"px"),xH("highlight-marker",t.productItem.topProduct),$A(),UV(t.productItem.topProduct?1:-1),$A(),xH("component-spacer",t.singleColumn)("visible-toggle-btn",t.productItem.visibleProductFileDownload)("highlight",t.productItem.topProduct),$A(2),UV(t.settings.largeHeadline?4:-1),$A(),UV(t.settings.largeHeadline?-1:5),$A(2),_H("height",t.height.produktBeschreibung,"px"),$A(),UV(t.productItem.produktBeschreibung1||t.productItem.produktBeschreibung2?8:-1),$A(),n$("ngClass",jz(45,Mpe,t.singleColumn)),$A(),n$("ngClass",jz(47,Ope,t.singleColumn)),$A(),_H("height",t.height.produktVorteil,"px"),$A(),UV(t.productItem.produktVorteile?12:-1),$A(),UV(t.productItem.onlineAngebotKBV&&t.productItem.onlineAngebotKBVText?13:-1),$A(),n$("ngClass",jz(49,Ope,t.singleColumn)),$A(),_H("height",t.height.detailProdukte,"px"),$A(),UV(t.settings.hideSymbols?-1:16),$A(),_H("height",t.height.disclaimer,"px"),$A(),UV(t.productItem.rechtlicherHinweis1||t.productItem.rechtlicherHinweis2||t.productItem.rechtlicherHinweis3?18:-1),$A(),_H("height",t.height.accountFee,"px"),$A(),UV(t.settings.showKontoPreis&&t.productItem.kontofuehrung&&t.productItem.abschlussRhythmus?20:-1),$A(),_H("height",t.height.buttonGroup,"px"),$A(),UV(t.productItem.e2eAbschluss?22:-1),$A(),UV(!t.productItem.e2eAbschluss&&t.visibleInquiryBtn?23:-1),$A(),n$("label",t.productItem.btnContact.label)("url",t.productItem.btnContact.path)("target",t.productItem.btnContact.target)("prefillType","prefillTextArea")("resultsSummary",t.prefillResult)("inConditionalStatement",!0)("btnStyle",t.productItem.e2eAbschluss||t.visibleInquiryBtn?"btn-default":"btn-primary")("labelledBy",t.productItem.detailProduktId),$A(),UV(t.apiCategory?-1:25))},dependencies:[GJ,e2,ype,Sle,t2,Dpe],encapsulation:2}),e}();function Xpe(e,t){if(1&e&&o$(0,"span",1),2&e){var n=qj();n$("translate",n.settings.topProductLabel?n.settings.topProductLabel:"PRODUCT_TOP_PRODUCT")}}function Qpe(e,t){if(1&e&&o$(0,"h2",19),2&e){var n=qj(2);_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.product.detailProduktId)("innerText",n.product.marketingName)}}function efe(e,t){if(1&e&&o$(0,"h3",19),2&e){var n=qj(2);_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.product.detailProduktId)("innerText",n.product.marketingName)}}function tfe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.product.produktBeschreibung1)}}function nfe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.product.produktBeschreibung2)}}function ife(e,t){if(1&e&&(r$(0,"li"),VH(1),s$()),2&e){var n=t.$implicit;$A(),JH(n)}}function rfe(e,t){1&e&&YV(0,ife,2,1,"li",null,GV),2&e&&XV(qj(2).product.produkt
1Vorteile)}function sfe(e,t){if(1&e&&(r$(0,"div",13)(1,"div",20),o$(2,"span",1),r$(3,"span"),VH(4),nU(5,"formatNumber"),r$(6,"abbr",21),VH(7," p.a."),s$(),r$(8,"span",22),VH(9,"per annum"),s$()()()()),2&e){var n=qj(2);$A(2),n$("translate","PRODUCT_CREDIT_INTEREST_RATE"),$A(2),XH("",oU(5,2,n.getRate(n.product.fixerBasiszinssatz),"%","#.##0,000",!0)," ")}}function ofe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(2);$A(),ez(" ",n.product.rechtlicherHinweis1," ",n.product.rechtlicherHinweis2," ",n.product.rechtlicherHinweis3," ")}}function afe(e,t){if(1&e){var n=w$();r$(0,"div",23)(1,"a",25),nU(2,"utmParameter"),jj("click",function(){return a_(n),l_(qj(3).eventTrackingProducts("klickOnlineAbschluss","Klick Online Abschluss"))}),s$()()}if(2&e){var i=qj(3);$A(),n$("href",iU(2,4,i.e2eLink),ZI)("id","link-cta-"+i.product.detailProduktId)("innerText",i.product.btnE2e.label),sV("aria-labelledby","headline-"+i.product.detailProduktId+" link-cta-"+i.product.detailProduktId)}}function lfe(e,t){if(1&e){var n=w$();r$(0,"rwm-overlay-cta",26),jj("click",function(){return a_(n),l_(qj(3).eventTrackingProducts("klickProduktanfrage","Klick Produktanfrage"))}),s$()}if(2&e){var i=qj(3);n$("label",i.product.btnInquiry.label)("url",i.product.btnInquiry.path)("target",i.product.btnInquiry.target)("prefillType","prefillTextArea")("resultsSummary",i.prefillResult)("inConditionalStatement",!0)("labelledBy",i.product.detailProduktId)}}function cfe(e,t){if(1&e&&(HV(0,afe,3,6,"div",23),HV(1,lfe,1,7,"rwm-overlay-cta",24)),2&e){var n=qj(2);UV(n.product.e2eAbschluss?0:-1),$A(),UV(!n.product.e2eAbschluss&&n.visibleInquiryBtn?1:-1)}}function ufe(e,t){if(1&e&&o$(0,"product-file-download",18),2&e){var n=qj(2);n$("product",n.product)("toggle",n.downloadToggleBtn)("detailContent",n.getTranslation("PRICES_CONDITIONS_DESCRIPTION","PRICES_CONDITIONS_DESCRIPTIONS"))}}function dfe(e,t){if(1&e){var n=w$();r$(0,"div",3)(1,"div",4),HV(2,Qpe,1,4,"h2",5),HV(3,efe,1,4,"h3",5),r$(4,"div",6)(5,"div",7),HV(6,tfe,2,1,"p"),HV(7,nfe,2,1,"p"),s$(),r$(8,"ul",8),HV(9,rfe,2,0),s$(),r$(10,"div",9)(11,"div",10)(12,"div",11)(13,"rwm-select",12),nU(14,"translate"),nU(15,"translate"),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.selectedValidity,e)||(t.selectedValidity=e),l_(e)}),jj("modelChange",function(e){return a_(n),l_(qj().updateValidity(e))}),s$()()(),HV(16,sfe,10,7,"div",13),s$()(),r$(17,"div",14),HV(18,ofe,2,3,"p"),s$(),o$(19,"div",15),r$(20,"div",16),HV(21,cfe,2,2),r$(22,"rwm-overlay-cta",17),jj("click",function(){return a_(n),l_(qj().eventTrackingProducts("klickKontakt","Klick Kontakt"))}),s$()(),HV(23,ufe,1,3,"product-file-download",18),s$()()}if(2&e){var i=qj();xH("component-spacer",i.singleColumn)("visible-toggle-btn",i.product.visibleProductFileDownload)("highlight",i.product.topProduct)("not-selected",!i.selectedValidity&&!i.singleColumn&&i.product.items),$A(2),UV(i.settings.largeHeadline?2:-1),$A(),UV(i.settings.largeHeadline?-1:3),$A(2),_H("height",i.height.produktBeschreibung,"px"),$A(),UV(i.product.produktBeschreibung1?6:-1),$A(),UV(i.product.produktBeschreibung2?7:-1),$A(),_H("height",i.height.produktVorteil,"px"),$A(),UV(i.product.produktVorteile?9:-1),$A(),_H("height",i.height.detailProdukte,"px"),$A(3),n$("items",i.createSelect(i.productItem.validity))("selectOptions",i.selectOption)("shortLabel",iU(14,42,"PRODUCT_DURATION"))("label",iU(15,44,"PRODUCT_CHOOSE_DURATION")),lz("ngModel",i.selectedValidity),$A(3),UV(i.selectedValidity?16:-1),$A(),_H("height",i.height.disclaimer,"px"),$A(),UV(i.product.rechtlicherHinweis1||i.product.rechtlicherHinweis2||i.product.rechtlicherHinweis3?18:-1),$A(),_H("height",i.height.accountFee,"px"),$A(),_H("height",i.height.buttonGroup,"px"),$A(),UV(i.selectedValidity?21:-1),$A(),n$("label",i.product.btnContact.label)("url",i.product.btnContact.path)("target",i.product.btnContact.target)("prefillType","prefillTextArea")("resultsSummary",i.prefillResult)("inConditionalStatement",!0)("btnStyle",i.product.e2eAbschluss||i.visibleInquiryBtn?"btn-default":"btn-primary")("labelledBy",i.product.detailProduktId),$A(),UV(i.selectedValidity?23:-1)}}var hfe=function(){function e(e,t,n){var i=this;this.translate=e,this.cd=t,this.ProductServices=n,this.height={},this.selectChanged=new rD,this.downloadToggleBtn=!0,this.selectOption={clearable:!0,bindValue:"value",bindLabel:"label"},this.e2eLink="",this.createSelect=function(e){var t=[];return e.forEach(function(e,n){t.push({label:e+" Monate",value:n+1})}),t}
1,this.updateValidity=function(e){i.selectedValidity=e,i.product=i.productItem.results[e?e-1:0],i.linkBankNumber(),i.selectChanged.emit(!0),i.cd.detectChanges()},this.getTranslation=function(e,t){var n=(i.productItem.items?i.productItem.items.length:0)>1?t:e;return i.translate.instant(n)}}return e.prototype.ngOnInit=function(){this.product=this.productItem.results[0],this.singleColumn=1===this.columns,this.visibleInquiryBtn=this.btnInquiry(this.product.btnInquiry),1===this.productItem.results.length&&this.updateValidity(1),this.linkBankNumber()},e.prototype.eventTrackingProducts=function(e,t){this.ProductServices.trackProductEvent(this.product,e,t)},e.prototype.btnInquiry=function(e){return"null"!==e.label&&e.label&&e.path},e.prototype.linkBankNumber=function(){var e;if(null===(e=this.product)||void 0===e?void 0:e.e2eLink){var t=new URL(this.product.e2eLink);null===this.defaultBankstelle||t.searchParams.has("bankstelle")?this.e2eLink=this.product.e2eLink:this.e2eLink=this.product.e2eLink+"&bankstelle="+this.defaultBankstelle}},e.prototype.isEmpty=function(e){return e?null:"no-content"},e.prototype.getRate=function(e){return parseFloat(e)},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(uZ),qP(Zhe))},e.ɵcmp=DN({type:e,selectors:[["hponfx"]],inputs:{productItem:"productItem",height:"height",columns:"columns",settings:"settings",defaultBankstelle:"defaultBankstelle"},outputs:{selectChanged:"selectChanged"},standalone:!1,decls:3,vars:6,consts:[["data-row","highlight"],[3,"translate"],[1,"content-container",3,"component-spacer","visible-toggle-btn","highlight","not-selected"],[1,"content-container"],["aria-live","polite","role","region",1,"content-wrapper-product"],["data-row","marketingName",3,"id","innerText","height"],[1,"rte"],["data-row","produktBeschreibung",1,"row-spacer"],["data-row","produktVorteil",1,"product-advantage","row-spacer"],["data-row","detailProdukte",1,"row-spacer"],[1,"form-container"],[1,"form-group","component-form-select"],[3,"ngModelChange","modelChange","items","selectOptions","shortLabel","label","ngModel"],[1,"interest-rates"],["data-row","disclaimer",1,"disclaimer"],["data-row","accountFee",1,"account-fee"],["data-row","buttonGroup",1,"btn-group"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","btnStyle","labelledBy"],[3,"product","toggle","detailContent"],["data-row","marketingName",3,"id","innerText"],[1,"bold"],["title","per annum","aria-hidden","true"],[1,"visually-hidden"],[1,"cta-wrapper-content-box"],[3,"label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"],["target","_blank",1,"btn","btn-primary",3,"click","href","id","innerText"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"]],template:function(e,t){1&e&&(r$(0,"div",0),HV(1,Xpe,1,1,"span",1),s$(),HV(2,dfe,24,46,"div",2)),2&e&&(_H("height",t.height.highlight,"px"),xH("highlight-marker",t.product.topProduct),$A(),UV(t.product.topProduct?1:-1),$A(),UV(t.product?2:-1))},dependencies:[e2,Sle,ype,r8,x3,_4,t2,Jte,Dpe],encapsulation:2}),e}(),pfe=function(e){return{bold:e}};function ffe(e,t){if(1&e&&o$(0,"span",1),2&e){var n=qj();n$("translate",n.settings.topProductLabel?n.settings.topProductLabel:"PRODUCT_TOP_PRODUCT")}}function mfe(e,t){if(1&e&&o$(0,"h2",19),2&e){var n=qj();_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.productItem.detailProduktId)("innerText",n.productItem.marketingName)}}function gfe(e,t){if(1&e&&o$(0,"h3",19),2&e){var n=qj();_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.productItem.detailProduktId)("innerText",n.productItem.marketingName)}}function vfe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj();$A(),QH(" ",n.productItem.produktBeschreibung1," ",n.productItem.produktBeschreibung2," ")}}function yfe(e,t){if(1&e&&(r$(0,"li"),VH(1),s$()),2&e){var n=t.$implicit;$A(),JH(n)}}function bfe(e,t){1&e&&YV(0,yfe,2,1,"li",null,GV),2&e&&XV(qj().productItem.produktVorteile)}function wfe(e,t){if(1&e&&(r$(0,"div")(1,"span"),VH(2),nU(3,"translate"),s$(),r$(4,"span"),VH(5),nU(6,"formatNumber"),r$(7,"abbr",10),VH(8," p.a."),s$(),r$(9,"span",11),VH(10,"per annum"),s$()()(),r$(11,"div",20)(12,"span"),VH(13),nU(14,"translate"),s$(),r$(15,"span"),VH(16),nU(17,"formatNumber"),r$(18,"abbr",10),VH(19," p.a."),s$(),r$(20,"span",11),VH(21,"per annum"),s$()()()),2&e){var n=qj();$A(2),QH("",iU(3,6,"PRODUCT_PREMIUM_RATE")," ",n.premiumZinsatzDate),$A(3),XH("",oU(6,8,n.premiumZinssatz,"%","#.##0,000",!0)," "),$A(8),QH("",iU(14,13,"PRODUCT_TOTAL_INTEREST_RATE")," ",n.premiumZinsatzDate," "),$A
1(3),XH("",oU(17,15,n.gesamtZinssatz,"%","#.##0,000",!0)," ")}}function _fe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj();$A(),ez(" ",n.productItem.rechtlicherHinweis1," ",n.productItem.rechtlicherHinweis2," ",n.productItem.rechtlicherHinweis3," ")}}function xfe(e,t){if(1&e){var n=w$();r$(0,"div",15)(1,"a",21),nU(2,"utmParameter"),jj("click",function(){return a_(n),l_(qj().eventTrackingProducts("klickOnlineAbschluss","Klick Online Abschluss"))}),s$()()}if(2&e){var i=qj();$A(),n$("href",iU(2,4,i.e2eLink),ZI)("id","link-cta-"+i.productItem.detailProduktId)("innerText",i.productItem.btnE2e.label),sV("aria-labelledby","headline-"+i.productItem.detailProduktId+" link-cta-"+i.productItem.detailProduktId)}}function kfe(e,t){if(1&e){var n=w$();r$(0,"rwm-overlay-cta",22),jj("click",function(){return a_(n),l_(qj().eventTrackingProducts("klickProduktanfrage","Klick Produktanfrage"))}),s$()}if(2&e){var i=qj();n$("label",i.productItem.btnInquiry.label)("url",i.productItem.btnInquiry.path)("target",i.productItem.btnInquiry.target)("prefillType","prefillTextArea")("resultsSummary",i.prefillResult)("inConditionalStatement",!0)("labelledBy",i.productItem.detailProduktId)}}var Cfe=function(){function e(e,t){var n=this;this.translate=e,this.ProductServices=t,this.height={},this.downloadToggleBtn=!0,this.e2eLink="",this.getTranslation=function(e,t){var i=(n.productItem.items?n.productItem.items.length:0)>1?t:e;return n.translate.instant(i)}}return e.prototype.ngOnInit=function(){this.setPrefillResult(),this.singleColumn=1===this.columns,this.basiszinssatz=parseFloat(this.productItem.fixerBasiszinssatz),this.premiumZinssatz=parseFloat(this.productItem.premiumzinssatz),this.visiblePremiumZinsatz=this.premiumZinssatz>0,this.gesamtZinssatz=this.basiszinssatz+this.premiumZinssatz,this.premiumZinsatzDate=Z5()(this.productItem.premiumzinssatzBis,"MM.DD.YYYY").format("DD.MM.YYYY"),this.visibleInquiryBtn=this.btnInquiry(this.productItem.btnInquiry),this.linkBankNumber()},e.prototype.eventTrackingProducts=function(e,t){this.ProductServices.trackProductEvent(this.productItem,e,t)},e.prototype.setPrefillResult=function(){var e=[{element:".calculation_result",value:{intro:"".concat(this.translate.instant("PRODUCT_FORM_INTRO"),":"),product:"".concat(this.productItem.marketingName)}}];this.prefillResult=[JSON.stringify(e)]},e.prototype.btnInquiry=function(e){return"null"!==e.label&&e.label&&e.path},e.prototype.linkBankNumber=function(){var e;if(null===(e=this.productItem)||void 0===e?void 0:e.e2eLink){var t=new URL(this.productItem.e2eLink);null===this.defaultBankstelle||t.searchParams.has("bankstelle")?this.e2eLink=this.productItem.e2eLink:this.e2eLink=this.productItem.e2eLink+"&bankstelle="+this.defaultBankstelle}},e.prototype.isEmpty=function(e){return e?null:"no-content"},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(Zhe))},e.ɵcmp=DN({type:e,selectors:[["hponsp"]],inputs:{productItem:"productItem",height:"height",columns:"columns",settings:"settings",defaultBankstelle:"defaultBankstelle"},standalone:!1,decls:30,vars:52,consts:[["data-row","highlight"],[3,"translate"],[1,"content-container"],[1,"content-wrapper-product"],["data-row","marketingName",3,"id","innerText","height"],[1,"rte"],["data-row","produktBeschreibung",1,"row-spacer"],["data-row","produktVorteil",1,"product-advantage","row-spacer"],["data-row","detailProdukte",1,"interest-rates","row-spacer"],[3,"ngClass"],["title","per annum","aria-hidden","true"],[1,"visually-hidden"],["data-row","disclaimer",1,"disclaimer"],["data-row","accountFee",1,"account-fee"],["data-row","buttonGroup",1,"btn-group"],[1,"cta-wrapper-content-box"],[3,"label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","btnStyle","labelledBy"],[3,"product","toggle","detailContent"],["data-row","marketingName",3,"id","innerText"],[1,"bold"],["target","_blank",1,"btn","btn-primary",3,"click","href","id","innerText"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"]],template:function(e,t){1&e&&(r$(0,"div",0),HV(1,ffe,1,1,"span",1),s$(),r$(2,"div",2)(3,"div",3),HV(4,mfe,1,4,"h2",4),HV(5,gfe,1,4,"h3",4),r$(6,"div",5)(7,"div",6),HV(8,vfe,2,2,"p"),s$(),r$(9,"ul",7),HV(10,bfe,2,0),s$(),r$(11,"div",8)(12,"div",9),o$(13,"span",1),r$(14,"span"),VH(15),nU(16,"formatNumber"),r$(17,"abbr",10),VH(18," p.a."),s$(),r$(19,"span",11),VH(20,"per annum"),s$()()(),HV(21,wfe,22,20),s$(),r$(22,"div",12),HV(23,_fe,2,3,"p"),s$(),o$(24,"div",13),s$(),r$(25,"div",14),HV(26,xfe,3,6,"div",15),HV(27,kfe,1,7,"rwm-overlay-cta",16),r$(28,"rwm-overlay-cta",17),jj("click",function(){return t.eventTrackingProducts("klickKontakt","Klick Kontakt")}),s$()(),o$(29,"product-file-download",18),s$()()),2&e&&(_H("height",t.height.highlight,"px"),xH("highlight-marker",t.productItem.to
1pProduct),$A(),UV(t.productItem.topProduct?1:-1),$A(),xH("component-spacer",t.singleColumn)("visible-toggle-btn",t.productItem.visibleProductFileDownload)("highlight",t.productItem.topProduct),$A(2),UV(t.settings.largeHeadline?4:-1),$A(),UV(t.settings.largeHeadline?-1:5),$A(2),_H("height",t.height.produktBeschreibung,"px"),$A(),UV(t.productItem.produktBeschreibung1||t.productItem.produktBeschreibung2?8:-1),$A(),_H("height",t.height.produktVorteil,"px"),$A(),UV(t.productItem.produktVorteile?10:-1),$A(),_H("height",t.height.detailProdukte,"px"),$A(),n$("ngClass",jz(50,pfe,!t.visiblePremiumZinsatz)),$A(),n$("translate",t.settings.rateLabelHponsp?t.settings.rateLabelHponsp:"PRODUCT_BASE_RATE"),$A(2),XH("",oU(16,45,t.basiszinssatz,"%","#.##0,000",!0)," "),$A(6),UV(t.visiblePremiumZinsatz?21:-1),$A(),_H("height",t.height.disclaimer,"px"),$A(),UV(t.productItem.rechtlicherHinweis1||t.productItem.rechtlicherHinweis2||t.productItem.rechtlicherHinweis3?23:-1),$A(),_H("height",t.height.accountFee,"px"),$A(),_H("height",t.height.buttonGroup,"px"),$A(),UV(t.productItem.e2eAbschluss?26:-1),$A(),UV(!t.productItem.e2eAbschluss&&t.visibleInquiryBtn?27:-1),$A(),n$("label",t.productItem.btnContact.label)("url",t.productItem.btnContact.path)("target",t.productItem.btnContact.target)("prefillType","prefillTextArea")("resultsSummary",t.prefillResult)("inConditionalStatement",!0)("btnStyle",t.productItem.e2eAbschluss||t.visibleInquiryBtn?"btn-default":"btn-primary")("labelledBy",t.productItem.detailProduktId),$A(),n$("product",t.productItem)("toggle",t.downloadToggleBtn)("detailContent",t.getTranslation("PRICES_CONDITIONS_DESCRIPTION","PRICES_CONDITIONS_DESCRIPTIONS")))},dependencies:[GJ,e2,Sle,ype,t2,Jte,Dpe],encapsulation:2}),e}();function Sfe(e,t){if(1&e&&o$(0,"span",1),2&e){var n=qj();n$("translate",n.settings.topProductLabel?n.settings.topProductLabel:"PRODUCT_TOP_PRODUCT")}}function Tfe(e,t){if(1&e&&o$(0,"h2",16),2&e){var n=qj();_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.productItem.detailProduktId)("innerText",n.productItem.marketingName)}}function Efe(e,t){if(1&e&&o$(0,"h3",16),2&e){var n=qj();_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.productItem.detailProduktId)("innerText",n.productItem.marketingName)}}function Ife(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj();$A(),QH(" ",n.productItem.produktBeschreibung1," ",n.productItem.produktBeschreibung2," ")}}function Afe(e,t){if(1&e&&(r$(0,"li"),VH(1),s$()),2&e){var n=t.$implicit;$A(),JH(n)}}function Dfe(e,t){1&e&&YV(0,Afe,2,1,"li",null,GV),2&e&&XV(qj().productItem.produktVorteile)}function Mfe(e,t){1&e&&o$(0,"div",17),2&e&&_H("height",qj().height.detailProdukte,"px")}function Ofe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj();$A(),ez(" ",n.productItem.rechtlicherHinweis1," ",n.productItem.rechtlicherHinweis2," ",n.productItem.rechtlicherHinweis3," ")}}function Pfe(e,t){if(1&e){var n=w$();r$(0,"div",12)(1,"a",18),nU(2,"utmParameter"),jj("click",function(){return a_(n),l_(qj().eventTrackingProducts("klickOnlineAbschluss","Klick Online Abschluss"))}),s$()()}if(2&e){var i=qj();$A(),n$("href",iU(2,4,i.e2eLink),ZI)("id","link-cta-"+i.productItem.detailProduktId)("innerText",i.productItem.btnE2e.label),sV("aria-labelledby","headline-"+i.productItem.detailProduktId+" link-cta-"+i.productItem.detailProduktId)}}function Lfe(e,t){if(1&e){var n=w$();r$(0,"rwm-overlay-cta",19),jj("click",function(){return a_(n),l_(qj().eventTrackingProducts("klickProduktanfrage","Klick Produktanfrage"))}),s$()}if(2&e){var i=qj();n$("label",i.productItem.btnInquiry.label)("url",i.productItem.btnInquiry.path)("target",i.productItem.btnInquiry.target)("prefillType","prefillTextArea")("resultsSummary",i.prefillResult)("inConditionalStatement",!0)("labelledBy",i.productItem.detailProduktId)}}var Nfe=function(){function e(e,t){var n=this;this.translate=e,this.ProductServices=t,this.height={},this.downloadToggleBtn=!0,this.e2eLink="",this.getTranslation=function(e,t){var i=(n.productItem.items?n.productItem.items.length:0)>1?t:e;return n.translate.instant(i)}}return e.prototype.ngOnInit=function(){this.setPrefillResult(),this.singleColumn=1===this.columns,this.visibleInquiryBtn=this.btnInquiry(this.productItem.btnInquiry),this.linkBankNumber()},e.prototype.eventTrackingProducts=function(e,t){this.ProductServices.trackProductEvent(this.productItem,e,t)},e.prototype.setPrefillResult=function(){var e=[{element:".calculation_result",value:{intro:"".concat(this.translate.instant("PRODUCT_FORM_INTRO"),":"),product:"".concat(this.productItem.marketingName)}}];this.prefillResult=[JSON.stringify(e)]},e.prototype.btnInquiry=function(e){return"null"!==e.label&&e.label&&e.path},e.prototype.linkBankNumber=function(){var e;if(null===(e=this.productItem)||void 0===e?void 0:e.e2eLink){var t=new URL(this.productItem.e2eLink);null===this.defaultBankstelle||t.searchParams.has("bankstelle")?this.e2eLink=this.productItem.e2eLink:this.e2eLink=this.productItem.e2eLink+"&bankstelle="+this.defaultBankstelle}},e.prototype.isEmpty=function(e){return e?null:"no-content"},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(Zhe))},e.ɵcmp=DN({type:e,selectors:[["hpdvv"]],inputs:{productItem:"productItem",he
1ight:"height",columns:"columns",settings:"settings",defaultBankstelle:"defaultBankstelle"},standalone:!1,decls:20,vars:40,consts:[["data-row","highlight"],[3,"translate"],[1,"content-container"],[1,"content-wrapper-product"],["data-row","marketingName",3,"id","innerText","height"],[1,"rte"],["data-row","produktBeschreibung",1,"row-spacer"],["data-row","produktVorteil",1,"product-advantage","row-spacer"],["data-row","detailProdukte",1,"detail-products","row-spacer",3,"height"],["data-row","disclaimer",1,"disclaimer"],["data-row","accountFee",1,"account-fee"],["data-row","buttonGroup",1,"btn-group"],[1,"cta-wrapper-content-box"],[3,"label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","btnStyle","labelledBy"],[3,"product","toggle","detailContent"],["data-row","marketingName",3,"id","innerText"],["data-row","detailProdukte",1,"detail-products","row-spacer"],["target","_blank",1,"btn","btn-primary",3,"click","href","id","innerText"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"]],template:function(e,t){1&e&&(r$(0,"div",0),HV(1,Sfe,1,1,"span",1),s$(),r$(2,"div",2)(3,"div",3),HV(4,Tfe,1,4,"h2",4),HV(5,Efe,1,4,"h3",4),r$(6,"div",5)(7,"div",6),HV(8,Ife,2,2,"p"),s$(),r$(9,"ul",7),HV(10,Dfe,2,0),s$(),HV(11,Mfe,1,2,"div",8),r$(12,"div",9),HV(13,Ofe,2,3,"p"),s$(),o$(14,"div",10),s$(),r$(15,"div",11),HV(16,Pfe,3,6,"div",12),HV(17,Lfe,1,7,"rwm-overlay-cta",13),r$(18,"rwm-overlay-cta",14),jj("click",function(){return t.eventTrackingProducts("klickKontakt","Klick Kontakt")}),s$()(),o$(19,"product-file-download",15),s$()()),2&e&&(_H("height",t.height.highlight,"px"),xH("highlight-marker",t.productItem.topProduct),$A(),UV(t.productItem.topProduct?1:-1),$A(),xH("component-spacer",t.singleColumn)("visible-toggle-btn",t.productItem.visibleProductFileDownload)("highlight",t.productItem.topProduct),$A(2),UV(t.settings.largeHeadline?4:-1),$A(),UV(t.settings.largeHeadline?-1:5),$A(2),_H("height",t.height.produktBeschreibung,"px"),$A(),UV(t.productItem.produktBeschreibung1||t.productItem.produktBeschreibung2?8:-1),$A(),_H("height",t.height.produktVorteil,"px"),$A(),UV(t.productItem.produktVorteile?10:-1),$A(),UV(t.singleColumn?-1:11),$A(),_H("height",t.height.disclaimer,"px"),$A(),UV(t.productItem.rechtlicherHinweis1||t.productItem.rechtlicherHinweis2||t.productItem.rechtlicherHinweis3?13:-1),$A(),_H("height",t.height.accountFee,"px"),$A(),_H("height",t.height.buttonGroup,"px"),$A(),UV(t.productItem.e2eAbschluss?16:-1),$A(),UV(!t.productItem.e2eAbschluss&&t.visibleInquiryBtn?17:-1),$A(),n$("label",t.productItem.btnContact.label)("url",t.productItem.btnContact.path)("target",t.productItem.btnContact.target)("prefillType","prefillTextArea")("resultsSummary",t.prefillResult)("inConditionalStatement",!0)("btnStyle",t.productItem.e2eAbschluss||t.visibleInquiryBtn?"btn-default":"btn-primary")("labelledBy",t.productItem.detailProduktId),$A(),n$("product",t.productItem)("toggle",t.downloadToggleBtn)("detailContent",t.getTranslation("PRICES_CONDITIONS_DESCRIPTION","PRICES_CONDITIONS_DESCRIPTIONS")))},dependencies:[e2,Sle,ype,Dpe],encapsulation:2}),e}();function Rfe(e,t){if(1&e&&o$(0,"span",1),2&e){var n=qj();n$("translate",n.settings.topProductLabel?n.settings.topProductLabel:"PRODUCT_TOP_PRODUCT")}}function Bfe(e,t){if(1&e&&o$(0,"h2",19),2&e){var n=qj(2);_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.product.detailProduktId)("innerText",n.product.marketingName)}}function Ffe(e,t){if(1&e&&o$(0,"h3",19),2&e){var n=qj(2);_H("height",n.height.marketingName,"px"),n$("id","headline-"+n.product.detailProduktId)("innerText",n.product.marketingName)}}function Vfe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.product.produktBeschreibung1)}}function $fe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.product.produktBeschreibung2)}}function jfe(e,t){if(1&e&&(r$(0,"li"),VH(1),s$()),2&e){var n=t.$implicit;$A(),JH(n)}}function Hfe(e,t){1&e&&YV(0,jfe,2,1,"li",null,GV),2&e&&XV(qj(2).product.produkt
1Vorteile)}function zfe(e,t){1&e&&VH(0),2&e&&XH(" ",qj(4).premiumZinsatzDate," ")}function Ufe(e,t){1&e&&VH(0),2&e&&XH(" ",qj(4).premiumZinsatzDate," ")}function qfe(e,t){if(1&e&&(r$(0,"div")(1,"span"),VH(2),nU(3,"translate"),HV(4,zfe,1,1),s$(),r$(5,"span"),VH(6),nU(7,"formatNumber"),r$(8,"abbr",20),VH(9," p.a."),s$(),r$(10,"span",21),VH(11,"per annum"),s$()()(),r$(12,"div",22)(13,"span"),VH(14),nU(15,"translate"),HV(16,Ufe,1,1),s$(),r$(17,"span"),VH(18),nU(19,"formatNumber"),r$(20,"abbr",20),VH(21," p.a."),s$(),r$(22,"span",21),VH(23,"per annum"),s$()()()),2&e){var n=qj(3);$A(2),XH("",n.settings.labelPremiumRate?n.settings.labelPremiumRate:iU(3,6,"PRODUCT_PREMIUM_RATE")," "),$A(2),UV(n.settings.showInterestRateEndDate?4:-1),$A(2),XH("",oU(7,8,n.premiumZinssatz,"%","#.##0,000",!0)," "),$A(8),XH("",n.settings.labelTotalRate?n.settings.labelTotalRate:iU(15,13,"PRODUCT_TOTAL_INTEREST_RATE")," "),$A(2),UV(n.settings.showInterestRateEndDate&&!n.settings.variabel&&n.settings.premiumzinssatzBis?16:-1),$A(2),XH("",oU(19,15,n.gesamtZinssatz,"%","#.##0,000",!0)," ")}}function Wfe(e,t){if(1&e&&(r$(0,"div",13)(1,"div"),o$(2,"span",1),r$(3,"span"),VH(4),nU(5,"formatNumber"),r$(6,"abbr",20),VH(7," p.a."),s$(),r$(8,"span",21),VH(9,"per annum"),s$()()(),HV(10,qfe,24,20),s$()),2&e){var n=qj(2);
1$A(),xH("bold",!n.visiblePremiumZinsatz),$A(),n$("translate",n.settings.labelBaseRate?n.settings.labelBaseRate:"PRODUCT_BASE_RATE"),$A(2),XH("",oU(5,5,n.basiszinssatz,"%","#.##0,000",!0)," "),$A(6),UV(n.visiblePremiumZinsatz?10:-1)}}function Gfe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(2);$A(),ez(" ",n.product.rechtlicherHinweis1," ",n.product.rechtlicherHinweis2," ",n.product.rechtlicherHinweis3," ")}}function Zfe(e,t){if(1&e){var n=w$();r$(0,"div",23)(1,"a",25),nU(2,"utmParameter"),jj("click",function(){return a_(n),l_(qj(3).eventTrackingProducts("klickOnlineAbschluss","Klick Online Abschluss"))}),s$()()}if(2&e){var i=qj(3);$A(),n$("href",iU(2,4,i.e2eLink),ZI)("id","link-cta-"+i.product.detailProduktId)("innerText",i.product.btnE2e.label),sV("aria-labelledby","headline-"+i.product.detailProduktId+" link-cta-"+i.product.detailProduktId)}}function Yfe(e,t){if(1&e){var n=w$();r$(0,"rwm-overlay-cta",26),jj("click",function(){return a_(n),l_(qj(3).eventTrackingProducts("klickProduktanfrage","Klick Produktanfrage"))}),s$()}if(2&e){var i=qj(3);n$("label",i.product.btnInquiry.label)("url",i.product.btnInquiry.path)("target",i.product.btnInquiry.target)("prefillType","prefillTextArea")("resultsSummary",i.prefillResult)("inConditionalStatement",!0)("labelledBy",i.product.detailProduktId)}}function Kfe(e,t){if(1&e&&(HV(0,Zfe,3,6,"div",23),HV(1,Yfe,1,7,"rwm-overlay-cta",24)),2&e){var n=qj(2);UV(n.product.e2eAbschluss?0:-1),$A(),UV(!n.product.e2eAbschluss&&n.visibleInquiryBtn?1:-1)}}function Jfe(e,t){if(1&e&&o$(0,"product-file-download",18),2&e){var n=qj(2);n$("product",n.product)("toggle",n.downloadToggleBtn)("detailContent",n.getTranslation("PRICES_CONDITIONS_DESCRIPTION","PRICES_CONDITIONS_DESCRIPTIONS"))}}function Xfe(e,t){if(1&e){var n=w$();r$(0,"div",3)(1,"div",4),HV(2,Bfe,1,4,"h2",5),HV(3,Ffe,1,4,"h3",5),r$(4,"div",6)(5,"div",7),HV(6,Vfe,2,1,"p"),HV(7,$fe,2,1,"p"),s$(),r$(8,"ul",8),HV(9,Hfe,2,0),s$(),r$(10,"div",9)(11,"div",10)(12,"div",11)(13,"rwm-select",12),nU(14,"translate"),nU(15,"translate"),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.selectedValidity,e)||(t.selectedValidity=e),l_(e)}),jj("modelChange",function(e){return a_(n),l_(qj().updateValidity(e))}),s$()()(),HV(16,Wfe,11,10,"div",13),s$()(),r$(17,"div",14),HV(18,Gfe,2,3,"p"),s$(),o$(19,"div",15),r$(20,"div",16),HV(21,Kfe,2,2),r$(22,"rwm-overlay-cta",17),jj("click",function(){return a_(n),l_(qj().eventTrackingProducts("klickKontakt","Klick Kontakt"))}),s$()(),HV(23,Jfe,1,3,"product-file-download",18),s$()()}if(2&e){var i=qj();xH("component-spacer",i.singleColumn)("visible-toggle-btn",i.product.visibleProductFileDownload)("highlight",i.product.topProduct)("not-selected",!i.selectedValidity&&!i.singleColumn&&i.product.items),$A(2),UV(i.settings.largeHeadline?2:-1),$A(),UV(i.settings.largeHeadline?-1:3),$A(2),_H("height",i.height.produktBeschreibung,"px"),$A(),UV(i.product.produktBeschreibung1?6:-1),$A(),UV(i.product.produktBeschreibung2?7:-1),$A(),_H("height",i.height.produktVorteil,"px"),$A(),UV(i.product.produktVorteile?9:-1),$A(),_H("height",i.height.detailProdukte,"px"),$A(3),n$("items",i.createSelect(i.productItem.validity))("selectOptions",i.selectOption)("shortLabel",iU(14,42,"PRODUCT_DURATION"))("label",iU(15,44,"PRODUCT_CHOOSE_DURATION")),lz("ngModel",i.selectedValidity),$A(3),UV(i.selectedValidity?16:-1),$A(),_H("height",i.height.disclaimer,"px"),$A(),UV(i.product.rechtlicherHinweis1||i.product.rechtlicherHinweis2||i.product.rechtlicherHinweis3?18:-1),$A(),_H("height",i.height.accountFee,"px"),$A(),_H("height",i.height.buttonGroup,"px"),$A(),UV(i.selectedValidity?21:-1),$A(),n$("label",i.product.btnContact.label)("url",i.product.btnContact.path)("target",i.product.btnContact.target)("prefillType","prefillTextArea")("resultsSummary",i.prefillResult)("inConditionalStatement",!0)("btnStyle",i.product.e2eAbschluss||i.visibleInquiryBtn?"btn-default":"btn-primary")("labelledBy",i.product.detailProduktId),$A(),UV(i.selectedValidity?23:-1)}}var Qfe=function(){function e(e,t,n){var i=this;this.translate=e,this.cd=t,this.ProductServices=n,this.height={},this.selectChanged=new rD,this.downloadToggleBtn=!0,this.selectOption={clearable:!0,bindValue:"value",bindLabel:"label"},this.e2eLink="",this.createSelect=function(e){var t=[];return e.forEach(function(e,n){t.push({label:e+" Monate",value:n+1})}),t}
1,this.updateValidity=function(e){i.selectedValidity=e,i.product=i.productItem.results[e?e-1:0],i.linkBankNumber(),i.basiszinssatz=parseFloat(i.product.fixerBasiszinssatz),i.premiumZinssatz=parseFloat(i.product.premiumzinssatz),i.visiblePremiumZinsatz=i.premiumZinssatz>0,i.gesamtZinssatz=i.basiszinssatz+i.premiumZinssatz,i.premiumZinsatzDate=i.product.premiumzinssatzBis?Z5()(i.product.premiumzinssatzBis,"MM.DD.YYYY").format("DD.MM.YYYY"):"",i.selectChanged.emit(!0),i.cd.detectChanges()},this.getTranslation=function(e,t){var n=(i.productItem.items?i.productItem.items.length:0)>1?t:e;return i.translate.instant(n)}}return e.prototype.ngOnInit=function(){this.product=this.productItem.results[0],this.singleColumn=1===this.columns,this.visibleInquiryBtn=this.btnInquiry(this.product.btnInquiry),1===this.productItem.results.length&&this.updateValidity(1),this.linkBankNumber()},e.prototype.eventTrackingProducts=function(e,t){this.ProductServices.trackProductEvent(this.product,e,t)},e.prototype.btnInquiry=function(e){return"null"!==e.label&&e.label&&e.path},e.prototype.linkBankNumber=function(){var e;if(null===(e=this.product)||void 0===e?void 0:e.e2eLink){var t=new URL(this.product.e2eLink);null===this.defaultBankstelle||t.searchParams.has("bankstelle")?this.e2eLink=this.product.e2eLink:this.e2eLink=this.product.e2eLink+"&bankstelle="+this.defaultBankstelle}},e.prototype.isEmpty=function(e){return e?null:"no-content"},e.prototype.getRate=function(e){return parseFloat(e)},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(uZ),qP(Zhe))},e.ɵcmp=DN({type:e,selectors:[["hpziel"]],inputs:{productItem:"productItem",height:"height",columns:"columns",settings:"settings",defaultBankstelle:"defaultBankstelle"},outputs:{selectChanged:"selectChanged"},standalone:!1,decls:3,vars:6,consts:[["data-row","highlight"],[3,"translate"],[1,"content-container",3,"component-spacer","visible-toggle-btn","highlight","not-selected"],[1,"content-container"],["role","region","aria-live","polite",1,"content-wrapper-product"],["data-row","marketingName",3,"id","innerText","height"],[1,"rte"],["data-row","produktBeschreibung",1,"row-spacer"],["data-row","produktVorteil",1,"product-advantage","row-spacer"],["data-row","detailProdukte",1,"row-spacer"],[1,"form-container"],[1,"form-group","component-form-select"],[3,"ngModelChange","modelChange","items","selectOptions","shortLabel","label","ngModel"],[1,"interest-rates"],["data-row","disclaimer",1,"disclaimer"],["data-row","accountFee",1,"account-fee"],["data-row","buttonGroup",1,"btn-group"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","btnStyle","labelledBy"],[3,"product","toggle","detailContent"],["data-row","marketingName",3,"id","innerText"],["title","per annum","aria-hidden","true"],[1,"visually-hidden"],[1,"bold"],[1,"cta-wrapper-content-box"],[3,"label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"],["target","_blank",1,"btn","btn-primary",3,"click","href","id","innerText"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","labelledBy"]],template:function(e,t){1&e&&(r$(0,"div",0),HV(1,Rfe,1,1,"span",1),s$(),HV(2,Xfe,24,46,"div",2)),2&e&&(_H("height",t.height.highlight,"px"),xH("highlight-marker",t.product.topProduct),$A(),UV(t.product.topProduct?1:-1),$A(),UV(t.product?2:-1))},dependencies:[e2,Sle,ype,r8,x3,_4,t2,Jte,Dpe],encapsulation:2}),e}(),eme=["loadComponent"];function tme(e,t){}var nme=function(){function e(e){this.resolver=e,this.selectChanged=new rD,this.components={HPONFX:hfe,HPONSP:Cfe,HPGIRO:Jpe,HPDVV:Nfe,HPZIEL:Qfe}}return e.prototype.ngOnInit=function(){this.getMappedComponent(this.productItem.detailProduktZusatz,"HPGIRO")},e.prototype.ngOnChanges=function(e){this.componentRef&&(this.componentRef.instance.height=e.height.currentValue)},e.prototype.getMappedComponent=function(e,t){var n="";return this.components[e]?(n=this.components[e],this.createComponent(n)):this.components[t]?(n=this.components[t],this.createComponent(n)):console.error('ListTemplateService: Listtype "'.concat(e,'" or "').concat(t,'" not mapped.')),n},e.prototype.createComponent=function(e){var t=this,n=this.resolver.resolve
1ComponentFactory(e);this.componentRef=this.dynamicComponent.createComponent(n),this.componentRef.instance.productItem=this.productItem,this.componentRef.instance.columns=this.columns,this.componentRef.instance.height=this.height,this.componentRef.instance.settings=this.settings,this.componentRef.instance.defaultBankstelle=this.defaultBankstelle,"HPGIRO"===this.productItem.detailProduktZusatz&&(this.componentRef.instance.apiCategory=this.apiCategory),this.componentRef.instance.selectChanged&&this.componentRef.instance.selectChanged.subscribe(function(e){return t.selectChanged.emit(e)})},e.prototype.destroyComponent=function(){this.componentRef.destroy()},e.ɵfac=function(t){return new(t||e)(qP(DP))},e.ɵcmp=DN({type:e,selectors:[["list-items"]],viewQuery:function(e,t){var n;(1&e&&Kj(eme,7,AL),2&e)&&(Jj(n=Xj())&&(t.dynamicComponent=n.first))},hostAttrs:["collision-id","productListComponent"],inputs:{productItem:"productItem",apiCategory:"apiCategory",height:"height",columns:"columns",settings:"settings",defaultBankstelle:"defaultBankstelle"},outputs:{selectChanged:"selectChanged"},standalone:!1,features:[ok],decls:2,vars:0,consts:[["loadComponent",""]],template:function(e,t){1&e&&oR(0,tme,0,0,"ng-template",null,0,cU)},encapsulation:2}),e}(),ime=o(4692),rme=["dotsWrapper"],sme=["carouselContainer"],ome=["slickSlide"];function ame(e,t){if(1&e){var n=w$();r$(0,"div",9,1),jj("keydown",function(e){return a_(n),l_(qj().onDotsKeydown(e))}),s$()}}function lme(e,t){if(1&e&&o$(0,"list-items",10),2&e){var n=t.$implicit,i=qj(2);n$("productItem",n)("apiCategory",!!i.apiCategorie)("height",i.columnHeight)("columns",i.columns)("settings",i.productConfig)("defaultBankstelle",i.defaultBankstelle)}}function cme(e,t){1&e&&YV(0,lme,1,6,"list-items",10,GV),2&e&&XV(qj().products)}function ume(e,t){if(1&e){var n=w$();r$(0,"div",12,3)(2,"list-items",13),jj("selectChanged",function(e){return a_(n),l_(qj(2).getChangedValue(e))}),s$()()}if(2&e){var i=t.$implicit,r=qj(2);$A(2),n$("productItem",i)("apiCategory",!!r.apiCategorie)("height",r.columnHeight)("columns",r.columns)("settings",r.productConfig)("defaultBankstelle",r.defaultBankstelle)}}function dme(e,t){if(1&e){var n=w$();r$(0,"ngx-slick-carousel",11,2),jj("init",function(e){return a_(n),l_(qj().slickInit(e))})("afterChange",function(e){return a_(n),l_(qj().onAfterChange(e))})("breakpoint",function(e){return a_(n),l_(qj().breakpoint(e))}),YV(2,ume,3,6,"div",12,GV),s$()}if(2&e){var i=qj();n$("config",i.slideConfig),$A(2),XV(i.products)}}function hme(e,t){1&e&&o$(0,"div",14)}function pme(e,t){1&e&&HV(0,hme,1,0,"div",14),2&e&&UV(t.$implicit<=qj(2).columns?0:-1)}function fme(e,t){if(1&e&&(r$(0,"div",7),YV(1,pme,1,1,null,null,GV),s$()),2&e){var n=qj();$A(),XV(n.loadingArr)}}var mme=function(){function e(e,t,n,i){this.cd=e,this.PricesheetServices=t,this.translate=n,this.alertService=i,this.categorie="HPGIRO",this.apiCategorie="",this.errorId="pricesheet-"+E5.A.uidGenerator,this.loading=!0,this.columnHeight={},this.loadingArr=[1,2,3,4],this.mobileActiveItem=-1,this.carousel=!0,this.defaultBankstelle=null,this.bankName=j5.cr.bankName,this.availableDocuments=function(e,t){var n,i,r=[];if(e){var s=e.split(";");try{for(var o=(0,$g.Ju)(s),a=o.next();!a.done;a=o.next()){var l=a.value,c=JSON.parse(l);("Tarifwahlblatt"!==c.homepageProduct||!!t.vergleichsprodukt&&t.vergleichsprodukt)&&(c.download=!1,c.failed=!1,r.push(c))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return r}}}return e.prototype.ngOnInit=function(){var e=this;W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.productConfig=JSON.parse(e.settings),e.getDefaultBankstelle()}),this.columns=parseInt(this.columns)},e.prototype.getDefaultBankstelle=function(){var e=this;W5.r.getToken().then(function(){e.PricesheetServices.getDefaultBankstelle().pipe(VQ(function(){return e.loadProducts()})).subscribe(function(t){null!=t&&(e.defaultBankstelle=t)})})},e.prototype.getChangedValue=function(e){this.updateColumnHeight(this.slickModal.nativeElement)},e.prototype.loadProducts=function(){var e=this;
1this.loading=!0,this.PricesheetServices.getProducts(this.categorie,this.apiCategorie,null,null,!0).subscribe(function(t){e.alertService.clear(e.errorId),e.products=e.mergeModels(t,e.documentLinks,e.e2eButton,e.inquiryButton,e.contactButton),e.loading=!1,e.columns=e.products.length<e.columns?e.products.length:e.columns,e.initSlickConfig(),e.cd.detectChanges(),e.columns>=2&&e.setAriaAttributes(),e.structuredData={"@context":"https://schema.org","@graph":e.createSchemaScript(t)},e.insertSchema(),E5.A.eventTracking(!0,"produkte","Aufruf Produktkomponente",{},"aufrufProduktkomponente")},function(){e.errorMsg()})},e.prototype.insertSchema=function(){var e=document.createElement("script");e.type="application/ld+json",e.text=JSON.stringify(this.structuredData),document.head.appendChild(e)},e.prototype.createSchemaScript=function(e){var t=this;return e.map(function(e){return(0,$g.Cl)((0,$g.Cl)((0,$g.Cl)((0,$g.Cl)({"@type":"BankAccount"},"KontoProdukt"===e.objectType&&{audience:{"@type":"Audience",audienceType:"HPGIRO"===e.detailProduktZusatz||"HPBASIS"===e.detailProduktZusatz?"Privatpersonen":"HPSTUDNT"===e.detailProduktZusatz?"Studenten":"HPSUMSI"===e.detailProduktZusatz?"Kinder":"HPJUGEND"===e.detailProduktZusatz?"Jugendliche":""}}),{name:e.marketingNameKurz?e.marketingNameKurz:e.marketingName,bankAccountType:"KontoProdukt"!==e.objectType?"saving":"checking"}),("HPZIEL"===e.detailProduktZusatz||"HPONFX"===e.detailProduktZusatz||"HPONSP"===e.detailProduktZusatz)&&{interestRate:{"@type":"QuantitativeValue",value:Number(e.fixerBasiszinssatz||0)+Number(e.premiumzinssatz||0),unitText:"Percent per annum"}}),{offers:(0,$g.Cl)((0,$g.Cl)((0,$g.Cl)({"@type":"Offer",description:[e.produktBeschreibung1,e.produktBeschreibung2,e.produktVorteil1,e.produktVorteil2,e.produktVorteil3].filter(Boolean).join(" "),offeredBy:{"@type":"BankOrCreditUnion",name:t.bankName,url:j5.cr.url}},("HPZIEL"===e.detailProduktZusatz||"HPONFX"===e.detailProduktZusatz)&&{eligibleDuration:{"@type":"QuantitativeValue",value:Number(e.laufzeit||0),unitCode:"MON"}}),"KontoProdukt"===e.objectType&&{priceSpecification:{"@type":"PriceSpecification",price:parseFloat((e.kontofuehrung||"0").replace(",",".")),priceCurrency:"EUR",eligibleQuantity:{"@type":"QuantitativeValue",value:t.unitInterval(e.abschlussRhythmus),unitCode:"MON"}}}),("HPONSP"===e.detailProduktZusatz||"HPZIEL"===e.detailProduktZusatz)&&{additionalProperty:[{"@type":"PropertyValue",name:"FixBasiszinssatz",value:Number(e.fixerBasiszinssatz||0),unitText:"Percent per annum"},{"@type":"PropertyValue",name:"Premiumzinssatz",value:Number(e.premiumzinssatz||0),unitText:"Percent per annum"}]})})})},e.prototype.unitInterval=function(e){return"MONTH"===e?1:"QUARTER"===e?3:"HALFYEAR"===e?6:"YEAR"===e?12:void 0},e.prototype.mergeModels=function(e,t,n,i,r){var s,o,a=[];try{for(var l=(0,$g.Ju)(e),c=l.next();!c.done;c=l.next()){var u=c.value;if(u.marketingName){var d=this.availableDocuments(t,u);u.items=d,u.visibleProductFileDownload=void 0!==d&&d.length>0,u.produktVorteile=this.mergeProductAdvantage(u.produktVorteil1,u.produktVorteil2,u.produktVorteil3),u.btnE2e=JSON.parse(n),u.btnInquiry=JSON.parse(i),u.btnContact=JSON.parse(r),a.push(u)}}}catch(e){s={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(s)throw s.error}}return this.mergeHPONFX(a)},e.prototype.mergeProductAdvantage=function(e,t,n){var i,r,s=[];try{for(var o=(0,$g.Ju)([e,t,n]),a=o.next();!a.done;a=o.next()){var l=a.value;if(null!==l)if(l.includes("|")){var c=l.split("|");s=(0,$g.fX)((0,$g.fX)([],(0,$g.zs)(s),!1),(0,$g.zs)(c),!1)}else s.push(l)}}catch(e){i={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s},e.prototype.mergeHPONFX=function(e){var t=this,n=[],i=-1,r=-1,s=0,o={detailProduktZusatz:"",results:[],validity:[]},a={detailProduktZusatz:"",results:[],validity:[]};return e.forEach(function(e){e.topProduct&&-1===t.mobileActiveItem&&(t.mobileActiveItem=s),"HPZIEL"===e.detailProduktZusatz?(a.detailProduktZusatz=e.detailProduktZusatz,a.marketingName=e.marketingName,r>=0?(n[r].results.push(e),n[r].validity.push(e.laufzeit)):(r=n.length,a.results.push(e),a.validity.push(e.laufzeit),n.push(a),s++)):"HPONFX"===e.detailProduktZusatz?(o.detailProduktZusatz=e.detailProduktZusatz,o.marketingName=e.marketingName,i>=0?(n[i].results.push(e),n[i].validity.push(e.laufzeit)):(i=n.length,o.results.push(e),o.validity.push(e.laufzeit),n.push(o),s++)):(n.push(e),s++)}),-1!==r&&this.sortLaufzeit(n[r]),n},e.prototype.sortLaufzeit=function(e){return e.results.sort(function(e,t){return e.laufzeit-t.laufzeit}),e.validity.sort(function(e,t){return e-t}),e},e.prototype.setAriaAttributes=function(){1==this.carousel&&this.dotsWra
1pper.nativeElement.children[0].setAttribute("aria-label","Bedienungselemente"),this.slickSlide.forEach(function(e,t,n){var i=e.nativeElement.parentNode.parentNode;i.setAttribute("aria-roledescription","slide"),i.setAttribute("aria-label",t+1+" von "+n.length)})},e.prototype.initSlickConfig=function(){if(this.columns>=2){var e=this.dotsWrapper.nativeElement;this.slideConfig={accessibility:!0,mobileFirst:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,infinite:!0,dots:!0,appendDots:e,variableWidth:!1,focusOnSelect:!1,arrows:!0,speed:250,centerPadding:"25px",prevArrow:'<button type="button" class="slick-prev" role="button"><span class="icon icon-paging_arrow_left" aria-hidden="true"></span><span class="visually-hidden">'+this.translate.instant("BUTTON_PREV")+"</span></button>",nextArrow:'<button type="button" class="slick-next" role="button"><span class="icon icon-paging_arrow_right" aria-hidden="true"></span><span class="visually-hidden">'+this.translate.instant("BUTTON_NEXT")+"</span></button>",responsive:[{breakpoint:1199,settings:{centerMode:!1,focusOnSelect:!1,slidesToShow:this.columns<4?this.columns:4,slidesToScroll:this.columns<4?this.columns:4}},{breakpoint:1024,settings:{centerMode:!1,focusOnSelect:!1,slidesToShow:this.columns<3?this.columns:3,slidesToScroll:this.columns<3?this.columns:3}},{breakpoint:767,settings:{centerMode:!1,focusOnSelect:!1,slidesToShow:this.columns<2?this.columns:2,slidesToScroll:this.columns<2?this.columns:2}},{breakpoint:575,settings:{centerMode:!1,focusOnSelect:!1,centerPadding:"50px",slidesToShow:this.columns<2?this.columns:2,slidesToScroll:this.columns<2?this.columns:2}},{breakpoint:500},{breakpoint:450},{breakpoint:400,settings:{centerPadding:"50px"}},{breakpoint:350},{breakpoint:320}]}}},e.prototype.setActiveDot=function(e){if(1==this.carousel){var t=e.slick.options.slidesToShow,n=e.currentSlide/t,i=this.dotsWrapper.nativeElement.children[0].children[n].children[0],r=this.dotsWrapper.nativeElement.children[0].children;"0"!==i.getAttribute("tabindex")&&(Array.from(r).forEach(function(e){var t=e.children[0];t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1")}),i.setAttribute("aria-selected","true"),i.setAttribute("tabindex","0"))}},e.prototype.onAfterChange=function(e){var t=this;setTimeout(function(){t.setActiveDot(e)},100)},e.prototype.onDotsKeydown=function(e){37!=e.keyCode&&39!=e.keyCode||ime(this.dotsWrapper.nativeElement).find(".slick-active")[0].children[0].focus()},e.prototype.slickInit=function(e){this.updateColumnHeight(e.event.currentTarget),this.setCarouselBoolean(e),e.slick.activeBreakpoint<=575&&ime(e).slick("slickGoTo",this.mobileActiveItem)},e.prototype.breakpoint=function(e){this.updateColumnHeight(e.event.currentTarget,e.breakpoint),this.setCarouselBoolean(e),this.setAriaAttributes()},e.prototype.setCarouselBoolean=function(e){e.slick.options.slidesToShow<e.slick.$slides.length?this.carousel=!0:this.carousel=!1},e.prototype.updateColumnHeight=function(e,t){var n,i,r=t<=575?10:0;this.columnHeight={},this.cd.detectChanges();var s=ime(e).find("[data-row]");s.removeAttr("style");try{for(var o=(0,$g.Ju)(s),a=o.next();!a.done;a=o.next()){var l=a.value,c=ime(l).data("row"),u=ime(l).outerHeight();(this.columnHeight[c]<u||void 0===this.columnHeight[c])&&(this.columnHeight[c]=u+r)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}this.cd.detectChanges()},e.prototype.errorMsg=function(){this.alertService.clear(this.errorId),this.alertService.error(this.translate.instant("ERROR_MESSAGE_HEADLINE"),this.translate.instant("ERROR_MESSAGE_CONTENT"),{id:this.errorId}),this.loading=!1,this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Zhe),qP(Q0),qP(_te))},e.ɵcmp=DN({type:e,selectors:[["productListing"]],viewQuery:function(e,t){if(1&e&&(Kj(rme,5),Kj(sme,5),Kj(ome,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.dotsWrapper=n.first),Jj(n=Xj())&&(t.slickModal=n.first),Jj(n=Xj())&&(t.slickSlide=n)}},inputs:{documentLinks:"documentLinks",categorie:"categorie",apiCategorie:"apiCategorie",e2eButton:"e2eButton",inquiryButton:"inquiryButton",contactButton:"contactButton",columns:"columns",settings:"settings"},standalone:!1,decls:9,vars:14,consts:[["carouselContainer",""],["dotsWrapper",""],["slickModal","slick-carousel"],["slickSlide",""],["role","regi
vendor: 6,767 bytes, line 1
1on",1,"product-container"],[1,"dots-wrapper"],["aria-live","polite",1,"carousel",3,"config"],[1,"load-trigger-container"],[3,"id"],[1,"dots-wrapper",3,"keydown"],[3,"productItem","apiCategory","height","columns","settings","defaultBankstelle"],["aria-live","polite",1,"carousel",3,"init","afterChange","breakpoint","config"],["ngxSlickItem","",1,"slide"],[3,"selectChanged","productItem","apiCategory","height","columns","settings","defaultBankstelle"],[1,"loading"]],template:function(e,t){1&e&&(r$(0,"div",4,0),nU(2,"translate"),nU(3,"translate"),HV(4,ame,2,0,"div",5),HV(5,cme,2,0),HV(6,dme,4,1,"ngx-slick-carousel",6),HV(7,fme,3,0,"div",7),o$(8,"alert",8),s$()),2&e&&(xH("no-padding",!t.carousel),sV("data-column",t.columns)("aria-roledescription",t.columns>=2?iU(2,10,"CAROUSEL_DESCRIPTION"):null)("aria-label",t.columns>=2?iU(3,12,"CMS_PRODUCT_PAGE"):null),$A(4),UV(t.columns>=2?4:-1),$A(),UV(1===t.columns?5:-1),$A(),UV(t.columns>=2?6:-1),$A(),UV(t.loading?7:-1),$A(),n$("id",t.errorId))},dependencies:[Cte,Tpe,Epe,nme,t2],encapsulation:2}),e}(),gme=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),vme=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,kpe,Lce]}),e}(),yme=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,Lce,kpe]}),e}(),bme=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,Lce,kpe,F5,C5]}),e}(),wme=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,Lce,kpe]}),e}(),_me=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,Lce,kpe,F5,C5]}),e}(),xme=function(){function e(e){this.injector=e;var t=T2(mme,{injector:e});customElements.define("product-component",t)}return e.prototype.ngDoBootstrap=function(){},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,_Q,T5,vte,Ipe,gme,vme,yme,bme,wme,_me]}),e}(),kme=function(){function e(e){this.injector=e}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,Cpe,xme]}),e}(),Cme=function(){function e(e){var t=this;this.http=e,this.getSettings=function(e){return t.http.get(e+".creditcalculator.json").pipe(Ox(function(e){return e}))},this.getProducts=function(e){var n=new r1;return n=(n=(n=n.append("blz",j5.Zr)).append("bankstelle",j5.Wt)).append("kategorie",e),t.http.get(j5.KT+j5.vZ.products.product,{params:n}).pipe(Ox(function(e){return e.results}))},this.finalization=function(e){return t.http.post(j5.KT+j5.vZ.financeCalcFinalization,e).pipe(Ox(function(e){return e}))}}return e.prototype.getData=function(e,t){return this.http.post(j5.KT+j5.vZ[e],t).pipe(Ox(function(e){return e}))},e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),Sme=new(function(){function e(){}return e.prototype.getModel=function(){return{steps:{creditAmount:100,interestRate:.125,creditTerm:1,installment:1,yearlyInterestRate:.001,serviceFee:1,totalValue:1},creditTermAemDefault:420,adviceText:"KR_ADVICE_TEXT",creditValue:"KR_RESULT_CREDIT_VALUE",interestRate:"KR_RESULT_INTEREST_RATE",yearlyInterestRate:"KR_RESULT_YEARLY_INTEREST_RATE",creditTerm:"KR_RESULT_CREDIT_TERM",totalValue:"KR_RESULT_TOTAL_VALUE",serviceFee:"KR_RESULT_SERVICE_FEE",installment:"KR_RESULT_CREDIT_PAYMENT",currency:"EUR",close:"CLOSE"}},e}()),Tme=function(e){return{query:e}};function Eme(e,t){if(1&e&&o$(0,"span",11),2&e){var n=qj(3);n$("translate","KR_NOTIFICATION_MIN")("translateParams",jz(2,Tme,n.min))}}function Ime(e,t){if(1&e&&o$(0,"span",11),2&e){var n=qj(3);n$("translate","KR_NOTIFICATION_MAX")("translateParams",jz(2,Tme,n.max))}}function Ame(e,t){if(1&e&&(r$(0,"div",5),HV(1,Eme,1,4,"span",11),HV(2,Ime,1,4,"span",11),s$()),2&e){var n=qj(2);$A(),UV(n.f.summary.errors.min?1:-1),$A(),UV(n.f.summary.errors.max?2:-1)}}function Dme(e,t){if(1&e){var n=w$();r$(0,"fieldset",2),o$(1,"input",3,0),r$(3,"div",4),HV(4,Ame,3,2,"div",5),r$(5,"div",6)(6,"rwm-input-number",7),nU(7,"translate"),jj("blur",function(){return a_(n),l_(qj().onTouched())}),s$()(),r$(8,"div",6)(9,"rwm-input-number",8),nU(10,"translate"),jj("blur",function(){return a_(n),l_(qj().onTouched())}),s$()()(),r$(11,"div",4)(12,"div",6)(13,"rwm-input-number",9),nU(14,"translate"),jj("blur",function(){return a_(n),l_(qj().onTouched())}),s$()(),r$(15,"div",6)(16,"rwm-input-number",10),nU(17,"translate"),jj("blur",function(){return a_(n),l_(qj().onTouched())}),s$()()()()}if(2&e){var i=qj();xH("error-fieldset",i.f.summary.errors&&-1!==i.f.summary.value),n$("formGroup",i.amountForm),$A(),n$("value",i.f.summary.value)("min",i.min)("max",i.max),$A(3),UV(i.f.summary.errors&&-1!==i.f.summary.value?4:-1),$A(2),n$("id",gz(i.getUId("purchasePrice")))("formControl",i.f.kaufpreis)("label",i.labels.purchasePriceLabel?i.labels.purchasePriceLabel:iU(7,35,"KR_PURCHASE_PRICE"))("hideRequiredFlag",!0)("value",i.f.kaufpreis.value)("invalid",1==(i.f.summary.errors&&-1!==i.f.summary.value)),$A(3),n$("id",gz(i.getUId("additionalCosts")))("formControl",i.f.finanzbedarf)("label",i.labels.additionalCostsLabel?i.labels.additionalCostsLabel:iU(10,37,"KR_FINANCIAL_NEEDS"))("hideRequiredFlag",!0)("value",i.f.finanzbedarf.value)("invalid",1==(i.f.summary.errors&&-1!==i.f.summary.value)),$A(4),n$("id",gz(i.getUId("additionalPurchaseCosts")))("formControl",i.f.kaufnebenkosten)("label",i.labels.additionalPurchaseCostsLabel?i.labels.additionalPurchaseCostsLabel:iU(14,39,"KR_ADDITIONAL_PURCHASE_COSTS"))("hideRequiredFlag",!0)("value",i.f.kaufnebenkosten.value)("invalid",1==(i.f.summary.errors&&-1!==i.f.summary.value)),$A(3),n$("id",gz(i.getUId("equityLabel")))("formControl",i.f.eigenmittel)("label",i.labels.equityLabel?i.labels.equityLabel:iU(17,41,"KR_EQUITY"))("hideRequiredFlag",!0)("value",i.f.eigenmittel.value)("invalid",1==(i.f.summary.errors&&-1!==i.f.summary.value))}}var Mme=function(){function e(e,t,n){var i=this;this.fb=e,this.df=t,this.rootFormGroup=n,this.id=E5.A.uidGenerator(),this.type="text",this.min=0,this.max=0,this.required=!1,this.decimalPlaces=2,this.onChange=function(){},this.onTouched=function(){},this.initLoad=!1,this.disabled=!1,this.floatLabel=!1,this.amountForm=this.fb.group({summary:0,kaufpreis:null,finanzbedarf:null,kaufnebenkosten:null,eigenmittel:null}),this.checkFloatingLabel=function(e){"focus"===e.type||""!==e.target.value?i.floatLabel=!0:i.floatLabel=!1,i.df.detectChanges()}}return Object.defineProperty(e.prototype,"f",{get:function(){return this.amountForm.controls}
1,enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.amountForm=this.rootFormGroup.control.get("summaryAmount"),this.amountForm.valueChanges.subscribe(function(t){t.summary=Number(t.kaufpreis+t.finanzbedarf+t.kaufnebenkosten-t.eigenmittel),e.amountForm.patchValue({summary:t.summary},{emitEvent:!1,onlySelf:!0}),e.writeValue(t)})},e.prototype.ngOnChanges=function(){this.initLoad=!0,this.df.detectChanges()},e.prototype.ngOnDestroy=function(){this.onChangeSub.unsubscribe()},e.prototype.writeValue=function(e){e&&this.onChange(e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.getUId=function(e){return e+this.id},e.ɵfac=function(t){return new(t||e)(qP(_5),qP(uZ),qP(L4))},e.ɵcmp=DN({type:e,selectors:[["rwm-input-amount"]],inputs:{control:"control",id:"id",name:"name",type:"type",label:"label",shortLabel:"shortLabel",min:"min",max:"max",required:"required",hideLabel:"hideLabel",units:"units",decimalPlaces:"decimalPlaces",value:"value",labels:"labels"},standalone:!1,features:[Lz([{provide:P2,useExisting:uv(function(){return e}),multi:!0}]),ok],decls:1,vars:1,consts:[["summary",""],[3,"formGroup","error-fieldset"],[3,"formGroup"],["type","hidden","name","summary",3,"value","min","max"],[1,"row"],["role","alert",1,"error","col-12"],[1,"col-sm-6","form-group","input-number-component"],["name","kaufpreis",3,"blur","formControl","id","label","hideRequiredFlag","value","invalid"],["name","finanzbedarf",3,"blur","formControl","id","label","hideRequiredFlag","value","invalid"],["name","kaufnebenkosten",3,"blur","formControl","id","label","hideRequiredFlag","value","invalid"],["name","eigenmittel",3,"blur","formControl","id","label","hideRequiredFlag","value","invalid"],[3,"translate","translateParams"]],template:function(e,t){1&e&&HV(0,Dme,18,43,"fieldset",1),2&e&&UV(t.initLoad?0:-1)},dependencies:[x3,k3,O4,L4,e2,wae,t2],encapsulation:2}),e}(),Ome=function(){return["SOKR","SOKRFINE"]},Pme=function(){return["KOKR","KOKRFINE"]},Lme=function(){return["WOKR","WOKRFINE"]},Nme=function(){return{query:"in App"}},Rme=function(){return{query:"Online"}};function Bme(e,t){if(1&e&&o$(0,"a",3),2&e){var n=qj();xH("disabled",n.loading),n$("href",n.isMobile()?n.settings.e2eLink.replace("[kreditbetrag]",n.result.auszahlungsbetrag).replace("[rate]",n.result.laufzeit):n.settings.e2eSofortKreditBtn.path,ZI)("translate",n.getLabel(n.settings.e2eBtnLabel,n.settings.e2eSofortKreditBtn.label))("translateParams",$z(5,Nme))}}function Fme(e,t){if(1&e){var n=w$();r$(0,"button",4),jj("click",function(){return a_(n),l_(qj().kokrCompletion())}),s$()}if(2&e){var i=qj();n$("disabled",!i.overlayResult&&i.loading)("translate",i.getLabel(i.settings.e2eBtnLabel))("translateParams",$z(3,Rme))}}function Vme(e,t){if(1&e&&(o$(0,"a",5),nU(1,"utmParameter")),2&e){var n=qj();xH("disabled",n.loading),n$("href",iU(1,4,n.settings.e2eLink),ZI)("translate","KR_DEFAULT_BTN")}}var $me=function(){function e(e,t){this.df=e,this.ccService=t}return e.prototype.checkProducts=function(e,t){return void 0===t&&(t=[]),t.includes(e)},e.prototype.getLabel=function(e,t){return e||t?t||e:"KR_DEFAULT_BTN"},e.prototype.kokrCompletion=function(){var e=this,t={kreditbetrag:this.result.auszahlungsbetrag,produktId:this.settings.productId,produktTyp:this.settings.detailProduktZusatz,laufzeit:this.result.laufzeit};this.ccService.finalization(t).subscribe(function(t){e.newWindow(t.url)})},e.prototype.newWindow=function(e){var t=window.open();e=(new Dpe).transform(e),t.location.href=e},e.prototype.isMobile=function(){return!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Cme))},e.ɵcmp=DN({type:e,selectors:[["rwm-product-completion-btn"]],inputs:{settings:"settings",result:"result",loading:"loading"},standalone:!1,decls:3,vars:6,consts:[[1,"btn","btn-primary",3,"href","translate","translateParams","disabled"],["type","button",1,"btn","btn-primary",3,"disabled","translate","translateParams"],[1,"btn","btn-primary",3,"href","disabled","translate"],[1,"btn","btn-primary",3,"href","translate","translateParams"],["type","button",1,"btn","btn-primary",3,"click","disabled","translate","translateParams"],[1,"btn","btn-primary",3,"href","translate"]],template:function(e,t){1&e&&(HV(0,Bme,1,6,"a",0),HV(1,Fme,1,4,"button",1),HV(2,Vme,2,6,"a",2)),2&e&&(UV(t.checkProducts(t.settings.detailProduktZusatz,$z(3,Ome))?0:-1),$A(),UV(t.checkProducts(t.settings.detailProduktZusatz,$z(4,Pme))?1:-1),$A(),UV(t.checkProducts(t.settings.detailProduktZusatz,$z(5,Lme))?2:-1))},dependencies:[e2,Dpe],encapsulation:2}),e}();function jme(e,t){if(1&e&&(r$(0,"div",4),o$(1,"strong",15)(2,"span",15),s$()),2&e){var n=qj();$A(),n$("innerText",n.marketingName),$A(),n$("innerText",n.description)}}function Hme(e,t){if(1&e&&o$(0,"rwm-input-amount",5),2&e){var n=qj();n$("control",n.summaryAmount)("value",n.settings.valueAmount)("min",n.settings.minAmount)("max",n.settings.maxAmount)("labels",n.settings.labels)}}function zme(e,t){if(1&e&&(o$(0,"rwm-input-slider",7),nU(1,"translate")),2&e){var n=qj();n$("id",gz(n.getUId("creditAmount")))("label",iU(1,12,"KR_CREDIT_AMOUNT"))("required",!0)("showMin",!0)("step",n.settings.stepsAmount)("min",n.settings.minAmount)("max",n.settings.maxAmount)("value",n.settings.valueAmount)("decimalPlaces",0)("units","CURRENCY_CODE")("earlyBreakpoint",!0)}}function Ume(e,t){if(1&e&&(o$(0,"rwm-input-slider",10),nU(1,"translate")),2&e){var n=qj();n$("id",gz(n.getUId("interestRate")))("label",iU(1,12,"KR_INTEREST_RATE"))("required",!0)("showMin",!0)("step",n.settings.stepsInterestRate)("min",n.settings.minInterestRate)("max",n.settings.maxInterestRate)("value",n.settings.valueInterestRate)("decimalPlaces",3)("units","PERCENT")("earlyBreakpoint",!0)}}function qme(e,t){if(1&e){var n=w$();r$(0,"rwm-input-slider",16),nU(1,"translate"),jj("valueChange",function(e){return a_(n),l_(qj().recalculateTerm(e))}),s$()}if(2&e){var i=qj();n$("id",gz(i.getUId("installment")))("label",iU(1,12,"KR_INSTALLMEMT"))("required",!0)("showMin",!0)("step",i.settings.stepsRate)("min",i.settings.minRate)("max",i.settings.maxRate)("value",i.settings.valueRate)("decimalPlaces",0)("units","CURRENCY_CODE")("earlyBreakpoint",!0)}}function Wme(e,t){1&e&&o$(0,"span",21),2&e&&n$("innerText",qj(3).settings.installmentAmountHint)}function Gme(e,t){if(1&e&&(r$(0,"div",17),o$(1,"span",18),r$(2,"span",19),o$(3,"span",20),VH(4),nU(5,"number"),nU(6,"translate"),s$(),HV(7,Wme,1,1,"span",21),s$()),2&e){var n=qj(2);$A(),n$("translate",n.settings.hasProducts&&n.settings.installmentAmountLabel?n.settings.installmentAmountLabel:"KR_RESULT_CREDIT_PAYMENT"),$A(3),QH(" ",sU(5,4,n.result.rate,"1.0-0","de")," ",iU(6,8,"CURRENCY_CODE")," "),$A(3),UV(n.settings.hasProducts?7:-1)}}function Zme(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26),r$(2,"span",27),VH(3),nU(4,"number"),nU(5,"translate"),s$()()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_CREDIT_VALUE"),$A(2),QH("",sU(4,3,n.result.auszahlungsbetrag,"1.0-0","de")," ",iU(5,7,"CURRENCY_CODE"))}}function Yme(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26)(2,"span",28),s$()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_CREDIT_TERM"),$A(),n$("innerText",n.formatCreditTerm(n.result.laufzeit))}}function Kme(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26),r$(2,"span",27),VH(3),nU(4,"number"),nU(5,"translate"),s$()()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_MONTHLY_FLAT_RATE"),$A(2),QH("",sU(4,3,n.result.rate,"1.2-2","de")," ",iU(5,7,"CURRENCY_CODE"))}}function Jme(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26),r$(2,"span")(3,"span",27),VH(4),nU(5,"number"),nU(6,"translate"),s$(),VH(7),s$()()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_INTEREST_RATE"),$A(3),QH("",sU(5,4,n.result.sollzinssatz,"1.3-3","de")," ",iU(6,8,"PERCENT")," p.a."),$A
1(3),XH(" ",n.creditTypeLabel(n.settings.variableCredit)," ")}}function Xme(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26),r$(2,"span",27),VH(3),nU(4,"number"),nU(5,"translate"),s$()()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_YEARLY_INTEREST_RATE"),$A(2),QH("",sU(4,3,n.result.effektiverzins,"1.1-1","de")," ",iU(5,7,"PERCENT"))}}function Qme(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",15),nU(2,"translate"),r$(3,"span",27),VH(4),nU(5,"number"),nU(6,"translate"),s$()()),2&e){var n=qj(3);$A(),n$("innerText",n.result.bereitstellungsentgeltLabel?n.result.bereitstellungsentgeltLabel:iU(2,3,"KR_RESULT_SERVICE_FEE")),$A(3),QH("",sU(5,5,n.result.bereitstellungsentgelt,"1.2-2","de")," ",iU(6,9,"CURRENCY_CODE"))}}function ege(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26),r$(2,"span",27),VH(3),nU(4,"number"),nU(5,"translate"),s$()()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_PROCESSING_FEE"),$A(2),QH("",sU(4,3,n.result.bearbeitungsentgeltLaufend,"1.2-2","de")," ",iU(5,7,"CURRENCY_CODE"))}}function tge(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26),r$(2,"span",27),VH(3),nU(4,"number"),nU(5,"translate"),s$()()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_ACCOUNT_MANAGEMENT_FEE"),$A(2),QH("",sU(4,3,n.result.kontofuehrungsGebuehr,"1.2-2","de")," ",iU(5,7,"CURRENCY_CODE"))}}function nge(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26),r$(2,"span",27),VH(3),nU(4,"number"),nU(5,"translate"),s$()()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_TOTAL_VALUE"),$A(2),QH("",sU(4,3,n.result.gesamtbetrag,"1.2-2","de")," ",iU(5,7,"CURRENCY_CODE"))}}function ige(e,t){if(1&e&&(r$(0,"div",24),o$(1,"span",26),r$(2,"span",27),VH(3),nU(4,"number"),nU(5,"translate"),s$()()),2&e){var n=qj(3);$A(),n$("translate","KR_RESULT_SERVICE_FEE"),$A(2),QH("",sU(4,3,n.result.einmaligeKosten,"1.0-0","de")," ",iU(5,7,"CURRENCY_CODE"))}}function rge(e,t){if(1&e&&(r$(0,"p"),VH(1),nU(2,"translate"),o$(3,"strong",15),VH(4,"."),s$()),2&e){var n=qj(4);$A(),XH("",iU(2,2,"KR_BANKNAME_INFO")," "),$A(2),n$("innerText",n.bankname)}}function sge(e,t){1&e&&o$(0,"p",15),2&e&&n$("innerText",qj(4).settings.calcExampleHint)}function oge(e,t){if(1&e&&(r$(0,"div",25),HV(1,rge,5,4,"p"),HV(2,sge,1,1,"p",15),s$()),2&e){var n=qj(3);$A(),UV(n.bankname?1:-1),$A(),UV(n.settings.calcExampleHint?2:-1)}}function age(e,t){if(1&e&&(r$(0,"rwm-accordion",22)(1,"div",23),HV(2,Zme,6,9,"div",24),HV(3,Yme,3,2,"div",24),HV(4,Kme,6,9,"div",24),HV(5,Jme,8,10,"div",24),HV(6,Xme,6,9,"div",24),HV(7,Qme,7,11,"div",24),HV(8,ege,6,9,"div",24),HV(9,tge,6,9,"div",24),HV(10,nge,6,9,"div",24),HV(11,ige,6,9,"div",24),s$()(),HV(12,oge,3,2,"div",25)),2&e){var n=qj(2);n$("id",n.accordionId)("unfolded",!0)("headline",n.settings.hasProducts?"Unverbindliches repräsentatives Rechenbeispiel":"KR_RESULT_HEADER"),$A(2),UV(n.result.auszahlungsbetrag?2:-1),$A(),UV(n.result.laufzeit?3:-1),$A(),UV(n.result.rate?4:-1),$A(),UV(n.result.sollzinssatz?5:-1),$A(),UV(n.result.effektiverzins?6:-1),$A(),UV(n.result.bereitstellungsentgelt?7:-1),$A(),UV(n.result.bearbeitungsentgeltLaufend?8:-1),$A(),UV(n.result.kontofuehrungsGebuehr?9:-1),$A(),UV(n.result.gesamtbetrag?10:-1),$A(),UV(n.result.einmaligeKosten&&!n.settings.hideProvisionFee?11:-1),$A(),UV(n.settings.hasProducts&&(n.settings.calcExampleHint||n.bankname)?12:-1)}}function lge(e,t){if(1&e&&(r$(0,"div"),HV(1,Gme,8,10,"div",17),HV(2,age,13,14),s$()),2&e){var n=qj();xH("loading",n.loading),$A(),UV(n.result?1:-1),$A(),UV(n.result?2:-1)}}function cge(e,t){if(1&e){var n=w$();r$(0,"rwm-product-completion-btn",33),jj("click",function(){return a_(n),l_(qj(3).ctaTracking("e2eAbschluss"))}),s$()}if(2&e){var i=qj(3);n$("settings",i.settings)("result",i.result)("loading",i.loading)}}function uge(e,t){if(1&e){var n=w$();r$(0,"rwm-overlay-cta",34),jj("click",function(){return a_(n),l_(qj(3).ctaTracking("produktanfrage"))}),s$()}if(2&e){var i=qj(3);n$("label",i.settings.inquiryBtn.label?i.settings.inquiryBtn.label:"KR_INQUIRY_BTN")("url",i.settings.inquiryBtn.path)("prefillType","prefillTextArea")("target",i.settings.inquiryBtn.target)("resultsSummary",i.prepDataForAppointment(i.result))("inConditionalStatement",!0)("btnStyle",i.settings.e2eAbschluss?"btn-default":"btn-primary")("loading",!i.overlayResult&&i.loading)}}function dge(e,t){if(1&e){var n=w$();r$(0,"rwm-overlay-cta",35),jj("click",function(){return a_(n),l_(qj(3).ctaTracking("kontakt"))}),s$()}if(2&e){var i=qj(3);n$("label",i.settings.contactBtn.label?i.settings.contactBtn.label:"KR_CONTACT_BTN")("url",i.settings.contactBtn.path)("target",i.settings.contactBtn.target)("prefillType","prefillTextArea")("resultsSummary",i.prepDataForAppointment(i.result))("inConditionalStatement",!0)("btnStyle",i.settings.hasProducts?"btn-default":"btn-primary")("loading",!i.overlayResult&&i.loading)}}function hge(e,t){if(1&e&&(HV(0,cge,1,3,"rwm-product-completion-btn",30),HV(1,uge,1,8,"rwm-overlay-cta",31),HV(2,dge,1,8,"rwm-overlay-cta",32)),2&e){var n=qj(2);UV(n.settings.e2eAbschluss?0:-1),$A(),UV(n.settings.inquiryBtn.path&&n.isVisibleByBlz(n.settings.e2eAbschluss,"inquiryBtn")?1:-1),$A(),UV(n.settings.contactBtn.path&&n.isVisibleByBlz(n.settings.e2eAbschluss,"contactBtn")?2:-1)}}function pge(e,t){if(1&e){var n=w$();r$(0,"rwm-overlay-cta",36),jj("click",function(){return a_(n),l_(qj(2).ctaTracking("kontakt"))}),s$()}if(2&e){var i=qj(2);n$("label",i.overlayCtaBtn)("url",i.contactForm)("prefillType","prefillTextArea")("resultsSummary",i.prepDataForAppointment(i.result))("inConditionalStatement",!0)("loading",!i.overlayResult&&i.loading)}}
1function fge(e,t){if(1&e&&(r$(0,"div",13),HV(1,hge,3,3),HV(2,pge,1,6,"rwm-overlay-cta",29),s$()),2&e){var n=qj();$A(),UV(n.settings.hasProducts&&n.result?1:-1),$A(),UV(!n.settings.hasProducts&&n.contactForm&&n.result?2:-1)}}function mge(e,t){if(1&e&&(r$(0,"div",37)(1,"p",39),VH(2),s$()()),2&e){var n=qj(2);$A(2),JH(n.calculationError)}}function gge(e,t){if(1&e&&(r$(0,"div",14)(1,"div",37),o$(2,"h3",38),s$(),HV(3,mge,3,1,"div",37),s$()),2&e){var n=qj();$A(2),n$("translate","BANKSEARCH_ERROR_MESSAGE"),$A(),UV(n.calculationError?3:-1)}}var vge=function(){function e(e,t,n,i,r){var s=this;this.translate=e,this.formBuilder=t,this.df=n,this.ccService=i,this.decimalPipe=r,this.tabsActive=!1,this.uid=E5.A.uidGenerator(),this.ccContent=Sme.getModel(),this.form=this.formBuilder.group({summaryAmount:this.formBuilder.group({summary:0,kaufpreis:null,finanzbedarf:null,kaufnebenkosten:null,eigenmittel:null}),calcRate:this.formBuilder.group({creditAmount:0,term:0,interestRate:0}),monthlyRate:0}),this.disableForm=!1,this.overlayCtaBtn="PVR_MAKE_APPOINTMENT",this.loading=!0,this.ariaHiddenTerm=!0,this.accordionId=this.getUId("accordion-credit-summary"),this.prepDataForAppointment=function(e){var t=s.ccContent.currency,n=[{element:".calculation_result",value:{info:"".concat(s.translate.instant(s.ccContent.adviceText),":"),marketingName:s.marketingName,creditValue:"".concat(s.translate.instant(s.ccContent.creditValue),": ").concat(s.decimalPipe.transform(e.auszahlungsbetrag,"1.0-0","de")," ").concat(t),creditTerm:"".concat(s.translate.instant(s.ccContent.creditTerm),": ").concat(s.decimalPipe.transform(e.laufzeit,"1.0-0","de")),interestRate:"".concat(s.translate.instant(s.ccContent.interestRate),": ").concat(s.decimalPipe.transform(e.sollzinssatz,"1.3-3","de")," %"),yearlyInterestRate:"".concat(s.translate.instant(s.ccContent.yearlyInterestRate),": ").concat(s.decimalPipe.transform(e.effektiverzins,"1.1-1","de")," %"),totalValue:"".concat(s.translate.instant(s.ccContent.totalValue),": ").concat(s.decimalPipe.transform(e.gesamtbetrag,"1.2-2","de")," ").concat(t),installment:"".concat(s.translate.instant(s.ccContent.installment),": ").concat(s.decimalPipe.transform(e.rate,"1.0-0","de")," ").concat(t)}}];return e.einmaligeKosten&&(n[0].value.serviceFee="".concat(s.translate.instant(s.ccContent.serviceFee),": ").concat(s.decimalPipe.transform(e.einmaligeKosten,"1.0-0","de")," ").concat(t)),e.bereitstellungsentgelt&&(e.bereitstellungsentgeltLabel?n[0].value.bereitstellungsentgelt="".concat(e.bereitstellungsentgeltLabel,": ").concat(s.decimalPipe.transform(e.bereitstellungsentgelt,"1.2-2","de")," ").concat(t):n[0].value.bereitstellungsentgelt="".concat(s.translate.instant("KR_RESULT_SERVICE_FEE"),": ").concat(s.decimalPipe.transform(e.bereitstellungsentgelt,"1.2-2","de")," ").concat(t)),e.bearbeitungsentgeltLaufend&&(n[0].value.bearbeitungsentgeltLaufend="".concat(s.translate.instant("KR_RESULT_PROCESSING_FEE"),": ").concat(s.decimalPipe.transform(e.bearbeitungsentgeltLaufend,"1.2-2","de")," ").concat(t)),e.kontofuehrungsGebuehr&&(n[0].value.kontofuehrungsGebuehr="".concat(s.translate.instant("KR_RESULT_ACCOUNT_MANAGEMENT_FEE"),": ").concat(s.decimalPipe.transform(e.kontofuehrungsGebuehr,"1.2-2","de")," ").concat(t)),[JSON.stringify(n)]}}return Object.defineProperty(e.prototype,"f",{get:function(){return this.form.controls},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"summaryAmount",{get:function(){return this.form.get("summaryAmount").get("summary")},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.form.get("summaryAmount").valueChanges.subscribe(function(t){e.rateSliderMaxOption(t.summary),e.sendToCalculate("rate",t.summary)}),this.form.get("calcRate").valueChanges.subscribe(function(t){e.rateSliderMaxOption(t.creditAmount),e.sendToCalculate("rate",t.creditAmount)}),this.form.get("monthlyRate").valueChanges.subscribe(function(){e.sendToCalculate("term",e.form.get("calcRate").value.creditAmount)})},e.prototype.ngOnChanges=function(){this.rateSliderMaxOption(this.settings.valueAmount),this.creditTermMinDefaultValue=this.settings.minTerm,this.creditTermMaxDefaultValue=this.settings.maxTerm,this.installmentMinDefaultValue=this.settings.minRate,this.installmentMaxDefaultValue=this.settings.maxRate,this.form.get("summaryAmount").get("summary").clearValidators(),this.form.get("summaryAmount").get("summary").addValidators([U2.required,U2.min(this.settings.minAmount),U2.max(this.settings.maxAmount)]),this.setFormValue(this.settings)},e.prototype.recalculateTerm=function(e){e!=this.form.get("monthlyRate").value&&(this.ariaHiddenTerm=!1)},e.prototype.isTouchDevice=function(){return window.matchMedia("(pointer: coarse)").matches||navigator.maxTouchPoints>0},e.prototype.ctaTracking=function(e){void 0===e&&(e=""),E5.A.eventTracking(!0,"kreditrechner","CTA geklickt",{ctaType:"SOKR"==this.productCategorie&&"e2eAbschluss"==e&&this.isTouchDevice()?"e2eAbschluss App":e,creditType:this.settings.hasProducts?this.productCategorie:"Spielrechner"},"ctaClicked")},e.prototype.setFormValue=function(e){this.form.patchValue({summaryAmount:{summary:e.valueAmount,kaufpreis:e.valueAmount},calcRate:{creditAmount:e.valueAmount,term:e.valueTerm,interestRate:e.valueInterestRate},monthlyRate:e.valueRate},{emitEvent:!1}),this.sendToCalculate("rate")},e.prototype.rateSliderMaxOption=function(e){if(!this.settings.hideInstallment){this.settings.maxRate=10*Math.ceil(e/this.settings.minTerm/10),this.installmentMaxDefaultValue=this.settings.maxRate;var t=e/this.settings.maxTerm;this.settings.minRate=t<10?Math.round(e/this.settings.maxTerm):10*Math.floor(e/this.settings.maxTerm/10),this.installmentMinDefaultValue=this.settings.minRate,this.ccContent.creditTermAemDefault=this.settings.maxTerm}},e.prototype.updateModel=function(){this.df.detectChanges()},e.prototype.onSubmit=function(){this.sendToCalculate("rate")},e.prototype.getUId=function(e){return e+"-"+this.uid},e.prototype.getJSON=function(e,t){var n,i,r=this.form.get("calcRate").value;t&&this.form.get("calcRate").patchValue({creditAmount:t},{emitEvent:!1,onlySelf:!1});var s=this.form.get("monthlyRate").value,o={};if(this.settings.hasProducts){var a=r.creditAmount;if(o.kreditbetrag=a,o.produktId=this.settings.productId,o.produktTyp=this.settings.detailProduktZusatz,this.settings.zinssaetze)try{for(var l=(0,$g.Ju)(this.settings.zinssaetze),c=l.next();!c.done;c=l.next()){var u=c.value;a>=u.rangeFrom&&a<=u.rangeTo&&(o.sollzinssatz=u.value)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}
1switch(e){case"rate":o.laufzeit=r.term;break;case"term":o.rate=s}}else switch(o=r,e){case"rate":default:o.monthlyRate=null;break;case"term":o.term=null,o.monthlyRate=s}return o},e.prototype.sendToCalculate=function(e,t){var n=this;void 0===e&&(e="rate"),this.triggerLoading(!0);var i=this.getJSON(e,t);if(t&&(t<this.settings.minAmount||t>this.settings.maxAmount))return this.calculationError="Kreditbetrag ist zu niedrig oder zu hoch.",this.requestError=!0,this.result=null,this.df.detectChanges(),!1;this.requestError=!1,this.overlayResult=null,this.ccService.getData(this.settings.calculationService,i).subscribe(function(e){var t=n.form.get("calcRate").value;if(n.result=e,n.result.auszahlungsbetrag=t.creditAmount,n.result.laufzeit>n.ccContent.creditTermAemDefault&&!n.settings.hideInstallment)return n.settings.maxTerm=n.ccContent.creditTermAemDefault,n.settings.valueTerm=n.ccContent.creditTermAemDefault,n.form.get("calcRate").patchValue({term:n.ccContent.creditTermAemDefault},{emitEvent:!0,onlySelf:!1}),void(n.settings.valueRate=0);n.result.laufzeit&&(n.form.get("calcRate").patchValue({term:n.result.laufzeit},{emitEvent:!1,onlySelf:!1}),setTimeout(function(){n.ariaHiddenTerm=!0},500)),n.result.rate&&n.form.patchValue({monthlyRate:n.result.rate},{emitEvent:!1,onlySelf:!1}),n.settings.valueRate=n.result.rate,n.settings.maxTerm=n.result.laufzeit>n.creditTermMaxDefaultValue?n.result.laufzeit:n.creditTermMaxDefaultValue,n.settings.maxRate=n.result.rate>n.installmentMaxDefaultValue?n.result.rate:n.installmentMaxDefaultValue,n.settings.minTerm=n.result.laufzeit<n.creditTermMinDefaultValue?n.result.laufzeit:n.creditTermMinDefaultValue,n.settings.minRate=n.result.rate<n.installmentMinDefaultValue?n.result.rate:n.installmentMinDefaultValue,n.triggerLoading(!1)},function(e){e.error&&(n.calculationError=e.error.message),n.requestError=!0,n.result=null,n.triggerLoading(!1)},function(){n.updateModel()})},e.prototype.formatCreditTerm=function(e){var t=e/12|0,n=e%12,i=t>1?this.translate.instant("YEARS"):this.translate.instant("YEAR"),r=1!==n?this.translate.instant("MONTHS"):this.translate.instant("MONTH");return t>=1?t+" "+i+" "+n+" "+r:e+" "+r},e.prototype.creditTypeLabel=function(e){switch(e){case!0:return"( Variabler Zinssatz )";case!1:return"( Fixzinssatz )";default:return""}},e.prototype.triggerLoading=function(e){this.loading=e,this.df.detectChanges()},e.prototype.isVisibleByBlz=function(e,t){if(!e)return!0;switch(!0){case j5.Zr<=33999&&"contactBtn"===t:case j5.Zr>=34e3&&"inquiryBtn"===t:return!0;default:return!1}},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(_5),qP(uZ),qP(Cme),qP(AX))},e.ɵcmp=DN({type:e,selectors:[["credit-calculator"]],inputs:{marketingName:"marketingName",description:"description",disclaimer:"disclaimer",ctaText:"ctaText",settings:"settings",contactForm:"contactForm",bankname:"bankname",tabsActive:"tabsActive",productCategorie:"productCategorie"},standalone:!1,features:[ok],decls:18,vars:31,consts:[[1,"form-container"],["autocomplete","off",1,"credit-calculator-form",3,"ngSubmit","formGroup"],[1,"container-content"],[1,"content-wrapper"],[1,"d-flex","flex-column","product-marketing"],[3,"control","value","min","max","labels"],["formGroupName","calcRate"],["formControlName","creditAmount","name","CreditAmount",3,"id","label","required","showMin","step","min","max","value","decimalPlaces","units","earlyBreakpoint"],["formControlName","term","name","CreditTerm",3,"id","label","required","showMin","step","min","max","value","decimalPlaces","units","earlyBreakpoint"],["aria-live","polite",1,"live-region","visually-hidden",3,"innerText"],["formControlName","interestRate","name","InterestRate",3,"id","label","required","showMin","step","min","max","value","decimalPlaces","units","earlyBreakpoint"],["formControlName","monthlyRate","name","Installment",3,"id","label","required","showMin","step","min","max","value","decimalPlaces","units","earlyBreakpoint"],[3,"loading"],[1,"btn-group"],[1,"credit-calculator-request-error-msgs"],[3,"innerText"],["formControlName","monthlyRate","name","Installment",3,"valueChange","id","label","required","showMin","step","min","max","value","decimalPlaces","units","earlyBreakpoint"],["aria-live","polite",1,"credit-calculator-summary"],[1,"summary-label",3,"translate"],[1,"summary","text-nowrap"],["aria-hidden","true",1,"icon-depot"],[1,"summary-hint",3,"innerText"],[3,"id","unfolded","headline"],["body","",1,"credit-calculator-result-list"],[1,"item"],[1,"component-spacer"],[3,"translate"],[1,"text-nowrap"],[1,"text-nowrap",3,"innerText"],[3,"label","url","prefillType","resultsSummary","inConditionalStatement","loading"],[1,"btn-e2e-completion",3,"settings","result","loading"],[3,"label","url","prefillType","target","resultsSummary","inConditionalStatement","btnStyle","loading"],[3,"label","url","target","prefillType","resultsSummary","inConditionalStatement","btnStyle","loading"],[1,"btn-e2e-completion",3,"click","
1settings","result","loading"],[3,"click","label","url","prefillType","target","resultsSummary","inConditionalStatement","btnStyle","loading"],[3,"click","label","url","target","prefillType","resultsSummary","inConditionalStatement","btnStyle","loading"],[3,"click","label","url","prefillType","resultsSummary","inConditionalStatement","loading"],[1,"mt-2"],[1,"text-center",3,"translate"],[1,"text-center"]],template:function(e,t){1&e&&(r$(0,"div",0)(1,"form",1),jj("ngSubmit",function(){return t.onSubmit()}),r$(2,"div",2)(3,"div",3),HV(4,jme,3,2,"div",4),HV(5,Hme,1,5,"rwm-input-amount",5),r$(6,"div",6),HV(7,zme,2,14,"rwm-input-slider",7),o$(8,"rwm-input-slider",8),nU(9,"translate"),o$(10,"div",9),nU(11,"translate"),nU(12,"translate"),HV(13,Ume,2,14,"rwm-input-slider",10),s$(),HV(14,qme,2,14,"rwm-input-slider",11),HV(15,lge,3,4,"div",12),s$()(),HV(16,fge,3,2,"div",13),s$()(),HV(17,gge,4,2,"div",14)),2&e&&($A(),xH("readonly",t.disableForm),n$("formGroup",t.form),$A(3),UV(t.tabsActive?-1:4),$A(),UV(t.settings.enterLoanAmount?-1:5),$A(2),UV(t.settings.enterLoanAmount?7:-1),$A(),n$("id",gz(t.getUId("creditTerm")))("label",iU(9,25,"KR_CREDIT_TERM"))("required",!0)("showMin",!0)("step",t.settings.stepsTerm)("min",t.settings.minTerm)("max",t.settings.maxTerm)("value",t.settings.valueTerm)("decimalPlaces",0)("units","MONTHS")("earlyBreakpoint",!0),$A(2),n$("innerText",iU(11,27,"KR_CREDIT_TERM")+" "+t.form.get("calcRate").value.term+" "+iU(12,29,"MONTHS")),sV("aria-hidden",t.ariaHiddenTerm),$A(3),UV(t.requestError||t.settings.hideInterestRate?-1:13),$A(),UV(t.requestError||t.settings.hideInstallment?-1:14),$A(),UV(t.requestError?-1:15),$A(),UV(!t.requestError&&t.result?16:-1),$A(),UV(t.requestError?17:-1))},dependencies:[x4,x3,k3,s5,L4,j4,R4,e2,ble,Sle,_se,Mme,$me,AX,t2],encapsulation:2}),e}(),yge=["navContainer"],bge=["tabElements"];function wge(e,t){if(1&e){var n=w$();r$(0,"li",16,1)(2,"a",20),jj("click",function(){var e=a_(n).$implicit;return l_(qj(3).loadProduct(e))})("keydown",function(e){var t=a_(n).$implicit;return l_(qj(3).onKeydownTab(e,t))})("focusin",function(e){return a_(n),l_(qj(3).getFocus(e))}),o$(3,"strong",21)(4,"span",22),s$()()}if(2&e){var i=t.$implicit,r=qj(3);$A(2),xH("active",r.activeProductId===i.detailProduktId),n$("id","tab-"+i.detailProduktId)("tabIndex",r.activeProductId===i.detailProduktId?"0":"-1"),sV("aria-selected",r.activeProductId===i.detailProduktId)("aria-controls","tabpanel-"+r.activeProductId),$A(),n$("innerText",i.marketingName)("title",i.marketingName),$A(),n$("innerText",i.erlaeuterung)("title",i.erlaeuterung)}}function _ge(e,t){if(1&e){var n=w$();r$(0,"div",9)(1,"button",10),jj("click",function(){return a_(n),l_(qj(2).onArrowClick("left"))}),o$(2,"span",11),r$(3,"span",12),VH(4),nU(5,"translate"),s$()(),r$(6,"div",13),o$(7,"span",11),s$(),r$(8,"nav",14)(9,"ul",15,0),YV(11,wge,5,10,"li",16,GV),s$()(),r$(13,"button",17),jj("click",function(){return a_(n),l_(qj(2).onArrowClick("right"))}),o$(14,"span",18),r$(15,"span",12),VH(16),nU(17,"translate"),s$()(),r$(18,"div",19),o$(19,"span",18),s$()()}if(2&e){var i=qj(2);xH("no-arrows",!i.scrollable),$A(),xH("hide",!i.showLeftArrow),$A(3),JH(iU(5,14,"BUTTON_PREV")),$A(2),xH("hide",!i.showLeftArrow),$A(2),xH("scrollable",i.scrollable),$A(3),XV(i.products),$A(2),xH("hide",!i.showRightArrow),$A(3),JH(iU(17,16,"BUTTON_NEXT")),$A(2),xH("hide",!i.showRightArrow)}}function xge(e,t){1&e&&HV(0,_ge,20,18,"div",8),2&e&&UV(qj().products.length>1?0:-1)}function kge(e,t){if(1&e&&o$(0,"credit-calculator",2),2&e){var n=qj();n$("marketingName",n.getKeyValue(n.activeProduct,"marketingName"))("description",n.getKeyValue(n.activeProduct,"erlaeuterung"))("tabsActive",1!==n.products.length)("disclaimer",n.disclaimer)("ctaText",n.ctaText)("settings",n.calcOptions)("contactForm",n.contactForm)("bankname",n.bankname)("id",n.products.length>1?"tabpanel-"+n.activeProductId:null)("productCategorie",n.getKeyValue(n.activeProduct,"detailProduktZusatz")),sV("role",n.products.length>1?"tabpanel":null)("aria-labelledby",n.products.length>1?"tab-"+n.activeProductId:null)}}function Cge(e,t){if(1&e&&o$(0,"rwm-overlay-link",6),2&e){var n=qj();n$("href",n.legalInfoLink)("label",n.legalInfo)}}var Sge=new URLSearchParams(window.location.search),Tge=Sge.get("productCategorieTest"),Ege=Sge.get("e2eabschluss"),Ige=Sge.get("e2elink"),Age=Sge.get("debug"),Dge=function(){function e(e,t){this.cd=e,this.ccService=t,this.productCategorie="",this.products=[],this.loading=!0,this.show
1From=0,this.showTo=0,this.currentPos=0,this.maxPos=0,this.scrollable=!1,this.stepsModel=Sme.getModel(),this.regexPattern=new RegExp("true"),this.loanTypeMap={KOKR:"Konsumkredit",WOKR:"Wohnkredit",SOKR:"Sofortkredit"}}return e.prototype.onResize=function(e){this.measureTabWidth(),this.displayArrowBtn()},e.prototype.ngOnInit=function(){var e=this;Tge&&Age&&(this.productCategorie=Tge),this.ccService.getSettings(this.path).subscribe(function(t){var n={calculationService:"calculatorCredit",hideInterestRate:!1,hideInstallment:!1,hasProducts:!1,valueAmount:e.calculateStartingPoint(t.minAmount,t.maxAmount,e.getStep("creditAmount")),valueTerm:e.calculateStartingPoint(t.minTerm,t.maxTerm,e.getStep("creditTerm")),valueInterestRate:e.calculateStartingPoint(t.minInterestRate,t.maxInterestRate,e.getStep("interestRate")),valueRate:e.calculateStartingPoint(t.minRate,t.maxRate,e.getStep("installment")),stepsAmount:e.getStep("creditAmount"),stepsTerm:e.getStep("creditTerm"),stepsInterestRate:e.getStep("interestRate"),stepsRate:e.getStep("installment"),enterLoanAmount:e.regexPattern.test(t.enterLoanAmount)};e.calcOptions=(0,$g.Cl)((0,$g.Cl)({},t),n)}),W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.productCategorie?e.getProducts():(e.loading=!1,e.cd.detectChanges(),e.loadedTracking(!1))})},e.prototype.createScript=function(){var e=document.createElement("script");e.type="application/ld+json",e.text=JSON.stringify(this.creditCalcSchema()),document.head.appendChild(e)},e.prototype.getZinssatz=function(e,t){var n,i;if(e.zinssaetze.length>0)try{for(var r=(0,$g.Ju)(e.zinssaetze),s=r.next();!s.done;s=r.next()){var o=s.value;if(t>=o.rangeFrom&&t<=o.rangeTo)return o.value}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}},e.prototype.creditCalcSchema=function(){var e=this;return this.products.map(function(t){var n=e.getZinssatz(t,t.minKreditbetrag),i=e.getZinssatz(t,t.maxKreditbetrag);return(0,$g.Cl)((0,$g.Cl)({"@context":"https://schema.org","@type":"LoanOrCredit",name:t.marketingName,description:t.erlaeuterung,loanType:e.loanTypeMap[t.detailProduktZusatz],loanTerm:{"@type":"QuantitativeValue",value:t.vorschlagLaufzeit,minValue:t.minLaufzeit,maxValue:t.maxLaufzeit,unitText:"months"}},(null!=n||null!=i)&&{annualPercentageRate:(0,$g.Cl)((0,$g.Cl)({"@type":"QuantitativeValue",name:t.variablerKredit?"Variabler Zinssatz":"Fixer Zinssatz"},n===i?{value:n}:{minValue:n,maxValue:i}),{unitText:"%"})}),{amount:{"@type":"MonetaryAmount",value:t.vorschlagKreditbetrag,minValue:t.minKreditbetrag,maxValue:t.maxKreditbetrag,currency:"EUR"},audience:"Privatkunden"})})},e.prototype.loadedTracking=function(e){void 0===e&&(e=!1),E5.A.eventTracking(!0,"kreditrechner","Kreditrechner geladen",{produktanbindung:e,creditType:e?this.productCategorie:"Spielrechner"},"rechnerLoad")},e.prototype.displayArrowBtn=function(){this.scrollable&&(0==this.currentPos?this.showLeftArrow=!1:this.showLeftArrow=!0,this.currentPos==this.maxPos?this.showRightArrow=!1:this.showRightArrow=!0)},e.prototype.measureTabWidth=function(){if(this.navContainer){var e=this.navContainer.nativeElement.offsetWidth;0==this.scrollable&&(e-=95);var t=0,n=!1;this.showFrom=0,this.currentPos=0;var i=this;this.tabElements.forEach(function(e){1==i.scrollable&&(e.nativeElement.classList.contains("show")&&e.nativeElement.classList.remove("show"),e.nativeElement.classList.contains("hide")&&e.nativeElement.classList.remove("hide"))}),this.tabElements.forEach(function(r,s,o){t+=r.nativeElement.offsetWidth,1!=n&&(t>e?(n=!0,i.scrollable=!0,i.showTo=s-1,i.maxPos=o.length-(i.showTo+1),i.setTabs()):t==e?s==o.length-1?(i.scrollable=!1,i.showTo=s):(n=!0,i.scrollable=!0,i.showTo=s,i.maxPos=o.length-i.showTo,i.setTabs()):s==o.length-1&&t<e&&(i.scrollable=!1,i.showTo=s))})}},e.prototype.getProducts=function(){var e=this;this.ccService.getProducts(this.productCategorie).subscribe(function(t){e.products=t,0!==t.length&&e.loadProduct(t[0]),e.loading=!1,e.createScript()},function(t){e.loading=!1,e.cd.detectChanges(),e.loadedTracking(!1)},function(){e.cd.detectChanges(),e.measureTabWidth(),e.displayArrowBtn(),0!==e.products.length?e.loadedTracking(!0):e.loadedTracking(!1)})},e.prototype.loadProduct=function(e){this.activeProductId=e.detailProduktId,this.activeProduct=e,this.productMapping(e)},e.prototype.onKeydownTab=function(e,t){32==e.keyCode&&e.preventDefault(),13==e.keyCode||32==e.keyCode?this.loadProduct(t):37==e.keyCode?this.moveFocus(e.target.parentNode.previousElementSibling,this.tabElements.last,"left"):39==e.keyCode&&this.moveFocus(e.target.parentNode.nextElementSibling,this.tabElements.first,"right")},e.prototype.onArrowClick=function(e){"left"==e?(this.currentPos-=1,this.showTo--,this.show
1From--):"right"==e&&(this.currentPos+=1,this.showTo++,this.showFrom++),this.setTabs(),this.displayArrowBtn(),this.cd.detectChanges()},e.prototype.moveFocus=function(e,t,n){var i=this;e?(this.tabElements.forEach(function(t,r,s){if(e.classList.contains("hide"))return"right"==n&&r>i.showTo?(i.showTo++,i.showFrom++,i.currentPos+=1,i.setTabs(),i.displayArrowBtn()):"left"==n&&r<i.showFrom&&(i.showTo--,i.showFrom--,i.currentPos-=1,i.setTabs(),i.displayArrowBtn()),!1}),e.children[0].focus()):(this.scrollable&&("right"==n?(i.showTo=i.showTo-i.showFrom,i.showFrom=0,i.currentPos=0):"left"==n&&(i.showFrom=i.tabElements.length-1-(i.showTo-i.showFrom),i.showTo=i.tabElements.length-1,i.currentPos=this.maxPos),i.setTabs(),i.displayArrowBtn()),t.nativeElement.children[0].focus()),this.cd.detectChanges()},e.prototype.setTabs=function(){if(1==this.scrollable){var e=this;this.tabElements.forEach(function(t,n){for(var i=!1,r=e.showFrom;r<=e.showTo;r++)n==r&&(t.nativeElement.classList.contains("hide")&&t.nativeElement.classList.remove("hide"),t.nativeElement.classList.add("show"),i=!0);0==i&&(t.nativeElement.classList.contains("show")&&t.nativeElement.classList.remove("show"),t.nativeElement.classList.add("hide"))})}},e.prototype.getFocus=function(e){var t=this;this.scrollable&&e.target.classList.contains("active")&&this.tabElements.forEach(function(n,i,r){if(e.target.parentNode.classList.contains("hide")){var s=t.showTo-t.showFrom;return i<=s?(t.currentPos=0,t.showTo=s,t.showFrom=0):i>s&&(t.currentPos=i-s,t.showTo=i,t.showFrom=i-s),t.displayArrowBtn(),t.setTabs(),void t.cd.detectChanges()}})},e.prototype.productMapping=function(e){var t={calculationService:"financecalculator",detailProduktZusatz:e.detailProduktZusatz,productId:e.detailProduktId,minAmount:e.minKreditbetrag,maxAmount:e.maxKreditbetrag,valueAmount:this.calculateStartingPoint(this.calcOptions.minAmount,this.calcOptions.maxAmount,this.getStep("creditAmount"),e.vorschlagKreditbetrag),minInterestRate:0,maxInterestRate:0,valueInterestRate:e.sollzinssatz,hideInterestRate:!0,minTerm:e.minLaufzeit,maxTerm:e.maxLaufzeit,valueTerm:this.calculateStartingPoint(this.calcOptions.minTerm,this.calcOptions.maxTerm,this.getStep("creditTerm"),e.vorschlagLaufzeit),minRate:0,maxRate:0,valueRate:0,hideInstallment:!this.calcOptions.enterInstallment,hasProducts:!0,variableCredit:e.variablerKredit,e2eAbschluss:e.e2eAbschluss,e2eLink:e.e2eLink,zinssaetze:e.zinssaetze};"true"===Age&&("true"===Ege&&(t.e2eAbschluss=Ege),"true"===Ige&&(t.e2eLink=Ige)),this.calcOptions=(0,$g.Cl)((0,$g.Cl)({},this.calcOptions),t),this.cd.detectChanges()},e.prototype.getKeyValue=function(e,t){return e?e[t]:null},e.prototype.calculateStartingPoint=function(e,t,n,i){if(i)return i;var r=(+t+ +e)/2;return r+Math.abs(r%n)},e.prototype.getStep=function(e){return this.stepsModel.steps[e]},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Cme))},e.ɵcmp=DN({type:e,selectors:[["credit-calculator-overview"]],viewQuery:function(e,t){if(1&e&&(Kj(yge,5),Kj(bge,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.navContainer=n.first),Jj(n=Xj())&&(t.tabElements=n)}},hostBindings:function(e,t){1&e&&jj("resize",function(e){return t.onResize(e)},uA)},inputs:{productCategorie:"productCategorie",path:"path",disclaimer:"disclaimer",ctaText:"ctaText",legalInfo:"legalInfo",legalInfoLink:"legalInfoLink",contactForm:"contactForm",bankname:"bankname"},standalone:!1,decls:8,vars:6,consts:[["navContainer",""],["tabElements",""],[3,"marketingName","description","tabsActive","disclaimer","ctaText","settings","contactForm","bankname","id","productCategorie"],[1,"credit-calculator-footer"],[1,"result-chart-disclaimer"],[1,"result-chart-disclaimer-content","d-flex","rte"],[1,"flex-grow-0","text-nowrap",3,"href","label"],[1,"flex-grow-1","rte",3,"innerHTML"],[1,"credit-tab-wrapper",3,"no-arrows"],[1,"credit-tab-wrapper"],["type","button","role","button",1,"tab-arrow-prev","tab-nav-arrows",3,"click"],["aria-hidden","true",1,"icon","icon-paging_arrow_left"],[1,"visually-hidden"],[1,"tab-arrow-prev","tab-nav-arrows"],[1,"component-tab"],["role","tablist",1,"nav","nav-tabs"],["role","presentation",1,"nav-item"],["type","button","role","button",1,"tab-arrow-next","tab-nav-arrows",3,"click"],["aria-hidden","true",1,"icon","icon-paging_arrow_right"],[1,"tab-arrow-next","tab-nav-arrows"],["href","javascript:void(0)","role","tab",1,"nav-link","d-flex","flex-column","text-start",3,"click","keydown","focusin","i
1d","tabIndex"],[1,"ellipsis",3,"innerText","title"],[1,"two-line-ellipsis",3,"innerText","title"]],template:function(e,t){1&e&&(HV(0,xge,1,1),HV(1,kge,1,12,"credit-calculator",2),r$(2,"div",3)(3,"div",4)(4,"div",5),HV(5,Cge,1,2,"rwm-overlay-link",6),o$(6,"div",7),nU(7,"translate"),s$()()()),2&e&&(UV(t.products?0:-1),$A(),UV(t.calcOptions&&!t.loading?1:-1),$A(4),UV(t.legalInfoLink?5:-1),$A(),n$("innerHTML",t.disclaimer?t.disclaimer:iU(7,4,"KR_DISCLAIMER_CONTENT"),WI))},dependencies:[Ple,vge,t2],encapsulation:2}),e}(),Mge=function(){function e(e){this.injector=e;var t=T2(Dge,{injector:e});customElements.define("credit-calculator-component",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e,bootstrap:[Dge]}),e.ɵinj=Lv({imports:[RX,_Q,p0,C5,S5,T5,hoe,Pce,Lce,V5,Nce,Xie,vte]}),e}(),Oge=function(){function e(e){this.http=e}return e.prototype.getData=function(e,t,n,i,r){return this.http.post(j5.KT+j5.vZ.calculatorSavings,{seedFund:e,periodicInstalment:t,rate:n,maturity:i,savingTarget:r}).pipe(Ox(function(e){return e}))},e.prototype.convertToNumber=function(e){return null==e||""===e?0:parseInt(e)},e.prototype.convertToDate=function(e){return Z5()(e,"DD.MM.YYYY").format("YYYY-MM-DD")},e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),Pge=new(function(){function e(){}return e.prototype.getModel=function(){return{steps:{initialDeposit:100,interestRate:.001,monthlySavings:.01,duration:1,savingsGoal:1,interestEarned:1,capitalGainsTax:1,totalSavings:1},creditTermAemDefault:360,currency:"EUR",close:"CLOSE"}},e}());function Lge(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj();$A(),JH(n.content)}}function Nge(e,t){if(1&e&&(r$(0,"div",17),o$(1,"span",21),r$(2,"span",22),o$(3,"span",23),VH(4),nU(5,"number"),nU(6,"translate"),s$()()),2&e){var n=qj(2);$A(),n$("translate","SR_RESULT_TOTAL_SAVINGS"),$A(3),QH(" ",sU(5,3,n.totalSavings,"1.0-0","de")," ",iU(6,7,"CURRENCY_CODE")," ")}}function Rge(e,t){if(1&e&&(HV(0,Nge,7,9,"div",17),r$(1,"rwm-accordion",18)(2,"div",19)(3,"div",20)(4,"span"),VH(5),nU(6,"translate"),s$(),r$(7,"span"),VH(8),nU(9,"number"),nU(10,"translate"),s$()(),r$(11,"div",20)(12,"span"),VH(13),nU(14,"translate"),s$(),r$(15,"span"),VH(16),nU(17,"number"),nU(18,"translate"),s$()(),r$(19,"div",20)(20,"span"),VH(21),nU(22,"translate"),s$(),r$(23,"span"),VH(24),nU(25,"number"),nU(26,"translate"),s$()(),r$(27,"div",20)(28,"span"),VH(29),nU(30,"translate"),s$(),r$(31,"span"),VH(32),nU(33,"number"),nU(34,"translate"),s$()()()()),2&e){var n=qj();UV(n.result?0:-1),$A(),n$("id",n.getUId("result"))("unfolded",!0)("headline","SR_RESULT_HEADER"),$A(4),JH(iU(6,16,"SR_RESULT_INITIAL_DEPOSIT")),$A(3),QH("",sU(9,18,n.initialDeposit,"1.0-0","de")," ",iU(10,22,"CURRENCY_CODE")),$A(5),JH(iU(14,24,"SR_RESULT_MONTHLY_SAVINGS_ACCUMULATED")),$A(3),QH("",sU(17,26,n.monthlySavingsAccumulated,"1.0-0","de")," ",iU(18,30,"CURRENCY_CODE")),$A(5),JH(iU(22,32,"SR_RESULT_INTEREST_EARNED")),$A(3),QH("",sU(25,34,n.interestEarned,"1.0-0","de")," ",iU(26,38,"CURRENCY_CODE")),$A(5),JH(iU(30,40,"SR_RESULT_CAPITAL_GAINS_TAX")),$A(3),QH("",sU(33,42,n.capitalGainsTax,"1.0-0","de")," ",iU(34,46,"CURRENCY_CODE"))}}function Bge(e,t){if(1&e&&(r$(0,"div",11),o$(1,"rwm-overlay-cta",24),s$()),2&e){var n=qj();$A(),n$("label",n.overlayCtaBtn)("url",n.contactForm)("prefillType","prefillTextArea")("resultsSummary",n.overlayResult)("inConditionalStatement",!0)("loading",!n.overlayResult)}}function Fge(e,t){1&e&&(r$(0,"div",25)(1,"h3",26),VH(2),nU(3,"translate"),s$()()),2&e&&($A(2),JH(iU(3,1,"BANKSEARCH_ERROR_MESSAGE")))}function Vge(e,t){if(1&e&&(r$(0,"div",12),HV(1,Fge,4,3,"div",25),r$(2,"div",25)(3,"p",26),VH(4),s$()()()),2&e){var n=qj();$A(),UV(n.requestError?1:-1),$A(3),JH(n.calculationError)}}var $ge=function(){function e(e,t,n,i){this.translate=e,this.df=t,this.scService=n,this.decimalPipe=i,this.uid=E5.A.uidGenerator(),this.scContent=Pge.getModel(),this.ariaHiddenRate=!0,this.ariaHiddenGoal=!0,this.ariaHiddenDeposit=!0,this.overlayCtaBtn="PVR_MAKE_APPOINTMENT"}return e.prototype.ngOnInit=function(){this.initialDeposit=this.initialDepositMin,this.monthlySavings=this.monthlySavingsMin,this.interestRate=this.interestRateMin,this.duration=this.durationMax,this.savingsGoal=this.savingsGoalMin,this.initialDepositMinDefaultValue=this.initialDepositMin,this.savingsGoalMinDefaultValue=this.savingsGoalMin,this.savingsGoalMaxDefaultValue=this.savingsGoalMax,this.monthlySavingsMinDefaultValue=this.monthlySavingsMin,this.monthlySavingsMaxDefaultValue=this.monthlySavingsMax;
1var e={seedFund:this.initialDepositMin,savingTarget:0,periodicInstalment:this.monthlySavingsMin,totalContinuousSaveAmount:0,interestYield:0,interestYieldKest:0,amountPaid:0};this.assignValues(e),this.getToken()},e.prototype.getToken=function(){var e=this;W5.r.getObservableToken().pipe(FQ(function(e){return null!=e})).subscribe(function(){e.monthlySavings>0&&e.sendToCalculate(!1)})},e.prototype.getUId=function(e){return e+"-"+this.uid},e.prototype.getStep=function(e){return this.scContent.steps[e]},e.prototype.recalculateRateDeposit=function(e){e<this.initialDeposit?this.ariaHiddenDeposit=!1:this.ariaHiddenRate=!1,this.sendToCalculate(!0)},e.prototype.getRecalculatedRateDeposit=function(e){var t=this;setTimeout(function(){t.ariaHiddenRate=!0,t.ariaHiddenDeposit=!0},500)},e.prototype.recalculateGoal=function(e){this.ariaHiddenGoal=!1,this.sendToCalculate(!1)},e.prototype.getRecalculatedGoal=function(e){var t=this;setTimeout(function(){t.ariaHiddenGoal=!0},500)},e.prototype.sendToCalculate=function(e){var t=this;this.requestError=!1,this.overlayResult=null,this.scService.getData(this.initialDeposit,e?null:this.monthlySavings,this.interestRate,this.duration,e?this.savingsGoal:null).subscribe(function(e){t.result=e,t.assignValues(e),t.setLimits(e),t.prepDataForAppointment(e)},function(e){e.error&&(t.calculationError=e.error.message),t.requestError=!0,t.result=null},function(){return t.updateModel()})},e.prototype.assignValues=function(e){this.initialDeposit=e.seedFund,this.savingsGoal=e.savingTarget,this.monthlySavings=e.periodicInstalment,this.monthlySavingsAccumulated=e.totalContinuousSaveAmount,this.interestEarned=e.interestYield,this.capitalGainsTax=e.interestYieldKest,this.totalSavings=e.amountPaid},e.prototype.updateModel=function(){var e=this;setTimeout(function(){e.df.detectChanges()},200)},e.prototype.setLimits=function(e){this.monthlySavingsMax=this.setLimit(e.periodicInstalment,this.monthlySavingsMaxDefaultValue,">"),this.savingsGoalMax=this.setLimit(e.savingTarget,this.savingsGoalMaxDefaultValue,">"),this.monthlySavingsMin=this.setLimit(e.periodicInstalment,this.monthlySavingsMinDefaultValue,"<"),this.savingsGoalMin=this.setLimit(e.savingTarget,this.savingsGoalMinDefaultValue,"<")},e.prototype.setLimit=function(e,t,n){return"<"===n?e<t?e:t:e>t?e:t},e.prototype.prepDataForAppointment=function(e){var t=this.scContent.currency,n=this.translate.instant("MONTHS"),i=[{element:".calculation_result",value:{info:"".concat(this.translate.instant("SR_ADVICE_TEXT")),initialDeposit:"".concat(this.translate.instant("SR_RESULT_INITIAL_DEPOSIT"),": ").concat(this.decimalPipe.transform(e.seedFund,"1.0-0","de")," ").concat(t),interestRate:"".concat(this.translate.instant("SR_INTEREST_RATE"),": ").concat(this.decimalPipe.transform(this.interestRate,"1.3-3","de")," %"),monthlySavings:"".concat(this.translate.instant("SR_RESULT_MONTHLY_SAVINGS"),": ").concat(this.decimalPipe.transform(this.monthlySavings,"1.2-2","de")," ").concat(t),duration:"".concat(this.translate.instant("SR_DURATION"),": ").concat(this.decimalPipe.transform(this.duration,"1.0-0","de")," ").concat(n),savingsGoal:"".concat(this.translate.instant("SR_SAVINGS_GOAL"),": ").concat(this.decimalPipe.transform(e.savingTarget,"1.0-0","de")," ").concat(t),monthlySavingsAccumulated:"".concat(this.translate.instant("SR_RESULT_MONTHLY_SAVINGS_ACCUMULATED"),": ").concat(this.decimalPipe.transform(e.totalContinuousSaveAmount,"1.0-0","de")," ").concat(t),interestEarned:"".concat(this.translate.instant("SR_RESULT_INTEREST_EARNED"),": ").concat(this.decimalPipe.transform(e.interestYield,"1.0-0","de")," ").concat(t),capitalGainsTax:"".concat(this.translate.instant("SR_RESULT_CAPITAL_GAINS_TAX"),": ").concat(this.decimalPipe.transform(e.interestYieldKest,"1.0-0","de")," ").concat(t),totalSavings:"".concat(this.translate.instant("SR_RESULT_TOTAL_SAVINGS"),": ").concat(this.decimalPipe.transform(e.amountPaid,"1.0-0","de")," ").concat(t)}}];this.overlayResult=[JSON.stringify(i)]},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(uZ),qP(Oge),qP(AX))},e.ɵcmp=DN({type:e,selectors:[["savings-calculator"]],inputs:{header:"header",content:"content",ctaText:"ctaText",initialDepositMin:"initialDepositMin",initialDepositMax:"initialDepositMax",interestRateMin:"interestRateMin",interestRateMax:"interestRateMax",monthlySavingsMin:"monthlySavingsMin",monthlySavingsMax:"monthlySavingsMax",durationMin:"durationMin",durationMax:"durationMax",savingsGoalMin:"savingsGoalMin",savingsGoalMax:"savingsGoalMax",legalInfo:"legalInfo",legalInfoLink:"legalInfoLink",contactForm:"contactForm"},standalone:!1,decls:37,vars:93,consts:[[1,"savings-calculator-header"],[1,"form-container"],[1,"savings-calculator-form"],[1,"container-content"],[1,"content-wrapper"],["name","initialDeposit",3,"valueChange","gotValueChange","id","label","required","showMin","step","min","max","decimalPlaces","units","value"],["aria-live","polite",1,"live-region","visually-hidden",3,"innerText"],["name","monthlySavings",3,"valueChange","gotValueChange","id","label","required","showMin","step","min","max","decimalPlaces","units","value"],["name","interestRate",3,"valueChange","id","label","required","showMin","step","min","max","decimalPlaces","units","value"],["name","duration",3,"valueChange","id","label","required","showMin","step","min","max","decimalPlaces","units","value"],["name","savingsGoal",3,"valueChange","gotValueChange","id","label","required","showMin","step","min","max","decimalPlaces","units","value"],[1,"cta-wrapper-content-box"],[1,"savings-calculator-request-error-msgs"],[1,"savings-calculator-footer"],[1,"result-chart-disclaimer"],[1,"result-chart-disclaimer-content"],[3,"href","label"],["aria-live","polite",1,"savings-calculator-summary"],[3,"id","unfolded","headline"],["body","",1,"savings-calculator-result-list"],[1,"item"],[1,"summary-label",3,"translate"],[1,"summary","text-nowrap"],["aria-hidden","true",1,"icon-depot"],[3,"label","url","prefillType","resultsSummary","inConditionalStatement","loading"],[1,"mt-2"],[1,"text-center"]],template:function(e,t){1&e&&(r$(0,"div",0)(1,"h2"),VH(2),s$(),HV(3,Lge,2,1,"p"),s$(),r$(4,"div",1)(5,"form",2)(6,"div",3)(7,"div",4)(8,"rwm-input-slider",5),nU(9,"translate"),uz("valueChange",function(e){return cz(t.initialDeposit,e)||(t.initialDeposit=e),e}),jj("valueChange",function(e){return t.recalculateGoal(e)})("gotValueChange",function(e){return t.getRecalculatedRateDeposit(e)}),s$(),o$(10,"div",6),nU(11,"translate"),nU(12,"translate"),r$(13,"rwm-input-slider",7),nU(14,"translate"),uz("valueChange",function(e){return cz(t.monthlySavings,e)||(t.monthlySavings=e),e}),jj("valueChange",function(e){return t.recalculateGoal(e)})("gotValueChange",function(e){return t.getRecalculatedRateDeposit(e)}),s$(),o$(15,"div",6),nU(16,"translate"),nU(17,"translate"),r$(18,"rwm-input-slider",8),nU(19,"translate"),uz("valueChange",function(e){return cz(t.interestRate,e)||(t.interestRate=e),e}),jj("valueChange",function(e){return t.recalculateGoal(e)}),s$(),r$(20,"rwm-input-slider",9),nU(21,"translate"),uz("valueChange",function(e){return cz(t.duration,e)||(t.duration=e),e}),jj("valueChange",function(e){return t.recalculateGoal(e)}),s$(),r$(22,"rwm-input-slider",10),nU(23,"translate"),uz("valueChange",function(e){return cz(t.savingsGoal,e)||(t.savingsGoal=e),e}),jj("valueChange",function(e){return t.recalculateRateDeposit(e)})("gotValueChange",function(e){return t.getRecalculatedGoal(e)}),s$(),o$(24,"div",6),nU(25,"translate"),nU(26,"translate"),HV(27,Rge,35,48),s$()(),HV(28,Bge,2,6,"div",11),s$
1()(),HV(29,Vge,5,2,"div",12),r$(30,"div",13)(31,"div",14)(32,"div",15)(33,"div",11),o$(34,"rwm-overlay-link",16),VH(35),nU(36,"translate"),s$()()()()),2&e&&($A(2),JH(t.header),$A(),UV(t.content?3:-1),$A(5),n$("id",gz(t.getUId("initialDeposit")))("label",iU(9,69,"SR_INITIAL_DEPOSIT"))("required",!0)("showMin",!0)("step",t.getStep("initialDeposit"))("min",t.initialDepositMin)("max",t.initialDepositMax)("decimalPlaces",0)("units","CURRENCY_CODE"),lz("value",t.initialDeposit),$A(2),n$("innerText",iU(11,71,"SR_INITIAL_DEPOSIT")+" "+t.initialDeposit+" "+iU(12,73,"CURRENCY_CODE")),sV("aria-hidden",t.ariaHiddenDeposit),$A(3),n$("id",gz(t.getUId("monthlySavings")))("label",iU(14,75,"SR_MONTHLY_SAVINGS"))("required",!0)("showMin",!0)("step",t.getStep("monthlySavings"))("min",t.monthlySavingsMin)("max",t.monthlySavingsMax)("decimalPlaces",2)("units","CURRENCY_CODE"),lz("value",t.monthlySavings),$A(2),n$("innerText",iU(16,77,"SR_MONTHLY_SAVINGS")+" "+t.monthlySavings+" "+iU(17,79,"CURRENCY_CODE")),sV("aria-hidden",t.ariaHiddenRate),$A(3),n$("id",gz(t.getUId("interestRate")))("label",iU(19,81,"SR_INTEREST_RATE"))("required",!0)("showMin",!0)("step",t.getStep("interestRate"))("min",t.interestRateMin)("max",t.interestRateMax)("decimalPlaces",3)("units","PERCENT"),lz("value",t.interestRate),$A(2),n$("id",gz(t.getUId("duration")))("label",iU(21,83,"SR_DURATION"))("required",!0)("showMin",!0)("step",t.getStep("duration"))("min",t.durationMin)("max",t.durationMax)("decimalPlaces",0)("units","MONTHS"),lz("value",t.duration),$A(2),n$("id",gz(t.getUId("savingsGoal")))("label",iU(23,85,"SR_SAVINGS_GOAL"))("required",!0)("showMin",!0)("step",t.getStep("savingsGoal"))("min",t.savingsGoalMin)("max",t.savingsGoalMax)("decimalPlaces",0)("units","CURRENCY_CODE"),lz("value",t.savingsGoal),$A(2),n$("innerText",iU(25,87,"SR_SAVINGS_GOAL")+" "+t.savingsGoal+" "+iU(26,89,"CURRENCY_CODE")),sV("aria-hidden",t.ariaHiddenGoal),$A(3),UV(t.requestError?-1:27),$A(),UV(t.contactForm&&t.totalSavings>0?28:-1),$A(),UV(t.requestError?29:-1),$A(5),n$("href",t.legalInfoLink)("label",t.legalInfo),$A(),XH(" ",iU(36,91,"SR_DISCLAIMER_CONTENT")," "))},dependencies:[x4,k3,h4,e2,ble,Sle,Ple,_se,AX,t2],encapsulation:2}),e}(),jge=function(){function e(e){this.injector=e;var t=T2($ge,{injector:e});customElements.define("savings-calculator-component",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e,bootstrap:[$ge]}),e.ɵinj=Lv({imports:[RX,_Q,p0,C5,S5,T5,Pce,Lce,V5,Nce,Xie,vte]}),e}(),Hge=function(){function e(e,t){var n=this;this.http=e,this.translate=t,this.labelMap={language:this.translate.instant("EMPLOYEE_DROPDOWN_FILTER_LANGUAGE"),category:this.translate.instant("EMPLOYEE_DROPDOWN_FILTER_CATEGORY")},this.defaultOptionMap={language:this.translate.instant("EMPLOYEE_DROPDOWN_FILTER_ALL_LANGUAGES"),category:this.translate.instant("EMPLOYEE_DROPDOWN_FILTER_ALL_CATEGORIES")},this.fetchEventData=function(e,t,i,r,s){s=n.stringToObj(s),r=n.stringToObj(r);var o=n.parseEventPreFilters(s),a={type:"EventSuche",offset:t+1,size:e,query:i.q?i.q:null,tagFilters:i.tagFilters?i.tagFilters:null,from:i.date?i.date.from:null,to:i.date?i.date.to:null},l=n.spreadFilterParams(a,o);return n.http.post(j5.KT+j5.vZ.events,l).pipe(Ox(function(e){return{type:"event",items:e.documents,filters:n.transformStaticFilters(r,i),totalSize:e.size||0,showSize:!0}}))},this.fetchEmployeeData=function(e,t,i,r){var s={};null!=i&&(s.offset=i+1),null!=t&&(s.size=t),null!=r.q&&(s.query=r.q);var o=n.spreadFilterParams(s,r);return n.http.get(e,{params:o}).pipe(Ox(function(e){return{type:"employee",items:e.listItems,filters:n.transformEmployeeDropdownFilter(e.filter,r),totalSize:e.listItems.length,showSize:!0}}))},this.fetchData=function(e){return n.http.get(e).pipe(Ox(function(e){return{type:"page",filters:[],items:e.listItems,totalSize:e.listItems.length,showSize:!1}}))},this.stringToObj=function(e){return JSON.parse(e)},this.spreadFilterParams=function(e,t){var n=function(n){if("q"!==n)if(Array.isArray(e[n])&&Array.isArray(t[n])){var i=(0,$g.fX)([],(0,$g.zs)(e[n]),!1);t[n].forEach(function(e){i.includes(e)||i.push(e)}),e[n]=i}else e[n]=t[n]};for(var i in t)n(i);return e},this.parseEventPreFilters=function(e){var t=X5.o4.atob(e.pathFilters),n=e.tagFilters;return{timeFilter:e.timeFilter,tagFilters:n.length?n.split(","):[],pathFilters:t.length?t.split(","):[]}},this.transformStaticFilters=function(e,t){var i=[];for(var r in e)if(e[r])switch(r){case"date":i.push({type:"date",id:"date-list-filter",name:"date",label:"Datum",value:t.date});break;case"tags":i.push.apply(i,(0,$g.fX)([],(0,$g.zs)(n.transformTagFilter(e[r],t)),!1));break;default:console.error('No matching filter type "'+r+'"')}return i},this.transformTagFilter=function(e,t){var i=[];
1return e.tags&&e.tags.forEach(function(e){i.push({type:"tag",id:"dropdown-".concat(e.title.toLowerCase(),"-filter"),name:"tagFilters",isArray:!0,label:e.title,value:n.getTagFilterValue(e,t),options:e.children.map(function(e){return{name:e.path,label:e.title}})})}),i},this.getTagFilterValue=function(e,t){var n=null;return t&&t.tagFilters&&(n=t.tagFilters.find(function(t){return e.children.some(function(e){return e.path===t})})),n},this.transformEmployeeDropdownFilter=function(e,t){var i=[];return n.getObjectKeys(e).forEach(function(r){i.push({type:"dropdown",id:"dropdown-".concat(r.toLowerCase(),"-filter"),name:r.toLowerCase(),label:n.labelMap[r],longLabel:n.defaultOptionMap[r],value:t[r.toLowerCase()]||null,options:e[r]})}),i},this.getObjectKeys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}}return e.ɵfac=function(t){return new(t||e)(Iy(k1),Iy(Q0))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}();function zge(e,t){if(1&e&&o$(0,"source",0),2&e){var n=qj();n$("media",vz("(min-width: ",n.lg,"px)"))("srcset",yz("",n.image.lg.res1x," 1x, ",n.image.lg.res2x," 2x"))}}function Uge(e,t){if(1&e&&o$(0,"source",0),2&e){var n=qj();n$("media",vz("(min-width: 768px) and (max-width: ",n.lg-1,"px)"))("srcset",yz("",n.image.md.res1x," 1x, ",n.image.md.res2x," 2x"))}}function qge(e,t){if(1&e&&o$(0,"source",1),2&e){var n=qj();n$("srcset",yz("",n.image.sm.res1x," 1x, ",n.image.sm.res2x," 2x"))}}function Wge(e,t){if(1&e&&o$(0,"img",2),2&e){var n=qj();n$("srcset",yz("",n.image.xs.res1x," 1x, ",n.image.xs.res2x," 2x"))("alt",gz(n.image.alt))}}function Gge(e,t){if(1&e&&(r$(0,"div",3)(1,"span",4),VH(2),s$()()),2&e){var n=qj();$A(2),JH(n.image.copyright)}}o(9599);var Zge=function(){function e(){this.hideCopyright=!1,this.lg=1220}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["rwm-picture"]],inputs:{image:"image",hideCopyright:"hideCopyright",lg:"lg"},standalone:!1,decls:6,vars:5,consts:[[3,"media","srcset"],["media","(min-width: 576px) and (max-width: 767px)",3,"srcset"],["src","data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==","height","auto","width","100%",3,"srcset","alt"],[1,"image-overlay"],[1,"image-copyright"]],template:function(e,t){1&e&&(r$(0,"picture"),HV(1,zge,1,5,"source",0),HV(2,Uge,1,5,"source",0),HV(3,qge,1,3,"source",1),HV(4,Wge,1,5,"img",2),s$(),HV(5,Gge,3,1,"div",3)),2&e&&($A(),UV(t.image.lg?1:-1),$A(),UV(t.image.md?2:-1),$A(),UV(t.image.sm?3:-1),$A(),UV(t.image.md?4:-1),$A(),UV(!t.hideCopyright&&t.image.copyright?5:-1))},encapsulation:2}),e}(),Yge=function(){function e(){}return e.prototype.transform=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"isEmptyObjectFilter",type:e,pure:!0,standalone:!1}),e}(),Kge=function(e){return{"type-event":e}},Jge=function(e){return{"d-md-inline":e}};function Xge(e,t){if(1&e&&(r$(0,"a",3),o$(1,"rwm-picture",10),s$()),2&e){var n=qj();n$("href",n.item.cta.href,ZI)("target",n.item.cta.target)("rel","_blank"===n.item.cta.target?"noopener noreferrer":""),$A(),n$("image",n.item.teaserImage)}}function Qge(e,t){if(1&e&&(r$(0,"div",5)(1,"a",11)(2,"h3"),VH(3),s$()()()),2&e){var n=qj();$A(),n$("target",gz(n.item.cta.target))("rel",gz("_blank"===n.item.cta.target?"noopener noreferrer":""))("href",n.item.cta.href,ZI),$A(2),JH(n.item.title)}}function eve(e,t){if(1&e&&(r$(0,"span",12),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.item.date.from)}}function tve(e,t){if(1&e&&(r$(0,"span",13),VH(1),s$()),2&e){var n=qj(2);$A(),QH("",n.item.time.from,"",n.item.time.to?" - "+n.item.time.to:"")}}function nve(e,t){if(1&e&&(r$(0,"span",12)(1,"span"),VH(2),s$(),r$(3,"span",14),VH(4),s$()()),2&e){var n=qj(2);$A(2),ez("",n.item.date.from,"",n.item.time.from?", "+n.item.time.from:"","",n.item.date.to?" - ":""),$A(),n$("ngClass",jz(6,Jge,!n.item.time.to||!n.item.time.to)),$A(),QH("",n.item.date.to?n.item.date.to:"","",n.item.time.to?", "+n.item.time.to:"")}}function ive(e,t){if(1&e&&(r$(0,"div",6),HV(1,eve,2,1,"span",12),HV(2,tve,2,2,"span",13),HV(3,nve,5,8,"span",12),s$()),2&e){var n=qj();$A(),UV(n.item.date.to!==n.item.date.from&&n.item.date.to?-1:1),$A(),UV(n.item.date.from!==n.item.date.to&&n.item.date.to||!n.item.time.from?-1:2),$A(),UV(n.item.date.to!==n.item.date.from&&n.item.date.to?3:-1)}}function rve(e,t){if(1&e&&(r$(0,"span",7),VH(1),s$()),2&e){var n=qj();$A(),JH(n.item.place)}}function sve(e,t){if(1&e&&(r$(0,"a",9),VH(1),s$()),2&e){var n=qj();n$("href",n.item.cta.href,ZI)("target",n.item.cta.target)("rel","_blank"===n.item.cta.target?"noopener noreferrer":""),$A
1(),JH(n.item.cta.text)}}var ove=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["eventTeaser"]],inputs:{item:"item"},standalone:!1,decls:11,vars:10,consts:[[1,"result-item",3,"ngClass"],[1,"content-wrapper"],[1,"component-image"],[1,"image-wrapper",3,"href","target","rel"],[1,"text-wrapper"],[1,"headline-wrapper"],[1,"date-time-wrapper"],[1,"place","icon-map"],[1,"cta-wrapper"],[1,"btn","btn-primary","cta",3,"href","target","rel"],[3,"image"],[3,"href","target","rel"],[1,"date","icon-calendar"],["ng-class","{'full-width' : item.time.to}",1,"time","icon-clock"],[1,"d-block",3,"ngClass"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1)(2,"figure",2),HV(3,Xge,2,4,"a",3),nU(4,"isEmptyObjectFilter"),s$(),r$(5,"div",4),HV(6,Qge,4,6,"div",5),HV(7,ive,4,3,"div",6),HV(8,rve,2,1,"span",7),s$(),r$(9,"div",8),HV(10,sve,2,4,"a",9),s$()()()),2&e&&(n$("ngClass",jz(8,Kge,"event"===t.item.type)),$A(3),UV(t.item.teaserImage&&!iU(4,6,t.item.teaserImage)?3:-1),$A(3),UV(t.item.title?6:-1),$A(),UV(t.item.date||t.item.time?7:-1),$A(),UV(t.item.place?8:-1),$A(2),UV(t.item.cta?10:-1))},dependencies:[GJ,Zge,Yge],encapsulation:2}),e}();function ave(e,t){if(1&e&&(r$(0,"div",3),o$(1,"rwm-picture",17),s$()),2&e){var n=qj();$A(),n$("image",n.item.teaserImage)("hideCopyright",n.item.copyrightBox)}}function lve(e,t){1&e&&(r$(0,"div",4)(1,"picture"),o$(2,"img",18),nU(3,"translate"),s$()()),2&e&&($A(2),n$("alt",gz(iU(3,2,"NO_IMAGE"))))}function cve(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.item.businessField)}}function uve(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.item.specialisation)}}function dve(e,t){if(1&e&&(r$(0,"span",19),VH(1),s$()),2&e){var n=t.$implicit,i=t.$index,r=t.$count;$A(),QH("",n,"",i===r-1?"":", ")}}function hve(e,t){if(1&e&&(r$(0,"span"),YV(1,dve,2,2,"span",19,GV),s$()),2&e){var n=qj(2);$A(),XV(n.item.languages)}}function pve(e,t){if(1&e&&(r$(0,"div",13),HV(1,cve,2,1,"span"),nU(2,"isEmptyObjectFilter"),HV(3,uve,2,1,"span"),nU(4,"isEmptyObjectFilter"),HV(5,hve,3,0,"span"),s$()),2&e){var n=qj();$A(),UV("true"!==n.visibleFunction||iU(2,3,n.item.businessField)?-1:1),$A(2),UV("true"!==n.visibleSpecialization||iU(4,5,n.item.specialisation)?-1:3),$A(2),UV(0!=n.item.languages.length?5:-1)}}function fve(e,t){if(1&e&&(r$(0,"div",20)(1,"a",21),nU(2,"translate"),o$(3,"span",22),VH(4),s$()()),2&e){var n=qj(2);$A(),n$("href",vz("tel:",n.item.phone),ZI),sV("aria-label",iU(2,4,"PHONENUMBER")+": "+n.item.phone),$A(3),XH("",n.item.phone," ")}}function mve(e,t){if(1&e&&(r$(0,"div",20)(1,"a",21),nU(2,"translate"),o$(3,"span",23),VH(4),s$()()),2&e){var n=qj(2);$A(),n$("href",vz("tel:",n.item.mobile),ZI),sV("aria-label",iU(2,4,"MOBILE")+": "+n.item.mobile),$A(3),XH("",n.item.mobile," ")}}function gve(e,t){if(1&e&&(r$(0,"div",15),HV(1,fve,5,6,"div",20),HV(2,mve,5,6,"div",20),s$()),2&e){var n=qj();$A(),UV(n.item.phone?1:-1),$A(),UV("true"===n.visibleMobileNumber&&n.item.mobile?2:-1)}}function vve(e,t){if(1&e&&o$(0,"span",30),2&e){var n=qj(3);n$("innerHTML",n.getAddressParts(n.item.subsidiaryAddress),WI)}}function yve(e,t){if(1&e&&(r$(0,"div",24)(1,"span",25),o$(2,"span",26),r$(3,"span",27),VH(4),nU(5,"translate"),s$(),o$(6,"span",28),r$(7,"span",29)(8,"span",11),VH(9),s$(),HV(10,vve,1,1,"span",30),s$()()()),2&e){var n=qj(2);$A(4),JH(iU(5,4,"EMPLOYEE_LOCATION")),$A(2),n$("innerHTML",n.getLocationText(n.item.location.text,n.item.location.subsidiary),WI),$A(3),JH(n.item.location.subsidiary),$A(),UV("null, null null"!==n.item.subsidiaryAddress?10:-1)}}function bve(e,t){1&e&&HV(0,yve,11,6,"div",24),2&e&&UV(qj().item.location.text?0:-1)}function wve(e,t){if(1&e&&(r$(0,"div",32)(1,"a",33),o$(2,"span",34),VH(3),nU(4,"translate"),s$()()),2&e){var n=qj(2);$A(),n$("href",vz("mailto:",n.item.email),ZI),$A(2),XH("",iU(4,3,"EMAIL")," ")}}function _ve(e,t){if(1&e&&(r$(0,"div",32),o$(1,"rwm-overlay-link",35),s$()),2&e){var n=qj().$implicit,i=qj(2);$A(),n$("label",n.text)("href",n.href)("target",n.target)("prefillType","prefill")("iconClass",n.iconClass?n.iconClass:"icon-paging_arrow_right")("resultsSummary",i.str
1ingify(n.formPrefillValues))("inConditionalStatement",!0)}}function xve(e,t){if(1&e&&HV(0,_ve,2,7,"div",32),2&e){var n=t.$implicit;UV(n.text&&n.href?0:-1)}}function kve(e,t){if(1&e&&(r$(0,"div",16)(1,"div",31),HV(2,wve,5,5,"div",32),YV(3,xve,1,1,null,null,GV),s$()()),2&e){var n=qj();$A(2),UV(n.item.email?2:-1),$A(),XV(n.item.links)}}var Cve=function(){function e(e){this.translate=e,this.visibleFunction=j5.cr.employeeFunctionDisplayed,this.visibleSpecialization=j5.cr.employeeSpecializationDisplayed,this.visibleMobileNumber=j5.cr.employeeMobileNumberDisplayed,this.formOverlay=function(e){wle.Z.handleAction(e.currentTarget,e,void 0)}}return e.prototype.ngOnInit=function(){},e.prototype.isEmpty=function(e){return e?null:"no-content"},e.prototype.stringify=function(e){return JSON.stringify([e])},e.prototype.getLocationText=function(e,t){if(e&&t){var n=null==e?void 0:e.trim();return'<span itemprop="name">'.concat(n,"</span>, ")}return'<span itemprop="name">'.concat(e,"</span>")||0},e.prototype.getAddressParts=function(e){if(!e)return null;var t=(0,$g.zs)(e.split(","),2),n=t[0],i=t[1];if(!i)return'<span itemprop="streetAddress">'.concat(n,"</span>");var r=i.trim().split(" "),s=r.shift()||"",o=r.join(" ");return'<span itemprop="streetAddress">'.concat(n,'</span>, <span itemprop="postalCode">').concat(s,'</span> <span itemprop="addressLocality">').concat(o,"</span>")},e.prototype.getAbsoluteImageUrl=function(e){return"".concat(window.location.origin).concat(e)},e.ɵfac=function(t){return new(t||e)(qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["employeeTeaser"]],inputs:{item:"item",height:"height"},standalone:!1,decls:28,vars:26,consts:[["itemscope","","itemtype","https://schema.org/Person",1,"result-item","employee"],[1,"content-wrapper"],[1,"component-image"],[1,"image-wrapper","image"],[1,"image-wrapper","no-image"],["itemprop","image","itemscope","","itemtype","https://schema.org/ImageObject"],["itemprop","url",3,"content"],[1,"text-wrapper"],[1,"headline-wrapper"],[1,"name"],["itemprop","honorificPrefix"],["itemprop","name"],["itemprop","honorificSuffix"],["itemprop","jobTitle",1,"business-field"],[1,"contact-info"],[1,"link-wrapper","phone-wrapper"],[1,"separator-border"],[3,"image","hideCopyright"],["src","data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==","srcset","/apps/settings/wcm/designs/cms/clientlib-theme-main/images/default_employee.svg",3,"alt"],[1,"language"],["itemprop","telephone",1,"phone-number"],[1,"phone-number","text-link",3,"href"],["aria-hidden","true",1,"icon-phone"],["aria-hidden","true",1,"icon-smartphone"],["itemprop","worksFor","itemscope","","itemtype","https://schema.org/BankOrCreditUnion",1,"link-wrapper"],[1,"location"],["aria-hidden","true",1,"icon-map"],[1,"visually-hidden"],[3,"innerHTML"],["itemprop","department","itemscope","","itemtype","https://schema.org/Organization"],["itemprop","address","itemscope","","itemtype","https://schema.org/PostalAddress",1,"subsidiary",3,"innerHTML"],[1,"employee-links"],[1,"link-wrapper"],["itemprop","email",1,"text-link",3,"href"],["aria-hidden","true",1,"icon-message"],[3,"label","href","target","prefillType","iconClass","resultsSummary","inConditionalStatement"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1)(2,"figure",2),HV(3,ave,2,2,"div",3),nU(4,"isEmptyObjectFilter"),nU(5,"isEmptyObjectFilter"),HV(6,lve,4,4,"div",4),nU(7,"isEmptyObjectFilter"),nU(8,"isEmptyObjectFilter"),r$(9,"span",5),o$(10,"meta",6),nU(11,"isEmptyObjectFilter"),nU(12,"isEmptyObjectFilter"),s$()(),r$(13,"div",7)(14,"div",8)(15,"div",9)(16,"span",10),VH(17),s$(),r$(18,"span",11),VH(19),s$(),r$(20,"span",12),VH(21),s$()(),HV(22,pve,6,7,"div",13),s$(),r$(23,"div",14),HV(24,gve,3,2,"div",15),HV(25,bve,1,1),s$()(),HV(26,kve,5,1,"div",16),nU(27,"isEmptyObjectFilter"),s$()()),2&e&&($A(3),UV(!1===iU(4,12,t.item.teaserImage)&&!1===iU(5,14,t.item.teaserImage.lg)?3:-1),$A(3),UV(!0===iU(7,16,t.item.teaserImage)||!0===iU(8,18,t.item.teaserImage.lg)?6:-1),$A(4),n$("content",gz(!1===iU(11,20,t.item.teaserImage)&&!1===iU(12,22,t.item.teaserImage.lg)?t.getAbsoluteImageUrl(t.item.teaserImage.lg.res1x):t.getAbsoluteImageUrl("/apps/settings/wcm/designs/cms/clientlib-theme-main/images/default_employee.svg"))),$A(7),XH("",t.item.academicDegree," "),$A
1(2),QH("",t.item.firstname," ",t.item.lastname," "),$A(2),JH(t.item.masterDegree),$A(),UV(t.item.businessField||t.item.specialisation||0!=t.item.languages.length?22:-1),$A(2),UV(t.item.phone||t.item.mobile?24:-1),$A(),UV(t.item.location?25:-1),$A(),UV(!1===iU(27,24,t.item.links)||t.item.email?26:-1))},dependencies:[Ple,Zge,t2,Yge],encapsulation:2}),e}();function Sve(e,t){if(1&e&&(r$(0,"a",3),o$(1,"rwm-picture",9),s$()),2&e){var n=qj();n$("href",n.item.cta.href,ZI)("target",n.item.cta.target)("rel","_blank"===n.item.cta.target?"noopener noreferrer":""),$A(),n$("image",n.item.teaserImage)}}function Tve(e,t){if(1&e&&(r$(0,"div",5)(1,"a",10)(2,"h3"),VH(3),s$()()()),2&e){var n=qj();$A(),n$("target",gz(n.item.cta.target))("rel",gz("_blank"===n.item.cta.target?"noopener noreferrer":""))("href",n.item.cta.href,ZI),$A(2),JH(n.item.title)}}function Eve(e,t){1&e&&o$(0,"p",6),2&e&&n$("innerHTML",qj().item.text,WI)}function Ive(e,t){if(1&e&&(r$(0,"a",8),VH(1),s$()),2&e){var n=qj();n$("href",n.item.cta.href,ZI)("target",n.item.cta.target)("rel","_blank"===n.item.cta.target?"noopener noreferrer":""),$A(),JH(n.item.cta.text)}}var Ave=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["defaultTeaser"]],inputs:{item:"item"},standalone:!1,decls:10,vars:6,consts:[[1,"result-item"],[1,"content-wrapper"],[1,"component-image"],[1,"image-wrapper",3,"href","target","rel"],[1,"text-wrapper"],[1,"headline-wrapper"],[3,"innerHTML"],[1,"cta-wrapper"],[1,"btn","btn-primary","cta",3,"href","target","rel"],[3,"image"],[3,"href","target","rel"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1)(2,"figure",2),HV(3,Sve,2,4,"a",3),nU(4,"isEmptyObjectFilter"),s$(),r$(5,"div",4),HV(6,Tve,4,6,"div",5),HV(7,Eve,1,1,"p",6),s$(),r$(8,"div",7),HV(9,Ive,2,4,"a",8),s$()()()),2&e&&($A(3),UV(t.item.teaserImage&&!iU(4,4,t.item.teaserImage)?3:-1),$A(3),UV(t.item.title?6:-1),$A(),UV(t.item.text?7:-1),$A(2),UV(t.item.cta?9:-1))},dependencies:[Zge,Yge],encapsulation:2}),e}(),Dve=["loadComponent"];function Mve(e,t){}var Ove=function(){function e(e){this.resolver=e,this.components={EVENTS:ove,EMPLOYEE:Cve,DEFAULT:Ave}}return e.prototype.ngOnInit=function(){this.item=this.item.detail?this.item.detail:this.item;var e=this.item.type?this.item.type.toUpperCase():this.fallbackType;this.getMappedComponent(e,"EVENTS")},e.prototype.ngOnChanges=function(e){this.componentRef&&(this.componentRef.instance.height=e.height.currentValue)},e.prototype.getMappedComponent=function(e,t){var n="";return this.components[e]?(n=this.components[e],this.createComponent(n)):this.components[t]?(n=this.components[t],this.createComponent(n)):console.error('ListTemplateService: Listtype "'.concat(e,'" or "').concat(t,'" not mapped.')),n},e.prototype.createComponent=function(e){var t=this.resolver.resolveComponentFactory(e);this.componentRef=this.dynamicComponent.createComponent(t),this.componentRef.instance.item=this.item},e.prototype.destroyComponent=function(){this.componentRef.destroy()},e.ɵfac=function(t){return new(t||e)(qP(DP))},e.ɵcmp=DN({type:e,selectors:[["list-items"]],viewQuery:function(e,t){var n;(1&e&&Kj(Dve,7,AL),2&e)&&(Jj(n=Xj())&&(t.dynamicComponent=n.first))},hostAttrs:["collision-id","automatedTeaserComponent"],inputs:{item:"item",height:"height",fallbackType:"fallbackType"},standalone:!1,features:[ok],decls:2,vars:0,consts:[["loadComponent",""]],template:function(e,t){1&e&&oR(0,Mve,0,0,"ng-template",null,0,cU)},encapsulation:2}),e}(),Pve=o(4692),Lve=["dotsWrapper"],Nve=["slickSide"];function Rve(e,t){if(1&e&&(r$(0,"div",9,2),o$(2,"list-items",10),s$()),2&e){var n=t.$implicit,i=qj(2);$A(2),n$("item",n)("fallbackType",i.fallbackType)}}function Bve(e,t){if(1&e){var n=w$();r$(0,"ngx-slick-carousel",8,1),jj("afterChange",function(e){return a_(n),l_(qj().onAfterChange(e))})("breakpoint",function(e){return a_(n),l_(qj().breakpoint(e))})("init",function(e){return a_(n),l_(qj().breakpoint(e))}),YV(2,Rve,3,2,"div",9,GV),s$()}if(2&e){var i=qj();n$("config",i.slideConfig),$A(2),XV(i.listItems)}}function Fve(e,t){1&e&&o$(0,"div",11)}function Vve(e,t){1&e&&HV(0,Fve,1,0,"div",11),2&e&&UV(t.$implicit<=qj(2).columns?0:-1)}function $ve(e,t){if(1&e&&(r$(0,"div",6),YV(1,Vve,1,1,null,null,GV),s$()),2&e){var n=qj();$A(),XV(n.loadingArr)}}var jve=function(){function e(e,t,n,i){this.cd=e,this.AutomatedTeaserServices=t,this.translate=n,this.alertService=i,this.columns=4,this.errorId="automatedTeaser-"+E5.A.uidGenerator(),this.loading=!0,this.loadingArr=[1,2,3,4],this.currentParam
1s={},this.listItems=[],this.carousel=!0}return e.prototype.ngOnInit=function(){this.getToken()},e.prototype.getToken=function(){var e=this;W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.getData(e.type,e.requestUrl,e.itemsPerRequest,0,e.currentParams,e.staticFilters,e.preFilters)},function(t){e.errorMsg()})},e.prototype.setActiveDot=function(e){if(1==this.carousel){var t=e.slick.options.slidesToShow,n=e.currentSlide/t,i=this.dotsWrapper.nativeElement.children[0].children[n].children[0],r=this.dotsWrapper.nativeElement.children[0].children;"0"!==i.getAttribute("tabindex")&&(Array.from(r).forEach(function(e){var t=e.children[0];t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1")}),i.setAttribute("aria-selected","true"),i.setAttribute("tabindex","0"))}},e.prototype.onAfterChange=function(e){var t=this;setTimeout(function(){t.setActiveDot(e)},100)},e.prototype.onDotsKeydown=function(e){37!=e.keyCode&&39!=e.keyCode||Pve(this.dotsWrapper.nativeElement).find(".slick-active")[0].children[0].focus()},e.prototype.getData=function(e,t,n,i,r,s,o){var a=this;switch(e){case"event":this.AutomatedTeaserServices.fetchEventData(n,i,r,s,o).subscribe(function(e){a.initList(e)},function(){a.errorMsg()});break;case"mitarbeiter":this.AutomatedTeaserServices.fetchEmployeeData(t,n,i,r).subscribe(function(e){a.initList(e)},function(){a.errorMsg()});break;default:this.AutomatedTeaserServices.fetchData(t).subscribe(function(e){a.initList(e)},function(e){a.errorMsg()})}},e.prototype.initList=function(e){this.listItems=e.items,this.fallbackType=e.type,this.initSlickConfig(),this.loading=!1,this.cd.detectChanges(),this.setAriaAttributes()},e.prototype.setAriaAttributes=function(){1==this.carousel&&this.dotsWrapper.nativeElement.children[0].setAttribute("aria-label","Bedienungselemente"),this.slickSlide.forEach(function(e,t,n){var i=e.nativeElement.parentNode.parentNode;i.setAttribute("aria-roledescription","slide"),i.setAttribute("aria-label",t+1+" von "+n.length)})},e.prototype.initSlickConfig=function(){var e=this.dotsWrapper.nativeElement;console.log(this.columns),this.slideConfig={accessibility:!0,mobileFirst:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,adaptiveHeight:!0,infinite:!0,dots:!0,appendDots:e,variableWidth:!1,focusOnSelect:!0,arrows:!0,speed:250,centerPadding:"10px",prevArrow:'<button type="button" class="slick-prev" role="button"><span class="icon icon-paging_arrow_left" aria-hidden="true"></span><span class="visually-hidden">'+this.translate.instant("BUTTON_PREV")+"</span></button>",nextArrow:'<button type="button" class="slick-next" role="button"><span class="icon icon-paging_arrow_right" aria-hidden="true"></span><span class="visually-hidden">'+this.translate.instant("BUTTON_NEXT")+"</span></button>",responsive:[{breakpoint:1439,settings:{centerMode:!1,focusOnSelect:!1,arrows:!0,slidesToShow:this.columns<4?this.columns:4,slidesToScroll:this.columns<4?this.columns:4}},{breakpoint:1024,settings:{centerMode:!1,focusOnSelect:!1,slidesToShow:this.columns<3?this.columns:3,slidesToScroll:this.columns<3?this.columns:3}},{breakpoint:767,settings:{centerMode:!1,focusOnSelect:!1,slidesToShow:this.columns<2?this.columns:2,slidesToScroll:this.columns<2?this.columns:2}},{breakpoint:575,settings:{centerMode:!1,focusOnSelect:!1,centerPadding:"50px",adaptiveHeight:!1,slidesToShow:this.columns<2?this.columns:2,slidesToScroll:this.columns<2?this.columns:2}},{breakpoint:500,settings:{centerPadding:"30px"}},{breakpoint:450,settings:{centerPadding:"30px"}},{breakpoint:400,settings:{centerPadding:"30px"}},{breakpoint:350,settings:{centerPadding:"20px"}},{breakpoint:320}]}},e.prototype.setCarouselBoolean=function(e){e.slick.options.slidesToShow<e.slick.$slides.length?this.carousel=!0:this.carousel=!1},e.prototype.breakpoint=function(e){this.setCarouselBoolean(e),this.setAriaAttributes()},e.prototype.errorMsg=function(){this.alertService.clear(this.errorId),this.alertService.error(this.translate.instant("ERROR_MESSAGE_HEADLINE"),this.translate.instant("ERROR_MESSAGE_CONTENT"),{id:this.errorId}),this.loading=!1,this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Hge),qP(Q0),qP(_te))},e.ɵcmp=DN({type:e,selectors:[["automatedTeaser"]],viewQuery:function(e,t){if(1&e&&(Kj(Lve,5),Kj(Nve,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.dotsWrapper=n.first),Jj(n=Xj())&&(t.slickSlide=n)}},inputs:{requestUrl:"requestUrl",itemsPerRequest:"itemsPerRequest",type:"type",preFilters:"preFilters",staticFilters:"staticFilters",columns:"columns"},standalone:!1,decls:6,vars:3,consts:[["dotsWrapper",""],["slickModal","slick-carousel"],["slickSide",""],[1,"teaser-view"],[1,"dots-wrapper",3,"keydown"],["aria-live","polite",1,"carousel",3,"config"],[1,"load-trigger-container"],[3,"id"],["aria-live","polite",1,"carousel",3,"afterChange","breakpoint","init","config"],["ngxSlickItem","",1,"slide"],[3,"item","fallbackType"],[1,"loading"]],template:function(e,t){if(1&e){var n=w$();r$(0,"div",3)(1,"div",4,0),jj("keydown",function(e){return a_(n),l_(t.onDotsKeydown(e))}),s$(),HV(3,Bve,4,1,"ngx-slick-carousel",5),HV(4,$ve,3,0,"div",6),o$(5,"alert",7),s$()}2&e&&($A(3),UV(t.listItems?3:-1),$A(),UV(t.loading?4:-1),$A(),n$("id",t.errorId))},dependencies:[Cte,Tpe,Epe,Ove],encapsulation:2}),e}(),Hve=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),zve=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),Uve=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve]}),e}(),qve=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,Nce,zve]}),e}(),Wve=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve]}),e}(),Gve=function(){function e(e){this.injector=e;var t=T2(jve,{injector:e});customElements.define("rwm-automated-teaser",t)}return e.prototype.ngDoBootstrap=function(){},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,_Q,T5,vte,Ipe,Hve,qve,Wve,Uve]}),e}();function Zve(){return Zve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Zve.apply(null,arguments)}var Yve=function(){function e(){}return e.prototype.encodeKey=function(e){return encodeURIComponent(e)},e.prototype.encodeValue=function(e){return encodeURIComponent(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}(),Kve=function(){function e(e,t){var n=this;this.http=e,this.translate=t,this.labelMap={language:this.translate.instant("EMPLOYEE_DROPDOWN_FILTER_LANGUAGE"),category:this.translate.instant("EMPLOYEE_DROPDOWN_FILTER_CATEGORY")},this.defaultOptionMap={language:this.translate.instant("EMPLOYEE_DROPDOWN_FILTER_ALL_LANGUAGES"),category:this.translate.instant("EMPLOYEE_DROPDOWN_FILTER_ALL_CATEGORIES")},this.fetchEventData=function(e,t,i,r,s){var o=Zve({},s);i=Zve(o,i);var a=X5.o4.atob(i.pathFilters),l={type:"EventSuche",offset:t+1,size:e,query:i.q?i.q:null,tagFilters:n.getTags(i.tagFilters),pathFilters:a.length?a.split(","):[],from:i.date?n.formatDate(i.date.from):null,to:i.date?n.formatDate(i.date.to):null,timeFilter:i.timeFilter};return n.http.post(j5.KT+j5.vZ.events,l).pipe(Ox(function(e){return{type:"event",items:e.documents,filters:n.transformStaticFilters(r,i),totalSize:e.size||0,showSize:!0}}))},this.fetchEmployeeData=function(e,t,i,r){var s={};null!=i&&(s.offset=i+1),null!=t&&(s.size=t),null!=r.q&&(s.query=r.q);var o=n.spreadFilterParams(s,r);return n.http.get(e,{params:o}).pipe(Ox(function(e){return{type:"employee",items:e.listItems,filters:n.transformEmployeeDropdownFilter(e.filter,r),totalSize:e.listItems.length?e.listItems.length:0,showSize:!0}}))},this.fetchBankData=function(e,t){var i={type:"BankstellenListeSuche",query:e.q,filter:e.filter,mainInstituteReorder:t.mainInstituteReorder,path:j5.Kh};return n.http.post(j5.KT+j5.vZ.banksearch.list,i).pipe(Ox(function(t){return{type:"bank",items:t.documents,filters:[n.getBankFilters(t.filter,e.filter)],totalSize:t.documents.length,showSize:!0}}))},this.fetchJobData=function(e,t,i,r,s){var o=n.removeEmptyPreFilters(s),a={type:"JobSuche",offset:t+1,size:e,query:i.q,filter:n.getFilterSummary(i,o)};return n.http.post(j5.KT+j5.vZ.jobsearch.list,a).pipe(Ox(function(e){return{type:"job",items:n.transformJobResponse(e.documents,r),filters:n.transformStaticJobFilters(r,e.filter,i,o),totalSize:e.size,showSize:!0}}))},this.fetchNewsData=function(e,t,i,r){var s={type:"NewsSuche",size:e,offset:t+1,path:X5.o4.atob(r.pathFilters),tagFilters:i.tagFilters?Object.values(i.tagFilters):[],predefinedTagFilters:r.predefinedTagFilters.length?r.predefinedTagFilters.split(","):[],maxAge:parseInt(r.maxAge),from:i.date?n.formatDate(i.date.from):null,to:i.date?n.formatDate(i.date.to):null,query:i.q?i.q:null};return n.http.post(j5.KT+j5.vZ.news,s).pipe(Ox(function(e){return{type:"newssuche",items:e.documents,filters:n.transformNewsListFilter(e.filter,i,r),totalSize:e.size,showSize:!0}}))},this.fetchSearchData=function(e,t,i,r){var s=j5.w8&&r?j5.vZ.search.wp:j5.vZ.search.default,o=new r1({encoder:new Yve});return o=(o=(o=o.append("offset",t+1)).append("size",e)).append("query",i.q),null!=n.getFilterFromParams(i)&&(o=o.append("filter",n.getFilterFromParams(i))),null!=j5.Kh&&(o=o.append("path",j5.Kh)),o=o.append("siteId",j5.w8&&r?r:null),n.http.get(j5.KT+s,{params:o}).pipe(Ox(function(e){var t=n.getTotalSize(e.size,e.documents);return{type:"page",filters:n.transformSelectionListFilter(e.filter,i),items:t>0?e.documents:[],totalSize:t}}))},this.fetchData=function(e){return n.http.get(e).pipe(Ox(function(e){return{type:"page",filters:[],items:e.listItems,totalSize:e.listItems.length,showSize:!1}}))},this.getTags=function(e){return"object"==typeof e?Object.values(e):e.length?e.split(","):[]},this.nullCheck=function(e){return Object.entries(e).reduce(function(e,t){var n=(0,$g.zs)(t,2),i=n[0],r=n[1];return r?(e[i]=r,e):e},{})},this.transformNewsListFilter=function(e,t,i){var r=[],s=t.tagFilters?Object.keys(t.tagFilters)[
10]:"dropdown-news-filter-"+E5.A.uidGenerator();if(1!==(i.predefinedTagFilters.length?i.predefinedTagFilters.split(","):[]).length){var o=n.translation("NEWS_LIST_ALL_CATEGORIES");r.push({type:"dropdown",id:s,name:"tagFilters",label:o,shortLabel:n.translation("NEWS_LIST_ALL"),value:t.tagFilters?t.tagFilters[s]:null,options:n.formatNewsFilter(e,o)})}return i.maxAge>1&&r.push({type:"date",id:"date-list-filter-news",name:"date",label:"Datum",value:t.date}),r},this.formatNewsFilter=function(e,t){var i=e.filter(function(e){return void 0!==e.name}).map(function(e){return{name:e.name,label:e.label}});return i.unshift({name:"",label:t||n.translation("ALL")}),i},this.getFilterFromParams=function(e){return e.filter?e.filter:null},this.spreadFilterParams=function(e,t){var n=function(n){if("q"!==n)if(Array.isArray(e[n])&&Array.isArray(t[n])){var i=(0,$g.fX)([],(0,$g.zs)(e[n]),!1);t[n].forEach(function(e){i.includes(e)||i.push(e)}),e[n]=i}else e[n]=t[n]};for(var i in t)n(i);return e},this.transformStaticJobFilters=function(e,t,i,r){var s=[],o=Object.keys(r),a=function(r){var a=[];if(e[r].child&&!o.includes(r)){var l=n.translate.instant(e[r].child).split("|");a=l.map(function(e){var t=l.indexOf(e)+1;return{name:(t<10?"0":"")+t,label:e.trim()}})}else t[0].name!==r||o.includes(r)||(a=t[0].child.map(function(e){return{name:e.value,label:e.name}}));Object.entries(a).length>0&&(a.unshift({name:"",label:n.translation(e[r].longLabel)}),s.push({type:"dropdown",id:"dropdown-".concat(r.toLowerCase(),"-filter"),name:r,isArray:!1,label:n.translation(e[r].longLabel),shortLabel:e[r].label,value:i[r]?i[r]:null,options:a}))};for(var l in e)a(l);return s},this.transformJobResponse=function(e,t){var i=[];return e.forEach(function(e){var r={},s=e.detail,o=function(e){if(0===s[e].toString().indexOf("[")){var i=s[e].replace(/(\[|\])/g,""),o=[];if(-1!==i.indexOf(","))i.split(",").forEach(function(i){var r=parseInt(i),s=n.translation(t[e].child);o.push(s.split("|")[r-1].trim())});else{var a=parseInt(i);if(!isNaN(a)){var l=n.translation(t[e].child);o.push(l.split("|")[a-1].trim())}}r[e]=o}else r[e]="null"!==s[e]?s[e]:""};for(var a in s)o(a);i.push({detail:r})}),i},this.getFilterSummary=function(e,t){var n=[],i=["companyName","city","employmentType","location","position","profession"],r=e;if(Object.entries(e).length>0&&Object.entries(t).length>0)for(var s in e)t[s]&&delete e[s];for(var o in r)-1!==i.indexOf(o)&&n.push(o+":"+e[o]);if(Object.entries(t).length>0)for(var a in t)-1!==i.indexOf(a)&&n.push(a+":"+t[a]);return n},this.transformStaticFilters=function(e,t){var i=[];for(var r in e)if(e[r])switch(r){case"date":i.push({type:"date",id:"date-list-filter",name:"date",label:"Datum",value:t.date});break;case"tags":i.push.apply(i,(0,$g.fX)([],(0,$g.zs)(n.transformTagFilter(e[r],t)),!1));break;default:console.error('No matching filter type "'+r+'"')}return i},this.transformTagFilter=function(e,t){var i=[];return e.tags&&e.tags.forEach(function(e){var r=e.children.map(function(e){return{name:e.path,label:e.title}});r.unshift({name:"",label:n.translation("ALL")});var s="dropdown-".concat(e.title.toLowerCase().replace(/ /g,"-"),"-filter");i.push({type:"tag",id:s,name:"tagFilters",isArray:!0,label:e.title,value:t.tagFilters?t.tagFilters[s]:null,options:r})}),i},this.transformSelectionListFilter=function(e,t){var n=[];return e&&n.push({type:"selectionList",name:"filter",value:t.filter,options:e.filter(function(e){return e.size>0})}),n},this.transformEmployeeDropdownFilter=function(e,t){var i=[];return n.getObjectKeys(e).forEach(function(r){0!==e[r].length&&(e[r].unshift({label:n.translation(n.defaultOptionMap[r]),name:""}),i.push({type:"dropdown",id:"dropdown-".concat(r.toLowerCase().replace(/ /g,"-"),"-filter"),name:r.toLowerCase(),shortL
1abel:n.translation(n.labelMap[r]),label:n.translation(n.defaultOptionMap[r]),value:t[r.toLowerCase()]||null,options:e[r]}))}),i},this.removeEmptyPreFilters=function(e){return Object.entries(e).reduce(function(e,t){var n=(0,$g.zs)(t,2),i=n[0],r=n[1];return r?(e[i]=r,e):e},{})},this.getBankFilters=function(e,t){return{type:"bankFilter",name:"filter",value:t||[],options:e}},this.getTotalSize=function(e,t){return e>0?e:void 0!==t?t.length:0},this.getObjectKeys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},this.translation=function(e){if(e)return n.translate.instant(e)},this.formatDate=function(e){return null!==e?Z5()(e,"DD.MM.YYYY").format("YYYY-MM-DD"):""}}return e.ɵfac=function(t){return new(t||e)(Iy(k1),Iy(Q0))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}();function Jve(){return Jve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Jve.apply(null,arguments)}var Xve=function(){function e(e,t){var n=this;this.http=e,this.translate=t,this.fetchClubBenefitData=function(e,t,i){var r={offset:t+1,size:e,query:i.q,category:i.categories,relationshipType:i.relationshipTypes,federalState:i.federalStates,district:i.districts},s=n.nullCheck(r),o=j5.KT+j5.vZ.clubdiscount.overview;return n.http.get(o,{params:s}).pipe(Ox(function(e){return{type:"club",filters:n.transformClubFilters(e.filter,i),items:e.clubreductions,totalSize:e.size,showSize:!0}}))},this.search=function(){var e=j5.KT+j5.vZ.clubdiscount.overview;return n.http.get(e).pipe(Ox(function(e){return e}))},this.detail=function(e){var t=j5.KT+j5.vZ.clubdiscount.detail+e;return n.http.get(t).pipe(Ox(function(e){return e}))},this.exchangeCode=function(e,t){var i=j5.KT+j5.vZ.clubdiscount.exchangeCode+"?otp="+t+"&redirectUri="+e;return n.http.get(i).pipe(Ox(function(e){return e}))},this.generatePromoCode=function(e,t,i,r){var s=j5.KT+j5.vZ.clubdiscount.promoCode+e+"/code",o=(0,$g.Cl)((0,$g.Cl)({},n.getHeader(i)),r&&{params:(new r1).set("age",r)});return n.http.request(t,s,o).pipe(Ox(function(e){return e}))},this.nullCheck=function(e){return Object.entries(e).reduce(function(e,t){var n=(0,$g.zs)(t,2),i=n[0],r=n[1];return r?(e[i]=r,e):e},{})},this.transformClubFilters=function(e,t){var i=[],r=Jve({categories:e.categories},{relationshipTypes:e.relationshipTypes},{federalStates:e.federalStates}),s=!0;for(var o in r){var a=t[o],l=t.federalStates,c={relationshipTypes:n.translate.instant("CLUB_BENEFIT_FILTERS_RELATIONSHIPTYPES"),
1categories:n.translate.instant("CLUB_BENEFIT_FILTERS_CATEGORIES"),federalStates:n.translate.instant("CLUB_BENEFIT_FILTERS_FEDERALSTATES"),districts:n.translate.instant("CLUB_BENEFIT_FILTERS_DISTRICTS")},u={relationshipTypes:n.translate.instant("CLUB_BENEFIT_FILTERS_ALL_RELATIONSHIPTYPES"),categories:n.translate.instant("CLUB_BENEFIT_FILTERS_ALL_CATEGORIES"),federalStates:n.translate.instant("CLUB_BENEFIT_FILTERS_ALL_FEDERALSTATES"),districts:n.translate.instant("CLUB_BENEFIT_FILTERS_ALL_DISTRICTS")};Array.isArray(a)&&(a=a[0]),Array.isArray(l)&&(l=l[0]),"districts"==o&&null==l&&null==a&&(s=!1),r[o].unshift({name:"",label:u[o]}),s&&i.push({type:"dropdown",id:"dropdown-".concat(o,"-filter"),name:o,isArray:!0,label:c[o],value:a,options:r[o].map(function(e){return void 0!==e.name?{name:e.name,label:e.label}:{name:e,label:e}})})}return i}}return e.prototype.getHeader=function(e){return{headers:new XQ({"Content-Type":"application/json",Authorization:"Bearer "+e})}},e.ɵfac=function(t){return new(t||e)(Iy(k1),Iy(Q0))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}(),Qve=function(){function e(){}return e.prototype.transform=function(e){return e?/<[a-z]+\d?(\s+[\w-]+=("[^"]*"|'[^']*'))*\s*\/?>|&#?\w+;/i.test(e):e},e.ɵfac=function(t){return new(t||e)},e.ɵpipe=RN({name:"isHtmlFilter",type:e,pure:!0,standalone:!1}),e}(),eye=function(e,t){return{"no-image":e,"event-item":t}};function tye(e,t){if(1&e&&(r$(0,"div",2),o$(1,"rwm-picture",8),s$()),2&e){var n=qj();$A(),n$("image",n.item.listImage)("lg",1220)}}function nye(e,t){if(1&e&&(r$(0,"div",4)(1,"span",9),VH(2),s$()()),2&e){var n=qj();$A(),n$("id","title-"+n.accessibilityID),$A(),JH(n.item.title)}}function iye(e,t){1&e&&o$(0,"p",5),2&e&&n$("innerText",qj().item.text)}function rye(e,t){1&e&&o$(0,"div",6),2&e&&n$("innerHTML",qj().item.text,WI)}function sye(e,t){if(1&e&&o$(0,"a",7),2&e){var n=qj();n$("target",gz(n.item.cta.target))("rel",gz("_blank"===n.item.cta.target?"noopener noreferrer":""))("href",n.item.cta.href,ZI)("id","link-"+n.accessibilityID)("innerText",n.item.cta.text),sV("aria-labelledby","title-"+n.accessibilityID+" link-"+n.accessibilityID)}}var oye=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["defaultListItem"]],inputs:{item:"item",accessibilityID:"accessibilityID"},standalone:!1,decls:12,vars:18,consts:[[1,"result-item",3,"id","ngClass"],[1,"content-wrapper"],[1,"image-wrapper"],[1,"text-wrapper"],[1,"headline-wrapper"],[3,"innerText"],[1,"rte",3,"innerHTML"],[1,"btn","btn-primary","cta",3,"href","target","rel","id","innerText"],[3,"image","lg"],[1,"title",3,"id"]],template:function(e,t){1&e&&(r$(0,"article",0),nU(1,"isEmptyObjectFilter"),r$(2,"div",1),HV(3,tye,2,2,"div",2),nU(4,"isEmptyObjectFilter"),r$(5,"div",3),HV(6,nye,3,2,"div",4),HV(7,iye,1,1,"p",5),nU(8,"isHtmlFilter"),HV(9,rye,1,1,"div",6),nU(10,"isHtmlFilter"),HV(11,sye,1,8,"a",7),s$()()()),2&e&&(n$("id",t.accessibilityID)("ngClass",Hz(15,eye,!t.item.listImage||iU(1,7,t.item.listImage),"event"===t.item.type)),$A(3),UV(t.item.listImage&&!iU(4,9,t.item.listImage)?3:-1),$A(3),UV(t.item.title?6:-1),$A(),UV(iU(8,11,t.item.text)?-1:7),$A(2),UV(iU(10,13,t.item.text)?9:-1),$A(2),UV(t.item.cta?11:-1))},dependencies:[GJ,Zge,Yge,Qve],encapsulation:2}),e}(),aye=function(e,t){return{"no-image":e,"event-item":t}},lye=function(e){return{"d-md-inline":e}};function cye(e,t){if(1&e&&(r$(0,"div",2),o$(1,"rwm-picture",9),s$()),2&e){var n=qj();$A(),n$("image",n.item.listImage)("lg",1220)}}function uye(e,t){if(1&e&&(r$(0,"div",4)(1,"span",10),VH(2),s$()()),2&e){var n=qj();$A(),n$("id","title-"+n.accessibilityID),$A(),JH(n.item.title)}}function dye(e,t){if(1&e&&(r$(0,"span",11)(1,"span",13),VH(2),nU(3,"translate"),s$(),VH(4),s$()),2&e){var n=qj(2);$A(2),JH(iU(3,2,"EVENT_DATE")),$A(2),XH(" ",n.item.date.from," ")}}function hye(e,t){if(1&e&&(r$(0,"span",12),VH(1),s$()),2&e){var n=qj(2);$A(),QH("",n.item.time.from,"",n.item.time.to?" - "+n.item.time.to:"")}}function pye(e,t){if(1&e&&(r$(0,"p",11)(1,"span",13),VH(2),nU(3,"translate"),s$(),r$(4,"span"),VH(5),s$(),r$(6,"span",14),VH(7),s$()()),2&e){var n=qj(2);$A(2),JH(iU(3,7,"EVENT_DATE")),$A(3),ez("",n.item.date.from,"",n.item.time.from?", "+n.item.time.from:"","",n.item.date.to?" - ":""),$A
1(),n$("ngClass",jz(9,lye,!n.item.time.to||!n.item.time.to)),$A(),QH("",n.item.date.to?n.item.date.to:"","",n.item.time.to?", "+n.item.time.to:"")}}function fye(e,t){if(1&e&&(r$(0,"div",5),HV(1,dye,5,4,"span",11),HV(2,hye,2,2,"span",12),HV(3,pye,8,11,"p",11),s$()),2&e){var n=qj();$A(),UV(n.item.date.to===n.item.date.from?1:-1),$A(),UV(n.item.date.to===n.item.date.from&&n.item.time.from?2:-1),$A(),UV(n.item.date.to!==n.item.date.from?3:-1)}}function mye(e,t){if(1&e&&(r$(0,"div",6)(1,"span",13),VH(2),nU(3,"translate"),s$(),r$(4,"span",15),VH(5),s$()()),2&e){var n=qj();$A(2),JH(iU(3,2,"EVENT_VENUE")),$A(3),JH(n.item.place)}}function gye(e,t){if(1&e&&(r$(0,"p")(1,"span",13),VH(2),nU(3,"translate"),s$(),VH(4),nU(5,"truncate"),s$()),2&e){var n=qj();$A(2),JH(iU(3,2,"DESCRIPTION")),$A(2),XH(" ",rU(5,4,n.item.eventDescriptionText,200))}}function vye(e,t){if(1&e&&(r$(0,"div",7)(1,"span",13),VH(2),nU(3,"translate"),s$(),VH(4),s$()),2&e){var n=qj();$A(2),JH(iU(3,2,"DESCRIPTION")),$A(2),XH("",n.item.text," ")}}function yye(e,t){if(1&e&&(r$(0,"a",8),VH(1),s$()),2&e){var n=qj();n$("href",gz(n.item.cta.href),ZI)("target",gz(n.item.cta.target))("rel",gz("_blank"===n.item.cta.target?"noopener noreferrer":""))("id","link-"+n.accessibilityID),sV("aria-labelledby","title-"+n.accessibilityID+" link-"+n.accessibilityID),$A(),JH(n.item.cta.text)}}var bye=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["eventListItem"]],inputs:{item:"item",accessibilityID:"accessibilityID"},standalone:!1,decls:12,vars:16,consts:[[1,"result-item",3,"id","ngClass"],[1,"content-wrapper"],[1,"image-wrapper"],[1,"text-wrapper"],[1,"headline-wrapper"],[1,"date-time-wrapper"],[1,"place"],[1,"rte"],[1,"btn","btn-primary","cta",3,"href","target","rel","id"],[3,"image","lg"],[1,"title",3,"id"],[1,"date","icon-calendar"],[1,"time","icon-clock"],[1,"visually-hidden"],[1,"d-block","d-lg-inline",3,"ngClass"],[1,"icon-map"]],template:function(e,t){1&e&&(r$(0,"article",0),nU(1,"isEmptyObjectFilter"),r$(2,"div",1),HV(3,cye,2,2,"div",2),nU(4,"isEmptyObjectFilter"),r$(5,"div",3),HV(6,uye,3,2,"div",4),HV(7,fye,4,3,"div",5),HV(8,mye,6,4,"div",6),HV(9,gye,6,7,"p"),HV(10,vye,5,4,"div",7),HV(11,yye,2,9,"a",8),s$()()()),2&e&&(n$("id",t.accessibilityID)("ngClass",Hz(13,aye,!t.item.listImage||iU(1,9,t.item.listImage),"event"===t.item.type)),$A(3),UV(t.item.listImage&&!iU(4,11,t.item.listImage)?3:-1),$A(3),UV(t.item.title?6:-1),$A(),UV(t.item.date||t.item.time?7:-1),$A(),UV(t.item.place?8:-1),$A(),UV(t.item.eventDescriptionText&&!t.item.text?9:-1),$A(),UV(t.item.text?10:-1),$A(),UV(t.item.cta?11:-1))},dependencies:[GJ,Zge,t2,voe,Yge],encapsulation:2}),e}();function wye(e,t){if(1&e&&(r$(0,"div",5),o$(1,"rwm-picture",20),s$()),2&e){var n=qj();$A(),n$("image",n.item.listImage)("hideCopyright",n.item.copyrightBox)("lg",1025)}}function _ye(e,t){1&e&&(r$(0,"div",6)(1,"picture"),o$(2,"img",21),nU(3,"translate"),s$()()),2&e&&($A(2),n$("alt",gz(iU(3,2,"NO_IMAGE"))))}function xye(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.item.businessField)}}function kye(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.item.specialisation)}}function Cye(e,t){if(1&e&&(r$(0,"span",22),VH(1),s$()),2&e){var n=t.$implicit,i=t.$index,r=t.$count;$A(),QH("",n,"",i===r-1?"":", ")}}function Sye(e,t){if(1&e&&(r$(0,"span"),YV(1,Cye,2,2,"span",22,GV),s$()),2&e){var n=qj(2);$A(),XV(n.item.languages)}}function Tye(e,t){if(1&e&&(r$(0,"div",15),HV(1,xye,2,1,"span"),nU(2,"isEmptyObjectFilter"),HV(3,kye,2,1,"span"),nU(4,"isEmptyObjectFilter"),HV(5,Sye,3,0,"span"),s$()),2&e){var n=qj();$A(),UV("true"!==n.visibleFunction||iU(2,3,n.item.businessField)?-1:1),$A(2),UV("true"!==n.visibleSpecialization||iU(4,5,n.item.specialisation)?-1:3),$A(2),UV(0!=n.item.languages.length?5:-1)}}function Eye(e,t){if(1&e&&(r$(0,"div",23)(1,"a",24),nU(2,"translate"),o$(3,"span",25),VH(4),s$()()),2&e){var n=qj(2);$A(),n$("href",vz("tel:",n.item.phone),ZI),sV("aria-label",iU(2,4,"PHONENUMBER")+": "+n.item.phone),$A(3),XH("",n.item.phone," ")}}function Iye(e,t){if(1&e&&(r$(0,"div",23)(1,"a",24),nU(2,"translate"),o$(3,"span",26),VH(4),s$()()),2&e){var n=qj(2);$A(),n$("href",vz("tel:",n.item.mobile),ZI),sV("aria-label",iU(2,4,"MOBILE")+": "+n.item.mobile),$A(3),XH("",n.item.mobile," ")}}function Aye(e,t){if(1&e&&(r$(0,"div",17),HV(1,Eye,5,6,"div",23),HV(2,Iye,5,6,"div",23),s$()),2&e){var n=qj();$A(),UV(n.item.phone?1:-1),$A(),UV("true"===n.visibleMobileNumber&&n.item.mobile?2:-1)}}function Dye(e,t){if(1&e&&(r$(0,"div",18)(1,"a",27),nU(2,"translate"),o$(3,"span",28),VH(4),s$()()),2&e){var n=qj();$A(),n$("href",vz("mailto:",n.item.email),ZI),sV("aria-label",iU(2,4,"EMAIL")+": "+n.item.email),$A(3),XH("",n.item.email," ")}}function Mye(e,t){if(1&e&&o$(0,"span",35),2&e){var n=qj(3);n$("innerHTML",n.getAddressParts(n.item.subsidiaryAddress),WI)}}function Oye(e,t){if(1&e&&(r$(0,"div",29)(1,"span",30),o$(2,"span",31),r$(3,"span",32),VH(4),nU(5,"translate"),s$(),o$(6,"span",33),r$(7,"span",34)(8,"span",13),VH(9),s$(),HV(10,Mye,1,1,"span",35),s$()()()),2&e){var n=qj(2);$A(4),JH(iU(5,4,"EMPLOYEE_LOCATION")),$A(2),n$("innerHTML",n.getLocationText(n.item.location.text,n.item.location.subsidiary),WI),$A(3),JH(n.item.location.subsidiary),$A(),UV("null, null null"!==n.item.subsidiaryAddress?10:-1)}}function Pye(e,t){1&e&&HV(0,Oye,11,6,"div",29),2&e&&UV(qj().item.location.text?0:-1)}function Lye(e,t){if(1&e&&(r$(0,"div",18),o$(1,"rwm-overlay-link",37),s$()),2&e){var n=qj().$implicit,i=qj(2);$A(),n$("label",n.text)("href",n.href)("target",n.target)("prefillType","prefill")("iconClass",n.iconClass?n.iconClass:"icon-paging_arrow_right")("resultsSummary",i.str
1ingify(n.formPrefillValues))("inConditionalStatement",!0)}}function Nye(e,t){if(1&e&&HV(0,Lye,2,7,"div",18),2&e){var n=t.$implicit;UV(n.text&&n.href?0:-1)}}function Rye(e,t){if(1&e&&(r$(0,"div",19)(1,"div",36),YV(2,Nye,1,1,null,null,GV),s$()()),2&e){var n=qj();$A(2),XV(n.item.links)}}var Bye=function(){function e(e){this.translate=e,this.visibleFunction=j5.cr.employeeFunctionDisplayed,this.visibleSpecialization=j5.cr.employeeSpecializationDisplayed,this.visibleMobileNumber=j5.cr.employeeMobileNumberDisplayed,this.formOverlay=function(e){wle.Z.handleAction(e.currentTarget,e,void 0)}}return e.prototype.ngOnInit=function(){},e.prototype.isEmpty=function(e){return e?null:"no-content"},e.prototype.stringify=function(e){return JSON.stringify([e])},e.prototype.getLocationText=function(e,t){if(e&&t){var n=null==e?void 0:e.trim();return'<span itemprop="name">'.concat(n,"</span>, ")}return'<span itemprop="name">'.concat(e,"</span>")||0},e.prototype.getAddressParts=function(e){if(!e)return null;var t=(0,$g.zs)(e.split(","),2),n=t[0],i=t[1];if(!i)return'<span itemprop="streetAddress">'.concat(n,"</span>");var r=i.trim().split(" "),s=r.shift()||"",o=r.join(" ");return'<span itemprop="streetAddress">'.concat(n,'</span>, <span itemprop="postalCode">').concat(s,'</span> <span itemprop="addressLocality">').concat(o,"</span>")},e.prototype.getAbsoluteImageUrl=function(e){return"".concat(window.location.origin).concat(e)},e.ɵfac=function(t){return new(t||e)(qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["employeeTeaser"]],inputs:{item:"item",accessibilityID:"accessibilityID"},standalone:!1,decls:32,vars:28,consts:[["itemscope","","itemtype","https://schema.org/Person",1,"result-item","employee",3,"id"],[1,"content-wrapper"],[1,"text-wrapper"],[1,"row"],[1,"col-md-3","col-lg-3","col-xl-2"],[1,"image-wrapper"],[1,"image-wrapper","no-image"],["itemprop","image","itemscope","","itemtype","https://schema.org/ImageObject"],["itemprop","url",3,"content"],[1,"col-md-9","col-lg-9","col-xl-10"],[1,"headline-wrapper"],["tabindex","0",1,"name"],["itemprop","honorificPrefix"],["itemprop","name"],["itemprop","honorificSuffix"],["itemprop","jobTitle",1,"business-field"],[1,"contact-info","col-md-8","col-lg-9","col-xl-10"],[1,"link-wrapper","phone-wrapper"],[1,"link-wrapper"],[1,"col-md-4","col-lg-3","col-xl-2","separator-border"],[3,"image","hideCopyright","lg"],["src","data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==","srcset","/apps/settings/wcm/designs/cms/clientlib-theme-main/images/default_employee.svg",3,"alt"],[1,"language"],["itemprop","telephone",1,"phone-number"],[1,"text-link",3,"href"],["aria-hidden","true",1,"icon-phone"],["aria-hidden","true",1,"icon-smartphone"],["itemprop","email",1,"email","text-link",3,"href"],["aria-hidden","true",1,"icon-message"],["itemprop","worksFor","itemscope","","itemtype","https://schema.org/BankOrCreditUnion",1,"link-wrapper"],[1,"location"],["aria-hidden","true",1,"icon-map"],[1,"visually-hidden"],[3,"innerHTML"],["itemprop","department","itemscope","","itemtype","https://schema.org/Organization"],["itemprop","address","itemscope","","itemtype","https://schema.org/PostalAddress",1,"subsidiary",3,"innerHTML"],[1,"employee-links"],[3,"label","href","target","prefillType","iconClass","resultsSummary","inConditionalStatement"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),HV(5,wye,2,3,"div",5),nU(6,"isEmptyObjectFilter"),nU(7,"isEmptyObjectFilter"),HV(8,_ye,4,4,"div",6),nU(9,"isEmptyObjectFilter"),nU(10,"isEmptyObjectFilter"),r$(11,"span",7),o$(12,"meta",8),nU(13,"isEmptyObjectFilter"),nU(14,"isEmptyObjectFilter"),s$()(),r$(15,"div",9)(16,"div",10)(17,"div",11)(18,"span",12),VH(19),s$(),r$(20,"span",13),VH(21),s$(),r$(22,"span",14),VH(23),s$()(),HV(24,Tye,6,7,"div",15),s$(),r$(25,"div",3)(26,"div",16),HV(27,Aye,3,2,"div",17),HV(28,Dye,5,6,"div",18),HV(29,Pye,1,1),s$(),HV(30,Rye,4,0,"div",19),nU(31,"isEmptyObjectFilter"),s$()()()()()()),2&e&&(n$("id",t.accessibilityID),$A(5),UV(!1===iU(6,14,t.item.listImage)&&!1===iU(7,16,t.item.listImage.lg)?5:-1),$A(3),UV(!0===iU(9,18,t.item.listImage)||!0===iU(10,20,t.item.listImage.lg)?8:-1),$A(4),n$("content",gz(!1===iU(13,22,t.item.listImage)&&!1===iU(14,24,t.item.listImage.lg)?t.getAbsoluteImageUrl(t.item.listImage.lg.res1x):t.getAbsoluteImageUrl("/apps/settings/wcm/designs/cms/clientlib-theme-main/images/default_employee.svg"))),$A(7),XH("",t.item.academicDegree," "),$A
1(2),QH("",t.item.firstname," ",t.item.lastname," "),$A(2),JH(t.item.masterDegree),$A(),UV(t.item.businessField||t.item.specialisation||0!=t.item.languages.length?24:-1),$A(3),UV(t.item.phone||t.item.mobile?27:-1),$A(),UV(t.item.email?28:-1),$A(),UV(t.item.location?29:-1),$A(),UV(t.item.links.length>0||!1===iU(31,26,t.item.links)?30:-1))},dependencies:[Ple,Zge,t2,Yge],encapsulation:2}),e}();function Fye(e,t){if(1&e&&(r$(0,"h3")(1,"a",13)(2,"span"),VH(3),s$(),o$(4,"span",14),nU(5,"translate"),s$()()),2&e){var n=qj();$A(),n$("href",n.getUrl(n.item.url,n.item.imported),ZI),$A(2),JH(n.item.title),$A(),sV("aria-label",iU(5,3,"LINK_NEW_TAB"))}}function Vye(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=t.$implicit,i=t.$index,r=t.$count;$A(),QH("",n,"",i===r-1?"":", ")}}function $ye(e,t){1&e&&YV(0,Vye,2,2,"span",null,GV),2&e&&XV(qj().item.profession)}function jye(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=t.$implicit,i=t.$index,r=t.$count;$A(),QH("",n,"",i===r-1?"":", ")}}function Hye(e,t){1&e&&YV(0,jye,2,2,"span",null,GV),2&e&&XV(qj().item.location)}function zye(e,t){1&e&&(r$(0,"span",7),VH(1,"-"),s$())}function Uye(e,t){1&e&&(r$(0,"span",7),VH(1,"-"),s$())}var qye=function(){function e(){this.getUrl=function(e,t){return t?e:e.replace(/\{currentpagepath\}/,j5.Qy)},this.parseData=function(e,t){return JSON.parse(e)[t]}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["jobListItem"]],inputs:{item:"item",accessibilityID:"accessibilityID"},standalone:!1,decls:23,vars:13,consts:[[1,"result-item","job-item",3,"id"],[1,"content-wrapper","global-jobsearch-styles"],[1,"text-wrapper"],[1,"row"],[1,"col-xs-12","col-sm-9","profession"],[1,"location-div"],[1,"location"],[1,"word-spacing"],[1,"company-name","fw-bold",3,"innerText"],[1,"big-word-spacing"],[1,"company-name",3,"innerText"],[1,"col-xs-12","col-sm-3","text-sm-end","publish-date"],[1,"visually-hidden"],["target","_blank","rel","noopener noreferrer",1,"text-link",3,"href"],[1,"icon-open_link"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1)(2,"div",2),HV(3,Fye,6,5,"h3"),r$(4,"div",3)(5,"div",4),HV(6,$ye,2,0),s$()(),r$(7,"div",5)(8,"div")(9,"span",6),HV(10,Hye,2,0),s$(),HV(11,zye,2,0,"span",7),o$(12,"span",8),r$(13,"span",9),VH(14,"/"),s$(),o$(15,"span",10),HV(16,Uye,2,0,"span",7),o$(17,"span",8),s$()(),r$(18,"div",11)(19,"span",12),VH(20),nU(21,"translate"),s$(),VH(22),s$()()()()),2&e&&(n$("id",t.accessibilityID),$A(3),UV(t.item.title?3:-1),$A(3),UV(t.item.profession.length?6:-1),$A(4),UV(t.item.location.length?10:-1),$A(),UV(t.parseData(t.item.data,"place")?11:-1),$A(),n$("innerText",t.parseData(t.item.data,"place")),$A(3),n$("innerText",t.item.companyName),$A(),UV(t.parseData(t.item.data,"firm")?16:-1),$A(),n$("innerText",t.parseData(t.item.data,"firm")),$A(3),JH(iU(21,11,"PUBLISHED_ON")),$A(2),XH("",t.item.publishDate," "))},dependencies:[t2],encapsulation:2}),e}(),Wye=function(e){return{"no-image":e}};function Gye(e,t){if(1&e&&(r$(0,"div",2),o$(1,"rwm-picture",11),s$()),2&e){var n=qj();$A(),n$("image",n.item.listImage)("lg",1220)}}function Zye(e,t){if(1&e&&(r$(0,"div",7)(1,"span"),VH(2),nU(3,"translate"),s$()()),2&e){var n=qj();$A(2),QH("",iU(3,2,"NEWS_LIST_NEWS_FROM")," ",n.item.newsDate)}}function Yye(e,t){1&e&&o$(0,"p",8),2&e&&n$("innerText",qj().item.text)}function Kye(e,t){1&e&&o$(0,"div",9),2&e&&n$("innerHTML",qj().item.text,WI)}var Jye=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["newsListItem"]],inputs:{item:"item",accessibilityID:"accessibilityID"},standalone:!1,decls:18,vars:24,consts:[[1,"result-item",3,"id","ngClass"],[1,"content-wrapper"],[1,"image-wrapper"],[1,"text-wrapper"],[1,"headline-wrapper"],[1,"main-headline"],[1,"title",3,"id"],[1,"sub-headline"],[3,"innerText"],[1,"rte",3,"innerHTML"],["ng-if","item.url","target","_self",1,"text-link",3,"href","id"],[3,"image","lg"]],template:function(e,t){1&e&&(r$(0,"article",0),nU(1,"isEmptyObjectFilter"),r$(2,"div",1),HV(3,Gye,2,2,"div",2),nU(4,"isEmptyObjectFilter"),r$(5,"div",3)(6,"div",4)(7,"div",5)(8,"span",6),VH(9),s$()(),HV(10,Zye,4,4,"div",7),s$(),HV(11,Yye,1,1,"p",8),nU(12,"isHtmlFilter"),HV(13,Kye,1,1,"div",9),nU(14,"isHtmlFilter"),r$(15,"a",10),VH(16),nU(17,"translate"),s$()()()()),2&e&&(n$("id",t.accessibilityID)("ngClass",jz(22,Wye,!t.item.listImage||iU(1,12,t.item.listImage))),$A(3),UV(t.item.listImage&&!iU(4,14,t.item.listImage)?3:-1),$A(5),n$("id","title-"+t.accessibilityID),$A(),JH(t.item.title),$A(),UV(t.item.newsDate?10:-1),$A(),UV(iU(12,16,t.item.text)?-1:11),$A(2),UV(iU(14,18,t.item.text)?13:-1),$A(2),n$("href",t.item.url,ZI)("id","link-"+t.accessibilityID),sV("aria-labelledby","title-"+t.accessibilityID+" link-"+t.accessibilityID),$A(),JH(iU(17,20,"NEWS_LIST_READ_MORE")))},dependencies:[GJ,Zge,t2,Yge,Qve],encapsulation:2}),e}(),Xye=function(e){return{query:e}};function Qye(e,t){if(1&e&&(r$(0,"div",6),o$(1,"a",8),s$()),2&e){var n=t.$implicit,i=t.$index,r=qj();$A(),n$("href",yz("",r.searchDetails,"",n.externalId),ZI)("innerText",n.title)("id","link-"+r.accessibilityID+"-"+i),sV("aria-labelledby","title-"+r.accessibilityID+" link-"+r.accessibilityID+"-"+i)}}var ebe=function(){function e(){var e=this;this.searchDetails=j5.AJ.searchDetails,this.itemTitle=function(){return decodeURIComponent(e.item.query)},this.Object=Object}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["ttListItem"]],inputs:{item:"item",accessibilityID:"accessibilityID"},standalone:!1,decls:9,vars:12,consts:[[1,"result-item","tt-item",3,"id"],[1,"content-wrapper"],[1,"text-wrapper"],[1,"headline-wrapper"],[1,"name","title",3,"id","translate","translateParams"],[1,"link-list"],[1,"link-wrapper"],["target","_self",1,"btn","btn-primary",3,"href","translate","id"],["target","_self",1,"text-link",3,"href","innerText","id"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1)(2,"div",2)(3,"div",3),o$(4,"span",4),s$(),r$(5,"div",5),YV(6,Qye,2,6,"div",6,GV),s$(),o$(8,"a",7),s$()()()),2&e&&(n$("id",t.accessibilityID),$A(4),n$("id","title-"+t.accessibilityID)("translate","TT_SEARCH_ITEM_HEADLINE_QUERY")("translateParams",jz(10,Xye,t.itemTitle())),$A(2),XV(t.item.links),$A(2),n$("href",yz("",t.searchDetails,"searchTerm=",t.item.query),ZI)("translate","TT_SEARCH_ITEM_CTA_LABEL")("id","button-"+t.accessibilityID),sV("aria-labelledby","title-"+t.accessibilityID+" button-"+t.accessibilityID))},dependencies:[e2],encapsulation:2}),e}();function tbe(e,t){if(1&e&&(r$(0,"div",2),o$(1,"rwm-picture",9),s$()),2&e){var n=qj();$A(),n$("image",n.item.listImage)("lg",1220)}}function nbe(e,t){if(1&e&&(r$(0,"div",4)(1,"span",10),VH(2),s$()()),2&e){var n=qj();$A(),n$("id","title-"+n.accessibilityID),$A(),JH(n.item.name)}}function ibe(e,t){1&e&&(r$(0,"div",11),o$(1,"span",12)(2,"span",13),s$()),2&e&&($A(2),n$("translate","PARKINGLOTS"))}function rbe(e,t){1&e&&(r$(0,"div",11),o$(1,"span",14)(2,"span",13),s$()),2&e&&($A(2),n$("translate","ACCESSIBLE"))}function sbe(e,t){1&e&&(r$(0,"div",11),o$(1,"span",15)(2,"span",16),s$
1()),2&e&&($A(2),n$("translate","CENTRAL"))}function obe(e,t){if(1&e&&(r$(0,"div",5),HV(1,ibe,3,1,"div",11),HV(2,rbe,3,1,"div",11),HV(3,sbe,3,1,"div",11),s$()),2&e){var n=qj();$A(),UV(n.item.parkinglots?1:-1),$A(),UV(n.item.accessible?2:-1),$A(),UV(n.item.central?3:-1)}}function abe(e,t){if(1&e&&(r$(0,"p",17),VH(1),s$()),2&e){var n=qj(2);$A(),JH(n.item.address.street)}}function lbe(e,t){if(1&e&&(r$(0,"p",18),VH(1),s$()),2&e){var n=qj(2);$A(),QH(" ",n.item.address.postalCode," ",n.item.address.city)}}function cbe(e,t){if(1&e&&(r$(0,"div",6)(1,"address"),HV(2,abe,2,1,"p",17),HV(3,lbe,2,2,"p",18),s$()()),2&e){var n=qj();$A(2),UV(n.item.address.street?2:-1),$A(),UV(n.item.address.postalCode&&n.item.address.city?3:-1)}}function ube(e,t){if(1&e&&(r$(0,"a",20),nU(1,"translate"),VH(2),s$()),2&e){var n=t.$implicit,i=t.$index,r=t.$count;n$("href",vz("tel:",n),ZI),sV("aria-label",iU(1,4,"PHONENUMBER")+": "+n),$A(2),XH("",i!==r-1?n+",":n," ")}}function dbe(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",19),YV(2,ube,3,6,"a",20,GV),s$()),2&e){var n=qj(2);$A(2),XV(n.phoneNumberArray)}}function hbe(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",21),r$(2,"a",22),nU(3,"translate"),VH(4),s$()()),2&e){var n=qj(2);$A(2),n$("href",vz("mailto:",n.item.contact.email),ZI),sV("aria-label",iU(3,4,"EMAIL")+": "+n.item.contact.email),$A(2),XH("",n.item.contact.email," ")}}function pbe(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",23)(2,"a",24),s$()),2&e){var n=qj(2);$A(2),n$("href",gz(n.item.contact.website),ZI)("id","link-"+n.accessibilityID)("translate",n.isHypo(n.item)?"OPEN_BRANCH_PAGE":"OPEN_BANK_PAGE"),sV("aria-labelledby","title-"+n.accessibilityID+" link-"+n.accessibilityID)}}function fbe(e,t){if(1&e&&(r$(0,"ul"),HV(1,dbe,4,0,"li"),HV(2,hbe,5,6,"li"),HV(3,pbe,3,5,"li"),s$()),2&e){var n=qj();$A(),UV(n.item.contact.telephone?1:-1),$A(),UV(n.item.contact.email?2:-1),$A(),UV(n.item.contact.website?3:-1)}}var mbe=function(){function e(e,t){var n=this;this.cd=e,this.translate=t,this.customLabels={labelBankOpenHours:"",labelConsultationTimes:"",labelFoyerTimes:""},this.adviserLink={adviserLinkText:"",adviserLinkUrl:"",adviserTarget:""},this.collapse=!1,this.openCloseStateStyle="closed",this.toggleOpeningHours=function(){n.collapse=!n.collapse,n.cd.detectChanges()},this.isHypo=function(e){return"5"===e.blz.charAt(0)},this.imageNotNullCheck=function(e){var t,n;if(e)try{for(var i=(0,$g.Ju)(["lg","md","sm","xs"]),r=i.next();!r.done;r=i.next())if(e[r.value])return!0}catch(e){t={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return!1}}return e.prototype.ngOnInit=function(){this.item.contact.telephone&&(this.phoneNumberArray=this.item.contact.telephone.split(/\s*,\s*/).filter(Boolean))},e.prototype.temporarilyClosed=function(e){return e.temporarilyClosedFrom||e.temporarilyClosedTo?e.hinweise_schliessung:null},e.prototype.updateStyle=function(e){this.openCloseStateStyle=e,this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["bankListItem"]],inputs:{item:"item",index:"index",accessibilityID:"accessibilityID",customLabels:"customLabels",adviserLink:"adviserLink"},standalone:!1,decls:10,vars:18,consts:[[1,"result-item","bank-item",3,"id"],[1,"content-wrapper","global-banksearch-styles"],[1,"image-wrapper"],[1,"text-wrapper"],[1,"headline-wrapper"],[1,"row-icons"],[1,"address"],[3,"openingHours","consultingHours","noteOpeningHours","noteConsultingHours","noteTemporarilyClosed","consultingOutsideOpeningHours","customLabels","bankCounter","adviserLink","index"],[1,"contact"],[3,"image","lg"],["tabindex","0",1,"title",3,"id"],[1,"item-icon"],["aria-hidden","true",1,"icon-parking"],[1,"visually-hidden",3,"translate"],["aria-hidden","true",1,"icon-disabled-adapted"],["aria-hidden","true",1,"icon-rai"],[1,"label-icon",3,"translate"],[1,"street"],[1,"city-postalcode"],[1,"icon","icon-phone"],[1,"underline-clickable","phone-number",3,"href"],[1,"icon","icon-message"],[1,"underline-clickable",3,"href"],[1,"icon","icon-paging_arrow_right"],["target","_self",1,"underline-clickable",3,"id","href","translate"]],template:function(e,t){1&e&&(r$(0,"article",0)(1,"div",1),HV(2,tbe,2,2,"div",2),r$(3,"div",3),HV(4,nbe,3,2,"div",4),HV(5,obe,4,3,"div",5),HV(6,cbe,4,2,"div",6),o$(7,"opening-hours",7),r$(8,"div",8),HV(9,fbe,4,3,"ul"),s$()()()()),2&e&&(xH("no-image",!t.imageNotNullCheck(t.item.listImage)),n$("id",t.accessibilityID),$A(2),UV(t.imageNotNullCheck(t.item.listImage)?2:-1),$A(2),UV(t.item.name?4:-1),$A(),UV(1==t.item.parkinglots||1==t.item.accessible||1==t.item.central?5:-1),$A(),UV(t.item.address?6:-1),$A(),n$("openingHours",t.item.openingHours)("consultingHours",t.item.consultingHours)("noteOpeningHours",t.item.hinweise_oeffnungszeiten)("noteConsultingHours",t.item.hinweise_beratungszeiten)("noteTemporarilyClosed",t.temporarilyClosed(t.item))("consultingOutsideOpeningHours",t.item.consultingOutsideOpeningHours)("customLabels",t.customLabels)("bankCounter",t.item.bankCounter)("adviserLink",t.adviserLink)("index",t.item),$A(2),UV(t.item.contact?9:-1))},dependencies:[e2,Zge,yue,t2],encapsulation:2}),e}();
1function gbe(e,t){if(1&e&&(r$(0,"div",1),o$(1,"img",10),s$()),2&e){var n=qj();$A(),n$("src",n.setPicture(n.item.voucherId,n.item.shopPicture),ZI)("alt",n.item.shopPictureAlt?n.item.shopPictureAlt:"")}}function vbe(e,t){if(1&e&&o$(0,"span",4),2&e){var n=qj();n$("id","title-id-"+n.item.voucherId)("innerText",n.item.title)}}function ybe(e,t){if(1&e&&(r$(0,"span",5)(1,"span",11),VH(2),nU(3,"translate"),s$(),VH(4),s$()),2&e){var n=qj();$A(2),JH(iU(3,2,"DISCOUNT_VALUE")),$A(2),XH(" ",n.item.voucherValue," ")}}function bbe(e,t){if(1&e&&(r$(0,"span",6)(1,"span",11),VH(2),nU(3,"translate"),s$(),VH(4),s$()),2&e){var n=qj();$A(2),JH(iU(3,3,"DISCOUNT_LOCATION")),$A(2),QH(" ",n.item.zipCode," ",n.item.city," ")}}function wbe(e,t){if(1&e&&(r$(0,"span",7)(1,"span",11),VH(2),nU(3,"translate"),s$(),VH(4),nU(5,"date"),s$()),2&e){var n=qj();$A(2),JH(iU(3,2,"DISCOUNT_EXPIRATION")),$A(2),XH(" ",rU(5,4,n.item.validTo,"dd.MM.yyyy")," ")}}function _be(e,t){1&e&&(r$(0,"span",7)(1,"span",11),VH(2),nU(3,"translate"),s$(),VH(4," Unbegrenzt gültig "),s$()),2&e&&($A(2),JH(iU(3,1,"DISCOUNT_EXPIRATION")))}var xbe=function(){function e(e,t){this.cd=e,this.Location=t,this.setPicture=function(e,t){return null!=t?"/cachableservlets/wbcmedia?reductionId="+e+"&mediaId="+t:null}}return e.prototype.ngOnInit=function(){var e=new URL(window.location.href),t=new URLSearchParams(e.search);t.set("cd-id",this.item.voucherId),this.itemLink=e.pathname+"?"+t.toString()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(aK))},e.ɵcmp=DN({type:e,selectors:[["clubListItem"]],inputs:{item:"item",index:"index",accessibilityID:"accessibilityID"},standalone:!1,decls:11,vars:13,consts:[[1,"result-item","club-benefit",3,"id"],[1,"image-wrapper"],[1,"text-wrapper"],[1,"headline-wrapper"],[1,"title",3,"id","innerText"],[1,"benefit","icon-percent"],[1,"place","icon-map"],[1,"date","icon-calendar"],[1,"link-wrapper"],["type","button",1,"btn","btn-primary",3,"id","href","translate"],[3,"src","alt"],[1,"visually-hidden"]],template:function(e,t){1&e&&(r$(0,"article",0),HV(1,gbe,2,2,"div",1),r$(2,"div",2)(3,"div",3),HV(4,vbe,1,2,"span",4),s$(),HV(5,ybe,5,4,"span",5),HV(6,bbe,5,5,"span",6),HV(7,wbe,6,7,"span",7),HV(8,_be,5,3,"span",7),s$(),r$(9,"div",8),o$(10,"a",9),s$()()),2&e&&(xH("no-image",!t.item.shopPicture),n$("id",t.accessibilityID),$A(),UV(t.item.shopPicture?1:-1),$A(3),UV(t.item.title?4:-1),$A(),UV(t.item.voucherValue?5:-1),$A(),UV(t.item.zipCode&&t.item.city?6:-1),$A(),UV(!t.item.validIndefinitely&&t.item.validTo?7:-1),$A(),UV(t.item.validIndefinitely?8:-1),$A(2),n$("id","button-id-"+t.item.voucherId)("href",t.itemLink,ZI)("translate","MORE_DETAILS"),sV("aria-labelledby","title-id-"+t.item.voucherId+" button-id-"+t.item.voucherId))},dependencies:[e2,xX,t2],encapsulation:2}),e}(),kbe=["loadComponent"];function Cbe(e,t){}var Sbe=function(){function e(e){this.resolver=e,this.components={EVENT:bye,EMPLOYEE:Bye,NEWS:Jye,JOB:qye,TT:ebe,BANK:mbe,CLUBREDUCTION:xbe,DEFAULT:oye}}return e.prototype.ngOnInit=function(){this.item=this.item.detail?this.item.detail:this.item;var e=this.item.type?this.item.type.toUpperCase():this.fallbackType;this.getMappedComponent(e,"DEFAULT")},e.prototype.ngOnChanges=function(e){this.componentRef&&(this.componentRef.instance.height=e.height.currentValue)},e.prototype.getMappedComponent=function(e,t){var n="";return this.components[e]?(n=this.components[e],this.createComponent(n)):this.components[t]?(n=this.components[t],this.createComponent(n)):console.info('ListTemplateService: Listtype "'.concat(e,'" or "').concat(t,'" not mapped.')),n},e.prototype.createComponent=function(e){var t=this.resolver.resolveComponentFactory(e);this.componentRef=this.dynamicComponent.createComponent(t),this.componentRef.instance.item=this.item.detail?this.item.detail:this.item,this.customLabels&&(this.componentRef.instance.customLabels=this.customLabels),this.adviserLink&&(this.componentRef.instance.adviserLink=this.adviserLink),this.componentRef.instance.accessibilityID=this.listType+"-"+this.index,this.componentRef.instance.index=this.index},e.prototype.destroyComponent=function(){this.componentRef.destroy()},e.ɵfac=function(t){return new(t||e)(qP(DP))},e.ɵcmp=DN({type:e,selectors:[["list-items"]],viewQuery:function(e,t){var n;(1&e&&Kj(kbe,7,AL),2&e)&&(Jj(n=Xj())&&(t.dynamicComponent=n.first))},hostAttrs:["collision-id","automatedListComponent"],inputs:{item:"item",index:"index",listType:"listType",fallbackType:"fallbackType",customLabels:"customLabels",adviserLink:"adviserLink"},standalone:!1,features:[ok],decls:2,vars:0,consts:[["loadComponent",""]],template:function(e,t){1&e&&oR(0,Cbe,0,0,"ng-template",null,0,cU)},encapsulation:2}),e}();function Tbe(e,t,n,i){const r=window&&!!window.document&&window.document.documentElement;let s=r&&t?window:n;if(e&&(s=e&&r&&"string"==typeof e?function(e,t,n){return(n?window.document:t).querySelector(e)}(e,n.nativeElement,i):e,!s))throw new Error("ngx-infinite-scroll {resolveContainerElement()}: selector for");return s}function Ebe(e){return e&&!e.firstChange}const Ibe={clientHeight:"clientHeight",offsetHeight:"offsetHeight",scrollHeight:"scrollHeight",pageYOffset:"pageYOffset",offsetTop:"offsetTop",scrollTop:"scrollTop",top:"top"},Abe={clientHeight:"clientWidth",offsetHeight:"offsetWidth",scrollHeight:"scrollWidth",pageYOffset:"pageXOffset",offsetTop:"offsetLeft",scrollTop:"scrollLeft",top:"left"};class Dbe{constructor(e=!0){this.vertical=e,this.propsMap=e?Ibe:Abe}clientHeightKey(){return this.propsMap.clientHeight}offsetHeightKey(){return this.propsMap.offsetHeight}scrollHeightKey(){return this.propsMap.scrollHeight}pageYOffsetKey(){return this.propsMap.pageYOffset}offsetTopKey(){return this.propsMap.offsetTop}scrollTopKey(){return this.propsMap.scrollTop}topKey(){return this.propsMap.top}}function Mbe(e){return["Window","global"].some(t=>Object.prototype.toString.call(e).includes(t))}function Obe(e,t){return e?t.document.documentElement:null}function Pbe(e,t){const n=function({container:e,isWindow:t,axis:n}){const{offsetHeightKey:i,clientHeightKey:r}=Lbe(n);return Nbe(e,t,i,r)}(t);return t.isWindow?function(e,t,n){const{axis:i,container:r,isWindow:s}=n,{offsetHeightKey:o,clientHeightKey:a}=Lbe(i),l=e+Rbe(Obe(s,r),i,s),c=Nbe(t.nativeElement,s,o,a),u=function(e,t,n){const i=t.topKey();if(e.getBoundingClientRect)return e.getBoundingClientRect()[i]+Rbe(e,t,n)}(t.nativeElement,i,s)+c;return{height:e,scrolled:l,totalToScroll:u,isWindow:s}}(n,e,t):function(e,t,n){const{axis:i,container:r}=n;return{height:e,scrolled:r[i.scrollTopKey()],totalToScroll:r[i.scrollHeightKey()],isWindow:!1}}(n,0,t)}function Lbe(e){return{offsetHeightKey:e.offsetHeightKey(),clientHeightKey:e.clientHeightKey()}}function Nbe(e,t,n,i){if(isNaN(e[n])){const n=Obe(t,e);return n?n[i]:0}return e[n]}function Rbe(e,t,n){const i=t.pageYOffsetKey(),r=t.scrollTopKey(),s=t.offsetTopKey();return isNaN(window.pageYOffset)?Obe(n,e)[r]:e.ownerDocument?e.ownerDocument.defaultView[i]:e[s]}function Bbe(e,t={down:0,up:0},n){let i,r;if(e.totalToScroll<=0)return!1;const s=e.isWindow?e.scrolled:e.height+e.scrolled;if(n)i=(e.totalToScroll-s)/e.totalToScroll,r=(t?.down?t.down:0)/10;else{const n=e.scrolled+(e.totalToScroll-s);i=e.scrolled/n,r=(t?.up?t.up:0)/10}return i<=r}class Fbe{constructor(e){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},Object.assign(this,e)}updateScrollPosition(e){return this.lastScrollPosition=e}updateTotalToScroll(e){this.lastTotalToScroll!==e&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=e)}updateScroll(e,t){this.updateScrollPosition(e),this.updateTotalToScroll(t)}updateTriggeredFlag(e,t){t?this.triggered.down=e:this.triggered.up=e}isTriggeredScroll(e,t){return t?this.triggered.down===e:this.triggered.up===e}}const Vbe={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function $be(e){const{scrollDown:t,stats:{scrolled:n}}=e;return{type:t?Vbe.DOWN:Vbe.UP,payload:{currentScrollPosition:n}}}class jbe{constructor(e,t){this.element=e,this.zone=t,this.scrolled=new rD,this.scrolledUp=new rD,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:e,infiniteScrollDisabled:t,infiniteScrollDistance:n}){const i=Ebe(e),r=Ebe(t),s=Ebe(n),o=!r&&!this.infiniteScrollDisabled||r&&!t.currentValue||s;(i||r||s)&&(this.destroyScroller(),o&&this.setup())}ngOnDestroy(){this.destroyScroller()}setup(){"undefined"!=typeof window&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function(e){const{scrollContainer:t,scrollWindow:n,element:i,fromRoot:r}=e,s=function({windowElement:e,axis:t}){return function(e,t){const n=e.isWindow||t&&!t.nativeElement?t:t.nativeElement;return{...e,container:n}}({axis:t,isWindow:Mbe(e)},e)}({axis:new Dbe(!e.horizontal),windowElement:Tbe(t,n,i,r)}),o=new Fbe({totalToScroll:Pbe(i,s).totalToScroll}),a={container:s.container,throttle:e.throttle},l={up:e.upDistance,down:e.downDistance};return function(e){let t=Dde(e.container,"scroll");return e.throttle&&(t=t.pipe(Rae(e.throttle,void 0,{leading:!0,trailing:!0}))),t}(a).pipe(RQ(()=>YQ(Pbe(i,s))),Ox(e=>function(e,t,n){const{scrollDown:i,fire:r}=function(e,t,n){const i=function(e,t){return e<t.scrolled}(e,t);return{fire:Bbe(t,n,i),scrollDown:i}}
1(e,t,n);return{scrollDown:i,fire:r,stats:t}}(o.lastScrollPosition,e,l)),H5(({stats:e})=>o.updateScroll(e.scrolled,e.totalToScroll)),FQ(({fire:t,scrollDown:n,stats:{totalToScroll:i}})=>function(e,t,n){return!(!e||!t)||!(n||!t)}(e.alwaysCallback,t,o.isTriggeredScroll(i,n))),H5(({scrollDown:e,stats:{totalToScroll:t}})=>{o.updateTriggeredFlag(t,e)}),Ox($be))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(e=>this.handleOnScroll(e))})}handleOnScroll({type:e,payload:t}){const n=e===Vbe.DOWN?this.scrolled:this.scrolledUp;(function(e){return e.observed??e.observers.length>0})(n)&&this.zone.run(()=>n.emit(t))}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}static{this.ɵfac=MY({minVersion:"12.0.0",version:"20.0.2",ngImport:e,type:jbe,deps:[{token:xC},{token:dD}],target:hG.Directive})}static{this.ɵdir=EY({minVersion:"14.0.0",version:"20.0.2",type:jbe,isStandalone:!0,selector:"[infiniteScroll], [infinite-scroll], [data-infinite-scroll]",inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},usesOnChanges:!0,ngImport:e})}}IY({minVersion:"12.0.0",version:"20.0.2",ngImport:e,type:jbe,decorators:[{type:eq,args:[{selector:"[infiniteScroll], [infinite-scroll], [data-infinite-scroll]"}]}],ctorParameters:()=>[{type:xC},{type:dD}],propDecorators:{scrolled:[{type:rq}],scrolledUp:[{type:rq}],infiniteScrollDistance:[{type:iq}],infiniteScrollUpDistance:[{type:iq}],infiniteScrollThrottle:[{type:iq}],infiniteScrollDisabled:[{type:iq}],infiniteScrollContainer:[{type:iq}],scrollWindow:[{type:iq}],immediateCheck:[{type:iq}],horizontal:[{type:iq}],alwaysCallback:[{type:iq}],fromRoot:[{type:iq}]}});class Hbe{static{this.ɵfac=MY({minVersion:"12.0.0",version:"20.0.2",ngImport:e,type:Hbe,deps:[],target:hG.NgModule})}static{this.ɵmod=NY({minVersion:"14.0.0",version:"20.0.2",ngImport:e,type:Hbe,imports:[jbe],exports:[jbe]})}static{this.ɵinj=LY({minVersion:"12.0.0",version:"20.0.2",ngImport:e,type:Hbe})}}IY({minVersion:"12.0.0",version:"20.0.2",ngImport:e,type:Hbe,decorators:[{type:aq,args:[{exports:[jbe],imports:[jbe]}]}]});var zbe=function(e){return{active:e}};function Ube(e,t){if(1&e){var n=w$();r$(0,"a",3),jj("click",function(){a_(n);var e=qj().$implicit;return l_(qj().selectItem(e.name))}),VH(1),nU(2,"translate"),s$()}if(2&e){var i=qj().$implicit;$A(),QH(" ",iU(2,2,"ALL")," (",i.size,")")}}function qbe(e,t){if(1&e){var n=w$();r$(0,"a",3),jj("click",function(){a_(n);var e=qj().$implicit;return l_(qj().selectItem(e.name))}),VH(1),nU(2,"translate"),s$()}if(2&e){var i=qj().$implicit;$A(),QH(" ",iU(2,2,i.label)," (",i.size,")")}}function Wbe(e,t){if(1&e&&(r$(0,"li",1),HV(1,Ube,3,4,"a",2),HV(2,qbe,3,4,"a",2),s$()),2&e){var n=t.$implicit,i=qj();n$("ngClass",jz(3,zbe,n.name===i.model)),$A(),UV("Alle"==n.label?1:-1),$A(),UV("Alle"!==n.label?2:-1)}}var Gbe=function(){function e(){this.modelChange=new rD}return e.prototype.selectItem=function(e){this.model=e,this.modelChange.emit(e)},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["selection-list-filter"]],inputs:{filter:"filter",model:"model"},outputs:{modelChange:"modelChange"},standalone:!1,decls:3,vars:0,consts:[[1,"selection-list"],[1,"selection-list_item",3,"ngClass"],["href","javascript:void(0)"],["href","javascript:void(0)",3,"click"]],template:function(e,t){1&e&&(r$(0,"ul",0),YV(1,Wbe,3,5,"li",1,GV),s$()),2&e&&($A(),XV(t.filter))},dependencies:[GJ,t2],encapsulation:2}),e}(),Zbe=o(8027),Ybe=(o(5675),["resultFilters"]),Kbe=["dateInput"],Jbe=function(e){return{error:e}},Xbe=function(e){return{"float-label":e}}
1;function Qbe(e,t){1&e&&o$(0,"span",5),2&e&&n$("translate","DATE_FILTER_AT_ANY_TIME")}function ewe(e,t){1&e&&o$(0,"span",6),2&e&&n$("innerText",qj().inputModel)}function twe(e,t){if(1&e){var n=w$();r$(0,"button",22),nU(1,"translate"),jj("click",function(){return a_(n),l_(qj().resetFilter())}),o$(2,"span",23)(3,"span",4),s$()}2&e&&(n$("title",gz(iU(1,3,"DELETE_FILTER"))),$A(3),n$("translate","DELETE_FILTER"))}function nwe(e,t){1&e&&(r$(0,"span",9),o$(1,"span",24),s$()),2&e&&($A(),n$("translate","DATE_FILTER_SELECT_DATERANGE"))}function iwe(e,t){if(1&e&&(r$(0,"span",10),o$(1,"span",24),r$(2,"span"),VH(3," "),s$(),o$(4,"span",25),r$(5,"span"),VH(6," "),s$(),o$(7,"span",24),r$(8,"span"),VH(9," "),s$(),o$(10,"span",26),r$(11,"span"),VH(12," "),s$(),o$(13,"span",24),s$()),2&e){var n=qj();$A(),n$("translate","DATE_FILTER_SELECTED_DATERANGE1"),$A(3),n$("innerText",n.model.from),$A(3),n$("translate","DATE_FILTER_SELECTED_DATERANGE2"),$A(3),n$("innerText",n.model.to),$A(3),n$("translate","DATE_FILTER_SELECTED_DATERANGE3")}}function rwe(e,t){if(1&e&&o$(0,"span",17),2&e){var n=qj();n$("id","start-error-"+n.filter.id)("innerText",n.errorText)}}function swe(e,t){if(1&e&&o$(0,"span",17),2&e){var n=qj();n$("id","end-error-"+n.filter.id)("innerText",n.errorText)}}var owe=function(){function e(e){var t=this;this.cd=e,this.modelChange=new rD,this.open=!1,this.floatLabelStart=!1,this.floatLabelEnd=!1,this.errorStart=!1,this.errorEnd=!1,this.emptyModel={daterange:null,from:null,to:null},this.options={de:{formate:"DD.MM.YYYY",separator:" bis ",language:"de",mode:Zbe.sM.getMode(),message:"Bitte geben Sie ein Datum ein."},en:{formate:"DD.MM.YYYY",separator:" to ",language:"en",mode:Zbe.sM.getMode(),message:"Please enter a date."}},this.action=window.registeredActions["form-overlay"],this.openFilters=function(){t.errorText=t.getOptions(j5.cr.currentLanguage).message,t.inputModel||t.resetFields(),t.cd.detectChanges(),t.model=(0,$g.Cl)((0,$g.Cl)({},t.emptyModel),t.model),t.open=!0;var e={baseClass:"resultFilterFancybox",dragToClose:!1,touch:!1,afterClose:function(){t.dateInput.nativeElement.focus()}};E5.A.openFancybox(t.overlay.nativeElement,e,"article")},this.submitFilters=function(){t.closeFilters(t.model)},this.resetFields=function(){t.startInputModel="",t.endInputModel="",t.startMax="",t.endMin="",t.errorStart=!1,t.errorEnd=!1,t.floatLabelStart=!1,t.floatLabelEnd=!1},this.resetFilter=function(){delete t.model,delete t.inputModel,t.closeFilters(""),t.resetFields()},this.closeFilters=function(e){t.modelChange.emit(e),E5.A.closeFancybox(),t.open=!1,t.cd.detectChanges()},this.getOptions=function(e){return"de"===e?t.options[e]:t.options.en},this.convertDate=function(e){var t=e.split("-");return t[2]+"."+t[1]+"."+t[0]},this.validate=function(e){if(/^((?:18|19|20)\d{2})\-(0[1-9]|1[0-2])\-([12]\d|0[1-9]|3[01])$/.test(e))return e},this.inputFocusOut=function(e){var n=t.validate(t.startInputModel),i=t.validate(t.endInputModel);t.startInputModel||(t.floatLabelStart=!1),t.endInputModel||(t.floatLabelEnd=!1),n&&i?(t.endMin=n,t.startMax=i,new Date(n)<=new Date(i)?(t.errorStart=!1,t.errorEnd=!1):new Date(n)>new Date(i)&&(t.errorStart=!0,t.errorEnd=!0)):("start"==e&&(n?(t.endMin=n,t.errorStart=!1):t.errorStart=!0),"end"==e&&(i?(t.startMax=i,t.errorEnd=!1):t.errorEnd=!0)),t.cd.detectChanges()},this.inputFocus=function(e){"start"==e?t.floatLabelStart=!0:t.floatLabelEnd=!0,t.cd.detectChanges()},this.inputChange=function(){var e=t.getOptions(j5.cr.currentLanguage),n=t.validate(t.startInputModel),i=t.validate(t.endInputModel);if(n&&i)if(new Date(n)<=new Date(i)){var r=t.convertDate(n),s=t.convertDate(i),o=r+e.separator+s;t.inputModel=o,t.model.daterange=o,t.model.from=r,t.model.to=s}else new Date(n)>new Date(i)&&(delete t.inputModel,t.model=(0,$g.Cl)({},t.emptyModel));else delete t.inputModel,t.model=(0,$g.Cl)({},t.emptyModel);t.cd.detectChanges()}}return e.prototype.openOverlay=function(e){e.preventDefault(),wle.Z.handleAction(null,e,this.action)},e.prototype.ngOnInit=function(){},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["date-dialog-filter"]],viewQuery:function(e,t){if(1&e&&(Kj(Ybe,5),Kj(Kbe,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.overlay=n.first),Jj(n=Xj())&&(t.dateInput=n.first)}},inputs:{filter:"filter",model:"model"},outputs:{modelChange:"modelChange"},standalone:!1,decls:31,vars:41,consts:[["dateInput",""],["resultFilters",""],["data-language","de",1,"form-group","component-form-datepicker"],["aria-haspopup","dialog",1,"input-btn",3,"click","keyup.enter","id"],[1,"visually-hidden",3,"translate"],[1,"label",3,"translate"],[1,"label",3,"innerText"],["type","button",1,"close-btn",3,"title"],[1,"collapse","filters-wrapper","form-container",2,"display","none"],[1,"first-step"],[1,"second-step"],[1,"range-input-container","date-filter-events","form-group","form-date-styling"],[1,"date-input",3,"ngClass"],[1,"form-group-inner"],[3,"ngClass","for"],["type","date","name","start-
1date-input","min","1800-01-01",1,"form-control",3,"ngModelChange","focusin","focusout","id","ngModel","max"],["aria-live","polite",1,"filter-validation"],[1,"icon-attention_alert",3,"id","innerText"],["type","date","name","end-date-input","max","2099-12-31",1,"form-control",3,"ngModelChange","focusin","focusout","id","ngModel","min"],[1,"btn-wrapper"],[1,"btn","btn-primary",3,"click","disabled","translate"],[1,"btn","btn-default","reset","hide",3,"click","translate"],["type","button",1,"close-btn",3,"click","title"],["aria-hidden","true",1,"icon-close"],[3,"translate"],[1,"from",3,"innerText"],[1,"to",3,"innerText"]],template:function(e,t){if(1&e){var n=w$();r$(0,"section",2)(1,"div")(2,"button",3,0),jj("click",function(){return a_(n),l_(t.openFilters())})("keyup.enter",function(){return a_(n),l_(t.openFilters())}),o$(4,"span",4),HV(5,Qbe,1,1,"span",5),HV(6,ewe,1,1,"span",6),s$(),HV(7,twe,4,5,"button",7),s$(),r$(8,"div",8,1)(10,"h3"),HV(11,nwe,2,1,"span",9),HV(12,iwe,14,5,"span",10),s$(),r$(13,"div",11)(14,"div",12)(15,"div",13)(16,"label",14),o$(17,"span",5),s$(),r$(18,"input",15),uz("ngModelChange",function(e){return a_(n),cz(t.startInputModel,e)||(t.startInputModel=e),l_(e)}),jj("ngModelChange",function(){return a_(n),l_(t.inputChange())})("focusin",function(){return a_(n),l_(t.inputFocus("start"))})("focusout",function(){return a_(n),l_(t.inputFocusOut("start"))}),s$()(),r$(19,"div",16),HV(20,rwe,1,2,"span",17),s$()(),r$(21,"div",12)(22,"div",13)(23,"label",14),o$(24,"span",5),s$(),r$(25,"input",18),uz("ngModelChange",function(e){return a_(n),cz(t.endInputModel,e)||(t.endInputModel=e),l_(e)}),jj("ngModelChange",function(){return a_(n),l_(t.inputChange())})("focusin",function(){return a_(n),l_(t.inputFocus("end"))})("focusout",function(){return a_(n),l_(t.inputFocusOut("end"))}),s$()(),r$(26,"div",16),HV(27,swe,1,2,"span",17),s$()()(),r$(28,"div",19)(29,"button",20),jj("click",function(){return a_(n),l_(t.submitFilters())}),s$(),r$(30,"button",21),jj("click",function(){return a_(n),l_(t.resetFilter())}),s$()()()()}2&e&&($A(),SH(vz("form-group-inner form-control ",t.inputModel?"filled":null)),$A(),n$("id",t.filter.id),$A(2),n$("translate","DATE_FILTER_FOR"),$A(),UV(t.inputModel?-1:5),$A(),UV(t.inputModel?6:-1),$A(),UV(t.inputModel?7:-1),$A(4),UV(t.inputModel?-1:11),$A(),UV(t.inputModel?12:-1),$A(2),n$("ngClass",jz(33,Jbe,t.errorStart)),$A(),sV("aria-describedby","start-error-"+t.filter.id),$A(),n$("ngClass",jz(35,Xbe,t.floatLabelStart))("for","start-input-"+t.filter.id),$A(),n$("translate","DATE_COMPONENT_LABEL_FROM"),$A(),n$("id","start-input-"+t.filter.id),lz("ngModel",t.startInputModel),n$("max",t.startMax),sV("aria-describedby","start-error-"+t.filter.id),$A(2),UV(t.errorStart?20:-1),$A(),n$("ngClass",jz(37,Jbe,t.errorEnd)),$A(),sV("aria-describedby","end-error-"+t.filter.id),$A(),n$("ngClass",jz(39,Xbe,t.floatLabelEnd))("for","end-input-"+t.filter.id),$A(),n$("translate","DATE_COMPONENT_LABEL_TO"),$A(),n$("id","end-input-"+t.filter.id),lz("ngModel",t.endInputModel),n$("min",t.endMin),sV("aria-describedby","end-error-"+t.filter.id),$A(2),UV(t.errorEnd?27:-1),$A(2),n$("disabled",!t.inputModel)("translate","date-list-filter-news"===t.filter.id?"DATE_FILTER_FIND_NEWS":"DATE_FILTER_FIND_EVENTS"),$A(),n$("translate","DATE_FILTER_RESET"))},dependencies:[GJ,F2,x3,_4,e2,t2],encapsulation:2}),e}(),awe=["resultFilters"];function lwe(e,t){if(1&e&&(r$(0,"span"),VH(1),s$()),2&e){var n=qj();$A(),XH("(",n.count,")")}}function cwe(e,t){if(1&e){var n=w$();r$(0,"div",10)(1,"label",11)(2,"input",12,1),uz("ngModelChange",function(e){var t=a_(n).$implicit,i=qj(4);return cz(i.selected[t.value],e)||(i.selected[t.value]=e),l_(e)}),jj("change",function(){var e=a_(n).$implicit;return l_(qj(4).selected[e.value])}),s$(),o$(4,"span",13),r$(5,"span"),VH(6),s$()()()}if(2&e){var i=t.$implicit,r=qj(4);$A(),n$("for",vz("filter-",i.value)),$A(),n$("name",gz(i.name))("value",gz(i.value))("id",vz("filter-",i.value)),lz("ngModel",r.selected[i.value]),$A(4),JH(i.name)}}function uwe(e,t){if(1&e&&(r$(0,"fieldset")(1,"legend")(2,"div",9)(3,"span"),VH(4),s$()()(),YV(5,cwe,7,10,"div",10,GV),s$()),2&e){var n=qj().$implicit;$A(4),JH(n.name),$A(),XV(n.entries)}}
1function dwe(e,t){1&e&&HV(0,uwe,7,1,"fieldset"),2&e&&UV(t.$implicit.entries.length?0:-1)}function hwe(e,t){if(1&e&&(r$(0,"div",6),YV(1,dwe,1,1,null,null,GV),s$()),2&e){var n=qj();$A(),XV(n.filter)}}var pwe=function(){function e(e){var t=this;this.cd=e,this.modelChange=new rD,this.selected=[],this.open=!1,this.openFilters=function(){t.selected=t.buildModel(t.model);var e={baseClass:"resultFilterFancybox",afterLoad:function(){t.triggerOpen(!0)},afterClose:function(){t.triggerOpen(!1)}};E5.A.openFancybox(t.overlay.nativeElement,e,"article")},this.triggerOpen=function(e){t.open=e,t.cd.detectChanges()},this.closeFilters=function(){var e=t.getSelectedFilters(t.selected);t.count=e.length,t.modelChange.emit(e),t.selected=[],E5.A.closeFancybox(),t.cd.detectChanges()},this.buildModel=function(e){var n,i,r=[];try{for(var s=(0,$g.Ju)(t.filter),o=s.next();!o.done;o=s.next())o.value.entries.forEach(function(t){r[t.value]=e.includes(t.value)})}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return r},this.getSelectedFilters=function(e){if(e){var t=[];for(var n in e)!0===e[n]&&t.push(n);return t}}}return e.prototype.ngOnInit=function(){this.count=this.model.length},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["bank-dialog-filter"]],viewQuery:function(e,t){var n;(1&e&&Kj(awe,5),2&e)&&(Jj(n=Xj())&&(t.overlay=n.first))},inputs:{filter:"filter",model:"model"},outputs:{modelChange:"modelChange"},standalone:!1,decls:11,vars:7,consts:[["resultFilters",""],["input",""],[1,"result-filters"],[1,"btn","btn-white","filter-overlay-btn",3,"click"],[1,"collapse","filters-wrapper",2,"display","none"],[3,"translate"],[1,"column-wrapper"],[1,"btn-wrapper"],[1,"btn","btn-primary",3,"click","translate"],[1,"legend-text"],[1,"form-check"],[1,"form-check-label",3,"for"],["type","checkbox",1,"form-check-input",3,"ngModelChange","change","name","ngModel","value","id"],["aria-hidden","true",1,"custom-control-indicator","icon-check"]],template:function(e,t){if(1&e){var n=w$();r$(0,"section",2)(1,"button",3),jj("click",function(){return a_(n),l_(t.openFilters())}),VH(2),nU(3,"translate"),HV(4,lwe,2,1,"span"),s$(),r$(5,"div",4,0),o$(7,"h2",5),HV(8,hwe,3,0,"div",6),r$(9,"div",7)(10,"button",8),jj("click",function(){return a_(n),l_(t.closeFilters())}),s$()()()()}2&e&&($A(2),XH(" ",iU(3,5,"FILTER_SEARCH_RESULT")," "),$A(2),UV(t.count>0?4:-1),$A(3),n$("translate","REFINE_FILTER"),$A(),UV(t.open?8:-1),$A(2),n$("translate","FILTER_SEARCH_RESULT"))},dependencies:[N2,x3,_4,e2,t2],encapsulation:2}),e}(),fwe=function(e){return{"list-empty":e}},mwe=function(e){return{"autosuggest-search-input":e}},gwe=function(e,t){return{collapse:e,show:t}},vwe=function(e){return{collapsed:e}};function ywe(e,t){1&e&&o$(0,"div",11)}function bwe(e,t){if(1&e){var n=w$();r$(0,"div",2)(1,"form",5),jj("submit",function(){a_(n);var e=qj();return l_(e.updateParams("q",e.model.q))}),o$(2,"label",6),r$(3,"input",7,0),nU(5,"translate"),uz("ngModelChange",function(e){a_(n);var t=qj();return cz(t.model.q,e)||(t.model.q=e),l_(e)}),s$(),r$(6,"button",8),nU(7,"translate"),o$(8,"span",9),r$(9,"span",10),VH(10),nU(11,"translate"),s$()()(),HV(12,ywe,1,0,"div",11),r$(13,"div",12),o$(14,"p",13),s$()()}if(2&e){var i=qj();$A(2),n$("for",vz("automated-list-query-",i.id))("translate","SEARCH_PLACEHOLDER"),$A(),n$("id",vz("automated-list-query-",i.id)),lz("ngModel",i.model.q),n$("ngClass",jz(21,mwe,i.useAutosuggest))("placeholder",iU(5,15,i.placeholder)),sV("data-minlength-autosuggest",i.useAutosuggestMinlength(i.model.q,3))("data-site-id",i.siteId),$A(3),n$("title",gz(iU(7,17,"BUTTON_SEARCH"))),$A(4),JH(iU(11,19,"BUTTON_SEARCH")),$A(2),UV(i.useAutosuggest?12:-1),$A(2),n$("translate","SEARCH_NO_RESULT")}}function wwe(e,t){if(1&e){var n=w$();r$(0,"a",16),jj("click",function(){return a_(n),l_(qj(2).toggleFilter())}),o$(1,"span",17)(2,"span",18)(3,"span",19),s$()}if(2&e){var i=qj(2);n$("ngClass",jz(5,vwe,!i.collapse)),sV("aria-controls","#listfilter-collapse-1")("aria-expanded",i.collapse),$A(2),n$("translate","SHOW_FILTER"),$A(),n$("translate","HIDE_FILTER")}}function _we(e,t){if(1&e){var n=w$();r$(0,"selection-list-filter",23),uz("modelChange",function(e){a_(n);var t=qj().$implicit;return cz(t.value,e)||(t.value=e),l_(e)}
1),jj("modelChange",function(){a_(n);var e=qj().$implicit;return l_(qj(2).updateParams("filter",e.value))}),s$()}if(2&e){var i=qj().$implicit;n$("filter",i.options),lz("model",i.value)}}function xwe(e,t){if(1&e){var n=w$();r$(0,"bank-dialog-filter",23),uz("modelChange",function(e){a_(n);var t=qj().$implicit;return cz(t.value,e)||(t.value=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj().$implicit;return l_(qj(2).updateParams("filter",e.value))}),s$()}if(2&e){var i=qj().$implicit;n$("filter",i.options),lz("model",i.value)}}function kwe(e,t){if(1&e){var n=w$();r$(0,"div",21)(1,"div",24)(2,"rwm-select",25),uz("ngModelChange",function(e){a_(n);var t=qj().$implicit;return cz(t.value,e)||(t.value=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj().$implicit;return l_(qj(2).updateParams(e.name,e.value,e.id))}),s$()()()}if(2&e){var i=qj().$implicit,r=qj(2);$A(2),lz("ngModel",i.value),n$("items",i.options)("id",i.id)("name",i.name)("label",i.shortLabel?i.shortLabel:i.label)("optionAll",i.label)("selectOptions",r.selectOptions)("sortable",!0)}}function Cwe(e,t){if(1&e){var n=w$();r$(0,"div",22)(1,"date-dialog-filter",23),uz("modelChange",function(e){a_(n);var t=qj().$implicit;return cz(t.value,e)||(t.value=e),l_(e)}),jj("modelChange",function(){a_(n);var e=qj().$implicit;return l_(qj(2).updateParams("date",e.value))}),s$()()}if(2&e){var i=qj().$implicit;$A(),n$("filter",i),lz("model",i.value)}}function Swe(e,t){if(1&e&&(HV(0,_we,1,2,"selection-list-filter",20),HV(1,xwe,1,2,"bank-dialog-filter",20),HV(2,kwe,3,8,"div",21),HV(3,Cwe,2,2,"div",22)),2&e){var n=t.$implicit;UV("selectionList"===n.type?0:-1),$A(),UV("bankFilter"===n.type?1:-1),$A(),UV("dropdown"===n.type||"tag"===n.type?2:-1),$A(),UV("date"===n.type?3:-1)}}function Twe(e,t){if(1&e&&(r$(0,"div",3),HV(1,wwe,4,7,"a",14),r$(2,"div",15),YV(3,Swe,4,4,null,null,GV),s$()()),2&e){var n=qj();$A(),UV(n.mobileFilterToggle?1:-1),$A(),n$("ngClass",Hz(2,gwe,n.mobileFilterToggle,n.collapse)),$A(),XV(n.filters)}}function Ewe(e,t){if(1&e&&o$(0,"p",4),2&e){var n=qj();n$("innerHTML",n.getTranslation("SEARCH_RESULT_MESSAGE","SEARCH_RESULTS_MESSAGE",n.meta.size),WI)}}var Iwe=function(){function e(e,t,n){var i=this;this.location=e,this.translate=t,this.cd=n,this.hideSearch=!1,this.hideFilter=!1,this.useHistory=!1,this.keepSearchFilter=!1,this.useAutosuggest=!1,this.mobileFilterToggle=!0,this.modelChange=new rD,this.id=E5.A.uidGenerator(),this.collapse=!1,this.selectOptions={bindValue:"name",bindLabel:"label"},this.useAutosuggestMinlength=function(e,t){return i.useAutosuggest?t:void 0},this.updateParams=function(e,t,n){if(!i.keepSearchFilter&&"q"===e)for(var r in i.model)"q"!==r&&(delete i.model[r],i.setURLParams(r));if("tagFilters"===e){var s=Array.isArray(i.model[e])?i.model[e]:[];t?s[n]=t:(delete s[n],0===Object.entries(s).length&&(s=null)),t=s}t?i.model[e]=t:delete i.model[e],i.useHistory&&i.setURLParams(e,t),i.modelChange.emit(i.model),i.cd.detectChanges()},this.setHistory=function(e){var t,n;try{for(var r=(0,$g.Ju)(Object.entries(e)),s=r.next();!s.done;s=r.next()){var o=(0,$g.zs)(s.value,2),a=o[0],l=o[1];i.setURLParams(a,l)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},this.setURLParams=function(e,t){var n=window.location,i=new URLSearchParams(n.search);if(i.get(e)!==t){t?i.has(e)?i.set(e,t):i.append(e,t):i.delete(e);var r=i.toString()?"?"+i.toString():"";window.history.pushState({},"",n.pathname+r)}},this.getTranslation=function(e,t,n){var r=n>1?t:e;return i.translate.instant(r,{size:n})}}return e.prototype.ngOnInit=function(){this.filters.length>0&&(this.hideFilter=this.filters.length>0),this.useHistory&&this.initFilters&&this.setHistory(this.initFilters)},e.prototype.toggleFilter=function(){this.collapse=!this.collapse,this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(aK),qP(Q0),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["list-search-header"]],inputs:{model:"model",siteId:"siteId",placeholder:"placeholder",filters:"filters",hideSearch:"hideSearch",hideFilter:"hideFilter",useHistory:"useHistory",keepSearchFilter:"keepSearchFilter",useAutosuggest:"useAutosuggest",mobileFilterToggle:"mobileFilterToggle",meta:"meta",initFilters:"initFilters"},outputs:{modelChange:"modelChange"},standalone:!1,decls:4,vars:6,consts:[["query",""],[1,"list-header",3,"ngClass"],[1,"list-search"],[1,"list-filters","form-container"],[1,"found-results-text",3,"innerHTML"],["name","automatedListSearch","role","search",3,"submit"],[1,"visually-hidden",3,"for","translate"],["type","text","role","searchbox","autocomplete","off","name","query",1,"form-control",3,"ngModelChange","id","ngModel","ngClass","placeholder"],["type","submit",1,"list-search_submit",3,"title"],["aria-hidden","true",1,"icon-search"],[1,"visually-hidden",3,"translate"],[1,"component-search-autosuggest","d-none","automated-list-search-autosuggest"],["role","alert",1,"no-autosuggest-results","d-none"],[3,"translate"],["href","javascript:void(0)","role","button","data-bs-toggle","collapse",1,"collapse-toggle",3,"ngClass"],["
1id","listfilter-collapse-1",3,"ngClass"],["href","javascript:void(0)","role","button","data-bs-toggle","collapse",1,"collapse-toggle",3,"click","ngClass"],["aria-hidden","true",1,"icon-dropdown"],[1,"text-collapsed",3,"translate"],[1,"text-expanded",3,"translate"],[3,"filter","model"],[1,"dropdown-filter"],[1,"date-filter"],[3,"modelChange","filter","model"],[1,"form-group","component-form-select"],[3,"ngModelChange","modelChange","ngModel","items","id","name","label","optionAll","selectOptions","sortable"]],template:function(e,t){1&e&&(r$(0,"div",1),HV(1,bwe,15,23,"div",2),HV(2,Twe,5,5,"div",3),HV(3,Ewe,1,1,"p",4),s$()),2&e&&(n$("ngClass",jz(4,fwe,t.meta.size>0)),$A(),UV(!0!==t.hideSearch?1:-1),$A(),UV(t.hideFilter?-1:2),$A(),UV(t.meta.showSize?3:-1))},dependencies:[GJ,x4,F2,x3,k3,_4,h4,e2,r8,Gbe,owe,pwe,t2],encapsulation:2}),e}(),Awe=function(e){return{query:e}};function Dwe(e,t){if(1&e&&(r$(0,"li"),o$(1,"list-items",8),s$()),2&e){var n=t.$implicit,i=t.$index,r=qj(2);$A(),n$("item",n)("fallbackType",r.fallbackType)("listType",r.type)("index",i)("customLabels",r.customLabels)("adviserLink",r.adviserLink)}}function Mwe(e,t){if(1&e){var n=w$();r$(0,"ul",7),jj("scrolled",function(){return a_(n),l_(qj().autoLoad())}),YV(1,Dwe,2,6,"li",null,GV),s$()}if(2&e){var i=qj();n$("infiniteScrollDistance",2)("infiniteScrollThrottle",50)("infiniteScrollDisabled",i.infiniteScrollDisabled),$A(),XV(i.listItems)}}function Owe(e,t){if(1&e&&o$(0,"p",9),2&e){var n=qj(2);n$("translate","SEARCH_NO_RESULT_WITH_TERM")("translateParams",jz(2,Awe,n.query))}}function Pwe(e,t){1&e&&o$(0,"p",10),2&e&&n$("translate","SEARCH_NO_RESULT")}function Lwe(e,t){if(1&e&&(r$(0,"div",2),HV(1,Owe,1,4,"p",9),HV(2,Pwe,1,1,"p",10),s$()),2&e){var n=qj();$A(),UV(n.query?1:-1),$A(),UV(n.query?-1:2)}}function Nwe(e,t){1&e&&o$(0,"div",4)}function Rwe(e,t){if(1&e){var n=w$();r$(0,"button",13),jj("click",function(){return a_(n),l_(qj(2).loadMore())}),o$(1,"span",14)(2,"span",15),s$()}2&e&&(n$("disabled",qj(2).loading),$A(),n$("translate","FURTHER_RESULTS"))}function Bwe(e,t){if(1&e){var n=w$();r$(0,"button",16),jj("click",function(){return a_(n),l_(qj(2).gotoLoaded())}),s$()}}function Fwe(e,t){if(1&e&&(r$(0,"div",5),HV(1,Rwe,3,2,"button",11),HV(2,Bwe,1,0,"button",12),s$()),2&e){var n=qj();$A(),UV(n.lastJump?-1:1),$A(),UV(n.showJumpToNew?2:-1)}}var Vwe=function(){function e(e,t,n,i,r,s){var o=this;this.cd=e,this.AutomatedTeaserServices=t,this.ClubDiscountService=n,this.translate=i,this.alertService=r,this.element=s,this.useHistory=!1,this.hideSearch=!1,this.hideFilter=!1,this.keepSearchFilter=!1,this.alwaysShowCount=!1,this.errorId="automatedList-"+E5.A.uidGenerator(),this.loading=!0,this.loadingArr=[1,2,3,4],this.mobileFilterToggle=!0,this.currentParams={},this.isLoading=!0,this.listItems=[],this.filters=[],this.meta={size:0,showSize:!1},this.infiniteScrollDisabled=!1,this.useAutosuggest=!1,this.showJumpToNew=!1,this.lastJump=!1,this.offset=0,this.loaded=0,this.initOpen=!0,this.autoLoad=function(){o.shouldLoadAutomatic()&&o.loadMore()},this.searchParams=function(){var e,t,n={}
1,i=window.location.search,r=new URLSearchParams(i);try{for(var s=(0,$g.Ju)(r),o=s.next();!o.done;o=s.next()){var a=o.value;n[a[0]]=a[1]}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return n},this.stringToBoolean=function(e){return"boolean"!=typeof e?"true"===e.toLowerCase():e},this.stringToObj=function(e){if(e){var t=e.replace(/\'/g,'"'),n=JSON.parse(JSON.stringify(t));return"string"==typeof n&&(n=JSON.parse(n)),n}return null},this.assignFilters=function(e,t){return e.forEach(function(e,n){e.options=t[n].options,e.value=t[n].value}),e}}return e.prototype.ngOnInit=function(){this.useAutosuggest="search"===this.type,this.useHistory=this.stringToBoolean(this.useHistory),this.hideFilter=this.stringToBoolean(this.hideFilter),this.hideSearch=this.stringToBoolean(this.hideSearch),this.keepSearchFilter=this.stringToBoolean(this.keepSearchFilter),this.preFilters=this.stringToObj(this.preFilters),this.staticFilters=this.stringToObj(this.staticFilters),this.currentParams=this.searchParams(),this.customLabels=this.stringToObj(this.customLabels),this.adviserLink=this.stringToObj(this.adviserLink),this.useHistory&&(this.initFilters=this.currentParams),this.getToken(0)},e.prototype.getToken=function(e){var t=this;W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){t.loadElements(e)})},e.prototype.loadElements=function(e){var t=this;this.loading=!0,window.setTimeout(function(){t.getData(t.type,t.requestUrl,t.itemsPerRequest,e,t.currentParams,t.staticFilters,t.preFilters,t.siteId)})},e.prototype.getData=function(e,t,n,i,r,s,o,a){var l=this;switch(e){case"event":this.AutomatedTeaserServices.fetchEventData(n,i,r,s,o).subscribe(function(e){l.initList(e)},function(e){l.noContent()});break;case"mitarbeiter":this.AutomatedTeaserServices.fetchEmployeeData(t,n,i,r).subscribe(function(e){l.initList(e)},function(e){l.noContent()});break;case"bank":this.AutomatedTeaserServices.fetchBankData(r,o).subscribe(function(e){l.mobileFilterToggle=!1,l.initList(e)},function(e){l.noContent()});break;case"job":this.AutomatedTeaserServices.fetchJobData(n,i,r,s,o).subscribe(function(e){l.initList(e)},function(e){l.noContent()});break;case"newssuche":this.AutomatedTeaserServices.fetchNewsData(n,i,r,o).subscribe(function(e){l.initList(e)},function(e){l.noContent()});break;case"club":this.ClubDiscountService.fetchClubBenefitData(n,i,r).subscribe(function(e){l.initList(e)},function(e){l.noContent()});break;case"search":this.AutomatedTeaserServices.fetchSearchData(n,i,r,a).subscribe(function(e){l.mobileFilterToggle=!1,l.initList(e),0===e.totalSize?l.trackSearchResults("Suche ohne Treffer","searchNoResults",r.q):l.trackSearchResults("Gesuchter Suchbegriff","search",r.q)},function(e){l.noContent()});break;default:return this.AutomatedTeaserServices.fetchData(t).subscribe(function(e){l.initList(e)},function(e){l.noContent()})}},e.prototype.initList=function(e){var t;(t=this.listItems).push.apply(t,(0,$g.fX)([],(0,$g.zs)(e.items),!1)),this.filters&&(0===this.filters.length||this.filters.length!==e.filters.length?this.filters=e.filters:this.filters=this.assignFilters(this.filters,e.filters)),this.query=this.currentParams.q,this.fallbackType=e.type,this.meta={showSize:this.shouldShowResultsSize(e),size:e.totalSize},window.setTimeout(function(){jue()()},100),this.loading=!1,0===this.loaded&&this.gotoLoaded(),this.cd.detectChanges()},e.prototype.trackSearchResults=function(e,t,n){E5.A.eventTracking(!0,"volltextsuche",e,{searchTerm:n},t)},e.prototype.search=function(e){this.listItems=[],this.loaded=0,this.offset=0,this.currentParams=e,this.loadElements(this.offset)},e.prototype.gotoLoaded=function(){var e=this;0!=this.offset?(document.getElementById(this.type+"-"+this.offset).scrollIntoView(),this.showJumpToNew=!1):this.initOpen?window.setTimeout(function(){window.location.hash||window.scrollTo(0,0),e.initOpen=!1},300):this.element.nativeElement.scrollIntoView()},e.prototype.loadMore=function(){!this.loading&&this.moreItemsAvailable()&&(this.offset=this.offset+parseInt(this.itemsPerRequest),this.loadElements(this.offset),this.showJumpToNew=!0,this.loaded++)},e.prototype.shouldLoadAutomatic=function(){var e=this.loaded<this.loadOnScrollCount;return this.infiniteScrollDisabled=!e,e},e.prototype.moreItemsAvailable=function(){var e=this.listItems.length<this.meta.size;return e?(this.infiniteScrollDisabled=!e,this.lastJump=!1):this.lastJump=!0,e},e.prototype.shouldShowResultsSize=function(e){var t=this,n=["timeFilter","pathFilters","mainInstituteReorder","maxAge","wcmmode"];return this.alwaysShowCount?this.alwaysShowCount:e.showSize&&e.totalSize>
10&&Object.keys(this.currentParams).some(function(e){if(!n.includes(e))return t.currentParams[e]})},e.prototype.noContent=function(){this.query="",this.meta={showSize:!1,size:0},this.loading=!1,this.cd.detectChanges()},e.prototype.errorMsg=function(){this.alertService.clear(this.errorId),this.alertService.error(this.translate.instant("ERROR_MESSAGE_HEADLINE"),this.translate.instant("ERROR_MESSAGE_CONTENT"),{id:this.errorId}),this.loading=!1,this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Kve),qP(Xve),qP(Q0),qP(_te),qP(xC))},e.ɵcmp=DN({type:e,selectors:[["automatedList"]],inputs:{requestUrl:"requestUrl",itemsPerRequest:"itemsPerRequest",type:"type",loadOnScrollCount:"loadOnScrollCount",useHistory:"useHistory",hideSearch:"hideSearch",hideFilter:"hideFilter",keepSearchFilter:"keepSearchFilter",searchPlaceholder:"searchPlaceholder",preFilters:"preFilters",staticFilters:"staticFilters",siteId:"siteId",customLabels:"customLabels",adviserLink:"adviserLink",alwaysShowCount:"alwaysShowCount"},standalone:!1,decls:7,vars:17,consts:[[3,"modelChange","model","filters","placeholder","meta","hideSearch","hideFilter","keepSearchFilter","useHistory","useAutosuggest","siteId","mobileFilterToggle","initFilters"],["aria-live","polite","infiniteScroll","",1,"results",3,"infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollDisabled"],[1,"no-results"],[1,"load-trigger-container"],[1,"loading"],[1,"list-bottom_buttons"],[3,"id"],["aria-live","polite","infiniteScroll","",1,"results",3,"scrolled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollDisabled"],[3,"item","fallbackType","listType","index","customLabels","adviserLink"],[3,"translate","translateParams"],[3,"translate"],[1,"btn","btn-icon-bouncy",3,"disabled"],["translate","JUMB_TO_NEW_LIST_ITEMS",1,"btn","btn-default","visually-hidden-focusable"],[1,"btn","btn-icon-bouncy",3,"click","disabled"],[1,"btn-text",3,"translate"],[1,"btn-icon","icon-arrow_circle_down"],["translate","JUMB_TO_NEW_LIST_ITEMS",1,"btn","btn-default","visually-hidden-focusable",3,"click"]],template:function(e,t){1&e&&(r$(0,"list-search-header",0),uz("modelChange",function(e){return cz(t.currentParams,e)||(t.currentParams=e),e}),jj("modelChange",function(){return t.search(t.currentParams)}),s$(),HV(1,Mwe,3,3,"ul",1),HV(2,Lwe,3,2,"div",2),r$(3,"div",3),HV(4,Nwe,1,0,"div",4),s$(),HV(5,Fwe,3,2,"div",5),o$(6,"alert",6)),2&e&&(lz("model",t.currentParams),n$("filters",t.filters)("placeholder",t.searchPlaceholder)("meta",t.meta)("hideSearch",t.hideSearch)("hideFilter",t.hideFilter)("keepSearchFilter",t.keepSearchFilter)("useHistory",t.useHistory)("useAutosuggest",t.useAutosuggest)("siteId",t.siteId)("mobileFilterToggle",t.mobileFilterToggle)("initFilters",t.initFilters),$A(),UV(t.meta.size>0?1:-1),$A(),UV(t.loading||0!==t.meta.size?-1:2),$A(2),UV(t.loading?4:-1),$A(),UV(t.moreItemsAvailable()&&!t.shouldLoadAutomatic()?5:-1),$A(),n$("id",t.errorId))},dependencies:[e2,Cte,Sbe,jbe,Iwe],encapsulation:2,changeDetection:0}),e}(),$we=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),jwe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve,Che]}),e}(),Hwe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve]}),e}(),zwe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve]}),e}(),Uwe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,Nce,zve]}),e}(),qwe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve]}),e}(),Wwe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve]}),e}(),Gwe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve]}),e}(),Zwe=function(){function e(){}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,zve]}),e}(),Ywe=function(){function e(e){this.injector=e;var t=T2(Vwe,{injector:e});customElements.define("rwm-automated-list",t)}return e.prototype.ngDoBootstrap=function(){},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,C5,_Q,T5,vte,Ipe,$we,jwe,Hwe,zwe,Uwe,qwe,Wwe,Gwe,Zwe,F5]}),e}(),Kwe=new(function(){function e(){}return e.prototype.getModel=function(){return{trackingProp:{active:!0,categorie:"banksearch",type:"ueberleitungPrimaerbank"}}},e}()),Jwe=function(e){return{query:e}};function Xwe(e,t){if(1&e&&(o$(0,"p",7),nU(1,"escapeHtml"),nU(2,"translate")),2&e){var n=qj();n$("innerHTML",rU(2,3,"BANKSEARCH_NO_ENTRIES",jz(6,Jwe,iU(1,1,n.query))),WI)}}function Qwe(e,t){if(1&e){var n=w$();r$(0,"li",11),jj("click",function(){var e=a_(n).$index;return l_(qj(2).selectPrediction(e,!0))})("mouseenter",function(){var e=a_(n).$index;return l_(qj(2).onMouseEnter(e))}),o$(1,"span",12)(2,"span",13),nU(3,"shortBankName"),nU(4,"shortBankName"),s$()}
1if(2&e){var i=t.$implicit,r=t.$index;xH("active",qj(2).selectedItemIndex==r),$A(2),n$("innerHtml","DISL"===i.banktyp?iU(3,3,"SB-Standort "+(i.name?i.name:"")):iU(4,5,i.name),WI)}}function e_e(e,t){if(1&e&&(r$(0,"ul",8),YV(1,Qwe,5,7,"li",10,GV),s$()),2&e){var n=qj();$A(),XV(n.predictions)}}function t_e(e,t){if(1&e&&(r$(0,"div",9)(1,"div"),o$(2,"p",14),nU(3,"escapeHtml"),nU(4,"translate"),o$(5,"p",15),s$()()),2&e){var n=qj();$A(2),n$("innerHTML",rU(4,4,"BANKSEARCH_NO_ENTRIES",jz(7,Jwe,iU(3,2,n.query))),WI),$A(3),n$("translate","BANKSEARCH_NO_ENTRIES_DESCRIPTION")}}var n_e=function(){function e(e,t,n){this.translate=e,this.df=t,this.bankSearchService=n,this.onSelection=new rD,this.onInputFocus=new rD,this.currentItemIndexEnter=new rD,this.showDisl=!1,this.query="",this.predictions=[],this.showErrorMessage=!1,this.selectedItemIndex=-2,this.error=null,this.countries="at",this.typedQuery=""}return e.prototype.onSelectionHandler=function(e){this.onSelection.emit([e,this.selectedQuery])},e.prototype.onInputHandler=function(e){this.onInputFocus.emit([e,this.selectedQuery])},e.prototype.onChange=function(){var e=this;this.onInputHandler({status:!0}),this.typedQuery=this.query,this.query.length>=3?(this.showPredictions=!0,this.bankSearchService.autocomplete(this.query,this.filter,this.showDisl).subscribe(function(t){e.selectedItemIndex=-2,e.resetError(),e.predictions=t||[],e.df.detectChanges()},function(t){return e.handleError(t)},function(){0==e.predictions.length?e.showErrorMessage=!0:e.showErrorMessage=!1})):(this.resetPredictions(),this.resetError(),this.showErrorMessage=!1)},e.prototype.onBlur=function(){var e=this;setTimeout(function(){e.showPredictions=!1,e.onInputHandler({status:!1}),e.hideResultsOnBlur&&(e.predictions=[],e.error=null)},200)},e.prototype.selectPrediction=function(e,t){if(this.predictions.length>0&&-1!=this.selectedItemIndex){var n=this.predictions[Math.max(0,e)];this.query=t?n.name:this.query,this.selectedQuery=n||this.selectedQuery,this.trackingProp&&E5.A.eventTracking(this.trackingProp.active,this.trackingProp.categorie,"Standortbestimmung Eingabe Plz/Ort",{ctaType:this.trackingProp.type,triggerdAction:"Button",searchterm:this.query}),this.onSelectionHandler({location:this.selectedQuery}),this.resetPredictions()}},e.prototype.onMouseEnter=function(e){this.selectedItemIndex=e},e.prototype.keyParser=function(e){var t=this.translate.instant("BANKSEARCH_MY_LOCATION");switch({38:"up",40:"down",27:"esc",13:"enter"}[e.keyCode]){case"up":e.preventDefault(),this.selectedItemIndex>-2&&(this.selectedItemIndex--,-2===this.selectedItemIndex?this.query=this.typedQuery:-1===this.selectedItemIndex?this.query=t:(this.query=this.predictions[this.selectedItemIndex].name,this.selectedQuery=this.predictions[this.selectedItemIndex]));break;case"down":e.preventDefault(),(this.selectedItemIndex<this.predictions.length-1||-2==this.selectedItemIndex)&&(this.selectedItemIndex++,-1!=this.selectedItemIndex?(this.query=this.predictions[this.selectedItemIndex].name,this.selectedQuery=this.predictions[this.selectedItemIndex]):this.query=t);break;case"enter":this.predictions&&-2===this.selectedItemIndex?(this.selectedQuery=this.predictions[0],this.query=""):-1===this.selectedItemIndex?this.currentItemIndexEnter.emit(!0):this.selectedItemIndex>=0&&this.selectPrediction(this.selectedItemIndex,!0),this.showErrorMessage=!1;break;case"esc":this.predictions=[]}},e.prototype.handleError=function(e){this.error=e,this.resetPredictions()},e.prototype.resetPredictions=function(){this.predictions=[]},e.prototype.resetError=function(){this.error=null},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(uZ),qP(Yce))},e.ɵcmp=DN({type:e,selectors:[["auto-complete-location_"]],inputs:{hideResultsOnBlur:"hideResultsOnBlur",footerBankSearch:"footerBankSearch",filter:"filter",showDisl:"showDisl",trackingProp:"trackingProp"},outputs:{onSelection:"onSelection",onInputFocus:"onInputFocus",currentItemIndexEnter:"currentItemIndexEnter"},standalone:!1,decls:12,vars:11,consts:[[1,"component-auto-complete-location"],[1,"location-search-form",3,"submit","name"],["for","location-search-form",1,"visually-hidden",3,"translate"],["id","location-search-form","autocomplete","off",1,"form-control",3,"ngModelChange","blur","keydown","focus","name","ngModel"],["type","submit","title","Suche absetzen","data-dialog-open","true",1,"search-button"],["aria-hidden","true",1,"icon-search"],[1,"visually-hidden",3,"translate"],[1,"location-search-error",3,"innerHTML"],[1,"search-autocomplete"],[1,"search-errors"],["role","presentation",3,"active"],["role","presentation",3,"click","mouseenter"],["aria-hidden","true",1,"icon-map"],[3,"innerHtml"],[3,"innerHTML"],[3,"translate"]],template:function(e,t){1&e&&(r$(0,"div",0)(1,"div")(2,"form",1),jj("submit",function(){return t.selectPrediction(0,!1)}),o$(3,"label",2),r$(4,"input",3),nU(5,"translate"),uz("ngModelChange",function(e){return cz(t.query,e)||(t.query=e),e}),jj("ngModelChange",function(){return t.onChange()})("blur",function(){return t.onBlur()})("keydown",function(e){return t.keyParser(e)})("focus",function(){return t.onChange()}),s$(),r$(6,"button",4),o$(7,"span",5)(8,"span",6),s$()()(),HV(9,Xwe,3,8,"p",7),HV(10,e_e,3,0,"ul",8),HV(11,t_e,6,9,"div",9),s$()),2&e&&($A(2),n$("name","locationSearchForm"),$A(),n$("translate","BANKSEARCH_PLACEHOLDER"),$A(),n$("name","search"),lz("ngModel",t.query),sV("placeholder",iU(5,9,"BANKSEARCH_PLACEHOLDER")),$A(4),n$("translate","BUTTON_SEARCH"),$A(),UV(null!=t.error&&"ZERO_RESULTS"==t.error.code?9:-1),$A(),UV(t.predictions.length>0?10:-1),$A(),UV(t.showErrorMessage?11:-1))},dependencies:[e2,x4,F2,x3,k3,_4,h4,t2,yoe,Kce],encapsulation:2}),e}(),i_e=o(303),r_e=o.n(i_e);function s_e(e,t){1&e&&(r$(0,"p",0),o$(1,"span",4)(2,"span",5),nU(3,"translate"),s$()),2&e&&($A(2),n$("innerHTML",iU(3,1,"LOCATIONSEARCH_ERROR"),WI))}function o_e(e,t){1&e&&(r$(0,"div",1)(1,"p",0),o$(2,"span",4)(3,"span",5),nU(4,"translate"),s$()()),2&e&&($A(3),n$("innerHTML",iU(4,1,"LOCATIONSEARCH_ERROR"),WI))}function a_e(e,t){if(1&e){var n=w$();r$(0,"button",6),jj("click",function(){return a_(n),l_(qj().getUserLocation())}),o$(1,"span",7)(2,"span",8),s$()}2&e&&($A(2),n$("translate","LOCATIONSEARCH_SHARE_LOCATION"))}function l_e(e,t){if(1&e){var n=w$();r$(0,"button",9),jj("click",function(){return a_(n),l_(qj().getUserLocation())}
1),o$(1,"span",10)(2,"span",11),s$()}2&e&&($A(2),n$("translate","BANKSEARCH_MY_LOCATION"))}var c_e=function(){function e(e,t){this.df=e,this.BankSearchService=t,this.onSelection=new rD,this.onError=new rD,this.onSuccess=new rD,this.onAfterEnter=new rD,this.showError=!1,this.scriptLoaded=!1}return e.prototype.ngOnChanges=function(){1==this.buttonEnter&&(this.getUserLocation(),this.onAfterEnter.emit(!1))},e.prototype.ngOnInit=function(){this.geolocation=r_e().geolocation},e.prototype.onSelectionHandler=function(e){this.onSelection.emit([e])},e.prototype.onErrorHandler=function(){this.onError.emit([this.query])},e.prototype.onSuccessHandler=function(){this.onSuccess.emit([this.query])},e.prototype.getUserLocation=function(){this.triggerUserLocation()},e.prototype.triggerUserLocation=function(){var e=this;this.BankSearchService.getUserPosition().subscribe(function(t){e.trackingProp&&E5.A.eventTracking(e.trackingProp.active,e.trackingProp.categorie,"Standortbestimmung Geo",{ctaType:e.trackingProp.type,triggerdAction:"Button",searchterm:"Mein Standort (lat:"+t.latitude+", lng:"+t.longitude+")"}),e.onSelectionHandler({location:{name:"Mein Standort",geolocation:{lat:t.latitude,lng:t.longitude}}}),e.onSuccessHandler()},function(t){e.handleError(t)})},e.prototype.handleError=function(e){this.showError=!0,this.onErrorHandler()},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Yce))},e.ɵcmp=DN({type:e,selectors:[["client-location-button_"]],inputs:{buttonEnter:"buttonEnter",footerBankSearch:"footerBankSearch",trackingProp:"trackingProp"},outputs:{onSelection:"onSelection",onError:"onError",onSuccess:"onSuccess",onAfterEnter:"onAfterEnter"},standalone:!1,features:[ok],decls:4,vars:4,consts:[[1,"error"],[1,"error-container"],[1,"btn","btn-outline","btn-use-location"],[1,"btn","btn-use-location"],["aria-hidden","true",1,"icon-info"],[3,"innerHTML"],[1,"btn","btn-outline","btn-use-location",3,"click"],["aria-hidden","true",1,"icon-compass"],[3,"translate"],[1,"btn","btn-use-location",3,"click"],["aria-hidden","true",1,"icon-position"],[1,"underline-clickable",3,"translate"]],template:function(e,t){1&e&&(HV(0,s_e,4,3,"p",0),HV(1,o_e,5,3,"div",1),HV(2,a_e,3,1,"button",2),HV(3,l_e,3,1,"button",3)),2&e&&(UV(t.showError&&!t.footerBankSearch?0:-1),$A(),UV(t.showError&&t.footerBankSearch?1:-1),$A(),UV(t.geolocation&&!t.footerBankSearch?2:-1),$A(),UV(t.geolocation&&t.footerBankSearch?3:-1))},dependencies:[e2,t2],encapsulation:2}),e}(),u_e=["branchName"],d_e=function(){return["forward-btn"]},h_e=function(e){return[e,"forward-btn"]},p_e=function(){return["change-branch"]},f_e=function(e){return[e,"change-branch"]};function m_e(e,t){if(1&e&&(r$(0,"div",10,0),o$(2,"span",11)(3,"br")(4,"strong",4),s$()),2&e){var n=qj(2);_H("height",n.getHeight()),n$("title",n.storedBranch.name),$A(2),n$("translate","BANKSEARCH_YOUR_SELECTION"),$A(2),n$("innerText",n.storedBranch.name)}}function g_e(e,t){1&e&&o$(0,"span",12),2&e&&SH(qj(2).changeBranchIcon)}function v_e(e,t){if(1&e){var n=w$();HV(0,m_e,5,5,"div",2),r$(1,"button",3),nU(2,"labelByIds"),nU(3,"labelByIds"),jj("click",function(){return a_(n),l_(qj().forwardToBranchPage())}),o$(4,"span",4),s$(),r$(5,"div",5)(6,"button",6),nU(7,"labelByIds"),nU(8,"labelByIds"),jj("click",function(){return a_(n),l_(qj().onSelectionHandler())}),r$(9,"span",7),HV(10,g_e,1,2,"span",8),o$(11,"span",9),s$()()()}if(2&e){var i=qj();UV(i.visibleBranch&&i.showBranch?0:-1),$A(),SH(i.params.forwardButton?i.params.forwardButton.buttonStyle:"btn-default"),n$("id",rU(2,10,$z(22,d_e),i.params.id)),sV("aria-labelledby",rU(3,13,jz(23,h_e,i.params.labeledByIdName),i.params.id)),$A(3),n$("innerText",i.setButtonText()),$A(2),n$("id",rU(7,16,$z(25,p_e),i.params.id)),sV("aria-labelledby",rU(8,19,jz(26,f_e,i.params.labeledByIdName),i.params.id)),$A(4),UV(i.changeBranchIcon?10:-1),$A(),n$("translate","BANKSEARCH_CHANGE_BANK")}}function y_e(e,t){if(1&e){var n=w$();r$(0,"button",13),nU(1,"labelByIds"),nU(2,"labelByIds"),jj("click",function(){return a_(n),l_(qj().onSelectionHandler())}),o$(3,"span",14)(4,"span",15),s$()}if(2&e){var i=qj();SH(i.params.forwardButton?i.params.forwardButton.buttonStyle:"btn-default"),n$("id",rU(1,7,$z(13,d_e),i.params.id)),sV("aria-labelledby",rU(2,10,jz(14,h_e,i.params.labeledByIdName),i.params.id)),$A(3),SH(i.params.forwardButton.icon),$A(),n$("innerText",i.setButtonText())}}var b_e=function(){function e(e,t,n,i){this.df=e,this.bankSearchService=t,this.elRef=n,this.translate=i,this.visibleBranch=!1,this.onSelection=new rD,this.showBranch=!1,this.removeRedirectOverlay=function(e){var t;e.persisted&&(null===(t=document.querySelector(".redirect-overlay"))||void 0===t||t.remove())}}return e.prototype.ngOnInit=function(){this.elRef.nativeElement.closest(".quickbar-btn")||(this.params.forwardButton.icon=null),window.addEventListener("pageshow",this.removeRedirectOverlay)},e.prototype.ngAfterContentInit=function(){this.showBranch=!0},e.prototype.onSelectionHandler=function(){this.onSelection.emit([{location:this.storedBranch}])},e.prototype.createUTMUrl=function(e){return(new Dpe).transform(e)},e.prototype.forwardToBranchPage=function(){var e=this;this.bankSearchService.getBankBranchURL(this.storedBranch.id,this.suffix
1).subscribe(function(t){if(null!==t){var n=document.createElement("div");n.className="redirect-overlay",n.innerHTML='\n                        <div class="redirect-overlay__content">\n                            <span class="icon icon-check_circle"></span>\n                            <h2>'.concat(e.translate.instant("REDIRECT_TO_BANK"),"</h2>\n                            <p>").concat(e.storedBranch.name,'</p>\n                            <div class="redirect-overlay__loader">\n                                <span></span>\n                                <span></span>\n                                <span></span>\n                            </div>\n                        </div>\n                    '),document.body.appendChild(n),e.trackingProp&&E5.A.eventTracking(e.trackingProp.active,e.trackingProp.categorie,"Klick auf Button Überleitung zur Primärbank",{ctaType:e.trackingProp.type}),window.location.href=t}})},e.prototype.getHeight=function(){if(this.branchName){var e=this.elRef.nativeElement.closest(".cta-visible");if(e)return e.querySelector(".container-content").style.paddingBottom=this.branchName.nativeElement.offsetHeight+"px",this.branchName.nativeElement.offsetHeight+"px"}},e.prototype.setButtonText=function(){return this.params.forwardButton?this.params.forwardButton.linkTextWithBlzCookie&&this.storedBranch?this.params.forwardButton.linkTextWithBlzCookie:this.params.forwardButton.linkText:"OK"},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Yce),qP(xC),qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["stored-location_"]],viewQuery:function(e,t){var n;(1&e&&Kj(u_e,5),2&e)&&(Jj(n=Xj())&&(t.branchName=n.first))},inputs:{params:"params",trackingProp:"trackingProp",suffix:"suffix",storedBranch:"storedBranch",visibleBranch:"visibleBranch",changeBranchIcon:"changeBranchIcon"},outputs:{onSelection:"onSelection"},standalone:!1,decls:2,vars:2,consts:[["branchName",""],["aria-haspopup","dialog","data-dialog-open","true",1,"btn",3,"class","id"],[1,"branch-name","text-center","small",3,"height","title"],[1,"btn",3,"click","id"],[3,"innerText"],[1,"text-center"],["type","button","aria-haspopup","dialog","data-dialog-open","true",1,"btn-clear","change-branch",3,"click","id"],[1,"underline-clickable"],["aria-hidden","true",3,"class"],[1,"tracking-normal",3,"translate"],[1,"branch-name","text-center","small",3,"title"],[3,"translate"],["aria-hidden","true"],["aria-haspopup","dialog","data-dialog-open","true",1,"btn",3,"click","id"],["aria-hidden","true",1,"quickbar-icon"],[1,"btn-text",3,"innerText"]],template:function(e,t){1&e&&(HV(0,v_e,12,28),HV(1,y_e,5,16,"button",1)),2&e&&(UV(t.params.forwardButton.icon?-1:0),$A(),UV(t.params.forwardButton.icon?1:-1))},dependencies:[e2,Cue],encapsulation:2}),e}();function w_e(){return w_e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},w_e.apply(null,arguments)}var __e=["bankWrapper"];function x_e(e,t){if(1&e){var n=w$();r$(0,"div",1,0)(2,"client-location-button_",3),jj("onSelection",function(e){return a_(n),l_(qj().openBanksearch(e))}),s$(),o$(3,"p",4),r$(4,"auto-complete-location_",5),jj("onSelection",function(e){return a_(n),l_(qj().openBanksearch(e))}),s$()()}if(2&e){var i=qj();$A(2),n$("trackingProp",i.lsContent.trackingProp),$A(),n$("translate","OR"),$A(),n$("hideResultsOnBlur",i.params.hideResultsOnBlur)("filter",i.params.filter)("trackingProp",i.lsContent.trackingProp)}}function k_e(e,t){if(1&e){var n=w$();r$(0,"div",null,0)(2,"stored-location_",6),jj("onSelection",function(e){return a_(n),l_(qj().openBanksearch(e))}),s$()()}if(2&e){var i=qj();$A(2),n$("params",i.params)("trackingProp",i.lsContent.trackingProp)("suffix",i.suffix)("storedBranch",i.storedBranch)("visibleBranch",i.visibleBranch)("changeBranchIcon",i.changeBranchIcon)}}function C_e(e,t){if(1&e){var n=w$();r$(0,"div",null,0)(2,"auto-complete-location_",7),jj("onSelection",function(e){return a_(n),l_(qj().openBanksearch(e))})("onInputFocus",function(e){return a_(n),l_(qj().bankSearchInputFocus(e))})("currentItemIndexEnter",function(e){return a_(n),l_(qj().focusIndex(e))}),s$(),r$(3,"client-location-button_",8),jj("onSelection",function(e){return a_(n),l_(qj().openBanksearch(e))})("onError",function(){return a_(n),l_(qj().geoLocationSearchError())})("onSuccess",function(){return a_(n),l_(qj().geoLocationSearchSuccess())})("onAfterEnter",function(e){return a_(n),l_(qj().afterLocationEnter(e))}),s$()()}if(2&e){var i=qj();
1xH("geolocation-error",i.geolocationError),sV("aria-live","polite"),$A(2),n$("hideResultsOnBlur",!0)("filter",i.params.filter)("showDisl",i.params.dislodgedDevices)("footerBankSearch",i.footerBankSearch),$A(),n$("hidden",!i.inputFocus)("footerBankSearch",i.footerBankSearch)("buttonEnter",i.thisIndexEnter)}}var S_e=function(){function e(e){this.cd=e,this.storedBranch=null,this.footerBankSearch=!1,this.suffix=null,this.params=null,this.visibleBranch=!1,this.changeBranchIcon=null,this.inputFocus=!1,this.thisIndexEnter=!1,this.action=window.registeredActions.bankstellensuche,this.lsContent=Kwe.getModel(),this.stringToObj=function(e){if("string"==typeof e){var t=e.replace(/\'/g,'"'),n=JSON.parse(JSON.stringify(t));return"string"==typeof n&&(n=JSON.parse(n)),n}return"object"==typeof e?e:null},this.parseJson=function(e){return"string"==typeof e?JSON.parse(e):e}}return e.prototype.ngOnInit=function(){this.params=this.stringToObj(this.params),this.storedBranch=this.parseJson(this.storedBranch)},e.prototype.openBanksearch=function(e){wle.Z.triggerAction(this.action,w_e(e[0],this.params),K5()(this.bankWrapper.nativeElement).find('[data-dialog-open="true"]'))},e.prototype.focusIndex=function(e){this.thisIndexEnter=e},e.prototype.afterLocationEnter=function(e){this.thisIndexEnter=e},e.prototype.bankSearchInputFocus=function(e){this.inputFocus=e[0].status,this.cd.detectChanges()},e.prototype.geoLocationSearchError=function(){this.geolocationError=!0},e.prototype.geoLocationSearchSuccess=function(){this.geolocationError=!1},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["location-search_"]],viewQuery:function(e,t){var n;(1&e&&Kj(__e,5),2&e)&&(Jj(n=Xj())&&(t.bankWrapper=n.first))},inputs:{storedBranch:"storedBranch",footerBankSearch:"footerBankSearch",suffix:"suffix",params:"params",visibleBranch:"visibleBranch",changeBranchIcon:"changeBranchIcon",labeledById:"labeledById"},standalone:!1,decls:3,vars:3,consts:[["bankWrapper",""],[1,"location-search-wrapper"],[3,"geolocation-error"],[3,"onSelection","trackingProp"],[1,"or-seperator",3,"translate"],[3,"onSelection","hideResultsOnBlur","filter","trackingProp"],[1,"stored-location",3,"onSelection","params","trackingProp","suffix","storedBranch","visibleBranch","changeBranchIcon"],[3,"onSelection","onInputFocus","currentItemIndexEnter","hideResultsOnBlur","filter","showDisl","footerBankSearch"],[3,"onSelection","onError","onSuccess","onAfterEnter","hidden","footerBankSearch","buttonEnter"]],template:function(e,t){1&e&&(HV(0,x_e,5,5,"div",1),HV(1,k_e,3,6,"div"),HV(2,C_e,4,10,"div",2)),2&e&&(UV(t.storedBranch||t.footerBankSearch?-1:0),$A(),UV(t.storedBranch&&!t.footerBankSearch?1:-1),$A(),UV(t.footerBankSearch?2:-1))},dependencies:[e2,n_e,c_e,b_e],encapsulation:2}),e}(),T_e=function(){function e(e){this.injector=e;var t=T2(S_e,{injector:e});customElements.define("rwm-location-search",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,RX,T5,C5]}),e}();function E_e(e,t){if(1&e){var n=w$();r$(0,"a",3),jj("click",function(e){return a_(n),l_(qj().changeBank(e))}),o$(1,"span",5),VH(2),nU(3,"translate"),s$()}if(2&e){var i=qj();sV("data-action-params",i.stringifyObj(i.params)),$A(2),XH(" ",iU(3,2,"BANKSEARCH_CHANGE_BANK")," ")}}var I_e=new $5.Fv,A_e=function(){function e(){this.showChangeBank=!1,this.updateView=new rD,this.action=window.registeredActions.bankstellensuche}return e.prototype.onUpdateBranchHandler=function(){this.updateView.emit()},e.prototype.changeBank=function(e){wle.Z.handleAction(e.currentTarget,e,this.action)},e.prototype.clearStoredBranch=function(){I_e.remove($5.YM.branch),this.onUpdateBranchHandler()},e.prototype.stringifyObj=function(e){return JSON.stringify(e)},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["popover-content"]],inputs:{showChangeBank:"showChangeBank",params:"params"},outputs:{updateView:"updateView"},standalone:!1,decls:9,vars:5,consts:[[3,"translate"],[1,"popover-link"],["href","javascript:void(0)",1,"underline-clickable","icon-anchor"],["href","javascript:void(0)",1,"underline-clickable","icon-anchor",3,"click"],["aria-hidden","true",1,"icon-trash"],["aria-hidden","true",1,"icon-compass"]],template:function(e,t){1&e&&(r$(0,"ul"),o$(1,"li",0),s$(),r$(2,"div",1),HV(3,E_e,4,4,"a",2),s$(),r$(4,"div",1)(5,"a",3),jj("click",function(){return t.clearStoredBranch()}),o$(6,"span",4),VH(7),nU(8,"translate"),s$()()),2&e&&($A(),n$("translate","LOCATIONSEARCH_TOOLTIP_LISTITEM"),$A(2),UV(t.showChangeBank?3:-1),$A(4),XH(" ",iU(8,3,"DELETE_ASSIGNMENT")," "))},dependencies:[e2,t2],encapsulation:2}),e}(),D_e=o(4692),M_e=["popoverButton"],O_e=["popover"],P_e=["popoverOverlay"],L_e=["*"],N_e=function(e){return{"popover-open":e}},R_e=function(e){return{show:e}},B_e=function(e){return{query:e}};function F_e(e,t){1&e&&o$(0,"div",12)}var V_e=function(){function e(e){this.cd=e,this.onUpdateBranch=new rD,this.uId="popover"+E5.A.uidGenerator(),this.show=!1,this.arrowStyle=0,this.popoverStyles={position:"absolute",transform:"translate3d( 0, 0,  0)",top:0,left:0,"will-change":"transform"},this.visibleSlickBackdrop=!1}return e.prototype.onKeydownHandler=function(e){this.closePopOver()},e.prototype.updateBranch=function(){this.closeElements(),this.onUpdateBranch.emit()},e.prototype.closePopOver=function(){this.show&&this.closeElements()},e.prototype.togglePopup=function(){var e=this;this.show=!this.show,this.show?(this.appendTo&&(this.appendPopover=D_e(this.popover.nativeElement).appendTo(this.appendTo)),this.backdrop=D_e("<div>",{class:"popover-backdrop","aria-hidden":"true"}).appendTo("body"),D_e(".popover-backdrop").on("click",function(){e.closeElements()}),this.placement()):this.closeElements()},e.prototype.closeElements=function(){this.show=!1,this.visibleSlickBackdrop=!1,this.backdrop.remove(),this.appendTo&&this.appendPopover.remove()},e.prototype.onResize=function(){this.show&&(this.appendTo?this.closeElements():this.placement())},e.prototype.placement=function(){var e,t=this.button.nativeElement,n=this.popover.nativeElement?this.popover.nativeElement:this.appendPopover,i=t.offsetHeight,r=t.offsetWidth,s=0!==n.offsetWidth?n.offsetWidth:r,o=i+t.offsetTop;switch(!0){case void 0!==this.appendTo:var a=this.pageOffset(t);o=a.top+(i+t.offsetTop),e=a.left+r/2-s/2,this.popoverStyles.width=s,this.arrowStyle=Math.floor(s/2);break;case t.offsetLeft+s>=window.outerWidth:e=t.offsetLeft+(r+15)-s,this.arrowStyle=Math.floor(s-(r+7.5));break;default:e=(r-s)/2,this.arrowStyle=Math.floor(s/2)}this.popoverStyles.transform="translate3d("+e+"px, "+o+"px,  0)",this.cd.detectChanges()},e.prototype.pageOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+i,left:t.left+n}},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["location-tooltip-popover_"]],viewQuery:function(e,t){if(1&e&&(Kj(M_e,5),Kj(O_e,5),Kj(P_e,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.button=n.first),Jj(n=Xj())&&(t.popover=n.first),Jj(n=Xj())&&(t.overlay=n.first)}},hostBindings:function(e,t){1&e&&jj("resize",function(){return t.onResize()},uA)("keydown.escape",function(e){return t.onKeydownHandler(e)},dA)},inputs:{showChangeBank:"showChangeBank",params:"params",storedBranch:"storedBranch",appendTo:"appendTo"}
1,outputs:{onUpdateBranch:"onUpdateBranch"},standalone:!1,ngContentSelectors:L_e,decls:14,vars:20,consts:[["popoverButton",""],["popover",""],["type","button",1,"tooltip-button",3,"click","ngClass"],["role","tooltip",1,"popover","bs-popover-bottom","fade",3,"ngClass","id","ngStyle"],[1,"arrow"],["type","button",1,"close",3,"click"],["aria-hidden","true",1,"icon-close-small"],[1,"visually-hidden",3,"translate"],[1,"popover-header",3,"translate","translateParams"],[1,"popover-body"],[3,"updateView","showChangeBank","params"],["href","javascript:void(0)","tabindex","0",1,"visually-hidden-focusable","underline-clickable",3,"click","translate"],["aria-hidden","true",1,"popover-backdrop"]],template:function(e,t){if(1&e){var n=w$();Gj(),r$(0,"button",2,0),jj("click",function(){return a_(n),l_(t.togglePopup())}),Zj(2),s$(),r$(3,"div",3,1),o$(5,"div",4),r$(6,"button",5),jj("click",function(){return a_(n),l_(t.closePopOver())}),o$(7,"span",6)(8,"span",7),s$(),o$(9,"h3",8),r$(10,"div",9)(11,"popover-content",10),jj("updateView",function(){return a_(n),l_(t.updateBranch())}),s$()(),r$(12,"a",11),jj("click",function(){return a_(n),l_(t.closePopOver())}),s$()(),HV(13,F_e,1,0,"div",12)}2&e&&(n$("ngClass",jz(14,N_e,t.show)),sV("aria-describedby",t.uId),$A(3),n$("ngClass",jz(16,R_e,t.show))("id",t.uId)("ngStyle",t.popoverStyles),$A(2),_H("left",t.arrowStyle,"px"),$A(3),n$("translate","CLOSE"),$A(),n$("translate","LOCATIONSEARCH_TOOLTIP_HEADLINE")("translateParams",jz(18,B_e,t.storedBranch.name)),$A(2),n$("showChangeBank",t.showChangeBank)("params",t.params),$A(),n$("translate","CLOSE"),$A(),UV(t.visibleSlickBackdrop?13:-1))},dependencies:[GJ,cX,e2,A_e],encapsulation:2}),e}();function $_e(){return $_e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$_e.apply(null,arguments)}var j_e=function(e){return{query:e}};function H_e(e,t){1&e&&o$(0,"div",4),2&e&&n$("innerHTML",qj(2).content,WI)}function z_e(e,t){1&e&&o$(0,"p",5),2&e&&n$("translate","BANKTEASER_CONTENT")}function U_e(e,t){if(1&e&&(r$(0,"div"),HV(1,H_e,1,1,"div",4),HV(2,z_e,1,1,"p",5),s$()),2&e){var n=qj();$A(),UV(n.content?1:-1),$A(),UV(n.content?-1:2)}}function q_e(e,t){if(1&e&&(r$(0,"div"),o$(1,"p",6),nU(2,"escapeHtml"),nU(3,"translate"),s$()),2&e){var n=qj();$A(),n$("innerHTML",rU(3,3,"BANKTEASER_CONTENT_STORED_BANK",jz(6,j_e,iU(2,1,n.storedBranch.name))),WI)}}function W_e(e,t){if(1&e){var n=w$();r$(0,"location-tooltip-popover_",7),jj("onUpdateBranch",function(){return a_(n),l_(qj().updateBranch())}),o$(1,"span",8)(2,"span",9),s$()}if(2&e){var i=qj();n$("showChangeBank",!1)("storedBranch",i.storedBranch),$A(2),n$("translate","INFORMATION")}}var G_e=function(){function e(){this.defaultParams={headline:null,suffix:null,hideResultsOnBlur:!0,forwardButton:{linkText:"Zu meiner Raiffeisenbank",buttonStyle:"btn-default"},ctaPrimary:{action:"redirect",params:{linkTarget:"_self",linkText:"Zum Angebot"}},ctaSecondary:null,hideMap:!1,hideRoutePlaner:!1}}return e.prototype.ngOnInit=function(){this.params="undefined"!==this.params?JSON.parse(this.params):{},this.params=$_e(this.defaultParams,this.params),this.params.suffix=this.suffix,this.params.ctaSecondary.action="redirect",this.storedBranch=this.getStoredBank()},e.prototype.updateBranch=function(){this.storedBranch=this.getStoredBank(),Q5.Z.publish("userbranch.update",void 0)},e.prototype.getStoredBank=function(){var e=new $5.Fv;try{return e.get($5.YM.branch,$5.YM.otGroupBranch)}catch(e){return null}},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["primary-bank-teaser_"]],inputs:{title:"title",content:"content",params:"params",suffix:"suffix"},standalone:!1,decls:6,vars:7,consts:[[1,"container"],[1,"bankteaser-title",3,"translate"],[3,"suffix","storedBranch","params"],[3,"showChangeBank","storedBranch"],[1,"bankteaser-text","rte","text-md-center",3,"innerHTML"],[1,"bankteaser-text","text-md-center",3,"translate"],[1,"bankteaser-text","text-md-center",3,"innerHTML"],[3,"onUpdateBranch","showChangeBank","storedBranch"],["aria-hidden","true",1,"icon-info"],[1,"visually-hidden",3,"translate"]],template:function(e,t){1&e&&(r$(0,"div",0),o$(1,"h2",1),HV(2,U_e,3,2,"div"),HV(3,q_e,4,8,"div"),o$(4,"location-search_",2),HV(5,W_e,3,3,"location-tooltip-popover_",3),s$()),2&e&&($A(),n$("translate",t.title?t.title:"BANKTEASER_HEADLINE"),$A(),UV(t.storedBranch?-1:2),$A(),UV(t.storedBranch?3:-1),$A(),n$("suffix",t.params.suffix)("storedBranch",t.storedBranch)("params",t.params),$A(),UV(t.storedBranch?5:-1))},dependencies:[e2,S_e,V_e,t2,yoe],encapsulation:2}),e}(),Z_e=function(){function e(e){this.injector=e;var t=T2(V_e,{injector:e});customElements.define("rwm-location-tooltip-popover",t)}return e.prototype.ngDoBootstrap=function(){console.log("Bootstrap LocationTooltipPopoverComponent")},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),Y_e=function(){function e(e){this.injector=e;var t=T2(G_e,{injector:e});customElements.define("rwm-primary-bank-teaser",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,RX,T5,T_e,Z_e]}),e}(),K_e=o(4692),J_e=function(e){return{query:e}},X_e=function(){function e(){this.onSelection=new rD,this.collapseElement=!0,this.storage=new $5.Fv,this.branchName=this.storage.get($5.YM.branch,$5.YM.otGroupBranch).name}return e.prototype.toggleFilter=function(e){e.stopPropagation(),e.preventDefault(),this.collapseElement=!1,this.collapsed=!this.collapsed},e.prototype.closeTooltip=function(){this.collapseElement=!0,this.collapsed=!0},e.prototype.clearStoredBranch=function(){this.storage.remove($5.YM.branch),K_e("body").trigger("click.closePopover"),Q5.Z.publish("userbranch.update",void 0)},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["location-tooltip_"]],outputs:{onSelection:"onSelection"},standalone:!1,decls:17,vars:17,consts:[["type","button",1,"tooltip-button",3,"click"],["aria-hidden","true",1,"icon-info"],[1,"visually-hidden",3,"translate"],["id","location-tooltip"],["type","button",1,"back-button",3,"click"],["aria-hidden","true",1,"icon-paging_arrow_left"],[1,"visually-hidden"],[1,"popover-header",3,"translate","translateParams"],[1,"popover-content"],[3,"translate"],["href","javascript:void(0)",1,"underline-clickable","icon-anchor",3,"click"],["aria-hidden","true",1,"icon-trash"]],template:function(e,t){1&e&&(r$(0,"button",0),jj("click",function(e){return t.toggleFilter(e)}),o$(1,"span",1)(2,"span",2),s$(),r$(3,"div",3)(4,"button",4),jj("click",function(){return t.closeTooltip()}),o$(5,"span",5),r$(6,"span",6),VH(7),nU(8,"translate"),s$()(),o$(9,"h3",7),r$(10,"div",8)(11,"ul"),o$(12,"li",9),s$(),r$(13,"a",10),jj("click",function(){return t.clearStoredBranch()}),o$(14,"span",11),VH(15),nU(16,"translate"),s$()()()),2&e&&(sV("aria-expanded",!t.collapsed)("aria-controls","bank-search-filters"),$A(2),n$("translate","INFORMATION"),$A(),SH(vz("info-layer collapse ",t.collapseElement?"":"show")),$A(4),JH(iU(8,11,"BACK")),$A(2),n$("translate","LOCATIONSEARCH_TOOLTIP_HEADLINE")("translateParams",jz(15,J_e,t.branchName)),$A(3),n$("translate","LOCATIONSEARCH_TOOLTIP_LISTITEM"),$A(3),XH(" ",iU(16,13,"DELETE_ASSIGNMENT")," "))},dependencies:[e2,t2],encapsulation:2}),e}(),Q_e=function(){function e(e){this.injector=e;var t=T2(X_e,{injector:e});customElements.define("rwm-location-tooltip",t)}return e.prototype.ngDoBootstrap=function(){console.log("Bootstrap LocationTooltipComponent")},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}(),exe=function(e){return{ageLimit:e}},txe=function(e){return{"component-discount-info-map row":e}},nxe=function(e){return{"col-12 col-md-6 info-next-to-map":e}};function ixe(e,t){if(1&e&&(r$(0,"picture"),o$(1,"source",11)(2,"img",12),s$()),2&e){var n=qj(3);
1$A(),n$("srcset",gz(n.setHeaderPicture(n.result.headerPictureLarge))),$A(),n$("src",gz(n.setHeaderPicture(n.result.headerPicture)),ZI)("srcset",vz("",n.setHeaderPicture(n.result.headerPicture)," 1x"))("alt",gz(n.result.headerPictureAlt))}}function rxe(e,t){if(1&e&&(r$(0,"picture",9),o$(1,"img",12),s$()),2&e){var n=qj(3);$A(),n$("src",gz(n.setHeaderPicture(n.result.headerPicture)),ZI)("srcset",vz("",n.setHeaderPicture(n.result.headerPicture)," 1x"))("alt",gz(n.result.headerPictureAlt))}}function sxe(e,t){if(1&e&&(r$(0,"picture",10),o$(1,"img",12),s$()),2&e){var n=qj(3);$A(),n$("src",gz(n.setHeaderPicture(n.result.headerPictureLarge)),ZI)("srcset",vz("",n.setHeaderPicture(n.result.headerPictureLarge)," 1x"))("alt",gz(n.result.headerPictureAlt))}}function oxe(e,t){if(1&e&&(r$(0,"section",1),HV(1,ixe,3,8,"picture"),HV(2,rxe,2,6,"picture",9),HV(3,sxe,2,6,"picture",10),s$()),2&e){var n=qj(2);$A(),UV(null!==n.result.headerPictureLarge&&null!==n.result.headerPicture?1:-1),$A(),UV(null===n.result.headerPictureLarge&&null!==n.result.headerPicture?2:-1),$A(),UV(null===n.result.headerPicture&&null!==n.result.headerPictureLarge?3:-1)}}function axe(e,t){if(1&e&&(r$(0,"h1"),VH(1),s$()),2&e){var n=qj(3);$A(),JH(n.result.title)}}function lxe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(3);$A(),JH(n.result.shortDescription)}}function cxe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(3);$A(),JH(n.result.detailText)}}function uxe(e,t){if(1&e&&(r$(0,"section",2)(1,"div",5)(2,"div",6),HV(3,axe,2,1,"h1"),HV(4,lxe,2,1,"p"),HV(5,cxe,2,1,"p"),s$()()()),2&e){var n=qj(2);$A(3),UV(n.result.title?3:-1),$A(),UV(n.result.shortDescription?4:-1),$A(),UV(n.result.detailText?5:-1)}}function dxe(e,t){1&e&&o$(0,"div",25),2&e&&n$("translate","Promo-Code"===qj(5).result.benefitType?"CLUB_BENEFIT_SIGN_IN_GENERATE_PROMO_CODE":"CLUB_BENEFIT_SIGN_IN_GET_SHOP_LINK")}function hxe(e,t){1&e&&o$(0,"div",25),2&e&&n$("translate","Promo-Code"===qj(5).result.benefitType?"CLUB_BENEFIT_GENERATE_PROMO_CODE":"CLUB_BENEFIT_GET_SHOP_LINK")}function pxe(e,t){if(1&e){var n=w$();r$(0,"a",24),jj("click",function(){return a_(n),l_(qj(4).getPromocode())}),HV(1,dxe,1,1,"div",25),HV(2,hxe,1,1,"div",25),s$()}if(2&e){var i=qj(4);$A(),UV(i.loggedIn?-1:1),$A(),UV(i.loggedIn?2:-1)}}function fxe(e,t){1&e&&o$(0,"a",23),2&e&&n$("translate","Promo-Code"===qj(4).result.benefitType?"CLUB_BENEFIT_CANNOT_GENERATE_PROMO_CODE":"CLUB_BENEFIT_CANNOT_GENERATE_SHOP_LINK")}function mxe(e,t){if(1&e&&(r$(0,"div",7),HV(1,pxe,3,2,"a",22),HV(2,fxe,1,1,"a",23),s$()),2&e){var n=qj(3);$A(),UV(!1!==n.isMember?1:-1),$A(),UV(!1===n.isMember?2:-1)}}function gxe(e,t){if(1&e&&(r$(0,"section",13)(1,"div",5)(2,"div",6)(3,"div",14)(4,"div",15)(5,"p",16),o$(6,"span",17),r$(7,"span",18),VH(8),nU(9,"translate"),s$(),VH(10),nU(11,"date"),s$()(),r$(12,"div",15)(13,"p",16),o$(14,"span",19),r$(15,"span",18),VH(16),nU(17,"translate"),s$(),VH(18),s$()(),r$(19,"div",15)(20,"p",16),o$(21,"span",20),r$(22,"span",18),VH(23),nU(24,"translate"),s$(),VH(25),s$()()(),r$(26,"div",21),VH(27),s$()()(),HV(28,mxe,3,2,"div",7),s$()),2&e){var n=qj(2);xH("cta-visible",!1===n.result.showMap),$A(8),JH(iU(9,10,"DISCOUNT_EXPIRATION")),$A(2),XH(" ",!n.result.validIndefinitely&&n.result.validTo?rU(11,12,n.result.validTo,"dd.MM.yyyy"):"Unbegrenzt gültig"," "),$A(6),JH(iU(17,15,"DISCOUNT_VALUE")),$A(2),XH(" ",n.result.voucherValue," "),$A(5),JH(iU(24,17,"DISCOUNT_AVAILABILITY")),$A(2),XH(" ",n.result.redeemable," "),$A(2),XH(" ",n.result.redeemableDescription," "),$A(),UV("Promo-Code"===n.result.benefitType||"Link"===n.result.benefitType?28:-1)}}function vxe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(4);
1$A(),JH(n.result.promotionCodeDescription)}}function yxe(e,t){if(1&e&&(r$(0,"strong"),o$(1,"p",25),s$(),r$(2,"p",29),VH(3),s$()),2&e){var n=qj(5);$A(),n$("translate",n.noPromocode?"CLUB_BENEFIT_PERSONAL_PROMO_CODE_ALREADY_USED":"CLUB_BENEFIT_PERSONAL_PROMO_CODE"),$A(2),JH(n.promocodeResult.code)}}function bxe(e,t){1&e&&o$(0,"p",25),2&e&&n$("translate","CLUB_BENEFIT_PROMO_CODE_NOT_AVAILABLE")}function wxe(e,t){if(1&e&&(HV(0,yxe,4,2),HV(1,bxe,1,1,"p",25)),2&e){var n=qj(4);UV(n.promocodeResult&&null!=n.promocodeResult&&n.promocodeResult.code?0:-1),$A(),UV(!n.noPromocode||null!=n.promocodeResult&&n.promocodeResult.code?-1:1)}}function _xe(e,t){if(1&e&&(r$(0,"div"),o$(1,"p",25),r$(2,"p",29),VH(3),s$()()),2&e){var n=qj(5);$A(),n$("translate","CLUB_BENEFIT_PROMO_CODE_REUSEABLE_FIRST"),$A(2),XH(" ",n.getLastPromoCode())}}function xxe(e,t){if(1&e&&(r$(0,"div"),o$(1,"p",25),r$(2,"p",29),VH(3),s$()()),2&e){var n=qj(5);$A(),n$("translate","CLUB_BENEFIT_PROMO_CODE_REUSEABLE_SECOND"),$A(2),JH(n.getBeforeLastPromoCode())}}function kxe(e,t){if(1&e&&(r$(0,"div"),o$(1,"p",25),r$(2,"p",29),VH(3),s$()()),2&e){var n=qj(6);$A(),n$("translate","CLUB_BENEFIT_PROMO_CODE_REUSEABLE_SECOND"),$A(2),XH(" ",n.getLastPromoCode())}}function Cxe(e,t){if(1&e&&(r$(0,"div"),HV(1,kxe,4,2,"div"),o$(2,"p",25),s$()),2&e){var n=qj(5);$A(),UV(void 0!==n.getLastPromoCode()?1:-1),$A(),n$("translate","CLUB_BENEFIT_PROMO_CODE_NOT_AVAILABLE")}}function Sxe(e,t){if(1&e&&(r$(0,"strong"),HV(1,_xe,4,2,"div"),r$(2,"div"),HV(3,xxe,4,2,"div"),HV(4,Cxe,3,2,"div"),s$()()),2&e){var n=qj(4);$A(),UV(void 0!==n.getLastPromoCode()&&!1===n.noPromocode?1:-1),$A(2),UV(void 0!==n.getBeforeLastPromoCode()&&!1===n.noPromocode?3:-1),$A(),UV(!0===n.noPromocode?4:-1)}}function Txe(e,t){if(1&e&&(r$(0,"div"),HV(1,vxe,2,1,"p"),r$(2,"div",28),HV(3,wxe,2,2),HV(4,Sxe,5,3,"strong"),s$()()),2&e){var n=qj(3);
1$A(),UV(n.result.promotionCodeDescription?1:-1),$A(2),UV("einmalig"!==n.result.redeemable||n.isLoadingCode?-1:3),$A(),UV("unbegrenzt"===n.result.redeemable?4:-1)}}function Exe(e,t){if(1&e&&(r$(0,"p"),VH(1),s$()),2&e){var n=qj(4);$A(),JH(n.result.urlDescription)}}function Ixe(e,t){if(1&e&&(r$(0,"div"),HV(1,Exe,2,1,"p"),r$(2,"div",28)(3,"strong"),o$(4,"p",25),s$()()()),2&e){var n=qj(3);$A(),UV(n.result.urlDescription?1:-1),$A(3),n$("translate","CLUB_BENEFIT_PERSONAL_SHOP_LINK")}}function Axe(e,t){if(1&e&&(r$(0,"div",6)(1,"div",26)(2,"div",27),HV(3,Txe,5,3,"div"),HV(4,Ixe,5,2,"div"),s$()()()),2&e){var n=qj(2);$A(3),UV("Promo-Code"===n.result.benefitType?3:-1),$A(),UV("Link"===n.result.benefitType?4:-1)}}function Dxe(e,t){if(1&e&&(o$(0,"p",30),nU(1,"translate")),2&e){var n=qj(4);n$("innerHTML",rU(1,1,"CLUB_BENEFIT_ERROR_MESSAGE_PROMO_CODE",jz(4,exe,n.result.ageLimit)),WI)}}function Mxe(e,t){if(1&e&&(o$(0,"p",30),nU(1,"translate")),2&e){var n=qj(4);n$("innerHTML",rU(1,1,"CLUB_BENEFIT_ERROR_MESSAGE_SHOP_LINK",jz(4,exe,n.result.ageLimit)),WI)}}function Oxe(e,t){if(1&e&&(r$(0,"div",6)(1,"div",26)(2,"div",27),HV(3,Dxe,2,6,"p",30),HV(4,Mxe,2,6,"p",30),s$()()()),2&e){var n=qj(3);$A(3),UV("Promo-Code"===n.result.benefitType?3:-1),$A(),UV("Link"===n.result.benefitType?4:-1)}}function Pxe(e,t){if(1&e&&HV(0,Oxe,5,2,"div",6),2&e){var n=qj(2);UV("Promo-Code"===n.result.benefitType||"Link"===n.result.benefitType?0:-1)}}function Lxe(e,t){if(1&e&&(r$(0,"div",7),o$(1,"a",31),s$()),2&e){var n=qj(2);$A(),n$("href",n.result.url,ZI)("translate","CLUB_BENEFIT_TO_THE_SHOP_LINK")}}function Nxe(e,t){if(1&e&&(r$(0,"p"),VH(1),nU(2,"translate"),o$(3,"br"),VH(4),o$(5,"br"),VH(6),s$()),2&e){var n=qj(3);$A(),XH(" ",iU(2,4,"CLUB_BENEFIT_REDEEMED_ADVANTAGE")),$A(3),XH(" ",n.result.street),$A(2),QH("",n.result.zipCode," ",n.result.city," ")}}function Rxe(e,t){if(1&e&&(r$(0,"p"),VH(1),nU(2,"translate"),o$(3,"br"),r$(4,"a",35),VH(5),s$()()),2&e){var n=qj(3);$A(),XH(" ",iU(2,3,"CLUB_BENEFIT_WEBSITE")),$A(3),n$("href",n.result.shopUrl,ZI),$A(),JH(n.result.shopUrl)}}function Bxe(e,t){if(1&e&&(r$(0,"p"),VH(1),nU(2,"translate"),o$(3,"br"),VH(4),s$()),2&e){var n=qj(3);$A(),XH("",iU(2,2,"CLUB_BENEFIT_REDEEMED_WITH")," "),$A(3),JH("Raiffeisen Club-Karte"===n.result.benefitType?n.joinedRelationshipTypes():"Link"===n.result.benefitType?"Shop-Link":n.result.benefitType)}}function Fxe(e,t){1&e&&(r$(0,"div",34),o$(1,"div",36),s$())}function Vxe(e,t){if(1&e&&(r$(0,"section",32)(1,"div",5)(2,"div",6)(3,"div",26)(4,"div",33)(5,"p"),VH(6),s$(),HV(7,Nxe,7,6,"p"),HV(8,Rxe,6,5,"p"),HV(9,Bxe,5,4,"p"),s$()()()(),HV(10,Fxe,2,0,"div",34),s$()),2&e){var n=qj(2);SH(jz(9,txe,n.showMap)),$A(),SH(jz(11,nxe,n.showMap)),$A(5),JH(n.result.description),$A(),UV(n.result.street&&n.result.zipCode&&n.result.city?7:-1),$A(),UV(n.result.shopUrl?8:-1),$A(),UV(n.result.benefitType?9:-1),$A(),UV(n.showMap?10:-1)}}function $xe(e,t){if(1&e&&(r$(0,"div"),HV(1,oxe,4,3,"section",1),HV(2,uxe,6,3,"section",2),HV(3,gxe,29,19,"section",3),r$(4,"section",4)(5,"div",5),HV(6,Axe,5,2,"div",6),HV(7,Pxe,1,1),s$(),HV(8,Lxe,2,2,"div",7),s$(),HV(9,Vxe,11,13,"section",8),s$()),2&e){var n=qj();$A(),UV(n.result.headerPictureLarge?1:-1),$A(),UV(n.result.title||n.result.shortDescription?2:-1),$A(),UV(n.result.voucherValue&&n.result.redeemable?3:-1),$A(3),UV(!0===n.isMember?6:-1),$A(),UV(!1===n.isMember?7:-1),$A(),UV("Link"===n.result.benefitType&&!0===n.isMember?8:-1),$A(),UV(n.showMap||n.showOnlyInfo?9:-1)}}var jxe=new $5.c9,Hxe=function(){function e(e,t,n,i){var r=this;this.cd=e,this.clubServices=t,this.Location=n,this.translate=i,this.isLoading=!1,this.isLoadingCode=!1,this.promocode=null,this.promocodeResult=[],this.generatedPromocode=null,this.allGeneratedPromoCodes=[],this.counter=0,this.isMember=void 0,this.loggedIn=!1,this.showOnlyInfo=!1,this.showMap=!1,this.showDetailView=!0,this.noPromocode=!1,this.markerIcon={url:$9.q.getThemeImagePath()+"mapPins/pin.svg",scaledSize:{height:30,width:30},anchor:{x:10,y:10},origin:{x:0,y:0}},this.redirectCode=this.getParams("code"),this.createQueryParams=function(e,t){return(e.indexOf("?")>=0?"&":"?")+Object.keys(t).map(function(e){return"".concat(e,"=").concat(t[e])}).join("&")},this.getClubMemberSession=function(e){try{var t=jxe.get(e,void 0);return t?t.expiresAt&&Date.now()>t.expiresAt?(jxe.remove(e),null):t:null}catch(e){return null}},this.hasLoginSession=function(){r.loggedIn=!1,r.getClubMemberSession("clubMember")&&(r.loggedIn=!0)},this.setHeaderPicture=function(e){return null!=e?"/cachableservlets/wbcmedia?reductionId="+r.result.voucherId+"&mediaId="+e:null},this.getPromocode=function(){var e,t=r.getClubMemberSession("clubMember");if(t)t.hasOwnProperty("age")&&(r.isMember=!!t.age,e=t.accessToken,r.hasLoginSession()),t.age&&(r.isLoadingCode=!0,r.generatedPromocode=r.clubServices.generatePromoCode(r.discountId,"POST",e,t.age).subscribe(function(e){r.promocodeResult=e,r.allGeneratedPromoCodes.push(r.promocodeResult.code),jxe.set("promocode",r.promocodeResult,void 0,void 0),r.isLoadingCode=!1},function(t){403===t.status?(console.info("Check failed: User does not meet the age requirement for this promotion."),r.isMember=!1,r.isLoadingCode=!1):404===t.status||409===t.status||410===t.status?(r.noPromocode=!0,r.defaultPromocode(e)):(console.info("Session abgelaufen"),jxe.remove("clubMember"),r.getPromocode())}).add(function(){r.isLoading=!1,r.cd.detectChanges()})),r.isMember||r.cd.detectChanges();else{var n=j5.Bg,i={client_id:"RWM-WBC",response_type:"code",scope:"openid profile product-bus-rwm",redirect_uri:r.getReferrerURL()};window.location.href=n+r.createQueryParams(n,i)}},this.defaultPromocode=function(e){r.clubServices.generatePromoCode(r.discountId,"GET",e).subscribe(function(e){r.promocodeResult=e,jxe.set("promocode",r.promocodeResult,void 0,void 0)}).add(function(){r.isLoading=!1,r.isLoadingCode=!1,r.cd.detectChanges()})},this.getLastPromoCode=function(){return r.allGeneratedPromoCodes[r.allGeneratedPromoCodes.length-1]},this.getBeforeLastPromoCode=function(){return r.allGeneratedPromoCodes[r.allGeneratedPromoCodes.length-2]}}return e.prototype.ngOnInit=function(){var e=this;W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.loadDetails(e.discountId),e.redirectCode&&e.exchangeCode(e.getReferrerURL(),e.redirectCode)})},e.prototype.exchangeCode=function(e,t){var n=this;
1this.removeParam("code"),this.clubServices.exchangeCode(e,t).subscribe(function(e){var t=(0,$g.Cl)((0,$g.Cl)({},e),{expiresAt:Date.now()+36e5});if(jxe.set("clubMember",t,void 0,void 0),"Promo-Code"===n.result.benefitType)n.getPromocode();else if("Link"===n.result.benefitType){var i=n.getClubMemberSession("clubMember");n.isMember=!!i.age,n.hasLoginSession(),n.cd.detectChanges()}})},e.prototype.joinedRelationshipTypes=function(){var e,t,n=this;return null!==(t=null===(e=this.result.relationshipTypes)||void 0===e?void 0:e.map(function(e){return n.translate.instant(e.toUpperCase()+"_KARTE")}).join(", "))&&void 0!==t?t:""},e.prototype.loadDetails=function(e){var t=this;this.isLoading=!0,this.clubServices.detail(e).subscribe(function(e){t.result=e,!0===e.showMap&&e.street&&e.zipCode&&e.city&&(t.showMap=!0),!1!==e.showMap&&(!0!==e.showMap||e.street&&e.zipCode&&e.city)||(t.showOnlyInfo=!0)}).add(function(){t.hasLoginSession(),t.isLoading=!1,t.cd.detectChanges()})},e.prototype.getReferrerURL=function(){var e=new URL(window.location.href),t=this.getParams("cd-id");e.search="";var n=new URLSearchParams(e.search);return n.set("cd-id",t),e.search=n.toString(),encodeURIComponent(e.toString())},e.prototype.getParams=function(e){var t=new URL(window.location.href);return new URLSearchParams(t.search).get(e)},e.prototype.removeParam=function(e){var t=new URL(window.location.href),n=new URLSearchParams(t.search);n.delete(e);var i=n.toString()?"?"+n.toString():"";window.history.replaceState({},"",t.pathname+i)},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Xve),qP(aK),qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["club-detail"]],inputs:{discountId:"discountId"},standalone:!1,decls:2,vars:3,consts:[[1,"loading-container"],[1,"component-fullwidth","component-discount-image","component-spacer"],[1,"component-page-title","component-spacer"],[1,"content-section","component-content-box","border-left","component-spacer",3,"cta-visible"],[1,"content-section","component-content-box","component-spacer"],[1,"container-content"],[1,"content-wrapper"],[1,"cta-wrapper-content-box"],[1,"content-section","component-spacer","component-content-box",3,"class"],[1,"d-block","d-md-none"],[1,"d-none","d-md-block"],["media","(min-width: 768px)",3,"srcset"],[3,"src","srcset","alt"],[1,"content-section","component-content-box","border-left","component-spacer"],[1,"content-box-row","row"],[1,"component-content-box-teaser","has-icon","col-12","col-lg-4"],[1,"title"],["aria-hidden","true",1,"icon","icon-calendar"],[1,"visually-hidden"],["aria-hidden","true",1,"icon","icon-percent"],["aria-hidden","true",1,"icon","icon-online_store"],[1,"content-box-row","redemption-addition"],["href","javascript:void(0)","target","_self",1,"btn","btn-primary"],["href","javascript:void(0)","target","_self","disabled","true",1,"btn","btn-secondary",3,"translate"],["href","javascript:void(0)","target","_self",1,"btn","btn-primary",3,"click"],[3,"translate"],[1,"content-box-row"],[1,"component-text"],[1,"discount-text"],[1,"discount"],[3,"innerHTML"],[1,"btn","btn-primary",3,"href","translate"],[1,"content-section","component-spacer","component-content-box"],[1,"component-text","rte"],[1,"col-12","col-md-6"],["target","_blank","rel","noopener noreferrer",3,"href"],[1,"map-wrapper"]],template:function(e,t){1&e&&(HV(0,$xe,10,7,"div"),o$(1,"div",0)),2&e&&(UV(t.result&&!t.isLoading?0:-1),$A(),xH("loading",t.isLoading))},dependencies:[e2,xX,t2],encapsulation:2}),e}();function zxe(e,t){if(1&e&&(r$(0,"section",5),o$(1,"rwm-automated-list",6),s$()),2&e){var n=qj(2);$A(),n$("itemsPerRequest",n.itemsPerRequest)("loadOnScrollCount",n.loadAutomatic)("searchPlaceholder",n.placeholder)}}function Uxe(e,t){if(1&e&&(r$(0,"section",1)(1,"div",2)(2,"div",3),o$(3,"h1",4),s$()()(),HV(4,zxe,2,3,"section",5)),2&e){var n=qj();$A(3),n$("innerText",n.heading),$A(),UV(n.loadList?4:-1)}}function qxe(e,t){1&e&&o$(0,"club-detail",0),2&e&&n$("discountId",qj().cdID)}var Wxe=function(){function e(e,t){this.location=e,this.cd=t,this.showDetailView=this.searchParams("has","cd-id"),this.cdID=this.searchParams("get","cd-id"),this.loadList=!1}return e.prototype.ngOnInit=function(){var e=this;this.pushToState(),this.location.onUrlChange(function(){window.scroll(0,0),e.cdID=e.searchParams("get","cd-id"),setTimeout(function(){e.showDetailVie
1w=e.searchParams("has","cd-id"),e.loadList=!0,e.cd.detectChanges()},200)}),this.updateItemsPerRequest()},e.prototype.updateItemsPerRequest=function(){var e=window.innerWidth;e<1025?this.itemsPerRequest="10":e<1441&&(this.itemsPerRequest="9"),this.cd.detectChanges()},e.prototype.pushToState=function(){if(!this.cdID){var e=this.searchParams("has","federalStates")?this.searchParams("get","federalStates"):this.federalStateFilter,t=this.searchParams("has","relationshipTypes")?this.searchParams("get","relationshipTypes"):this.includeClubDiscounts;e&&this.searchParams("set","federalStates",e),t&&this.searchParams("set","relationshipTypes",t),this.loadList=!0}},e.prototype.searchParams=function(e,t,n){var i=new URL(window.location.href),r=new URLSearchParams(i.search);switch(e){case"get":return r.get(t);case"delete":r.delete(t),window.history.pushState(r.toString(),"",i.pathname);break;case"set":r.set(t,n);var s=r.toString()?"?"+r.toString():"";window.history.replaceState({},"",i.pathname+s);break;default:return r.has(t)}this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(aK),qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["clubDiscountComponent"]],inputs:{itemsPerRequest:"itemsPerRequest",loadAutomatic:"loadAutomatic",includeClubDiscounts:"includeClubDiscounts",federalStateFilter:"federalStateFilter",placeholder:"placeholder",heading:"heading"},standalone:!1,decls:2,vars:2,consts:[[1,"club-discount-detail",3,"discountId"],[1,"component-page-title","component-spacer"],[1,"container-content"],[1,"content-wrapper"],[3,"innerText"],[1,"content-section","component-automated-list","club-discount","component-spacer"],["type","club","use-history","true",3,"itemsPerRequest","loadOnScrollCount","searchPlaceholder"]],template:function(e,t){1&e&&(HV(0,Uxe,5,2),HV(1,qxe,1,1,"club-detail",0)),2&e&&(UV(t.showDetailView?-1:0),$A(),UV(t.showDetailView?1:-1))},dependencies:[Hxe],encapsulation:2}),e}(),Gxe=function(){function e(e){this.injector=e;var t=T2(Wxe,{injector:e});customElements.define("rwm-club-discount",t)}return e.prototype.ngDoBootstrap=function(){},e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,C5,_Q,T5,Ywe]}),e}(),Zxe=function(){function e(e){var t=this;this.http=e,this.search=function(e,n,i){var r=t.nullCheck({week:e,month:n,year:i}),s=j5.KT+j5.vZ.form.appointmentTime;return t.http.get(s,{params:r}).pipe(Ox(function(e){return e}))},this.nullCheck=function(e){return Object.entries(e).reduce(function(e,t){var n=(0,$g.zs)(t,2),i=n[0],r=n[1];return r?(e[i]=r,e):e},{})}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}();function Yxe(e,t){if(1&e){var n=w$();r$(0,"div",3)(1,"button",4),jj("click",function(){var e=a_(n).$implicit,t=qj().$implicit,i=qj();return l_(i.timeBlockSelect(e,t,i.year))}),r$(2,"span",5),VH(3),s$(),r$(4,"span",6),o$(5,"span",7),r$(6,"span",8)(7,"span",9),VH(8,"bis"),s$()(),o$(9,"span",10)(10,"span",11),s$()()()}if(2&e){var i=t.$implicit,r=qj().$implicit,s=qj();$A(),xH("selected",s.selected(i,r,s.year)),n$("disabled",i.disabled),sV("aria-checked",s.selected(i,r,s.year)),$A(2),nz(" ",r.name,", ",r.date,"",s.year,", ",i.from,"-",i.to," Uhr "),$A(2),n$("innerText",i.from),$A(4),n$("innerText",i.to)}}function Kxe(e,t){if(1&e&&(r$(0,"div",1)(1,"span",2),VH(2),nU(3,"slice"),s$(),YV(4,Yxe,11,11,"div",3,GV),s$()),2&e){var n=t.$implicit;$A(2),QH("",sU(3,2,n.name,0,2),", ",n.date),$A(2),XV(n.timeRanges)}}o(6409);var Jxe=function(){function e(e){var t=this;this.cd=e,this.model=[],this.modelChange=new rD,this.selected=function(e,n,i){var r=t.getTimeModel(e,n,i);return t.model.some(function(e){return t.checkObj(e,r)})},this.checkObj=function(e,t){return e.date===t.date&&e.time.from===t.time.from&&e.time.to===t.time.to},this.getTimeModel=function(e,t,n){return{day:t.name,date:t.date+n,time:{all:e,from:e.from,to:e.to}}}}return e.prototype.timeBlockSelect=function(e,t,n){var i,r,s=this.getTimeModel(e,t,n),o=this.selected(e,t,n);if(this.model.length<=2||o){if(o){var a=void 0,l=0;try{for(var c=(0,$g.Ju)(this.model),u=c.next();!u.done;u=c.next()){var d=u.value;this.checkObj(d,s)&&(a=l),l++}}catch(e){i={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}this.model.splice(a,1)}else this.model.push(s);this.modelChange.emit(this.model)}this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["week-calendar"]],inputs:{datesList:"datesList",year:"year",model:"model"},outputs:{modelChange:"modelChange"},standalone:!1,decls:3,vars:0,consts:[[1,"week"],[1,"day"],[1,"day-name"],[1,"time-slot"],["type","button","role","checkbox","aria-invalid","false",1,"timeblock",3,"click","disabled"],[1,"visually-hidden","timeblock-value"],["aria-hidden","true",1,"time"],[1,"from",3,"innerText"],[1,"separator"],[1,"visually-hidden"],[1,"to",3,"innerText"],[1,"icon-check"]],template:function(e,t){1&e&&(r$(0,"div",0),YV(1,Kxe,6,6,"div",1,GV),s$()),2&e&&($A(),XV(t.datesList.days))},dependencies:[LX],encapsulation:2}),e}(),Xxe=o(4692),Qxe=["datepicker"],eke=["prevWeek"],tke=["nextWeek"],nke=["prevMonth"],ike=["nextMonths"],rke=["selectedTimeblocks"],ske=function(e){return{"d-none":e}};function oke(e,t){if(1&e){var n=w$();r$(0,"div",10,0),jj("focusout",function(e){return a_(n),l_(qj().errorHandleFocusout(e))}),r$(2,"div",11)(3,"button",12,1),jj("click",function(){return a_(n),l_(qj().showPrevWeek())}),o$(5,"span",13),r$(6,"span",14),VH(7,"Vorherige Woche"),s$()(),r$(8,"week-calendar",15),uz("modelChange",function(e){a_(n);var t=qj();return cz(t.selectedTimeBlocks,e)||(t.selectedTimeBlocks=e),l_(e)}
1),jj("modelChange",function(e){return a_(n),l_(qj().updateModel(e))}),s$(),r$(9,"button",16,2),jj("click",function(){return a_(n),l_(qj().showNextWeek())}),o$(11,"span",17),r$(12,"span",14),VH(13,"Nächste Woche"),s$()()(),r$(14,"div",18)(15,"div",19)(16,"button",20,3),jj("click",function(){return a_(n),l_(qj().showPrevMonth())}),o$(18,"span",13),r$(19,"span",14),VH(20,"Vorheriger Monat"),s$()(),r$(21,"span",21),VH(22),s$(),r$(23,"button",22,4),jj("click",function(){return a_(n),l_(qj().showNextMonth())}),o$(25,"span",17),r$(26,"span",14),VH(27,"Nächster Monat"),s$()()()()()}if(2&e){var i=qj();$A(3),n$("ngClass",0==i.month&&0==i.week?"d-none":"d-block"),$A(5),n$("datesList",i.months[i.month].weeks[i.week])("year",i.months[i.month].year),lz("model",i.selectedTimeBlocks),$A(),n$("ngClass",i.nextWeekAvailable?"d-block":"d-none"),$A(7),n$("ngClass",jz(9,ske,0==i.month)),$A(6),QH("",i.months[i.month].monthName," ",i.months[i.month].year),$A(),n$("ngClass",jz(11,ske,null===i.nextMonth))}}function ake(e,t){if(1&e){var n=w$();r$(0,"li"),VH(1),r$(2,"button",23,5),jj("click",function(){var e=a_(n).$index;return l_(qj().removeTimeblock(e))}),o$(4,"span",24),r$(5,"span",14),VH(6),s$()()()}if(2&e){var i=t.$implicit;$A(),tz(" ",i.day,", ",i.date,", ",i.time.from," - ",i.time.to," Uhr "),$A(5),tz("",i.day,", ",i.date,", ",i.time.from," - ",i.time.to," Uhr Entfernen")}}var lke=function(){function e(e,t){this.cd=e,this.proposedDateService=t,this.visible=!1,this.month=0,this.week=0,this.months=[],this.nextWeekAvailable=!0,this.selectedTimeBlocks=[],this.checkObj=function(e,t){return e.date===t.date&&e.time.from===t.time.from&&e.time.to===t.time.to},this.getTimeModel=function(e,t,n){return{day:t.name,date:t.date+n,time:{all:e,from:e.from,to:e.to}}}}return e.prototype.ngOnInit=function(){var e=this;W5.r.getObservableToken().pipe(FQ(function(e){return null!=e})).subscribe(function(){e.loadResults()})},e.prototype.loadResults=function(e){var t,n,i=this;"nextMonth"===e&&(12==this.currentMonth?(t=1,n=this.currentYear+1):(t=this.currentMonth+1,n=this.currentYear)),this.proposedDateService.search(void 0,t,n).subscribe(function(t){i.months.push(t),i.currentMonth=t.month,i.currentYear=t.year,i.nextMonth=t.nextMonth,i.previousMonth=t.previousMonth,i.nextYear=t.nextYear,i.previousYear=t.previousYear,"nextMonth"==e&&(i.month++,i.week=0),i.visible=!0,i.cd.detectChanges()})},e.prototype.showPrevWeek=function(){this.nextWeekAvailable=!0,void 0!==this.months[this.month].weeks[this.week-1]?this.week--:(this.month--,this.week=this.months[this.month].weeks.length-1,this.nextMonth=this.months[this.month].nextMonth),0==this.month&&0==this.week&&this.nextWeekButton.nativeElement.focus(),this.cd.detectChanges()},e.prototype.showNextWeek=function(){void 0!==this.months[this.month].weeks[this.week+1]?(this.week++,this.nextMonth=this.months[this.month].nextMonth,null===this.nextMonth&&this.months[this.month].weeks.length-1==this.week&&(this.nextWeekAvailable=!1),this.cd.detectChanges()):this.showNextMonth(),0==this.nextWeekAvailable&&this.prevWeekButton.nativeElement.focus()},e.prototype.showPrevMonth=function(){this.nextWeekAvailable=!0,void 0!==this.months[this.month-1]&&(this.month--,this.week=0,this.nextMonth=this.months[this.month].nextMonth,this.cd.detectChanges()),0==this.month&&this.nextMonthButton.nativeElement.focus()},e.prototype.showNextMonth=function(){void 0!==this.months[this.month+1]?(this.month++,this.week=0,this.nextMonth=this.months[this.month].nextMonth,this.cd.detectChanges()):null!==this.nextMonth&&this.loadResults("nextMonth"),null==this.nextMonth&&this.prevMonthButton.nativeElement.focus()},e.prototype.removeTimeblock=function(e){this.datepicker.nativeElement.classList.remove("max-timeblocks-selected"),this.selectedTimeBlocks.splice(e,1),this.saveProposedDate(),this.cd.detectChanges(),this.isEmpty(this.selectedTimeBlocks)?null==this.nextMonth?this.prevMonthButton.nativeElement.focus():this.nextMonthButton.nativeElement.focus():this.selectedList.nativeElement.focus()},e.prototype.updateModel=function(e){this.selectedTimeBlocks=e,this.selectedTimeBlocks.length>2?this.datepicker.nativeElement.classList.add("max-timeblocks-selected"):this.datepicker.nativeElement.classList.remove("max-timeblocks-selected"),this.saveProposedDate(),this.cd.detectChanges()},e.prototype.saveProposedDate=function(){var e="",t=this.selectedTimeBlocks.length;this.selectedTimeBlocks.forEach(function(n,i){e+=n.day+", "+n.date+", "+n.time.from+"-"+n.time.to+" Uhr",t-1>i&&(e+=" - ")}),Xxe("#"+this.inputId).val(e).attr("data-json",JSON.stringify(this.selectedTimeBlocks)),Xxe("#"+this.inputId)[0].dispatchEvent(new Event("change",{bubbles:!0})),this.cd.detectChanges()},e.prototype.isEmpty=function(e){return 0==e.length},e.prototype.errorHandleFocusout=function(e){this.datepicker.nativeElement.contains(e.relatedTarget)||(Xxe("#"+this.inputId)[0].dispatchEvent(new Event("change",{bubbles:!0})),this.cd.detectChanges())},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Zxe))},e.ɵcmp=DN({type:e,selectors:[["proposed-date-component"]],viewQuery:function(e,t){if(1&e&&(Kj(Qxe,5),Kj(eke,5),Kj(tke,5),Kj(nke,5),Kj(ike,5),Kj(rke,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.datepicker=n.first),Jj(n=Xj())&&(t.prevWeekButton=n.first),Jj(n=Xj())&&(t.nextWeekButton=n.first),Jj(n=Xj())&&(t.prevMonthButton=n.first),Jj(n=Xj())&&(t.nextMonthButton=n.first),Jj(n=Xj())&&(t.selectedList=n.first)}},inputs:{inputId:"inputId"},standalone:!1,decls:7,vars:4,consts:[["datepicker",""],["prevWeek",""],["nextWeek",""],["prevMonth",""],["nextMonths",""],["selectedTimeblocks",""],[1,"proposed-date-picker"],[1,"selected-timeblocks-container",3,"ngClass"],[1,"list-heading"],[1,"selected-timeblocks-list"],[1,"proposed-date-picker",3,"focusout"],[1,"month"],["type","button",1,"prev-week",3,"click","ngClass"],["aria-hidden","true",1,"icon-paging_arrow_left"],[1,"visually-hidden"],[3,"modelChange","datesList","year","model"],["type","button",1,"next-week",3,"click","ngClass"],["aria-hidden","true",1,"icon-paging_arrow_right"],[1,"month-switcher-wrapper"],[1,"month-switcher"],["type","button",1,"prev-month",3,"click","ngClass"],[1,"month-name"],["type","button",1,"next-month",3,"click","ngClass"],["type","button",1,"remove-timeblock",3,"click"],["aria-hidden","true",1,"icon-trash"]],template:function(e,t){1&e&&(HV(0,oke,28,13,"div",6),r$(1,"div",7)(2,"div",8),VH(3,"Ihre Auswahl:"),s$(),r$(4,"ul",9),YV(5,ake,7,8,"li",null,GV),s$()()),2&e&&(UV(t.visible?0:-1),$A(),n$("ngClass",jz(2,ske,t.isEmpty(t.selectedTimeBlocks))),$A(4),XV(t.selectedTimeBlocks))},dependencies:[GJ,Jxe],encapsulation:2}),e}(),cke=function(){function e(e){this.injector=e;var t=T2(lke,{injector:e});customElements.define("rwm-proposed-date",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5]}),e}();function uke(e,t){if(1&e){var n=w$();
1r$(0,"div",0)(1,"location-tooltip-popover_",1),jj("onUpdateBranch",function(){return a_(n),l_(qj().updateBranch())}),o$(2,"span",2),r$(3,"span"),o$(4,"span",3),r$(5,"strong"),VH(6),s$()()()()}if(2&e){var i=qj();$A(),n$("showChangeBank",!0)("storedBranch",i.storedBranch)("params",i.params)("appendTo",i.appendTo),$A(),n$("ngClass","icon-compass rti-infotext__icon"),$A(2),n$("translate","OFFER_OF"),$A(2),JH(i.storedBranch.name)}}var dke=function(){function e(){this.params={ctaPrimary:{action:"selectUsersBranch",params:{linkText:"Bankstelle auswählen"}},ctaSecondary:null,headline:"Finden Sie eine Raiffeisenbank in Ihrer Nähe"}}return e.prototype.ngOnInit=function(){this.storedBranch=this.getStoredBank()},e.prototype.updateBranch=function(){this.storedBranch=this.getStoredBank(),Q5.Z.publish("userbranch.update",void 0)},e.prototype.getStoredBank=function(){var e=new $5.Fv;try{return e.get($5.YM.branch,$5.YM.otGroupBranch)}catch(e){return null}},e.ɵfac=function(t){return new(t||e)},e.ɵcmp=DN({type:e,selectors:[["rti-component"]],inputs:{appendTo:"appendTo"},standalone:!1,decls:1,vars:1,consts:[[1,"rti-infotext"],[1,"rti-infotext__link",3,"onUpdateBranch","showChangeBank","storedBranch","params","appendTo"],["aria-hidden","true",3,"ngClass"],[3,"translate"]],template:function(e,t){1&e&&HV(0,uke,7,7,"div",0),2&e&&UV(t.storedBranch?0:-1)},dependencies:[GJ,e2,V_e],encapsulation:2}),e}(),hke=function(){function e(e){this.injector=e;var t=T2(dke,{injector:e});customElements.define("rwm-rti-component",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[RX,T5,Z_e]}),e}(),pke=o(4692);function fke(){return fke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fke.apply(null,arguments)}var mke=["popoverButton"],gke=["popover"],vke=["popoverOverlay"],yke=function(){return["bankswitch-headline"]},bke=function(){return["bankswitch-delete-branch"]},wke=function(){return["bankswitch-headline","bankswitch-delete-branch"]};function _ke(e,t){if(1&e){var n=w$();r$(0,"button",6),jj("click",function(e){a_(n);var t=qj();return l_(t.openBanksearch(e,t.storedBranch))}),o$(1,"span",7)(2,"span",8),s$()}if(2&e){var i=qj();$A(2),n$("innerText",i.getTranslation("SELECT_BANK"))}}function xke(e,t){if(1&e){var n=w$();r$(0,"button",9,0),jj("click",function(){return a_(n),l_(qj().togglePopover())}),r$(2,"span",7),o$(3,"span",10),s$(),o$(4,"span",8),s$()}if(2&e){var i=qj();sV("aria-expanded",i.showPopover),$A(4),n$("innerText",i.getTranslation("MY_BANK"))}}function kke(e,t){if(1&e&&(r$(0,"div",19)(1,"a",24),o$(2,"span",25),r$(3,"span",26),o$(4,"span",27)(5,"span",28),nU(6,"translate"),s$()()()),2&e){var n=qj(2);$A(),n$("href",yz("https://www.google.com/maps/dir/?api=1&destination=",n.result.geolocation.lat,",",n.result.geolocation.lng),ZI),$A(3),n$("translate","BANKSEARCH_ROUTING_PLANNER"),$A(),sV("aria-label",iU(6,5,"LINK_NEW_TAB"))}}function Cke(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",38)(2,"a",39),nU(3,"translate"),s$()),2&e){var n=qj(3);$A(2),n$("href","tel:"+n.result.contact.telephone,ZI)("innerText",n.result.contact.telephone),sV("aria-label",iU(3,3,"PHONENUMBER")+": "+n.result.contact.telephone)}}function Ske(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",40)(2,"a",41),s$()),2&e){var n=qj(3);$A(2),n$("href",n.result.contact.chat,ZI)("translate","BANKSEARCH_CHAT")}}function Tke(e,t){if(1&e&&(r$(0,"li"),o$(1,"span",42)(2,"a",43),nU(3,"translate"),s$()),2&e){var n=qj(3);$A(2),n$("href","mailto:"+n.result.contact.email,ZI)("innerText",n.result.contact.email),sV("aria-label",iU(3,3,"EMAIL")+": "+n.result.contact.email)}}function Eke(e,t){if(1&e){var n=w$();r$(0,"div",20),o$(1,"opening-hours",29),r$(2,"div",30)(3,"ul"),HV(4,Cke,4,5,"li"),HV(5,Ske,3,2,"li"),HV(6,Tke,4,5,"li"),s$()(),r$(7,"div",31)(8,"div",32),o$(9,"location-search_",33),s$(),r$(10,"div",32)(11,"button",34),nU(12,"labelByIds"),nU(13,"labelByIds"),jj("click",function(){return a_(n),l_(qj(2).clearStoredBranch())}),r$(14,"span",35),o$(15,"span",36)(16,"span",37),s$()()()()()}if(2&e){var i=qj(2);$A(),n$("openingHours",i.result.openingHours)("consultingHours",i.result.consultingHours)("noteOpeningHours",i.result.hinweise_oeffnungszeiten)("noteConsultingHours",i.result.hinweise_beratungszeiten)("noteTemporarilyClosed",i.temporarilyClosed(i.result))("consultingOutsideOpeningHours",i.result.consultingOutsideOpeningHours)("bankCounter",i.result.bankCounter)("index",0),$A(3),UV(i.result.contact.telephone?4:-1),$A(),UV(i.result.contact.chat?5:-1),$A(),UV(i.result.contact.email?6:-1),$A(3),n$("suffix",i.params.suffix)("storedBranch",i.storedBranch)("params",i.params)("visibleBranch",!1)("changeBranchIcon","icon-circle icon-map"),$A(2),n$("id",rU(12,19,$z(25,bke),i.uId)),sV("aria-labelledby",rU(13,22,$z(26,wke),i.uId)),$A(5),n$("translate","DELETE_ASSIGNMENT")}}function Ike(e,t){if(1&e){var n=w$();r$(0,"div",11,1),o$(2,"div",12),r$(3,"div",13)(4,"div",14),nU(5,"labelByIds"),o$(6,"span",15),nU(7,"shortBankName"),s$(),r$(8,"div",16)(9,"div",17),o$(10,"p",18),r$(11,"p"),VH(12),s$()(),HV(13,kke,7,7,"div",19),s$(),HV(14,Eke,17,27,"div",20),s$(),r$(15,"button",21),jj("click",function(){return a_(n),l_(qj().closePopOver())}),o$(16,"span",22)(17,"span",23),s$()()}if(2&e){var i=qj();kH(i.popoverStyles),xH("show",i.showPopover),n$("id",i.uId),$A(2),_H("left",i.arrowStyle,"px"),$A(2),n$("id",rU(5,15,$z(20,yke),i.uId)),$A(2),n$("innerHtml",iU(7,18,i.result.name),WI),$A(4),n$("innerText",i.result.address.street),$A(2),QH("",i.result.address.postalCode," ",i.result.address.city),$A(),UV(i.params.hideRoutePlaner?-1:13),$A(),UV(i.result.openingHours?14:-1),$A(3),n$("translate","CLOSE")}}var Ake=new $5.Fv,Dke=function(){function e(e,t,n){this.cd=e,this.bankSearch=t,this.translate=n,this.action=window.registeredActions.bankstellensuche,this.uId="popover"+E5.A.uidGenerator(),this.defaultParams={headline:null,suffix:null,hideResultsOnBlur:!0,forwardButton:{linkText:"Zu dieser Bank wechseln",buttonStyle:"btn-primary"},ctaPrimary:{action:"redirect",params:{linkTarget:"_self",linkText:"Zum Angebot"}},ctaSecondary:null,hideMap:!1,hideRoutePlaner:!1,labeledByIdName:"bankswitch-headline",id:this.uId},this.showPopover=!1,this.arrowStyle=0,this.visibleSlickBackdrop=!1,this.stringToObj=function(e){if("string"==typeof e){var t=e.replace(/\'/g,'"'),n=JSON.parse(JSON.stringify(t));return"string"==typeof n&&(n=JSON.parse(n)),n}return"object"==typeof e?e:null}}return e.prototype.ngOnInit=function(){var e=this;this.params="undefined"!==this.params?JSON.parse(this.params):{},this.params=fke(this.defaultParams,this.params),this.initBankDetail
1s(),Q5.Z.subscribe("userbranch.update",function(){e.initBankDetails()})},e.prototype.initBankDetails=function(){this.storedBranch=this.getStoredBank(),this.storedBranch&&this.loadBankDetails(this.storedBranch.id)},e.prototype.updateBranch=function(){this.storedBranch=this.getStoredBank(),Q5.Z.publish("userbranch.update",this.storedBranch)},e.prototype.getStoredBank=function(){var e=new $5.Fv;try{return e.get($5.YM.branch,$5.YM.otGroupBranch)}catch(e){return null}},e.prototype.openBanksearch=function(e,t){var n=this.stringToObj(this.params);wle.Z.triggerAction(this.action,n,e.currentTarget)},e.prototype.temporarilyClosed=function(e){return e.temporarilyClosedFrom||e.temporarilyClosedTo?e.hinweise_schliessung:null},e.prototype.loadBankDetails=function(e){var t=this;e&&W5.r.getObservableToken().pipe(FQ(function(e){return null!=e})).subscribe(function(){t.bankSearch.info(e).subscribe(function(e){t.result=e||t.storedBranch,t.cd.detectChanges()},function(){t.result=t.storedBranch,t.cd.detectChanges()})})},e.prototype.togglePopover=function(){var e=this;this.result&&(this.showPopover=!this.showPopover,this.cd.detectChanges(),this.showPopover?(this.appendTo&&(this.appendPopover=pke(this.popover.nativeElement).appendTo(this.appendTo)),this.backdrop=pke("<div>",{class:"popover-backdrop","aria-hidden":"true"}).appendTo("body"),pke(".popover-backdrop").on("click",function(){e.closeElements()}),this.placement()):this.closeElements())},e.prototype.closePopOver=function(){this.showPopover&&this.closeElements()},e.prototype.closeElements=function(){this.showPopover=!1,this.visibleSlickBackdrop=!1,this.backdrop.remove(),this.appendTo&&this.appendPopover.remove(),this.cd.detectChanges()},e.prototype.onResize=function(){this.showPopover&&(this.appendTo?this.closeElements():this.placement())},e.prototype.clearStoredBranch=function(){this.result=null,this.storedBranch=null,Ake.remove($5.YM.branch),this.updateBranch(),this.closeElements()},e.prototype.placement=function(){var e,t={position:"absolute",transform:"translate3d( 0, 0,  0)",top:0,left:0,right:0,"will-change":"transform"},n=this.button.nativeElement,i=this.popover.nativeElement?this.popover.nativeElement:this.appendPopover,r=n.offsetHeight,s=n.offsetWidth,o=0!==i.offsetWidth?i.offsetWidth:s,a=r+n.offsetTop,l=window.outerWidth;switch(!0){case void 0!==this.appendTo:a=(u=this.pageOffset(n)).top+(r+n.offsetTop),o=o>l?l:o,l<(d=u.left+s/2-o/2)+o?(this.arrowStyle=Math.floor(u.left)+s/2-(l-o),e=l-o):(this.arrowStyle=Math.floor(o/2),e=d),t.width=o+"px";break;case pke(n).offset().left+o/2>=window.outerWidth:var c=pke(n).offset().left+o/2-window.outerWidth;e=-o/2-c-10,this.arrowStyle=Math.floor(o/2+c+15);break;default:var u,d;e=(d=(u=this.pageOffset(n)).left)+(s-o)/2>=0?(s-o)/2:-d,this.arrowStyle=Math.floor(o/2)}t.transform="translate3d("+e+"px, "+a+"px,  0)",this.popoverStyles=t,this.cd.detectChanges()},e.prototype.pageOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+i,left:t.left+n}},e.prototype.labelById=function(e){return(new Cue).transform(e,this.uId)},e.prototype.getTranslation=function(e){var t="Bank auswählen";return this.translate.get(e).subscribe(function(e){t=e}),t},e.ɵfac=function(t){return new(t||e)(qP(uZ),qP(Yce),qP(Q0))},e.ɵcmp=DN({type:e,selectors:[["header-bank-switch"]],viewQuery:function(e,t){if(1&e&&(Kj(mke,5),Kj(gke,5),Kj(vke,5)),2&e){var n=void 0;Jj(n=Xj())&&(t.button=n.first),Jj(n=Xj())&&(t.popover=n.first),Jj(n=Xj())&&(t.overlay=n.first)}},hostBindings:function(e,t){1&e&&jj("resize",function(){return t.onResize()},uA)},inputs:{params:"params",btnStyle:"btnStyle",icon:"icon",appendTo:"appendTo"},standalone:!1,decls:4,vars:3,consts:[["popoverButton",""],["popover",""],[1,"header-button"],["type","button","aria-haspopup","dialog",1,"btn-clear"],[1,"btn-clear"],["role","tooltip",1,"popover","bs-popover-bottom","fade","global-banksearch-styles",3,"id","show","style"],["type","button","aria-haspopup","dialog",1,"btn-clear",3,"click"],["aria-hidden","true",1,"icon-circle","icon-map"],[1,"btn-text",3,"innerText"],[1,"btn-clear",3,"click"],["aria-hidden","true",1,"icon-rai"],["role","tooltip",1,"popover","bs-popover-bottom","fade","global-banksearch-styles",3,"id"],[1,"arrow"],[1,"overflow"],["tabindex","0",1,"bankname",3,"id"],[3,"innerHtml"],[1,"location"],["id","adress","aria-label","Adresse","tabindex","0"],[3,"innerText"],[1,"link-wrapper"],[1,"d-flex","flex-column"],["type","button",1,"close",3,"click"],["aria-hidden","true",1,"icon-close-small"],[1,"visually-hidden",3,"translate"],["target","_blank",1,"arrow-link",3,"href"],["data-aria","hidden",1,"icon-paging_arrow_right"],[1,"text-link"],[3,"translate"],[1,"icon-open_link"],[3,"openingHours","consultingHours","noteOpeningHours","noteConsultingHours","noteTemporarilyClosed","consultingOutsideOpeningHours","bankCounter","index"],[1,"contact"],[1,"row","text-center"],[1,"col-12"],[3,"suffix","storedBranch","params","visibleBranch","changeBranchIcon"],["type","button",1,"btn-clear","change-branch",3,"click","id"],[1,"underline-clickable"],["aria-hidden","true",1,"icon-trash"],[1,"tracking-normal",3,"translate"],[1,"icon","icon-phone"],[1,"underline-clickable","phone-number",3,"href","innerText"],[1,"icon","icon-speak_bubble"],["target","_blank","rel","noopener noreferrer",1,"underline-clickable",3,"href","translate"],[1,"icon","icon-message"],[1,"underline-clickable",3,"href","innerText"]],template:function(e,t){1&e&&(r$(0,"div",2),HV(1,_ke,3,1,"button",3),HV(2,xke,5,2,"button",4),s$(),HV(3,Ike,18,21,"div",5)),2&e&&($A(),UV(t.storedBranch?-1:1),$A(),UV(t.storedBranch?2:-1),$A(),UV(t.result&&t.showPopover?3:-1))},dependencies:[e2,S_e,yue,t2,Kce,Cue],encapsulation:2}),e}(),Mke=function(){function e(e){this.injector=e;var t=T2(Dke,{injector:e});customElements.define("rwm-header-bank-switch",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,RX,T5,T_e,Z_e,Che]}),e}(),Oke=function(){function e(){}return e.prototype.intercept=function(e,t){var n=e;return W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(t){null!=t&&-1!==e.url.indexOf(j5.KT)&&(e.headers.get("Authorization")||(n=e.clone({setHeaders:{"Content-Type":"application/json",Authorization:"Bearer "+t.access_token}})))}),t.handle(n)},e.ɵfac=function(t){return new(t||e)},e.ɵprov=Ov({token:e,factory:e.ɵfac}),e}(),Pke=[{provide:O1,useClass:Oke,multi:!0}];function Lke(){return Lke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Lke.apply(null,arguments)}function Nke(e,t){1&e&&o$(0,"span",5),2&e&&SH(qj(2).icon)}function Rke(e,t){if(1&e){var n=w$();r$(0,"button",2),jj("click",function(e){a_(n);var t=qj();return l_(t.openBanksearch(e,t.storedBranch))}),HV(1,Nke,1,2,"span",3),o$(2,"span",4),s$()}if(2&e){var i=qj();SH(i.btnStyle),$A(),UV(i.icon?1:-1),$A(),n$("innerText",i.params.forwardButton.linkText)}}function Bke(e,t){if(1&e&&o$(0,"location-search_",1),2&e){var n=qj();n$("suffix",n.params.suffix)("storedBranch",n.storedBranch)("params",n.params)("visibleBranch",!0)}}var Fke=function(){function e(e){this.cd=e,this.action=window.registeredActions.bankstellensuche,this.defaultParams={headline:null,suffix:null,hideResultsOnBlur:!0,forwardButton:{linkText:"Zu meiner Raiffeisenbank",buttonStyle:"btn-primary"},ctaPrimary:{action:"redirect",params:{linkTarget:"_self",linkText:"Zum Angebot"}},ctaSecondary:null,hideMap:!1,hideRoutePlaner:!1},this.stringToObj=function(e){if("string"==typeof e){var t=e.replace(/\'/g,'"'),n=JSON.parse(JSON.stringify(t));return"string"==typeof n&&(n=JSON.parse(n)),n}return"object"==typeof e?e:null}}return e.prototype.ngOnInit=function(){var e=this;this.params="undefined"!==this.params?JSON.parse(this.params):{},this.params=Lke(this.defaultParams,this.params),this.storedBranch=this.getStoredBank(),Q5.Z.subscribe("userbranch.update",function(){e.storedBranch=e.getStoredBank(),e.cd.detectChanges()})},e.prototype.updateBranch=function(){this.storedBranch=this.getStoredBank(),Q5.Z.publish("userbranch.update",this.storedBranch)},e.prototype.getStoredBank=function(){var e=new $5.Fv;try{return e.get($5.YM.branch,$5.YM.otGroupBranch)}catch(e){return null}},e.prototype.openBanksearch=function(e,t){var n=this.stringToObj(this.params);wle.Z.triggerAction(this.action,n,e.currentTarget)},e.ɵfac=function(t){return new(t||e)(qP(uZ))},e.ɵcmp=DN({type:e,selectors:[["cta-redirect-to-branch"]],inputs:{params:"params",btnStyle:"btnStyle",icon:"icon"},standalone:!1,decls:2,vars:2,consts:[["aria-haspopup","dialog",1,"btn",3,"class"],[3,"suffix","storedBranch","params","visibleBranch"],["aria-haspopup","dialog",1,"btn",3,"click"],["aria-hidden","true",1,"quickbar-icon",3,"class"],[1,"btn-text",3,"innerText"],["aria-hidden","true",1,"quickbar-icon"]],template:function(e,t){1&e&&(HV(0,Rke,3,4,"button",0),HV(1,Bke,1,4,"location-search_",1)),2&e&&(UV(!t.storedBranch&&t.params?0:-1),$A(),UV(t.storedBranch?1:-1))},dependencies:[S_e],encapsulation:2}),e}(),Vke=function(){function e(e){this.injector=e;var t=T2(Fke,{injector:e});customElements.define("rwm-cta-redirect-to-branch",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({imports:[_Q,RX,T5,T_e,Z_e]}),e}(),$ke=function(){function e(e){var t=this;this.http=e,this.getDfCConfig=function(){return t.http.get(j5.KT+j5.vZ.calculatorDfC).pipe(Ox(function(e){return e}))}}return e.ɵfac=function(t){return new(t||e)(Iy(k1))},e.ɵprov=Ov({token:e,factory:e.ɵfac,providedIn:"root"}),e}();function jke(e,t){1&e&&o$(0,"h2",4),2&e&&n$("innerHTML",qj(2).heading,WI)}function Hke(e,t){1&e&&o$(0,"p",4),2&e&&n$("innerHTML",qj(2).description,WI)}function zke(e,t){if(1&e&&(r$(0,"div",0),HV(1,jke,1,1,"h2",4),HV(2,Hke,1,1,"p",4),s$()),2&e){var n=qj();$A(),UV(n.heading?1:-1),$A(),UV(n.description?2:-1)}}function Uke(e,t){if(1&e&&(r$(0,"div",9),o$(1,"span",12),r$(2,"span",13),o$(3,"span",14),VH(4),nU(5,"number"),nU(6,"translate"),s$()()),2&e){var n=qj(2);$A(),n$("translate","KR_INSTALLMEMT"),$A(3),ez(" ",n.result.ratePrefix," ",sU(5,4,n.monthlyRate,"1.0-0","de")," ",iU(6,8,"CURRENCY_CODE")," ")}}function qke(e,t){1&e&&o$(0,"p",4),2&e&&n$("innerHTML",qj(2).result.defaultText,WI)}function Wke(e,t){if(1&e&&(o$(0,"a",16),nU(1,"utmParameter")),2&e){var n=qj(3);n$("innerText",n.newCustomersButton)("href",iU(1,2,"https://angebot.derfairecredit.at/strapp/einstieg?vertriebsstelle="+n.vertriebsstelle+(n.validCreditAmount?"&wunschbetrag="+n.validCreditAmount:"")),ZI)}}function Gke(e,t){if(1&e&&o$(0,"rwm-overlay-cta",17),2&e){var n=qj(3);n$("label",n.newCustomersButton)("url",n.customerData)("btnStyle","btn-default")("prefillType","prefillTextArea")("resultsSummary",n.prepCalcResults())("loading",n.recalc)("newTab",!0)}}function Zke(e,t){if(1&e&&(r$(0,"div",11),o$(1,"a",15),nU(2,"utmParameter"),HV(3,Wke,2,4,"a",16),HV(4,Gke,1,7,"rwm-overlay-cta",17),s$()),2&e){var n=qj(2);$A(),n$("innerText",n.existingCustomersButton)("href",iU(2,4,"https://mein.elba.raiffeisen.at/bankingquer-routing-app/routing-app-ui/e2e/ONLINEKREDIT"+(n.validCreditAmount&&n.val
1idCreditTerm?"?laufzeit="+n.validCreditTerm+"&kreditbetrag="+n.validCreditAmount:"")),ZI),$A(2),UV(!n.customerData&&n.vertriebsstelle?3:-1),$A(),UV(n.customerData&&n.vertriebsstelle?4:-1)}}function Yke(e,t){if(1&e){var n=w$();r$(0,"div",1)(1,"form",5)(2,"div",6)(3,"div",7)(4,"rwm-input-slider",8),nU(5,"translate"),uz("valueChange",function(e){a_(n);var t=qj();return cz(t.creditAmount,e)||(t.creditAmount=e),l_(e)}),jj("valueChange",function(){return a_(n),l_(qj().validateAmount())}),s$(),r$(6,"rwm-input-slider",8),nU(7,"translate"),uz("valueChange",function(e){a_(n);var t=qj();return cz(t.creditTerm,e)||(t.creditTerm=e),l_(e)}),jj("valueChange",function(){return a_(n),l_(qj().validateTerm())}),s$(),h$(8),HV(9,Uke,7,10,"div",9),p$(),h$(10),r$(11,"div",10),HV(12,qke,1,1,"p",4),s$(),p$(),s$()(),h$(13),HV(14,Zke,5,6,"div",11),p$(),s$()()}if(2&e){var i=qj();$A(4),n$("id",gz(i.getUId("betrag")))("name",i.result.betrag.name)("label",iU(5,31,"KR_CREDIT_AMOUNT_LABEL"))("required",!0)("showMin",!0)("step",i.result.betrag.step)("min",i.result.betrag.min)("max",i.result.betrag.max)("decimalPlaces",0)("units","CURRENCY_CODE"),lz("value",i.creditAmount),n$("hasError",i.showErrorAmount)("errorText",i.errorTextAmount),$A(2),n$("id",gz(i.getUId("laufzeit")))("name",i.result.laufzeit.name)("label",iU(7,33,"SR_DURATION"))("required",!0)("showMin",!0)("step",i.result.laufzeit.step)("min",i.result.laufzeit.min)("max",i.result.laufzeit.max)("decimalPlaces",0)("units","MONTHS"),lz("value",i.creditTerm),n$("hasError",i.showErrorTerm)("errorText",i.errorTextTerm),$A(3),UV(i.monthlyRate?9:-1),$A(3),UV(i.result.defaultText?12:-1),$A(2),UV(i.existingCustomersButton&&i.newCustomersButton?14:-1)}}function Kke(e,t){1&e&&(r$(0,"div",2)(1,"div",18)(2,"h3",19),VH(3),nU(4,"translate"),s$()()()),2&e&&($A(3),JH(iU(4,1,"BANKSEARCH_ERROR_MESSAGE")))}function Jke(e,t){if(1&e&&o$(0,"rwm-overlay-link",23),2&e){var n=qj(2);n$("href",n.legalInfoLink)("label",n.legalInfo)}}function Xke(e,t){if(1&e&&o$(0,"div",25),2&e){var n=qj(2);SH(n.legalInfoLink?"text-start":"text-center"),n$("innerHTML",n.disclaimer,WI)}}function Qke(e,t){if(1&e&&(r$(0,"div",3)(1,"div",20)(2,"div",21)(3,"div",22),HV(4,Jke,1,2,"rwm-overlay-link",23),HV(5,Xke,1,3,"div",24),s$()()()()),2&e){var n=qj();$A(4),UV(n.legalInfoLink?4:-1),$A(),UV(n.disclaimer?5:-1)}}var eCe=function(){function e(e,t,n,i){this.translate=e,this.cd=t,this.dfCService=n,this.decimalPipe=i,this.uid=E5.A.uidGenerator(),this.showErrorAmount=!1,this.showErrorTerm=!1,this.showComponentError=!1,this.loading=!0,this.recalc=!1}return e.prototype.ngOnInit=function(){var e=this;W5.r.getObservableToken().pipe(FQ(function(e){return void 0!==e})).subscribe(function(){e.dfCService.getDfCConfig().subscribe(function(t){e.result=t,e.creditAmount=e.validCreditAmount=e.result.betrag.value,e.creditTerm=e.validCreditTerm=e.result.laufzeit.value,e.determineBaseValue(),e.loading=!1,e.createScript()},function(t){e.showComponentError=!0},function(){e.cd.detectChanges()})})},e.prototype.createScript=function(){var e=document.createElement("script");e.type="application/ld+json",e.text=JSON.stringify(this.creditCalcSchema()),document.head.appendChild(e)},e.prototype.creditCalcSchema=function(){var e=0,t=0,n=this.result.defaultText.match(/effektiver Jahreszins:\s*([\d,.]+)\s*-\s*([\d,.]+)\s*%/);return n&&(e=parseFloat(n[1].replace(",",".")),t=parseFloat(n[2].replace(",","."))),(0,$g.Cl)((0,$g.Cl)({"@context":"https://schema.org","@type":"LoanOrCredit",name:"Fairer Credit",loanType:"Konsumkredit",loanTerm:{"@type":"QuantitativeValue",value:this.result.laufzeit.value,minValue:this.result.laufzeit.min,maxValue:this.result.laufzeit.max,unitText:"months"}},(0!=e||0!=t)&&{annualPercentageRate:(0,$g.Cl)((0,$g.Cl)({"@type":"QuantitativeValue",name:"Fixer Zinssatz"},e===t?{value:e}:{minValue:e,maxValue:t}),{unitText:"%"})}),{amount:{"@type":"MonetaryAmount",value:this.result.betrag.value,minValue:this.result.betrag.min,maxValue:this.result.betrag.max,currency:"EUR"},audience:"Privatkunden"})},e.prototype.getUId=function(e){return e+"-"+this.uid},e.prototype.determineBaseValue=function(){this.baseValue=this.result.conditions[this.creditTerm],this.recalculateMonthlyRate()},e.prototype.recalculateMonthlyRate=function(){this.recalc=!0,this.cd.detectChanges(),this.monthlyRate=this.baseValue*this.creditAmount/1e3,this.monthlyRate<20?this.setErrorTerm(this.result.errors.rateMin):(this.showErrorTerm=!1,this.recalc=!1,this.cd.detectChanges())},e.prototype.validateAmount=function(){!1===Number.isInteger(this.creditAmount)?this.setErrorAmount(this.result.errors.betragInvalid):Number.isInteger((this.creditAmount-this.result.betrag.min)/this.result.betrag.step)?(this.showErrorAmount=!1,this.validCreditAmount=this.creditAmount,this.recalculateMonthlyRate()):this.setErrorAmount("Bitte geben Sie nur Werte in "+this.result.betrag.step+"er Schritten ein.")},e.prototype.validateTerm=function(){Number.isInteger((this.creditTerm-this.result.laufzeit.min)/this.result.laufzeit.step)?(this.showErrorTerm=!1,this.validCreditTerm=this.creditTerm,this.determineBaseValue()):this.setErrorTerm("Bitte geben Sie nur Werte in "+this.result.laufzeit.step+"er Schritten ein.")},e.prototype.prepCalcResults=function(){var e=[{element:".calculation_result",value:{creditAmount:"".concat(this.translate.instant("KR_CREDIT_AMOUNT_LABEL"),": ").concat(this.validCreditAmount," €"),creditTerm:"".concat(this.translate.instant("SR_DURATION"),": ").concat(this.validCreditTerm," ").concat(this.translate.instant("MONTHS")),monthlyRate:"".concat(this.translate.instant("KR_INSTALLMEMT"),": ").concat(this.decimalPipe.transform(this.monthlyRate,"1.2-2","de")," €")},linkParams:"&wunschbetrag=".concat(this.validCreditAmount)}];return[JSON.stringify(e)]},e.prototype.setErrorAmount=function(e){this.errorTextAmount=e,this.showErrorAmount=!0,this.cd.detectChanges()},e.prototype.setErrorTerm=function(e){this.errorTextTerm=e,this.showErrorTerm=!0,this.cd.detectChanges()},e.ɵfac=function(t){return new(t||e)(qP(Q0),qP(uZ),qP($ke),qP(AX))},e.ɵcmp=DN({type:e,selectors:[["credit-calculator-dfc-component"]],inputs:{heading:"heading",description:"description",disclaimer:"disclaimer",customerData:"customerData",existingCustomersButton:"existingCustomersButton",newCustomersButton:"newCustomersButton",legalInfo:"legalInfo",legalInfoLink:"legalInfoLink",vertriebsstelle:"vertriebsstelle"},standalone:!1,decls:4,vars:4,consts:[[1,"credit-calculator-dfc-header"],[1,"form-container"],[1,"credit-calculator-dfc-request-error-msgs"],[1,"credit-calculator-dfc-footer"],[3,"innerHTML"],[1,"credit-calculator-dfc-form"],[1,"container-content"],[1,"content-wrapper"],[3,"valueChange","id","name","label","required","showMin","step","min","max","decimalPlaces","units","value","hasError","errorText"],["aria-live","polite",1,"credit-calculator-dfc-summary"],[1,"credit-calculator-dfc-representative-calc"],[1,"cta-wrapper-content-box"],[1,"summary-label",3,"translate"],[1,"summary","text-nowrap"],["aria-hidden","true",1,"icon-depot"],["target","_blank",1,"btn","btn-primary","cta",3,"innerText","href"],["target","_blank",1,"btn","btn-default","cta",3,"innerText","href"],[3,"label","url","btnStyle","prefillType","resultsSummary","loading","newTab"],[1,"mt-2"],[1,"text-center"],[1,"result-chart-disclaimer"],[1,"result-chart-disclaimer-content"],[1,"cta-wrapper-content-box","d-flex"],[1,"flex-grow-0","text-nowrap",3,"href","label"],[1,"rte","flex-grow-1",3,"class","innerHTML"],[1,"rte","flex-grow-1",3,"innerHTML"]],template:function(e,t){1&e&&(HV(0,zke,3,2,"div",0),HV(1,Yke,15,35,"div",1),HV(2,Kke,5,3,"div",2),HV(3,Qke,6,2,"div",3)),2&e&&(UV(t.heading||t.description?0:-1),$A(),UV(t.loading?-1:1),$A(),UV(t.showComponentError?2:-1),$A(),UV(t.disclaimer||t.legalInfoLink?3:-1))},dependencies:[x4,k3,h4,e2,ble,Sle,Ple,AX,t2,Dpe],encapsulation:2}),e}(),tCe=function(){function e(e){this.injector=e;var t=T2(eCe,{injector:e});customElements.define("credit-calculator-dfc-component",t)}return e.ɵfac=function(t){return new(t||e)(Iy(X_))},e.ɵmod=ON({type:e,bootstrap:[eCe]}),e.ɵinj=Lv({imports:[RX,_Q,p0,C5,S5,T5,Pce,Lce,V5,Nce,Xie,vte]}),e}();hK(s2);var nCe=window.rwmConfig.currentLanguage,iCe=function(){function e(e,t){this.injector=e,this.translate=t;var n=nCe||"de";t.setDefaultLang(n)}return e.prototype.ngDoBootstrap=function(){console.log("AppModule ngDoBootstrap")},e.ɵfac=function(t){return new(t||e)(Iy(X_),Iy(Q0))},e.ɵmod=ON({type:e}),e.ɵinj=Lv({providers:[Q0,Pke],imports:[_Q,n2.forRoot({loader:{provide:R0,useFactory:rCe,deps:[k1]},isolate:!1}),I2,moe,dae,Rce,Ghe,kme,Mge,jge,Gve,Ywe,T_e,Q_e,Z_e,Y_e,Gxe,hke,D2,cke,Vke,Mke,R5,tCe]}),e}();function rCe(e){return new i2(e,"/apps/settings/wcm/designs/cms/clientlib-all/angular-i18n/",".json?load="+Math.floor(9999*Math.random()))}oZ(),vQ().bootstrapModule(iCe).catch(function(e){return console.error(e)})}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.